mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-28 17:25:19 +00:00
20 lines
628 B
Protocol Buffer
20 lines
628 B
Protocol Buffer
|
syntax = "proto3";
|
||
|
|
||
|
package ibc.applications.transfer.v2;
|
||
|
|
||
|
option go_package = "github.com/cosmos/ibc-go/v3/modules/apps/transfer/types";
|
||
|
|
||
|
// FungibleTokenPacketData defines a struct for the packet payload
|
||
|
// See FungibleTokenPacketData spec:
|
||
|
// https://github.com/cosmos/ibc/tree/master/spec/app/ics-020-fungible-token-transfer#data-structures
|
||
|
message FungibleTokenPacketData {
|
||
|
// the token denomination to be transferred
|
||
|
string denom = 1;
|
||
|
// the token amount to be transferred
|
||
|
string amount = 2;
|
||
|
// the sender address
|
||
|
string sender = 3;
|
||
|
// the recipient address on the destination chain
|
||
|
string receiver = 4;
|
||
|
}
|