Verified contractPartialMIT
CrvStrategyKeep3rJob
Address0x02027bda2425204f152b8aa35fb78687d65e1af5
- Balance
0 ETH
- Transactions
972
- Compiler
solc 0.6.12
- Same code
Only this contract
Details
- Compiler
- solc 0.6.12+commit.27d51765
- Language
- solidity
- Optimization
- Yes, 200 runs
- EVM version
- istanbul
- License
- MIT
- Match
- Partialcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 12,116,193
- Creation transaction
- 0x0ce114cfc3…a4399c2b1a
Read23
- ETH_ADDRESS() → (address)
- MAX_REWARD_MULTIPLIER() → (uint256)
- PRECISION() → (uint256)
- age() → (uint256)
- bond() → (address)
- earned() → (uint256)
- governor() → (address)
- harvestCooldown() → (uint256)
- isGovernor(address) → (bool)
- isMechanic(address) → (bool)
- keep3r() → (address)
- lastHarvest() → (uint256)
- lastWorkAt(address) → (uint256)
- maxHarvestPeriod() → (uint256)
- mechanicsRegistry() → (address)
- minBond() → (uint256)
- onlyEOA() → (bool)
- paused() → (bool)
- pendingGovernor() → (address)
- requiredEarn(address) → (uint256)
- requiredHarvest(address) → (uint256)
- rewardMultiplier() → (uint256)
- strategies() → (address[])
Write21
- acceptGovernor()
- addStrategies(address[],uint256[],uint256[])
- addStrategy(address,uint256,uint256)
- calculateHarvest(address) → (uint256)
- forceWork(address)
- pause(bool)
- removeStrategy(address)
- sendDust(address,address,uint256)
- setHarvestCooldown(uint256)
- setKeep3r(address)
- setKeep3rRequirements(address,uint256,uint256,uint256,bool)
- setMaxHarvestPeriod(uint256)
- setMechanicsRegistry(address)
- setPendingGovernor(address)
- setRewardMultiplier(uint256)
- updateStrategies(address[],uint256[],uint256[])
- updateStrategy(address,uint256,uint256)
- work(address) → (uint256)
- workForBond(address) → (uint256)
- workForTokens(address) → (uint256)
- workable(address) → (bool)
Events12
- DustSent(address,address,uint256)
- ForceWorked(address)
- GovernorAccepted()
- Keep3rRequirementsSet(address,uint256,uint256,uint256,bool)
- Keep3rSet(address)
- Paused(bool)
- PendingGovernorSet(address)
- SetRewardMultiplier(uint256)
- StrategyAdded(address,uint256,uint256)
- StrategyModified(address,uint256,uint256)
- StrategyRemoved(address)
- Worked(address,address,uint256,bool)
ABI as JSON
[
{
"type": "constructor",
"inputs": [
{
"name": "_mechanicsRegistry",
"type": "address",
"internalType": "address"
},
{
"name": "_keep3r",
"type": "address",
"internalType": "address"
},
{
"name": "_bond",
"type": "address",
"internalType": "address"
},
{
"name": "_minBond",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "_earned",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "_age",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "_onlyEOA",
"type": "bool",
"internalType": "bool"
},
{
"name": "_maxHarvestPeriod",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "_harvestCooldown",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "nonpayable"
},
{
"name": "DustSent",
"type": "event",
"inputs": [
{
"name": "_to",
"type": "address",
"indexed": false,
"internalType": "address"
},
{
"name": "token",
"type": "address",
"indexed": false,
"internalType": "address"
},
{
"name": "amount",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"name": "ForceWorked",
"type": "event",
"inputs": [
{
"name": "_strategy",
"type": "address",
"indexed": false,
"internalType": "address"
}
],
"anonymous": false
},
{
"name": "GovernorAccepted",
"type": "event",
"inputs": [],
"anonymous": false
},
{
"name": "Keep3rRequirementsSet",
"type": "event",
"inputs": [
{
"name": "_bond",
"type": "address",
"indexed": false,
"internalType": "address"
},
{
"name": "_minBond",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
},
{
"name": "_earned",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
},
{
"name": "_age",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
},
{
"name": "_onlyEOA",
"type": "bool",
"indexed": false,
"internalType": "bool"
}
],
"anonymous": false
},
{
"name": "Keep3rSet",
"type": "event",
"inputs": [
{
"name": "_keep3r",
"type": "address",
"indexed": false,
"internalType": "address"
}
],
"anonymous": false
},
{
"name": "Paused",
"type": "event",
"inputs": [
{
"name": "_paused",
"type": "bool",
"indexed": false,
"internalType": "bool"
}
],
"anonymous": false
},
{
"name": "PendingGovernorSet",
"type": "event",
"inputs": [
{
"name": "pendingGovernor",
"type": "address",
"indexed": false,
"internalType": "address"
}
],
"anonymous": false
},
{
"name": "SetRewardMultiplier",
"type": "event",
"inputs": [
{
"name": "_rewardMultiplier",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"name": "StrategyAdded",
"type": "event",
"inputs": [
{
"name": "_strategy",
"type": "address",
"indexed": false,
"internalType": "address"
},
{
"name": "_requiredHarvest",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
},
{
"name": "_requiredEarn",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"name": "StrategyModified",
"type": "event",
"inputs": [
{
"name": "_strategy",
"type": "address",
"indexed": false,
"internalType": "address"
},
{
"name": "_requiredHarvest",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
},
{
"name": "_requiredEarn",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"name": "StrategyRemoved",
"type": "event",
"inputs": [
{
"name": "_strategy",
"type": "address",
"indexed": false,
"internalType": "address"
}
],
"anonymous": false
},
{
"name": "Worked",
"type": "event",
"inputs": [
{
"name": "_strategy",
"type": "address",
"indexed": false,
"internalType": "address"
},
{
"name": "_keeper",
"type": "address",
"indexed": false,
"internalType": "address"
},
{
"name": "_credits",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
},
{
"name": "_workForTokens",
"type": "bool",
"indexed": false,
"internalType": "bool"
}
],
"anonymous": false
},
{
"name": "ETH_ADDRESS",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"name": "MAX_REWARD_MULTIPLIER",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "PRECISION",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "acceptGovernor",
"type": "function",
"inputs": [],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "addStrategies",
"type": "function",
"inputs": [
{
"name": "_strategies",
"type": "address[]",
"internalType": "address[]"
},
{
"name": "_requiredHarvests",
"type": "uint256[]",
"internalType": "uint256[]"
},
{
"name": "_requiredEarns",
"type": "uint256[]",
"internalType": "uint256[]"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "addStrategy",
"type": "function",
"inputs": [
{
"name": "_strategy",
"type": "address",
"internalType": "address"
},
{
"name": "_requiredHarvest",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "_requiredEarn",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "age",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "bond",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"name": "calculateHarvest",
"type": "function",
"inputs": [
{
"name": "_strategy",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "_amount",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "nonpayable"
},
{
"name": "earned",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "forceWork",
"type": "function",
"inputs": [
{
"name": "_strategy",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "governor",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"name": "harvestCooldown",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "isGovernor",
"type": "function",
"inputs": [
{
"name": "_account",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "_isGovernor",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "view"
},
{
"name": "isMechanic",
"type": "function",
"inputs": [
{
"name": "_mechanic",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "_isMechanic",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "view"
},
{
"name": "keep3r",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "_keep3r",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"name": "lastHarvest",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "lastWorkAt",
"type": "function",
"inputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "maxHarvestPeriod",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "mechanicsRegistry",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "_mechanicRegistry",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"name": "minBond",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "onlyEOA",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "view"
},
{
"name": "pause",
"type": "function",
"inputs": [
{
"name": "_paused",
"type": "bool",
"internalType": "bool"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "paused",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "view"
},
{
"name": "pendingGovernor",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"name": "removeStrategy",
"type": "function",
"inputs": [
{
"name": "_strategy",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "requiredEarn",
"type": "function",
"inputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "requiredHarvest",
"type": "function",
"inputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "rewardMultiplier",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "sendDust",
"type": "function",
"inputs": [
{
"name": "_to",
"type": "address",
"internalType": "address"
},
{
"name": "_token",
"type": "address",
"internalType": "address"
},
{
"name": "_amount",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "setHarvestCooldown",
"type": "function",
"inputs": [
{
"name": "_harvestCooldown",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "setKeep3r",
"type": "function",
"inputs": [
{
"name": "_keep3r",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "setKeep3rRequirements",
"type": "function",
"inputs": [
{
"name": "_bond",
"type": "address",
"internalType": "address"
},
{
"name": "_minBond",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "_earned",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "_age",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "_onlyEOA",
"type": "bool",
"internalType": "bool"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "setMaxHarvestPeriod",
"type": "function",
"inputs": [
{
"name": "_maxHarvestPeriod",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "setMechanicsRegistry",
"type": "function",
"inputs": [
{
"name": "_mechanicsRegistry",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "setPendingGovernor",
"type": "function",
"inputs": [
{
"name": "_pendingGovernor",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "setRewardMultiplier",
"type": "function",
"inputs": [
{
"name": "_rewardMultiplier",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "strategies",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "_strategies",
"type": "address[]",
"internalType": "address[]"
}
],
"stateMutability": "view"
},
{
"name": "updateStrategies",
"type": "function",
"inputs": [
{
"name": "_strategies",
"type": "address[]",
"internalType": "address[]"
},
{
"name": "_requiredHarvests",
"type": "uint256[]",
"internalType": "uint256[]"
},
{
"name": "_requiredEarns",
"type": "uint256[]",
"internalType": "uint256[]"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "updateStrategy",
"type": "function",
"inputs": [
{
"name": "_strategy",
"type": "address",
"internalType": "address"
},
{
"name": "_requiredHarvest",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "_requiredEarn",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "work",
"type": "function",
"inputs": [
{
"name": "_strategy",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "_credits",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "nonpayable"
},
{
"name": "workForBond",
"type": "function",
"inputs": [
{
"name": "_strategy",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "_credits",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "nonpayable"
},
{
"name": "workForTokens",
"type": "function",
"inputs": [
{
"name": "_strategy",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "_credits",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "nonpayable"
},
{
"name": "workable",
"type": "function",
"inputs": [
{
"name": "_strategy",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "nonpayable"
}
]Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.