creationFee
int64// 40 GNOT
Value
40000000
instances
v0.Tree- OID
- 0e9f08…3b0d:4
instances details
nextTokenID
v0.IDValue
<zero>
feeRecipient
.uverse.addressValue
<gnolang.StringValue>
instance
typeValue
tokenfactory.instance
CreationFee
func() int64CreationFee returns the token creation fee in ugnot.
- OID
- 0e9f08…3b0d:7
CreationFee details
FeeRecipient
func() .uverse.address- OID
- 0e9f08…3b0d:9
FeeRecipient details
CreateToken
func(name string, symbol string, decimals int, initialSupply int64) stringCreateToken creates a new GRC20 token. initialSupply is expressed in the token's smallest unit. Example: decimals = 6 initialSupply = 1000000000000 => 1,000,000 tokens. A direct user call must attach exactly 40 GNOT.
- OID
- 0e9f08…3b0d:10
CreateToken details
Bank
func(symbol string) *v0.TokenBank returns the GRC20 token instance.
- OID
- 0e9f08…3b0d:11
Bank details
TokenID
func(symbol string) stringTokenID returns the unique GRC20 token ID.
- OID
- 0e9f08…3b0d:12
TokenID details
TotalSupply
func(symbol string) int64TotalSupply returns the total token supply.
- OID
- 0e9f08…3b0d:13
TotalSupply details
BalanceOf
func(symbol string, owner .uverse.address) int64BalanceOf returns the token balance of an address.
- OID
- 0e9f08…3b0d:14
BalanceOf details
Mint
func(symbol string, to .uverse.address, amount int64)Mint allows the token owner to mint additional tokens.
- OID
- 0e9f08…3b0d:15
Mint details
Burn
func(symbol string, from .uverse.address, amount int64)Burn allows the token owner to burn tokens.
- OID
- 0e9f08…3b0d:16
Burn details
TransferTokenOwnership
func(symbol string, newOwner .uverse.address)TransferTokenOwnership transfers administration of a token to another address.
- OID
- 0e9f08…3b0d:17
TransferTokenOwnership details
DropTokenOwnership
func(symbol string)DropTokenOwnership permanently removes the administrator of the token.
- OID
- 0e9f08…3b0d:18
DropTokenOwnership details
mustGetInstance
func(symbol string) *tokenfactory.instance- OID
- 0e9f08…3b0d:19
mustGetInstance details
checkErr
func(err .uverse.error)- OID
- 0e9f08…3b0d:20
checkErr details
creationFee
:
int64
=40000000
instances : v0.Tree Inspect
nextTokenID
:
v0.ID
=<zero>
feeRecipient
:
.uverse.address
=<gnolang.StringValue>
instance
:
type
=tokenfactory.instance