ERC1155Vault
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
11
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
-
variable spans 3 additional slots
-
variable spans 1 additional slot
Balances ($0.00)
No balances found for "ERC1155Vault"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "ERC1155Vault"
ABI
ABI objects
Getter at block 21391997
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
calculateAdditionalInterest() view returns (uint256)
0
settings() view returns (struct RateLibRate debtInterestApr, struct RateLibRate organizationFeeRate, uint256 borrowAmountCap, uint256 minBorrowAmount)
(debtInterestApr=(0, 0), organizationFeeRate=(0, 0), borrowAmountCap=0, minBorrowAmount=0)
stablecoin() view returns (address)
0x0000000000000000000000000000000000000000
tokenContract() view returns (address)
0x0000000000000000000000000000000000000000
tokenIndex() view returns (uint256)
0
totalDebtAmount() view returns (uint256)
0
totalFeeCollected() view returns (uint256)
0
totalUsers() view returns (address[])
[]
totalUsersLength() view returns (uint256)
0
valueProvider() view returns (address)
0x0000000000000000000000000000000000000000
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 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)
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)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
DebtCapReached()
InsufficientCollateral()
InvalidAmount(uint256 amount)
InvalidLength()
InvalidPosition(address owner)
InvalidRate()
MinBorrowAmount()
NoDebt()
UnknownAction(uint8 action)