MoonRunners
LogoLogo

454

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

Proposal #454

Upload Cross-Chain Swap Contract

PassedStore Code Proposal

Passed on 11 Mar 2023 with 82.4% of the votes for yes.

Yes

82.4%

100.0% without abstain

Veto

0.0%

of votes cast

Ended

11 Mar 2023

The ballotvotes cast · final tally
Yes

82.41%

of votes cast

Abstain

17.57%

of votes cast

No

0.02%

of votes cast

Veto

0.00%

of votes cast

Passing this proposal will upload the Crosschain Swaps contract to the Osmosis chain.

Details

The Crosschain Swaps contract enables trades on Osmosis to be carried out remotely from another chain connected to Osmosis by IBC.

The contract receives a token transfer from chain A, 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.

On receipt of tokens from Chain A, the contract parses a memo field, enabled by IBC v3.4.0 in [Hidden link]. This contains information set by the sender identifying the instance of the Crosschain Swaps contract to interact with and the intention.

This Crosschain Swaps instance is linked to an instance of the SwapRouter contract uploaded in [Hidden link] and carries out the exchange using liquidity on Osmosis.

The resultant tokens are then forwarded to the address originally 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]

Git Commit ID

[Hidden link]

Version of Compiler used

cosmwasm/workspace-optimizer:0.12.10

Checksum

7bb5ccefe1ce4d90e9951899e0b841808b445ec3ae118991bf80b9abcdae4a26

Commonwealth Thread: [Hidden link]

Timeline

  1. Submitted06 Mar 2023
  2. Voting started06 Mar 2023
  3. Voting ended11 Mar 2023
  4. Deposit deadline20 Mar 2023

Proposer

Address
Deposit1.6K

Rules

Not recorded for this proposal.