2022-01-13 16:39:32 +00:00
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
package ibc.applications.transfer.v1;
|
|
|
|
|
2022-04-21 20:16:28 +00:00
|
|
|
option go_package = "github.com/cosmos/ibc-go/v3/modules/apps/transfer/types";
|
2022-01-13 16:39:32 +00:00
|
|
|
|
|
|
|
import "gogoproto/gogo.proto";
|
|
|
|
|
|
|
|
// DenomTrace contains the base denomination for ICS20 fungible tokens and the
|
|
|
|
// source tracing information path.
|
|
|
|
message DenomTrace {
|
|
|
|
// path defines the chain of port/channel identifiers used for tracing the
|
|
|
|
// source of the fungible token.
|
|
|
|
string path = 1;
|
|
|
|
// base denomination of the relayed fungible token.
|
|
|
|
string base_denom = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Params defines the set of IBC transfer parameters.
|
|
|
|
// NOTE: To prevent a single token from being transferred, set the
|
|
|
|
// TransfersEnabled parameter to true and then set the bank module's SendEnabled
|
|
|
|
// parameter for the denomination to false.
|
|
|
|
message Params {
|
|
|
|
// send_enabled enables or disables all cross-chain token transfers from this
|
|
|
|
// chain.
|
|
|
|
bool send_enabled = 1 [(gogoproto.moretags) = "yaml:\"send_enabled\""];
|
|
|
|
// receive_enabled enables or disables all cross-chain token transfers to this
|
|
|
|
// chain.
|
|
|
|
bool receive_enabled = 2 [(gogoproto.moretags) = "yaml:\"receive_enabled\""];
|
|
|
|
}
|