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

     1  syntax = "proto3";
     2  
     3  package ibc.applications.fee.v1;
     4  
     5  option go_package = "github.com/cosmos/ibc-go/v4/modules/apps/29-fee/types";
     6  
     7  import "gogoproto/gogo.proto";
     8  import "ibc/applications/fee/v1/fee.proto";
     9  import "ibc/core/channel/v1/channel.proto";
    10  
    11  // GenesisState defines the ICS29 fee middleware genesis state
    12  message GenesisState {
    13    // list of identified packet fees
    14    repeated IdentifiedPacketFees identified_fees = 1
    15        [(gogoproto.moretags) = "yaml:\"identified_fees\"", (gogoproto.nullable) = false];
    16    // list of fee enabled channels
    17    repeated FeeEnabledChannel fee_enabled_channels = 2
    18        [(gogoproto.moretags) = "yaml:\"fee_enabled_channels\"", (gogoproto.nullable) = false];
    19    // list of registered payees
    20    repeated RegisteredPayee registered_payees = 3
    21        [(gogoproto.moretags) = "yaml:\"registered_payees\"", (gogoproto.nullable) = false];
    22    // list of registered counterparty payees
    23    repeated RegisteredCounterpartyPayee registered_counterparty_payees = 4
    24        [(gogoproto.moretags) = "yaml:\"registered_counterparty_payees\"", (gogoproto.nullable) = false];
    25    // list of forward relayer addresses
    26    repeated ForwardRelayerAddress forward_relayers = 5
    27        [(gogoproto.moretags) = "yaml:\"forward_relayers\"", (gogoproto.nullable) = false];
    28  }
    29  
    30  // FeeEnabledChannel contains the PortID & ChannelID for a fee enabled channel
    31  message FeeEnabledChannel {
    32    // unique port identifier
    33    string port_id = 1 [(gogoproto.moretags) = "yaml:\"port_id\""];
    34    // unique channel identifier
    35    string channel_id = 2 [(gogoproto.moretags) = "yaml:\"channel_id\""];
    36  }
    37  
    38  // RegisteredPayee contains the relayer address and payee address for a specific channel
    39  message RegisteredPayee {
    40    // unique channel identifier
    41    string channel_id = 1 [(gogoproto.moretags) = "yaml:\"channel_id\""];
    42    // the relayer address
    43    string relayer = 2;
    44    // the payee address
    45    string payee = 3;
    46  }
    47  
    48  // RegisteredCounterpartyPayee contains the relayer address and counterparty payee address for a specific channel (used
    49  // for recv fee distribution)
    50  message RegisteredCounterpartyPayee {
    51    // unique channel identifier
    52    string channel_id = 1 [(gogoproto.moretags) = "yaml:\"channel_id\""];
    53    // the relayer address
    54    string relayer = 2;
    55    // the counterparty payee address
    56    string counterparty_payee = 3 [(gogoproto.moretags) = "yaml:\"counterparty_payee\""];
    57  }
    58  
    59  // ForwardRelayerAddress contains the forward relayer address and PacketId used for async acknowledgements
    60  message ForwardRelayerAddress {
    61    // the forward relayer address
    62    string address = 1;
    63    // unique packet identifer comprised of the channel ID, port ID and sequence
    64    ibc.core.channel.v1.PacketId packet_id = 2
    65        [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"packet_id\""];
    66  }