Search Apps Documentation Source Content File Folder Download Copy Actions Download State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

fishtoken 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

5000000

saleWhole

int64

Value

5000000

seasonAddr

.uverse.address

Value

<gnolang.StringValue>

liquidityAddr

.uverse.address

Value

<gnolang.StringValue>

ecosystemAddr

.uverse.address

Value

<gnolang.StringValue>

communityAddr

.uverse.address

Value

<gnolang.StringValue>

teamAddr

.uverse.address

Value

<gnolang.StringValue>

seq

v0.ID

Value

<zero>

inited

bool

Value

true

open

bool

Value

false

admin

.uverse.address

Value

<gnolang.StringValue>

Init

func()

Init mints the fixed supply once. The caller is the deploy wallet and receives the public-sale FISH. No coins.

Open
OID
0cdb38…ab01:16
Init details

Inspect func

SetTransfers

func(next bool)

SetTransfers opens or closes ordinary wallet sends. The deploy wallet only. No coins.

Open
OID
0cdb38…ab01:18
SetTransfers details

Inspect func

GrantMover

func(who .uverse.address)

GrantMover lets that wallet send FISH while transfers are closed. The deploy wallet only. No coins.

Open
OID
0cdb38…ab01:19
GrantMover details

Inspect func

RevokeMover

func(who .uverse.address)

RevokeMover removes that wallet from the closed-transfer list. The deploy wallet only. No coins.

Open
OID
0cdb38…ab01:20
RevokeMover details

Inspect func

GrantDistributor

func(who .uverse.address)

GrantDistributor lets that realm pay FISH to users while transfers are closed. The deploy wallet only. No coins.

Open
OID
0cdb38…ab01:21
GrantDistributor details

Inspect func

RevokeDistributor

func(who .uverse.address)

RevokeDistributor removes that reward realm. The deploy wallet only. No coins.

Open
OID
0cdb38…ab01:22
RevokeDistributor details

Inspect func

TransferAdmin

func(next .uverse.address)

TransferAdmin hands the switch to next. Balances stay where they are. No coins.

Open
OID
0cdb38…ab01:23
TransferAdmin details

Inspect func

Transfer

func(to .uverse.address, amount int64)

Transfer sends FISH from the caller to to. A closed ledger rejects an ordinary wallet. Listed wallets and granted reward realms may still send.

Open
OID
0cdb38…ab01:24
Transfer details

Inspect func

Approve

func(spender .uverse.address, amount int64)

Approve sets the spender allowance. It does not move FISH and does not open trading. No coins from an EOA.

Open
OID
0cdb38…ab01:25
Approve details

Inspect func

TransferFrom

func(owner .uverse.address, to .uverse.address, amount int64)

TransferFrom sends FISH using the caller's allowance. While closed, only a granted reward realm may pull, and only from its own balance or from a listed wallet.

Open
OID
0cdb38…ab01:26
TransferFrom details

Inspect func

IsMover

func(who .uverse.address) bool
Open
OID
0cdb38…ab01:28
IsMover details

Inspect func

IsDistributor

func(who .uverse.address) bool
Open
OID
0cdb38…ab01:29
IsDistributor details

Inspect func

BalanceOf

func(who .uverse.address) int64
Open
OID
0cdb38…ab01:36
BalanceOf details

Inspect func

Allowance

func(owner .uverse.address, spender .uverse.address) int64
Open
OID
0cdb38…ab01:37
Allowance details

Inspect func

mayMove

func(caller .uverse.address, from .uverse.address) bool
Open
OID
0cdb38…ab01:40
mayMove details

Inspect func

requireAdmin

func(caller .uverse.address)
Open
OID
0cdb38…ab01:41
requireAdmin details

Inspect func

requireAmount

func(amount int64, to .uverse.address)
Open
OID
0cdb38…ab01:42
requireAmount details

Inspect func

credit

func(led *v0.PrivateLedger, who .uverse.address, amount int64)
Open
OID
0cdb38…ab01:43
credit details

Inspect func

requireUser

func() .uverse.address
Open
OID
0cdb38…ab01:46
requireUser details

Inspect func

distinct

func(xs [].uverse.address) bool
Open
OID
0cdb38…ab01:48
distinct details

Inspect func
unit : int64 =1000000
supplyWhole : int64 =100000000
seasonWhole : int64 =43000000
liquidityWhole : int64 =20000000
ecosystemWhole : int64 =15000000
communityWhole : int64 =12000000
teamWhole : int64 =5000000
saleWhole : int64 =5000000
seasonAddr : .uverse.address =<gnolang.StringValue>
liquidityAddr : .uverse.address =<gnolang.StringValue>
ecosystemAddr : .uverse.address =<gnolang.StringValue>
communityAddr : .uverse.address =<gnolang.StringValue>
teamAddr : .uverse.address =<gnolang.StringValue>
token : *v0.Token Inspect
ledger : *v0.PrivateLedger Inspect
seq : v0.ID =<zero>
inited : bool =true
open : bool =false
admin : .uverse.address =<gnolang.StringValue>
mover : map[.uverse.address]bool Inspect
payer : map[.uverse.address]bool Inspect
Init : func() Inspect
SetTransfers : func(next bool) Inspect
GrantMover : func(who .uverse.address) Inspect
RevokeMover : func(who .uverse.address) Inspect
GrantDistributor : func(who .uverse.address) Inspect
RevokeDistributor : func(who .uverse.address) Inspect
TransferAdmin : func(next .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
TransfersOpen : func() bool Inspect
IsMover : func(who .uverse.address) bool Inspect
IsDistributor : func(who .uverse.address) bool Inspect
Version : func() string Inspect
Admin : func() .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
Render : func(path string) string Inspect
mayMove : func(caller .uverse.address, from .uverse.address) bool Inspect
requireAdmin : func(caller .uverse.address) Inspect
requireAmount : func(amount int64, to .uverse.address) 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