MoonRunners
LogoLogo

633

  1. /
  2. Osmosis
  3. /
  4. Mainnet
  5. /
  6. Governance
  7. /
  8. 633
  • Docs
  • Support
2026 © Made with 💜 by MoonRunnersAPI OK
DocsSupportDonate

Proposal #633

Upload Swaprouter Contract V2

PassedStore Code Proposal

Passed on 26 Sept 2023 with 98.8% of the votes for yes.

Yes

98.8%

100.0% without abstain

Veto

0.0%

of votes cast

Ended

26 Sept 2023

The ballotvotes cast · final tally
Yes

98.76%

of votes cast

Abstain

1.24%

of votes cast

No

0.00%

of votes cast

Veto

0.00%

of votes cast

Passing this proposal will upload an updated version of the Swaprouter contract to the Osmosis chain.

Details

The set of contracts within the XCS bundle enables trades on Osmosis to be carried out remotely from another chain connected to Osmosis by IBC.

Version 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.

The 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.

This 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.

The 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.

Full Documentation: [Hidden link]

Contract information

Release: V2

Compiler Version: cosmwasm/workspace-optimizer:0.12.10

Checksum: f8fca2b93dcd4cf0b41b964ba4c6523094dd3097c3269bc88c87f68edc0a9c00

Code repository: [Hidden link]

Commit ID: b90dfad7f2ab8ecdd2806cb51dfa9a72fb80a469

Forum Thread: [Hidden link]

Timeline

  1. Submitted21 Sept 2023
  2. Voting started21 Sept 2023
  3. Voting ended26 Sept 2023
  4. Deposit deadline05 Oct 2023

Proposer

Address
Deposit1.6K

Rules

Not recorded for this proposal.