flashloan-aggregator

所属分类:区块链开发
开发工具:Solidity
文件大小:424KB
下载次数:0
上传日期:2022-10-20 03:49:58
上 传 者sh-1993
说明:  flashloan聚合器,所有主要连锁店的Flashload聚合器,
(Flashloan Aggregator on all major chains. ,)

文件列表:
.env.example (127, 2022-10-11)
.vscode (0, 2022-10-11)
.vscode\settings.json (70, 2022-10-11)
LICENSE (1066, 2022-10-11)
contracts (0, 2022-10-11)
contracts\aggregator (0, 2022-10-11)
contracts\aggregator\arbitrum (0, 2022-10-11)
contracts\aggregator\arbitrum\flashloan (0, 2022-10-11)
contracts\aggregator\arbitrum\flashloan\helpers.sol (10349, 2022-10-11)
contracts\aggregator\arbitrum\flashloan\interfaces.sol (1715, 2022-10-11)
contracts\aggregator\arbitrum\flashloan\main.sol (10562, 2022-10-11)
contracts\aggregator\arbitrum\flashloan\variables.sol (1376, 2022-10-11)
contracts\aggregator\avalanche (0, 2022-10-11)
contracts\aggregator\avalanche\flashloan (0, 2022-10-11)
contracts\aggregator\avalanche\flashloan\helpers.sol (7700, 2022-10-11)
contracts\aggregator\avalanche\flashloan\interfaces.sol (2078, 2022-10-11)
contracts\aggregator\avalanche\flashloan\main.sol (6332, 2022-10-11)
contracts\aggregator\avalanche\flashloan\variables.sol (1021, 2022-10-11)
contracts\aggregator\mainnet (0, 2022-10-11)
contracts\aggregator\mainnet\flashloan (0, 2022-10-11)
contracts\aggregator\mainnet\flashloan\helpers.sol (16727, 2022-10-11)
contracts\aggregator\mainnet\flashloan\interfaces.sol (4585, 2022-10-11)
contracts\aggregator\mainnet\flashloan\main.sol (23514, 2022-10-11)
contracts\aggregator\mainnet\flashloan\variables.sol (2196, 2022-10-11)
contracts\aggregator\optimism (0, 2022-10-11)
contracts\aggregator\optimism\flashloan (0, 2022-10-11)
contracts\aggregator\optimism\flashloan\helpers.sol (9671, 2022-10-11)
contracts\aggregator\optimism\flashloan\interfaces.sol (1277, 2022-10-11)
contracts\aggregator\optimism\flashloan\main.sol (7391, 2022-10-11)
contracts\aggregator\optimism\flashloan\variables.sol (1170, 2022-10-11)
contracts\aggregator\polygon (0, 2022-10-11)
contracts\aggregator\polygon\flashloan (0, 2022-10-11)
contracts\aggregator\polygon\flashloan\helpers.sol (13195, 2022-10-11)
contracts\aggregator\polygon\flashloan\interfaces.sol (2740, 2022-10-11)
contracts\aggregator\polygon\flashloan\main.sol (16462, 2022-10-11)
contracts\aggregator\polygon\flashloan\variables.sol (1706, 2022-10-11)
contracts\misc (0, 2022-10-11)
... ...

# Flashloan Aggregator ## Usage ### Pre Requisites Before running any command, make sure to install dependencies: ```sh $ npm install ``` ### Compile Compile the smart contracts with Hardhat: ```sh $ npm run compile ``` ### TypeChain Compile the smart contracts and generate TypeChain artifacts: ```sh $ npm run typechain ``` ### Test Run tests using interactive CLI ```sh $ npm run test:runner ``` Run all the tests: ```sh $ npm run test ``` ### Deploy Deploy the contracts to Hardhat Network: ```sh $ npm run deploy ``` ## Syntax Highlighting If you use VSCode, you can enjoy syntax highlighting for your Solidity code via the [vscode-solidity](https://github.com/juanfranblanco/vscode-solidity) extension. The recommended approach to set the compiler version is to add the following fields to your VSCode user settings: ```json { "solidity.compileUsingRemoteVersion": "v0.8.4+commit.c7e474f2", "solidity.defaultCompiler": "remote" } ``` Where of course `v0.8.4+commit.c7e474f2` can be replaced with any other version.

近期下载者

相关文件


收藏者