IRioLRTAssetRegistry
Last updated
Last updated
Initializes the asset registry contract.
Parameters
Name | Type | Description |
---|---|---|
Returns the total value of all assets in the unit of account.
Returns the total value of the underlying asset in the unit of account.
Parameters
Returns the total balance of the asset, including the deposit pool and EigenLayer.
Parameters
Checks if a given asset is supported.
Parameters
Returns information about an asset.
Parameters
Returns the asset's EigenLayer strategy.
Parameters
Returns the amount of EigenLayer shares held for an asset.
Parameters
Returns the asset's current deposit cap.
Parameters
Returns an array of all supported assets.
Returns the EigenLayer strategies for all supported assets.
Increases the number of EigenLayer shares held for an asset.
Parameters
Decreases the number of EigenLayer shares held for an asset.
Parameters
Increases the unverified validator ETH balance.
Parameters
Decreases the unverified validator ETH balance.
Parameters
Converts an asset amount to its equivalent value in the unit of account. The unit of account is the price feed's quote asset.
Parameters
Converts the unit of account value to its equivalent in the asset. The unit of account is the price feed's quote asset.
Parameters
Converts an amount of an asset to the equivalent amount of EigenLayer shares.
Parameters
Converts an amount of EigenLayer shares to the equivalent amount of an asset.
Parameters
Emitted when a new asset is added.
Parameters
Emitted when an asset is removed.
Parameters
Emitted when an asset's EigenLayer strategy is set.
Parameters
Emitted when an asset's price feed is set.
Parameters
Emitted when the number of EigenLayer shares held for an asset is increased.
Parameters
Emitted when the number of EigenLayer shares held for an asset is decreased.
Parameters
Emitted when the unverified validator ETH balance is increased.
Parameters
Emitted when the unverified validator ETH balance is decreased.
Parameters
Thrown when the caller is not the LRT withdrawal queue or deposit pool.
Thrown when attempting an action on an unsupported asset.
Parameters
Thrown when attempting to add an asset that is already supported.
Parameters
Thrown when attempting to remove an asset with a non-zero balance.
Thrown when attempting to add an asset with an invalid address.
Thrown when an asset has greater than 18 decimals.
Thrown when a srategy's underlying token does not match the asset.
Thrown when a provided price feed has an unexpected amount of decimals.
Thrown when a price feed is provided when not needed, or not provided when required.
The configuration used to add a new asset.
Information about a supported asset.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
initialOwner
address
The initial owner of the contract.
token
address
The address of the liquid restaking token.
priceFeedDecimals
uint8
The number of decimals that all price feeds must use.
initialAssets
AssetConfig[]
The initial supported asset configurations.
asset
address
The address of the asset.
asset
address
The address of the asset.
asset
address
The address of the asset to check.
asset
address
The address of the asset.
asset
address
The address of the asset.
asset
address
The address of the asset.
asset
address
The address of the asset.
asset
address
The address of the asset.
amount
uint256
The amount of EigenLayer shares to increase.
asset
address
The address of the asset.
amount
uint256
The amount of EigenLayer shares to decrease.
amount
uint256
The amount of ETH to increase.
amount
uint256
The amount of ETH to decrease.
asset
address
The address of the asset to convert.
amount
uint256
The amount of the asset to convert.
asset
address
The address of the asset to convert to.
value
uint256
The asset's value in the unit of account.
asset
address
The address of the asset to convert.
amount
uint256
The amount of the asset to convert.
strategy
address
The EigenLayer strategy.
shares
uint256
The amount of EigenLayer shares.
config
AssetConfig
The asset's configuration.
asset
address
The address of the asset.
forced
bool
True if the asset was removed by force, regardless of its balance.
asset
address
The address of the asset.
newDepositCap
uint96
The new deposit cap.
asset
address
The address of the asset.
newPriceFeed
address
The new price feed.
asset
address
The address of the asset.
amount
uint256
The amount of EigenLayer shares to increase.
asset
address
The address of the asset.
amount
uint256
The amount of EigenLayer shares to decrease.
amount
uint256
The amount of ETH to increase.
amount
uint256
The amount of ETH to decrease.
asset
address
The address of the asset.
asset
address
The address of the asset.