Platform: Code4rena
Start Date: 29/07/2021
End Date: 31/07/2021
Period: 3 days
Status: Completed
Reporters: moneylegobatman, ninek
Pot Size: $20,000 USDC
Participants: 12
Reporters: moneylegobatman, ninek
Judge: LSDan
Id: 24
League: ETH
Auditor per page
This contest covers two additional yield sources for PoolTogether V3 prize pools: an mStable yield source and a swappable yield source. The mStable yield source allows prize pools to use mStable as a yield source. The swappable yield source allows governance to switch from one yield source to another.
Contract | Description | Source Lines of Code | External Calls | Libraries |
---|---|---|---|---|
MStableYieldSource.sol | PoolTogether MStable Yield Source | ~75 | MStable SavingsContractV2 <br/> ERC20 token | OpenZeppelin SafeERC20 |
SwappableYieldSource.sol | Meta yield source that allows governance to change yield sources | ~200 | PoolTogether IYieldSource <br /> ERC20 token | OpenZeppelin Contracts <br /> PoolTogether FixedPoint |