Skip to content Search Apps Documentation Source Content 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.

drop state

Back to all declarations

tokenDecimals

untyped bigint

Value

(6 <untyped> bigint)

tokenUnit

int64

Value

1000000

wholeSupply

int64

Value

10000000000

mintSupply

int64

Value

10000000000000000

CommunityBps

int64

Value

300

IncentiveBps

int64

Value

700

LiquidityBps

int64

Value

1500

BpsBasis

int64

Value

10000

ClaimWindow

int64

Value

7776000

VoteWindow

int64

Value

604800

quorumBps

int64

Value

1000

BuyCapWindow

int64

Value

600

BuyCapBucket

int64

Value

60

BuyCapPerBucket

int64

Value

15000000000000

tokenVersion

untyped string

Value

"4"

maxProofAunts

untyped bigint

Value

(100 <untyped> bigint)

hashLen

untyped bigint

Value

(32 <untyped> bigint)

hold

type

hold is the largest ballot still locking an address.

Value

drop.hold

publisher

.uverse.address

Value

<gnolang.StringValue>

adminAddr

.uverse.address

Value

<gnolang.StringValue>

escrow

.uverse.address

Value

<gnolang.StringValue>

gov

.uverse.address

Value

<gnolang.StringValue>

sealed

bool

Value

true

eligible

int

Value

127496

allocated

int64

Value

7499936038000000

communitySent

int64

Value

300063962000000

liquidityTo

.uverse.address

Value

<gnolang.StringValue>

liquiditySent

int64

Value

1500000000000000

incentiveSent

int64

Value

700000000000000

airdropLeft

int64

Value

7464019212000000

claimStart

int64

Value

1793836800

tradeOpen

int64

Value

1794268800

burned

bool

Value

false

claimedSupply

int64

Value

35916826000000

pair

.uverse.address

Value

<zero>

pairSetAt

int64

Value

0

buyBucket

int64

Value

0

buySpent

int64

Value

0

liquidityRecipient

.uverse.address

liquidityRecipient is the only wallet Seal may pay the 15% sleeve.

Value

<gnolang.StringValue>

Version

func() string

Version is the token book. Version 4 sends liquidity to the named address and sends incentive plus community to the bound GovDAO.

Open
OID
0f59b3…c44c:32
Version details

Inspect func

Init

func()

Init binds the addpkg signer as admin. Any other caller panics.

Open
OID
0f59b3…c44c:34
Init details

Inspect func

TransferAdmin

func(next .uverse.address)

TransferAdmin moves the admin seat. Admin cannot move funds.

Open
OID
0f59b3…c44c:35
TransferAdmin details

Inspect func

SetGov

func()

SetGov binds the GovDAO. The caller must be that realm, and the transaction signer must be this token's admin. One call, before Seal. Seal sends both the incentive sleeve and the community sleeve there.

Open
OID
0f59b3…c44c:36
SetGov details

Inspect func

Seal

func(rootHex string, eligibleCount int, airdropTotal int64, liquidityToArg .uverse.address)

Seal mints the whole supply, commits the eligible-set Merkle root, and sends the sleeves out. airdropTotal is the sum of the leaf amounts, at most the 75% pool. Integer dust is added to the community mint. liquidityTo must be liquidityRecipient. Any other address panics. Incentive and community both go to the realm bound with SetGov.

Open
OID
0f59b3…c44c:37
Seal details

Inspect func

SetClaimStart

func(start int64)

SetClaimStart opens claims at start (unix seconds). The deployer may call it once. start must be in the future. Claims run for ClaimWindow.

Open
OID
0f59b3…c44c:38
SetClaimStart details

Inspect func

SetTradeOpen

func(start int64)

SetTradeOpen stores the instant public transfers open. One call. The instant has to be in the future. Until it arrives, Transfer and TransferFrom move tokens only for the liquidity wallet, the airdrop escrow, and the bound GovDAO.

Open
OID
0f59b3…c44c:39
SetTradeOpen details

Inspect func

SetPool

func(market .uverse.address)

SetPool registers the pool once. The buy cap starts at this call. The liquidity wallet cannot be the pool. That wallet sends tokens into the pool, and those sends are not buys.

Open
OID
0f59b3…c44c:40
SetPool details

Inspect func

Claim

func(index int, amount int64, auntsHex string)

Claim pays the caller's full sealed amount. Attaching coins reverts. There is no withdraw.

Open
OID
0f59b3…c44c:41
Claim details

Inspect func

ClaimTo

func(index int, amount int64, auntsHex string, to .uverse.address)

ClaimTo pays the caller's full sealed amount to another address. The caller must still be the leaf. An invalid to pays the caller. to cannot be this realm. Attaching coins reverts. There is no withdraw.

Open
OID
0f59b3…c44c:42
ClaimTo details

