Flash Loan Smart Contract Developer for BEP20 USDT -- 3

Job ID: 38568529

Budget: $30 – $250 SGD

We are looking for an experienced smart contract developer to build a flash loan contract on the BEP20 standard.

Responsibilities:

Contract Development:
1. Develop a flash loan smart contract that allows borrowers to request loans in BEP20 USDT through a provided user interface. (The UI will be provided; you will be responsible for integrating the smart contract with the UI).
2. Ensure the contract facilitates the transfer of BEP20 tokens to the borrower’s wallet address.
3. Implement functionality requiring the borrower to repay the full loan amount plus 100% interest in BNB within a specified timeframe.
4. Include a mechanism to reverse the entire transaction if repayment is not completed within the allotted time.

Contract Testing:
1. Unit Testing: Create unit tests using JavaScript or Solidity to validate the flash loan logic.
2. Simulation: Simulate multiple scenarios where a borrower either successfully repays the loan or fails to do so, to ensure the contract functions as expected.

Security and Risk Mitigation:
- Reentrancy Protection: Utilize Solidity’s built-in security measures, such as `nonReentrant`, to safeguard the contract against reentrancy attacks.
- Input Validation: Implement comprehensive validation checks for input values and wallet addresses to mitigate potential exploits.

Deployment:
- Once testing is successfully completed, deploy the contract.

If you possess the necessary skills and experience, we invite you to submit your bid.