PolicyBook
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
6
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
25 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 21386780 getAPY() view returns (uint256) getNewCoverAndLiquidity() view returns (uint256 newTotalCoverTokens, uint256 newTotalLiquidity) numberStats() view returns (uint256 _maxCapacities, uint256 _buyPolicyCapacity, uint256 _totalSTBLLiquidity, uint256 _totalLeveragedLiquidity, uint256 _stakedSTBL, uint256 _annualProfitYields, uint256 _annualInsuranceCost, uint256 _bmiXRatio)
DOMAIN_SEPARATOR() view returns (bytes32)
0xe383668c3470e4ebd8ad30516537c5152eeaf5d1fef5514d2ea8b3fb1e4ab9c2
EPOCH_DURATION() view returns (uint256)
604800
MAXIMUM_EPOCHS() view returns (uint256)
52
READY_TO_WITHDRAW_PERIOD() view returns (uint256)
172800
VIRTUAL_EPOCHS() view returns (uint256)
1
bmiCoverStaking() view returns (address)
0x0000000000000000000000000000000000000000
bmiCoverStakingView() view returns (address)
0x0000000000000000000000000000000000000000
capitalPool() 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
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
liquidityMining() view returns (address)
0x0000000000000000000000000000000000000000
liquidityRegistry() view returns (address)
0x0000000000000000000000000000000000000000
name() view returns (string)
nftStaking() view returns (address)
0x0000000000000000000000000000000000000000
policyBookAdmin() view returns (address)
0x0000000000000000000000000000000000000000
policyBookFabricAddress() view returns (address)
0x0000000000000000000000000000000000000000
policyBookFacade() view returns (address)
0x0000000000000000000000000000000000000000
policyBookRegistry() view returns (address)
0x0000000000000000000000000000000000000000
policyQuote() view returns (address)
0x0000000000000000000000000000000000000000
policyRegistry() view returns (address)
0x0000000000000000000000000000000000000000
reinsurancePoolAddress() view returns (address)
0x0000000000000000000000000000000000000000
rewardsGenerator() view returns (address)
0x0000000000000000000000000000000000000000
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)
getEpoch(uint256 time) view returns (uint256)
getVirtualEpochs(address user) view returns (uint256 virtualEpochs)
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, uint256 reinsurancePrice)
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(address _liquidityBuyerAddr, address _liquidityHolderAddr, uint256 _liquidityAmount, uint256 _stakeSTBLAmount) returns (uint256)
addLiquidityFor(address _liquidityHolderAddr, uint256 _liquidityAmount)
approve(address spender, uint256 amount) returns (bool)
buyPolicy(address _buyer, address _holder, uint256 _epochsNumber, uint256 _coverTokens, uint256 _distributorFee, address _distributor) returns (uint256, uint256)
commitClaim(address claimer, uint256 claimEndTime, uint8 status)
commitWithdrawnClaim(address claimer)
decreaseAllowance(address spender, uint256 subtractedValue) returns (bool)
endActivePolicy(address _holder)
increaseAllowance(address spender, uint256 addedValue) returns (bool)
permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s)
requestWithdrawal(uint256 _tokensToWithdraw, address _user)
setDependencies(address _contractsRegistry)
setInjector(address _injector)
setPolicyBookFacade(address _policyBookFacade)
submitAppealAndInitializeVoting(string evidenceURI, uint256 bmiPriceInUSDT)
submitClaimAndInitializeVoting(string evidenceURI, uint256 bmiPriceInUSDT)
transfer(address recipient, uint256 amount) returns (bool)
transferFrom(address sender, address recipient, uint256 amount) returns (bool)
unlockTokens()
updateEpochsInfo()
updateLiquidity(uint256 _lostLiquidity)
whitelist(bool _whitelisted)
withdrawLiquidity(address sender) returns (uint256 _tokensToWithdraw, uint256 _stblTokensToWithdraw)
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)
PolicyBought(address _policyHolder, uint256 _coverTokens, uint256 _price, uint256 _newTotalCoverTokens, address _distributor)
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.