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
As a zoe smart contract, I'd like to be able to swap assets on an external chain. A user offers me ATOM* and wants an equivalent amount of IST** in return. I will use the Osmosis DEX to complete the swap.
for simplicity, we may want to start with an Osmosis-native asset like OSMO so we do not need to unwrap ATOM (ibc transfer to gaia -> ibc transfer to osmosis with hook)
** tangential to the above, a non-Agoric asset will need to be unwrapped going back to Agoric so we may want to test with a different scenario here as we progress.
To start, the goal is to create working zoe contract that using the listed APIs. The author may want to consider future reuse of the contract and how we can expose functionality for this to become a reusable component for other dapps, a la postSvc.
Security Considerations
Scaling Considerations
Test Plan
Test with A3P and an Osmosis sim chain.
The content you are editing has changed. Please copy your edits and refresh the page.
What is the Problem Being Solved?
As a zoe smart contract, I'd like to be able to swap assets on an external chain. A user offers me ATOM* and wants an equivalent amount of IST** in return. I will use the Osmosis DEX to complete the swap.
** tangential to the above, a non-Agoric asset will need to be unwrapped going back to Agoric so we may want to test with a different scenario here as we progress.
Description of the Design
Use vat-transfer (#8624) to make a Transfer Account and execute a Swap on Osmosis using cosmwasm IBC-Hooks.
To start, the goal is to create working zoe contract that using the listed APIs. The author may want to consider future reuse of the contract and how we can expose functionality for this to become a reusable component for other dapps, a la postSvc.
Security Considerations
Scaling Considerations
Test Plan
Test with A3P and an Osmosis sim chain.
Dependencies
Upgrade Considerations
The text was updated successfully, but these errors were encountered: