Preparing search index...
The search index is not available
@evaafi/sdk
@evaafi/sdk
ClassicCollector
Class ClassicCollector
Hierarchy (
View Summary
)
AbstractCollector
ClassicCollector
Index
Constructors
constructor
Methods
get
Prices
get
Prices
For
Liquidate
get
Prices
For
Supply
Withdraw
get
Prices
For
Withdraw
Constructors
constructor
new
ClassicCollector
(
config
:
ClassicCollectorConfig
)
:
ClassicCollector
Parameters
config
:
ClassicCollectorConfig
Returns
ClassicCollector
Methods
get
Prices
getPrices
(
assets
?:
PoolAssetConfig
[]
,
fetchConfig
?:
FetchConfig
,
)
:
Promise
<
ClassicPrices
>
Parameters
assets
:
PoolAssetConfig
[]
= ...
Optional
fetchConfig
:
FetchConfig
Returns
Promise
<
ClassicPrices
>
get
Prices
For
Liquidate
getPricesForLiquidate
(
realPrincipals
:
Dictionary
<
bigint
,
bigint
>
,
fetchConfig
?:
FetchConfig
,
)
:
Promise
<
ClassicPrices
>
Parameters
realPrincipals
:
Dictionary
<
bigint
,
bigint
>
Optional
fetchConfig
:
FetchConfig
Returns
Promise
<
ClassicPrices
>
get
Prices
For
Supply
Withdraw
getPricesForSupplyWithdraw
(
realPrincipals
:
Dictionary
<
bigint
,
bigint
>
,
supplyAsset
:
undefined
|
PoolAssetConfig
,
withdrawAsset
:
undefined
|
PoolAssetConfig
,
collateralToDebt
:
boolean
,
fetchConfig
?:
FetchConfig
,
)
:
Promise
<
ClassicPrices
>
Parameters
realPrincipals
:
Dictionary
<
bigint
,
bigint
>
supplyAsset
:
undefined
|
PoolAssetConfig
withdrawAsset
:
undefined
|
PoolAssetConfig
collateralToDebt
:
boolean
Optional
fetchConfig
:
FetchConfig
Returns
Promise
<
ClassicPrices
>
get
Prices
For
Withdraw
getPricesForWithdraw
(
realPrincipals
:
Dictionary
<
bigint
,
bigint
>
,
withdrawAsset
:
PoolAssetConfig
,
collateralToDebt
?:
boolean
,
fetchConfig
?:
FetchConfig
,
)
:
Promise
<
ClassicPrices
>
Parameters
realPrincipals
:
Dictionary
<
bigint
,
bigint
>
withdrawAsset
:
PoolAssetConfig
collateralToDebt
:
boolean
= false
Optional
fetchConfig
:
FetchConfig
Returns
Promise
<
ClassicPrices
>
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
get
Prices
For
Withdraw
@evaafi/sdk
Loading...