Skip to content Search Apps Documentation Source Content Run Reset Eval Playground File Folder Download Copy Actions State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

Community realm. Read the code first. Community realm, deployed by its author. Read the code before you interact or send coins.

musd state

Back to all declarations

Deployer

.uverse.address

Deployer owns Mint, used to seed agent and council wallets.

Value

<gnolang.StringValue>

Decimals

untyped bigint

Value

(6 <untyped> bigint)

Unit

int64

Value

1000000

FaucetAmount

int64

Value

1000000000

FaucetCooldown

time.Duration

Value

<zero>

BalanceOf

func(owner .uverse.address) int64
Open
OID
0d6e4a…b430:12
BalanceOf details

Inspect func

Allowance

func(owner .uverse.address, spender .uverse.address) int64
Open
OID
0d6e4a…b430:13
Allowance details

Inspect func

Transfer

func(to .uverse.address, amount int64)
Open
OID
0d6e4a…b430:14
Transfer details

Inspect func

Approve

func(spender .uverse.address, amount int64)
Open
OID
0d6e4a…b430:15
Approve details

Inspect func

TransferFrom

func(from .uverse.address, to .uverse.address, amount int64)
Open
OID
0d6e4a…b430:16
TransferFrom details

Inspect func

Faucet

func()

Faucet pays FaucetAmount to the caller, at most once per FaucetCooldown.

Open
OID
0d6e4a…b430:17
Faucet details

Inspect func

NextDrip

func(addr .uverse.address) int64

NextDrip is the unix time from which addr may use the faucet again (0: now).

Open
OID
0d6e4a…b430:18
NextDrip details

Inspect func

Mint

func(to .uverse.address, amount int64)

Mint is for the owner, to seed agent and council wallets.

Open
OID
0d6e4a…b430:19
Mint details

Inspect func
Deployer : .uverse.address =<gnolang.StringValue>
Decimals : untyped bigint =(6 <untyped> bigint)
Unit : int64 =1000000
FaucetAmount : int64 =1000000000
FaucetCooldown : time.Duration =<zero>
Token : *v0.Token Inspect
ledger : *v0.PrivateLedger Inspect
userTeller : *v0.fnTeller Inspect
Ownable : *v0.Ownable Inspect
lastDrip : v0.Tree Inspect
init.10 : func() Inspect
TotalSupply : func() int64 Inspect
BalanceOf : func(owner .uverse.address) int64 Inspect
Allowance : func(owner .uverse.address, spender .uverse.address) int64 Inspect
Transfer : func(to .uverse.address, amount int64) Inspect
Approve : func(spender .uverse.address, amount int64) Inspect
TransferFrom : func(from .uverse.address, to .uverse.address, amount int64) Inspect
Faucet : func() Inspect
NextDrip : func(addr .uverse.address) int64 Inspect
Mint : func(to .uverse.address, amount int64) Inspect
Render : func(path string) string Inspect
check : func(err .uverse.error) Inspect