Onyx ETH

Verified contract

Active on Ethereum with 413 txns
Deployed by via 0xbbe1ce79 at 16730991
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $0
0x339c4383c756698b7af3bb5e77b615e6896f42dc77c8826931c2fc399e3fde61
0xd01ee2843094453d0e6d3983029812ca3031ecbf11cce84f4621211ff5a49488
0x33339cf8d2c06bbfccfeb820578c61ab4ccc1266d5322238a3c0d55e96a714c3
0xb941aba4e10f86dd9d43be5b55b4587ed6819f10454d3703c7d219a6602ec307
0x293726bf4b6ddf367b6155a0598359126cf495b310db03a1ed45a556da147a74
0x32bcd2c016b10105d231d7f7ee7567137bcb16a3bc1be9cb51e48995fb7d1b93
0x0f33b6bb04bfeaab3e455bf78cd4d47c405cf1e5caccadcea0adccec7a3f3327
0x33985ee14c7d930b5f3ac7263f3f427ee994e05608ef4ac6e8490d9791732081
0x1adc649bbefd12cca06092023726f4c9bda2e924642bae2f81a2fc1732c6d567
0xca4929707e03520e21ccd987cbeda88a60d2230510b81941338afb2bf3016403

Functions
Getter at block 21332901
accrualBlockNumber(view returns (uint256)
18813055
admin(view returns (address)
0x08edf0f2af8672029eb445742b3b4072c6158df3
borrowIndex(view returns (uint256)
1378230177821749316
borrowRatePerBlock(view returns (uint256)
579767834641
comptroller(view returns (address)
0x7d61ed92a6778f5abf5c94085739f1edabec2800
decimals(view returns (uint8)
8
exchangeRateStored(view returns (uint256)
249654200844040290285184140
getCash(view returns (uint256)
839109014
interestRateModel(view returns (address)
0x4021047a36ac60b40316f630307cd4791cdaed52
isOToken(view returns (bool)
true
name(view returns (string)
Onyx ETH
pendingAdmin(view returns (address)
0x0000000000000000000000000000000000000000
protocolSeizeShareMantissa(view returns (uint256)
28000000000000000
reserveFactorMantissa(view returns (uint256)
1000000000000000000
supplyRatePerBlock(view returns (uint256)
0
symbol(view returns (string)
oETH
totalBorrows(view returns (uint256)
801922024696985063353
totalReserves(view returns (uint256)
41608877443906249396
totalSupply(view returns (uint256)
3045465066013
Read-only
allowance(address owneraddress spenderview returns (uint256)
balanceOf(address ownerview returns (uint256)
borrowBalanceStored(address accountview returns (uint256)
getAccountSnapshot(address accountview returns (uint256uint256uint256uint256)
State-modifying
_acceptAdmin(returns (uint256)
_addReserves(payable returns (uint256)
_reduceReserves(uint256 reduceAmountreturns (uint256)
_setComptroller(address newComptrollerreturns (uint256)
_setInterestRateModel(address newInterestRateModelreturns (uint256)
_setPendingAdmin(address newPendingAdminreturns (uint256)
_setReserveFactor(uint256 newReserveFactorMantissareturns (uint256)
accrueInterest(returns (uint256)
approve(address spenderuint256 amountreturns (bool)
balanceOfUnderlying(address ownerreturns (uint256)
borrow(uint256 borrowAmountreturns (uint256)
borrowBalanceCurrent(address accountreturns (uint256)
exchangeRateCurrent(returns (uint256)
initialize(address comptroller_address interestRateModel_uint256 initialExchangeRateMantissa_string name_string symbol_uint8 decimals_
liquidateBorrow(address borroweraddress oTokenCollateralpayable 
mint(payable 
redeem(uint256 redeemTokensreturns (uint256)
redeemUnderlying(uint256 redeemAmountreturns (uint256)
repayBorrow(payable 
repayBorrowBehalf(address borrowerpayable 
seize(address liquidatoraddress borroweruint256 seizeTokensreturns (uint256)
totalBorrowsCurrent(returns (uint256)
transfer(address dstuint256 amountreturns (bool)
transferFrom(address srcaddress dstuint256 amountreturns (bool)
Events
AccrueInterest(uint256 cashPrioruint256 interestAccumulateduint256 borrowIndexuint256 totalBorrows
Approval(address indexed owneraddress indexed spenderuint256 amount
Borrow(address borroweruint256 borrowAmountuint256 accountBorrowsuint256 totalBorrows
Failure(uint256 erroruint256 infouint256 detail
LiquidateBorrow(address liquidatoraddress borroweruint256 repayAmountaddress oTokenCollateraluint256 seizeTokens
Mint(address minteruint256 mintAmountuint256 mintTokens
NewAdmin(address oldAdminaddress newAdmin
NewComptroller(address oldComptrolleraddress newComptroller
NewMarketInterestRateModel(address oldInterestRateModeladdress newInterestRateModel
NewPendingAdmin(address oldPendingAdminaddress newPendingAdmin
NewReserveFactor(uint256 oldReserveFactorMantissauint256 newReserveFactorMantissa
Redeem(address redeemeruint256 redeemAmountuint256 redeemTokens
RepayBorrow(address payeraddress borroweruint256 repayAmountuint256 accountBorrowsuint256 totalBorrows
ReservesAdded(address benefactoruint256 addAmountuint256 newTotalReserves
ReservesReduced(address adminuint256 reduceAmountuint256 newTotalReserves
Transfer(address indexed fromaddress indexed touint256 amount
Constructor
constructor(address comptroller_address interestRateModel_uint256 initialExchangeRateMantissa_string name_string symbol_uint8 decimals_address admin_
Fallback and receive
fallback(
Errors

This contract contains no error objects.