TransparentUpgradeableProxy

Verified contract

Proxy

Active on Ethereum with 220 txns
Deployed by via 0xa8cda50a at 19434213
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
-
variable spans 3 additional slots
-
variable spans 1 additional slot
 (#5)
ERC-1555
--
0x9e5042c2542545e45a536e65d8411b1902da7edc2e0cfc9878c6cc64819c98ce
0x1b683d10ff2526af6c93fad6fda7f7674cadbe9585aea0cde5285e9a03430c9f
0x578f1468e978ac69cb579e63dadec578bb6e416a44c97d8203f6c139b32a6a9a
0x1059f4456a225594fab95607390a71680df61d046837eaf6bb38c481bc1db658
0x394ec72283adb7564875a3b7fc5b9ca6abdf9f10664fbe8228bd391398b1f8f1
0x6ba0f68ef247412faa8929ebd08449b7a557635a30a14a05644316a1434d6363
0xa24bc953d3966230dc6a9213fa24cffa6fa8fe3315222cc7d2f8f9f8b9440aea
0xcac6e6d43ca4fda629538723dbb8f125e480b2de89d977fd11d7a140be07eff0
0x6812bb163e488126b8c913ba6b4c76b29068779ea5050cc276a4e300ca8ee015
0xfb6c881349e8b0122a2b83c9f860417378575ae1978964b74f72d728738041d5

Functions
Getter at block 20985534
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
calculateAdditionalInterest(view returns (uint256)
1119585700676911726565
settings(view returns (struct RateLibRate debtInterestAprstruct RateLibRate organizationFeeRateuint256 borrowAmountCapuint256 minBorrowAmount)
(debtInterestApr=(3, 100), organizationFeeRate=(1, 100), borrowAmountCap=525000000000000000000000, minBorrowAmount=1000000000000000000)
stablecoin(view returns (address)
0xd60eea80c83779a8a5bfcdac1f3323548e6bb62d
tokenContract(view returns (address)
0x1d1b79a8c50df0e11019f822cd3d7e5d485ebdaa
tokenIndex(view returns (uint256)
5
totalDebtAmount(view returns (uint256)
512851654262950675668895
totalFeeCollected(view returns (uint256)
183613652002746031514
 
totalUsers(view returns (address[])
totalUsersLength(view returns (uint256)
23
valueProvider(view returns (address)
0x7717ffc018848e45d117221e84983c1b2b3f55a4
Read-only
getCreditLimit(address _ownerview returns (uint256)
getDebtInterest(address _ownerview returns (uint256)
getLiquidationLimit(address _ownerview returns (uint256)
getRoleAdmin(bytes32 roleview returns (bytes32)
hasRole(bytes32 roleaddress accountview returns (bool)
isLiquidatable(address _ownerview returns (bool)
onERC1155BatchReceived(address operatoraddress fromuint256[] idsuint256[] valuesbytes datapure returns (bytes4)
onERC1155Received(address operatoraddress fromuint256 iduint256 valuebytes datapure returns (bytes4)
positions(addressview returns (uint256 collateraluint256 debtPrincipaluint256 debtPortion)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
admin(returns (address admin_)
changeAdmin(address newAdmin
implementation(returns (address implementation_)
upgradeTo(address newImplementation
upgradeToAndCall(address newImplementationbytes datapayable 
accrue(
addCollateral(uint256 _colAmount
borrow(uint256 _amount
collect(
doActions(uint8[] _actionsbytes[] _data
grantRole(bytes32 roleaddress account
initialize(address _stablecoinaddress _tokenContractuint256 _tokenIndexaddress _valueProviderstruct AbstractAssetVaultVaultSettings _settings
liquidate(address _owneraddress _recipient
removeCollateral(uint256 _colAmount
renounceRole(bytes32 roleaddress account
repay(uint256 _amount
rescueToken(address _tokenuint256 _amount
revokeRole(bytes32 roleaddress account
setSettings(struct AbstractAssetVaultVaultSettings _settings
setValueProvider(address _valueProvider
Events
AdminChanged(address previousAdminaddress newAdmin
BeaconUpgraded(address indexed beacon
Upgraded(address indexed implementation
Accrual(uint256 additionalInterest
Borrowed(address indexed owneruint256 amount
CollateralAdded(address indexed owneruint256 colAmount
CollateralRemoved(address indexed owneruint256 colAmount
FeeCollected(uint256 collectedAmount
Initialized(uint8 version
Liquidated(address indexed liquidatoraddress indexed owneruint256 colAmount
Repaid(address indexed owneruint256 amount
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
Constructor
constructor(address _logicaddress admin_bytes _data
Fallback and receive
fallback(
receive(
Errors
DebtCapReached(
InsufficientCollateral(
InvalidAmount(uint256 amount
InvalidLength(
InvalidPosition(address owner
InvalidRate(
MinBorrowAmount(
NoDebt(
UnknownAction(uint8 action