Giter Club home page Giter Club logo

arbitrage-contracts's Introduction

Arbitrage contracts

Utilize AAVE flashloans to arbitrage Uniswap v2 AMMs.

Forge is used under the hood to build and deploy the flashloan contract.

Build

make build

Deploy

Updated ARBED_ASSET in Makefile with the asset you want to arb, then deploy in Kovan with:

make deploy-kovan

Deploy in Polygon:

make deploy-polygon

Contracts

Contract Polygon Kovan
USDC 0x2791bca1f2de4661ed88a30c99a7a9449aa84174 Check AAVE faucet
Lending pool provider 0xd05e3E715d945B59290df0ae8eF85c1BdB684744 0x88757f2f99175387aB4C6a4b3067c77A695b0349
Liquidity router #0 0x1b02da8cb0d097eb8d57a175b88c7d8b47997506 0x1b02dA8Cb0d097eB8D57A175b88c7D8b47997506
Liquidity router #1 0xa5E0829CaCEd8fFDD4De3c43696c57F7D7A678ff 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D

arbitrage-contracts's People

Contributors

0xmichalis avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

arbitrage-contracts's Issues

Error compilation

$ npx hardhat compile
Solidity 0.8.10 is not fully supported yet. You can still use Hardhat, but some features, like stack traces, might not work correctly.

Learn more at https://hardhat.org/reference/solidity-support

Compiling 1 file with 0.8.10
TypeError: Function has override specified but does not override anything.
--> contracts/FlashLoan.sol:139:9:
|
139 | override
| ^^^^^^^^

TypeError: Contract "FlashLoan" should be marked as abstract.
--> contracts/FlashLoan.sol:22:1:
|
22 | contract FlashLoan is IFlashLoanReceiver, Ownable {
| ^ (Relevant source part starts here and spans across multiple lines).
Note: Missing implementation:
--> contracts/interfaces/IFlashLoanReceiver.sol:5:3:
|
5 | function executeOperation(
| ^ (Relevant source part starts here and spans across multiple lines).

Error HH600: Compilation failed

For more info go to https://hardhat.org/HH600 or run Hardhat with --show-stack-traces
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Any ideas?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.