Bridge Mutual BarnBridge Cover
Verified contract
Proxy
Active on
Ethereum with 1,312 txns
Unified storage
Map
Table
Raw
Constants and immutables
2
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
0x3810…0eb6
25 additional
variables
Balances ($0.00)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
bmiBarnBridgeCover | ERC-20 | 79.844875K | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 19534669 | 8 months ago | | | 0 | 0.0010885192 | |
| 19473840 | 8 months ago | | | 0 | 0.0021732058 | |
| 18235027 | a year ago | | | 0 | 0.00067169065 | |
| 18196898 | a year ago | | | 0 | 0.00041017134 | |
| 16126770 | 2 years ago | | | 0 | 0.00094220869 | |
| 16033389 | 2 years ago | | | 0 | 0.00067385160 | |
| 15675592 | 2 years ago | | | 0 | 0.00059801599 | |
| 15511550 | 2 years ago | | | 0 | 0.00054190105 | |
| 15006702 | 2 years ago | | | 0 | 0.00086990479 | |
| 14260986 | 3 years ago | | | 0 | 0.0023473193 |
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)
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
info() view returns (string _symbol, address _insuredContract, uint8 _contractType, bool _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
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 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 admin() returns (address admin_)
changeAdmin(address newAdmin)
implementation() returns (address implementation_)
upgradeTo(address newImplementation)
upgradeToAndCall(address newImplementation, bytes data) payable
__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)
AdminChanged(address previousAdmin, address newAdmin)
Upgraded(address indexed implementation)
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)
constructor(address _logic, address admin_, bytes _data)
fallback()
receive()
This contract contains no error objects.