UNPKG

keep3r-v2

Version:

The Keep3r Network is a decentralized network for projects that need external devops, and for external teams to find keeper jobs

110 lines (109 loc) 4.79 kB
{ "_format": "hh-sol-artifact-1", "contractName": "GovernableForTest", "sourceName": "solidity/for-test/peripherals/GovernableForTest.sol", "abi": [ { "inputs": [ { "internalType": "address", "name": "_governor", "type": "address" } ], "stateMutability": "nonpayable", "type": "constructor" }, { "inputs": [], "name": "NoGovernanceZeroAddress", "type": "error" }, { "inputs": [], "name": "OnlyGovernance", "type": "error" }, { "inputs": [], "name": "OnlyPendingGovernance", "type": "error" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "_pendingGovernance", "type": "address" } ], "name": "GovernanceProposal", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "_governance", "type": "address" } ], "name": "GovernanceSet", "type": "event" }, { "inputs": [], "name": "acceptGovernance", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "governance", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "pendingGovernance", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_governance", "type": "address" } ], "name": "setGovernance", "outputs": [], "stateMutability": "nonpayable", "type": "function" } ], "bytecode": "0x608060405234801561001057600080fd5b506040516102d93803806102d983398101604081905261002f9161007c565b806001600160a01b0381166100565760405162b293ed60e81b815260040160405180910390fd5b600080546001600160a01b0319166001600160a01b0392909216919091179055506100ac565b60006020828403121561008e57600080fd5b81516001600160a01b03811681146100a557600080fd5b9392505050565b61021e806100bb6000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c8063238efcbc146100515780635aa6e6751461005b578063ab033ea91461008a578063f39c38a01461009d575b600080fd5b6100596100b0565b005b60005461006e906001600160a01b031681565b6040516001600160a01b03909116815260200160405180910390f35b6100596100983660046101b8565b610139565b60015461006e906001600160a01b031681565b6001546001600160a01b031633146100db57604051637ef5703160e11b815260040160405180910390fd5b60018054600080546001600160a01b0383166001600160a01b031991821681179092559091169091556040519081527fc73be659241aade67e9a059bcf21494955018b213dbd1179054ccf928b13f3b69060200160405180910390a1565b6000546001600160a01b03163314610164576040516354348f0360e01b815260040160405180910390fd5b600180546001600160a01b0319166001600160a01b0383169081179091556040519081527fe987aaedf9d279143bdf1eee16cf1d0feb47742867d81083df8d6cd0a5ac857f9060200160405180910390a150565b6000602082840312156101ca57600080fd5b81356001600160a01b03811681146101e157600080fd5b939250505056fea264697066735822122033f643479d8fc4ae34c06e3ff3551fc43eebfa5bc87a16c84a1f94835df293fb64736f6c63430008070033", "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061004c5760003560e01c8063238efcbc146100515780635aa6e6751461005b578063ab033ea91461008a578063f39c38a01461009d575b600080fd5b6100596100b0565b005b60005461006e906001600160a01b031681565b6040516001600160a01b03909116815260200160405180910390f35b6100596100983660046101b8565b610139565b60015461006e906001600160a01b031681565b6001546001600160a01b031633146100db57604051637ef5703160e11b815260040160405180910390fd5b60018054600080546001600160a01b0383166001600160a01b031991821681179092559091169091556040519081527fc73be659241aade67e9a059bcf21494955018b213dbd1179054ccf928b13f3b69060200160405180910390a1565b6000546001600160a01b03163314610164576040516354348f0360e01b815260040160405180910390fd5b600180546001600160a01b0319166001600160a01b0383169081179091556040519081527fe987aaedf9d279143bdf1eee16cf1d0feb47742867d81083df8d6cd0a5ac857f9060200160405180910390a150565b6000602082840312156101ca57600080fd5b81356001600160a01b03811681146101e157600080fd5b939250505056fea264697066735822122033f643479d8fc4ae34c06e3ff3551fc43eebfa5bc87a16c84a1f94835df293fb64736f6c63430008070033", "linkReferences": {}, "deployedLinkReferences": {} }