Skip to content

Review and Write Tests for USDA [Paid Bounty] #4

@OpenOrg-gg

Description

@OpenOrg-gg

The file /contracts/USDA.sol is based on "USDI" from Interest Protocol, but the contract has been changed to include a fee on transfer mechanism through its inherited contract in /contracts/token/UFragments.sol

For this bounty, you should:

  1. Review the changes to the contract.
  2. Make any suggestions on improving efficiency or code.
  3. Identity and propose a solution to issues.
  4. Write a series to cases to test the new features.

The tests should cover:

  • Standard transfers
  • Deposits and withdraws from a Curve pool
  • Deposits and withdraws from a Uniswap V2 pool
  • Exchanges with a Curve pool
  • Exchanges with a Uniswap pool
  • That all update functions have correct permissions
  • That all update functions are working

Tests should be written in Hardhat and be added into the testing set up on this repo.

Bounty Payout:

This bounty will pay out $500 in USDC

https://gitcoin.co/issue/29376

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions