nolus

Prop 345: Smart Contract Migration (v0.9.0)

Summary

As the Nolus network adopts a semi-permissioned blockchain model, contract migrations require governance approval. The Nolus money market architecture is strategically divided into two main components: the platform core and the protocol core. The platform core houses essential contracts that function universally across various chains without specific modifications for each chain. Conversely, the protocol core is designed for flexibility, allowing for the creation of unique contract instances tailored to each integrated chain, such as Osmosis, Neutron, and others anticipated in the future. This strategic separation ensures that Nolus can scale efficiently while minimizing maintenance overheads.

This proposal introduces the migration to a new iteration of smart contracts on the Nolus Pirin mainnet, migrating the platform contracts only — Admin, Timealarms, and Treasury. This release completes the integration of the Solana-side Remote Lease App into the lease lifecycle, including:

  • Cross-Chain Wire Format: Cross-chain lease communication now uses the wire crate's Borsh codec, with coins identified by full ICS-20 denom paths.
  • Slippage Protection: Every swap flow (open, repay, customer close, liquidation) is now floored by a per-scenario max slippage configured on the Leaser.
  • Remote Teardown: Terminal lease states (closed, liquidated) now tear down their remote counterpart through a new CloseRemote step.

Existing protocol contracts are not migrated by this release; a protocol moves to v0.9.0 by being closed and re-registered as a fresh deployment.

For the complete changelog, please refer to the release v0.9.0 on GitHub.

By voting "YES" on this proposal, you consent to the migration of the platform smart contracts to the latest version v0.9.0.