const DefaultRecent
DefaultRecent is the number of recent records kept per address when NewBook is given a value below 1.
Community realm. Read the code first. Community realm, deployed by its author. Read the code before you interact or send coins.
Package rep keeps a public work record for each address: how many tasks it completed and was paid for, and how many t...
Package rep keeps a public work record for each address: how many tasks it completed and was paid for, and how many tasks it posted and paid out.
A Book holds no coins and makes no calls. A realm owns a Book and writes one Record each time it pays for finished work. Any realm can import this package to keep its own records, or read another realm's records through that realm's public functions.
DefaultRecent is the number of recent records kept per address when NewBook is given a value below 1.
Book is a set of profiles, keyed by address.
Add stores a paid record for both the doer and the poster. It panics if the record is not valid, so a realm cannot store a bad record by mistake.
Completed returns how many tasks addr finished and was paid for.
Earned returns the total paid to addr.
HasCompleted reports whether addr finished at least n tasks. Realms can use it to gate features by proven work.
Profile returns a copy of the profile for addr. Unknown addresses return an empty profile.
Size returns the number of addresses with a profile.
Total returns the number of paid records in the Book.
Volume returns the total amount recorded, capped at the int64 maximum.
Profile is the record of one address. It is returned by value, so callers cannot change the Book through it.
Record is one paid piece of work.