Module tokenfactory

Source

Structs§

DenomAuthorityMetadata
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.
EventBurn
EventChangeAdmin
EventCreateDenom
EventMint
EventSetDenomMetadata
GenesisDenom
GenesisDenom defines a tokenfactory denoms in the genesis state.
GenesisState
GenesisState for the Token Factory module.
ModuleParams
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.
MsgBurnNative
Burn a native token such as unibi
MsgBurnNativeResponse
MsgBurnResponse
MsgChangeAdmin
MsgChangeAdmin is the sdk.Msg type for allowing an admin account to change admin of a denom to a new account
MsgChangeAdminResponse
MsgChangeAdminResponse is the gRPC response for the MsgChangeAdmin TxMsg.
MsgCreateDenom
MsgCreateDenom: sdk.Msg that registers an a token factory denom. A denom has the form “tf/[creatorAddr]/[subdenom]”.
MsgCreateDenomResponse
MsgCreateDenomResponse is the return value of MsgCreateDenom
MsgMint
MsgMint: sdk.Msg (TxMsg) where an denom admin mints more of the token.
MsgMintResponse
MsgSetDenomMetadata
MsgSetDenomMetadata: sdk.Msg (TxMsg) enabling the denom admin to change its bank metadata.
MsgSetDenomMetadataResponse
MsgSudoSetDenomMetadata
MsgSudoSetDenomMetadata: sdk.Msg (TxMsg) enabling Nibiru’s “sudoers” to change bank metadata. [SUDO] Only callable by sudoers.
MsgSudoSetDenomMetadataResponse
MsgUpdateModuleParams
MsgUpdateModuleParams: sdk.Msg for updating the x/tokenfactory module params
MsgUpdateModuleParamsResponse
MsgUpdateModuleParamsResponse is the gRPC response for the MsgUpdateModuleParams TxMsg.
QueryDenomInfoRequest
QueryDenomInfoRequest: gRPC query for the denom admin and x/bank metadata
QueryDenomInfoResponse
QueryDenomInfoResponse: All registered denoms for a creator
QueryDenomsRequest
QueryDenomsRequest: gRPC query for all denoms registered for a creator
QueryDenomsResponse
QueryDenomsResponse: All registered denoms for a creator
QueryParamsRequest
QueryParamsRequest is the request type for the Query/Params RPC method.
QueryParamsResponse
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.