keep3r-v2
Version:
The Keep3r Network is a decentralized network for projects that need external devops, and for external teams to find keeper jobs
141 lines (140 loc) • 5.99 kB
JSON
{
"_format": "hh-sol-artifact-1",
"contractName": "Keep3rJobOwnershipForTest",
"sourceName": "solidity/for-test/peripherals/jobs/Keep3rJobOwnershipForTest.sol",
"abi": [
{
"inputs": [],
"name": "OnlyJobOwner",
"type": "error"
},
{
"inputs": [],
"name": "OnlyPendingJobOwner",
"type": "error"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "_job",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "_previousOwner",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "_newOwner",
"type": "address"
}
],
"name": "JobOwnershipAssent",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "_job",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "_owner",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "_pendingOwner",
"type": "address"
}
],
"name": "JobOwnershipChange",
"type": "event"
},
{
"inputs": [
{
"internalType": "address",
"name": "_job",
"type": "address"
}
],
"name": "acceptJobOwnership",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_job",
"type": "address"
},
{
"internalType": "address",
"name": "_newOwner",
"type": "address"
}
],
"name": "changeJobOwnership",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"name": "jobOwner",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"name": "jobPendingOwner",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
}
],
"bytecode": "0x608060405234801561001057600080fd5b506102e2806100206000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c8063594a3a931461005157806359a2255e14610066578063878c723e1461007957806398e90a0f146100be575b600080fd5b61006461005f366004610279565b6100e7565b005b610064610074366004610257565b61018b565b6100a2610087366004610257565b6000602081905290815260409020546001600160a01b031681565b6040516001600160a01b03909116815260200160405180910390f35b6100a26100cc366004610257565b6001602052600090815260409020546001600160a01b031681565b6001600160a01b03828116600090815260208190526040902054839116331461012357604051636efb4f4160e11b815260040160405180910390fd5b6001600160a01b03838116600081815260016020908152604080832080546001600160a01b0319168887169081179091559183905280832054905191941692917fa8bad3f0b781e1d954af9945167d5f80bfe5e57930f17c93843187c77557a6b891a4505050565b6001600160a01b0381811660009081526001602052604090205482911633146101c75760405163cfe9663360e01b815260040160405180910390fd5b6001600160a01b0382811660008181526020818152604080832080546001909352818420805487166001600160a01b031980861691909117909255805490911690555193169283929133917fcf30c54296d5eee76168b564c59c50578d49c271733a470f32707c8cfbc88a8b9190a4505050565b80356001600160a01b038116811461025257600080fd5b919050565b60006020828403121561026957600080fd5b6102728261023b565b9392505050565b6000806040838503121561028c57600080fd5b6102958361023b565b91506102a36020840161023b565b9050925092905056fea2646970667358221220d375849b6926559202d039764cc4377a3beab2f932d64b270a2653b14bd4ae0564736f6c63430008070033",
"deployedBytecode": "0x608060405234801561001057600080fd5b506004361061004c5760003560e01c8063594a3a931461005157806359a2255e14610066578063878c723e1461007957806398e90a0f146100be575b600080fd5b61006461005f366004610279565b6100e7565b005b610064610074366004610257565b61018b565b6100a2610087366004610257565b6000602081905290815260409020546001600160a01b031681565b6040516001600160a01b03909116815260200160405180910390f35b6100a26100cc366004610257565b6001602052600090815260409020546001600160a01b031681565b6001600160a01b03828116600090815260208190526040902054839116331461012357604051636efb4f4160e11b815260040160405180910390fd5b6001600160a01b03838116600081815260016020908152604080832080546001600160a01b0319168887169081179091559183905280832054905191941692917fa8bad3f0b781e1d954af9945167d5f80bfe5e57930f17c93843187c77557a6b891a4505050565b6001600160a01b0381811660009081526001602052604090205482911633146101c75760405163cfe9663360e01b815260040160405180910390fd5b6001600160a01b0382811660008181526020818152604080832080546001909352818420805487166001600160a01b031980861691909117909255805490911690555193169283929133917fcf30c54296d5eee76168b564c59c50578d49c271733a470f32707c8cfbc88a8b9190a4505050565b80356001600160a01b038116811461025257600080fd5b919050565b60006020828403121561026957600080fd5b6102728261023b565b9392505050565b6000806040838503121561028c57600080fd5b6102958361023b565b91506102a36020840161023b565b9050925092905056fea2646970667358221220d375849b6926559202d039764cc4377a3beab2f932d64b270a2653b14bd4ae0564736f6c63430008070033",
"linkReferences": {},
"deployedLinkReferences": {}
}