Inspect func

claim

func(index int, amount int64, auntsHex string, to .uverse.address)
Open
OID
0f59b3…c44c:43
claim details

Inspect func

BurnUnclaimed

func()

BurnUnclaimed destroys the airdrop budget still here after the window. Anyone may call it. A second call reverts. GovDAO cannot recover it. The sleeves already sent are not burned.

Open
OID
0f59b3…c44c:44
BurnUnclaimed details

Inspect func

NoteVote

func(until int64)

NoteVote locks the signing caller's current balance until until. Only the bound GovDAO may call it. until cannot pass VoteWindow.

Open
OID
0f59b3…c44c:45
NoteVote details

Inspect func

Transfer

func(to .uverse.address, amount int64)
Open
OID
0f59b3…c44c:46
Transfer details

Inspect func

Approve

func(spender .uverse.address, amount int64)
Open
OID
0f59b3…c44c:47
Approve details

Inspect func

TransferFrom

func(from .uverse.address, to .uverse.address, amount int64)
Open
OID
0f59b3…c44c:48
TransferFrom details

Inspect func

BalanceOf

func(owner .uverse.address) int64
Open
OID
0f59b3…c44c:57
BalanceOf details

Inspect func

Allowance

func(owner .uverse.address, spender .uverse.address) int64
Open
OID
0f59b3…c44c:58
Allowance details

Inspect func

LiquidityRecipient

func() .uverse.address
Open
OID
0f59b3…c44c:66
LiquidityRecipient details

Inspect func

LiquidityTo

func() .uverse.address
Open
OID
0f59b3…c44c:70
LiquidityTo details

Inspect func

ClaimsStarted

func() bool

ClaimsStarted reports whether the claim window has opened.

Open
OID
0f59b3…c44c:79
ClaimsStarted details

Inspect func

ClaimedSupply

func() int64

ClaimedSupply is the sum of leaves already paid. Burns and transfers do not change it.

Open
OID
0f59b3…c44c:81
ClaimedSupply details

Inspect func

Publisher

func() .uverse.address
Open
OID
0f59b3…c44c:82
Publisher details

Inspect func

HasClaimed

func(owner .uverse.address) bool
Open
OID
0f59b3…c44c:84
HasClaimed details

Inspect func

ClaimedOf

func(owner .uverse.address) int64
Open
OID
0f59b3…c44c:85
ClaimedOf details

Inspect func

Render

func(path string) string

Render shows the version-4 split and the claim window.

Open
OID
0f59b3…c44c:86
Render details

Inspect func

leafData

func(bech32 string, amount int64) []uint8
Open
OID
0f59b3…c44c:87
leafData details

Inspect func

sleeves

func() (community int64, incentive int64, liquidity int64, pool int64)
Open
OID
0f59b3…c44c:88
sleeves details

Inspect func

mustTradable

func(from .uverse.address)

mustTradable panics while public transfers are closed. The liquidity wallet, the airdrop escrow, and GovDAO stay able to move tokens. Claim and Seal do not call this.

Open
OID
0f59b3…c44c:93
mustTradable details

Inspect func

mustBuyCap

func(from .uverse.address, amount int64)

mustUnlocked panics when amount would push owner's balance under the largest weight they already cast on a ballot that is still open. An amount above the balance is left to the token transfer. mustBuyCap limits tokens leaving the registered pool during the short window. The liquidity wallet is exempt. A transfer that does not leave the pool is not a buy.

Open
OID
0f59b3…c44c:94
mustBuyCap details

Inspect func

mustUnlocked

func(owner .uverse.address, amount int64)
Open
OID
0f59b3…c44c:95
mustUnlocked details

Inspect func

voteLock

func(owner .uverse.address) int64
Open
OID
0f59b3…c44c:96
voteLock details

Inspect func

claimedOf

func(key string) int64
Open
OID
0f59b3…c44c:100
claimedOf details

Inspect func

mustMint

func(to .uverse.address, amount int64)
Open
OID
0f59b3…c44c:101
mustMint details

Inspect func

mustTransfer

func(from .uverse.address, to .uverse.address, amount int64)
Open
OID
0f59b3…c44c:102
mustTransfer details

Inspect func

mustBurn

func(from .uverse.address, amount int64)
Open
OID
0f59b3…c44c:103
mustBurn details

