Size
Verified contract
Implementation
Active on
Base with 0 txns
Storage
Map
Table
Raw
Constants and immutables
12
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 26 additional slots
Balances ($0.00)
No balances found for "Size"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "Size"
ABI
ABI objects
Getter at block 23170942 getPositionsCount() view returns (uint256, uint256)
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
UPGRADE_INTERFACE_VERSION() view returns (string)
5.0.0
data() view returns (struct DataView)
(0, 0, 0x0000000000000000000000000000000000000000, 0x0000000000000000000000000000000000000000, 0x0000000000000000000000000000000000000000, 0x0000000000000000000000000000000000000000, 0x0000000000000000000000000000000000000000, 0x0000000000000000000000000000000000000000)
feeConfig() view returns (struct InitializeFeeConfigParams)
(0, 0, 0, 0, 0, 0x0000000000000000000000000000000000000000)
oracle() view returns (struct InitializeOracleParams)
(0x0000000000000000000000000000000000000000, 0)
paused() view returns (bool)
false
proxiableUUID() view returns (bytes32)
0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc
riskConfig() view returns (struct InitializeRiskConfigParams)
(0, 0, 0, 0, 0, 0)
version() pure returns (string)
v1.5
Read-only
collateralRatio(address user) view returns (uint256)
debtTokenAmountToCollateralTokenAmount(uint256 borrowATokenAmount) view returns (uint256)
getBorrowOfferAPR(address borrower, uint256 tenor) view returns (uint256)
getBuyCreditMarketSwapData(struct BuyCreditMarketParams params) view returns (struct BuyCreditMarketSwapDataBuyCreditMarket)
getCreditPosition(uint256 creditPositionId) view returns (struct CreditPosition)
getDebtPosition(uint256 debtPositionId) view returns (struct DebtPosition)
getDebtPositionAssignedCollateral(uint256 debtPositionId) view returns (uint256)
getLoanOfferAPR(address lender, uint256 tenor) view returns (uint256)
getLoanStatus(uint256 positionId) view returns (uint8)
getRoleAdmin(bytes32 role) view returns (bytes32)
getSellCreditMarketSwapData(struct SellCreditMarketParams params) view returns (struct SellCreditMarketSwapDataSellCreditMarket)
getSwapFee(uint256 cash, uint256 tenor) view returns (uint256)
getUserView(address user) view returns (struct UserView)
hasRole(bytes32 role, address account) view returns (bool)
isCreditPositionId(uint256 creditPositionId) view returns (bool)
isDebtPositionId(uint256 debtPositionId) view returns (bool)
isDebtPositionLiquidatable(uint256 debtPositionId) view returns (bool)
isUserUnderwater(address user) view returns (bool)
supportsInterface(bytes4 interfaceId) view returns (bool)
State-modifying
Events buyCreditLimit(struct BuyCreditLimitParams params) payable
buyCreditMarket(struct BuyCreditMarketParams params) payable
claim(struct ClaimParams params) payable
compensate(struct CompensateParams params) payable
deposit(struct DepositParams params) payable
grantRole(bytes32 role, address account)
initialize(address owner, struct InitializeFeeConfigParams f, struct InitializeRiskConfigParams r, struct InitializeOracleParams o, struct InitializeDataParams d)
liquidate(struct LiquidateParams params) payable returns (uint256 liquidatorProfitCollateralToken)
liquidateWithReplacement(struct LiquidateWithReplacementParams params) payable returns (uint256 liquidatorProfitCollateralToken, uint256 liquidatorProfitBorrowToken)
multicall(bytes[] _data) payable returns (bytes[] results)
pause()
reinitialize(address borrowATokenV1_5, address[] users)
renounceRole(bytes32 role, address callerConfirmation)
repay(struct RepayParams params) payable
revokeRole(bytes32 role, address account)
selfLiquidate(struct SelfLiquidateParams params) payable
sellCreditLimit(struct SellCreditLimitParams params) payable
sellCreditMarket(struct SellCreditMarketParams params) payable
setUserConfiguration(struct SetUserConfigurationParams params) payable
setVariablePoolBorrowRate(uint128 borrowRate)
unpause()
updateConfig(struct UpdateConfigParams params)
upgradeToAndCall(address newImplementation, bytes data) payable
withdraw(struct WithdrawParams params) payable
Initialized(uint64 version)
Paused(address account)
RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
Unpaused(address account)
Upgraded(address indexed implementation)
VariablePoolBorrowRateUpdated(uint128 indexed oldBorrowRate, uint128 indexed newBorrowRate)
constructor()
This contract contains no fallback and receive objects.
AccessControlBadConfirmation()
AccessControlUnauthorizedAccount(address account, bytes32 neededRole)
AddressEmptyCode(address target)
ERC1967InvalidImplementation(address implementation)
ERC1967NonPayable()
EnforcedPause()
ExpectedPause()
FailedInnerCall()
InvalidInitialization()
NULL_OFFER()
NULL_TENOR()
NotInitializing()
USER_IS_UNDERWATER(address account, uint256 cr)
UUPSUnauthorizedCallContext()
UUPSUnsupportedProxiableUUID(bytes32 slot)