unit
int64Value
1000000
supplyWhole
int64Value
100000000
seasonWhole
int64Value
43000000
liquidityWhole
int64Value
20000000
ecosystemWhole
int64Value
15000000
communityWhole
int64Value
12000000
teamWhole
int64Value
10000000
maxBuyTaxBps
int64Value
500
maxSellTaxBps
int64Value
1000
defaultBuyTax
int64Value
200
defaultSellTax
int64Value
400
token
*v0.TokenValue
<zero>
ledger
*v0.PrivateLedgerValue
<zero>
admin
*v0.OwnableValue
<zero>
inited
boolValue
false
sealed
boolValue
false
spender
.uverse.addressValue
<zero>
spenderSet
boolValue
false
buyTaxBps
int64Value
200
sellTaxBps
int64Value
400
Init
func(season .uverse.address, liquidity .uverse.address, ecosystem .uverse.address, community .uverse.address, team .uverse.address)Init mints the fixed supply once and seals the ledger. The five treasuries must be distinct.
- OID
- 07a59a…3825:12
Init details
Transfer
func(to .uverse.address, amount int64)Transfer moves FISH from the caller to to. The amount is not taxed.
- OID
- 07a59a…3825:14
Transfer details
Approve
func(spender .uverse.address, amount int64)Approve lets spender move up to amount from the caller. This replaces the previous allowance.
- OID
- 07a59a…3825:15
Approve details
TransferFrom
func(owner .uverse.address, to .uverse.address, amount int64)TransferFrom moves amount from owner to to, using the caller's allowance. The amount is not taxed.
- OID
- 07a59a…3825:16
TransferFrom details
SetBuyTaxBps
func(next int64)SetBuyTaxBps stores the buy tax for a later pool. The cap is 500 bps. This does not tax wallets.
- OID
- 07a59a…3825:17
SetBuyTaxBps details
SetSellTaxBps
func(next int64)SetSellTaxBps stores the sell tax for a later pool. The cap is 1000 bps. This does not tax wallets.
- OID
- 07a59a…3825:18
SetSellTaxBps details
TransferAdmin
func(next .uverse.address)TransferAdmin hands the tax hook to next. Balances stay where they are.
- OID
- 07a59a…3825:19
TransferAdmin details
Name
func() string- OID
- 07a59a…3825:20
Name details
Symbol
func() string- OID
- 07a59a…3825:21
Symbol details
Decimals
func() int- OID
- 07a59a…3825:22
Decimals details
TotalSupply
func() int64- OID
- 07a59a…3825:23
TotalSupply details
BalanceOf
func(who .uverse.address) int64- OID
- 07a59a…3825:24
BalanceOf details
Allowance
func(owner .uverse.address, spender .uverse.address) int64- OID
- 07a59a…3825:25
Allowance details
TokenID
func() string- OID
- 07a59a…3825:26
TokenID details
BuyTaxBps
func() int64- OID
- 07a59a…3825:27
BuyTaxBps details
SellTaxBps
func() int64- OID
- 07a59a…3825:28
SellTaxBps details
Version
func() string- OID
- 07a59a…3825:29
Version details
Sealed
func() bool- OID
- 07a59a…3825:30
Sealed details
Spender
func() .uverse.address- OID
- 07a59a…3825:31
Spender details
SetSpender
func(who .uverse.address)SetSpender records the fish realm once. A later call cannot replace it.
- OID
- 07a59a…3825:32
SetSpender details
Draw
func(owner .uverse.address, to .uverse.address, amount int64) int64Draw moves min(amount, balance, allowance) from owner to to. Only the recorded spender may call it. The owner must have approved that spender. A short balance or allowance moves nothing and does not panic. This does not mint.
- OID
- 07a59a…3825:33
Draw details
Admin
func() .uverse.address- OID
- 07a59a…3825:34
Admin details
Render
func(path string) string- OID
- 07a59a…3825:35
Render details
credit
func(led *v0.PrivateLedger, who .uverse.address, amount int64)- OID
- 07a59a…3825:36
credit details
must
func(err .uverse.error)- OID
- 07a59a…3825:37
must details
requireReady
func()- OID
- 07a59a…3825:38
requireReady details
requireUser
func() .uverse.address- OID
- 07a59a…3825:39
requireUser details
takeExact
func(n int64)- OID
- 07a59a…3825:40
takeExact details
distinct
func(xs [].uverse.address) bool- OID
- 07a59a…3825:41