PPAgentV2Randao

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x416ec8ec at 19934377
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
7 additional variables

No balances found for "PPAgentV2Randao"

No transactions found for "PPAgentV2Randao"


Functions
Getter at block 21247292
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 owneraddress pendingTransferuint256 jobLevelMinKeeperCvpstruct IPPAgentV2ViewerJob detailsbytes preDefinedCalldatastruct 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 adminaddress workerbool isActiveuint256 currentStakeuint256 slashedStakeuint256 compensationuint256 pendingWithdrawalAmountuint256 pendingWithdrawalEndAt)
getKeeperWorkerAndStake(uint256 keeperId_view returns (address workeruint256 currentStakebool isActive)
getSlasherIdByBlock(uint256 blockNumber_bytes32 jobKey_view returns (uint256)
jobCreatedAt(bytes32view returns (uint256)
jobLastIds(addressview returns (uint256)
jobNextKeeperId(bytes32view returns (uint256)
jobOwnerCredits(addressview returns (uint256)
jobReservedSlasherId(bytes32view returns (uint256)
jobSlashingPossibleAfter(bytes32view returns (uint256)
keeperActivationCanBeFinalizedAt(uint256view returns (uint256)
workerKeeperIds(addressview returns (uint256)
State-modifying
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 jobKeyuint256 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_
Events
AcceptJobTransfer(bytes32 indexed jobKey_address indexed to_
DepositJobCredits(bytes32 indexed jobKeyaddress indexed depositoruint256 amountuint256 fee
DepositJobOwnerCredits(address indexed jobOwneraddress indexed depositoruint256 amountuint256 fee
DisableKeeper(uint256 indexed keeperId
Execute(bytes32 indexed jobKeyaddress indexed jobuint256 indexed keeperIduint256 gasUseduint256 baseFeeuint256 gasPriceuint256 compensationbytes32 binJobAfter
ExecutionReverted(bytes32 indexed jobKeyuint256 indexed assignedKeeperIduint256 indexed actualKeeperIdbytes executionReturndatauint256 compensation
FinalizeKeeperActivation(uint256 indexed keeperId
FinalizeRedeem(uint256 indexed keeperIdaddress indexed beneficiaryuint256 amount
Initialized(uint8 version
InitiateJobTransfer(bytes32 indexed jobKeyaddress indexed fromaddress indexed to
InitiateKeeperActivation(uint256 indexed keeperIduint256 canBeFinalizedAt
InitiateKeeperSlashing(bytes32 indexed jobKeyuint256 indexed slasherKeeperIdbool useResolveruint256 jobSlashingPossibleAfter
InitiateRedeem(uint256 indexed keeperIduint256 redeemAmountuint256 stakeAmountuint256 slashedStakeAmount
JobKeeperChanged(bytes32 indexed jobKeyuint256 indexed keeperFromuint256 indexed keeperTo
JobUpdate(bytes32 indexed jobKeyuint256 maxBaseFeeGweiuint256 rewardPctuint256 fixedRewarduint256 jobMinCvpuint256 intervalSeconds
OwnerSlash(uint256 indexed keeperIdaddress indexed touint256 currentAmountuint256 pendingAmount
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
RegisterAsKeeper(uint256 indexed keeperIdaddress indexed keeperAdminaddress indexed keeperWorker
RegisterJob(bytes32 indexed jobKeyaddress indexed jobAddressuint256 indexed jobIdaddress ownerstruct IPPAgentV2JobOwnerRegisterJobParams params
SetAgentParams(uint256 minKeeperCvp_uint256 timeoutSeconds_uint256 feePpm_
SetJobConfig(bytes32 indexed jobKeybool isActive_bool useJobOwnerCredits_bool assertResolverSelector_bool callResolverBeforeExecute_
SetJobPreDefinedCalldata(bytes32 indexed jobKeybytes preDefinedCalldata
SetJobResolver(bytes32 indexed jobKeyaddress resolverAddressbytes resolverCalldata
SetRdConfig(struct IPPAgentV2RandaoViewerRandaoConfig rdConfig
SetWorkerAddress(uint256 indexed keeperIdaddress indexed prevaddress indexed worker
SlashKeeper(bytes32 indexed jobKeyuint256 indexed assignedKeeperIduint256 indexed actualKeeperIduint256 fixedSlashAmountuint256 dynamicSlashAmountuint256 slashAmountMissing
Stake(uint256 indexed keeperIduint256 amountaddress staker
WithdrawCompensation(uint256 indexed keeperIdaddress indexed touint256 amount
WithdrawFees(address indexed touint256 amount
WithdrawJobCredits(bytes32 indexed jobKeyaddress indexed owneraddress indexed touint256 amount
WithdrawJobOwnerCredits(address indexed jobOwneraddress indexed touint256 amount
Constructor
constructor(address cvp_
Fallback and receive

This contract contains no fallback and receive objects.

Errors
ActivationNotInitiated(
AmountGtStake(uint256 wanteduint256 actualStakeuint256 actualSlashedStake
AssignedKeeperCantSlash(
BaseFeeGtGasPrice(uint256 baseFeeuint256 jobMaxBaseFeeGwei
CantAssignKeeper(
CantRelease(
CreditsDepositOverflow(
CreditsWithdrawalUnderflow(
ExecutionReentrancyLocked(
FeeTooBig(
InactiveJob(bytes32 jobKey
InactiveKeeper(
InsufficientAmount(
InsufficientAmountToCoverSlashedStake(uint256 wanteduint256 actual
InsufficientJobCredits(uint256 actualuint256 wanted
InsufficientJobOwnerCredits(uint256 actualuint256 wanted
InsufficientJobScopedKeeperStake(
InsufficientKeeperStake(
InsufficientKeeperStakeToSlash(bytes32 jobKeyuint256 assignedKeeperIduint256 keeperCurrentStakeuint256 amountToSlash
IntervalNotReached(uint256 lastExecutedAtuint256 intervaluint256 _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 assignedKeeperIduint256 lastExecutedAtuint256 intervaluint256 slashingIntervaluint256 _now
OnlyOwner(
OnlyPendingOwner(
OnlyReservedSlasher(uint256 reservedSlasherId
SelectorCheckFailed(
SlashingBpsGt5000Bps(
SlashingEpochBlocksTooLow(
SlashingNotInitiated(
SlashingNotInitiatedExecutionReverted(
StakeAmountOverflow(
TimeoutTooBig(
TooEarlyForActivationFinalization(uint256 nowuint256 availableAt
TooEarlyForSlashing(uint256 now_uint256 possibleAfter
TooEarlyToReinitiateSlashing(
TooEarlyToRelease(bytes32 jobKeyuint256 period2End
UnableToDecodeResolverResponse(
UnexpectedCodeBlock(
WithdrawAmountExceedsAvailable(uint256 wanteduint256 actual
WithdrawalTimoutNotReached(
WorkerAlreadyAssigned(