Cipher-Zero/contracts/common/artifacts/ReentrancyGuard_metadata.json
2024-09-01 23:29:11 +03:00

52 lines
1.9 KiB
JSON

{
"compiler": {
"version": "0.8.26+commit.8a97fa7a"
},
"language": "Solidity",
"output": {
"abi": [],
"devdoc": {
"custom:security-contact": "security@matterlabs.dev",
"details": "Contract module that helps prevent reentrant calls to a function. Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier available, which can be applied to functions to make sure there are no nested (reentrant) calls to them. Note that because there is a single `nonReentrant` guard, functions marked as `nonReentrant` may not call one another. This can be worked around by making those functions `private`, and then adding `external` `nonReentrant` entry points to them. TIP: If you would like to learn more about reentrancy and alternative ways to protect against it, check out our blog post https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. _Since v2.5.0:_ this module is now much more gas efficient, given net gas metering changes introduced in the Istanbul hardfork.",
"kind": "dev",
"methods": {},
"stateVariables": {
"LOCK_FLAG_ADDRESS": {
"details": "Address of lock flag variable.Flag is placed at random memory location to not interfere with Storage contract."
}
},
"version": 1
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
},
"settings": {
"compilationTarget": {
"contracts/common/ReentrancyGuard.sol": "ReentrancyGuard"
},
"evmVersion": "cancun",
"libraries": {},
"metadata": {
"bytecodeHash": "ipfs"
},
"optimizer": {
"enabled": false,
"runs": 200
},
"remappings": []
},
"sources": {
"contracts/common/ReentrancyGuard.sol": {
"keccak256": "0xf17bfdce868037a2dabe64986f6d96be29ef2a9266fa749f84d8526b4d1784b0",
"license": "MIT",
"urls": [
"bzz-raw://8eb19deadde2961e77507cb2b5f72d345586ed9b16f902255ed4d26c9193df23",
"dweb:/ipfs/QmTQ4tYx1fgqeRKuz283nayCuZHWGeiLT8GfMNMbzomB9a"
]
}
},
"version": 1
}