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

1,212 lines (1,211 loc) 25.9 kB
{ "_format": "hh-sol-artifact-1", "contractName": "IKeep3rJobs", "sourceName": "solidity/interfaces/peripherals/IKeep3rJobs.sol", "abi": [ { "inputs": [], "name": "AlreadyAKeeper", "type": "error" }, { "inputs": [], "name": "InsufficientFunds", "type": "error" }, { "inputs": [], "name": "InsufficientJobTokenCredits", "type": "error" }, { "inputs": [], "name": "JobAlreadyAdded", "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": "JobTokenInsufficient", "type": "error" }, { "inputs": [], "name": "JobTokenUnexistent", "type": "error" }, { "inputs": [], "name": "JobUnapproved", "type": "error" }, { "inputs": [], "name": "LiquidityPairApproved", "type": "error" }, { "inputs": [], "name": "LiquidityPairUnapproved", "type": "error" }, { "inputs": [], "name": "LiquidityPairUnexistent", "type": "error" }, { "inputs": [], "name": "OnlyJobOwner", "type": "error" }, { "inputs": [], "name": "OnlyPendingJobOwner", "type": "error" }, { "inputs": [], "name": "TokenUnallowed", "type": "error" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "_job", "type": "address" }, { "indexed": true, "internalType": "address", "name": "_jobOwner", "type": "address" } ], "name": "JobAddition", "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": 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": "uint256", "name": "_gasLeft", "type": "uint256" } ], "name": "KeeperValidation", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "_credit", "type": "address" }, { "indexed": true, "internalType": "address", "name": "_job", "type": "address" }, { "indexed": true, "internalType": "address", "name": "_keeper", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "_amount", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "_gasLeft", "type": "uint256" } ], "name": "KeeperWork", "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": "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": "_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" }, { "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": "_job", "type": "address" } ], "name": "addJob", "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": "_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": [ { "internalType": "address", "name": "_keeper", "type": "address" }, { "internalType": "uint256", "name": "_payment", "type": "uint256" } ], "name": "bondedPayment", "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": "_token", "type": "address" }, { "internalType": "address", "name": "_keeper", "type": "address" }, { "internalType": "uint256", "name": "_amount", "type": "uint256" } ], "name": "directTokenPayment", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_job", "type": "address" }, { "internalType": "uint256", "name": "_amount", "type": "uint256" } ], "name": "forceLiquidityCreditsToJob", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_keeper", "type": "address" }, { "internalType": "address", "name": "_bond", "type": "address" }, { "internalType": "uint256", "name": "_minBond", "type": "uint256" }, { "internalType": "uint256", "name": "_earned", "type": "uint256" }, { "internalType": "uint256", "name": "_age", "type": "uint256" } ], "name": "isBondedKeeper", "outputs": [ { "internalType": "bool", "name": "_isBondedKeeper", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_keeper", "type": "address" } ], "name": "isKeeper", "outputs": [ { "internalType": "bool", "name": "_isKeeper", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_job", "type": "address" } ], "name": "jobLiquidityCredits", "outputs": [ { "internalType": "uint256", "name": "_amount", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_job", "type": "address" } ], "name": "jobOwner", "outputs": [ { "internalType": "address", "name": "_owner", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_job", "type": "address" } ], "name": "jobPendingOwner", "outputs": [ { "internalType": "address", "name": "_pendingOwner", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_job", "type": "address" } ], "name": "jobPeriodCredits", "outputs": [ { "internalType": "uint256", "name": "_amount", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_job", "type": "address" }, { "internalType": "address", "name": "_token", "type": "address" } ], "name": "jobTokenCreditsAddedAt", "outputs": [ { "internalType": "uint256", "name": "_timestamp", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_job", "type": "address" }, { "internalType": "address", "name": "_liquidity", "type": "address" } ], "name": "liquidityAmount", "outputs": [ { "internalType": "uint256", "name": "_amount", "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": "_fromJob", "type": "address" } ], "name": "pendingJobMigrations", "outputs": [ { "internalType": "address", "name": "_toJob", "type": "address" } ], "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": "_liquidity", "type": "address" } ], "name": "revokeLiquidity", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_job", "type": "address" } ], "name": "rewardedAt", "outputs": [ { "internalType": "uint256", "name": "_timestamp", "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": "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": "_job", "type": "address" } ], "name": "totalJobCredits", "outputs": [ { "internalType": "uint256", "name": "_amount", "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": [ { "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": "_keeper", "type": "address" } ], "name": "worked", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_job", "type": "address" } ], "name": "workedAt", "outputs": [ { "internalType": "uint256", "name": "_timestamp", "type": "uint256" } ], "stateMutability": "view", "type": "function" } ], "bytecode": "0x", "deployedBytecode": "0x", "linkReferences": {}, "deployedLinkReferences": {} }