-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package types | ||
|
||
// EurekaPayload defines a single packet sent in the EurekaSendPacketMsg | ||
// | ||
// Payload value should be encoded in a format defined by the channel version, | ||
// and the module on the other side should know how to parse this. | ||
type EurekaPayload struct { | ||
// The port id on the chain where the packet is sent to (external chain). | ||
DestinationPort string `json:"destination_port"` | ||
// Version of the receiving contract. | ||
Version string `json:"version"` | ||
// Encoding used to serialize the Value. | ||
Encoding string `json:"encoding"` | ||
// Encoded payload data | ||
Value []byte `json:"value"` | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters