MockOlympusTreasury

Verified contract

Active on Ethereum with 51 txns
Deployed by via 0x42ef46c2 at 13693598
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
11 additional variables
ERC-20
Value $14,322
0x17ddcc86e2f399ab584edefb3e73fd99ffe5445e838a07cbc7724bdf09537ada
0x0d35797528ce897e1c8f128f1404aaebd927ef5f41f12b6c30ad50574cbcc895
0x2b9f77511b2931d00dd24de234be687df3120b3318a81fba0ed190b4be5adfed
0x87b24bb635bdc67861661d079026c8571554b8d059251e41eb1b11eaa4803f80
0x1e1a9bee4409ded9a6eb0204853fc86b185c88bf4bae0ad7fc82ceb1bd78e952
0xfcb3665214a95a99f311116f4333f7295d8f2861e8b39ed5e3c797538dc4a01b
0x00e25fec0b2e810de68b5e0cce3240b130e46d6d7c79fa8934d9fa97d5a1d769
0xe4ee626259a7fad4f256f9109b9c19d35f2ddfefcbc33c957c92164dd6da5703
0x98952cd233fbe852fe21e32d4054fd1565f1f27b468d5ce8d5a10ad5c947c0b3
0x0100b7d8093dcd022bf5b12b9c6fe309a86722837462a5fdb4d80cf355beaf33

Functions
Getter at block 21204597
OHM(view returns (address)
0x8a14897ea5f668f36671678593fae44ae23b39fb
blocksNeededForQueue(view returns (uint256)
0
excessReserves(view returns (uint256)
563734351781245752
manager(view returns (address)
0xdb00139222c99e9098def2cebcd94bdcda8e7625
sOHM(view returns (address)
0x0000000000000000000000000000000000000000
sOHMQueue(view returns (uint256)
0
totalDebt(view returns (uint256)
0
totalReserves(view returns (uint256)
600000022034567090
Read-only
LiquidityDepositorQueue(addressview returns (uint256)
LiquidityManagerQueue(addressview returns (uint256)
LiquidityTokenQueue(addressview returns (uint256)
ReserveManagerQueue(addressview returns (uint256)
bondCalculator(addressview returns (address)
debtorBalance(addressview returns (uint256)
debtorQueue(addressview returns (uint256)
debtors(uint256view returns (address)
isDebtor(addressview returns (bool)
isLiquidityDepositor(addressview returns (bool)
isLiquidityManager(addressview returns (bool)
isLiquidityToken(addressview returns (bool)
isReserveDepositor(addressview returns (bool)
isReserveManager(addressview returns (bool)
isReserveSpender(addressview returns (bool)
isReserveToken(addressview returns (bool)
isRewardManager(addressview returns (bool)
liquidityDepositors(uint256view returns (address)
liquidityManagers(uint256view returns (address)
liquidityTokens(uint256view returns (address)
reserveDepositorQueue(addressview returns (uint256)
reserveDepositors(uint256view returns (address)
reserveManagers(uint256view returns (address)
reserveSpenderQueue(addressview returns (uint256)
reserveSpenders(uint256view returns (address)
reserveTokenQueue(addressview returns (uint256)
reserveTokens(uint256view returns (address)
rewardManagerQueue(addressview returns (uint256)
rewardManagers(uint256view returns (address)
valueOfToken(address _tokenuint256 _amountview returns (uint256 value_)
State-modifying
auditReserves(
deposit(uint256 _amountaddress _tokenuint256 _profitreturns (uint256 send_)
incurDebt(uint256 _amountaddress _token
manage(address _tokenuint256 _amount
mintRewards(address _recipientuint256 _amount
pullManagement(
pushManagement(address newOwner_
queue(uint8 _managingaddress _addressreturns (bool)
renounceManagement(
repayDebtWithOHM(uint256 _amount
repayDebtWithReserve(uint256 _amountaddress _token
toggle(uint8 _managingaddress _addressaddress _calculatorreturns (bool)
withdraw(uint256 _amountaddress _token
Events
ChangeActivated(uint8 indexed managingaddress activatedbool result
ChangeQueued(uint8 indexed managingaddress queued
CreateDebt(address indexed debtoraddress indexed tokenuint256 amountuint256 value
Deposit(address indexed tokenuint256 amountuint256 value
OwnershipPulled(address indexed previousOwneraddress indexed newOwner
OwnershipPushed(address indexed previousOwneraddress indexed newOwner
RepayDebt(address indexed debtoraddress indexed tokenuint256 amountuint256 value
ReservesAudited(uint256 indexed totalReserves
ReservesManaged(address indexed tokenuint256 amount
ReservesUpdated(uint256 indexed totalReserves
RewardsMinted(address indexed calleraddress indexed recipientuint256 amount
Withdrawal(address indexed tokenuint256 amountuint256 value
Constructor
constructor(address _OHMaddress _SHIBaddress _OHMDAIuint256 _blocksNeededForQueue
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.