mstable/mStable-contracts

Port Nexus contracts from `master` to `master-v2`

alsco77 opened this issue · 1 comments

Is your feature request related to a problem? Please describe.
Recently this repo was ported from solc 0.5.16 to 0.8.x, and truffle/web3.js to hardhat/ethers.js.

There are a number of contracts that have not yet been migrated, and will be used in future product releases.

Describe the solution you'd like
This issue proposes that the Nexus.sol is ported from master to master-v2. This includes:

  • porting of the solidity file and all dependencies
  • refactoring to bring code in line with solc 0.8 (e.g. removal of SafeMath)
  • porting of relevant test cases to new repo (TestSavingsManager.spec.ts)

It is already ported by 928bdc7#diff-e1f41bcb08419f96d4449bc75d0a2d1476d977313209837020b7eae7d929efbf
Or is there something else missing ?