0.1.4 • Published 6 years ago

solidity-graph v0.1.4

Weekly downloads
1
License
MIT
Repository
-
Last release
6 years ago

solidity-graph

Detect all branches of bytecode of a smart contract

Install

npm i solidity-graph

Usage

const { SolGraph } = require('solidity-graph')
// code: <Buffer>
const solGraph = new SolGraph(code)
// get all branches
const branches = solGraph.branches()
// is 36,41 a branch
const isBranch = branches.isBranch({
  fCodeIndex: 36,
  tCodeIndex: 41,
})
0.1.4

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago

0.0.8

6 years ago

0.0.6

6 years ago

0.0.4

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago