Module cw20_ics20::ibc[][src]

Structs

Ics20Packet

The format for sending an ics20 packet. Proto defined here: https://github.com/cosmos/cosmos-sdk/blob/v0.42.0/proto/ibc/applications/transfer/v1/transfer.proto#L11-L20 This is compatible with the JSON serialization

Enums

Ics20Ack

This is a generic ICS acknowledgement format. Proto defined here: https://github.com/cosmos/cosmos-sdk/blob/v0.42.0/proto/ibc/core/channel/v1/channel.proto#L141-L147 This is compatible with the JSON serialization

Constants

ICS20_ORDERING
ICS20_VERSION

Functions

ibc_channel_close
ibc_channel_connect

record the channel in CHANNEL_INFO

ibc_channel_open

enforces ordering and versioning constraints

ibc_packet_ack

check if success or failure and update balance, or return funds

ibc_packet_receive

Check to see if we have any balance here We should not return an error if possible, but rather an acknowledgement of failure

ibc_packet_timeout

return fund to original sender (same as failure in ibc_packet_ack)