flashbots / simple-arbitrage

Example arbitrage bot using Flashbots
1.98k stars 749 forks source link

Why is UniswappyV2EthPair.uniswapInterface a UNISWAP_PAIR_ABI contract on WETH_ADDRESS? #37

Closed hengruo closed 1 week ago

hengruo commented 1 month ago

code src/UniswappyV2EthPair.ts line 25.

static uniswapInterface = new Contract(WETH_ADDRESS, UNISWAP_PAIR_ABI);

WETH_ADDRESS is an ERC20 token, how can it match UNISWAP_PAIR_ABI?

ignoracenfly commented 1 month ago

您的邮件已经收到。谢谢

ignoracenfly commented 1 week ago

您的邮件已经收到。谢谢