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.

shoaltoken state

Back to all declarations

unit

int64

Value

1000000

supplyWhole

int64

Value

100000000

seasonWhole

int64

Value

43000000

liquidityWhole

int64

Value

20000000

ecosystemWhole

int64

Value

15000000

communityWhole

int64

Value

12000000

teamWhole

int64

Value

10000000

maxBuyTaxBps

int64

Value

500

maxSellTaxBps

int64

Value

1000

defaultBuyTax

int64

Value

200

defaultSellTax

int64

Value

400

inited

bool

Value

true

sealed

bool

Value

true

buyTaxBps

int64

Value

200

sellTaxBps

int64

Value

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.

Open
OID
033162…abc0:10
Init details

Inspect func

Transfer

func(to .uverse.address, amount int64)

Transfer moves FISH from the caller to to. The amount is not taxed.

Open
OID
033162…abc0:12
Transfer details

Inspect func

Approve

func(spender .uverse.address, amount int64)

Approve lets spender move up to amount from the caller. This replaces the previous allowance.

Open
OID
033162…abc0:13
Approve details

Inspect func

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.

Open
OID
033162…abc0:14
TransferFrom details

Inspect func

SetBuyTaxBps

func(next int64)

SetBuyTaxBps stores the buy tax for a later pool. The cap is 500 bps. This does not tax wallets.

Open
OID
033162…abc0:15
SetBuyTaxBps details

Inspect func

SetSellTaxBps

func(next int64)

SetSellTaxBps stores the sell tax for a later pool. The cap is 1000 bps. This does not tax wallets.

Open
OID
033162…abc0:16
SetSellTaxBps details

Inspect func

TransferAdmin

func(next .uverse.address)

TransferAdmin hands the tax hook to next. Balances stay where they are.

Open
OID
033162…abc0:17
TransferAdmin details

Inspect func

BalanceOf

func(who .uverse.address) int64
Open
OID
033162…abc0:22
BalanceOf details

Inspect func

Allowance

func(owner .uverse.address, spender .uverse.address) int64
Open
OID
033162…abc0:23
Allowance details

Inspect func

credit

func(led *v0.PrivateLedger, who .uverse.address, amount int64)
Open
OID
033162…abc0:31
credit details

Inspect func

requireUser

func() .uverse.address
Open
OID
033162…abc0:34
requireUser details

Inspect func

distinct

func(xs [].uverse.address) bool
Open
OID
033162…abc0:36
distinct details

Inspect func
unit : int64 =1000000
supplyWhole : int64 =100000000
seasonWhole : int64 =43000000
liquidityWhole : int64 =20000000
ecosystemWhole : int64 =15000000
communityWhole : int64 =12000000
teamWhole : int64 =10000000
maxBuyTaxBps : int64 =500
maxSellTaxBps : int64 =1000
defaultBuyTax : int64 =200
defaultSellTax : int64 =400
token : *v0.Token Inspect
ledger : *v0.PrivateLedger Inspect
admin : *v0.Ownable Inspect
inited : bool =true
sealed : bool =true
buyTaxBps : int64 =200
sellTaxBps : int64 =400
Init : func(season .uverse.address, liquidity .uverse.address, ecosystem .uverse.address, community .uverse.address, team .uverse.address) Inspect
Transfer : func(to .uverse.address, amount int64) Inspect
Approve : func(spender .uverse.address, amount int64) Inspect
TransferFrom : func(owner .uverse.address, to .uverse.address, amount int64) Inspect
SetBuyTaxBps : func(next int64) Inspect
SetSellTaxBps : func(next int64) Inspect
TransferAdmin : func(next .uverse.address) Inspect
Name : func() string Inspect
Symbol : func() string Inspect
Decimals : func() int Inspect
TotalSupply : func() int64 Inspect
BalanceOf : func(who .uverse.address) int64 Inspect
Allowance : func(owner .uverse.address, spender .uverse.address) int64 Inspect
TokenID : func() string Inspect
BuyTaxBps : func() int64 Inspect
SellTaxBps : func() int64 Inspect
Version : func() string Inspect
Sealed : func() bool Inspect
Admin : func() .uverse.address Inspect
Render : func(path string) string Inspect
credit : func(led *v0.PrivateLedger, who .uverse.address, amount int64) Inspect
must : func(err .uverse.error) Inspect
requireReady : func() Inspect
requireUser : func() .uverse.address Inspect
takeExact : func(n int64) Inspect
distinct : func(xs [].uverse.address) bool Inspect