StabilityPool

Verified contract

Active on Ethereum with 2 txns
Deployed by via 0x3661e1de at 20026951
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
--
0x2f19e9f8438b65ea0bcc521edcffc2f9cb06b5beddbca3b162474c8943ad6c3b
0x2dc819c4f0e74abfde73a2bb10f18dfa402d398a4f4252756c8fa9698386a4fa

Functions
Getter at block 21324148
DECIMAL_PRECISION(view returns (uint256)
1000000000000000000
LIQUIDATION_RESERVE(view returns (uint256)
1000000000000000000
MAX_BORROWING_RATE(view returns (uint256)
50000000000000000
MAX_INT(view returns (uint256)
115792089237316195423570985008687907853269984665640564039457584007913129639935
MAX_REDEMPTION_RATE(view returns (uint256)
100000000000000000
P(view returns (uint256)
1000000000000000000
PERCENT(view returns (uint256)
10000000000000000
PERCENT10(view returns (uint256)
100000000000000000
PERCENT_05(view returns (uint256)
5000000000000000
SCALE_FACTOR(view returns (uint256)
1000000000
SECONDS_IN_ONE_MINUTE(view returns (uint256)
60
currentEpoch(view returns (uint128)
0
currentScale(view returns (uint128)
0
factory(view returns (address)
0x4762afd98cc78b5d662a3714fb086b658e9575fc
lastStableCoinLossErrorOffset(view returns (uint256)
0
lastTBANKError(view returns (uint256)
0
latestTBANKRewardTime(view returns (uint256)
1717664087
owner(view returns (address)
0x646c131f04ef45f8dd7c7aebc868a7199657df10
stableCoin(view returns (address)
0xf6a63bb53f9049e7c6bdcbe1e25a157035eeb657
tbankPerMinute(view returns (uint256)
0
tbankToken(view returns (address)
0x95ccffae3eb8767d4a941ec43280961dde89f4de
totalDeposit(view returns (uint256)
90000000000000000000
totalTBANKRewardsLeft(view returns (uint256)
0
Read-only
collateralToLastErrorOffset(addressview returns (uint256)
depositSnapshots(addressview returns (uint256 Puint256 Guint128 scaleuint128 epoch)
deposits(addressview returns (uint256)
epochToScaleToG(uint128uint128view returns (uint256)
epochToScaleToTokenToSum(uint128uint128uint256view returns (address tokenAddressuint256 S_value)
getCollateralReward(address _tokenaddress _depositorview returns (uint256)
getDepositorTBANKGain(address _depositorview returns (uint256)
getWithdrawableDeposit(address stakerview returns (uint256)
State-modifying
deposit(uint256 _amount
liquidate(
redeemReward(
renounceOwnership(
setTBANKAmountForRewards(
setTBANKPerMinute(uint256 _tbankPerMinute
setVaultFactory(address _factory
transferOwnership(address newOwner
withdraw(uint256 _amount
Events
CollateralRewardRedeemed(address _contributoraddress _tokenAddressuint256 _amount
Deposit(address _contributoruint256 _amount
DepositSnapshotUpdated(address indexed _depositoruint256 _Puint256 _Guint256 _newDepositValue
EpochUpdated(uint128 _currentEpoch
G_Updated(uint256 _Guint128 _epochuint128 _scale
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
P_Updated(uint256 _P
S_Updated(address _tokenAddressuint256 _Suint128 _epochuint128 _scale
ScaleUpdated(uint128 _currentScale
TBANKPerMinuteUpdated(uint256 _newAmount
TBANKRewardIssue(uint256 issuanceuint256 _totalTBANKRewardsLeft
TBANKRewardRedeemed(address _contributoruint256 _amount
TotalDepositUpdated(uint256 _newValue
TotalTBANKRewardsUpdated(uint256 _newAmount
Withdraw(address _contributoruint256 _amount
Constructor
constructor(address _factoryaddress _tbankToken
Fallback and receive

This contract contains no fallback and receive objects.

Errors
AddressEmptyCode(address target
AddressInsufficientBalance(address account
FailedInnerCall(
OwnableInvalidOwner(address owner
OwnableUnauthorizedAccount(address account
ReentrancyGuardReentrantCall(
SafeERC20FailedOperation(address token