PolicyManager

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0xd825292e at 12135834
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 1 additional slot

No balances found for "PolicyManager"

No transactions found for "PolicyManager"


Functions
Getter at block 21286939
DEFAULT_FEE_DELTA(view returns (int256)
57896044618658097711785492504343953926634992332820282019728792003956564819967
escrow(view returns (address)
0xbbd3c0c794f40c4f993b03f65343acc6fcfcb2e2
feeRateRange(view returns (uint128 minuint128 defaultValueuint128 max)
(min=0, defaultValue=0, max=0)
genesisSecondsPerPeriod(view returns (uint32)
86400
getCurrentPeriod(view returns (uint16)
2865
isOwner(view returns (bool)
false
isUpgrade(view returns (uint8)
0
owner(view returns (address)
0xb003f3dd81132c4370522fc6581caee3b2e81b43
previousTarget(view returns (address)
0x0000000000000000000000000000000000000000
resetTimestamp(view returns (uint64)
0
secondsPerPeriod(view returns (uint32)
604800
target(view returns (address)
0x0000000000000000000000000000000000000000
Read-only
calculateRefundValue(bytes16 _policyIdview returns (uint256 refundValue)
calculateRefundValue(bytes16 _policyIdaddress _nodeview returns (uint256 refundValue)
getArrangementInfo(bytes16 _policyIduint256 _indexview returns (address nodeuint256 indexOfDowntimePeriodsuint16 lastRefundedPeriod)
getArrangementsLength(bytes16 _policyIdview returns (uint256)
getMinFeeRate(address _nodeview returns (uint256)
getNodeFeeDelta(address _nodeuint16 _periodview returns (int256)
getPolicyOwner(bytes16 _policyIdview returns (address)
getRevocationHash(bytes16 _policyIdaddress _nodeview returns (bytes32)
nodes(addressview returns (uint128 feeuint16 previousFeePerioduint256 feeRateuint256 minFeeRate)
policies(bytes16view returns (bool disabledaddress sponsoraddress owneruint128 feeRateuint64 startTimestampuint64 endTimestampuint256 reservedSlot1uint256 reservedSlot2uint256 reservedSlot3uint256 reservedSlot4uint256 reservedSlot5)
State-modifying
createPolicy(bytes16 _policyIdaddress _policyOwneruint64 _endTimestampaddress[] _nodespayable 
finishUpgrade(address _target
migrate(address _node
ping(address _nodeuint16 _processedPeriod1uint16 _processedPeriod2uint16 _periodToSetDefault
refund(bytes16 _policyId
refund(bytes16 _policyIdaddress _nodereturns (uint256 refundValue)
register(address _nodeuint16 _period
renounceOwnership(
revoke(bytes16 _policyIdaddress _nodebytes _signaturereturns (uint256 refundValue)
revokeArrangement(bytes16 _policyIdaddress _nodereturns (uint256 refundValue)
revokePolicy(bytes16 _policyIdreturns (uint256 refundValue)
setFeeRateRange(uint128 _minuint128 _defaultuint128 _max
setMinFeeRate(uint256 _minFeeRate
transferOwnership(address newOwner
verifyState(address _testTarget
withdraw(returns (uint256)
withdraw(address _recipientreturns (uint256)
Events
ArrangementRevoked(bytes16 indexed policyIdaddress indexed senderaddress indexed nodeuint256 value
FeeRateRangeSet(address indexed senderuint256 minuint256 defaultValueuint256 max
MinFeeRateSet(address indexed nodeuint256 value
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
PolicyCreated(bytes16 indexed policyIdaddress indexed sponsoraddress indexed owneruint256 feeRateuint64 startTimestampuint64 endTimestampuint256 numberOfNodes
PolicyRevoked(bytes16 indexed policyIdaddress indexed senderuint256 value
RefundForArrangement(bytes16 indexed policyIdaddress indexed senderaddress indexed nodeuint256 value
RefundForPolicy(bytes16 indexed policyIdaddress indexed senderuint256 value
StateVerified(address indexed testTargetaddress sender
UpgradeFinished(address indexed targetaddress sender
Withdrawn(address indexed nodeaddress indexed recipientuint256 value
Constructor
constructor(address _escrowDispatcheraddress _escrowImplementation
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.