nolus

Prop 80: Smart Contract Migration to v0.5.1

Summary

In order to facilitate contract migrations, it is necessary for them to pass through governance since the Nolus network operates as a semi-permissioned blockchain.

The money market code base is structured into two main components: the platform core and the protocol core. The platform core comprises essential contracts that are universal and not specific to any connected chains. Conversely, the protocol core consists of adaptable contracts tailored to create unique instances for each connected chain, such as Osmosis, Neutron, and more. This division streamlines Nolus's scalability and reduces maintenance costs.

This proposal aims to migrate a new version of the Platform (including Time Alarms, Rewards Dispatcher, and Admin), the Osmosis Protocol (Leaser, LPP, Oracle, Profit, and Lease), and the Neutron Protocol (Leaser, LPP, Oracle, Profit, and Lease) contracts to the Nolus Pirin mainnet. The update brings several enhancements:

  • Removal of support for DEX networks prior to cosmos-sdk v0.47.
  • Introduction of a new query response field for overdue interest. *Implementation of partial migration for protocol contracts, enabling migration of lease positions belonging to different protocols in parallel rather than together.

You can find the complete changelog in the GitHub release v0.5.1.

Furthermore, this release includes protocol contracts for Noble USDC on Osmosis. Following the approval of proposal #56 (https://ping.pub/nolus/gov/56), the corresponding DEX admin address (nolus17p442jtwh4xq2she5ukfka8x5xk2axhufjm4mx) will initiate a third set of protocol contracts alongside the existing ones, namely OSMOSIS-OSMOSIS-USDC_AXELAR and NEUTRON-ASTROPORT-USDC_AXELAR. This will enable lenders to deposit native Circle USDC issued by Noble into the newly initialized lending pool and borrowers to take out USDC loans to support their lease positions on Osmosis.

By voting "YES" on this proposal, you agree to migrate this new version of the Platform and Protocol smart contracts and to instantiate a new lending pool instance for Noble USDC on the Pirin mainnet.