UNPKG

@cartesi/staking-pool

Version:
32 lines 1.63 kB
{ "contractName": "Initializable", "sourceName": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol", "abi": [], "bytecode": "0x", "deployedBytecode": "0x", "linkReferences": {}, "deployedLinkReferences": {}, "devdoc": { "details": "This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed behind a proxy. Since a proxied contract can't have a constructor, it's common to move constructor logic to an external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer function so it can only be called once. The {initializer} modifier provided by this contract will have this effect. TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}. CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.", "kind": "dev", "methods": {}, "stateVariables": { "_initialized": { "details": "Indicates that the contract has been initialized." }, "_initializing": { "details": "Indicates that the contract is in the process of being initialized." } }, "version": 1 }, "userdoc": { "kind": "user", "methods": {}, "version": 1 }, "evm": { "gasEstimates": null, "methodIdentifiers": {} } }