structure

This commit is contained in:
mossid
2018-03-14 13:11:33 +01:00
parent 5ebdff2e5e
commit 1cb795ba73
5 changed files with 112 additions and 3 deletions
+6 -3
View File
@@ -12,9 +12,10 @@ The initial implementation of IBC will include just enough for simple coin trans
// User facing API
type IBCPacket struct {
DestAddr sdk.Address
Coins sdk.Coins
SrcChain string
SrcAddr sdk.Address
DestAddr sdk.Address
Coins sdk.Coins
SrcChain string
DestChain string
}
@@ -26,6 +27,8 @@ type IBCTransferMsg struct {
// Implements sdk.Msg
type IBCReceiveMsg struct {
IBCPacket
Relayer sdk.Address
Sequence int64
}
// Internal API
+2
View File
@@ -35,6 +35,8 @@ type IBCTransferMsg struct {
// Implements sdk.Msg
type IBCReceiveMsg struct {
Packet
Relayer sdk.Address
Sequence int64
}
// Internal API