shoaltoken source realm
Package shoaltoken is the Shoal FISH ledger. Init mints a fixed supply and no later call can mint. Wallet Transfer, A...
Package shoaltoken is the Shoal FISH ledger. Init mints a fixed supply and no later call can mint. Wallet Transfer, Approve, and TransferFrom move the full amount. BuyTaxBps and SellTaxBps are stored for a later pool realm. They do not tax a wallet transfer, a cheer, a season reward, or a community claim.
The symbol is FISH, the same letters as the fish NFT collection. A wallet that keys only on the symbol can confuse the two. The chain identity is TokenID: the realm path, the symbol, and the sequence.
Deployed on onyx-1 at gno.land/r/g10ragdr3cjqkael8rslpw4y6rlelhev4h0fswcx/shoaltoken. Init is a separate call. It does not register this token.
19
func Approve
crossing ActionApprove lets spender move up to amount from the caller. This replaces the previous allowance.
func BalanceOf
Actionfunc BuyTaxBps
Actionfunc Decimals
Actionfunc Init
crossing ActionInit mints the fixed supply once and seals the ledger. The five treasuries must be distinct.
func Name
Actionfunc Render
func Sealed
Actionfunc SellTaxBps
Actionfunc SetBuyTaxBps
crossing ActionSetBuyTaxBps stores the buy tax for a later pool. The cap is 500 bps. This does not tax wallets.
func SetSellTaxBps
crossing ActionSetSellTaxBps stores the sell tax for a later pool. The cap is 1000 bps. This does not tax wallets.
func Symbol
Actionfunc TokenID
Actionfunc TotalSupply
Actionfunc Transfer
crossing ActionTransfer moves FISH from the caller to to. The amount is not taxed.
func TransferAdmin
crossing ActionTransferAdmin hands the tax hook to next. Balances stay where they are.
func TransferFrom
crossing ActionTransferFrom moves amount from owner to to, using the caller's allowance. The amount is not taxed.