1.4.2 • Published 7 years ago
openzeppelin-solidity-metadata v1.4.2
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
- an object of all OpenZeppelin contract names as strings object values
contracts- an object of all OpenZeppelin contract names as strings to object values
compiled- the compiled contract, from
solc.compile()
- the compiled contract, from
dependencies(if any exist)- a sorted array of dependencies
- an object of all OpenZeppelin contract names as strings to object values
libraries- an object of OpenZeppelin library names to object values
compiled- the compiled library, from
solc.compile()
- the compiled library, from
dependencies(if any exist)- a sorted array of dependencies
- an object of OpenZeppelin library names to object values
notes
- JSON data current as of OpenZeppelin
1.12.0 - contract data includes interfaces
- Only includes contracts from the
openzeppelin-soliditynpm package, not e.g./mocksand/examplesfrom the GitHub repo - The
Bountycontract requires a separately deployedTargetcontract to function, even though it does not depend on it, and therefore isn't listed as a dependency - A Solidity
librarycan 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.