Skip to content

disasm: Abstract Chain bytecode is not parsed correctly #176

Description

@midnightmadwalk

-> snippet of what I am trying to do.
-> tested with multiple contracts from abstract.
-> output is [].
-> version 0.21.0

const { whatsabi } = require("@shazow/whatsabi");
const { JsonRpcProvider } = require("ethers");

const provider = new JsonRpcProvider("https://api.mainnet.abs.xyz");
provider.getCode("0x85Ca16Fd0e81659e0b8Be337294149E722528731").then(code => {
  console.log(whatsabi.selectorsFromBytecode(code));
});



feel free to ask me if anything is missing in my issue and feel free to tell me if I misunderstood something. thanks !

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions