StabilityPool

Verified contract

Active on Ethereum with 11,074 txns
Deployed by via 0x282e209b at 15611760
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 3 additional slots
3 additional variables
Native
Value $60,660.46
ERC-20
Value $383.56
0xa6056ee201f1827c9e185556d8b148f8f074dc896b1c9986a660bdd15c0e9dc1
0xdee25c86cce23cb1ceb8e7c364113d50161fee7f4bd87ce89ef39bee4e857509
0x7cf6e20771b76a626781af96498b17a83b8664a7db91de025f994a1f547f2755
0x8be18c863e154cd2e2c5b764d4cc25da89821b2b69dab4375d494ab4cab33e6c
0x907b5b22c378adf5e9801fcbb6e6296002365eea9c4d87d6ad4ed4de6873f852
0xa62b26f74e3ac89972cc39b33475df532718dbc482e4a1de4c0f82a77f8bf813
0x3463b9a941a52190bc45beabc10e22344888a8e4bd0429f0fab328326ac73c84
0x3e8f1e4da9bc69ed6b02a9d79ee25fc764b3e236308bf9c0d593f82907403ff2
0xf688d5480d07e9fc65a2452394e73de30c92485f1e43176f448f6460cdf22543
0xa44b2bb10e8eb25d59417d289a72a1f3ace76311230d35862feb33cd4eef383c

Functions
Getter at block 21212362
DECIMAL_PRECISION(view returns (uint256)
1000000000000000000
ETH_REF_ADDRESS(view returns (address)
0x0000000000000000000000000000000000000000
NAME(view returns (string)
StabilityPool
P(view returns (uint256)
1000000000000000000
SCALE_FACTOR(view returns (uint256)
1000000000
STABILITY_POOL_NAME_BYTES(view returns (bytes32)
0xf704b47f65a99b2219b7213612db4be4a436cdf50624f4baca1373ef0de0aac7
borrowerOperations(view returns (address)
0x9eb2ce1be2dd6947e4f5aabe33106f48861dfd74
communityIssuance(view returns (address)
0x0fa46e8cbceff8468db2ec2fd77731d8a11d3d86
currentEpoch(view returns (uint128)
1
currentScale(view returns (uint128)
0
dchfToken(view returns (address)
0x045da4bfe02b320f4403674b3b7d121737727a36
dfrancParams(view returns (address)
0x6f9990b242873d7396511f2630412a3fcecacc42
getAssetBalance(view returns (uint256)
19572121127079417840
getAssetType(view returns (address)
0x0000000000000000000000000000000000000000
getCompoundedTotalStake(view returns (uint256)
322320000000000000000
getNameBytes(pure returns (bytes32)
0xf704b47f65a99b2219b7213612db4be4a436cdf50624f4baca1373ef0de0aac7
getTotalDCHFDeposits(view returns (uint256)
322320000000000000000
isInitialized(view returns (bool)
true
lastAssetError_Offset(view returns (uint256)
49657294171939952500090
lastDCHFLossError_Offset(view returns (uint256)
0
lastMONError(view returns (uint256)
65500005673407775273896
owner(view returns (address)
0x83737eae72ba7597b36494d723fbf58cafee8a69
sortedTroves(view returns (address)
0x1dd69453a685c735f2ab43e2169b57e9edf72286
systemSnapshots(view returns (uint256 Suint256 Puint256 Guint128 scaleuint128 epoch)
(S=0, P=1000000000000000000, G=0, scale=0, epoch=1)
totalStakes(view returns (uint256)
322320000000000000000
troveManager(view returns (address)
0x99838142189ade67c1951f9c57c3333281334f7f
troveManagerHelpers(view returns (address)
0xaaacb8c39bd5acbb0a236112df8d15411161e518
Read-only
depositSnapshots(addressview returns (uint256 Suint256 Puint256 Guint128 scaleuint128 epoch)
deposits(addressview returns (uint256)
epochToScaleToG(uint128uint128view returns (uint256)
epochToScaleToSum(uint128uint128view returns (uint256)
getCompoundedDCHFDeposit(address _depositorview returns (uint256)
getDepositorAssetGain(address _depositorview returns (uint256)
getDepositorAssetGain1e18(address _depositorview returns (uint256)
getDepositorMONGain(address _depositorview returns (uint256)
getEntireSystemColl(address _assetview returns (uint256 entireSystemColl)
getEntireSystemDebt(address _assetview returns (uint256 entireSystemDebt)
State-modifying
_requireNoUnderCollateralizedTroves(
offset(uint256 _debtToOffsetuint256 _collToAdd
provideToSP(uint256 _amount
receivedERC20(address _assetuint256 _amount
renounceOwnership(
setAddresses(address _assetAddressaddress _borrowerOperationsAddressaddress _troveManagerAddressaddress _troveManagerHelpersAddressaddress _dchfTokenAddressaddress _sortedTrovesAddressaddress _communityIssuanceAddressaddress _dfrancParamsAddress
setDfrancParameters(address _vaultParams
transferOwnership(address newOwner
withdrawAssetGainToTrove(address _upperHintaddress _lowerHint
withdrawFromSP(uint256 _amount
Events
AssetGainWithdrawn(address indexed _depositoruint256 _Assetuint256 _DCHFLoss
AssetSent(address _touint256 _amount
BorrowerOperationsAddressChanged(address _newBorrowerOperationsAddress
CommunityIssuanceAddressChanged(address _newCommunityIssuanceAddress
DCHFTokenAddressChanged(address _newDCHFTokenAddress
DefaultPoolAddressChanged(address _newDefaultPoolAddress
DepositSnapshotUpdated(address indexed _depositoruint256 _Puint256 _Suint256 _G
EpochUpdated(uint128 _currentEpoch
G_Updated(uint256 _Guint128 _epochuint128 _scale
Initialized(uint8 version
MONPaidToDepositor(address indexed _depositoruint256 _MON
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
P_Updated(uint256 _P
S_Updated(uint256 _Suint128 _epochuint128 _scale
ScaleUpdated(uint128 _currentScale
SortedTrovesAddressChanged(address _newSortedTrovesAddress
StabilityPoolAssetBalanceUpdated(uint256 _newBalance
StabilityPoolDCHFBalanceUpdated(uint256 _newBalance
StakeChanged(uint256 _newSystemStakeaddress _depositor
SystemSnapshotUpdated(uint256 _Puint256 _G
TroveManagerAddressChanged(address _newTroveManagerAddress
UserDepositChanged(address indexed _depositoruint256 _newDeposit
VaultParametersBaseChanged(address indexed newAddress
Constructor

This contract contains no constructor objects.

Fallback and receive
receive(
Errors

This contract contains no error objects.