@defi-wonderland/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.87 kB
JSON
{
"_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": "0x608060405234801561001057600080fd5b506040516102ec3803806102ec83398101604081905261002f9161007c565b806001600160a01b0381166100565760405162b293ed60e81b815260040160405180910390fd5b600080546001600160a01b0319166001600160a01b0392909216919091179055506100ac565b60006020828403121561008e57600080fd5b81516001600160a01b03811681146100a557600080fd5b9392505050565b610231806100bb6000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c8063238efcbc146100515780635aa6e6751461005b578063ab033ea914610084578063f39c38a014610097575b600080fd5b6100596100aa565b005b60005461006e906001600160a01b031681565b60405161007b91906101e7565b60405180910390f35b6100596100923660046101b7565b610136565b60015461006e906001600160a01b031681565b6001546001600160a01b031633146100d557604051637ef5703160e11b815260040160405180910390fd5b60018054600080546001600160a01b0383166001600160a01b031991821681179092559091169091556040517fc73be659241aade67e9a059bcf21494955018b213dbd1179054ccf928b13f3b69161012c916101e7565b60405180910390a1565b6000546001600160a01b03163314610161576040516354348f0360e01b815260040160405180910390fd5b600180546001600160a01b0319166001600160a01b0383161790556040517fe987aaedf9d279143bdf1eee16cf1d0feb47742867d81083df8d6cd0a5ac857f906101ac9083906101e7565b60405180910390a150565b6000602082840312156101c957600080fd5b81356001600160a01b03811681146101e057600080fd5b9392505050565b6001600160a01b039190911681526020019056fea26469706673582212200df1ad41c1d0f02e479f61ddb0f48f23dbd00c455969bdc2f4484c5e68f3fa3f64736f6c63430008070033",
"deployedBytecode": "0x608060405234801561001057600080fd5b506004361061004c5760003560e01c8063238efcbc146100515780635aa6e6751461005b578063ab033ea914610084578063f39c38a014610097575b600080fd5b6100596100aa565b005b60005461006e906001600160a01b031681565b60405161007b91906101e7565b60405180910390f35b6100596100923660046101b7565b610136565b60015461006e906001600160a01b031681565b6001546001600160a01b031633146100d557604051637ef5703160e11b815260040160405180910390fd5b60018054600080546001600160a01b0383166001600160a01b031991821681179092559091169091556040517fc73be659241aade67e9a059bcf21494955018b213dbd1179054ccf928b13f3b69161012c916101e7565b60405180910390a1565b6000546001600160a01b03163314610161576040516354348f0360e01b815260040160405180910390fd5b600180546001600160a01b0319166001600160a01b0383161790556040517fe987aaedf9d279143bdf1eee16cf1d0feb47742867d81083df8d6cd0a5ac857f906101ac9083906101e7565b60405180910390a150565b6000602082840312156101c957600080fd5b81356001600160a01b03811681146101e057600080fd5b9392505050565b6001600160a01b039190911681526020019056fea26469706673582212200df1ad41c1d0f02e479f61ddb0f48f23dbd00c455969bdc2f4484c5e68f3fa3f64736f6c63430008070033",
"linkReferences": {},
"deployedLinkReferences": {}
}