OpenZeppelin Solidity metadata, in JSON format.
Not endorsed by or affiliated with Zeppelin or OpenZeppelin.
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
- 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 deployedTarget
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
To re-generate data, clone the repo and run the desired scripts described in package.json
. This requires Python.