0.1.3 • Published 5 years ago

abi-decode-functions v0.1.3

Weekly downloads
8
License
MIT
Repository
github
Last release
5 years ago

Build Status

abi-decode-functions

Extract and list up function ids from opcodes.

Installation

$ npm install --save abi-decode-functions

Usage

const AbiFunctions = require('abi-decode-functions')
// or 
// import AbiFunctions from 'abi-decode-functions'
const opcodes = getContractOpcodes()
const decoder = new AbiFunctions(opcodes)
const functionIds = dcoder.getFunctionIds()

NOTE

This tools also get get-function of public storage variable.