IReserveFeed
Interface for the reserve feeds for Ion Protocol.
Functions
updateExchangeRate
updates the total reserve of the validator backed asset
Parameters
Name | Type | Description |
---|---|---|
|
| the ilk index of the asset |
|
| the total ETH reserve of the asset in wei |
getExchangeRate
returns the total reserve of the validator backed asset
Parameters
Name | Type | Description |
---|---|---|
|
| the ilk index of the asset |
Returns
Name | Type | Description |
---|---|---|
|
| the total ETH reserve of the asset in wei |