TokenHandler

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0xabe7f809 at 12657827
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "TokenHandler"

No transactions found for "TokenHandler"


Functions
Getter at block 21280352
 
getBorrowTotalAmount(view returns (uint256)
 
getDepositTotalAmount(view returns (uint256)
getERC20Addr(view returns (address)
0x0000000000000000000000000000000000000000
getErc20Addr(view returns (address)
0x0000000000000000000000000000000000000000
getHandlerDataStorageAddr(view returns (address)
0x0000000000000000000000000000000000000000
getInterestModelAddr(view returns (address)
0x0000000000000000000000000000000000000000
 
getLimitOfAction(view returns (uint256)
getMarketManagerAddr(view returns (address)
0x0000000000000000000000000000000000000000
getOwner(view returns (address)
0x0000000000000000000000000000000000000000
 
getSIRandBIR(view returns (uint256uint256)
getSiHandlerDataStorage(view returns (address)
0x0000000000000000000000000000000000000000
getTokenDecimals(view returns (uint256uint256)
(0, 0)
 
getTokenHandlerBorrowLimit(view returns (uint256)
 
getTokenHandlerLimit(view returns (uint256uint256)
 
getTokenHandlerMarginCallLimit(view returns (uint256)
getTokenName(view returns (string)
getUnderlyingTokenDecimal(view returns (uint256)
0
getUnifiedTokenDecimal(view returns (uint256)
0
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
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

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.