AI-Protocol-Official / Gitcoin-Bounties

6 stars 7 forks source link

iNFT Protocol - ERC-20 Contract Audit #2

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:

  1. 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

  2. Tests: a. test/ali_token/*

Tasks:

  1. Review for potential bugs in logic a. If bug is found – provide a test case which demonstrates it
  2. Review for Solidity coding best practices, security best practices a. Provide text recommendation(s) of the issues found – if any
  3. 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.

Recently, Alethea AI partnered with the Artist Robert Alice to launch the sale of the first iNFT. The first iNFT is a virtual character known as Alice who can engage, interact and respond in real-time to complex questions about the Metaverse. The iNFT sold through Sotheby's Natively Digital on June 10, 2021.

We Are Recruiting

We are actively recruiting and looking for expert smart contract developers to join our team. We will be regularly posting on Gitcoin and these bounties are a way for us to discover and connect with the talented developers on Gitcoin. If you are interested in joining us for the longer term, please do reach out to us for this bounty.

Learn More:

https://andrewsteinwold.substack.com/p/ai-nfts-what-is-an-inft-

https://alethea.ai/

https://twitter.com/real_alethea

gitcoinbot commented 3 years ago

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


This issue now has a funding of 1.37 ETH (2519.85 USD @ $1839.31/ETH) 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 264 years, 10 months from now. Please review their action plans below:

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

Thanks you think you Think you Thanks you think you Think you 2) alvian2506 has applied to start work _(Funders only: approve worker | reject worker)_.

Good luck for you, whises for you i like you this project big 3) naps62 has been approved to start work.

I have built and audited several smart contracts in the past, and this feels like it could turn into a good relationship 4) bilalrahilone has applied to start work _(Funders only: approve worker | reject worker)_.

I will try to persuade community to purchase and hold the same 5) navneetgulati has applied to start work _(Funders only: approve worker | reject worker)_.

Would love to work on this project. I have been working in industry for past 6 years and in Smart contract development for past 3 years. I have written smart contracts for various projects and also reviewed the contracts submitted by my team members. 6) navin821 has applied to start work _(Funders only: approve worker | reject worker)_.

I will participate in the Airdrop and also testnet and try to debug the bugs and invite people to join this project 7) pranata991 has applied to start work _(Funders only: approve worker | reject worker)_.

Get off the ddos forces i not plan the word 8) merctown33 has applied to start work _(Funders only: approve worker | reject worker)_.

I am sending this message to let you be aware I am expressing interest in your pre audit for your smart contract. you can reach me at tylerbrandonlee95@gmail.com. 9) bluuwastaken has applied to start work _(Funders only: approve worker | reject worker)_.

I will audit your Solidity Contract and document any bugs, logic errors and potential vulnerabilites. 10) noric4 has applied to start work _(Funders only: approve worker | reject worker)_.

That sounds awesome, hope it can become a wonderful project. 11) kenyl899 has applied to start work _(Funders only: approve worker | reject worker)_.

Would be checking the Solidity of the work and expel bugs 12) khurana-tarun has applied to start work _(Funders only: approve worker | reject worker)_.

I am working with smart contract development from past 2 years. I will use my experience for reviewing smart contacts code and testing coverage. 13) keylaa2 has applied to start work _(Funders only: approve worker | reject worker)_.

I think this is very good, but if it can be developed again starting from farming, staking and others to attract people around us to invest in the crypto world 14) yiyi56 has applied to start work _(Funders only: approve worker | reject worker)_.

Great project Nice project Good project 15) vladyslav-bochok has applied to start work _(Funders only: approve worker | reject worker)_.

https://github.com/Barichek https://github.com/vladbochok Two devs who work in a large crypto startup with experience in writing and auditing smart contracts and participating in hackathons want to do a detailed audit of the above-mentioned scope.

Learn more on the Gitcoin Issue Details page.

gitcoinbot commented 3 years ago

@naps62 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

naps62 commented 3 years ago

I am working on this. Work started yesterday, with an initial in-depth review of the code. As discussed with the client, today I didn't have much availability, so I will have more progress tomorrow

gitcoinbot commented 3 years ago

@naps62 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

naps62 commented 3 years ago

I am working on this. Already sent the initial report to the client, will be discussing some finer points during this week. Main work should be finished though, and we expect to have the bounty closed this week

gitcoinbot commented 3 years ago

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


Work for 1.37 ETH (2949.7 USD @ $2153.07/ETH) has been submitted by: