Open tarikbellamine opened 5 years ago
Issue Status: 1. Open 2. Started 3. Submitted 4. Done
This issue now has a funding of 200.0 DAI (200.0 USD @ $1.0/DAI) attached to it.
Issue Status: 1. Open 2. Started 3. Submitted 4. Done
This issue now has a funding of 200.0 DAI (200.0 USD @ $1.0/DAI) attached to it.
Issue Status: 1. Open 2. Started 3. Submitted 4. Done
Workers have applied to start work.
These users each claimed they can complete the work by 6 days, 1 hour from now. Please review their action plans below:
1) pauliax has applied to start work _(Funders only: approve worker | reject worker)_.
I am interested in reviewing LenderContractWallet for the issues related to security, gas optimisation and best practices.
Learn more on the Gitcoin Issue Details page.
Issue Status: 1. Open 2. Cancelled
Work has been started.
These users each claimed they can complete the work by 1 week, 2 days ago. Please review their action plans below:
1) pauliax has been approved to start work.
I am interested in reviewing LenderContractWallet for the issues related to security, gas optimisation and best practices.
Learn more on the Gitcoin Issue Details page.
Issue Status: 1. Open 2. Started 3. Submitted 4. Done
Work for 200.0 DAI (200.0 USD @ $1.0/DAI) has been submitted by:
@tarikbellamine please take a look at the submitted work:
Issue Status: 1. Open 2. Cancelled
The funding of 200.0 DAI (200.0 USD @ $1.0/DAI) attached to this issue has been cancelled by the bounty submitter
Task
Need an audit of this smart contract to help identify attack vectors and other non-intended outcomes.
Description
The contract is a contract wallet that interact's with Compound's money market contracts (compound.finance), which have an ERC20 interface and are referred to as CTokens throughout the contract. CTokens accept a supply of an ERC20 (e.g., 1 DAI) and returns roughly 50x more of another ERC20 (e.g., 49 cDAI) to the sender in return. The only function calls to CTokens are of:
Both mint and redeem return a non-zero integer if invalid inputs are provided. More information on the mint and redeem functions can be found here: https://compound.finance/developers#ctokens
Intended Functionality
Scope
Interested in auditing the logic and functionality of LenderContractWallet, rather than the CToken contract.
In-scope: LenderContractWallet.sol Out-of-scope: All else
Bounty
Any other non-trivial issues, critical or otherwise, will be compensated in some form as well.