MoonRunners
LogoLogo

474

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

Proposal #474

Upload Autonomy Network Registry Stake Contract V2

PassedStore Code Proposal

Passed on 02 Apr 2023 with 75.9% of the votes for yes.

Yes

75.9%

98.2% without abstain

Veto

1.4%

of votes cast

Ended

02 Apr 2023

The ballotvotes cast · final tally
Yes

75.93%

of votes cast

Abstain

22.71%

of votes cast

No

0.01%

of votes cast

Veto

1.35%

of votes cast

Summary

The Autonomy registry contract has successfully gone through testnet and is now ready to launch onto the Osmosis mainnet

About Autonomy Registry:

This proposal deploys the necessary code on-chain to deploy Autonomy Network as a base system to automate any on-chain action with any on-chain condition. Things are generally automated by using the Autonomy Registry in conjunction with a wrapper contract around some system - for example like a wrapper around the Osmosis DEX that allows for limits and stops on Osmosis. A 2nd simultaneous proposal will deploy the wrapper contract to add limits and stops to Osmosis. This was previously proposed in [Hidden link] and [Hidden link] but both were rejected because the code in proposal 343 was the wrong code being uploaded by accident. Since then, the code has gone through some improvements and an [Hidden link], and has been working well on testnet (osmosis.autoswap.trade). More info at [Hidden link]

Repo

The source code can be found in this [Hidden link].

Compile Instructions

The binary is compiled at commit [Hidden link] using cosmwasm/workspace-optimizer:0.12.8. The following command is used:

docker run --rm -v \"$(pwd)\":/code \\
  --mount type=volume,source=\"$(basename \"$(pwd)\")_cache\",target=/code/target \\
  --mount type=volume,source=registry_cache,target=/usr/local/cargo/registry \\
  cosmwasm/workspace-optimizer:0.12.8

Checksum of the contracts are following.

# Intermediate
2443f923abd18671c42cb524c98f0711cfc1df6ce71f8261f1987c1d0d8917d2 ./target/wasm32-unknown-unknown/release/registry_stake.wasm
# Optimized
7ae0d235e6d80e6326b8a6546f8d826c2ea9c01bcba5cda89d3cf27f0f77835f registry_stake.wasm

Verify On-chain Contract

We encourage voters to independently validate that the binary code proposed on-chain matches the Rust source code. The following command may be helpful:

osmosisd q gov proposal $id --output json \\
| jq -r .content.wasm_byte_code \\
| base64 -d \\
| gzip -dc \\
| sha256sum

Timeline

  1. Submitted28 Mar 2023
  2. Voting started28 Mar 2023
  3. Voting ended02 Apr 2023
  4. Deposit deadline11 Apr 2023

Proposer

Address
Deposit1.6K

Rules

Not recorded for this proposal.