github.com/okex/exchain@v1.8.0/libs/ibc-go/proto/ibc/applications/fee/v1/fee.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 "cosmos/base/v1beta1/coin.proto"; 8 import "gogoproto/gogo.proto"; 9 import "ibc/core/channel/v1/channel.proto"; 10 11 // Fee defines the ICS29 receive, acknowledgement and timeout fees 12 message Fee { 13 // the packet receive fee 14 repeated cosmos.base.v1beta1.Coin recv_fee = 1 [ 15 (gogoproto.moretags) = "yaml:\"recv_fee\"", 16 (gogoproto.nullable) = false, 17 (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" 18 ]; 19 // the packet acknowledgement fee 20 repeated cosmos.base.v1beta1.Coin ack_fee = 2 [ 21 (gogoproto.moretags) = "yaml:\"ack_fee\"", 22 (gogoproto.nullable) = false, 23 (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" 24 ]; 25 // the packet timeout fee 26 repeated cosmos.base.v1beta1.Coin timeout_fee = 3 [ 27 (gogoproto.moretags) = "yaml:\"timeout_fee\"", 28 (gogoproto.nullable) = false, 29 (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" 30 ]; 31 } 32 33 // PacketFee contains ICS29 relayer fees, refund address and optional list of permitted relayers 34 message PacketFee { 35 // fee encapsulates the recv, ack and timeout fees associated with an IBC packet 36 Fee fee = 1 [(gogoproto.nullable) = false]; 37 // the refund address for unspent fees 38 string refund_address = 2 [(gogoproto.moretags) = "yaml:\"refund_address\""]; 39 // optional list of relayers permitted to receive fees 40 repeated string relayers = 3; 41 } 42 43 // PacketFees contains a list of type PacketFee 44 message PacketFees { 45 // list of packet fees 46 repeated PacketFee packet_fees = 1 [(gogoproto.moretags) = "yaml:\"packet_fees\"", (gogoproto.nullable) = false]; 47 } 48 49 // IdentifiedPacketFees contains a list of type PacketFee and associated PacketId 50 message IdentifiedPacketFees { 51 // unique packet identifier comprised of the channel ID, port ID and sequence 52 ibc.core.channel.v1.PacketId packet_id = 1 53 [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"packet_id\""]; 54 // list of packet fees 55 repeated PacketFee packet_fees = 2 [(gogoproto.moretags) = "yaml:\"packet_fees\"", (gogoproto.nullable) = false]; 56 }