This package has been deprecated

Author message:

Package no longer maintained

openzeppelin-solidity-metadata

1.4.2 • Public • Published

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.

Package Sidebar

Install

npm i openzeppelin-solidity-metadata

Weekly Downloads

1

Version

1.4.2

License

MIT

Unpacked Size

5.84 MB

Total Files

11

Last publish

Collaborators

  • rekmarks