TransparentUpgradeableProxy
Verified contract
Proxy
Active on
Ethereum with 118 txns
Unified storage
Map
Table
Raw
Constants and immutables
3
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
0x26c8…f4d4
0xdfe4…ec56
-
variable spans 29 additional slots
3 additional
variables
Balances ($0.00)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
0x8593…b78e (#321566165789665947984160145135211169880602069231362650378330377759474641032) | ERC-1555 | 35,876,415.05616T | -- | -- | |
0xdf70…5d0b (#326866706984001100972910037637439925428084520921989507306925454959920910490) | ERC-1555 | 14,971.569718T | -- | -- | |
ibUSDC | ERC-20 | 3.276344K | -- | -- | |
ibWETH | ERC-20 | 1.440861 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21039398 | 18 days ago | | | 0 | 0.010618009 | |
| 20620841 | 2 months ago | | | 0 | 0.012101371 | |
| 20620800 | 2 months ago | | | 0 | 0.025411441 | |
| 20616447 | 3 months ago | | | 0 | 0.0016939443 | |
| 20451297 | 3 months ago | | | 0 | 0.0066541006 | |
| 20446677 | 3 months ago | | | 0 | 0.0032614668 | |
| 20446647 | 3 months ago | | | 0 | 0.0078813146 | |
| 20445470 | 3 months ago | | | 0 | 0.012079149 | |
| 20438255 | 3 months ago | | | 0 | 0.0047204137 | |
| 20438247 | 3 months ago | | | 0 | 0.0037419014 |
ABI
ABI objects
Getter at block 21168713 EXECUTOR() view returns (address) getAllBanks() view returns (address[]) getCurrentPositionInfo() view returns (struct IBankPosition)
POSITION_ID() view returns (uint256)
115792089237316195423570985008687907853269984665640564039457584007913129639935
SPELL() view returns (address)
0x0000000000000000000000000000000000000001
getBankStatus() view returns (uint256)
15
getConfig() view returns (address)
0x26c85a3780ef040bc29f7b2002dfed2d493df4d4
getFeeManager() view returns (address)
0x0d2a69fd6074cf2bfaef844d65f13459e80309af
getNextPositionId() view returns (uint256)
40
getOracle() view returns (address)
0xdfe469ace05c3d0d4461439e6cf5d0f46f33ec56
getRepayResumedTimestamp() view returns (uint256)
0
isBorrowAllowed() view returns (bool)
true
isLendAllowed() view returns (bool)
true
isRepayAllowed() view returns (bool)
true
isWithdrawLendAllowed() view returns (bool)
true
owner() view returns (address)
0x72d19f7c71a2bd5e61871b1d3df7a45ae5ec9582
pendingOwner() view returns (address)
0x0000000000000000000000000000000000000000
Read-only
getBankInfo(address token) view returns (struct IBankBank bank)
getDebtValue(uint256 positionId) view returns (uint256 debtValue)
getIsolatedCollateralValue(uint256 positionId) view returns (uint256 icollValue)
getPositionDebt(uint256 positionId) view returns (uint256 debt)
getPositionInfo(uint256 positionId) view returns (struct IBankPosition)
getPositionRisk(uint256 positionId) view returns (uint256 risk)
getPositionValue(uint256 positionId) view returns (uint256 positionValue)
isLiquidatable(uint256 positionId) view returns (bool)
isSpellWhitelisted(address spell) view returns (bool)
isTokenWhitelisted(address token) view returns (bool)
isWrappedTokenWhitelisted(address token) view returns (bool)
onERC1155BatchReceived(address, address, uint256[], uint256[], bytes) pure returns (bytes4)
onERC1155Received(address, address, uint256, uint256, bytes) pure returns (bytes4)
supportsInterface(bytes4 interfaceId) view returns (bool)
State-modifying
Events acceptOwnership()
accrue(address token)
accrueAll(address[] tokens)
addBank(address token, address softVault, address hardVault, uint256 liqThreshold)
borrow(address token, uint256 amount) returns (uint256 borrowedAmount)
currentPositionDebt(uint256 positionId) returns (uint256)
execute(uint256 positionId, address spell, bytes data) returns (uint256)
initialize(address oracle, address config, address owner)
lend(address token, uint256 amount)
liquidate(uint256 positionId, address debtToken, uint256 amountCall)
modifyBank(uint8 bankIndex, address token, address softVault, address hardVault, uint256 liqThreshold)
putCollateral(address collToken, uint256 collId, uint256 amountCall)
renounceOwnership()
repay(address token, uint256 amountCall)
setBankStatus(uint256 bankStatus)
takeCollateral(uint256 amount) returns (uint256)
transferOwnership(address newOwner)
whitelistERC1155(address[] tokens, bool ok)
whitelistSpells(address[] spells, bool[] statuses)
whitelistTokens(address[] tokens, bool[] statuses)
withdrawLend(address token, uint256 shareAmount)
AdminChanged(address previousAdmin, address newAdmin)
Upgraded(address indexed implementation)
AddBank(address token, address bToken, address softVault, address hardVault)
Borrow(uint256 positionId, address caller, address token, uint256 amount, uint256 share)
Execute(uint256 positionId, address owner)
Initialized(uint8 version)
Lend(uint256 positionId, address caller, address token, uint256 amount)
Liquidate(uint256 positionId, address liquidator, address debtToken, uint256 amount, uint256 share, uint256 positionSize, uint256 underlyingVaultSize)
ModifyBank(address token, address bToken, address softVault, address hardVault)
OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
PutCollateral(uint256 positionId, address owner, address caller, address token, uint256 id, uint256 amount)
Repay(uint256 positionId, address caller, address token, uint256 amount, uint256 share)
SetOracle(address oracle)
SetWhitelistERC1155(address indexed token, bool isWhitelisted)
SetWhitelistToken(address indexed token, bool isWhitelisted)
TakeCollateral(uint256 positionId, address caller, address token, uint256 id, uint256 amount)
WithdrawLend(uint256 positionId, address caller, address token, uint256 amount)
constructor(address _logic, address initialOwner, bytes _data)
fallback()
AddressEmptyCode(address target)
ERC1967InvalidAdmin(address admin)
ERC1967InvalidImplementation(address implementation)
ERC1967NonPayable()
FailedInnerCall()
ProxyDeniedAdminAccess()
AddressEmptyCode(address target)
AddressInsufficientBalance(address account)
BAD_COLLATERAL(uint256 positionId)
BAD_POSITION(uint256 posId)
BANK_ALREADY_LISTED()
BANK_LIMIT()
BANK_NOT_EXIST(uint8 index)
BANK_NOT_LISTED(address token)
BORROW_FAILED(uint256 amount)
BORROW_NOT_ALLOWED()
BORROW_ZERO_SHARE(uint256 borrowAmount)
BTOKEN_ALREADY_ADDED()
DIFF_COL_EXIST(address collToken)
FailedInnerCall()
INCORRECT_DEBT(address debtToken)
INCORRECT_UNDERLYING(address uToken)
INPUT_ARRAY_MISMATCH()
INSUFFICIENT_COLLATERAL()
INVALID_UTOKEN(address uToken)
LEND_NOT_ALLOWED()
LIQ_THRESHOLD_TOO_HIGH(uint256 threshold)
LIQ_THRESHOLD_TOO_LOW(uint256 threshold)
LOCKED()
NOT_FROM_OWNER(uint256 positionId, address sender)
NOT_FROM_SPELL(address from)
NOT_IN_EXEC()
NOT_LIQUIDATABLE(uint256 positionId)
NOT_UNDER_EXECUTION()
ORACLE_NOT_SUPPORT(address token)
ORACLE_NOT_SUPPORT_WTOKEN(address wToken)
REPAY_ALLOW_NOT_WARMED_UP()
REPAY_EXCEEDS_DEBT(uint256 repay, uint256 debt)
REPAY_FAILED(uint256 amount)
REPAY_NOT_ALLOWED()
SPELL_NOT_WHITELISTED(address spell)
SafeERC20FailedOperation(address token)
TOKEN_NOT_WHITELISTED(address token)
WITHDRAW_LEND_NOT_ALLOWED()
ZERO_ADDRESS()
ZERO_AMOUNT()