PolicyManager
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
11
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 1 additional slot
Balances ($0.00)
No balances found for "PolicyManager"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "PolicyManager"
ABI
ABI objects
Getter at block 21259674
DEFAULT_FEE_DELTA() view returns (int256)
57896044618658097711785492504343953926634992332820282019728792003956564819967
escrow() view returns (address)
0xbbd3c0c794f40c4f993b03f65343acc6fcfcb2e2
feeRateRange() view returns (uint128 min, uint128 defaultValue, uint128 max)
(min=0, defaultValue=0, max=0)
genesisSecondsPerPeriod() view returns (uint32)
86400
getCurrentPeriod() view returns (uint16)
2864
isOwner() view returns (bool)
false
isUpgrade() view returns (uint8)
0
owner() view returns (address)
0x151f52ee472ce2f68b8cc9567b728a83f1721b8c
previousTarget() view returns (address)
0x0000000000000000000000000000000000000000
resetTimestamp() view returns (uint64)
0
secondsPerPeriod() view returns (uint32)
604800
target() view returns (address)
0x0000000000000000000000000000000000000000
Read-only
calculateRefundValue(bytes16 _policyId) view returns (uint256 refundValue)
calculateRefundValue(bytes16 _policyId, address _node) view returns (uint256 refundValue)
getArrangementInfo(bytes16 _policyId, uint256 _index) view returns (address node, uint256 indexOfDowntimePeriods, uint16 lastRefundedPeriod)
getArrangementsLength(bytes16 _policyId) view returns (uint256)
getMinFeeRate(address _node) view returns (uint256)
getNodeFeeDelta(address _node, uint16 _period) view returns (int256)
getPolicyOwner(bytes16 _policyId) view returns (address)
getRevocationHash(bytes16 _policyId, address _node) view returns (bytes32)
nodes(address) view returns (uint128 fee, uint16 previousFeePeriod, uint256 feeRate, uint256 minFeeRate)
policies(bytes16) view returns (bool disabled, address sponsor, address owner, uint128 feeRate, uint64 startTimestamp, uint64 endTimestamp, uint256 reservedSlot1, uint256 reservedSlot2, uint256 reservedSlot3, uint256 reservedSlot4, uint256 reservedSlot5)
State-modifying
Events createPolicy(bytes16 _policyId, address _policyOwner, uint64 _endTimestamp, address[] _nodes) payable
finishUpgrade(address _target)
migrate(address _node)
ping(address _node, uint16 _processedPeriod1, uint16 _processedPeriod2, uint16 _periodToSetDefault)
refund(bytes16 _policyId)
refund(bytes16 _policyId, address _node) returns (uint256 refundValue)
register(address _node, uint16 _period)
renounceOwnership()
revoke(bytes16 _policyId, address _node, bytes _signature) returns (uint256 refundValue)
revokeArrangement(bytes16 _policyId, address _node) returns (uint256 refundValue)
revokePolicy(bytes16 _policyId) returns (uint256 refundValue)
setFeeRateRange(uint128 _min, uint128 _default, uint128 _max)
setMinFeeRate(uint256 _minFeeRate)
transferOwnership(address newOwner)
verifyState(address _testTarget)
withdraw() returns (uint256)
withdraw(address _recipient) returns (uint256)
ArrangementRevoked(bytes16 indexed policyId, address indexed sender, address indexed node, uint256 value)
FeeRateRangeSet(address indexed sender, uint256 min, uint256 defaultValue, uint256 max)
MinFeeRateSet(address indexed node, uint256 value)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
PolicyCreated(bytes16 indexed policyId, address indexed sponsor, address indexed owner, uint256 feeRate, uint64 startTimestamp, uint64 endTimestamp, uint256 numberOfNodes)
PolicyRevoked(bytes16 indexed policyId, address indexed sender, uint256 value)
RefundForArrangement(bytes16 indexed policyId, address indexed sender, address indexed node, uint256 value)
RefundForPolicy(bytes16 indexed policyId, address indexed sender, uint256 value)
StateVerified(address indexed testTarget, address sender)
UpgradeFinished(address indexed target, address sender)
Withdrawn(address indexed node, address indexed recipient, uint256 value)
constructor(address _escrowDispatcher, address _escrowImplementation)
This contract contains no fallback and receive objects.
This contract contains no error objects.