keep3r-v2
Version:
The Keep3r Network is a decentralized network for projects that need external devops, and for external teams to find keeper jobs
2,139 lines • 119 kB
JSON
{
"_format": "hh-sol-artifact-1",
"contractName": "Keep3rJobDisputableForTest",
"sourceName": "solidity/for-test/peripherals/jobs/Keep3rJobDisputableForTest.sol",
"abi": [
{
"inputs": [
{
"internalType": "address",
"name": "_kph",
"type": "address"
},
{
"internalType": "address",
"name": "_keep3rV1",
"type": "address"
},
{
"internalType": "address",
"name": "_keep3rV1Proxy",
"type": "address"
},
{
"internalType": "address",
"name": "_kp3rWethPool",
"type": "address"
}
],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"inputs": [],
"name": "AlreadyDisputed",
"type": "error"
},
{
"inputs": [],
"name": "BondsLocked",
"type": "error"
},
{
"inputs": [],
"name": "BondsUnexistent",
"type": "error"
},
{
"inputs": [],
"name": "Disputed",
"type": "error"
},
{
"inputs": [],
"name": "DisputerExistent",
"type": "error"
},
{
"inputs": [],
"name": "DisputerUnexistent",
"type": "error"
},
{
"inputs": [],
"name": "InsufficientJobTokenCredits",
"type": "error"
},
{
"inputs": [],
"name": "JobDisputed",
"type": "error"
},
{
"inputs": [],
"name": "JobLiquidityInsufficient",
"type": "error"
},
{
"inputs": [],
"name": "JobLiquidityLessThanMin",
"type": "error"
},
{
"inputs": [],
"name": "JobLiquidityUnexistent",
"type": "error"
},
{
"inputs": [],
"name": "JobTokenCreditsLocked",
"type": "error"
},
{
"inputs": [],
"name": "JobTokenInsufficient",
"type": "error"
},
{
"inputs": [],
"name": "JobTokenUnexistent",
"type": "error"
},
{
"inputs": [],
"name": "JobUnavailable",
"type": "error"
},
{
"inputs": [],
"name": "LiquidityPairApproved",
"type": "error"
},
{
"inputs": [],
"name": "LiquidityPairUnapproved",
"type": "error"
},
{
"inputs": [],
"name": "LiquidityPairUnexistent",
"type": "error"
},
{
"inputs": [],
"name": "MinRewardPeriod",
"type": "error"
},
{
"inputs": [],
"name": "NoGovernanceZeroAddress",
"type": "error"
},
{
"inputs": [],
"name": "NotDisputed",
"type": "error"
},
{
"inputs": [],
"name": "OnlyDisputer",
"type": "error"
},
{
"inputs": [],
"name": "OnlyGovernance",
"type": "error"
},
{
"inputs": [],
"name": "OnlyJobOwner",
"type": "error"
},
{
"inputs": [],
"name": "OnlyPendingGovernance",
"type": "error"
},
{
"inputs": [],
"name": "OnlyPendingJobOwner",
"type": "error"
},
{
"inputs": [],
"name": "OnlySlasher",
"type": "error"
},
{
"inputs": [],
"name": "SlasherExistent",
"type": "error"
},
{
"inputs": [],
"name": "SlasherUnexistent",
"type": "error"
},
{
"inputs": [],
"name": "TokenUnallowed",
"type": "error"
},
{
"inputs": [],
"name": "UnbondsLocked",
"type": "error"
},
{
"inputs": [],
"name": "UnbondsUnexistent",
"type": "error"
},
{
"inputs": [],
"name": "ZeroAddress",
"type": "error"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint256",
"name": "_bondTime",
"type": "uint256"
}
],
"name": "BondTimeChange",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "_keeper",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "_bonding",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "_amount",
"type": "uint256"
}
],
"name": "Bonding",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "_jobOrKeeper",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "_disputer",
"type": "address"
}
],
"name": "Dispute",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "_disputer",
"type": "address"
}
],
"name": "DisputerAdded",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "_disputer",
"type": "address"
}
],
"name": "DisputerRemoved",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint256",
"name": "_fee",
"type": "uint256"
}
],
"name": "FeeChange",
"type": "event"
},
{
"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"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint256",
"name": "_inflationPeriod",
"type": "uint256"
}
],
"name": "InflationPeriodChange",
"type": "event"
},
{
"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"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "_job",
"type": "address"
},
{
"indexed": false,
"internalType": "address",
"name": "_liquidity",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "_slasher",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "_amount",
"type": "uint256"
}
],
"name": "JobSlashLiquidity",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "_job",
"type": "address"
},
{
"indexed": false,
"internalType": "address",
"name": "_token",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "_slasher",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "_amount",
"type": "uint256"
}
],
"name": "JobSlashToken",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "_keep3rHelper",
"type": "address"
}
],
"name": "Keep3rHelperChange",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "_keep3rV1",
"type": "address"
}
],
"name": "Keep3rV1Change",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "_keep3rV1Proxy",
"type": "address"
}
],
"name": "Keep3rV1ProxyChange",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "_kp3rWethPool",
"type": "address"
}
],
"name": "Kp3rWethPoolChange",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "_job",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "_liquidity",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "_provider",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "_amount",
"type": "uint256"
}
],
"name": "LiquidityAddition",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "_liquidity",
"type": "address"
}
],
"name": "LiquidityApproval",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "_job",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "_rewardedAt",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "_currentCredits",
"type": "uint256"
}
],
"name": "LiquidityCreditsForced",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "_job",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "_rewardedAt",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "_currentCredits",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "_periodCredits",
"type": "uint256"
}
],
"name": "LiquidityCreditsReward",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint256",
"name": "_liquidityMinimum",
"type": "uint256"
}
],
"name": "LiquidityMinimumChange",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "_liquidity",
"type": "address"
}
],
"name": "LiquidityRevocation",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "_job",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "_liquidity",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "_receiver",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "_amount",
"type": "uint256"
}
],
"name": "LiquidityWithdrawal",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "_jobOrKeeper",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "_resolver",
"type": "address"
}
],
"name": "Resolve",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint256",
"name": "_rewardPeriodTime",
"type": "uint256"
}
],
"name": "RewardPeriodTimeChange",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "_slasher",
"type": "address"
}
],
"name": "SlasherAdded",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "_slasher",
"type": "address"
}
],
"name": "SlasherRemoved",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "_job",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "_token",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "_provider",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "_amount",
"type": "uint256"
}
],
"name": "TokenCreditAddition",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "_job",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "_token",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "_receiver",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "_amount",
"type": "uint256"
}
],
"name": "TokenCreditWithdrawal",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint256",
"name": "_unbondTime",
"type": "uint256"
}
],
"name": "UnbondTimeChange",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "_keeperOrJob",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "_unbonding",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "_amount",
"type": "uint256"
}
],
"name": "Unbonding",
"type": "event"
},
{
"inputs": [],
"name": "BASE",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "MIN_REWARD_PERIOD_TIME",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "acceptGovernance",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_job",
"type": "address"
}
],
"name": "acceptJobOwnership",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_disputer",
"type": "address"
}
],
"name": "addDisputer",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_job",
"type": "address"
},
{
"internalType": "address",
"name": "_liquidity",
"type": "address"
},
{
"internalType": "uint256",
"name": "_amount",
"type": "uint256"
}
],
"name": "addLiquidityToJob",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_slasher",
"type": "address"
}
],
"name": "addSlasher",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_job",
"type": "address"
},
{
"internalType": "address",
"name": "_token",
"type": "address"
},
{
"internalType": "uint256",
"name": "_amount",
"type": "uint256"
}
],
"name": "addTokenCreditsToJob",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_liquidity",
"type": "address"
}
],
"name": "approveLiquidity",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "approvedLiquidities",
"outputs": [
{
"internalType": "address[]",
"name": "_list",
"type": "address[]"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "bondTime",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "",
"type": "address"
},
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"name": "bonds",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "",
"type": "address"
},
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"name": "canActivateAfter",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "",
"type": "address"
},
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"name": "canWithdrawAfter",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"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": "_jobOrKeeper",
"type": "address"
}
],
"name": "dispute",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"name": "disputers",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"name": "disputes",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "fee",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"name": "firstSeen",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_job",
"type": "address"
},
{
"internalType": "uint256",
"name": "_amount",
"type": "uint256"
}
],
"name": "forceLiquidityCreditsToJob",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "governance",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"name": "hasBonded",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "inflationPeriod",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_job",
"type": "address"
}
],
"name": "internalJobLiquidities",
"outputs": [
{
"internalType": "address[]",
"name": "_tokens",
"type": "address[]"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_job",
"type": "address"
}
],
"name": "internalJobLiquidityCredits",
"outputs": [
{
"internalType": "uint256",
"name": "_credits",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_job",
"type": "address"
}
],
"name": "internalJobPeriodCredits",
"outputs": [
{
"internalType": "uint256",
"name": "_credits",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_job",
"type": "address"
}
],
"name": "internalJobTokens",
"outputs": [
{
"internalType": "address[]",
"name": "_tokens",
"type": "address[]"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_job",
"type": "address"
}
],
"name": "jobLiquidityCredits",
"outputs": [
{
"internalType": "uint256",
"name": "_liquidityCredits",
"type": "uint256"
}
],
"stateMutability": "view",
"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"
},
{
"inputs": [
{
"internalType": "address",
"name": "_job",
"type": "address"
}
],
"name": "jobPeriodCredits",
"outputs": [
{
"internalType": "uint256",
"name": "_periodCredits",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "",
"type": "address"
},
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"name": "jobTokenCredits",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "",
"type": "address"
},
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"name": "jobTokenCreditsAddedAt",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "jobs",
"outputs": [
{
"internalType": "address[]",
"name": "_list",
"type": "address[]"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "keep3rHelper",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "keep3rV1",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "keep3rV1Proxy",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "keepers",
"outputs": [
{
"internalType": "address[]",
"name": "_list",
"type": "address[]"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "kp3rWethPool",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "",
"type": "address"
},
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"name": "liquidityAmount",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "liquidityMinimum",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_liquidity",
"type": "address"
}
],
"name": "observeLiquidity",
"outputs": [
{
"components": [
{
"internalType": "int56",
"name": "current",
"type": "int56"
},
{
"internalType": "int56",
"name": "difference",
"type": "int56"
},
{
"internalType": "uint256",
"name": "period",
"type": "uint256"
}
],
"internalType": "struct IKeep3rJobFundableLiquidity.TickCache",
"name": "_tickCache",
"type": "tuple"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "",
"type": "address"
},
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"name": "pendingBonds",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "pendingGovernance",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "",
"type": "address"
},
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"name": "pendingUnbonds",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_liquidity",
"type": "address"
},
{
"internalType": "uint256",
"name": "_amount",
"type": "uint256"
}
],
"name": "quoteLiquidity",
"outputs": [
{
"internalType": "uint256",
"name": "_periodCredits",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_disputer",
"type": "address"
}
],
"name": "removeDisputer",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_slasher",
"type": "address"
}
],
"name": "removeSlasher",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_jobOrKeeper",
"type": "address"
}
],
"name": "resolve",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_liquidity",
"type": "address"
}
],
"name": "revokeLiquidity",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "rewardPeriodTime",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"name": "rewardedAt",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_liquidity",
"type": "address"
}
],
"name": "setApprovedLiquidity",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "_bondTime",
"type": "uint256"
}
],
"name": "setBondTime",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "_fee",
"type": "uint256"
}
],
"name": "setFee",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_governance",
"type": "address"
}
],
"name": "setGovernance",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "_inflationPeriod",
"type": "uint256"
}
],
"name": "setInflationPeriod",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_job",
"type": "address"
},
{
"internalType": "address",
"name": "_liquidity",
"type": "address"
}
],
"name": "setJobLiquidity",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_job",
"type": "address"
},
{
"internalType": "address",
"name": "_token",
"type": "address"
}
],
"name": "setJobToken",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_keep3rHelper",
"type": "address"
}
],
"name": "setKeep3rHelper",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_keep3rV1",
"type": "address"
}
],
"name": "setKeep3rV1",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_keep3rV1Proxy",
"type": "address"
}
],
"name": "setKeep3rV1Proxy",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_kp3rWethPool",
"type": "address"
}
],
"name": "setKp3rWethPool",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "_liquidityMinimum",
"type": "uint256"
}
],
"name": "setLiquidityMinimum",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_liquidity",
"type": "address"
}
],
"name": "setRevokedLiquidity",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "_rewardPeriodTime",
"type": "uint256"
}
],
"name": "setRewardPeriodTime",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "_unbondTime",
"type": "uint256"
}
],
"name": "setUnbondTime",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_job",
"type": "address"
},
{
"internalType": "address",
"name": "_liquidity",
"type": "address"
},
{
"internalType": "uint256",
"name": "_amount",
"type": "uint256"
}
],
"name": "slashLiquidityFromJob",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_job",
"type": "address"
},
{
"internalType": "address",
"name": "_token",
"type": "address"
},
{
"internalType": "uint256",
"name": "_amount",
"type": "uint256"
}
],
"name": "slashTokenFromJob",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"name": "slashers",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_job",
"type": "address"
}
],
"name": "totalJobCredits",
"outputs": [
{
"internalType": "uint256",
"name": "_credits",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_job",
"type": "address"
},
{
"internalType": "address",
"name": "_liquidity",
"type": "address"
},
{
"internalType": "uint256",
"name": "_amount",
"type": "uint256"
}
],
"name": "unbondLiquidityFromJob",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "unbondTime",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_job",
"type": "address"
},
{
"internalType": "address",
"name": "_liquidity",
"type": "address"
},
{
"internalType": "address",
"name": "_receiver",
"type": "address"
}
],
"name": "withdrawLiquidityFromJob",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_job",
"type": "address"
},
{
"internalType": "address",
"name": "_token",
"type": "address"
},
{
"internalType": "uint256",
"name": "_amount",
"type": "uint256"
},
{
"internalType": "address",
"name": "_receiver",
"type": "address"
}
],
"name": "withdrawTokenCreditsFromJob",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"name": "workCompleted",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"name": "workedAt",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
}
],
"bytecode": "0x60806040526203f480601f55621275006020556729a2241af62c000060215562069780602255622cd300602355601e6024553480156200003e57600080fd5b5060405162004993380380620049938339810160408190526200006191620001c4565b6001600055838383833380806200008a5760405162b293ed60e81b815260040160405180910390fd5b601780546001600160a01b03199081166001600160a01b0393841617909155601d80548216888416178155601b80548316888516179055601c80548316878516179055601e8054831686851690811782556000818152600e602052604090819020805490951690911790935590549054915163696a437b60e01b81529183166004830152909116915063696a437b9060240160206040518083038186803b1580156200013557600080fd5b505afa1580156200014a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000170919062000221565b6001600160a01b03919091166000908152600f60205260409020805460ff1916911515919091179055506200024c95505050505050565b80516001600160a01b0381168114620001bf57600080fd5b919050565b60008060008060808587031215620001db57600080fd5b620001e685620001a7565b9350620001f660208601620001a7565b92506200020660408601620001a7565b91506200021660608601620001a7565b905092959194509250565b6000602082840312156200023457600080fd5b815180151581146200024557600080fd5b9392505050565b614737806200025c6000396000f3fe608060405234801561001057600080fd5b506004361061046a5760003560e01c80638fe204dd1161024c578063cb54694d11610146578063ec00cdfc116100c3578063f25e311b11610087578063f25e311b14610b69578063f39c38a014610b7c578063f75f9f7b14610b8f578063fc253d2b14610ba2578063fe75bc4614610bab57600080fd5b8063ec00cdfc14610b07578063ec342ad014610b1a578063f0f346b914610b23578063f11a1d1a14610b36578063f136a09d14610b4957600080fd5b8063deaf81d41161010a578063deaf81d414610a9b578063e01f857c14610aae578063e326ac4314610ac1578063e89aad2814610ae1578063ebbb619414610af457600080fd5b8063cb54694d14610a18578063cd22af1b14610a2b578063d55995fe14610a56578063ddca3f4314610a69578063de55351d14610a7257600080fd5b8063ab033ea9116101d4578063b7e7734011610198578063b7e77340146109a9578063b87fcbff146109bc578063c7ae40d0146109df578063cacdf93d146109f2578063cb4be2bb14610a0557600080fd5b8063ab033ea914610922578063b0103b1a14610935578063b239223314610958578063b440027f1461096b578063b600702a1461099657600080fd5b8063a21458091161021b578063a2145809146108a8578063a39744b5146108bb578063a676f9ff146108e6578063a7d2e78414610906578063aac6aa9c1461090f57600080fd5b80638fe204dd14610851578063951dc22c1461086457806398e90a0f1461086c5780639d5c33d81461089557600080fd5b8063575288bf116103685780636cf262bc116102e55780637b40c913116102a95780637b40c913146107d75780637c8fce23146107ea578063878c723e146107f25780638bb6dfa81461081b5780638cb22b761461082e57600080fd5b80636cf262bc146107825780636e2a9ca61461079557806372da828a146107a857806375a9f7ff146107bb578063768b5d90146107ce57600080fd5b8063633fb68f1161032c578063633fb68f1461071557806364bb43ee1461071e57806368a9f19c14610731578063694798e61461074457806369fe0e2d1461076f57600080fd5b8063575288bf146106c0578063594a3a93146106d357806359a2255e146106e65780635aa6e675146106f95780635ebe23f01461070c57600080fd5b8063168f92e7116103f6578063274a8db4116103ba578063274a8db41461064a578063280b656c1461067d578063461411bc1461069057806352a4de291461069a57806355ea6c47146106ad57600080fd5b8063168f92e7146105a15780631b44555e146105cc5780631ef94b91146105ec57806321040b0114610617578063238efcbc1461064257600080fd5b80630dc602061161043d5780630dc60206146104e85780631101eb411461051157806315006b8214610526578063160e1e3114610551578063165e62e71461056457600080fd5b8063034d4c611461046f57806307b435c2146104955780630c620bce146104c05780630d6a1f87146104d5575b600080fd5b61048261047d36600461420a565b610bbe565b6040519081526020015b60405180910390f35b6104826104a3366004614244565b601260209081526000928352604080842090915290825290205481565b6104c8610cc3565b60405161048c9190614490565b6104826104e336600461435c565b610cd4565b6104826104f636600461420a565b6001600160a01b03166000908152600b602052604090205490565b61052461051f3660046142c8565b610de7565b005b610482610534366004614244565b601060209081526000928352604080842090915290825290205481565b61052461055f36600461420a565b610f41565b61057761057236600461420a565b61109e565b604080518251600690810b825260208085015190910b90820152918101519082015260600161048c565b6104826105af366004614244565b600960209081526000928352604080842090915290825290205481565b6104826105da36600461420a565b60056020526000908152604090205481565b601b546105ff906001600160a01b031681565b6040516001600160a01b03909116815260200161048c565b610482610625366004614244565b601360209081526000928352604080842090915290825290205481565b610524611464565b61066d61065836600461420a565b601a6020526000908152604090205460ff1681565b604051901515815260200161048c565b61052461068b36600461420a565b6114ed565b6104826201518081565b6105246106a83660046142c8565b6114fc565b6105246106bb36600461420a565b61174a565b6105246106ce3660046142c8565b6117fe565b6105246106e1366004614244565b611ab9565b6105246106f436600461420a565b611b5e565b6017546105ff906001600160a01b031681565b610482601f5481565b61048260215481565b61052461072c36600461420a565b611c10565b61052461073f36600461420a565b611c9c565b610482610752366004614244565b602860209081526000928352604080842090915290825290205481565b61052461077d3660046143e6565b611d55565b61048261079036600461420a565b611db5565b6105246107a33660046142c8565b611efd565b6105246107b636600461420a565b612049565b6104c86107c936600461420a565b6120e9565b61048260225481565b601e546105ff906001600160a01b031681565b6104c86121da565b6105ff61080036600461420a565b6001602052600090815260409020546001600160a01b031681565b61048261082936600461420a565b6121e6565b61066d61083c36600461420a565b60146020526000908152604090205460ff1681565b61052461085f3660046143e6565b6122be565b6104c861231c565b6105ff61087a36600461420a565b6002602052600090815260409020546001600