@yfi/keep3r-cli-jobs
Version:
Yearn Keep3r CLI Jobs
2 lines (1 loc) • 13.1 kB
JSON
[{ "inputs": [{ "internalType": "address", "name": "_governor", "type": "address" }, { "internalType": "address", "name": "_mechanicsRegistry", "type": "address" }, { "internalType": "address", "name": "_v2Keeper", "type": "address" }, { "internalType": "uint256", "name": "_workCooldown", "type": "uint256" }, { "internalType": "address", "name": "_keep3r", "type": "address" }, { "internalType": "address", "name": "_keep3rHelper", "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" }, { "internalType": "bool", "name": "_onlyEOA", "type": "bool" }], "stateMutability": "nonpayable", "type": "constructor" }, { "inputs": [], "name": "KeeperNotValid", "type": "error" }, { "inputs": [], "name": "MaxMultiplier", "type": "error" }, { "inputs": [], "name": "NoChangeInPause", "type": "error" }, { "inputs": [], "name": "OnlyEOA", "type": "error" }, { "inputs": [], "name": "OnlyGovernor", "type": "error" }, { "inputs": [], "name": "OnlyGovernorOrMechanic", "type": "error" }, { "inputs": [], "name": "OnlyPendingGovernor", "type": "error" }, { "inputs": [], "name": "Paused", "type": "error" }, { "inputs": [], "name": "StrategyAlreadyAdded", "type": "error" }, { "inputs": [], "name": "StrategyNotAdded", "type": "error" }, { "inputs": [], "name": "StrategyNotWorkable", "type": "error" }, { "inputs": [], "name": "WrongLengths", "type": "error" }, { "inputs": [], "name": "ZeroAddress", "type": "error" }, { "inputs": [], "name": "ZeroCooldown", "type": "error" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "address", "name": "_strategy", "type": "address" }], "name": "ForceWorked", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint256", "name": "_gasBonus", "type": "uint256" }], "name": "GasBonusSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint256", "name": "_initialGas", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "_gasAfterWork", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "_bonus", "type": "uint256" }], "name": "GasMetered", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint256", "name": "_gasMultiplier", "type": "uint256" }], "name": "GasMultiplierSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "address", "name": "_keep3rHelper", "type": "address" }], "name": "Keep3rHelperSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "address", "name": "_bond", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "_minBond", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "_earned", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "_age", "type": "uint256" }], "name": "Keep3rRequirementsSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "address", "name": "_keep3r", "type": "address" }], "name": "Keep3rSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "address", "name": "_strategy", "type": "address" }], "name": "KeeperWorked", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint256", "name": "_maxMultiplier", "type": "uint256" }], "name": "MaxMultiplierSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "bool", "name": "_onlyEOA", "type": "bool" }], "name": "OnlyEOASet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "bool", "name": "_paused", "type": "bool" }], "name": "PauseSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "address", "name": "_newGovernor", "type": "address" }], "name": "PendingGovernorAccepted", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "address", "name": "_governor", "type": "address" }, { "indexed": false, "internalType": "address", "name": "_pendingGovernor", "type": "address" }], "name": "PendingGovernorSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "address", "name": "_strategy", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "_requiredAmount", "type": "uint256" }], "name": "StrategyAdded", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "address", "name": "_strategy", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "_requiredAmount", "type": "uint256" }], "name": "StrategyModified", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "address", "name": "_strategy", "type": "address" }], "name": "StrategyRemoved", "type": "event" }, { "inputs": [], "name": "BASE", "outputs": [{ "internalType": "uint32", "name": "", "type": "uint32" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "acceptPendingGovernor", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address[]", "name": "_strategies", "type": "address[]" }, { "internalType": "uint256[]", "name": "_requiredAmounts", "type": "uint256[]" }], "name": "addStrategies", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_strategy", "type": "address" }, { "internalType": "uint256", "name": "_requiredAmount", "type": "uint256" }], "name": "addStrategy", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_strategy", "type": "address" }], "name": "forceWork", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "gasBonus", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "gasMultiplier", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "governor", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_mechanic", "type": "address" }], "name": "isMechanic", "outputs": [{ "internalType": "bool", "name": "_isMechanic", "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "keep3r", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "keep3rHelper", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "", "type": "address" }], "name": "lastWorkAt", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "maxMultiplier", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "mechanicsRegistry", "outputs": [{ "internalType": "address", "name": "_mechanicRegistry", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "onlyEOA", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "paused", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "pendingGovernor", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_strategy", "type": "address" }], "name": "removeStrategy", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "requiredAge", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "", "type": "address" }], "name": "requiredAmount", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "requiredBond", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "requiredEarnings", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "requiredMinBond", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "_gasBonus", "type": "uint256" }], "name": "setGasBonus", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "_gasMultiplier", "type": "uint256" }], "name": "setGasMultiplier", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_keep3r", "type": "address" }], "name": "setKeep3r", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_keep3rHelper", "type": "address" }], "name": "setKeep3rHelper", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "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": "setKeep3rRequirements", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "_maxMultiplier", "type": "uint256" }], "name": "setMaxMultiplier", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_mechanicsRegistry", "type": "address" }], "name": "setMechanicsRegistry", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "bool", "name": "_onlyEOA", "type": "bool" }], "name": "setOnlyEOA", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "bool", "name": "_paused", "type": "bool" }], "name": "setPause", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_pendingGovernor", "type": "address" }], "name": "setPendingGovernor", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_v2Keeper", "type": "address" }], "name": "setV2Keeper", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "_workCooldown", "type": "uint256" }], "name": "setWorkCooldown", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "strategies", "outputs": [{ "internalType": "address[]", "name": "_strategies", "type": "address[]" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_strategy", "type": "address" }, { "internalType": "uint256", "name": "_requiredAmount", "type": "uint256" }], "name": "updateRequiredAmount", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address[]", "name": "_strategies", "type": "address[]" }, { "internalType": "uint256[]", "name": "_requiredAmounts", "type": "uint256[]" }], "name": "updateRequiredAmounts", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "v2Keeper", "outputs": [{ "internalType": "contract IV2Keeper", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_strategy", "type": "address" }], "name": "work", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "workCooldown", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_strategy", "type": "address" }], "name": "workable", "outputs": [{ "internalType": "bool", "name": "_isWorkable", "type": "bool" }], "stateMutability": "view", "type": "function" }]