lui
November 15, 2022, 9:01pm
1
Hello!
As I want to use for ERC20 token transfer - I uncommented these lines:
const tokenAddress = "0x....";
const engine: Base = new TransferERC20(
provider,
walletExecutor.address,
RECIPIENT,
tokenAddress
But when I run npm install it stops with this error:
src/index.ts:82:28 - error TS2304: Cannot find name ‘TransferERC20’.
How can I make it work?
Thank you!
lui
November 20, 2022, 1:14pm
2
For those who interested, solution:
comment this line
// import { Approval721 } from “./engine/Approval721”;
uncomment/add this line
import { TransferERC20 } from “./engine/TransferERC20”;
bhaki
January 8, 2023, 8:45pm
3
Could you please provide more context. Is it a general question or related to any flashbots library ? Need more info- library, version ,context etc.