truffle-conflux-code-utils
Utilities for parsing and managing EVM-compatible bytecode
Last updated a year ago by liuis .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install truffle-conflux-code-utils 
SYNC missed versions from official npm registry.

truffle-conflux-code-utils

Utilities for parsing and managing EVM-compatible bytecode

Usage

const { parseCode } = require("truffle-conflux-code-utils");

const contractHexCode = "0x608060...";

// parseCode returns an array of instructions
// Ex.
// [ { pc: 0, name: 'PUSH1', pushData: '0x80' },
//   { pc: 2, name: 'PUSH1', pushData: '0x40' },
//   ... ]
const parsedCode = parseCode(contractHexCode);

Current Tags

  • 0.0.2-alpha.0                                ...           latest (a year ago)

1 Versions

  • 0.0.2-alpha.0                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (1)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |