PolicyBook
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
-
variable spans 49 additional slots
-
variable spans 43 additional slots
-
variable spans 49 additional slots
-
variable spans 48 additional slots
23 additional
variables
Balances ($0.00)
No balances found for "PolicyBook"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "PolicyBook"
ABI
ABI objects
Getter at block 21196985 getAPY() view returns (uint256) getNewCoverAndLiquidity() view returns (uint256 newTotalCoverTokens, uint256 newTotalLiquidity) numberStats() view returns (uint256 _maxCapacities, uint256 _totalSTBLLiquidity, uint256 _stakedSTBL, uint256 _annualProfitYields, uint256 _annualInsuranceCost, uint256 _bmiXRatio)
ANNUAL_COVERAGE_TOKENS() view returns (uint256)
1000000000000000000000
BASE_REWARD() view returns (uint256)
1000000000000000000000000000
DOMAIN_SEPARATOR() view returns (bytes32)
0xfad00cfd1d0891c7c9cedabfb9c5f53cf4654ffbb393e5a426c230a201a8e22d
EPOCH_DURATION() view returns (uint256)
604800
MAXIMUM_EPOCHS() view returns (uint256)
52
MAXIMUM_REWARD() view returns (uint256)
2000000000000000000000000000
MAX_PREMIUM_DISTRIBUTION_EPOCHS() view returns (uint256)
90
MINIMUM_REWARD() view returns (uint256)
150000000000000000000000000
MINUMUM_COVERAGE() view returns (uint256)
100000000000000000000
MODERATE_UTILIZATION_RATIO() view returns (uint256)
500000000000000000000000000
PREMIUM_DISTRIBUTION_EPOCH() view returns (uint256)
86400
PROTOCOL_PERCENTAGE() view returns (uint256)
200000000000000000000000000
READY_TO_WITHDRAW_PERIOD() view returns (uint256)
172800
RISKY_UTILIZATION_RATIO() view returns (uint256)
800000000000000000000000000
VIRTUAL_EPOCHS() view returns (uint256)
2
WITHDRAWAL_PERIOD() view returns (uint256)
691200
bmiCoverStaking() view returns (address)
0x0000000000000000000000000000000000000000
claimVoting() view returns (address)
0x0000000000000000000000000000000000000000
claimingRegistry() view returns (address)
0x0000000000000000000000000000000000000000
contractType() view returns (uint8)
0
decimals() view returns (uint8)
0
epochStartTime() view returns (uint256)
0
info() view returns (string _symbol, address _insuredContract, uint8 _contractType, bool _whitelisted)
(_symbol=, _insuredContract=0x0000000000000000000000000000000000000000, _contractType=0, _whitelisted=false)
injector() view returns (address _injector)
0x0000000000000000000000000000000000000000
insuranceContractAddress() view returns (address)
0x0000000000000000000000000000000000000000
lastDistributionEpoch() view returns (uint256)
0
lastPremiumDistributionAmount() view returns (int256)
0
lastPremiumDistributionEpoch() view returns (uint256)
0
liquidityBridgeAddress() view returns (address)
0x0000000000000000000000000000000000000000
liquidityMining() view returns (address)
0x0000000000000000000000000000000000000000
liquidityRegistry() view returns (address)
0x0000000000000000000000000000000000000000
name() view returns (string)
policyBookAdmin() view returns (address)
0x0000000000000000000000000000000000000000
policyBookFabricAddress() view returns (address)
0x0000000000000000000000000000000000000000
policyBookRegistry() view returns (address)
0x0000000000000000000000000000000000000000
policyQuote() view returns (address)
0x0000000000000000000000000000000000000000
policyRegistry() view returns (address)
0x0000000000000000000000000000000000000000
priceFeed() view returns (address)
0x0000000000000000000000000000000000000000
reinsurancePoolAddress() view returns (address)
0x0000000000000000000000000000000000000000
rewardsGenerator() view returns (address)
0x0000000000000000000000000000000000000000
secondsToEndCurrentEpoch() view returns (uint256)
426517
stblDecimals() view returns (uint256)
0
stblToken() view returns (address)
0x0000000000000000000000000000000000000000
symbol() view returns (string)
totalCoverTokens() view returns (uint256)
0
totalLiquidity() view returns (uint256)
0
totalSupply() view returns (uint256)
0
whitelisted() view returns (bool)
false
Read-only
allowance(address owner, address spender) view returns (uint256)
balanceOf(address account) view returns (uint256)
convertBMIXToSTBL(uint256 _amount) view returns (uint256)
convertSTBLToBMIX(uint256 _amount) view returns (uint256)
epochAmounts(uint256) view returns (uint256)
getAvailableBMIXWithdrawableAmount(address _userAddr) view returns (uint256)
getClaimApprovalAmount(address user) view returns (uint256)
getEpoch(uint256 time) view returns (uint256)
getPolicyPrice(uint256 _epochsNumber, uint256 _coverTokens) view returns (uint256 totalSeconds, uint256 totalPrice)
getUserAvailableSTBL(address _userAddr) view returns (uint256)
getUserBMIXStakeInfo(address _sender) view returns (uint256 _totalBMX, uint256 _totalSbl)
getWithdrawalStatus(address _userAddr) view returns (uint8)
liquidityFromLM(address) view returns (uint256)
nonces(address owner) view returns (uint256)
policyHolders(address) view returns (uint256 coverTokens, uint256 startEpochNumber, uint256 endEpochNumber, uint256 paid)
premiumDistributionDeltas(uint256) view returns (int256)
userStats(address _user) view returns (struct IPolicyBookPolicyHolder)
withdrawalsInfo(address) view returns (uint256 withdrawalAmount, uint256 readyToWithdrawDate, bool withdrawalAllowed)
State-modifying
Events __PolicyBook_init(address _insuranceContract, uint8 _contractType, string _description, string _projectSymbol)
addLiquidity(uint256 _liquidityAmount)
addLiquidityAndStake(uint256 _liquidityAmount, uint256 _stakeSTBLAmount)
addLiquidityFor(address _liquidityHolderAddr, uint256 _liquidityAmount)
approve(address spender, uint256 amount) returns (bool)
buyPolicy(uint256 _epochsNumber, uint256 _coverTokens)
buyPolicyFor(address _buyer, uint256 _epochsNumber, uint256 _coverTokens)
commitClaim(address claimer, uint256 claimAmount, uint256 claimEndTime, uint8 status)
decreaseAllowance(address spender, uint256 subtractedValue) returns (bool)
forceUpdateBMICoverStakingRewardMultiplier()
forwardUserLiquidity(address _user, address _v2PolicyBookAddress, uint256 _stblAmountStnd)
increaseAllowance(address spender, uint256 addedValue) returns (bool)
migrateRequestWithdrawal(address _sender, uint256 _bmixAmount) returns (uint256 _stblAmountTether)
permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s)
requestWithdrawal(uint256 _tokensToWithdraw)
requestWithdrawalWithPermit(uint256 _tokensToWithdraw, uint8 _v, bytes32 _r, bytes32 _s)
setDependencies(address _contractsRegistry)
setForwardingAllowance(address _v2PolicyBookAddress)
setInjector(address _injector)
submitAppealAndInitializeVoting(string evidenceURI)
submitClaimAndInitializeVoting(string evidenceURI)
transfer(address recipient, uint256 amount) returns (bool)
transferFrom(address sender, address recipient, uint256 amount) returns (bool)
unlockTokens()
updateEpochsInfo()
whitelist(bool _whitelisted)
withdrawLiquidity()
withdrawSTBLTo(address to)
Approval(address indexed owner, address indexed spender, uint256 value)
CoverageChanged(uint256 _newTotalCoverTokens)
LiquidityAdded(address _liquidityHolder, uint256 _liquidityAmount, uint256 _newTotalLiquidity)
LiquidityWithdrawn(address _liquidityHolder, uint256 _tokensToWithdraw, uint256 _newTotalLiquidity)
Liquidityforwarded(address user, uint256 amount)
PolicyBought(address _policyHolder, uint256 _coverTokens, uint256 _price, uint256 _newTotalCoverTokens)
Transfer(address indexed from, address indexed to, uint256 value)
WithdrawalRequested(address _liquidityHolder, uint256 _tokensToWithdraw, uint256 _readyToWithdrawDate)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
This contract contains no error objects.