StabilityPool
Verified contract
Active on
Ethereum with 6,084 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
mkUSD | ERC-20 | 443.215672K | $0.995086 |
$441,037.71 | |
rETH | ERC-20 | 75.483615 | $3,680.09 |
$277,786.5 | |
wstETH | ERC-20 | 16.905806 | $3,918.68 |
$66,248.44 | |
cbETH | ERC-20 | 16.263874 | $3,585.52 |
$58,314.45 | |
ETHx | ERC-20 | 13.693145 | $3,452.00 |
$47,268.74 | |
sfrxETH | ERC-20 | 0.047207 | $3,635.57 |
$171.62 | |
HQG | ERC-20 | 9.99999 | -- | -- |
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21217984 | 6 days ago | | | 0 | 0.0025768766 | |
| 21204321 | 8 days ago | | | 0 | 0.0017253961 | |
| 21204321 | 8 days ago | | | 0 | 0.00070551966 | |
| 21203821 | 8 days ago | | | 0 | 0.0013983967 | |
| 21201146 | 8 days ago | | | 0 | 0.0023321408 | |
| 21156345 | 14 days ago | | | 0 | 0.0019840985 | |
| 21151119 | 15 days ago | | | 0 | 0.0016797766 | |
| 21142834 | 16 days ago | | | 0 | 0.0027746275 | |
| 21122030 | 19 days ago | | | 0 | 0.0013839113 | |
| 21120453 | 19 days ago | | | 0 | 0.0016815240 |
ABI
ABI objects
Getter at block 21259259
DECIMAL_PRECISION() view returns (uint256)
1000000000000000000
P() view returns (uint256)
528714057880705002
PRISMA_CORE() view returns (address)
0x5d17ea085f2ff5da3e6979d5d26f1dbab664ccf8
SCALE_FACTOR() view returns (uint256)
1000000000
SUNSET_DURATION() view returns (uint128)
15552000
currentEpoch() view returns (uint128)
0
currentScale() view returns (uint128)
0
debtToken() view returns (address)
0x4591dbff62656e7859afe5e45f6f47d3669fbb28
emissionId() view returns (uint256)
0
factory() view returns (address)
0x70b66e20766b775b2e9ce5b718bbd285af59b7e1
getTotalDebtTokenDeposits() view returns (uint256)
443215671624201218706600
getWeek() view returns (uint256 week)
67
guardian() view returns (address)
0x7a28a80dce1733944db5dc50dc2c5147ec993c5a
lastCollateralError_Offset() view returns (uint256)
294624415903995775047771
lastDebtLossError_Offset() view returns (uint256)
274713748688208140635373
lastPrismaError() view returns (uint256)
7591005959032129948676
lastUpdate() view returns (uint32)
1732385903
liquidationManager() view returns (address)
0x5de309dfd7f94e9e2a18cb6ba61ca305abf8e9e2
owner() view returns (address)
0xc53baaaa8595a7a2e7fee71db7291b939f696734
periodFinish() view returns (uint32)
1732990703
rewardRate() view returns (uint128)
76414645588474077
vault() view returns (address)
0x06bdf212c290473dcacea9793890c5024c7eb02c
Read-only
accountDeposits(address) view returns (uint128 amount, uint128 timestamp)
claimableReward(address _depositor) view returns (uint256)
collateralGainsByDepositor(address depositor, uint256) view returns (uint80 gains)
collateralTokens(uint256) view returns (address)
depositSnapshots(address) view returns (uint256 P, uint256 G, uint128 scale, uint128 epoch)
depositSums(address, uint256) view returns (uint256)
epochToScaleToG(uint128, uint128) view returns (uint256)
epochToScaleToSums(uint128, uint128, uint256) view returns (uint256)
getCompoundedDebtDeposit(address _depositor) view returns (uint256)
getDepositorCollateralGain(address _depositor) view returns (uint256[] collateralGains)
indexByCollateral(address collateral) view returns (uint256 index)
State-modifying
Events claimCollateralGains(address recipient, uint256[] collateralIndexes)
claimReward(address recipient) returns (uint256 amount)
enableCollateral(address _collateral)
offset(address collateral, uint256 _debtToOffset, uint256 _collToAdd)
provideToSP(uint256 _amount)
startCollateralSunset(address collateral)
vaultClaimReward(address claimant, address) returns (uint256 amount)
withdrawFromSP(uint256 _amount)
CollateralGainWithdrawn(address indexed _depositor, uint256[] _collateral)
CollateralOverwritten(address oldCollateral, address newCollateral)
DepositSnapshotUpdated(address indexed _depositor, uint256 _P, uint256 _G)
EpochUpdated(uint128 _currentEpoch)
G_Updated(uint256 _G, uint128 _epoch, uint128 _scale)
P_Updated(uint256 _P)
RewardClaimed(address indexed account, address indexed recipient, uint256 claimed)
S_Updated(uint256 idx, uint256 _S, uint128 _epoch, uint128 _scale)
ScaleUpdated(uint128 _currentScale)
StabilityPoolDebtBalanceUpdated(uint256 _newBalance)
UserDepositChanged(address indexed _depositor, uint256 _newDeposit)
constructor(address _prismaCore, address _debtTokenAddress, address _vault, address _factory, address _liquidationManager)
This contract contains no fallback and receive objects.
This contract contains no error objects.