Technical reference for the Token Factory module
Parameter | Type | Description |
---|---|---|
denom_creation_fee | Coins | Fee charged for creating new custom tokens |
denom_creation_gas_consume | uint64 | Additional gas consumed during token creation |
fee_collector_address | string | Address where creation fees are sent |
whitelisted_hooks | WhitelistedHook[] | List of approved before-send hook contracts |
sender
: Address creating the tokensubdenom
: Alphanumeric identifier (max 44 characters)new_token_denom
: Full denomination (factory/{creator_address}/{subdenom}
)sender
: Token admin addressamount
: Coin to mintmint_to_address
: Recipient address (optional, defaults to sender)sender
: Token admin addressamount
: Coin to burnburn_from_address
: Address to burn from (optional, defaults to sender)sender
: Current admin addressdenom
: Token denominationnew_admin
: New admin address (empty string to renounce)sender
: Token admin addressmetadata
: Token metadata (bank module metadata format)sender
: Token admin addressdenom
: Token denominationcontract_addr
: Hook contract address (empty to remove)sender
: Token admin addressamount
: Coin to transfertransfer_from_address
: Source addresstransfer_to_address
: Destination addressfactory/{creator_address}/{subdenom}