View Source: contracts/StabilityPoolStorage.sol
↗ Extends: Ownable, BaseMath ↘ Derived Contracts: StabilityPool
StabilityPoolStorage
struct FrontEnd {
uint256 kickbackRate,
bool registered
}struct Deposit {
uint256 initialValue,
address frontEndTag
}struct Snapshots {
uint256 S,
uint256 P,
uint256 G,
uint128 scale,
uint128 epoch
}Constants & Variables
//public members
string public constant NAME;
contract IBorrowerOperations public borrowerOperations;
contract ITroveManager public troveManager;
contract IZUSDToken public zusdToken;
contract ISortedTroves public sortedTroves;
contract ICommunityIssuance public communityIssuance;
mapping(address => struct StabilityPoolStorage.Deposit) public deposits;
mapping(address => struct StabilityPoolStorage.Snapshots) public depositSnapshots;
mapping(address => struct StabilityPoolStorage.FrontEnd) public frontEnds;
mapping(address => uint256) public frontEndStakes;
mapping(address => struct StabilityPoolStorage.Snapshots) public frontEndSnapshots;
uint256 public P;
uint256 public constant SCALE_FACTOR;
uint128 public currentScale;
uint128 public currentEpoch;
mapping(uint128 => mapping(uint128 => uint256)) public epochToScaleToSum;
mapping(uint128 => mapping(uint128 => uint256)) public epochToScaleToG;
uint256 public lastZEROError;
uint256 public lastETHError_Offset;
uint256 public lastZUSDLossError_Offset;
//internal members
uint256 internal ETH;
uint256 internal totalZUSDDeposits;- ActivePool
- ActivePoolStorage
- BaseMath
- BorrowerOperations
- BorrowerOperationsScript
- BorrowerOperationsStorage
- BorrowerWrappersScript
- CheckContract
- CollSurplusPool
- CollSurplusPoolStorage
- console
- Context
- DefaultPool
- DefaultPoolStorage
- DocsCover
- DSAuth
- DSAuthEvents
- DSAuthority
- DSNote
- DSProxy
- DSProxyCache
- DSProxyFactory
- ERC20
- ETHTransferScript
- FeeDistributor
- FeeDistributorStorage
- GasPool
- HintHelpers
- HintHelpersStorage
- IActivePool
- IBalanceRedirectPresale
- IBorrowerOperations
- ICollSurplusPool
- IDefaultPool
- IERC20
- IERC2612
- IExternalPriceFeed
- IFeeDistributor
- IFeeSharingProxy
- ILiquityBase
- ILiquityBaseParams
- IMasset
- IMoCBaseOracle
- Initializable
- IPool
- IPriceFeed
- IRSKOracle
- ISortedTroves
- IStabilityPool
- ITroveManager
- IWrbtc
- IZUSDToken
- LiquityBase
- LiquityBaseParams
- LiquityMath
- LiquitySafeMath128
- MoCMedianizer
- MultiTroveGetter
- MultiTroveGetterStorage
- NueToken
- Ownable
- PriceFeed
- PriceFeedStorage
- ProxiableContract
- ProxiableContract2
- Proxy
- RskOracle
- SafeMath
- SortedTroves
- SortedTrovesStorage
- StabilityPool
- StabilityPoolScript
- StabilityPoolStorage
- Storage
- Storage2
- TokenScript
- TroveManager
- TroveManagerBase
- TroveManagerBase1MinuteBootstrap
- TroveManagerRedeemOps
- TroveManagerScript
- TroveManagerStorage
- UpgradableProxy
- ZUSDToken
- ZUSDTokenStorage