CoinHandler
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
11
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.00)
No balances found for "CoinHandler"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "CoinHandler"
ABI
ABI objects
Getter at block 21163130 getBorrowTotalAmount() view returns (uint256) getDepositTotalAmount() view returns (uint256) getLimitOfAction() view returns (uint256) getSIRandBIR() view returns (uint256, uint256) getTokenHandlerBorrowLimit() view returns (uint256) getTokenHandlerLimit() view returns (uint256, uint256) getTokenHandlerMarginCallLimit() view returns (uint256)
getERC20Addr() view returns (address)
0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
getHandlerDataStorageAddr() view returns (address)
0x0000000000000000000000000000000000000000
getInterestModelAddr() view returns (address)
0x0000000000000000000000000000000000000000
getMarketManagerAddr() view returns (address)
0x0000000000000000000000000000000000000000
getOwner() view returns (address)
0x0000000000000000000000000000000000000000
getSiHandlerDataStorage() view returns (address)
0x0000000000000000000000000000000000000000
getTokenName() view returns (string)
ether
Read-only
convertUnifiedToUnderlying(uint256 unifiedTokenAmount) view returns (uint256)
getTokenLiquidityAmountWithInterest(address userAddr) view returns (uint256)
getUserAmount(address userAddr) view returns (uint256, uint256)
getUserAmountWithInterest(address userAddr) view returns (uint256, uint256)
getUserIntraBorrowAmount(address userAddr) view returns (uint256)
getUserIntraDepositAmount(address userAddr) view returns (uint256)
getUserMaxBorrowAmount(address userAddr) view returns (uint256)
getUserMaxRepayAmount(address userAddr) view returns (uint256)
getUserMaxWithdrawAmount(address userAddr) view returns (uint256)
State-modifying
Events applyInterest(address userAddr) returns (uint256, uint256)
borrow(uint256 unifiedTokenAmount, bool flag) returns (bool)
checkFirstAction() returns (bool)
deposit(uint256 unifiedTokenAmount, bool flag) payable returns (bool)
depositFlashloanFee(uint256 amount) returns (bool)
executeFlashloan(address receiverAddress, uint256 amount) returns (bool)
ownershipTransfer(address newOwner) returns (bool)
partialLiquidationUser(address delinquentBorrower, uint256 liquidateAmount, address liquidator, uint256 rewardHandlerID) returns (uint256, uint256, uint256)
partialLiquidationUserReward(address delinquentBorrower, uint256 liquidationAmountWithReward, address liquidator) returns (uint256)
repay(uint256 unifiedTokenAmount, bool flag) payable returns (bool)
reserveDeposit(uint256 unifiedTokenAmount) payable returns (bool)
reserveWithdraw(uint256 unifiedTokenAmount) returns (bool)
setCircuitBreakWithOwner(bool _emergency) returns (bool)
setCircuitBreaker(bool _emergency) returns (bool)
setHandlerDataStorage(address marketDataStorageAddr) returns (bool)
setInterestModel(address interestModelAddr) returns (bool)
setMarketManager(address marketManagerAddr) returns (bool)
setSiHandlerDataStorage(address SIHandlerDataStorageAddr) returns (bool)
setTokenHandlerBorrowLimit(uint256 borrowLimit) returns (bool)
setTokenHandlerMarginCallLimit(uint256 marginCallLimit) returns (bool)
withdraw(uint256 unifiedTokenAmount, bool flag) returns (bool)
withdrawFlashloanFee(uint256 unifiedTokenAmount) returns (bool)
Borrow(address borrower, uint256 borrowAmount, uint256 handlerID)
CircuitBreaked(bool breaked, uint256 blockNumber, uint256 handlerID)
Deposit(address depositor, uint256 depositAmount, uint256 handlerID)
FlashloanFeeWithdraw(uint256 flashloanFeeWithdrawAmount, uint256 handlerID)
MarketIn(address userAddr)
OwnershipTransferred(address owner, address newOwner)
Repay(address repayer, uint256 repayAmount, uint256 handlerID)
ReserveDeposit(uint256 reserveDepositAmount, uint256 handlerID)
ReserveWithdraw(uint256 reserveWithdrawAmount, uint256 handlerID)
Withdraw(address redeemer, uint256 redeemAmount, uint256 handlerID)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
This contract contains no error objects.