1.4.2 • Published 6 years ago

openzeppelin-solidity-metadata v1.4.2

Weekly downloads
30
License
MIT
Repository
github
Last release
6 years ago

openzeppelin-solidity-metadata

OpenZeppelin Solidity metadata, in JSON format.

Not endorsed by or affiliated with Zeppelin or OpenZeppelin.

usage

Install using npm install openzeppelin-solidity-metadata. After importing the package, you can access the following properties:

  • contractDependencies
    • an object of all OpenZeppelin contract names as strings object values
      • dependencies (if any exist)
        • a sorted array of dependencies
  • contracts
    • an object of all OpenZeppelin contract names as strings to object values
      • compiled
        • the compiled contract, from solc.compile()
      • dependencies (if any exist)
        • a sorted array of dependencies
  • libraries
    • an object of OpenZeppelin library names to object values
      • compiled
        • the compiled library, from solc.compile()
      • dependencies (if any exist)
        • a sorted array of dependencies

notes

  • JSON data current as of OpenZeppelin 1.12.0
  • contract data includes interfaces
  • Only includes contracts from the openzeppelin-solidity npm package, not e.g. /mocks and /examples from the GitHub repo
  • The Bounty contract requires a separately deployed Target contract to function, even though it does not depend on it, and therefore isn't listed as a dependency
  • A Solidity library can neither inherit nor be inherited, but they can use interfaces and can have dependencies

dev

To re-generate data, clone the repo and run the desired scripts described in package.json. This requires Python.

1.4.2

6 years ago

1.4.1

6 years ago

1.3.2

6 years ago

1.3.1

6 years ago

1.3.0

6 years ago

1.2.0

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago