github.com/okex/exchain@v1.8.0/libs/ibc-go/proto/ibc/applications/interchain_accounts/v1/packet.proto (about) 1 syntax = "proto3"; 2 3 package ibc.applications.interchain_accounts.v1; 4 5 option go_package = "github.com/cosmos/ibc-go/v4/modules/apps/27-interchain-accounts/types"; 6 7 import "google/protobuf/any.proto"; 8 import "gogoproto/gogo.proto"; 9 10 // Type defines a classification of message issued from a controller chain to its associated interchain accounts 11 // host 12 enum Type { 13 option (gogoproto.goproto_enum_prefix) = false; 14 15 // Default zero value enumeration 16 TYPE_UNSPECIFIED = 0 [(gogoproto.enumvalue_customname) = "UNSPECIFIED"]; 17 // Execute a transaction on an interchain accounts host chain 18 TYPE_EXECUTE_TX = 1 [(gogoproto.enumvalue_customname) = "EXECUTE_TX"]; 19 } 20 21 // InterchainAccountPacketData is comprised of a raw transaction, type of transaction and optional memo field. 22 message InterchainAccountPacketData { 23 Type type = 1; 24 bytes data = 2; 25 string memo = 3; 26 } 27 28 // CosmosTx contains a list of sdk.Msg's. It should be used when sending transactions to an SDK host chain. 29 message CosmosTx { 30 repeated google.protobuf.Any messages = 1; 31 }