PPAgentV2
Verified contract
Active on
Ethereum with 545 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($11,586.04)
Native
Value
$11,586.04
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
ETH | Native | 2.886408 | $4,014.00 |
$11,586.04 |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 16167410 | 2 years ago | | | 0 | 0.00079218848 | |
| 16167394 | 2 years ago | | | 0 | 0.0011008935 | |
| 16091023 | 2 years ago | | | 0 | 0.00096226188 | |
| 16091006 | 2 years ago | | | 0 | 0.00078974022 | |
| 16090994 | 2 years ago | | | 0 | 0.00094684416 | |
| 16090940 | 2 years ago | | | 0 | 0.00061963971 | |
| 16090932 | 2 years ago | | | 0 | 0.0011344033 | |
| 16053815 | 2 years ago | | | 0 | 0.00077969738 | |
| 16053565 | 2 years ago | | | 0 | 0.00038368003 | |
| 16053561 | 2 years ago | | | 0 | 0.00039688914 |
ABI
ABI objects
Getter at block 21421819
CVP() view returns (address)
0x38e4adb44ef08f22f5b5b76a8f0c2d0dcbe7dca1
VERSION() view returns (string)
2.1.0
getConfig() view returns (uint256 minKeeperCvp_, uint256 pendingWithdrawalTimeoutSeconds_, uint256 feeTotal_, uint256 feePpm_, uint256 lastKeeperId_)
(minKeeperCvp_=1000000000000000000000, pendingWithdrawalTimeoutSeconds_=60, feeTotal_=0, feePpm_=0, lastKeeperId_=7)
owner() view returns (address)
0xb258302c3f209491d604165549079680708581cc
Read-only
calculateCompensationPure(uint256 rewardPct_, uint256 fixedReward_, uint256 blockBaseFee_, uint256 gasUsed_) pure returns (uint256)
getJob(bytes32 jobKey_) view returns (address owner, address pendingTransfer, uint256 jobLevelMinKeeperCvp, struct IPPAgentV2ViewerJob details, bytes preDefinedCalldata, struct IPPAgentV2ViewerResolver resolver)
getJobKey(address jobAddress_, uint256 jobId_) pure returns (bytes32 jobKey)
getJobRaw(bytes32 jobKey_) view returns (uint256 rawJob)
getKeeper(uint256 keeperId_) view returns (address admin, address worker, uint256 currentStake, uint256 slashedStake, uint256 compensation, uint256 pendingWithdrawalAmount, uint256 pendingWithdrawalEndAt)
getKeeperWorkerAndStake(uint256 keeperId_) view returns (address worker, uint256 currentStake)
jobLastIds(address) view returns (uint256)
jobOwnerCredits(address) view returns (uint256)
workerKeeperIds(address) view returns (uint256)
State-modifying
Events acceptJobTransfer(bytes32 jobKey_)
depositJobCredits(bytes32 jobKey_) payable
depositJobOwnerCredits(address for_) payable
execute_44g58pv()
finalizeRedeem(uint256 keeperId_, address to_) returns (uint256 redeemedCvp)
initiateJobTransfer(bytes32 jobKey_, address to_)
initiateRedeem(uint256 keeperId_, uint256 amount_) returns (uint256 pendingWithdrawalAfter)
registerAsKeeper(address worker_, uint256 initialDepositAmount_) returns (uint256 keeperId)
registerJob(struct PPAgentV2RegisterJobParams params_, struct IPPAgentV2ViewerResolver resolver_, bytes preDefinedCalldata_) payable returns (bytes32 jobKey, uint256 jobId)
renounceOwnership()
setAgentParams(uint256 minKeeperCvp_, uint256 timeoutSeconds_, uint256 feePpm_)
setJobConfig(bytes32 jobKey_, bool isActive_, bool useJobOwnerCredits_, bool assertResolverSelector_)
setJobPreDefinedCalldata(bytes32 jobKey_, bytes preDefinedCalldata_)
setJobResolver(bytes32 jobKey_, struct IPPAgentV2ViewerResolver resolver_)
setWorkerAddress(uint256 keeperId_, address worker_)
slash(uint256 keeperId_, address to_, uint256 currentAmount_, uint256 pendingAmount_)
stake(uint256 keeperId_, uint256 amount_)
transferOwnership(address newOwner)
updateJob(bytes32 jobKey_, uint16 maxBaseFeeGwei_, uint16 rewardPct_, uint32 fixedReward_, uint256 jobMinCvp_, uint24 intervalSeconds_)
withdrawCompensation(uint256 keeperId_, address to_, uint256 amount_)
withdrawFees(address to_)
withdrawJobCredits(bytes32 jobKey_, address to_, uint256 amount_)
withdrawJobOwnerCredits(address to_, uint256 amount_)
AcceptJobTransfer(bytes32 indexed jobKey_, address indexed to_)
DepositJobCredits(bytes32 indexed jobKey, address indexed depositor, uint256 amount, uint256 fee)
DepositJobOwnerCredits(address indexed jobOwner, address indexed depositor, uint256 amount, uint256 fee)
Execute(bytes32 indexed jobKey, address indexed job, uint256 keeperId, uint256 gasUsed, uint256 baseFee, uint256 gasPrice, uint256 compensation, bytes32 binJobAfter)
FinalizeRedeem(uint256 indexed keeperId, address indexed beneficiary, uint256 amount)
InitiateJobTransfer(bytes32 indexed jobKey, address indexed from, address indexed to)
InitiateRedeem(uint256 indexed keeperId, uint256 redeemAmount, uint256 stakeAmount, uint256 slashedStakeAmount)
JobUpdate(bytes32 indexed jobKey, uint256 maxBaseFeeGwei, uint256 rewardPct, uint256 fixedReward, uint256 jobMinCvp, uint256 intervalSeconds)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
RegisterAsKeeper(uint256 indexed keeperId, address indexed keeperAdmin, address indexed keeperWorker)
RegisterJob(bytes32 indexed jobKey, address indexed jobAddress, uint256 indexed jobId, address owner, struct PPAgentV2RegisterJobParams params)
SetAgentParams(uint256 minKeeperCvp_, uint256 timeoutSeconds_, uint256 feePct_)
SetJobConfig(bytes32 indexed jobKey, bool isActive_, bool useJobOwnerCredits_, bool assertResolverSelector_)
SetJobPreDefinedCalldata(bytes32 indexed jobKey, bytes preDefinedCalldata)
SetJobResolver(bytes32 indexed jobKey, address resolverAddress, bytes resolverCalldata)
SetWorkerAddress(uint256 indexed keeperId, address indexed prev, address indexed worker)
Slash(uint256 indexed keeperId, address indexed to, uint256 currentAmount, uint256 pendingAmount)
Stake(uint256 indexed keeperId, uint256 amount, address staker)
WithdrawCompensation(uint256 indexed keeperId, address indexed to, uint256 amount)
WithdrawFees(address indexed to, uint256 amount)
WithdrawJobCredits(bytes32 indexed jobKey, address indexed owner, address indexed to, uint256 amount)
WithdrawJobOwnerCredits(address indexed jobOwner, address indexed to, uint256 amount)
constructor(address owner_, address cvp_, uint256 minKeeperCvp_, uint256 pendingWithdrawalTimeoutSeconds_)
This contract contains no fallback and receive objects.
AmountGtStake(uint256 wanted, uint256 actualStake, uint256 actualSlashedStake)
BaseFeeGtGasPrice(uint256 baseFee, uint256 jobMaxBaseFeeGwei)
CreditsDepositOverflow()
CreditsWithdrawalUnderflow()
FeeTooBig()
InactiveJob(bytes32 jobKey)
InsufficientAmount()
InsufficientAmountToCoverSlashedStake(uint256 wanted, uint256 actual)
InsufficientJobCredits(uint256 actual, uint256 wanted)
InsufficientJobOwnerCredits(uint256 actual, uint256 wanted)
InsufficientJobScopedKeeperStake()
InsufficientKeeperStake()
IntervalNotReached(uint256 lastExecutedAt, uint256 interval, uint256 _now)
InvalidCalldataSource()
InvalidJobAddress()
JobCallRevertedWithoutDetails()
JobIdOverflow()
JobShouldHaveInterval()
JobWithoutOwner()
KeeperWorkerNotAuthorized()
MissingAmount()
MissingDeposit()
MissingInputCalldata()
MissingJobAddress()
MissingMaxBaseFeeGwei()
MissingResolverAddress()
NoFixedNorPremiumPctReward()
NoPendingWithdrawal()
NonEOASender()
NotSupportedByJobCalldataSource()
OnlyJobOwner()
OnlyKeeperAdmin()
OnlyKeeperAdminOrWorker()
OnlyOwner()
OnlyPendingOwner()
SelectorCheckFailed()
TimeoutTooBig()
WithdrawAmountExceedsAvailable(uint256 wanted, uint256 actual)
WithdrawalTimoutNotReached()
WorkerAlreadyAssigned()