Size

Verified contract

Implementation

Active on Base with 0 txns
Deployed by via 0x016fb3a5 at 22578831
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 26 additional slots

No balances found for "Size"

No transactions found for "Size"


Functions
Getter at block 23170942
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)
 
getPositionsCount(view returns (uint256uint256)
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 userview returns (uint256)
debtTokenAmountToCollateralTokenAmount(uint256 borrowATokenAmountview returns (uint256)
getBorrowOfferAPR(address borroweruint256 tenorview returns (uint256)
getBuyCreditMarketSwapData(struct BuyCreditMarketParams paramsview returns (struct BuyCreditMarketSwapDataBuyCreditMarket)
getCreditPosition(uint256 creditPositionIdview returns (struct CreditPosition)
getDebtPosition(uint256 debtPositionIdview returns (struct DebtPosition)
getDebtPositionAssignedCollateral(uint256 debtPositionIdview returns (uint256)
getLoanOfferAPR(address lenderuint256 tenorview returns (uint256)
getLoanStatus(uint256 positionIdview returns (uint8)
getRoleAdmin(bytes32 roleview returns (bytes32)
getSellCreditMarketSwapData(struct SellCreditMarketParams paramsview returns (struct SellCreditMarketSwapDataSellCreditMarket)
getSwapFee(uint256 cashuint256 tenorview returns (uint256)
getUserView(address userview returns (struct UserView)
hasRole(bytes32 roleaddress accountview returns (bool)
isCreditPositionId(uint256 creditPositionIdview returns (bool)
isDebtPositionId(uint256 debtPositionIdview returns (bool)
isDebtPositionLiquidatable(uint256 debtPositionIdview returns (bool)
isUserUnderwater(address userview returns (bool)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
buyCreditLimit(struct BuyCreditLimitParams paramspayable 
buyCreditMarket(struct BuyCreditMarketParams paramspayable 
claim(struct ClaimParams paramspayable 
compensate(struct CompensateParams paramspayable 
deposit(struct DepositParams paramspayable 
grantRole(bytes32 roleaddress account
initialize(address ownerstruct InitializeFeeConfigParams fstruct InitializeRiskConfigParams rstruct InitializeOracleParams ostruct InitializeDataParams d
liquidate(struct LiquidateParams paramspayable returns (uint256 liquidatorProfitCollateralToken)
liquidateWithReplacement(struct LiquidateWithReplacementParams paramspayable returns (uint256 liquidatorProfitCollateralTokenuint256 liquidatorProfitBorrowToken)
multicall(bytes[] _datapayable returns (bytes[] results)
pause(
reinitialize(address borrowATokenV1_5address[] users
renounceRole(bytes32 roleaddress callerConfirmation
repay(struct RepayParams paramspayable 
revokeRole(bytes32 roleaddress account
selfLiquidate(struct SelfLiquidateParams paramspayable 
sellCreditLimit(struct SellCreditLimitParams paramspayable 
sellCreditMarket(struct SellCreditMarketParams paramspayable 
setUserConfiguration(struct SetUserConfigurationParams paramspayable 
setVariablePoolBorrowRate(uint128 borrowRate
unpause(
updateConfig(struct UpdateConfigParams params
upgradeToAndCall(address newImplementationbytes datapayable 
withdraw(struct WithdrawParams paramspayable 
Events
Initialized(uint64 version
Paused(address account
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
Unpaused(address account
Upgraded(address indexed implementation
VariablePoolBorrowRateUpdated(uint128 indexed oldBorrowRateuint128 indexed newBorrowRate
Constructor
constructor(
Fallback and receive

This contract contains no fallback and receive objects.

Errors
AccessControlBadConfirmation(
AccessControlUnauthorizedAccount(address accountbytes32 neededRole
AddressEmptyCode(address target
ERC1967InvalidImplementation(address implementation
ERC1967NonPayable(
EnforcedPause(
ExpectedPause(
FailedInnerCall(
InvalidInitialization(
NULL_OFFER(
NULL_TENOR(
NotInitializing(
USER_IS_UNDERWATER(address accountuint256 cr
UUPSUnauthorizedCallContext(
UUPSUnsupportedProxiableUUID(bytes32 slot