MoonRunners
LogoLogo

55

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

Proposal #55

Pin new contract codes

PassedPin Codes Proposal

Passed on 14 Dec 2023 with 100.0% of the votes for yes.

Yes

100.0%

100.0% without abstain

Veto

0.0%

of votes cast

Ended

14 Dec 2023

The ballotvotes cast · final tally
Yes

99.96%

of votes cast

Abstain

0.00%

of votes cast

No

0.03%

of votes cast

Veto

0.00%

of votes cast

Proposal #27 allowed to extend the store code permissions such that an additional wallet address by the Nolus team is able to store code on-chain without the need to go through governance proposal. In that way, there needs to be only one proposal for migration afterwards. As a result, the proposal count was reduced significantly which makes it easier for the community to track the version of the smart contracts. On the other hand, this meant that contracts that are stored on-chain via this additional address, remain unpinned.

Code pinning is a mechanism that allows contract code IDs to be pinned to memory. This way code does not have to be loaded to memory on each execution which in turn reduces the gas requirement for each transaction involving that contract. This would make the follow-up smart contract migration proposal to be submitted for much less gas than it would cost without the contracts being pinned.

By voting YES to this proposal you agree to pin the contract IDs of the newly stored contracts from version v0.4.0 of the smart contracts. These include Platform contracts (Admin, Time Alarms, Treasury and Rewards Dispatcher) as well as Protocol contracts (Leaser, LPP, Oracle, Profit and Lease). Due to the Astroport integration, there are two independent sets of Protocol contracts - one for Osmosis and one for Neutron. This makes 14 contracts to be pinned in total.

Timeline

  1. Submitted13 Dec 2023
  2. Voting started13 Dec 2023
  3. Voting ended14 Dec 2023
  4. Deposit deadline23 Dec 2023

Proposer

Address
Deposit2.5K

Rules

Not recorded for this proposal.