AdminUpgradeabilityProxy

Verified contract

Proxy

Active on Ethereum with 674 txns
Deployed by via 0x7b9fd64a at 11559103
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
7 additional variables
ERC-20
Value $56,198.94
ERC-20
Value $15,803.08
ERC-20
Value $1,146.1
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
0x52182c9c316ac28a2073b083de005fee99f243858846c536208df7e708513ead
0x763010dcb6e64cb76fcf51573bd44f5d78bc960397c1f958d1565deecfd710d8
0x268e6aa8c3fc10a56f59794983296dcf8f748ac971c0e9f17bb872e033bd2ab1
From
0x7dd794da04f56175c4079274dbd188b59bd5fb360be0f25a04dff996be7709ad
0x1f4f734f0b9641c809aa8ba3f15203bc3e0221f87f0bbf16c5dcd1349d98c786
0x2556d9606e1517aeb5c7aca3cdf4f10ee884adffadd774b0c94ccd7c61bb419d
0x9dbbf4426741fa7fb22751379d9b0ad26653167919b8ace6c2bbb44370374254
0xaf39501fb106b4ee328731b750342a44395fbadaac1771a129af6e515c4462cc
0xef1691f33f352a9b7eb04fd3c643711f905cdd50de8ad2b11521f8cf48831305
0x307d115945d5a532102ef9b71b48be5a73ac1068142516fcef845e8112ecd3ec

Functions
Getter at block 21163679
WETHContract(view returns (address)
0x1f52453b32bfab737247114d56d756a6c37dd9ef
_guardCounter(view returns (uint256)
351
admin(view returns (address)
0xa81f5546378ef280966f4436e6030042281dad47
closeFactorMantissa(view returns (uint256)
500000000000000000
collateralRatio(view returns (uint256 mantissa)
1250000000000000000
liquidationDiscount(view returns (uint256 mantissa)
100000000000000000
maximumLiquidationDiscountMantissa(view returns (uint256)
100000000000000000
minimumCollateralRatioMantissa(view returns (uint256)
1100000000000000000
originationFee(view returns (uint256 mantissa)
1000000000000000
paused(view returns (bool)
false
pendingAdmin(view returns (address)
0x0000000000000000000000000000000000000000
priceOracle(view returns (address)
0x7fb9a71f9b7d508224b789341bd9de0240963dca
rewardControl(view returns (address)
0x14716c982fd8b7f1e8f0b4dbb496dce438a29d93
Read-only
KYCAdmins(addressview returns (bool)
assetPrices(address assetview returns (uint256)
borrowBalances(addressaddressview returns (uint256 principaluint256 interestIndex)
calculateAccountValues(address userAddressview returns (uint256uint256uint256)
collateralMarkets(uint256view returns (address)
customersWithKYC(addressview returns (bool)
getAccountLiquidity(address accountview returns (int256)
getBorrowBalance(address accountaddress assetview returns (uint256)
getMarketBalances(address assetview returns (uint256uint256)
getSupplyBalance(address accountaddress assetview returns (uint256)
liquidators(addressview returns (bool)
managers(addressview returns (bool)
markets(addressview returns (bool isSupporteduint256 blockNumberaddress interestRateModeluint256 totalSupplyuint256 supplyRateMantissauint256 supplyIndexuint256 totalBorrowsuint256 borrowRateMantissauint256 borrowIndex)
originationFeeBalance(addressaddressview returns (uint256)
supplyBalances(addressaddressview returns (uint256 principaluint256 interestIndex)
State-modifying
admin(returns (address)
changeAdmin(address newAdmin
implementation(returns (address)
upgradeTo(address newImplementation
upgradeToAndCall(address newImplementationbytes datapayable 
_acceptAdmin(
_adminFunctions(address newPendingAdminaddress newOraclebool requestedStateuint256 originationFeeMantissauint256 newCloseFactorMantissaaddress wethContractAddressaddress _rewardControlreturns (uint256)
_changeCustomerKYC(address customerbool newStatus
_changeKYCAdmin(address KYCAdminbool newStatus
_changeLiquidator(address liquidatorbool newStatus
_setMarketInterestRateModel(address assetaddress interestRateModelreturns (uint256)
_setRiskParameters(uint256 collateralRatioMantissauint256 liquidationDiscountMantissareturns (uint256)
_supportMarket(address assetaddress interestRateModelreturns (uint256)
_suspendMarket(address assetreturns (uint256)
_withdrawEquity(address assetuint256 amountreturns (uint256)
borrow(address assetuint256 amountreturns (uint256)
initializer(
liquidateBorrow(address targetAccountaddress assetBorrowaddress assetCollateraluint256 requestedAmountClosepayable returns (uint256)
repayBorrow(address assetuint256 amountpayable returns (uint256)
supply(address assetuint256 amountpayable returns (uint256)
withdraw(address assetuint256 requestedAmountreturns (uint256)
Events
AdminChanged(address previousAdminaddress newAdmin
Upgraded(address indexed implementation
BorrowLiquidated(address indexed targetAccountaddress assetBorrowuint256 borrowBalanceAccumulateduint256 amountRepaidaddress indexed liquidatoraddress assetCollateraluint256 amountSeized
BorrowRepaid(address accountaddress assetuint256 amountuint256 startingBalanceuint256 newBalance
BorrowTaken(address accountaddress assetuint256 amountuint256 startingBalanceuint256 borrowAmountWithFeeuint256 newBalance
EquityWithdrawn(address indexed assetuint256 equityAvailableBeforeuint256 amountaddress indexed owner
Failure(uint256 erroruint256 infouint256 detail
KYCAdminChanged(address indexed KYCAdminbool newStatus
KYCCustomerChanged(address indexed KYCCustomerbool newStatus
LiquidatorChanged(address indexed Liquidatorbool newStatus
SupplyReceived(address accountaddress assetuint256 amountuint256 startingBalanceuint256 newBalance
SupplyWithdrawn(address accountaddress assetuint256 amountuint256 startingBalanceuint256 newBalance
Constructor
constructor(address _logicaddress _adminbytes _data
Fallback and receive
fallback(
fallback(
receive(
Errors

This contract contains no error objects.