tokenProxy

Verified contract

Proxy

Active on Ethereum with 1,716 txns
Deployed by via 0x1e4ed25c at 11814100
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
2 additional variables
ERC-20
Value $160,603.36
 (#0)
ERC-1555
--
0x78a5de175da156de1568e96adddbc8bbecfdcab9c09c02274bb15bef0892ef09
0xa04c5085c3177efe9d3363b97db025fab0c8b466d20128d3cff9e26a7bc6870d
0xa07d05a79ae8046907411622ee5ad70aa390ba94034862459656eed444cae46e
0xcc42baff8835454bfda48f8c1e7b5134d2a91d5a161e0d1abdda744737f68ecb
0x08ed6ea1b3c56e2373f6b36b4830448b3ed52a56a3cb3cb5ceebbc74fae25eaa
0x9f77df552f6426e4b71b76a2b1aa99e69d20059c3fec9f75d484a2c00a561bb9
0x139d03ec9ed85adda9f3f47f16d2cef240126f5de500dba2adfa4fa241a5c31a
0xc7c4b543c68c518ed5feb40dfc13f9a32288b3d7002e054b66b0426adafd2d8e
0x568012ce3e0d23108e9f82254687dcdbff47e615f13774c070772ceeca9026d0
0x301275a5c4f7683bf09f57ed4ba7412640d974be4cd126d6050bcbd8f42c4ff0

Functions
Getter at block 21280352
SI(view returns (address)
0xc06b71ec195ccaa98a57dd4ba9e90a7469c37d13
getHandlerAddr(view returns (address)
0x47be3d1def039bd85e7570864bb5148e7491a65f
getHandlerID(view returns (uint256)
4
getSiHandlerAddr(view returns (address)
0xc06b71ec195ccaa98a57dd4ba9e90a7469c37d13
handler(view returns (address)
0x47be3d1def039bd85e7570864bb5148e7491a65f
 
getBorrowTotalAmount(view returns (uint256)
 
getDepositTotalAmount(view returns (uint256)
 
getERC20Addr(view returns (address)
 
getErc20Addr(view returns (address)
 
getHandlerDataStorageAddr(view returns (address)
 
getInterestModelAddr(view returns (address)
 
getLimitOfAction(view returns (uint256)
 
getMarketManagerAddr(view returns (address)
 
getOwner(view returns (address)
 
getSIRandBIR(view returns (uint256uint256)
 
getSiHandlerDataStorage(view returns (address)
 
getTokenDecimals(view returns (uint256uint256)
 
getTokenHandlerBorrowLimit(view returns (uint256)
 
getTokenHandlerLimit(view returns (uint256uint256)
 
getTokenHandlerMarginCallLimit(view returns (uint256)
 
getTokenName(view returns (string)
 
getUnderlyingTokenDecimal(view returns (uint256)
 
getUnifiedTokenDecimal(view returns (uint256)
Read-only
convertUnifiedToUnderlying(uint256 unifiedTokenAmountview returns (uint256)
getTokenLiquidityAmountWithInterest(address userAddrview returns (uint256)
getUserAmount(address userAddrview returns (uint256uint256)
getUserAmountWithInterest(address userAddrview returns (uint256uint256)
getUserIntraBorrowAmount(address userAddrview returns (uint256)
getUserIntraDepositAmount(address userAddrview returns (uint256)
getUserMaxBorrowAmount(address userAddrview returns (uint256)
getUserMaxRepayAmount(address userAddrview returns (uint256)
getUserMaxWithdrawAmount(address userAddrview returns (uint256)
State-modifying
borrow(uint256 unifiedTokenAmountbool flagreturns (bool)
deposit(uint256 unifiedTokenAmountbool flagpayable returns (bool)
handlerProxy(bytes datareturns (boolbytes)
handlerViewProxy(bytes datareturns (boolbytes)
initialize(uint256 _handlerIDaddress handlerAddraddress marketManagerAddraddress interestModelAddraddress marketDataStorageAddraddress erc20Addrstring _tokenNameaddress siHandlerAddraddress SIHandlerDataStorageAddrreturns (bool)
migration(address targetreturns (bool)
ownershipTransfer(address _ownerreturns (bool)
repay(uint256 unifiedTokenAmountbool flagpayable returns (bool)
setHandlerAddr(address handlerAddrreturns (bool)
setHandlerID(uint256 _handlerIDreturns (bool)
setSiHandlerAddr(address siHandlerAddrreturns (bool)
siProxy(bytes datareturns (boolbytes)
siViewProxy(bytes datareturns (boolbytes)
withdraw(uint256 unifiedTokenAmountbool flagreturns (bool)
applyInterest(address userAddrreturns (uint256uint256)
borrow(uint256 unifiedTokenAmountbool flagreturns (bool)
checkFirstAction(returns (bool)
deposit(uint256 unifiedTokenAmountbool flagpayable returns (bool)
depositFlashloanFee(uint256 amountreturns (bool)
depositTo(uint256 unifiedTokenAmountaddress toUserbool flagpayable returns (bool)
executeFlashloan(address receiverAddressuint256 amountreturns (bool)
ownershipTransfer(address newOwnerreturns (bool)
partialLiquidationUser(address delinquentBorroweruint256 liquidateAmountaddress liquidatoruint256 rewardHandlerIDreturns (uint256uint256uint256)
partialLiquidationUserReward(address delinquentBorroweruint256 liquidationAmountWithRewardaddress liquidatorreturns (uint256)
repay(uint256 unifiedTokenAmountbool flagpayable returns (bool)
repayTo(uint256 unifiedTokenAmountaddress toUserbool flagpayable returns (bool)
reserveDeposit(uint256 unifiedTokenAmountpayable returns (bool)
reserveWithdraw(uint256 unifiedTokenAmountreturns (bool)
setCircuitBreakWithOwner(bool _emergencyreturns (bool)
setCircuitBreaker(bool _emergencyreturns (bool)
setErc20(address erc20Addrstring namereturns (bool)
setHandlerDataStorage(address marketDataStorageAddrreturns (bool)
setInterestModel(address interestModelAddrreturns (bool)
setMarketManager(address marketManagerAddrreturns (bool)
setSiHandlerDataStorage(address SIHandlerDataStorageAddrreturns (bool)
setTokenHandlerBorrowLimit(uint256 borrowLimitreturns (bool)
setTokenHandlerMarginCallLimit(uint256 marginCallLimitreturns (bool)
setUnderlyingTokenDecimal(uint256 _underlyingTokenDecimalreturns (bool)
setUnifiedTokenDecimal(uint256 _unifiedTokenDecimalreturns (bool)
withdraw(uint256 unifiedTokenAmountbool flagreturns (bool)
withdrawFlashloanFee(uint256 unifiedTokenAmountreturns (bool)
Events
Borrow(address borroweruint256 borrowAmountuint256 handlerID
CircuitBreaked(bool breakeduint256 blockNumberuint256 handlerID
Deposit(address depositoruint256 depositAmountuint256 handlerID
FlashloanFeeWithdraw(uint256 flashloanFeeWithdrawAmountuint256 handlerID
MarketIn(address userAddr
OwnershipTransferred(address owneraddress newOwner
Repay(address repayeruint256 repayAmountuint256 handlerID
ReserveDeposit(uint256 reserveDepositAmountuint256 handlerID
ReserveWithdraw(uint256 reserveWithdrawAmountuint256 handlerID
Withdraw(address redeemeruint256 redeemAmountuint256 handlerID
Constructor
constructor(
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.