github.com/okex/exchain@v1.8.0/libs/ibc-go/proto/ibc/applications/transfer/v1/transfer.proto (about)

     1  syntax = "proto3";
     2  
     3  package ibc.applications.transfer.v1;
     4  
     5  option go_package = "github.com/cosmos/ibc-go/v2/modules/apps/transfer/types";
     6  
     7  import "gogoproto/gogo.proto";
     8  
     9  // DenomTrace contains the base denomination for ICS20 fungible tokens and the
    10  // source tracing information path.
    11  message DenomTrace {
    12    // path defines the chain of port/channel identifiers used for tracing the
    13    // source of the fungible token.
    14    string path = 1;
    15    // base denomination of the relayed fungible token.
    16    string base_denom = 2;
    17  }
    18  
    19  // Params defines the set of IBC transfer parameters.
    20  // NOTE: To prevent a single token from being transferred, set the
    21  // TransfersEnabled parameter to true and then set the bank module's SendEnabled
    22  // parameter for the denomination to false.
    23  message Params {
    24    // send_enabled enables or disables all cross-chain token transfers from this
    25    // chain.
    26    bool send_enabled = 1 [(gogoproto.moretags) = "yaml:\"send_enabled\""];
    27    // receive_enabled enables or disables all cross-chain token transfers to this
    28    // chain.
    29    bool receive_enabled = 2 [(gogoproto.moretags) = "yaml:\"receive_enabled\""];
    30  }