tokenName
untyped stringValue
"Gnomic"
tokenSymbol
untyped stringValue
"GNOMIC"
tokenDecimals
untyped bigintValue
(6 <untyped> bigint)
initialSupply
int64Value
21000000
maxSupply
int64Value
21000000
tokenDescription
untyped stringValue
"Fixed supply of 21 million, distributed to GNOT holders on gno.land."
tokenLogoURI
untyped stringValue
"https://gnomic.wtf/icon-512.png"
tokenWebsite
untyped stringValue
"https://gnomic.wtf"
tokenTwitter
untyped stringValue
""
ownerAddress
untyped stringEmpty = the owner is the address that runs the deploy.
Value
"g1z0c0wrmwpzpd0gq4q67hl9508dtgv4epr0z5ml"
Token
*v0.Token- OID
- 052d9e…5708:43
Token details
Ownable
*v0.Ownable- OID
- 052d9e…5708:54
Ownable details
privateLedger
*v0.PrivateLedger- OID
- 052d9e…5708:45
privateLedger details
userTeller
*v0.fnTeller- OID
- 052d9e…5708:51
userTeller details
unit
int64Value
1000000
hardCap
int64Value
21000000000000
totalMinted
int64Value
21000000000000
tokenKey
stringValue
"gno.land/r/nym-thegnomic001/gnomic.GNOMIC"
deployHeight
int64Value
173069
realmAddr
.uverse.addressValue
<gnolang.StringValue>
init.20
func()- OID
- 052d9e…5708:13
init.20 details
Name
func() stringName returns the token name.
- OID
- 052d9e…5708:15
Name details
Symbol
func() stringSymbol returns the ticker.
- OID
- 052d9e…5708:16
Symbol details
Decimals
func() intDecimals returns the precision.
- OID
- 052d9e…5708:17
Decimals details
TotalSupply
func() int64TotalSupply returns the circulating supply in base units.
- OID
- 052d9e…5708:18
TotalSupply details
MaxSupply
func() int64MaxSupply returns the hard ceiling in base units: it caps the cumulative amount ever minted, not the circulating supply.
- OID
- 052d9e…5708:19
MaxSupply details
TotalMinted
func() int64TotalMinted returns the cumulative amount ever minted. It never goes down, not even after a Burn: hardCap - TotalMinted() is the remaining headroom.
- OID
- 052d9e…5708:20
TotalMinted details
Burned
func() int64Burned returns the total destroyed: cumulative minted minus circulating.
- OID
- 052d9e…5708:21
Burned details
Holders
func() intHolders returns the number of addresses with a non-zero balance.
- OID
- 052d9e…5708:22
Holders details
BalanceOf
func(owner .uverse.address) int64BalanceOf returns the balance of owner in base units.
- OID
- 052d9e…5708:23
BalanceOf details
Allowance
func(owner .uverse.address, spender .uverse.address) int64Allowance returns how much spender may draw from owner.
- OID
- 052d9e…5708:24
Allowance details
TokenKey
func() stringTokenKey returns the token's key in the GRC20 registry ("\<pkgpath>.\<SYMBOL>"), to be used with r/nt/grc20reg and with GnoSwap.
- OID
- 052d9e…5708:25
TokenKey details
RealmAddress
func() .uverse.address- OID
- 052d9e…5708:26
RealmAddress details
Owner
func() .uverse.address- OID
- 052d9e…5708:27
Owner details
Transfer
func(to .uverse.address, amount int64)Transfer sends amount (base units) from the caller to to.
- OID
- 052d9e…5708:28
Transfer details
Approve
func(spender .uverse.address, amount int64)Approve authorises spender to draw up to amount from the caller.
- OID
- 052d9e…5708:29
Approve details
TransferFrom
func(from .uverse.address, to .uverse.address, amount int64)TransferFrom moves amount from from to to, consuming the caller's allowance.
- OID
- 052d9e…5708:30
TransferFrom details
Burn
func(amount int64)Burn destroys amount of the caller's tokens, reducing the supply.
- OID
- 052d9e…5708:31
Burn details
Mint
func(to .uverse.address, amount int64)Mint creates amount (base units) in favour of to. Owner only, and never beyond maxSupply. After DropOwnership this function is unusable forever: the supply becomes immutable upwards.
- OID
- 052d9e…5708:32
Mint details
TransferOwnership
func(newOwner .uverse.address)TransferOwnership hands administration over to newOwner.
- OID
- 052d9e…5708:33
TransferOwnership details
DropOwnership
func()DropOwnership gives up administration for good: no future mint will ever be possible. The operation cannot be undone.
- OID
- 052d9e…5708:34
DropOwnership details
Render
func(path string) string- OID
- 052d9e…5708:35
Render details
renderHome
func() string- OID
- 052d9e…5708:36
renderHome details
mintStatus
func() string- OID
- 052d9e…5708:37
mintStatus details
format
func(v int64) stringformat turns base units into a readable decimal string. The sign is applied at the end rather than by negating v: for |v| \< unit the whole part is 0, so the minus would be lost (format(-500000) gave "0.5"). Negating v directly is no good either, because -math.MinInt64 overflows; instead the whole part and the remainder are negated, both safe in magnitude.
- OID
- 052d9e…5708:38
format details
pow10
func(n int) int64- OID
- 052d9e…5708:39
pow10 details
mulOrPanic
func(a int64, b int64) int64- OID
- 052d9e…5708:40
mulOrPanic details
checkErr
func(err .uverse.error)- OID
- 052d9e…5708:41