Proposal #633

Upload Swaprouter Contract V2

Exec Legacy Content
passed
Expected result
Passed
Turnout / Quorum
78.01% / 20.00%

Voting period

Voting ended100.0%
Voting start 2023.09.21 at 17:40:14
Voting end 2023.09.26 at 17:40:14

Vote distribution

98.76%
159 707 637 osmo
Yes
0.00%
2 373 osmo
No
0.00%
3 270 osmo
Veto
1.24%
2 001 549 osmo
Abstain

Details

logo
Proposer
-
Total deposit
1 600 osmo
Submit time
2023.09.21 at 17:40:14
Deposit end time
2023.10.05 at 17:40:14

Description

Passing this proposal will upload an updated version of the Swaprouter contract to the Osmosis chain. \n## Details \nThe set of contracts within the XCS bundle enables trades on Osmosis to be carried out remotely from another chain connected to Osmosis by IBC. \n\nVersion two of the contracts simplifies the usage of crosschain swaps by keeping registries with information about IBC channels used, denoms used on Osmosis, and when to use packet forward middleware vs. callbacks. \n\nThe Crosschain Swaps contract receives a token transfer from chain A, looks up the required information from the Crosschain Registry contract, interacts with the Swap Router contract to exchange the received token for a different token, and then forwards it to a destination address specified in the original transaction. \n\nThis instance then looks up the correct information to use from the linked instance of the Crosschain Registry contract and, using this, interacts with the Swap Router contract to exchange the received token for the desired token. \n\nThe resultant tokens are then forwarded to the address initially specified in the memo, be that a return to the address on Chain A or forwarding to an address on Chain C. \n\nFull Documentation: https://github.com/osmosis-labs/osmosis/tree/main/cosmwasm/contracts/crosschain-swaps \n## Contract information \nRelease: V2 \n\nCompiler Version: cosmwasm/workspace-optimizer:0.12.10 \n\nChecksum: f8fca2b93dcd4cf0b41b964ba4c6523094dd3097c3269bc88c87f68edc0a9c00 \n\nCode repository: https://github.com/osmosis-labs/osmosis/tree/main/cosmwasm/contracts \n\nCommit ID: b90dfad7f2ab8ecdd2806cb51dfa9a72fb80a469 \n\nForum Thread: https://forum.osmosis.zone/t/upload-xcs-v2-contracts/335

Votes

Voter
Answer