Protocol Documentation
Table of Contents
-
centerchain/tokenfactory/v1/tx.proto
-
Scalar Value Types
centerchain/tokenfactory/v1/tx.proto
MsgAddBlacklist
| Field | Type | Label | Description |
|---|---|---|---|
| sender | string | ||
| denom | string | ||
| address | string |
MsgAddBlacklistResponse
MsgAddDelegate
| Field | Type | Label | Description |
|---|---|---|---|
| sender | string | ||
| denom | string | ||
| address | string |
MsgAddDelegateResponse
MsgBurn
MsgBurn is the sdk.Msg type for allowing an admin account to burn a token. For now, we only support burning from the sender account.
| Field | Type | Label | Description |
|---|---|---|---|
| sender | string | ||
| amount | cosmos.base.v1beta1.Coin | ||
| burnFromAddress | string |
MsgBurnResponse
MsgChangeAdmin
MsgChangeAdmin is the sdk.Msg type for allowing an admin account to reassign adminship of a denom to a new account
| Field | Type | Label | Description |
|---|---|---|---|
| sender | string | ||
| denom | string | ||
| new_admin | string |
MsgChangeAdminResponse
MsgChangeAdminResponse defines the response structure for an executed MsgChangeAdmin message.
MsgCreateDenom
MsgCreateDenom defines the message structure for the CreateDenom gRPC service method. It allows an account to create a new denom. It requires a sender address and a sub denomination. The (sender_address, sub_denomination) tuple must be unique and cannot be re-used.
The resulting denom created is defined as <factory/{creatorAddress}/{subdenom}>. The resulting denom's admin is originally set to be the creator, but this can be changed later. The token denom does not indicate the current admin.
| Field | Type | Label | Description |
|---|---|---|---|
| sender | string | ||
| subdenom | string | subdenom can be up to 44 "alphanumeric" characters long. |
MsgCreateDenomResponse
MsgCreateDenomResponse is the return value of MsgCreateDenom It returns the full string of the newly created denom
| Field | Type | Label | Description |
|---|---|---|---|
| new_token_denom | string |
MsgForceTransfer
| Field | Type | Label | Description |
|---|---|---|---|
| sender | string | ||
| amount | cosmos.base.v1beta1.Coin | ||
| transferFromAddress | string | ||
| transferToAddress | string |
MsgForceTransferResponse
MsgMint
MsgMint is the sdk.Msg type for allowing an admin account to mint more of a token. For now, we only support minting to the sender account
| Field | Type | Label | Description |
|---|---|---|---|
| sender | string | ||
| amount | cosmos.base.v1beta1.Coin | ||
| mintToAddress | string |
MsgMintResponse
MsgRemoveBlacklist
| Field | Type | Label | Description |
|---|---|---|---|
| sender | string | ||
| denom | string | ||
| address | string |
MsgRemoveBlacklistResponse
MsgRemoveDelegate
| Field | Type | Label | Description |
|---|---|---|---|
| sender | string | ||
| denom | string | ||
| address | string |
MsgRemoveDelegateResponse
MsgSetDenomMetadata
MsgSetDenomMetadata is the sdk.Msg type for allowing an admin account to set the denom's bank metadata
| Field | Type | Label | Description |
|---|---|---|---|
| sender | string | ||
| metadata | cosmos.bank.v1beta1.Metadata |
MsgSetDenomMetadataResponse
MsgSetDenomMetadataResponse defines the response structure for an executed MsgSetDenomMetadata message.
MsgSetDenomRestriction
| Field | Type | Label | Description |
|---|---|---|---|
| sender | string | ||
| denom | string | subdenom can be up to 44 "alphanumeric" characters long. | |
| isRestricted | bool |
MsgSetDenomRestrictionResponse
MsgSetPoolDenylist
| Field | Type | Label | Description |
|---|---|---|---|
| authority | string | authority is the configured tokenfactory governance authority. | |
| denom | string | ||
| denylisted | bool |
MsgSetPoolDenylistResponse
MsgSetPoolable
| Field | Type | Label | Description |
|---|---|---|---|
| sender | string | ||
| denom | string | ||
| poolable | bool |
MsgSetPoolableResponse
MsgUpdateParams
MsgUpdateParams is the Msg/UpdateParams request type.
Since: cosmos-sdk 0.47
| Field | Type | Label | Description |
|---|---|---|---|
| authority | string | authority is the address of the governance account. | |
| params | Params | params defines the x/mint parameters to update. |
NOTE: All parameters must be supplied. |
MsgUpdateParamsResponse
MsgUpdateParamsResponse defines the response structure for executing a MsgUpdateParams message.
Since: cosmos-sdk 0.47
Msg
Msg defines the tokefactory module's gRPC message service.
| Method Name | Request Type | Response Type | Description |
|---|---|---|---|
| CreateDenom | MsgCreateDenom | MsgCreateDenomResponse | |
| Mint | MsgMint | MsgMintResponse | |
| Burn | MsgBurn | MsgBurnResponse | |
| ChangeAdmin | MsgChangeAdmin | MsgChangeAdminResponse | |
| SetDenomMetadata | MsgSetDenomMetadata | MsgSetDenomMetadataResponse | |
| ForceTransfer | MsgForceTransfer | MsgForceTransferResponse | |
| AddDelegate | MsgAddDelegate | MsgAddDelegateResponse | |
| RemoveDelegate | MsgRemoveDelegate | MsgRemoveDelegateResponse | |
| AddBlacklist | MsgAddBlacklist | MsgAddBlacklistResponse | |
| RemoveBlacklist | MsgRemoveBlacklist | MsgRemoveBlacklistResponse | |
| SetDenomRestriction | MsgSetDenomRestriction | MsgSetDenomRestrictionResponse | |
| SetPoolable | MsgSetPoolable | MsgSetPoolableResponse | |
| SetPoolDenylist | MsgSetPoolDenylist | MsgSetPoolDenylistResponse | |
| UpdateParams | MsgUpdateParams | MsgUpdateParamsResponse | UpdateParams defines a governance operation for updating the x/mint module parameters. The authority is hard-coded to the x/gov module account. |
Since: cosmos-sdk 0.47 |