You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
IBC power lays not only in ability to transfer tokens by wallets, but also in ability of on chain protocols(contracts) to work with that. Memo can be formed in memory and send to provide additional instructions. And IBC stack is complex and big to setup, so having interface to work with could be awesome for productivity. Also for packet forwarding middleware, it may be the case that sendTransfer is used via inheritance, so that may be it function to be public and receive memory for memo.
interfaceICS20Transfer {
function sendTransfer(
// not sure about other strings - if they should be memory?stringcalldatadenom,
uint256amount,
stringcalldatareceiver,
stringcalldatasourcePort,
stringcalldatasourceChannel,
(uint64,uint64) timeoutHeight, // https://github.com/CosmWasm/cosmwasm/blob/e7c4ed8e0a0b0d0816c24a516d413811fdebb686/packages/std/src/ibc.rs#L165// CosmWasm Rust, Cosmos Go and pallet-ibc in ibc-rs afaik use this defintion of height. so that IBC can talk to forked chains to which height from zero. can we retain that interface?stringmemory memo // memo is often created via string concatenation
) public ;
The text was updated successfully, but these errors were encountered:
dzmitry-lahoda
changed the title
sendTransfer interface modifications
sendTransfer interface modifications proposal
Oct 24, 2023
IBC power lays not only in ability to transfer tokens by wallets, but also in ability of on chain protocols(contracts) to work with that. Memo can be formed in memory and send to provide additional instructions. And IBC stack is complex and big to setup, so having interface to work with could be awesome for productivity. Also for packet forwarding middleware, it may be the case that sendTransfer is used via inheritance, so that may be it function to be public and receive memory for memo.
So now having:
desired
The text was updated successfully, but these errors were encountered: