fishtoken source realm
Package fishtoken is the unreleased GnoFish FISH ledger. Init mints a fixed supply once. No later call can mint. Whil...
Package fishtoken is the unreleased GnoFish FISH ledger. Init mints a fixed supply once. No later call can mint. While transfers are closed, a normal wallet cannot send FISH, so it cannot fund a pool or sell through a market. The deploy wallet opens transfers. The five treasury wallets, the deploy wallet, and a reward realm the deploy wallet has granted may still send. This realm has no pool and no trade. Public-sale FISH is minted to the deploy wallet. fishtoken-1.
22
func Approve
crossing ActionApprove sets the spender allowance. It does not move FISH and does not open trading. No coins from an EOA.
func BalanceOf
Actionfunc Decimals
Actionfunc GrantDistributor
crossing ActionGrantDistributor lets that realm pay FISH to users while transfers are closed. The deploy wallet only. No coins.
func GrantMover
crossing ActionGrantMover lets that wallet send FISH while transfers are closed. The deploy wallet only. No coins.
func Init
crossing ActionInit mints the fixed supply once. The caller is the deploy wallet and receives the public-sale FISH. No coins.
func IsDistributor
Actionfunc IsMover
Actionfunc Name
Actionfunc Render
func RevokeDistributor
crossing ActionRevokeDistributor removes that reward realm. The deploy wallet only. No coins.
func RevokeMover
crossing ActionRevokeMover removes that wallet from the closed-transfer list. The deploy wallet only. No coins.
func SetTransfers
crossing ActionSetTransfers opens or closes ordinary wallet sends. The deploy wallet only. No coins.
func Symbol
Actionfunc TokenID
Actionfunc TotalSupply
Actionfunc Transfer
crossing ActionTransfer sends FISH from the caller to to. A closed ledger rejects an ordinary wallet. Listed wallets and granted reward realms may still send.
func TransferAdmin
crossing ActionTransferAdmin hands the switch to next. Balances stay where they are. No coins.
func TransferFrom
crossing ActionTransferFrom 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.
func TransfersOpen
Actionfunc Version
Action5
- chain stdlib
- chain/runtime/unsafe stdlib
- gno.land/p/nt/grc20/v0 package
- gno.land/p/nt/seqid/v0 package
- strconv stdlib