Preparing search index...
The search index is not available
@evaafi/sdk
@evaafi/sdk
AbstractCollector
Class AbstractCollector
Abstract
Hierarchy (
View Summary
)
AbstractCollector
ClassicCollector
PythCollector
Index
Constructors
constructor
Methods
get
Prices
get
Prices
For
Liquidate
get
Prices
For
Supply
Withdraw
Constructors
constructor
new
AbstractCollector
()
:
AbstractCollector
Returns
AbstractCollector
Methods
Abstract
get
Prices
getPrices
(
assets
:
PoolAssetConfig
[]
,
fetchConfig
?:
FetchConfig
,
)
:
Promise
<
ClassicPrices
|
PythPrices
>
Parameters
assets
:
PoolAssetConfig
[]
Optional
fetchConfig
:
FetchConfig
Returns
Promise
<
ClassicPrices
|
PythPrices
>
Abstract
get
Prices
For
Liquidate
getPricesForLiquidate
(
realPrincipals
:
Dictionary
<
bigint
,
bigint
>
,
fetchConfig
?:
FetchConfig
,
)
:
Promise
<
ClassicPrices
|
PythPrices
>
Parameters
realPrincipals
:
Dictionary
<
bigint
,
bigint
>
Optional
fetchConfig
:
FetchConfig
Returns
Promise
<
ClassicPrices
|
PythPrices
>
Abstract
get
Prices
For
Supply
Withdraw
getPricesForSupplyWithdraw
(
realPrincipals
:
Dictionary
<
bigint
,
bigint
>
,
supplyAsset
:
undefined
|
PoolAssetConfig
,
withdrawAsset
:
undefined
|
PoolAssetConfig
,
collateralToDebt
:
boolean
,
fetchConfig
?:
FetchConfig
,
)
:
Promise
<
ClassicPrices
|
PythPrices
>
Parameters
realPrincipals
:
Dictionary
<
bigint
,
bigint
>
supplyAsset
:
undefined
|
PoolAssetConfig
withdrawAsset
:
undefined
|
PoolAssetConfig
collateralToDebt
:
boolean
Optional
fetchConfig
:
FetchConfig
Returns
Promise
<
ClassicPrices
|
PythPrices
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
get
Prices
get
Prices
For
Liquidate
get
Prices
For
Supply
Withdraw
@evaafi/sdk
Loading...