| Name | Type | Default Value |
|---|---|---|
SendEnabled | bool | true |
ReceiveEnabled | bool | true |
StoreKey
SendEnabled
The SendEnabled parameter controls send cross-chain transfer capabilities for all fungible tokens.
To prevent a single token from being transferred from the chain, set the SendEnabled parameter to true and then, depending on the Cosmos SDK version, do one of the following:
- For Cosmos SDK v0.46.x or earlier, set the bank module’s
SendEnabledparameter for the denomination tofalse. - For Cosmos SDK versions above v0.46.x, set the bank module’s
SendEnabledentry for the denomination tofalseusingMsgSetSendEnabledas a governance proposal.
Doing so will prevent the token from being transferred between any accounts in the blockchain.
ReceiveEnabled
The transfers enabled parameter controls receive cross-chain transfer capabilities for all fungible tokens.
To prevent a single token from being transferred to the chain, set the ReceiveEnabled parameter to true and then, depending on the Cosmos SDK version, do one of the following:
- For Cosmos SDK v0.46.x or earlier, set the bank module’s
SendEnabledparameter for the denomination tofalse. - For Cosmos SDK versions above v0.46.x, set the bank module’s
SendEnabledentry for the denomination tofalseusingMsgSetSendEnabledas a governance proposal.
Doing so will prevent the token from being transferred between any accounts in the blockchain.
Queries
Current parameter values can be queried via a query message.simd, you use the following command:
Changing Parameters
To change the parameter values, you must make a governance proposal that executes theMsgUpdateParams message.