Bridge Mutual BarnBridge Cover

Verified contract

Proxy

Active on Ethereum with 1,312 txns
Deployed by via 0x220bc8a1 at 12788702
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
ERC-20
--
0x5e73fc20edaeb29242a320f81a8633e6492ab101013674089ec9f6e9fdc97d7b
0xa562dd65da2c96634eda3ee6c2ebdb810ae215cb97854a93d86ed9b9f38a4edb
0xdef92a3d862880c1a4fafc4e14eb66c15ccfd2923bc1575b9e2d0cc520b94464
0x1629ac1905b6a9edfb3a895e8a6adee356ce673c68f4600a52e8e76fc44ecf7a
0x9a804a1e02574535c8d192712873b75e89e5d9b54cf06ed0d625a14475aa9653
0x66413fd913416f818696a6618d62698ecb9c26341bb8363733dca6a49b582947
0xbfa408c9d7e9e72fcb46ae2524d1b7f25a005791a25d0777ee57d3ffb6ebea23
0x69b38db5216374811d20e2030a1724bd346b9963a1416da4cce3aa320bfbe7dc
0xe67fe534950cecdc841141a9b33af6add7d0bf596e03b0e4dbb6b3e34212addd
0x732521c8e9513fe583b1c5b8093294cb8c07b9700e2f3ad4430b19fc31a754b7