Inspect func
tokenDecimals : untyped bigint =(6 <untyped> bigint)
tokenUnit : int64 =1000000
wholeSupply : int64 =10000000000
mintSupply : int64 =10000000000000000
CommunityBps : int64 =300
IncentiveBps : int64 =700
LiquidityBps : int64 =1500
BpsBasis : int64 =10000
ClaimWindow : int64 =7776000
VoteWindow : int64 =604800
quorumBps : int64 =1000
BuyCapWindow : int64 =600
BuyCapBucket : int64 =60
BuyCapPerBucket : int64 =15000000000000
tokenVersion : untyped string ="4"
maxProofAunts : untyped bigint =(100 <untyped> bigint)
hashLen : untyped bigint =(32 <untyped> bigint)
hold : type =drop.hold
publisher : .uverse.address =<gnolang.StringValue>
token : *v0.Token Inspect
ledger : *v0.PrivateLedger Inspect
admin : *v0.Ownable Inspect
adminAddr : .uverse.address =<gnolang.StringValue>
escrow : .uverse.address =<gnolang.StringValue>
gov : .uverse.address =<gnolang.StringValue>
sealed : bool =true
root : []uint8 (len=32) Inspect
eligible : int =127496
allocated : int64 =7499936038000000
communitySent : int64 =300063962000000
liquidityTo : .uverse.address =<gnolang.StringValue>
liquiditySent : int64 =1500000000000000
incentiveSent : int64 =700000000000000
airdropLeft : int64 =7464019212000000
claimStart : int64 =1793836800
tradeOpen : int64 =1794268800
burned : bool =false
claimed : v0.Tree Inspect
claimedSupply : int64 =35916826000000
locks : v0.Tree Inspect
pair : .uverse.address =<zero>
pairSetAt : int64 =0
buyBucket : int64 =0
buySpent : int64 =0
liquidityRecipient : .uverse.address =<gnolang.StringValue>
Version : func() string Inspect
Init : func() Inspect
TransferAdmin : func(next .uverse.address) Inspect
SetGov : func() Inspect
Seal : func(rootHex string, eligibleCount int, airdropTotal int64, liquidityToArg .uverse.address) Inspect
SetClaimStart : func(start int64) Inspect
SetTradeOpen : func(start int64) Inspect
SetPool : func(market .uverse.address) Inspect
Claim : func(index int, amount int64, auntsHex string) Inspect
ClaimTo : func(index int, amount int64, auntsHex string, to .uverse.address) Inspect
claim : func(index int, amount int64, auntsHex string, to .uverse.address) Inspect
BurnUnclaimed : func() Inspect
NoteVote : func(until 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
Name : func() string Inspect
Symbol : func() string Inspect
Decimals : func() int Inspect
Supply : func() int64 Inspect
TotalSupply : func() int64 Inspect
GetName : func() string Inspect
GetSymbol : func() string Inspect
GetDecimals : func() int Inspect
BalanceOf : func(owner .uverse.address) int64 Inspect
Allowance : func(owner .uverse.address, spender .uverse.address) int64 Inspect
Admin : func() .uverse.address Inspect
Escrow : func() .uverse.address Inspect
Gov : func() .uverse.address Inspect
Sealed : func() bool Inspect
Eligible : func() int Inspect
Allocated : func() int64 Inspect
CommunitySent : func() int64 Inspect
LiquidityRecipient : func() .uverse.address Inspect
Pool : func() .uverse.address Inspect
PoolSetAt : func() int64 Inspect
BuySpent : func() int64 Inspect
LiquidityTo : func() .uverse.address Inspect
LiquiditySent : func() int64 Inspect
IncentiveSent : func() int64 Inspect
AirdropLeft : func() int64 Inspect
ClaimStart : func() int64 Inspect
TradeOpen : func() int64 Inspect
ClaimEnd : func() int64 Inspect
Burned : func() bool Inspect
Claimed : func() int Inspect
ClaimsStarted : func() bool Inspect
Quorum : func() int64 Inspect
ClaimedSupply : func() int64 Inspect
Publisher : func() .uverse.address Inspect
RootHex : func() string Inspect
HasClaimed : func(owner .uverse.address) bool Inspect
ClaimedOf : func(owner .uverse.address) int64 Inspect
Render : func(path string) string Inspect
leafData : func(bech32 string, amount int64) []uint8 Inspect
sleeves : func() (community int64, incentive int64, liquidity int64, pool int64) Inspect
claimOpen : func() bool Inspect
claimsStarted : func() bool Inspect
mustCurrent : func() Inspect
mustUser : func() Inspect
mustTradable : func(from .uverse.address) Inspect
mustBuyCap : func(from .uverse.address, amount int64) Inspect
mustUnlocked : func(owner .uverse.address, amount int64) Inspect
voteLock : func(owner .uverse.address) int64 Inspect
mustNoPayment : func() Inspect
mustAdmin : func() Inspect
mustToken : func() Inspect
claimedOf : func(key string) int64 Inspect
mustMint : func(to .uverse.address, amount int64) Inspect
mustTransfer : func(from .uverse.address, to .uverse.address, amount int64) Inspect
mustBurn : func(from .uverse.address, amount int64) Inspect