pnpm run adapter wallet ethereum 0x0000000000000000000000000000000000000000
> llamafolio-api@0.0.1 adapter llamafolio-api
> tsx scripts/run-adapter.ts "wallet" "ethereum" "0x0000000000000000000000000000000000000000"
[balanceOf()] The contract function "balanceOf" returned no data ("0x").
This could be due to any of the following:
- The contract does not have the function "balanceOf",
- The parameters passed to the contract function may be invalid, or
- The address is not a contract.
Contract Call:
address: 0x7E9c15C43f0D6C4a12E6bdfF7c7D55D0f80e3E23
function: balanceOf(address account)
args: (0x0000000000000000000000000000000000000000)
Docs: https://viem.sh/docs/contract/readContract.html
Version: viem@1.19.10
Failed to run adapter The contract function "balanceOf" returned no data ("0x").
This could be due to any of the following:
- The contract does not have the function "balanceOf",
- The parameters passed to the contract function may be invalid, or
- The address is not a contract.
Contract Call:
address: 0x7E9c15C43f0D6C4a12E6bdfF7c7D55D0f80e3E23
function: balanceOf(address account)
args: (0x0000000000000000000000000000000000000000)
Docs: https://viem.sh/docs/contract/readContract.html
Version: viem@1.19.10
Hey @Boyquotes, thanks for reporting this issue ! There's no option, it works in production because the contract is optimized away. I'll have a look at it :)
When I run the command on example waller address in the README.md , the program return an error about an unkown contract/adapter.
There is an option to bypass this contract ?
Contract Address : https://etherscan.io/address/0x7E9c15C43f0D6C4a12E6bdfF7c7D55D0f80e3E23