Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Advanced setup #65

Merged
merged 11 commits into from
Dec 19, 2024
Prev Previous commit
Next Next commit
remove commented code
zeroXbrock committed Dec 19, 2024
commit b7a362fc7a8a09fd83ffcdad5384a144a7c8e82d
9 changes: 0 additions & 9 deletions scenarios/univ2ConfigTest.toml
Original file line number Diff line number Diff line change
@@ -36,20 +36,17 @@ bytecode = "0x60c06040523480156200001157600080fd5b506040516200573e3803806200573e
[[setup]]
to = "{weth}"
from = "0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266"
# from_pool = "pool1"
signature = "function deposit() public payable"
value = "10000000000000000000"

[[setup]]
to = "{weth}"
# from = "0x70997970C51812dc3A010C7d01b50e0d17dc79C8"
from_pool = "pool1"
signature = "function deposit() public payable"
value = "10000000000000000000"

[[setup]]
to = "{weth}"
# from = "0x3C44CdDdB6a900fa2b585dd299e03d12FA4293BC"
from_pool = "pool2"
signature = "function deposit() public payable"
value = "10000000000000000000"
@@ -89,7 +86,6 @@ args = [
# contender1
[[setup]]
to = "{weth}"
# from = "0x3C44CdDdB6a900fa2b585dd299e03d12FA4293BC"
from_pool = "pool1"
signature = "approve(address spender, uint256 amount) returns (bool)"
args = [
@@ -99,7 +95,6 @@ args = [

[[setup]]
to = "{testToken}"
# from = "0x3C44CdDdB6a900fa2b585dd299e03d12FA4293BC"
from_pool = "pool1"
signature = "approve(address spender, uint256 amount) returns (bool)"
args = [
@@ -110,7 +105,6 @@ args = [
# contender2
[[setup]]
to = "{weth}"
# from = "0x70997970C51812dc3A010C7d01b50e0d17dc79C8"
from_pool = "pool2"
signature = "approve(address spender, uint256 amount) returns (bool)"
args = [
@@ -120,7 +114,6 @@ args = [

[[setup]]
to = "{testToken}"
# from = "0x70997970C51812dc3A010C7d01b50e0d17dc79C8"
from_pool = "pool2"
signature = "approve(address spender, uint256 amount) returns (bool)"
args = [
@@ -153,7 +146,6 @@ args = [
[spam.tx]
kind = "uniswap_v2"
to = "{uniRouterV2}"
# from = "0x70997970C51812dc3A010C7d01b50e0d17dc79C8"
from_pool = "pool1"
signature = "swapExactTokensForTokens(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) external returns (uint256[] memory)"
args = [
@@ -170,7 +162,6 @@ fuzz = [{param = "amountIn", min = "1", max = "100000000000000000"}]
[spam.tx]
kind = "uniswap_v2"
to = "{uniRouterV2}"
# from = "0x3C44CdDdB6a900fa2b585dd299e03d12FA4293BC"
from_pool = "pool2"
signature = "swapExactTokensForTokens(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) external returns (uint256[] memory)"
args = [