- $50,000 USDC main award pot
- Join C4 Discord to register
- Submit findings using the C4 form
- Read our guidelines for more details
- Starts July 8 2021 00:00 UTC
- Ends July 14 2021 23:59 UTC
wild.credit • @WildCredit • @0xdev0 • discord • GitBook
Wild Credit is a lending protocol. Unlike Compound or Aave, which are composed of a "basket" of approved tokens, Wild Credit instead has isolated lending pairs. Similar to Uniswap, each pair does not influence the state of any other pair in any way. This allows much better risk management and allows the protocol to list less liquid tokens.
Both tokens in each lending pair can be used either as collateral or the borrowed token. To borrow one token, the borrower must deposit the other token as collateral. Each account can only borrow one of the tokens at the same time. To borrow the other token, the currently borrowed token must be repaid in full and the collateral must be withdrawn. A lender may deposit both tokens at the same time to earn interest.
Please review all contracts in this repository. Special interest could be given to the RewardDistribution.sol
contract and how it interacts with the LendingPair.sol
A preview of how the protocol will work can be seen on http://kovan.wild.credit/
ERC20 difference: LPTokenMaster.sol
changes the _transfer
function
Please disregard anything currently deployed on mainnet. Subject to review is only the code in this repo and nothing else.
External calls are made by the oracles - Chainlink and Uniswap V3 oracles.