@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
2,065 lines • 112 kB
JSON
{
"_format": "hh-sol-artifact-1",
"contractName": "Keep3rJobMigrationForTest",
"sourceName": "solidity/for-test/peripherals/jobs/Keep3rJobMigrationForTest.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": "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": "JobMigrationImpossible",
"type": "error"
},
{
"inputs": [],
"name": "JobMigrationLocked",
"type": "error"
},
{
"inputs": [],
"name": "JobMigrationUnavailable",
"type": "error"
},
{
"inputs": [],
"name": "JobTokenCreditsLocked",
"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": "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": 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": "_fromJob",
"type": "address"
},
{
"indexed": false,
"internalType": "address",
"name": "_toJob",
"type": "address"
}
],
"name": "JobMigrationRequested",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "_fromJob",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "_toJob",
"type": "address"
}
],
"name": "JobMigrationSuccessful",
"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": 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": 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": "acceptGovernance",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_fromJob",
"type": "address"
},
{
"internalType": "address",
"name": "_toJob",
"type": "address"
}
],
"name": "acceptJobMigration",
"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": "",
"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": "isJob",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"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": "_fromJob",
"type": "address"
},
{
"internalType": "address",
"name": "_toJob",
"type": "address"
}
],
"name": "migrateJob",
"outputs": [],
"stateMutability": "nonpayable",
"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"
}
],
"name": "pendingJobMigrations",
"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": "_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": "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": "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": "",
"type": "address"
}
],
"name": "settleJobAccountanceCallCount",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"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"
}
],
"name": "viewJobLiquidityCredits",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_job",
"type": "address"
}
],
"name": "viewJobLiquidityList",
"outputs": [
{
"internalType": "address[]",
"name": "_list",
"type": "address[]"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_job",
"type": "address"
}
],
"name": "viewJobPeriodCredits",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_job",
"type": "address"
}
],
"name": "viewJobTokenListLength",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_fromJob",
"type": "address"
},
{
"internalType": "address",
"name": "_toJob",
"type": "address"
}
],
"name": "viewMigrationCreatedAt",
"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": "0x60806040526203f480601f55621275006020556729a2241af62c000060215562069780602255622cd300602355601e6024553480156200003e57600080fd5b50604051620044aa380380620044aa8339810160408190526200006191620001c4565b6001600055838383833380806200008a5760405162b293ed60e81b815260040160405180910390fd5b601780546001600160a01b03199081166001600160a01b0393841617909155601d80548216888416178155601b80548316888516179055601c80548316878516179055601e8054831686851690811782556000818152600e602052604090819020805490951690911790935590549054915163696a437b60e01b81529183166004830152909116915063696a437b9060240160206040518083038186803b1580156200013557600080fd5b505afa1580156200014a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000170919062000221565b6001600160a01b03919091166000908152600f60205260409020805460ff1916911515919091179055506200024c95505050505050565b80516001600160a01b0381168114620001bf57600080fd5b919050565b60008060008060808587031215620001db57600080fd5b620001e685620001a7565b9350620001f660208601620001a7565b92506200020660408601620001a7565b91506200021660608601620001a7565b905092959194509250565b6000602082840312156200023457600080fd5b815180151581146200024557600080fd5b9392505050565b61424e806200025c6000396000f3fe608060405234801561001057600080fd5b50600436106103945760003560e01c8063951dc22c116101e1578063cb4be2bb1161010b578063cb4be2bb1461094a578063cb54694d1461095d578063cd22af1b14610970578063d55995fe1461099b578063ddca3f43146109ae578063e01f857c146109b7578063e326ac43146109ca578063e7f0cbf8146109ea578063ebbb619414610a13578063ec00cdfc14610a26578063ec8ca64314610a39578063f0f346b914610a62578063f11a1d1a14610a75578063f136a09d14610a88578063f22150c814610aa8578063f39c38a014610abb578063f6bb203214610ace578063fc253d2b14610af7578063fe75bc4614610b0057600080fd5b8063951dc22c1461075d57806398e90a0f146107655780639d5c33d81461078e578063a2145809146107a1578063a39744b5146107b4578063a676f9ff146107df578063a7d2e784146107ff578063aac6aa9c14610808578063ab033ea91461081b578063af320e811461082e578063b0103b1a14610841578063b239223314610864578063b440027f14610877578063b600702a146108a2578063b7e77340146108b5578063b87fcbff146108c8578063bea2b827146108eb578063c7ae40d014610924578063cacdf93d1461093757600080fd5b806359a2255e116102c257806359a2255e146105d25780635aa6e675146105e55780635ebe23f0146105f8578063633fb68f1461060157806364bb43ee1461060a57806368a9f19c1461061d578063694798e61461063057806369fe0e2d1461065b5780636cf262bc1461066e57806372da828a14610681578063768b5d90146106945780637b40c9131461069d5780637c8fce23146106b0578063878c723e146106b85780638bb6dfa8146106e15780638cb22b76146106f45780638fe204dd146107175780639035654f1461072a57806390a4684e1461074a57600080fd5b8063034d4c611461039957806307b435c2146103bf5780630c620bce146103ea5780630d6a1f87146103ff5780631101eb411461041257806315006b8214610427578063160e1e3114610452578063165e62e714610465578063168f92e7146104a25780631b44555e146104cd5780631cd5c01f146104ed5780631ef94b911461051057806321040b0114610530578063238efcbc1461055b578063274a8db41461056357806346d8908d1461058657806352a4de2914610599578063575288bf146105ac578063594a3a93146105bf575b600080fd5b6103ac6103a7366004613d0a565b610b13565b6040519081526020015b60405180910390f35b6103ac6103cd366004613d44565b601260209081526000928352604080842090915290825290205481565b6103f2610c19565b6040516103b69190613fa4565b6103ac61040d366004613e5c565b610c2a565b610425610420366004613dc8565b610d30565b005b6103ac610435366004613d44565b601060209081526000928352604080842090915290825290205481565b610425610460366004613d0a565b610e8a565b610478610473366004613d0a565b610ff0565b604080518251600690810b825260208085015190910b9082015291810151908201526060016103b6565b6103ac6104b0366004613d44565b600960209081526000928352604080842090915290825290205481565b6103ac6104db366004613d0a565b60056020526000908152604090205481565b6105006104fb366004613d0a565b6113b6565b60405190151581526020016103b6565b601b54610523906001600160a01b031681565b6040516103b69190613f34565b6103ac61053e366004613d44565b601360209081526000928352604080842090915290825290205481565b6104256113c3565b610500610571366004613d0a565b601a6020526000908152604090205460ff1681565b6103f2610594366004613d0a565b61144f565b6104256105a7366004613dc8565b611473565b6104256105ba366004613dc8565b6116c1565b6104256105cd366004613d44565b611984565b6104256105e0366004613d0a565b611a29565b601754610523906001600160a01b031681565b6103ac601f5481565b6103ac60215481565b610425610618366004613d0a565b611adb565b61042561062b366004613d0a565b611b5d565b6103ac61063e366004613d44565b602860209081526000928352604080842090915290825290205481565b610425610669366004613ee6565b611c15565b6103ac61067c366004613d0a565b611c75565b61042561068f366004613d0a565b611dab565b6103ac60225481565b601e54610523906001600160a01b031681565b6103f2611e48565b6105236106c6366004613d0a565b6001602052600090815260409020546001600160a01b031681565b6103ac6106ef366004613d0a565b611e54565b610500610702366004613d0a565b60146020526000908152604090205460ff1681565b610425610725366004613ee6565b611ef7565b6103ac610738366004613d0a565b602e6020526000908152604090205481565b610425610758366004613d44565b611f55565b6103f2612043565b610523610773366004613d0a565b6002602052600090815260409020546001600160a01b031681565b61042561079c366004613d0a565b61204f565b6104256107af366004613d7d565b612107565b6103ac6107c2366004613d44565b600860209081526000928352604080842090915290825290205481565b6103ac6107ed366004613d0a565b60296020526000908152604090205481565b6103ac60205481565b610425610816366004613d0a565b6122d7565b610425610829366004613d0a565b61238b565b61042561083c366004613d44565b612401565b61050061084f366004613d0a565b60076020526000908152604090205460ff1681565b610425610872366004613ee6565b612880565b6103ac610885366004613d44565b602560209081526000928352604080842090915290825290205481565b6104256108b0366004613d0a565b6128e0565b6104256108c3366004613ee6565b612b05565b6105006108d6366004613d0a565b60196020526000908152604090205460ff1681565b6103ac6108f9366004613d44565b6001600160a01b039182166000908152602d6020908152604080832093909416825291909152205490565b601c54610523906001600160a01b031681565b610425610945366004613d44565b612b65565b610425610958366004613d0a565b612b8c565b61042561096b366004613ee6565b612c29565b6103ac61097e366004613d44565b601160209081526000928352604080842090915290825290205481565b6104256109a9366004613e09565b612cad565b6103ac60245481565b6104256109c5366004613d44565b612ee4565b6103ac6109d8366004613d0a565b60066020526000908152604090205481565b6103ac6109f8366004613d0a565b6001600160a01b03166000908152600a602052604090205490565b610425610a21366004613ee6565b612f06565b610425610a34366004613d0a565b612f66565b610523610a47366004613d0a565b602c602052600090815260409020546001600160a01b031681565b610425610a70366004613d0a565b613003565b601d54610523906001600160a01b031681565b6103ac610a96366004613d0a565b602a6020526000908152604090205481565b6103ac610ab6366004613d0a565b6130b7565b601854610523906001600160a01b031681565b6103ac610adc366004613d0a565b6001600160a01b03166000908152600b602052604090205490565b6103ac60235481565b610425610b0e366004613e5c565b6130d8565b600080610b1f83611c75565b6022549091504290610b3a90610b35908361410f565b6131c8565b6001600160a01b0385166000908152602960205260409020541115610bde576022546001600160a01b038516600090815260296020526040902054610b7f904261410f565b10610bbb576022546001600160a01b038516600090815260296020526040902054610baa9190614074565b610bb4908261410f565b9050610bf4565b6001600160a01b038416600090815260296020526040902054610bb490826