tokenSub
untyped stringValue
"c/1"
royaltySub
untyped stringValue
"roy/1"
royaltyBps
untyped bigintValue
(500 <untyped> bigint)
lockExt
typelockExt is declared in this realm, so its hooks run with this realm's authority (borrow rule #1) even when another realm moves the token through a RealmTeller.
Value
subtoken.lockExt
tok
*v0.Token- OID
- 0409e9…c9e1:28
tok details
ledger
*v0.PrivateLedger- OID
- 0409e9…c9e1:30
ledger details
roy
*v0.Royalty- OID
- 0409e9…c9e1:43
roy details
lock
*subtoken.lockExt- OID
- 0409e9…c9e1:7
lock details
nextTID
int64Value
3
Create
func() stringCreate builds the token once. The rlm handed to NewToken is a sub-realm token, so the hypothesis is Token.ID() == "\<this pkgpath>#c/1.SPK.\<seq>".
- OID
- 0409e9…c9e1:10
Create details
Mint
func() stringMint mints the next token to the caller; allowed while locked.
- OID
- 0409e9…c9e1:12
Mint details
Approve
func(tid string, to .uverse.address)- OID
- 0409e9…c9e1:13
Approve details
Transfer
func(tid string, to .uverse.address)- OID
- 0409e9…c9e1:14
Transfer details
Burn
func(tid string)- OID
- 0409e9…c9e1:15
Burn details
Reveal
func()Reveal lifts the lock forever.
- OID
- 0409e9…c9e1:16
Reveal details
Sweep
func(to .uverse.address) int64Sweep spends the whole roy/1 sub-treasury to \`to\` with a banker bound to the sub-realm identity (interrealm v2 §5.5 example).
- OID
- 0409e9…c9e1:17
Sweep details
Token
func() *v0.Token- OID
- 0409e9…c9e1:18
Token details
TokenID
func() string- OID
- 0409e9…c9e1:19
TokenID details
OwnerOf
func(tid string) (.uverse.address, .uverse.error)- OID
- 0409e9…c9e1:20
OwnerOf details
Moves
func() int- OID
- 0409e9…c9e1:21
Moves details
IsRevealed
func() bool- OID
- 0409e9…c9e1:22
IsRevealed details
RoyaltyAddress
func() .uverse.address- OID
- 0409e9…c9e1:23
RoyaltyAddress details
RoyaltyInfo
func(tid string, price int64) (.uverse.address, int64, .uverse.error)- OID
- 0409e9…c9e1:24
RoyaltyInfo details
RoyaltyBalance
func() int64- OID
- 0409e9…c9e1:25
RoyaltyBalance details
Render
func(path string) stringRender also answers spike §5.5-6: does gnoweb display a data: SVG image?
- OID
- 0409e9…c9e1:26
Render details
mustCreated
func()- OID
- 0409e9…c9e1:27