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
We will want accounts on Anoma which handle the ledgers for more than one token, for example this is how wrapped ERC20 assets will be kept track of. (#114)
More generally we want to support transfers for any arbitrary "/balance/` key suffix that isn't necessarily top level. So in general we could have multitoken accounts like
This issue is to update anomac transfer to work with such multitokens, specifically we need a tx wasm that does the transfer correctly - the validity predicate(s) for validating that such a transfer happened is out of scope for this issue and may differ slightly between different multitokens.
One way would do this issue would be to update the existing tx_transfer to work with any arbitrary storage key prefix (e.g. #<eth-bridge-bech32m-address>/erc20/<erc20-ethereum-address>/...) rather than a top-level Anoma address. Alternatively we could make a new separate tx_multitoken_transfer that the anomac transfer should delegate to using in the case of multitoken transfers.
The text was updated successfully, but these errors were encountered:
We will want accounts on Anoma which handle the ledgers for more than one token, for example this is how wrapped ERC20 assets will be kept track of. (#114)
e.g.
More generally we want to support transfers for any arbitrary "/balance/` key suffix that isn't necessarily top level. So in general we could have multitoken accounts like
This issue is to update
anomac transfer
to work with such multitokens, specifically we need a tx wasm that does the transfer correctly - the validity predicate(s) for validating that such a transfer happened is out of scope for this issue and may differ slightly between different multitokens.One way would do this issue would be to update the existing
tx_transfer
to work with any arbitrary storage key prefix (e.g.#<eth-bridge-bech32m-address>/erc20/<erc20-ethereum-address>/...
) rather than a top-level Anoma address. Alternatively we could make a new separatetx_multitoken_transfer
that theanomac transfer
should delegate to using in the case of multitoken transfers.The text was updated successfully, but these errors were encountered: