v1 source realm
Package erratabank records corrections, finder credit and book reward escrow.
Package erratabank records corrections, finder credit and book reward escrow.
1
19
func Accept
crossing ActionAccept credits the finder and queues the reward for settlement from the book funds.
func AcceptedEntries
ActionAcceptedEntries returns the first 50 accepted reports in submission order.
func AcceptedEntriesPage
ActionAcceptedEntriesPage is the integration API for rendering accepted reports. Limits are capped at 50 entries per page.
func CreateBook
crossing ActionCreateBook registers an open book and optionally credits inbound reward escrow.
func FundBook
crossing ActionFundBook 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.
func MarkDuplicate
crossing ActionMarkDuplicate links a pending report to an earlier pending or accepted report in the same book.
func RefundSponsor
crossing ActionRefundSponsor returns the caller's remaining sponsor deposit on a closed book after all accepted rewards have settled.
func Reject
crossing ActionReject closes a pending submission without finder credit.
func Render
Render is the public Markdown entry point for gnoweb.
func SetBookOpen
crossing ActionSetBookOpen controls submissions and acceptance. Closing opens sponsor refunds after debts settle.
func SettleOwed
crossing ActionSettleOwed continues payouts when a previous call reached its work limit.
func SponsorBalance
ActionSponsorBalance returns the sponsor's remaining deposit for a book.
func Submit
crossing ActionSubmit records a report. Reports are public and permanent on-chain.
func Withdraw
crossing ActionWithdraw returns only the owner's deposits in excess of outstanding rewards.
func GetBook
Actionfunc ListBooks
Actionfunc GetErratum
Actionfunc ListErrata
ActionListErrata returns reports in submission order. An empty status selects all reports.