await squid.approve({ signer, spender: "0x6972A415e0572bd2E5E3c7DF307d0AFe32D30955", tokenAddress: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48" amount: "100000000000000000000" // if not passed, inifite approval take place })
Last updated 1 year ago
You can also manually approve the Squid smart contract to use ERC20 tokens using squid.approve
squid.approve