name
untyped stringValue
"VestToken"
symbol
untyped stringValue
"VEST"
grant
typegrant is one linear vesting schedule: \`total\` unlocks evenly from \`start\` to \`start+duration\` (measured in block height), and \`claimed\` tracks how much of the unlocked amount the beneficiary has already pulled.
Value
v0.grant
balances
map[.uverse.address]uint64- OID
- 0895b8…0096:4
balances details
grants
map[.uverse.address]*v0.grant- OID
- 0895b8…0096:6
grants details
totalSupply
uint64Value
0
errZeroAddress
*errors.errorString- OID
- 0895b8…0096:9
errZeroAddress details
errZeroAmount
*errors.errorString- OID
- 0895b8…0096:12
errZeroAmount details
errZeroDuration
*errors.errorString- OID
- 0895b8…0096:15
errZeroDuration details
errGrantActive
*errors.errorString- OID
- 0895b8…0096:18
errGrantActive details
errNoGrant
*errors.errorString- OID
- 0895b8…0096:21
errNoGrant details
errInsufficient
*errors.errorString- OID
- 0895b8…0096:24
errInsufficient details
errOverflow
*errors.errorString- OID
- 0895b8…0096:27
errOverflow details
errSpoofedRealm
*errors.errorString- OID
- 0895b8…0096:30
errSpoofedRealm details
errNotUser
*errors.errorString- OID
- 0895b8…0096:33
errNotUser details
caller
func() .uverse.address- OID
- 0895b8…0096:35
caller details
MintVested
func(to .uverse.address, amount uint64, durationBlocks int64)MintVested opens a new linear vesting grant for \`to\`: \`amount\` tokens unlock block-by-block over the next \`durationBlocks\` blocks, starting now. A beneficiary may only hold one active grant at a time. Crossing function.
- OID
- 0895b8…0096:37
MintVested details
Claim
func() uint64Claim pulls whatever has unlocked so far from the caller's grant into their liquid balance, and returns how much was claimed. Crossing function.
- OID
- 0895b8…0096:38
Claim details
vestedAmount
func(g *v0.grant, height int64) uint64vestedAmount computes how much of g has unlocked by the given height.
- OID
- 0895b8…0096:39
vestedAmount details
Transfer
func(to .uverse.address, amount uint64)Transfer moves \`amount\` of the caller's liquid (already-claimed) balance to \`to\`. Crossing function.
- OID
- 0895b8…0096:40
Transfer details
BalanceOf
func(holder .uverse.address) uint64BalanceOf returns the liquid (claimed, transferable) balance of holder.
- OID
- 0895b8…0096:41
BalanceOf details
GrantOf
func(beneficiary .uverse.address) (total uint64, claimed uint64, claimable uint64)GrantOf returns the beneficiary's active grant, if any: total amount, amount claimed so far, and the amount currently claimable.
- OID
- 0895b8…0096:42
GrantOf details
TotalSupply
func() uint64TotalSupply returns every token ever minted, vesting or liquid.
- OID
- 0895b8…0096:43
TotalSupply details
Name
func() stringName returns the token name.
- OID
- 0895b8…0096:44
Name details
Symbol
func() stringSymbol returns the token symbol.
- OID
- 0895b8…0096:45
Symbol details
Render
func(path string) stringRender produces the gnoweb Markdown view: metadata, active vesting grants, and liquid balances — both tables sorted by address for deterministic output. Render is NOT a crossing function.
- OID
- 0895b8…0096:46
Render details
grantAddrs
func() []string- OID
- 0895b8…0096:47
grantAddrs details
balanceAddrs
func() []string- OID
- 0895b8…0096:48
balanceAddrs details
sortedAddrKeys
func(keys []string) []string- OID
- 0895b8…0096:49