Structs§
- Denom
Authority Metadata - DenomAuthorityMetadata specifies metadata foraddresses that have specific capabilities over a token factory denom. Right now there is only one Admin permission, but is planned to be extended to the future.
- Event
Burn - Event
Change Admin - Event
Create Denom - Event
Mint - Event
SetDenom Metadata - Genesis
Denom - GenesisDenom defines a tokenfactory denoms in the genesis state.
- Genesis
State - GenesisState for the Token Factory module.
- Module
Params - ModuleParams defines the parameters for the tokenfactory module.
- MsgBurn
- MsgBurn: sdk.Msg (TxMsg) where a denom admin burns some of the token. The reason that the sender isn’t automatically the “burn_from” address is to support smart contracts (primary use case). In this situation, the contract is the message signer and sender, while “burn_from” is based on the contract logic.
- MsgBurn
Native - Burn a native token such as unibi
- MsgBurn
Native Response - MsgBurn
Response - MsgChange
Admin - MsgChangeAdmin is the sdk.Msg type for allowing an admin account to change admin of a denom to a new account
- MsgChange
Admin Response - MsgChangeAdminResponse is the gRPC response for the MsgChangeAdmin TxMsg.
- MsgCreate
Denom - MsgCreateDenom: sdk.Msg that registers an a token factory denom. A denom has the form “tf/[creatorAddr]/[subdenom]”.
- MsgCreate
Denom Response - MsgCreateDenomResponse is the return value of MsgCreateDenom
- MsgMint
- MsgMint: sdk.Msg (TxMsg) where an denom admin mints more of the token.
- MsgMint
Response - MsgSet
Denom Metadata - MsgSetDenomMetadata: sdk.Msg (TxMsg) enabling the denom admin to change its bank metadata.
- MsgSet
Denom Metadata Response - MsgSudo
SetDenom Metadata - MsgSudoSetDenomMetadata: sdk.Msg (TxMsg) enabling Nibiru’s “sudoers” to change bank metadata. [SUDO] Only callable by sudoers.
- MsgSudo
SetDenom Metadata Response - MsgUpdate
Module Params - MsgUpdateModuleParams: sdk.Msg for updating the x/tokenfactory module params
- MsgUpdate
Module Params Response - MsgUpdateModuleParamsResponse is the gRPC response for the MsgUpdateModuleParams TxMsg.
- Query
Denom Info Request - QueryDenomInfoRequest: gRPC query for the denom admin and x/bank metadata
- Query
Denom Info Response - QueryDenomInfoResponse: All registered denoms for a creator
- Query
Denoms Request - QueryDenomsRequest: gRPC query for all denoms registered for a creator
- Query
Denoms Response - QueryDenomsResponse: All registered denoms for a creator
- Query
Params Request - QueryParamsRequest is the request type for the Query/Params RPC method.
- Query
Params Response - QueryParamsResponse is the response type for the Query/Params RPC method.
- TfDenom
- TFDenom is a token factory (TF) denom. The canonical representation is “tf/{creator}/{subdenom}”, its unique denomination in the x/bank module.