Skip to content

Instadapp/flashloan-aggregator

Repository files navigation

Flashloan Aggregator

Deployments

Mainnet

  • Proxy: 0x619Ad2D02dBeE6ebA3CDbDA3F98430410e892882
  • Implementation: 0x8F548Df9A94Cc5cc06d67b2AAaAA787A327cE0D1
  • AdvancedRoute Implementation: 0xeD4DF5d720F5FA036d16C971FdF409c202C3D8F6

Pre Requisites

Before running any command, make sure to install dependencies:

$ npm install

Compile

Compile the smart contracts with Hardhat:

$ npm run compile

TypeChain

Compile the smart contracts and generate TypeChain artifacts:

$ npm run typechain

Test

Run tests using interactive CLI

$ npm run test:runner

Run all the tests:

$ npm run test

Deploy

Deploy the contracts to Hardhat Network:

$ npm run deploy