depreciate hardhat for foundry

This commit is contained in:
gozzy 2023-03-11 21:02:05 +00:00
parent 26b65e95e2
commit de6762b45c
11 changed files with 15 additions and 6 deletions

6
foundry.toml Normal file
View File

@ -0,0 +1,6 @@
[profile.default]
src = 'src'
out = 'out'
libs = ['lib']
# See more config options https://github.com/foundry-rs/foundry/tree/master/config

1
lib/forge-std Submodule

@ -0,0 +1 @@
Subproject commit 73a504d2cf6f37b7ce285b479f4c681f76e95f1b

1
lib/prb-math Submodule

@ -0,0 +1 @@
Subproject commit 9febcdd219f08f7fb70fdf0e156f1be4103c42dd

5
remappings.txt Normal file
View File

@ -0,0 +1,5 @@
@prb/math/=lib/prb-math/src/
@root/=src/
forge-std/=lib/forge-std/src/

View File

@ -10,10 +10,10 @@ contract LiquidityManagement {
address constant DAI_ADDRESS = 0x6B175474E89094C44Da98b954EedeAC495271d0F;
address constant TORN_ADDRESS = 0x77777FeDdddFfC19Ff86DB637967013e6C6A116C;
address constant ETH_TORN_ADDRESS = 0x0C722a487876989Af8a05FFfB6e32e45cc23FB3A; // TORN/ETH ?
address constant ETH_TORN_ADDRESS = 0x0C722a487876989Af8a05FFfB6e32e45cc23FB3A;
address constant DAI_TORN_ADDRESS = 0xb9C6f39dB4e81DB44Cf057C7D4d8e3193745101E;
address constant UNIV2_ROUTER02_ADDRESS = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D;
address constant TORN_TREASURY = 0x5efda50f22d34F262c29268506C5Fa42cB56A1Ce; // Governance
address constant TORN_TREASURY = 0x5efda50f22d34F262c29268506C5Fa42cB56A1Ce;
IERC20 DAI;
IERC20 TORN;

View File

View File

@ -1,4 +0,0 @@
import { ethers, config, web3, artifacts } from "hardhat"
import { expect } from "chai"
import { Signer, BigNumber } from "ethers"