PPAgentV2Randao
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
17
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
7 additional
variables
Balances ($0.00)
No balances found for "PPAgentV2Randao"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "PPAgentV2Randao"
ABI
ABI objects
Getter at block 21276021
CVP() view returns (address)
0xa993d7bb4397f0e18fd292c4bb1bd75e504d8eed
VERSION() view returns (string)
2.5.0
getActiveKeepers() view returns (uint256[])
[]
getActiveKeepersLength() view returns (uint256)
0
getConfig() view returns (uint256 minKeeperCvp_, uint256 pendingWithdrawalTimeoutSeconds_, uint256 feeTotal_, uint256 feePpm_, uint256 lastKeeperId_)
(minKeeperCvp_=0, pendingWithdrawalTimeoutSeconds_=0, feeTotal_=0, feePpm_=0, lastKeeperId_=0)
getRdConfig() view returns (struct IPPAgentV2RandaoViewerRandaoConfig)
(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
getStrategy() pure returns (string)
randao
owner() view returns (address)
0x29bff390fc12c900aaf0f2e51c06675df691337a
Read-only
calculateCompensation(bool ok_, uint256 job_, uint256 keeperId_, uint256 baseFee_, uint256 gasUsed_) view returns (uint256)
calculateCompensationPure(uint256 rewardPct_, uint256 fixedReward_, uint256 blockBaseFee_, uint256 gasUsed_) pure returns (uint256)
getCurrentSlasherId(bytes32 jobKey_) view 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)
getJobsAssignedToKeeper(uint256 keeperId_) view returns (bytes32[] actualJobKeys)
getJobsAssignedToKeeperLength(uint256 keeperId_) view returns (uint256)
getKeeper(uint256 keeperId_) view returns (address admin, address worker, bool isActive, uint256 currentStake, uint256 slashedStake, uint256 compensation, uint256 pendingWithdrawalAmount, uint256 pendingWithdrawalEndAt)
getKeeperWorkerAndStake(uint256 keeperId_) view returns (address worker, uint256 currentStake, bool isActive)
getSlasherIdByBlock(uint256 blockNumber_, bytes32 jobKey_) view returns (uint256)
jobCreatedAt(bytes32) view returns (uint256)
jobLastIds(address) view returns (uint256)
jobNextKeeperId(bytes32) view returns (uint256)
jobOwnerCredits(address) view returns (uint256)
jobReservedSlasherId(bytes32) view returns (uint256)
jobSlashingPossibleAfter(bytes32) view returns (uint256)
keeperActivationCanBeFinalizedAt(uint256) view returns (uint256)
workerKeeperIds(address) view returns (uint256)
State-modifying
Events acceptJobTransfer(bytes32 jobKey_)
assignKeeper(bytes32[] jobKeys_)
checkCouldBeExecuted(address jobAddress_, bytes jobCalldata_)
depositJobCredits(bytes32 jobKey_) payable
depositJobOwnerCredits(address for_) payable
depositJobOwnerCreditsAndAssignKeepers(address for_, bytes32[] jobKeys_) payable
disableKeeper(uint256 keeperId_)
execute_44g58pv()
finalizeKeeperActivation(uint256 keeperId_)
finalizeRedeem(uint256 keeperId_, address to_) returns (uint256 redeemedCvp)
initialize(address owner_, uint256 minKeeperCvp_, uint256 pendingWithdrawalTimeoutSeconds_)
initializeRandao(address owner_, uint256 minKeeperCvp_, uint256 pendingWithdrawalTimeoutSeconds_, struct IPPAgentV2RandaoViewerRandaoConfig rdConfig_)
initiateJobTransfer(bytes32 jobKey_, address to_)
initiateKeeperActivation(uint256 keeperId_)
initiateKeeperSlashing(address jobAddress_, uint256 jobId_, uint256 slasherKeeperId_, bool useResolver_, bytes jobCalldata_)
initiateRedeem(uint256 keeperId_, uint256 amount_) returns (uint256 pendingWithdrawalAfter)
ownerSlash(uint256 keeperId_, address to_, uint256 currentAmount_, uint256 pendingAmount_)
ownerSlashDisable(uint256 keeperId_, address to_, uint256 currentAmount_, uint256 pendingAmount_, bool disable_)
registerAsKeeper(address worker_, uint256 initialDepositAmount_) returns (uint256 keeperId)
registerJob(struct IPPAgentV2JobOwnerRegisterJobParams params_, struct IPPAgentV2ViewerResolver resolver_, bytes preDefinedCalldata_) payable returns (bytes32 jobKey, uint256 jobId)
releaseJob(bytes32 jobKey_)
renounceOwnership()
setAgentParams(uint256 minKeeperCvp_, uint256 timeoutSeconds_, uint256 feePpm_)
setJobConfig(bytes32 jobKey_, bool isActive_, bool useJobOwnerCredits_, bool assertResolverSelector_, bool callResolverBeforeExecute_)
setJobPreDefinedCalldata(bytes32 jobKey_, bytes preDefinedCalldata_)
setJobResolver(bytes32 jobKey_, struct IPPAgentV2ViewerResolver resolver_)
setRdConfig(struct IPPAgentV2RandaoViewerRandaoConfig rdConfig_)
setWorkerAddress(uint256 keeperId_, address worker_)
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)
DisableKeeper(uint256 indexed keeperId)
Execute(bytes32 indexed jobKey, address indexed job, uint256 indexed keeperId, uint256 gasUsed, uint256 baseFee, uint256 gasPrice, uint256 compensation, bytes32 binJobAfter)
ExecutionReverted(bytes32 indexed jobKey, uint256 indexed assignedKeeperId, uint256 indexed actualKeeperId, bytes executionReturndata, uint256 compensation)
FinalizeKeeperActivation(uint256 indexed keeperId)
FinalizeRedeem(uint256 indexed keeperId, address indexed beneficiary, uint256 amount)
Initialized(uint8 version)
InitiateJobTransfer(bytes32 indexed jobKey, address indexed from, address indexed to)
InitiateKeeperActivation(uint256 indexed keeperId, uint256 canBeFinalizedAt)
InitiateKeeperSlashing(bytes32 indexed jobKey, uint256 indexed slasherKeeperId, bool useResolver, uint256 jobSlashingPossibleAfter)
InitiateRedeem(uint256 indexed keeperId, uint256 redeemAmount, uint256 stakeAmount, uint256 slashedStakeAmount)
JobKeeperChanged(bytes32 indexed jobKey, uint256 indexed keeperFrom, uint256 indexed keeperTo)
JobUpdate(bytes32 indexed jobKey, uint256 maxBaseFeeGwei, uint256 rewardPct, uint256 fixedReward, uint256 jobMinCvp, uint256 intervalSeconds)
OwnerSlash(uint256 indexed keeperId, address indexed to, uint256 currentAmount, uint256 pendingAmount)
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 IPPAgentV2JobOwnerRegisterJobParams params)
SetAgentParams(uint256 minKeeperCvp_, uint256 timeoutSeconds_, uint256 feePpm_)
SetJobConfig(bytes32 indexed jobKey, bool isActive_, bool useJobOwnerCredits_, bool assertResolverSelector_, bool callResolverBeforeExecute_)
SetJobPreDefinedCalldata(bytes32 indexed jobKey, bytes preDefinedCalldata)
SetJobResolver(bytes32 indexed jobKey, address resolverAddress, bytes resolverCalldata)
SetRdConfig(struct IPPAgentV2RandaoViewerRandaoConfig rdConfig)
SetWorkerAddress(uint256 indexed keeperId, address indexed prev, address indexed worker)
SlashKeeper(bytes32 indexed jobKey, uint256 indexed assignedKeeperId, uint256 indexed actualKeeperId, uint256 fixedSlashAmount, uint256 dynamicSlashAmount, uint256 slashAmountMissing)
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 cvp_)
This contract contains no fallback and receive objects.
ActivationNotInitiated()
AmountGtStake(uint256 wanted, uint256 actualStake, uint256 actualSlashedStake)
AssignedKeeperCantSlash()
BaseFeeGtGasPrice(uint256 baseFee, uint256 jobMaxBaseFeeGwei)
CantAssignKeeper()
CantRelease()
CreditsDepositOverflow()
CreditsWithdrawalUnderflow()
ExecutionReentrancyLocked()
FeeTooBig()
InactiveJob(bytes32 jobKey)
InactiveKeeper()
InsufficientAmount()
InsufficientAmountToCoverSlashedStake(uint256 wanted, uint256 actual)
InsufficientJobCredits(uint256 actual, uint256 wanted)
InsufficientJobOwnerCredits(uint256 actual, uint256 wanted)
InsufficientJobScopedKeeperStake()
InsufficientKeeperStake()
InsufficientKeeperStakeToSlash(bytes32 jobKey, uint256 assignedKeeperId, uint256 keeperCurrentStake, uint256 amountToSlash)
IntervalNotReached(uint256 lastExecutedAt, uint256 interval, uint256 _now)
InvalidCalldataSource()
InvalidJobAddress()
InvalidKeeperId()
InvalidMinKeeperCvp()
InvalidPeriod1()
InvalidPeriod2()
InvalidSlashingFeeFixedCVP()
InvalidStakeDivisor()
JobCallRevertedWithoutDetails()
JobCheckCalldataError()
JobCheckCanBeExecuted(bytes returndata)
JobCheckCanNotBeExecuted(bytes errReason)
JobCheckResolverReturnedFalse()
JobCheckUnexpectedError()
JobCompensationMultiplierBpsLT10000()
JobDoesNotSupposedToHaveInterval()
JobHasKeeperAssigned(uint256 keeperId)
JobHasNoKeeperAssigned()
JobIdOverflow()
JobShouldHaveInterval()
JobWithoutOwner()
KeeperIsAlreadyActive()
KeeperIsAlreadyInactive()
KeeperIsAssignedToJobs(uint256 amountOfJobs)
KeeperShouldBeDisabledForStakeLTMinKeeperCvp()
KeeperWorkerNotAuthorized()
MissingAmount()
MissingDeposit()
MissingInputCalldata()
MissingJobAddress()
MissingMaxBaseFeeGwei()
MissingResolverAddress()
NoFixedNorPremiumPctReward()
NoPendingWithdrawal()
NonEOASender()
NonIntervalJob()
NotSupportedByJobCalldataSource()
OnlyCurrentSlasher(uint256 expectedSlasherId)
OnlyJobOwner()
OnlyKeeperAdmin()
OnlyKeeperAdminOrJobOwner()
OnlyKeeperAdminOrWorker()
OnlyNextKeeper(uint256 assignedKeeperId, uint256 lastExecutedAt, uint256 interval, uint256 slashingInterval, uint256 _now)
OnlyOwner()
OnlyPendingOwner()
OnlyReservedSlasher(uint256 reservedSlasherId)
SelectorCheckFailed()
SlashingBpsGt5000Bps()
SlashingEpochBlocksTooLow()
SlashingNotInitiated()
SlashingNotInitiatedExecutionReverted()
StakeAmountOverflow()
TimeoutTooBig()
TooEarlyForActivationFinalization(uint256 now, uint256 availableAt)
TooEarlyForSlashing(uint256 now_, uint256 possibleAfter)
TooEarlyToReinitiateSlashing()
TooEarlyToRelease(bytes32 jobKey, uint256 period2End)
UnableToDecodeResolverResponse()
UnexpectedCodeBlock()
WithdrawAmountExceedsAvailable(uint256 wanted, uint256 actual)
WithdrawalTimoutNotReached()
WorkerAlreadyAssigned()