Pending
untyped stringValue
"Pending"
Accepted
untyped stringValue
"Accepted"
Rejected
untyped stringValue
"Rejected"
Duplicate
untyped stringValue
"Duplicate"
maxAmount
untyped bigintValue
(9223372036854775807 <untyped> bigint)
idKeyWidth
untyped bigintValue
(19 <untyped> bigint)
maxListLimit
untyped bigintValue
(50 <untyped> bigint)
Book
typeValue
v1.Book
Erratum
typeValue
v1.Erratum
bookRecord
typeEach book indexes all reports and each status by submission ID.
Value
v1.bookRecord
finderRecord
typeValue
v1.finderRecord
FinderSummary
typeValue
v1.FinderSummary
books
*v0.Tree- OID
- 03e544…0024:4
books details
errataByID
*v0.Tree- OID
- 03e544…0024:7
errataByID details
finders
*v0.Tree- OID
- 03e544…0024:10
finders details
nextBookID
intValue
1
nextReportID
intValue
3
realmURL
stringValue
"/r/g132vz03ycpaagtef4jmxjakstkppgyc5wn3r807/erratabank/v1:"
init.18
func()- OID
- 03e544…0024:15
init.18 details
idKey
func(id int) string- OID
- 03e544…0024:17
idKey details
advanceID
func(counter *int) int- OID
- 03e544…0024:18
advanceID details
bookByID
func(id int) *v1.bookRecord- OID
- 03e544…0024:19
bookByID details
reportByID
func(id int) *v1.Erratum- OID
- 03e544…0024:20
reportByID details
requireBook
func(id int) *v1.bookRecord- OID
- 03e544…0024:21
requireBook details
requireOwner
func(record *v1.bookRecord, caller .uverse.address)- OID
- 03e544…0024:22
requireOwner details
requireReview
func(id int, caller .uverse.address) (*v1.bookRecord, *v1.Erratum)- OID
- 03e544…0024:23
requireReview details
callerAddress
func() .uverse.address- OID
- 03e544…0024:24
callerAddress details
inboundUgnot
func() int64Gno v1.8.0 exposes the inbound coin envelope through unsafe.OriginSend. The Gno Security Guide requires IsUserCall before reading it. [https://docs.gno.land/resources/gno-security-guide/#55-isuser-for-payment-guards](https://docs.gno.land/resources/gno-security-guide/#55-isuser-for-payment-guards)
- OID
- 03e544…0024:25
inboundUgnot details
rejectCoins
func()- OID
- 03e544…0024:26
rejectCoins details
addAmount
func(total int64, amount int64) int64- OID
- 03e544…0024:27
addAmount details
sendUgnot
func(to .uverse.address, amount int64)- OID
- 03e544…0024:28
sendUgnot details
requiredText
func(field string, text string, max int) string- OID
- 03e544…0024:29
requiredText details
reviewNote
func(note string) string- OID
- 03e544…0024:30
reviewNote details
CreateBook
func(title string, edition string, link string, rewardPerErratum int64) intCreateBook registers an open book and optionally credits inbound reward escrow.
- OID
- 03e544…0024:31
CreateBook details
Submit
func(bookID int, location string, text string) intSubmit records a report. Reports are public and permanent on-chain.
- OID
- 03e544…0024:32
Submit details
review
func(record *v1.bookRecord, report *v1.Erratum, status string, note string)- OID
- 03e544…0024:33
review details
Accept
func(erratumID int, note string)Accept credits the finder and queues the reward for settlement from the book funds.
- OID
- 03e544…0024:34
Accept details
Reject
func(erratumID int, note string)Reject closes a pending submission without finder credit.
- OID
- 03e544…0024:35
Reject details
MarkDuplicate
func(erratumID int, originalID int)MarkDuplicate links a pending report to an earlier pending or accepted report in the same book.
- OID
- 03e544…0024:36
MarkDuplicate details
SetBookOpen
func(bookID int, open bool)SetBookOpen controls submissions and acceptance. Closing opens sponsor refunds after debts settle.
- OID
- 03e544…0024:37
SetBookOpen details
GetBook
func(id int) (v1.Book, bool)- OID
- 03e544…0024:38
GetBook details
pageLimit
func(size int, offset int, limit int) int- OID
- 03e544…0024:39
pageLimit details
ListBooks
func(offset int, limit int) []v1.Book- OID
- 03e544…0024:40
ListBooks details
GetErratum
func(id int) (v1.Erratum, bool)- OID
- 03e544…0024:41
GetErratum details
listReports
func(tree *v0.Tree, offset int, limit int) []v1.Erratum- OID
- 03e544…0024:42
listReports details
ListErrata
func(bookID int, status string, offset int, limit int) []v1.ErratumListErrata returns reports in submission order. An empty status selects all reports.
- OID
- 03e544…0024:43
ListErrata details
acceptedEntries
func(reports []v1.Erratum) []v0.Entry- OID
- 03e544…0024:44
acceptedEntries details
AcceptedEntries
func(bookID int) []v0.EntryAcceptedEntries returns the first 50 accepted reports in submission order.
- OID
- 03e544…0024:45
AcceptedEntries details
AcceptedEntriesPage
func(bookID int, offset int, limit int) []v0.EntryAcceptedEntriesPage is the integration API for rendering accepted reports. Limits are capped at 50 entries per page.
- OID
- 03e544…0024:46
AcceptedEntriesPage details
FinderStats
func(addr .uverse.address) v1.FinderSummary- OID
- 03e544…0024:47
FinderStats details
errCurrentRealm
untyped stringValue
"invalid realm context"
errDirectCall
untyped stringValue
"payment requires a direct user call"
errPaymentDenom
untyped stringValue
"only ugnot is accepted"
errPayment
untyped stringValue
"payment must be positive"
errRejectCoins
untyped stringValue
"this function does not accept coins"
errBookMissing
untyped stringValue
"book not found"
errErratumMiss
untyped stringValue
"erratum not found"
errOwnerOnly
untyped stringValue
"book owner only"
errPendingOnly
untyped stringValue
"erratum must be pending"
errClosed
untyped stringValue
"book is closed to submissions"
errEarlierPending
untyped stringValue
"resolve the earlier pending report at this location first"
errDuplicate
untyped stringValue
"original must be an earlier pending or accepted erratum in the same book"
errWithdraw
untyped stringValue
"withdrawal must be positive and within unreserved owner funds"
errClosedAccept
untyped stringValue
"closed books cannot accept reports"
errClosedSponsor
untyped stringValue
"closed books cannot receive sponsor deposits"
errSponsorRefundsPending
untyped stringValue
"refund remaining sponsor funds before reopening"
errRefundUnavailable
untyped stringValue
"sponsor refunds require a closed book with no unpaid rewards"
errNoSponsorFunds
untyped stringValue
"no sponsor funds to refund"
errOverflow
untyped stringValue
"amount exceeds accounting limit"
errIDLimit
untyped stringValue
"identifier limit reached"
settlementSteps
untyped bigintBound the work of a single call even when many small sponsor balances fund a reward.
Value
(8 <untyped> bigint)
FundBook
func(bookID int)FundBook records an owner deposit or a locked sponsor deposit and services the oldest fully funded reward first. The owner can fund existing debts after closing.
- OID
- 03e544…0024:48
FundBook details
settleRewards
func(record *v1.bookRecord)- OID
- 03e544…0024:50
settleRewards details
SettleOwed
func(bookID int)SettleOwed continues payouts when a previous call reached its work limit.
- OID
- 03e544…0024:51
SettleOwed details
Withdraw
func(bookID int, amount int64)Withdraw returns only the owner's deposits in excess of outstanding rewards.
- OID
- 03e544…0024:52
Withdraw details
SponsorBalance
func(bookID int, sponsor .uverse.address) int64SponsorBalance returns the sponsor's remaining deposit for a book.
- OID
- 03e544…0024:53
SponsorBalance details
RefundSponsor
func(bookID int)RefundSponsor returns the caller's remaining sponsor deposit on a closed book after all accepted rewards have settled.
- OID
- 03e544…0024:54
RefundSponsor details
pageSize
untyped bigintValue
(20 <untyped> bigint)
reportNotice
untyped stringValue
"Reports are public and permanent on-chain."
router
*v0.Router- OID
- 03e544…0024:56
router details
init.80
func()- OID
- 03e544…0024:59
init.80 details
Render
func(path string) stringRender is the public Markdown entry point for gnoweb.
- OID
- 03e544…0024:61
Render details
finderURL
func(addr .uverse.address) string- OID
- 03e544…0024:62
finderURL details
bookRoute
func(id int) string- OID
- 03e544…0024:63
bookRoute details
erratumURL
func(id int) string- OID
- 03e544…0024:64
erratumURL details
bookURL
func(id int) string- OID
- 03e544…0024:65
bookURL details
pageOffset
func(req *v0.Request, total int) (int, bool)- OID
- 03e544…0024:66
pageOffset details
pagination
func(w *v0.ResponseWriter, route string, offset int, total int)- OID
- 03e544…0024:67
pagination details
notFound
func(w *v0.ResponseWriter, item string)- OID
- 03e544…0024:68
notFound details
renderHome
func(w *v0.ResponseWriter, req *v0.Request)- OID
- 03e544…0024:69
renderHome details
routeBook
func(w *v0.ResponseWriter, req *v0.Request) *v1.bookRecord- OID
- 03e544…0024:70
routeBook details
renderBook
func(w *v0.ResponseWriter, req *v0.Request)- OID
- 03e544…0024:71
renderBook details
renderPending
func(w *v0.ResponseWriter, req *v0.Request)- OID
- 03e544…0024:72
renderPending details
renderAll
func(w *v0.ResponseWriter, req *v0.Request)- OID
- 03e544…0024:73
renderAll details
renderReportList
func(w *v0.ResponseWriter, req *v0.Request, status string, heading string, suffix string)- OID
- 03e544…0024:74
renderReportList details
renderErratum
func(w *v0.ResponseWriter, req *v0.Request)- OID
- 03e544…0024:75
renderErratum details
renderFinder
func(w *v0.ResponseWriter, req *v0.Request)- OID
- 03e544…0024:76
renderFinder details
renderUnpaidFinder
func(w *v0.ResponseWriter, req *v0.Request)- OID
- 03e544…0024:77
renderUnpaidFinder details
renderFinderCredits
func(w *v0.ResponseWriter, req *v0.Request, unpaid bool)- OID
- 03e544…0024:78