solace-fi / solace-core

solace.fi smart contracts
GNU General Public License v3.0
6 stars 3 forks source link

Refactor/soteria referral multichain #257

Closed kyzooghost closed 2 years ago

kyzooghost commented 2 years ago

Modified following anti-referral gaming mechanism

BEFORE

AFTER

--

UPDATE 5 MAR 2022

Git merged SoteriaV2 branch (contains SolaceCoverProductV2.sol with multi-chain cover functionality added) Added anti-referral gaming mechanism SolaceCoverProductV2.sol Unit tests passing for SolaceCoverProduct.sol (on ETH mainnet fork), SolaceCoverProductFRAX.sol (on MATIC mainnet fork) and SolaceCoverProductV2.sol (on MATIC mainnet fork)

--

UPDATE 6 MAR 2022

Successful Mumbai testnet deploy of SolaceCoverProductV2. Required hardhat config with custom solc compiler optimiser runs of 300.