AI-Protocol-Official / Gitcoin-Bounties

6 stars 7 forks source link

ERC-20 Contract Audit #4

Open ai-protocol-dev opened 3 years ago

ai-protocol-dev commented 3 years ago

Bounty Description

We have finished coding the smart contract for our ERC-20. Before sending the contract to the leading auditing DAOs/firms, and to also start our Gitcoin journey, we are looking for people to review the smart contract and audit it. The smart contract brings in various functionalities from 0x, Compound, USDC - and is expansive in its scope.

https://github.com/AletheaAI/Gitcoin-Bounties/tree/main/bounty_1

Scope:

AliERC20v2.sol with all its dependencies: a. AccessControl.sol b. EIP2612.sol c. EIP3009.sol d. ERC20.sol e. ERC165.sol f. ERC1363.sol g. ERC1363Receiver.sol h. ERC1363Spender.sol i. AddressUtils.sol j. ECDSA.sol

Tests: a. test/ali_token/*

Tasks:

Review for potential bugs in logic a. If bug is found – provide a test case which demonstrates it Review for Solidity coding best practices, security best practices a. Provide text recommendation(s) of the issues found – if any Review for optimal gas consumption a. Provide the recommendation(s) for optimization with the gas values saved (before/after optimization) b. Maintain code readability and clarity when proposing optimization(s)

Context

Alethea AI is building a protocol to create, share and monetize Synthetic Media. As originators of the iNFT standard, Alethea AI is embedding state-of-the-art large language models like OpenAI’s GPT-3 engine into popular NFT Standards, to create interactive and intelligent NFTs.

gitcoinbot commented 3 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


This issue now has a funding of 2000.0 USDT (2000.0 USD @ $1.0/USDT) attached to it.

gitcoinbot commented 3 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


Work has been started.

These users each claimed they can complete the work by 265 years, 4 months from now. Please review their action plans below:

1) nf-repo has applied to start work _(Funders only: approve worker | reject worker)_.

Follow the requested in instructions for the task. 2) komninoschat has been approved to start work.

Hi,

I'm Komninos from Greece with 4 years of experience in the blockchain space.

I feel pretty comfortable I can tackle this task.

Learn more on the Gitcoin Issue Details page.

gitcoinbot commented 3 years ago

@komninoschat Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

komninoschatzipapas commented 3 years ago

@gitcoinbot Yeah bot, I'm still working on this.

gitcoinbot commented 3 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


Work for 2000.0 USDT (2000.0 USD @ $1.0/USDT) has been submitted by: