2020-08-16 23:24:14 -07:00
|
|
|
<!--
|
|
|
|
order: 6
|
|
|
|
-->
|
|
|
|
|
|
|
|
# Parameters
|
|
|
|
|
|
|
|
The ibc-transfer module contains the following parameters:
|
|
|
|
|
2020-08-17 05:16:24 -07:00
|
|
|
| Key | Type | Default Value |
|
|
|
|
|------------------|------|---------------|
|
|
|
|
| `SendEnabled` | bool | `true` |
|
|
|
|
| `ReceiveEnabled` | bool | `true` |
|
2020-08-16 23:24:14 -07:00
|
|
|
|
2020-08-17 05:16:24 -07:00
|
|
|
## SendEnabled
|
2020-08-16 23:24:14 -07:00
|
|
|
|
2020-08-17 05:16:24 -07:00
|
|
|
The transfers enabled parameter controls send cross-chain transfer capabilities for all fungible
|
|
|
|
tokens.
|
2020-08-16 23:24:14 -07:00
|
|
|
|
2020-08-17 05:16:24 -07:00
|
|
|
To prevent a single token from being transferred from the chain, set the `SendEnabled` parameter to `true` and
|
|
|
|
then set the bank module's [`SendEnabled` parameter](./../../bank/spec/05_params.md#sendenabled) for
|
|
|
|
the denomination to `false`.
|
|
|
|
|
|
|
|
## 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
|
2020-08-16 23:24:14 -07:00
|
|
|
then set the bank module's [`SendEnabled` parameter](./../../bank/spec/05_params.md#sendenabled) for
|
|
|
|
the denomination to `false`.
|