Cipher-Zero/contracts/govarnance/artifacts/build-info/290bc957eec7dfbdcbf1ae95f66f0fd5.json
2024-09-01 23:29:11 +03:00

2329 lines
76 KiB
JSON

{
"id": "290bc957eec7dfbdcbf1ae95f66f0fd5",
"_format": "hh-sol-build-info-1",
"solcVersion": "0.8.13",
"solcLongVersion": "0.8.13+commit.abaa5c0e",
"input": {
"language": "Solidity",
"sources": {
"contracts/govarnance/IGovernance.sol": {
"content": "// SPDX-License-Identifier: MIT\r\n\r\npragma solidity ^0.8.13;\r\n\r\ninterface IGovernance {\r\n /// @dev This enumeration includes the following states:\r\n /// @param Unset Default state, indicating the operation has not been set.\r\n /// @param Waiting The operation is scheduled but not yet ready to be executed.\r\n /// @param Ready The operation is ready to be executed.\r\n /// @param Done The operation has been successfully executed.\r\n enum OperationState {\r\n Unset,\r\n Waiting,\r\n Ready,\r\n Done\r\n }\r\n\r\n /// @dev Represents a call to be made during an operation.\r\n /// @param target The address to which the call will be made.\r\n /// @param value The amount of Ether (in wei) to be sent along with the call.\r\n /// @param data The calldata to be executed on the `target` address.\r\n struct Call {\r\n address target;\r\n uint256 value;\r\n bytes data;\r\n }\r\n\r\n /// @dev Defines the structure of an operation that Governance executes.\r\n /// @param calls An array of `Call` structs, each representing a call to be made during the operation.\r\n /// @param predecessor The hash of the predecessor operation, that should be executed before this operation.\r\n /// @param salt A bytes32 value used for creating unique operation hashes.\r\n struct Operation {\r\n Call[] calls;\r\n bytes32 predecessor;\r\n bytes32 salt;\r\n }\r\n\r\n function isOperation(bytes32 _id) external view returns (bool);\r\n\r\n function isOperationPending(bytes32 _id) external view returns (bool);\r\n\r\n function isOperationReady(bytes32 _id) external view returns (bool);\r\n\r\n function isOperationDone(bytes32 _id) external view returns (bool);\r\n\r\n function getOperationState(bytes32 _id) external view returns (OperationState);\r\n\r\n function scheduleTransparent(Operation calldata _operation, uint256 _delay) external;\r\n\r\n function scheduleShadow(bytes32 _id, uint256 _delay) external;\r\n\r\n function cancel(bytes32 _id) external;\r\n\r\n function execute(Operation calldata _operation) external;\r\n\r\n function executeInstant(Operation calldata _operation) external;\r\n\r\n function hashOperation(Operation calldata _operation) external pure returns (bytes32);\r\n\r\n function updateDelay(uint256 _newDelay) external;\r\n\r\n function updateSecurityCouncil(address _newSecurityCouncil) external;\r\n\r\n /// @notice Emitted when transparent operation is scheduled.\r\n event TransparentOperationScheduled(bytes32 indexed _id, uint256 delay, Operation _operation);\r\n\r\n /// @notice Emitted when shadow operation is scheduled.\r\n event ShadowOperationScheduled(bytes32 indexed _id, uint256 delay);\r\n\r\n /// @notice Emitted when the operation is executed with delay or instantly.\r\n event OperationExecuted(bytes32 indexed _id);\r\n\r\n /// @notice Emitted when the security council address is changed.\r\n event ChangeSecurityCouncil(address _securityCouncilBefore, address _securityCouncilAfter);\r\n\r\n /// @notice Emitted when the minimum delay for future operations is modified.\r\n event ChangeMinDelay(uint256 _delayBefore, uint256 _delayAfter);\r\n\r\n /// @notice Emitted when the operation with specified id is cancelled.\r\n event OperationCancelled(bytes32 indexed _id);\r\n}\r\n"
}
},
"settings": {
"optimizer": {
"enabled": false,
"runs": 200
},
"outputSelection": {
"*": {
"": [
"ast"
],
"*": [
"abi",
"metadata",
"devdoc",
"userdoc",
"storageLayout",
"evm.legacyAssembly",
"evm.bytecode",
"evm.deployedBytecode",
"evm.methodIdentifiers",
"evm.gasEstimates",
"evm.assembly"
]
}
},
"remappings": []
}
},
"output": {
"contracts": {
"contracts/govarnance/IGovernance.sol": {
"IGovernance": {
"abi": [
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint256",
"name": "_delayBefore",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "_delayAfter",
"type": "uint256"
}
],
"name": "ChangeMinDelay",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "_securityCouncilBefore",
"type": "address"
},
{
"indexed": false,
"internalType": "address",
"name": "_securityCouncilAfter",
"type": "address"
}
],
"name": "ChangeSecurityCouncil",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "bytes32",
"name": "_id",
"type": "bytes32"
}
],
"name": "OperationCancelled",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "bytes32",
"name": "_id",
"type": "bytes32"
}
],
"name": "OperationExecuted",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "bytes32",
"name": "_id",
"type": "bytes32"
},
{
"indexed": false,
"internalType": "uint256",
"name": "delay",
"type": "uint256"
}
],
"name": "ShadowOperationScheduled",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "bytes32",
"name": "_id",
"type": "bytes32"
},
{
"indexed": false,
"internalType": "uint256",
"name": "delay",
"type": "uint256"
},
{
"components": [
{
"components": [
{
"internalType": "address",
"name": "target",
"type": "address"
},
{
"internalType": "uint256",
"name": "value",
"type": "uint256"
},
{
"internalType": "bytes",
"name": "data",
"type": "bytes"
}
],
"internalType": "struct IGovernance.Call[]",
"name": "calls",
"type": "tuple[]"
},
{
"internalType": "bytes32",
"name": "predecessor",
"type": "bytes32"
},
{
"internalType": "bytes32",
"name": "salt",
"type": "bytes32"
}
],
"indexed": false,
"internalType": "struct IGovernance.Operation",
"name": "_operation",
"type": "tuple"
}
],
"name": "TransparentOperationScheduled",
"type": "event"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "_id",
"type": "bytes32"
}
],
"name": "cancel",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"components": [
{
"components": [
{
"internalType": "address",
"name": "target",
"type": "address"
},
{
"internalType": "uint256",
"name": "value",
"type": "uint256"
},
{
"internalType": "bytes",
"name": "data",
"type": "bytes"
}
],
"internalType": "struct IGovernance.Call[]",
"name": "calls",
"type": "tuple[]"
},
{
"internalType": "bytes32",
"name": "predecessor",
"type": "bytes32"
},
{
"internalType": "bytes32",
"name": "salt",
"type": "bytes32"
}
],
"internalType": "struct IGovernance.Operation",
"name": "_operation",
"type": "tuple"
}
],
"name": "execute",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"components": [
{
"components": [
{
"internalType": "address",
"name": "target",
"type": "address"
},
{
"internalType": "uint256",
"name": "value",
"type": "uint256"
},
{
"internalType": "bytes",
"name": "data",
"type": "bytes"
}
],
"internalType": "struct IGovernance.Call[]",
"name": "calls",
"type": "tuple[]"
},
{
"internalType": "bytes32",
"name": "predecessor",
"type": "bytes32"
},
{
"internalType": "bytes32",
"name": "salt",
"type": "bytes32"
}
],
"internalType": "struct IGovernance.Operation",
"name": "_operation",
"type": "tuple"
}
],
"name": "executeInstant",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "_id",
"type": "bytes32"
}
],
"name": "getOperationState",
"outputs": [
{
"internalType": "enum IGovernance.OperationState",
"name": "",
"type": "uint8"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"components": [
{
"components": [
{
"internalType": "address",
"name": "target",
"type": "address"
},
{
"internalType": "uint256",
"name": "value",
"type": "uint256"
},
{
"internalType": "bytes",
"name": "data",
"type": "bytes"
}
],
"internalType": "struct IGovernance.Call[]",
"name": "calls",
"type": "tuple[]"
},
{
"internalType": "bytes32",
"name": "predecessor",
"type": "bytes32"
},
{
"internalType": "bytes32",
"name": "salt",
"type": "bytes32"
}
],
"internalType": "struct IGovernance.Operation",
"name": "_operation",
"type": "tuple"
}
],
"name": "hashOperation",
"outputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"stateMutability": "pure",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "_id",
"type": "bytes32"
}
],
"name": "isOperation",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "_id",
"type": "bytes32"
}
],
"name": "isOperationDone",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "_id",
"type": "bytes32"
}
],
"name": "isOperationPending",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "_id",
"type": "bytes32"
}
],
"name": "isOperationReady",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "_id",
"type": "bytes32"
},
{
"internalType": "uint256",
"name": "_delay",
"type": "uint256"
}
],
"name": "scheduleShadow",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"components": [
{
"components": [
{
"internalType": "address",
"name": "target",
"type": "address"
},
{
"internalType": "uint256",
"name": "value",
"type": "uint256"
},
{
"internalType": "bytes",
"name": "data",
"type": "bytes"
}
],
"internalType": "struct IGovernance.Call[]",
"name": "calls",
"type": "tuple[]"
},
{
"internalType": "bytes32",
"name": "predecessor",
"type": "bytes32"
},
{
"internalType": "bytes32",
"name": "salt",
"type": "bytes32"
}
],
"internalType": "struct IGovernance.Operation",
"name": "_operation",
"type": "tuple"
},
{
"internalType": "uint256",
"name": "_delay",
"type": "uint256"
}
],
"name": "scheduleTransparent",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "_newDelay",
"type": "uint256"
}
],
"name": "updateDelay",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_newSecurityCouncil",
"type": "address"
}
],
"name": "updateSecurityCouncil",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
],
"devdoc": {
"kind": "dev",
"methods": {},
"version": 1
},
"evm": {
"assembly": "",
"bytecode": {
"functionDebugData": {},
"generatedSources": [],
"linkReferences": {},
"object": "",
"opcodes": "",
"sourceMap": ""
},
"deployedBytecode": {
"functionDebugData": {},
"generatedSources": [],
"immutableReferences": {},
"linkReferences": {},
"object": "",
"opcodes": "",
"sourceMap": ""
},
"gasEstimates": null,
"legacyAssembly": null,
"methodIdentifiers": {
"cancel(bytes32)": "c4d252f5",
"execute(((address,uint256,bytes)[],bytes32,bytes32))": "74da756b",
"executeInstant(((address,uint256,bytes)[],bytes32,bytes32))": "95218ecd",
"getOperationState(bytes32)": "7958004c",
"hashOperation(((address,uint256,bytes)[],bytes32,bytes32))": "c126e860",
"isOperation(bytes32)": "31d50750",
"isOperationDone(bytes32)": "2ab0f529",
"isOperationPending(bytes32)": "584b153e",
"isOperationReady(bytes32)": "13bc9f20",
"scheduleShadow(bytes32,uint256)": "6d1d8363",
"scheduleTransparent(((address,uint256,bytes)[],bytes32,bytes32),uint256)": "2c431917",
"updateDelay(uint256)": "64d62353",
"updateSecurityCouncil(address)": "dbfe3e96"
}
},
"metadata": "{\"compiler\":{\"version\":\"0.8.13+commit.abaa5c0e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_delayBefore\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_delayAfter\",\"type\":\"uint256\"}],\"name\":\"ChangeMinDelay\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"_securityCouncilBefore\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"_securityCouncilAfter\",\"type\":\"address\"}],\"name\":\"ChangeSecurityCouncil\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"}],\"name\":\"OperationCancelled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"}],\"name\":\"OperationExecuted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"delay\",\"type\":\"uint256\"}],\"name\":\"ShadowOperationScheduled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"delay\",\"type\":\"uint256\"},{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"internalType\":\"struct IGovernance.Call[]\",\"name\":\"calls\",\"type\":\"tuple[]\"},{\"internalType\":\"bytes32\",\"name\":\"predecessor\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"}],\"indexed\":false,\"internalType\":\"struct IGovernance.Operation\",\"name\":\"_operation\",\"type\":\"tuple\"}],\"name\":\"TransparentOperationScheduled\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"}],\"name\":\"cancel\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"internalType\":\"struct IGovernance.Call[]\",\"name\":\"calls\",\"type\":\"tuple[]\"},{\"internalType\":\"bytes32\",\"name\":\"predecessor\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"}],\"internalType\":\"struct IGovernance.Operation\",\"name\":\"_operation\",\"type\":\"tuple\"}],\"name\":\"execute\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"internalType\":\"struct IGovernance.Call[]\",\"name\":\"calls\",\"type\":\"tuple[]\"},{\"internalType\":\"bytes32\",\"name\":\"predecessor\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"}],\"internalType\":\"struct IGovernance.Operation\",\"name\":\"_operation\",\"type\":\"tuple\"}],\"name\":\"executeInstant\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"}],\"name\":\"getOperationState\",\"outputs\":[{\"internalType\":\"enum IGovernance.OperationState\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"internalType\":\"struct IGovernance.Call[]\",\"name\":\"calls\",\"type\":\"tuple[]\"},{\"internalType\":\"bytes32\",\"name\":\"predecessor\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"}],\"internalType\":\"struct IGovernance.Operation\",\"name\":\"_operation\",\"type\":\"tuple\"}],\"name\":\"hashOperation\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"}],\"name\":\"isOperation\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"}],\"name\":\"isOperationDone\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"}],\"name\":\"isOperationPending\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"}],\"name\":\"isOperationReady\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"_delay\",\"type\":\"uint256\"}],\"name\":\"scheduleShadow\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"internalType\":\"struct IGovernance.Call[]\",\"name\":\"calls\",\"type\":\"tuple[]\"},{\"internalType\":\"bytes32\",\"name\":\"predecessor\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"}],\"internalType\":\"struct IGovernance.Operation\",\"name\":\"_operation\",\"type\":\"tuple\"},{\"internalType\":\"uint256\",\"name\":\"_delay\",\"type\":\"uint256\"}],\"name\":\"scheduleTransparent\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_newDelay\",\"type\":\"uint256\"}],\"name\":\"updateDelay\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_newSecurityCouncil\",\"type\":\"address\"}],\"name\":\"updateSecurityCouncil\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"events\":{\"ChangeMinDelay(uint256,uint256)\":{\"notice\":\"Emitted when the minimum delay for future operations is modified.\"},\"ChangeSecurityCouncil(address,address)\":{\"notice\":\"Emitted when the security council address is changed.\"},\"OperationCancelled(bytes32)\":{\"notice\":\"Emitted when the operation with specified id is cancelled.\"},\"OperationExecuted(bytes32)\":{\"notice\":\"Emitted when the operation is executed with delay or instantly.\"},\"ShadowOperationScheduled(bytes32,uint256)\":{\"notice\":\"Emitted when shadow operation is scheduled.\"},\"TransparentOperationScheduled(bytes32,uint256,((address,uint256,bytes)[],bytes32,bytes32))\":{\"notice\":\"Emitted when transparent operation is scheduled.\"}},\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/govarnance/IGovernance.sol\":\"IGovernance\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"contracts/govarnance/IGovernance.sol\":{\"keccak256\":\"0xd896c6346d984e15ae6dee5dab99be42811af053395363f65eda5a757b51e35b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e1cb1e04f63af2465561c662fe659387b212793ab465909e508c6c0965689354\",\"dweb:/ipfs/QmWEvm82ZbrCQTsoUjnEVfxf6KPcCKeVvYGsoQd1hL1SMn\"]}},\"version\":1}",
"storageLayout": {
"storage": [],
"types": null
},
"userdoc": {
"events": {
"ChangeMinDelay(uint256,uint256)": {
"notice": "Emitted when the minimum delay for future operations is modified."
},
"ChangeSecurityCouncil(address,address)": {
"notice": "Emitted when the security council address is changed."
},
"OperationCancelled(bytes32)": {
"notice": "Emitted when the operation with specified id is cancelled."
},
"OperationExecuted(bytes32)": {
"notice": "Emitted when the operation is executed with delay or instantly."
},
"ShadowOperationScheduled(bytes32,uint256)": {
"notice": "Emitted when shadow operation is scheduled."
},
"TransparentOperationScheduled(bytes32,uint256,((address,uint256,bytes)[],bytes32,bytes32))": {
"notice": "Emitted when transparent operation is scheduled."
}
},
"kind": "user",
"methods": {},
"version": 1
}
}
}
},
"sources": {
"contracts/govarnance/IGovernance.sol": {
"ast": {
"absolutePath": "contracts/govarnance/IGovernance.sol",
"exportedSymbols": {
"IGovernance": [
150
]
},
"id": 151,
"license": "MIT",
"nodeType": "SourceUnit",
"nodes": [
{
"id": 1,
"literals": [
"solidity",
"^",
"0.8",
".13"
],
"nodeType": "PragmaDirective",
"src": "35:24:0"
},
{
"abstract": false,
"baseContracts": [],
"canonicalName": "IGovernance",
"contractDependencies": [],
"contractKind": "interface",
"fullyImplemented": false,
"id": 150,
"linearizedBaseContracts": [
150
],
"name": "IGovernance",
"nameLocation": "73:11:0",
"nodeType": "ContractDefinition",
"nodes": [
{
"canonicalName": "IGovernance.OperationState",
"id": 6,
"members": [
{
"id": 2,
"name": "Unset",
"nameLocation": "478:5:0",
"nodeType": "EnumValue",
"src": "478:5:0"
},
{
"id": 3,
"name": "Waiting",
"nameLocation": "494:7:0",
"nodeType": "EnumValue",
"src": "494:7:0"
},
{
"id": 4,
"name": "Ready",
"nameLocation": "512:5:0",
"nodeType": "EnumValue",
"src": "512:5:0"
},
{
"id": 5,
"name": "Done",
"nameLocation": "528:4:0",
"nodeType": "EnumValue",
"src": "528:4:0"
}
],
"name": "OperationState",
"nameLocation": "452:14:0",
"nodeType": "EnumDefinition",
"src": "447:92:0"
},
{
"canonicalName": "IGovernance.Call",
"id": 13,
"members": [
{
"constant": false,
"id": 8,
"mutability": "mutable",
"name": "target",
"nameLocation": "866:6:0",
"nodeType": "VariableDeclaration",
"scope": 13,
"src": "858:14:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 7,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "858:7:0",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 10,
"mutability": "mutable",
"name": "value",
"nameLocation": "891:5:0",
"nodeType": "VariableDeclaration",
"scope": 13,
"src": "883:13:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 9,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "883:7:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 12,
"mutability": "mutable",
"name": "data",
"nameLocation": "913:4:0",
"nodeType": "VariableDeclaration",
"scope": 13,
"src": "907:10:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes_storage_ptr",
"typeString": "bytes"
},
"typeName": {
"id": 11,
"name": "bytes",
"nodeType": "ElementaryTypeName",
"src": "907:5:0",
"typeDescriptions": {
"typeIdentifier": "t_bytes_storage_ptr",
"typeString": "bytes"
}
},
"visibility": "internal"
}
],
"name": "Call",
"nameLocation": "842:4:0",
"nodeType": "StructDefinition",
"scope": 150,
"src": "835:90:0",
"visibility": "public"
},
{
"canonicalName": "IGovernance.Operation",
"id": 22,
"members": [
{
"constant": false,
"id": 17,
"mutability": "mutable",
"name": "calls",
"nameLocation": "1348:5:0",
"nodeType": "VariableDeclaration",
"scope": 22,
"src": "1341:12:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_struct$_Call_$13_storage_$dyn_storage_ptr",
"typeString": "struct IGovernance.Call[]"
},
"typeName": {
"baseType": {
"id": 15,
"nodeType": "UserDefinedTypeName",
"pathNode": {
"id": 14,
"name": "Call",
"nodeType": "IdentifierPath",
"referencedDeclaration": 13,
"src": "1341:4:0"
},
"referencedDeclaration": 13,
"src": "1341:4:0",
"typeDescriptions": {
"typeIdentifier": "t_struct$_Call_$13_storage_ptr",
"typeString": "struct IGovernance.Call"
}
},
"id": 16,
"nodeType": "ArrayTypeName",
"src": "1341:6:0",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_struct$_Call_$13_storage_$dyn_storage_ptr",
"typeString": "struct IGovernance.Call[]"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 19,
"mutability": "mutable",
"name": "predecessor",
"nameLocation": "1372:11:0",
"nodeType": "VariableDeclaration",
"scope": 22,
"src": "1364:19:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 18,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "1364:7:0",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 21,
"mutability": "mutable",
"name": "salt",
"nameLocation": "1402:4:0",
"nodeType": "VariableDeclaration",
"scope": 22,
"src": "1394:12:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 20,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "1394:7:0",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"visibility": "internal"
}
],
"name": "Operation",
"nameLocation": "1320:9:0",
"nodeType": "StructDefinition",
"scope": 150,
"src": "1313:101:0",
"visibility": "public"
},
{
"functionSelector": "31d50750",
"id": 29,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "isOperation",
"nameLocation": "1431:11:0",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 25,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 24,
"mutability": "mutable",
"name": "_id",
"nameLocation": "1451:3:0",
"nodeType": "VariableDeclaration",
"scope": 29,
"src": "1443:11:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 23,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "1443:7:0",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"visibility": "internal"
}
],
"src": "1442:13:0"
},
"returnParameters": {
"id": 28,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 27,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 29,
"src": "1479:4:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 26,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "1479:4:0",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"visibility": "internal"
}
],
"src": "1478:6:0"
},
"scope": 150,
"src": "1422:63:0",
"stateMutability": "view",
"virtual": false,
"visibility": "external"
},
{
"functionSelector": "584b153e",
"id": 36,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "isOperationPending",
"nameLocation": "1502:18:0",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 32,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 31,
"mutability": "mutable",
"name": "_id",
"nameLocation": "1529:3:0",
"nodeType": "VariableDeclaration",
"scope": 36,
"src": "1521:11:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 30,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "1521:7:0",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"visibility": "internal"
}
],
"src": "1520:13:0"
},
"returnParameters": {
"id": 35,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 34,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 36,
"src": "1557:4:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 33,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "1557:4:0",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"visibility": "internal"
}
],
"src": "1556:6:0"
},
"scope": 150,
"src": "1493:70:0",
"stateMutability": "view",
"virtual": false,
"visibility": "external"
},
{
"functionSelector": "13bc9f20",
"id": 43,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "isOperationReady",
"nameLocation": "1580:16:0",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 39,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 38,
"mutability": "mutable",
"name": "_id",
"nameLocation": "1605:3:0",
"nodeType": "VariableDeclaration",
"scope": 43,
"src": "1597:11:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 37,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "1597:7:0",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"visibility": "internal"
}
],
"src": "1596:13:0"
},
"returnParameters": {
"id": 42,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 41,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 43,
"src": "1633:4:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 40,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "1633:4:0",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"visibility": "internal"
}
],
"src": "1632:6:0"
},
"scope": 150,
"src": "1571:68:0",
"stateMutability": "view",
"virtual": false,
"visibility": "external"
},
{
"functionSelector": "2ab0f529",
"id": 50,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "isOperationDone",
"nameLocation": "1656:15:0",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 46,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 45,
"mutability": "mutable",
"name": "_id",
"nameLocation": "1680:3:0",
"nodeType": "VariableDeclaration",
"scope": 50,
"src": "1672:11:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 44,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "1672:7:0",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"visibility": "internal"
}
],
"src": "1671:13:0"
},
"returnParameters": {
"id": 49,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 48,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 50,
"src": "1708:4:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 47,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "1708:4:0",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"visibility": "internal"
}
],
"src": "1707:6:0"
},
"scope": 150,
"src": "1647:67:0",
"stateMutability": "view",
"virtual": false,
"visibility": "external"
},
{
"functionSelector": "7958004c",
"id": 58,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "getOperationState",
"nameLocation": "1731:17:0",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 53,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 52,
"mutability": "mutable",
"name": "_id",
"nameLocation": "1757:3:0",
"nodeType": "VariableDeclaration",
"scope": 58,
"src": "1749:11:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 51,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "1749:7:0",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"visibility": "internal"
}
],
"src": "1748:13:0"
},
"returnParameters": {
"id": 57,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 56,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 58,
"src": "1785:14:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_enum$_OperationState_$6",
"typeString": "enum IGovernance.OperationState"
},
"typeName": {
"id": 55,
"nodeType": "UserDefinedTypeName",
"pathNode": {
"id": 54,
"name": "OperationState",
"nodeType": "IdentifierPath",
"referencedDeclaration": 6,
"src": "1785:14:0"
},
"referencedDeclaration": 6,
"src": "1785:14:0",
"typeDescriptions": {
"typeIdentifier": "t_enum$_OperationState_$6",
"typeString": "enum IGovernance.OperationState"
}
},
"visibility": "internal"
}
],
"src": "1784:16:0"
},
"scope": 150,
"src": "1722:79:0",
"stateMutability": "view",
"virtual": false,
"visibility": "external"
},
{
"functionSelector": "2c431917",
"id": 66,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "scheduleTransparent",
"nameLocation": "1818:19:0",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 64,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 61,
"mutability": "mutable",
"name": "_operation",
"nameLocation": "1857:10:0",
"nodeType": "VariableDeclaration",
"scope": 66,
"src": "1838:29:0",
"stateVariable": false,
"storageLocation": "calldata",
"typeDescriptions": {
"typeIdentifier": "t_struct$_Operation_$22_calldata_ptr",
"typeString": "struct IGovernance.Operation"
},
"typeName": {
"id": 60,
"nodeType": "UserDefinedTypeName",
"pathNode": {
"id": 59,
"name": "Operation",
"nodeType": "IdentifierPath",
"referencedDeclaration": 22,
"src": "1838:9:0"
},
"referencedDeclaration": 22,
"src": "1838:9:0",
"typeDescriptions": {
"typeIdentifier": "t_struct$_Operation_$22_storage_ptr",
"typeString": "struct IGovernance.Operation"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 63,
"mutability": "mutable",
"name": "_delay",
"nameLocation": "1877:6:0",
"nodeType": "VariableDeclaration",
"scope": 66,
"src": "1869:14:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 62,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "1869:7:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
}
],
"src": "1837:47:0"
},
"returnParameters": {
"id": 65,
"nodeType": "ParameterList",
"parameters": [],
"src": "1893:0:0"
},
"scope": 150,
"src": "1809:85:0",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "external"
},
{
"functionSelector": "6d1d8363",
"id": 73,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "scheduleShadow",
"nameLocation": "1911:14:0",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 71,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 68,
"mutability": "mutable",
"name": "_id",
"nameLocation": "1934:3:0",
"nodeType": "VariableDeclaration",
"scope": 73,
"src": "1926:11:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 67,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "1926:7:0",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 70,
"mutability": "mutable",
"name": "_delay",
"nameLocation": "1947:6:0",
"nodeType": "VariableDeclaration",
"scope": 73,
"src": "1939:14:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 69,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "1939:7:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
}
],
"src": "1925:29:0"
},
"returnParameters": {
"id": 72,
"nodeType": "ParameterList",
"parameters": [],
"src": "1963:0:0"
},
"scope": 150,
"src": "1902:62:0",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "external"
},
{
"functionSelector": "c4d252f5",
"id": 78,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "cancel",
"nameLocation": "1981:6:0",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 76,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 75,
"mutability": "mutable",
"name": "_id",
"nameLocation": "1996:3:0",
"nodeType": "VariableDeclaration",
"scope": 78,
"src": "1988:11:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 74,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "1988:7:0",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"visibility": "internal"
}
],
"src": "1987:13:0"
},
"returnParameters": {
"id": 77,
"nodeType": "ParameterList",
"parameters": [],
"src": "2009:0:0"
},
"scope": 150,
"src": "1972:38:0",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "external"
},
{
"functionSelector": "74da756b",
"id": 84,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "execute",
"nameLocation": "2027:7:0",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 82,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 81,
"mutability": "mutable",
"name": "_operation",
"nameLocation": "2054:10:0",
"nodeType": "VariableDeclaration",
"scope": 84,
"src": "2035:29:0",
"stateVariable": false,
"storageLocation": "calldata",
"typeDescriptions": {
"typeIdentifier": "t_struct$_Operation_$22_calldata_ptr",
"typeString": "struct IGovernance.Operation"
},
"typeName": {
"id": 80,
"nodeType": "UserDefinedTypeName",
"pathNode": {
"id": 79,
"name": "Operation",
"nodeType": "IdentifierPath",
"referencedDeclaration": 22,
"src": "2035:9:0"
},
"referencedDeclaration": 22,
"src": "2035:9:0",
"typeDescriptions": {
"typeIdentifier": "t_struct$_Operation_$22_storage_ptr",
"typeString": "struct IGovernance.Operation"
}
},
"visibility": "internal"
}
],
"src": "2034:31:0"
},
"returnParameters": {
"id": 83,
"nodeType": "ParameterList",
"parameters": [],
"src": "2074:0:0"
},
"scope": 150,
"src": "2018:57:0",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "external"
},
{
"functionSelector": "95218ecd",
"id": 90,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "executeInstant",
"nameLocation": "2092:14:0",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 88,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 87,
"mutability": "mutable",
"name": "_operation",
"nameLocation": "2126:10:0",
"nodeType": "VariableDeclaration",
"scope": 90,
"src": "2107:29:0",
"stateVariable": false,
"storageLocation": "calldata",
"typeDescriptions": {
"typeIdentifier": "t_struct$_Operation_$22_calldata_ptr",
"typeString": "struct IGovernance.Operation"
},
"typeName": {
"id": 86,
"nodeType": "UserDefinedTypeName",
"pathNode": {
"id": 85,
"name": "Operation",
"nodeType": "IdentifierPath",
"referencedDeclaration": 22,
"src": "2107:9:0"
},
"referencedDeclaration": 22,
"src": "2107:9:0",
"typeDescriptions": {
"typeIdentifier": "t_struct$_Operation_$22_storage_ptr",
"typeString": "struct IGovernance.Operation"
}
},
"visibility": "internal"
}
],
"src": "2106:31:0"
},
"returnParameters": {
"id": 89,
"nodeType": "ParameterList",
"parameters": [],
"src": "2146:0:0"
},
"scope": 150,
"src": "2083:64:0",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "external"
},
{
"functionSelector": "c126e860",
"id": 98,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "hashOperation",
"nameLocation": "2164:13:0",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 94,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 93,
"mutability": "mutable",
"name": "_operation",
"nameLocation": "2197:10:0",
"nodeType": "VariableDeclaration",
"scope": 98,
"src": "2178:29:0",
"stateVariable": false,
"storageLocation": "calldata",
"typeDescriptions": {
"typeIdentifier": "t_struct$_Operation_$22_calldata_ptr",
"typeString": "struct IGovernance.Operation"
},
"typeName": {
"id": 92,
"nodeType": "UserDefinedTypeName",
"pathNode": {
"id": 91,
"name": "Operation",
"nodeType": "IdentifierPath",
"referencedDeclaration": 22,
"src": "2178:9:0"
},
"referencedDeclaration": 22,
"src": "2178:9:0",
"typeDescriptions": {
"typeIdentifier": "t_struct$_Operation_$22_storage_ptr",
"typeString": "struct IGovernance.Operation"
}
},
"visibility": "internal"
}
],
"src": "2177:31:0"
},
"returnParameters": {
"id": 97,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 96,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 98,
"src": "2232:7:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 95,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "2232:7:0",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"visibility": "internal"
}
],
"src": "2231:9:0"
},
"scope": 150,
"src": "2155:86:0",
"stateMutability": "pure",
"virtual": false,
"visibility": "external"
},
{
"functionSelector": "64d62353",
"id": 103,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "updateDelay",
"nameLocation": "2258:11:0",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 101,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 100,
"mutability": "mutable",
"name": "_newDelay",
"nameLocation": "2278:9:0",
"nodeType": "VariableDeclaration",
"scope": 103,
"src": "2270:17:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 99,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "2270:7:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
}
],
"src": "2269:19:0"
},
"returnParameters": {
"id": 102,
"nodeType": "ParameterList",
"parameters": [],
"src": "2297:0:0"
},
"scope": 150,
"src": "2249:49:0",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "external"
},
{
"functionSelector": "dbfe3e96",
"id": 108,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "updateSecurityCouncil",
"nameLocation": "2315:21:0",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 106,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 105,
"mutability": "mutable",
"name": "_newSecurityCouncil",
"nameLocation": "2345:19:0",
"nodeType": "VariableDeclaration",
"scope": 108,
"src": "2337:27:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 104,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "2337:7:0",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
}
],
"src": "2336:29:0"
},
"returnParameters": {
"id": 107,
"nodeType": "ParameterList",
"parameters": [],
"src": "2374:0:0"
},
"scope": 150,
"src": "2306:69:0",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "external"
},
{
"anonymous": false,
"documentation": {
"id": 109,
"nodeType": "StructuredDocumentation",
"src": "2383:60:0",
"text": "@notice Emitted when transparent operation is scheduled."
},
"eventSelector": "23bc9f5dc037eb49c162fd08c2a4d43dfe70063149e140d502273168da0a0625",
"id": 118,
"name": "TransparentOperationScheduled",
"nameLocation": "2455:29:0",
"nodeType": "EventDefinition",
"parameters": {
"id": 117,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 111,
"indexed": true,
"mutability": "mutable",
"name": "_id",
"nameLocation": "2501:3:0",
"nodeType": "VariableDeclaration",
"scope": 118,
"src": "2485:19:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 110,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "2485:7:0",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 113,
"indexed": false,
"mutability": "mutable",
"name": "delay",
"nameLocation": "2514:5:0",
"nodeType": "VariableDeclaration",
"scope": 118,
"src": "2506:13:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 112,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "2506:7:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 116,
"indexed": false,
"mutability": "mutable",
"name": "_operation",
"nameLocation": "2531:10:0",
"nodeType": "VariableDeclaration",
"scope": 118,
"src": "2521:20:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_struct$_Operation_$22_memory_ptr",
"typeString": "struct IGovernance.Operation"
},
"typeName": {
"id": 115,
"nodeType": "UserDefinedTypeName",
"pathNode": {
"id": 114,
"name": "Operation",
"nodeType": "IdentifierPath",
"referencedDeclaration": 22,
"src": "2521:9:0"
},
"referencedDeclaration": 22,
"src": "2521:9:0",
"typeDescriptions": {
"typeIdentifier": "t_struct$_Operation_$22_storage_ptr",
"typeString": "struct IGovernance.Operation"
}
},
"visibility": "internal"
}
],
"src": "2484:58:0"
},
"src": "2449:94:0"
},
{
"anonymous": false,
"documentation": {
"id": 119,
"nodeType": "StructuredDocumentation",
"src": "2551:55:0",
"text": "@notice Emitted when shadow operation is scheduled."
},
"eventSelector": "bcb40fd953364ec8aed99fa0bd6dcc03103f979efde4744ad7452e556ff20ba6",
"id": 125,
"name": "ShadowOperationScheduled",
"nameLocation": "2618:24:0",
"nodeType": "EventDefinition",
"parameters": {
"id": 124,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 121,
"indexed": true,
"mutability": "mutable",
"name": "_id",
"nameLocation": "2659:3:0",
"nodeType": "VariableDeclaration",
"scope": 125,
"src": "2643:19:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 120,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "2643:7:0",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 123,
"indexed": false,
"mutability": "mutable",
"name": "delay",
"nameLocation": "2672:5:0",
"nodeType": "VariableDeclaration",
"scope": 125,
"src": "2664:13:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 122,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "2664:7:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
}
],
"src": "2642:36:0"
},
"src": "2612:67:0"
},
{
"anonymous": false,
"documentation": {
"id": 126,
"nodeType": "StructuredDocumentation",
"src": "2687:75:0",
"text": "@notice Emitted when the operation is executed with delay or instantly."
},
"eventSelector": "1277662f4b42b8a4069e99fb5e41ce8919d3c621156090ac08fb11adbcec66f9",
"id": 130,
"name": "OperationExecuted",
"nameLocation": "2774:17:0",
"nodeType": "EventDefinition",
"parameters": {
"id": 129,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 128,
"indexed": true,
"mutability": "mutable",
"name": "_id",
"nameLocation": "2808:3:0",
"nodeType": "VariableDeclaration",
"scope": 130,
"src": "2792:19:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 127,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "2792:7:0",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"visibility": "internal"
}
],
"src": "2791:21:0"
},
"src": "2768:45:0"
},
{
"anonymous": false,
"documentation": {
"id": 131,
"nodeType": "StructuredDocumentation",
"src": "2821:65:0",
"text": "@notice Emitted when the security council address is changed."
},
"eventSelector": "e55ac8ae7914efca1278b8ed4ae21728d06ad9f6e7637bb2c905aacf2a6f5951",
"id": 137,
"name": "ChangeSecurityCouncil",
"nameLocation": "2898:21:0",
"nodeType": "EventDefinition",
"parameters": {
"id": 136,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 133,
"indexed": false,
"mutability": "mutable",
"name": "_securityCouncilBefore",
"nameLocation": "2928:22:0",
"nodeType": "VariableDeclaration",
"scope": 137,
"src": "2920:30:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 132,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "2920:7:0",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 135,
"indexed": false,
"mutability": "mutable",
"name": "_securityCouncilAfter",
"nameLocation": "2960:21:0",
"nodeType": "VariableDeclaration",
"scope": 137,
"src": "2952:29:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 134,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "2952:7:0",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
}
],
"src": "2919:63:0"
},
"src": "2892:91:0"
},
{
"anonymous": false,
"documentation": {
"id": 138,
"nodeType": "StructuredDocumentation",
"src": "2991:77:0",
"text": "@notice Emitted when the minimum delay for future operations is modified."
},
"eventSelector": "0c5ff76c31d24175d9e84ef46e328eafbcaeb2aa67a2333035eb082dd34324f1",
"id": 144,
"name": "ChangeMinDelay",
"nameLocation": "3080:14:0",
"nodeType": "EventDefinition",
"parameters": {
"id": 143,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 140,
"indexed": false,
"mutability": "mutable",
"name": "_delayBefore",
"nameLocation": "3103:12:0",
"nodeType": "VariableDeclaration",
"scope": 144,
"src": "3095:20:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 139,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "3095:7:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 142,
"indexed": false,
"mutability": "mutable",
"name": "_delayAfter",
"nameLocation": "3125:11:0",
"nodeType": "VariableDeclaration",
"scope": 144,
"src": "3117:19:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 141,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "3117:7:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
}
],
"src": "3094:43:0"
},
"src": "3074:64:0"
},
{
"anonymous": false,
"documentation": {
"id": 145,
"nodeType": "StructuredDocumentation",
"src": "3146:70:0",
"text": "@notice Emitted when the operation with specified id is cancelled."
},
"eventSelector": "cf0f63b97f3387253cbc0bde884f975df77e39184dc3280c2c81be495f58eef4",
"id": 149,
"name": "OperationCancelled",
"nameLocation": "3228:18:0",
"nodeType": "EventDefinition",
"parameters": {
"id": 148,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 147,
"indexed": true,
"mutability": "mutable",
"name": "_id",
"nameLocation": "3263:3:0",
"nodeType": "VariableDeclaration",
"scope": 149,
"src": "3247:19:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 146,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "3247:7:0",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"visibility": "internal"
}
],
"src": "3246:21:0"
},
"src": "3222:46:0"
}
],
"scope": 151,
"src": "63:3208:0",
"usedErrors": []
}
],
"src": "35:3238:0"
},
"id": 0
}
}
}
}