Skip to content

Latest commit

 

History

History

ics20

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

CW20 ICS20

This is a fork from Cosmwasm ICS20 contract that extends functionality to receive native tokens from other chains.

Messages

  • AllowExternalToken{}: Bind remote token to cw20 token.

Queries

Additional queries

  • Port{} - returns the port ID this contract has bound, so you can create channels. This info can be queried via wasmd contract info query, but we expose another query here for convenience.
  • ListChannels{} - returns a (currently unpaginated) list of all channels that have been created on this contract. Returns their local channelId along with some basic metadata, like the remote port/channel and the connection they run on top of.
  • Channel{id} - returns more detailed information on one specific channel. In addition to the information available in the list view, it returns the current outstanding balance on that channel, as well as the total amount that has ever been sent on the channel.