InsuranceFund
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 2 additional slots
-
variable spans 11 additional slots
Balances ($0.00)
No balances found for "InsuranceFund"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "InsuranceFund"
ABI
ABI objects
Getter at block 21206699
COMPTROLLER() view returns (address)
0x3d9819210a31b4961b30ef54be2aed79b9c9cd3b
COMP_TOKEN() view returns (address)
0xc00e94cb662c3520282e6f5717214004a7f26888
getInsuranceMineInfo() view returns (uint32, uint32, uint96, uint96, uint96, uint256, struct InsuranceFundDefsDDXMarketState, bytes32[])
(0, 0, 0, 0, 0, 0, (0, 0), [])
Read-only
getCurrentStakeByCollateralNameAndStaker(bytes32 _collateralName, address _staker) view returns (uint96, uint96, uint96, uint96)
getCurrentTotalStakes(address _staker) view returns (uint96, uint96)
getDDXClaimantState(address _claimant) view returns (struct InsuranceFundDefsDDXClaimantState)
getNormalizedCollateralValue(bytes32 _collateralName, uint96 _value) view returns (uint96)
getOtherRewardsStakeByCollateralNameAndStaker(bytes32 _collateralName, address _staker) view returns (uint96, uint96, uint96, uint96)
getStakeCollateralByCollateralName(bytes32 _collateralName) view returns (struct InsuranceFundDefsStakeCollateral)
getUnclaimedDDXRewards(address _claimant) view returns (uint96)
State-modifying
Events addInsuranceFundCollateral(string _collateralName, string _collateralSymbol, address _underlyingToken, address _collateralToken, uint8 _flavor)
advanceOtherRewardsInterval()
claimDDXFromInsuranceMining(address _claimant)
extendInsuranceMining(uint256 _insuranceMiningExtension)
initialize(uint32 _interval, uint32 _withdrawalFactor, uint96 _mineRatePerBlock, uint96 _advanceIntervalReward, uint256 _insuranceMiningLength, address _diFundTokenFactory)
setAdvanceIntervalReward(uint96 _advanceIntervalReward)
setMineRatePerBlock(uint96 _mineRatePerBlock)
setWithdrawalFactor(uint32 _withdrawalFactor)
stakeToInsuranceFund(bytes32 _collateralName, uint96 _amount)
withdrawFromInsuranceFund(bytes32 _collateralName, uint96 _amount)
AdvanceIntervalRewardSet(uint96 advanceIntervalReward)
AdvancedOtherRewards(address intervalAdvancer, uint96 advanceReward)
InsuranceFundCollateralAdded(bytes32 collateralName, address underlyingToken, address collateralToken, uint8 flavor)
InsuranceFundInitialized(uint32 interval, uint32 withdrawalFactor, uint96 mineRatePerBlock, uint96 advanceIntervalReward, uint256 miningFinalBlockNumber)
InsuranceMineRewardsClaimed(address claimant, uint96 minedAmount)
InsuranceMiningExtended(uint256 miningFinalBlockNumber)
MineRatePerBlockSet(uint96 mineRatePerBlock)
StakedToInsuranceFund(address staker, uint96 amount, bytes32 collateralName)
WithdrawalFactorSet(uint32 withdrawalFactor)
WithdrawnFromInsuranceFund(address withdrawer, uint96 amount, bytes32 collateralName)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
This contract contains no error objects.