Functions
Getter at block 21196985
ANNUAL_COVERAGE_TOKENS(view returns (uint256)
1000000000000000000000
BASE_REWARD(view returns (uint256)
1000000000000000000000000000
DOMAIN_SEPARATOR(view returns (bytes32)
0x935494a580565a482c3eb5370da1ad0af572c626280fbb299ed65600f3aac5da
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)
0x6771fd8968488eb590dff1730fe099c0efa415bf
claimVoting(view returns (address)
0xa71ef8b0f85a7f7df1cf00a4bf129c61c42aa81f
claimingRegistry(view returns (address)
0x558d3c11891e67e0b36f5b2a8aa9b230ea96d9a5
contractType(view returns (uint8)
0
decimals(view returns (uint8)
18
epochStartTime(view returns (uint256)
1625773733
 
getAPY(view returns (uint256)
 
getNewCoverAndLiquidity(view returns (uint256 newTotalCoverTokensuint256 newTotalLiquidity)
info(view returns (string _symboladdress _insuredContractuint8 _contractTypebool _whitelisted)
(_symbol=bmiBarnBridgeCover, _insuredContract=0x0391d2021f89dc339f60fff84546ea23e337750f, _contractType=0, _whitelisted=true)
injector(view returns (address _injector)
0xe067e86cdcd0b3868ee660de380ebbe8d97e204d
insuranceContractAddress(view returns (address)
0x0391d2021f89dc339f60fff84546ea23e337750f
lastDistributionEpoch(view returns (uint256)
28
lastPremiumDistributionAmount(view returns (int256)
125771647685745488
lastPremiumDistributionEpoch(view returns (uint256)
19009
liquidityBridgeAddress(view returns (address)
0x7589738db9bf618dea9ede5a371e474d3839d5d9
liquidityMining(view returns (address)
0xfcc6bcc7b9a9a9cbf1c21cb6b80779221daf5e0b
liquidityRegistry(view returns (address)
0xa3a5fe1d37da9cafae497f886be1f54aa171b445
name(view returns (string)
Bridge Mutual BarnBridge Cover
 
numberStats(view returns (uint256 _maxCapacitiesuint256 _totalSTBLLiquidityuint256 _stakedSTBLuint256 _annualProfitYieldsuint256 _annualInsuranceCostuint256 _bmiXRatio)
policyBookAdmin(view returns (address)
0xe067e86cdcd0b3868ee660de380ebbe8d97e204d
policyBookFabricAddress(view returns (address)
0xb956afc680395be3a58339c0eb12835438aa184c
policyBookRegistry(view returns (address)
0x1c5bb877d8f135db77fd8afb9103b43b4bf65c33
policyQuote(view returns (address)
0x3823a2c98c69e920ff6062c141cf753f62403572
policyRegistry(view returns (address)
0x11db60680f72ce0d1e16e52d731c62732626c86d
priceFeed(view returns (address)
0x3810464c2f68b8feacde5d067e666293e01a0eb6
reinsurancePoolAddress(view returns (address)
0x0140b5cca6954167a0d7f4d6d0b0a5ed5a982d6b
rewardsGenerator(view returns (address)
0x662c1d66075033a81ce7ad5ef164a1b1a2df8d8e
secondsToEndCurrentEpoch(view returns (uint256)
497850
stblDecimals(view returns (uint256)
6
stblToken(view returns (address)
0xdac17f958d2ee523a2206206994597c13d831ec7
symbol(view returns (string)
bmiBarnBridgeCover
totalCoverTokens(view returns (uint256)
950000000000000000000
totalLiquidity(view returns (uint256)
381010227931141467222338
totalSupply(view returns (uint256)
379805675421416307127913
whitelisted(view returns (bool)
true
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)
getClaimApprovalAmount(address userview returns (uint256)
getEpoch(uint256 timeview returns (uint256)
getPolicyPrice(uint256 _epochsNumberuint256 _coverTokensview returns (uint256 totalSecondsuint256 totalPrice)
getUserAvailableSTBL(address _userAddrview returns (uint256)
getUserBMIXStakeInfo(address _senderview returns (uint256 _totalBMXuint256 _totalSbl)
getWithdrawalStatus(address _userAddrview returns (uint8)
liquidityFromLM(addressview returns (uint256)
nonces(address ownerview returns (uint256)
policyHolders(addressview returns (uint256 coverTokensuint256 startEpochNumberuint256 endEpochNumberuint256 paid)
premiumDistributionDeltas(uint256view returns (int256)
userStats(address _userview returns (struct IPolicyBookPolicyHolder)
withdrawalsInfo(addressview returns (uint256 withdrawalAmountuint256 readyToWithdrawDatebool withdrawalAllowed)
State-modifying
admin(returns (address admin_)
changeAdmin(address newAdmin
implementation(returns (address implementation_)
upgradeTo(address newImplementation
upgradeToAndCall(address newImplementationbytes datapayable 
__PolicyBook_init(address _insuranceContractuint8 _contractTypestring _descriptionstring _projectSymbol
addLiquidity(uint256 _liquidityAmount
addLiquidityAndStake(uint256 _liquidityAmountuint256 _stakeSTBLAmount
addLiquidityFor(address _liquidityHolderAddruint256 _liquidityAmount
approve(address spenderuint256 amountreturns (bool)
buyPolicy(uint256 _epochsNumberuint256 _coverTokens
buyPolicyFor(address _buyeruint256 _epochsNumberuint256 _coverTokens
commitClaim(address claimeruint256 claimAmountuint256 claimEndTimeuint8 status
decreaseAllowance(address spenderuint256 subtractedValuereturns (bool)
forceUpdateBMICoverStakingRewardMultiplier(
forwardUserLiquidity(address _useraddress _v2PolicyBookAddressuint256 _stblAmountStnd
increaseAllowance(address spenderuint256 addedValuereturns (bool)
migrateRequestWithdrawal(address _senderuint256 _bmixAmountreturns (uint256 _stblAmountTether)
permit(address owneraddress spenderuint256 valueuint256 deadlineuint8 vbytes32 rbytes32 s
requestWithdrawal(uint256 _tokensToWithdraw
requestWithdrawalWithPermit(uint256 _tokensToWithdrawuint8 _vbytes32 _rbytes32 _s
setDependencies(address _contractsRegistry
setForwardingAllowance(address _v2PolicyBookAddress
setInjector(address _injector
submitAppealAndInitializeVoting(string evidenceURI
submitClaimAndInitializeVoting(string evidenceURI
transfer(address recipientuint256 amountreturns (bool)
transferFrom(address senderaddress recipientuint256 amountreturns (bool)
unlockTokens(
updateEpochsInfo(
whitelist(bool _whitelisted
withdrawLiquidity(
withdrawSTBLTo(address to
Events
AdminChanged(address previousAdminaddress newAdmin
Upgraded(address indexed implementation
Approval(address indexed owneraddress indexed spenderuint256 value
CoverageChanged(uint256 _newTotalCoverTokens
LiquidityAdded(address _liquidityHolderuint256 _liquidityAmountuint256 _newTotalLiquidity
LiquidityWithdrawn(address _liquidityHolderuint256 _tokensToWithdrawuint256 _newTotalLiquidity
Liquidityforwarded(address useruint256 amount
PolicyBought(address _policyHolderuint256 _coverTokensuint256 _priceuint256 _newTotalCoverTokens
Transfer(address indexed fromaddress indexed touint256 value
WithdrawalRequested(address _liquidityHolderuint256 _tokensToWithdrawuint256 _readyToWithdrawDate
Constructor
constructor(address _logicaddress admin_bytes _data
Fallback and receive
fallback(
receive(
Errors

This contract contains no error objects.