Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Adapter : Astra DAO #1175

Open
Boyquotes opened this issue Jan 13, 2024 · 1 comment
Open

New Adapter : Astra DAO #1175

Boyquotes opened this issue Jan 13, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@Boyquotes
Copy link
Contributor

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

pnpm run adapter wallet ethereum 0x0000000000000000000000000000000000000000

> [email protected] 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: [email protected]
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: [email protected]
@0xsign 0xsign self-assigned this Jan 13, 2024
@0xsign 0xsign added the bug Something isn't working label Jan 13, 2024
@0xsign
Copy link
Contributor

0xsign commented Jan 13, 2024

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 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants