TransparentUpgradeableProxy
Verified contract
Proxy
Active on
Ethereum with 220 txns
Unified storage
Map
Table
Raw
Constants and immutables
4
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 49 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
0xd60e…b62d
-
variable spans 3 additional slots
-
variable spans 1 additional slot
0x7717…55a4
0x1d1b…bdaa
Balances ($0.00)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
0x1d1b…bdaa | ERC-1555 | 191 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 20795066 | 3 months ago | | | 0 | 0.0065736919 | |
| 20795050 | 3 months ago | | | 0 | 0.0016530915 | |
| 20795035 | 3 months ago | | | 0 | 0.0017470910 | |
| 20767580 | 3 months ago | | | 0 | 0.0027390870 | |
| 20767572 | 3 months ago | | | 0 | 0.0026773744 | |
| 20767558 | 3 months ago | | | 0 | 0.0021966439 | |
| 20765510 | 3 months ago | | | 0 | 0.0014652167 | |
| 20765497 | 3 months ago | | | 0 | 0.0015617240 | |
| 20730376 | 3 months ago | | | 0 | 0.00058543260 | |
| 20730358 | 3 months ago | | | 0 | 0.00059840828 |
ABI
ABI objects
Getter at block 21391997 totalUsers() view returns (address[])
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
calculateAdditionalInterest() view returns (uint256)
3509792674771464527666
settings() view returns (struct RateLibRate debtInterestApr, struct RateLibRate organizationFeeRate, uint256 borrowAmountCap, uint256 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
totalUsersLength() view returns (uint256)
23
valueProvider() view returns (address)
0x7717ffc018848e45d117221e84983c1b2b3f55a4
Read-only
getCreditLimit(address _owner) view returns (uint256)
getDebtInterest(address _owner) view returns (uint256)
getLiquidationLimit(address _owner) view returns (uint256)
getRoleAdmin(bytes32 role) view returns (bytes32)
hasRole(bytes32 role, address account) view returns (bool)
isLiquidatable(address _owner) view returns (bool)
onERC1155BatchReceived(address operator, address from, uint256[] ids, uint256[] values, bytes data) pure returns (bytes4)
onERC1155Received(address operator, address from, uint256 id, uint256 value, bytes data) pure returns (bytes4)
positions(address) view returns (uint256 collateral, uint256 debtPrincipal, uint256 debtPortion)
supportsInterface(bytes4 interfaceId) view returns (bool)
State-modifying
Events admin() returns (address admin_)
changeAdmin(address newAdmin)
implementation() returns (address implementation_)
upgradeTo(address newImplementation)
upgradeToAndCall(address newImplementation, bytes data) payable
accrue()
addCollateral(uint256 _colAmount)
borrow(uint256 _amount)
collect()
doActions(uint8[] _actions, bytes[] _data)
grantRole(bytes32 role, address account)
initialize(address _stablecoin, address _tokenContract, uint256 _tokenIndex, address _valueProvider, struct AbstractAssetVaultVaultSettings _settings)
liquidate(address _owner, address _recipient)
removeCollateral(uint256 _colAmount)
renounceRole(bytes32 role, address account)
repay(uint256 _amount)
rescueToken(address _token, uint256 _amount)
revokeRole(bytes32 role, address account)
setSettings(struct AbstractAssetVaultVaultSettings _settings)
setValueProvider(address _valueProvider)
AdminChanged(address previousAdmin, address newAdmin)
BeaconUpgraded(address indexed beacon)
Upgraded(address indexed implementation)
Accrual(uint256 additionalInterest)
Borrowed(address indexed owner, uint256 amount)
CollateralAdded(address indexed owner, uint256 colAmount)
CollateralRemoved(address indexed owner, uint256 colAmount)
FeeCollected(uint256 collectedAmount)
Initialized(uint8 version)
Liquidated(address indexed liquidator, address indexed owner, uint256 colAmount)
Repaid(address indexed owner, uint256 amount)
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)
constructor(address _logic, address admin_, bytes _data)
fallback()
receive()
DebtCapReached()
InsufficientCollateral()
InvalidAmount(uint256 amount)
InvalidLength()
InvalidPosition(address owner)
InvalidRate()
MinBorrowAmount()
NoDebt()
UnknownAction(uint8 action)