npx hardhat simple-swap --owner 0x8626f6940E2eb28930eFb4CeF49B2d1F2C9C1199 --asset 0x532f27101965dd16442E59d40670FaF5eBB142E4 --network localhost
npx hardhat mint-nft-position --owner 0x8626f6940E2eb28930eFb4CeF49B2d1F2C9C1199 --asset 0x532f27101965dd16442E59d40670FaF5eBB142E4 --network localhost
npx hardhat transfer-nft --owner 0x32cf4d1df6fb7bB173183CF8b51EF9499c803634 --newowner 0x8626f6940E2eb28930eFb4CeF49B2d1F2C9C1199 --tokenid 888441
npx hardhat list-positions --owner 0x8626f6940E2eb28930eFb4CeF49B2d1F2C9C1199 --network localhost
npx hardhat simple-swap --owner 0x8626f6940E2eb28930eFb4CeF49B2d1F2C9C1199 --network localhost
npx hardhat mint-nft-position --owner 0x8626f6940E2eb28930eFb4CeF49B2d1F2C9C1199 --network localhost
npx hardhat list-positions --owner 0x8626f6940E2eb28930eFb4CeF49B2d1F2C9C1199 --network localhost
To perform the tests, the state of the blockchain needs to be deterministic. To achieve this:
FORKING_URL
variable in the .env
file.Blockchain: Base
Block: 19197423
Address with WEWE / WETH: 0x38019bc40f504be4546f24083ccaf0c8553c408a
Block with the mint tx of the WEWE / WETH LP: 18720627
Address with WETH / USDC: 0xAd3B97c3C22B00C900fB04d47B3037E33f1d07d9
Block with the mint tx of the WETH / USDC LP: 19167068
Contract | Address | Network |
---|---|---|
WeWe | 0x6b9bb36519538e0C073894E964E90172E1c0B41F | Base |
NonfungiblePositionManager | 0xC36442b4a4522E871399CD717aBDD847Ab11FE88 | Base |
SwapRouter | 0xE592427A0AEce92De3Edee1F18E0157C05861564 | Base |
ArrakisV2 | 0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984 | Base |
Farm | 0x62A97E8e1C56F3decc91B3d55ddcda466A967CB0 | Base |
CHAOS | 0x207Ce8693781ef7464Fb236Edf4d3617655675bd | Base |
Bro Merge | 0xBab6c6c42bb3B750B5bCE79C04677200644dbC2d | Base |
BBro Merge | 0x4dA1f4Fe67D117536aF7ea7641C729cd23d39fFd | Base |
Bro | 0x93750140C2EcEA27a53c6ed30380829607815A31 | Base |
BBro | 0xdE74eB14FB3f6F7236550819934065Acc9890622 | Base |
MergeFactory | 0x491eF8Ee77Be595498cB2cC07145Df3e28776C23 | Base |
UniAdapter | 0xbAf371aC1d393cC6e155E1A51Ad8E9d7674151c5 | Base |