PolicyBook

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0xc3758bfd at 15616465
Slot
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

No balances found for "PolicyBook"

No transactions found for "PolicyBook"


Functions
Getter at block 21393732
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
 
getAPY(view returns (uint256)
 
getNewCoverAndLiquidity(view returns (uint256 newTotalCoverTokensuint256 newTotalLiquidity)
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
 
numberStats(view returns (uint256 _maxCapacitiesuint256 _buyPolicyCapacityuint256 _totalSTBLLiquidityuint256 _totalLeveragedLiquidityuint256 _stakedSTBLuint256 _annualProfitYieldsuint256 _annualInsuranceCostuint256 _bmiXRatio)
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 owneraddress spenderview returns (uint256)
balanceOf(address accountview returns (uint256)
convertBMIXToSTBL(uint256 _amountview returns (uint256)
convertSTBLToBMIX(uint256 _amountview returns (uint256)
epochAmounts(uint256view returns (uint256)
getAvailableBMIXWithdrawableAmount(address _userAddrview returns (uint256)
getEpoch(uint256 timeview returns (uint256)
getVirtualEpochs(address userview returns (uint256 virtualEpochs)
getWithdrawalStatus(address _userAddrview returns (uint8)
liquidityFromLM(addressview returns (uint256)
nonces(address ownerview returns (uint256)
policyHolders(addressview returns (uint256 coverTokensuint256 startEpochNumberuint256 endEpochNumberuint256 paiduint256 reinsurancePrice)
premiumDistributionDeltas(uint256view returns (int256)
userStats(address _userview returns (struct IPolicyBookPolicyHolder)
withdrawalsInfo(addressview returns (uint256 withdrawalAmountuint256 readyToWithdrawDatebool withdrawalAllowed)
State-modifying
__PolicyBook_init(address _insuranceContractuint8 _contractTypestring _descriptionstring _projectSymbol
addLiquidity(address _liquidityBuyerAddraddress _liquidityHolderAddruint256 _liquidityAmountuint256 _stakeSTBLAmountreturns (uint256)
addLiquidityFor(address _liquidityHolderAddruint256 _liquidityAmount
approve(address spenderuint256 amountreturns (bool)
buyPolicy(address _buyeraddress _holderuint256 _epochsNumberuint256 _coverTokensuint256 _distributorFeeaddress _distributorreturns (uint256uint256)
commitClaim(address claimeruint256 claimEndTimeuint8 status
commitWithdrawnClaim(address claimer
decreaseAllowance(address spenderuint256 subtractedValuereturns (bool)
endActivePolicy(address _holder
increaseAllowance(address spenderuint256 addedValuereturns (bool)
permit(address owneraddress spenderuint256 valueuint256 deadlineuint8 vbytes32 rbytes32 s
requestWithdrawal(uint256 _tokensToWithdrawaddress _user
setDependencies(address _contractsRegistry
setInjector(address _injector
setPolicyBookFacade(address _policyBookFacade
submitAppealAndInitializeVoting(string evidenceURIuint256 bmiPriceInUSDT
submitClaimAndInitializeVoting(string evidenceURIuint256 bmiPriceInUSDT
transfer(address recipientuint256 amountreturns (bool)
transferFrom(address senderaddress recipientuint256 amountreturns (bool)
unlockTokens(
updateEpochsInfo(
updateLiquidity(uint256 _lostLiquidity
whitelist(bool _whitelisted
withdrawLiquidity(address senderreturns (uint256 _tokensToWithdrawuint256 _stblTokensToWithdraw)
Events
Approval(address indexed owneraddress indexed spenderuint256 value
CoverageChanged(uint256 _newTotalCoverTokens
LiquidityAdded(address _liquidityHolderuint256 _liquidityAmountuint256 _newTotalLiquidity
LiquidityWithdrawn(address _liquidityHolderuint256 _tokensToWithdrawuint256 _newTotalLiquidity
PolicyBought(address _policyHolderuint256 _coverTokensuint256 _priceuint256 _newTotalCoverTokensaddress _distributor
Transfer(address indexed fromaddress indexed touint256 value
WithdrawalRequested(address _liquidityHolderuint256 _tokensToWithdrawuint256 _readyToWithdrawDate
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.