@ember-finance/sdk 1.0.25 → 1.0.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/vaults/api/v2/api.d.ts +13 -0
- package/dist/src/vaults/api/v2/api.js +31 -0
- package/dist/src/vaults/api/v2/apis/accounts-api.d.ts +351 -0
- package/dist/src/vaults/api/v2/apis/accounts-api.js +656 -0
- package/dist/src/vaults/api/v2/apis/vaults-api.d.ts +570 -0
- package/dist/src/vaults/api/v2/apis/vaults-api.js +1150 -0
- package/dist/src/vaults/api/v2/base.d.ts +66 -0
- package/dist/src/vaults/api/v2/base.js +66 -0
- package/dist/src/vaults/api/v2/common.d.ts +65 -0
- package/dist/src/vaults/api/v2/common.js +152 -0
- package/dist/src/vaults/api/v2/configuration.d.ts +91 -0
- package/dist/src/vaults/api/v2/configuration.js +49 -0
- package/dist/src/vaults/api/v2/index.d.ts +14 -0
- package/dist/src/vaults/api/v2/index.js +32 -0
- package/dist/src/vaults/api/v2/models/account-transaction-transaction-data.d.ts +22 -0
- package/dist/src/vaults/api/v2/models/account-transaction-transaction-data.js +15 -0
- package/dist/src/vaults/api/v2/models/account-transaction.d.ts +45 -0
- package/dist/src/vaults/api/v2/models/account-transaction.js +23 -0
- package/dist/src/vaults/api/v2/models/account-vault-position-history.d.ts +89 -0
- package/dist/src/vaults/api/v2/models/account-vault-position-history.js +20 -0
- package/dist/src/vaults/api/v2/models/account-withdrawal-request.d.ts +107 -0
- package/dist/src/vaults/api/v2/models/account-withdrawal-request.js +24 -0
- package/dist/src/vaults/api/v2/models/aggregated-account-position-history.d.ts +59 -0
- package/dist/src/vaults/api/v2/models/aggregated-account-position-history.js +20 -0
- package/dist/src/vaults/api/v2/models/apy-history-response.d.ts +73 -0
- package/dist/src/vaults/api/v2/models/apy-history-response.js +15 -0
- package/dist/src/vaults/api/v2/models/apy-history.d.ts +42 -0
- package/dist/src/vaults/api/v2/models/apy-history.js +15 -0
- package/dist/src/vaults/api/v2/models/asset.d.ts +66 -0
- package/dist/src/vaults/api/v2/models/asset.js +15 -0
- package/dist/src/vaults/api/v2/models/borrowed.d.ts +43 -0
- package/dist/src/vaults/api/v2/models/borrowed.js +15 -0
- package/dist/src/vaults/api/v2/models/chain-vault-details.d.ts +74 -0
- package/dist/src/vaults/api/v2/models/chain-vault-details.js +15 -0
- package/dist/src/vaults/api/v2/models/chain.d.ts +60 -0
- package/dist/src/vaults/api/v2/models/chain.js +21 -0
- package/dist/src/vaults/api/v2/models/coin-price.d.ts +36 -0
- package/dist/src/vaults/api/v2/models/coin-price.js +15 -0
- package/dist/src/vaults/api/v2/models/deposit-transaction.d.ts +68 -0
- package/dist/src/vaults/api/v2/models/deposit-transaction.js +15 -0
- package/dist/src/vaults/api/v2/models/ember-position.d.ts +31 -0
- package/dist/src/vaults/api/v2/models/ember-position.js +15 -0
- package/dist/src/vaults/api/v2/models/evm-contracts.d.ts +61 -0
- package/dist/src/vaults/api/v2/models/evm-contracts.js +15 -0
- package/dist/src/vaults/api/v2/models/evm-deposit-token.d.ts +66 -0
- package/dist/src/vaults/api/v2/models/evm-deposit-token.js +15 -0
- package/dist/src/vaults/api/v2/models/evm-price-feed.d.ts +54 -0
- package/dist/src/vaults/api/v2/models/evm-price-feed.js +15 -0
- package/dist/src/vaults/api/v2/models/evm-protocol-config.d.ts +48 -0
- package/dist/src/vaults/api/v2/models/evm-protocol-config.js +15 -0
- package/dist/src/vaults/api/v2/models/evm-protocol-info.d.ts +37 -0
- package/dist/src/vaults/api/v2/models/evm-protocol-info.js +15 -0
- package/dist/src/vaults/api/v2/models/evm-receipt-token.d.ts +72 -0
- package/dist/src/vaults/api/v2/models/evm-receipt-token.js +15 -0
- package/dist/src/vaults/api/v2/models/evm-vault.d.ts +114 -0
- package/dist/src/vaults/api/v2/models/evm-vault.js +15 -0
- package/dist/src/vaults/api/v2/models/exposure-coin.d.ts +37 -0
- package/dist/src/vaults/api/v2/models/exposure-coin.js +15 -0
- package/dist/src/vaults/api/v2/models/exposure-protocol.d.ts +66 -0
- package/dist/src/vaults/api/v2/models/exposure-protocol.js +15 -0
- package/dist/src/vaults/api/v2/models/exposure.d.ts +38 -0
- package/dist/src/vaults/api/v2/models/exposure.js +15 -0
- package/dist/src/vaults/api/v2/models/fee.d.ts +37 -0
- package/dist/src/vaults/api/v2/models/fee.js +15 -0
- package/dist/src/vaults/api/v2/models/fees.d.ts +42 -0
- package/dist/src/vaults/api/v2/models/fees.js +15 -0
- package/dist/src/vaults/api/v2/models/history-interval.d.ts +23 -0
- package/dist/src/vaults/api/v2/models/history-interval.js +27 -0
- package/dist/src/vaults/api/v2/models/index.d.ts +94 -0
- package/dist/src/vaults/api/v2/models/index.js +110 -0
- package/dist/src/vaults/api/v2/models/lp.d.ts +81 -0
- package/dist/src/vaults/api/v2/models/lp.js +15 -0
- package/dist/src/vaults/api/v2/models/manager.d.ts +42 -0
- package/dist/src/vaults/api/v2/models/manager.js +15 -0
- package/dist/src/vaults/api/v2/models/min-withdrawal-shares-updated-event.d.ts +42 -0
- package/dist/src/vaults/api/v2/models/min-withdrawal-shares-updated-event.js +15 -0
- package/dist/src/vaults/api/v2/models/perps.d.ts +31 -0
- package/dist/src/vaults/api/v2/models/perps.js +15 -0
- package/dist/src/vaults/api/v2/models/pnl-by-chain.d.ts +48 -0
- package/dist/src/vaults/api/v2/models/pnl-by-chain.js +15 -0
- package/dist/src/vaults/api/v2/models/pnl-history-interval.d.ts +22 -0
- package/dist/src/vaults/api/v2/models/pnl-history-interval.js +26 -0
- package/dist/src/vaults/api/v2/models/pnl-history.d.ts +48 -0
- package/dist/src/vaults/api/v2/models/pnl-history.js +15 -0
- package/dist/src/vaults/api/v2/models/poc-report-asset.d.ts +54 -0
- package/dist/src/vaults/api/v2/models/poc-report-asset.js +15 -0
- package/dist/src/vaults/api/v2/models/poc-report-assets.d.ts +37 -0
- package/dist/src/vaults/api/v2/models/poc-report-assets.js +15 -0
- package/dist/src/vaults/api/v2/models/poc-report-exchange.d.ts +43 -0
- package/dist/src/vaults/api/v2/models/poc-report-exchange.js +15 -0
- package/dist/src/vaults/api/v2/models/poc-report-exchanges.d.ts +37 -0
- package/dist/src/vaults/api/v2/models/poc-report-exchanges.js +15 -0
- package/dist/src/vaults/api/v2/models/poc-report-protocol.d.ts +36 -0
- package/dist/src/vaults/api/v2/models/poc-report-protocol.js +15 -0
- package/dist/src/vaults/api/v2/models/poc-report-token.d.ts +36 -0
- package/dist/src/vaults/api/v2/models/poc-report-token.js +15 -0
- package/dist/src/vaults/api/v2/models/poc-report-wallet.d.ts +80 -0
- package/dist/src/vaults/api/v2/models/poc-report-wallet.js +15 -0
- package/dist/src/vaults/api/v2/models/poc-report-wallets.d.ts +37 -0
- package/dist/src/vaults/api/v2/models/poc-report-wallets.js +15 -0
- package/dist/src/vaults/api/v2/models/position-history-interval.d.ts +22 -0
- package/dist/src/vaults/api/v2/models/position-history-interval.js +26 -0
- package/dist/src/vaults/api/v2/models/position-value.d.ts +89 -0
- package/dist/src/vaults/api/v2/models/position-value.js +20 -0
- package/dist/src/vaults/api/v2/models/position.d.ts +42 -0
- package/dist/src/vaults/api/v2/models/position.js +15 -0
- package/dist/src/vaults/api/v2/models/process-requests-summary-event.d.ts +78 -0
- package/dist/src/vaults/api/v2/models/process-requests-summary-event.js +15 -0
- package/dist/src/vaults/api/v2/models/proof-of-capital-report.d.ts +69 -0
- package/dist/src/vaults/api/v2/models/proof-of-capital-report.js +15 -0
- package/dist/src/vaults/api/v2/models/protocol-fee-collected-event.d.ts +60 -0
- package/dist/src/vaults/api/v2/models/protocol-fee-collected-event.js +15 -0
- package/dist/src/vaults/api/v2/models/protocol-pnl-history.d.ts +36 -0
- package/dist/src/vaults/api/v2/models/protocol-pnl-history.js +15 -0
- package/dist/src/vaults/api/v2/models/protocol-tvl-history.d.ts +30 -0
- package/dist/src/vaults/api/v2/models/protocol-tvl-history.js +15 -0
- package/dist/src/vaults/api/v2/models/protocol.d.ts +42 -0
- package/dist/src/vaults/api/v2/models/protocol.js +15 -0
- package/dist/src/vaults/api/v2/models/raw-event-event-data.d.ts +34 -0
- package/dist/src/vaults/api/v2/models/raw-event-event-data.js +15 -0
- package/dist/src/vaults/api/v2/models/raw-event.d.ts +63 -0
- package/dist/src/vaults/api/v2/models/raw-event.js +35 -0
- package/dist/src/vaults/api/v2/models/redeem-request-cancelled-transaction.d.ts +56 -0
- package/dist/src/vaults/api/v2/models/redeem-request-cancelled-transaction.js +15 -0
- package/dist/src/vaults/api/v2/models/redeem-request-processed-transaction.d.ts +68 -0
- package/dist/src/vaults/api/v2/models/redeem-request-processed-transaction.js +15 -0
- package/dist/src/vaults/api/v2/models/redeem-request-skipped-transaction.d.ts +56 -0
- package/dist/src/vaults/api/v2/models/redeem-request-skipped-transaction.js +15 -0
- package/dist/src/vaults/api/v2/models/redeem-request-transaction.d.ts +56 -0
- package/dist/src/vaults/api/v2/models/redeem-request-transaction.js +15 -0
- package/dist/src/vaults/api/v2/models/reported-apy.d.ts +42 -0
- package/dist/src/vaults/api/v2/models/reported-apy.js +15 -0
- package/dist/src/vaults/api/v2/models/request-processed-event.d.ts +78 -0
- package/dist/src/vaults/api/v2/models/request-processed-event.js +15 -0
- package/dist/src/vaults/api/v2/models/request-redeemed-event.d.ts +72 -0
- package/dist/src/vaults/api/v2/models/request-redeemed-event.js +15 -0
- package/dist/src/vaults/api/v2/models/reward-token.d.ts +48 -0
- package/dist/src/vaults/api/v2/models/reward-token.js +15 -0
- package/dist/src/vaults/api/v2/models/reward.d.ts +37 -0
- package/dist/src/vaults/api/v2/models/reward.js +15 -0
- package/dist/src/vaults/api/v2/models/share-price-history.d.ts +30 -0
- package/dist/src/vaults/api/v2/models/share-price-history.js +15 -0
- package/dist/src/vaults/api/v2/models/strategy-account.d.ts +49 -0
- package/dist/src/vaults/api/v2/models/strategy-account.js +15 -0
- package/dist/src/vaults/api/v2/models/strategy.d.ts +60 -0
- package/dist/src/vaults/api/v2/models/strategy.js +15 -0
- package/dist/src/vaults/api/v2/models/sub-account.d.ts +31 -0
- package/dist/src/vaults/api/v2/models/sub-account.js +15 -0
- package/dist/src/vaults/api/v2/models/sui-protocol-info.d.ts +41 -0
- package/dist/src/vaults/api/v2/models/sui-protocol-info.js +15 -0
- package/dist/src/vaults/api/v2/models/supplied.d.ts +43 -0
- package/dist/src/vaults/api/v2/models/supplied.js +15 -0
- package/dist/src/vaults/api/v2/models/tag.d.ts +60 -0
- package/dist/src/vaults/api/v2/models/tag.js +15 -0
- package/dist/src/vaults/api/v2/models/tvl-by-chain.d.ts +36 -0
- package/dist/src/vaults/api/v2/models/tvl-by-chain.js +15 -0
- package/dist/src/vaults/api/v2/models/tvl-history.d.ts +43 -0
- package/dist/src/vaults/api/v2/models/tvl-history.js +15 -0
- package/dist/src/vaults/api/v2/models/ultra-coin-info.d.ts +54 -0
- package/dist/src/vaults/api/v2/models/ultra-coin-info.js +15 -0
- package/dist/src/vaults/api/v2/models/update-vault-strategies.d.ts +61 -0
- package/dist/src/vaults/api/v2/models/update-vault-strategies.js +15 -0
- package/dist/src/vaults/api/v2/models/vault-admin-changed-event.d.ts +42 -0
- package/dist/src/vaults/api/v2/models/vault-admin-changed-event.js +15 -0
- package/dist/src/vaults/api/v2/models/vault-created-event.d.ts +60 -0
- package/dist/src/vaults/api/v2/models/vault-created-event.js +15 -0
- package/dist/src/vaults/api/v2/models/vault-deposit-event.d.ts +72 -0
- package/dist/src/vaults/api/v2/models/vault-deposit-event.js +15 -0
- package/dist/src/vaults/api/v2/models/vault-deposit-without-minting-shares-event.d.ts +60 -0
- package/dist/src/vaults/api/v2/models/vault-deposit-without-minting-shares-event.js +15 -0
- package/dist/src/vaults/api/v2/models/vault-detail.d.ts +196 -0
- package/dist/src/vaults/api/v2/models/vault-detail.js +22 -0
- package/dist/src/vaults/api/v2/models/vault-fee-percentage-updated-event.d.ts +42 -0
- package/dist/src/vaults/api/v2/models/vault-fee-percentage-updated-event.js +15 -0
- package/dist/src/vaults/api/v2/models/vault-info.d.ts +84 -0
- package/dist/src/vaults/api/v2/models/vault-info.js +15 -0
- package/dist/src/vaults/api/v2/models/vault-max-tvl-updated-event.d.ts +42 -0
- package/dist/src/vaults/api/v2/models/vault-max-tvl-updated-event.js +15 -0
- package/dist/src/vaults/api/v2/models/vault-operator-changed-event.d.ts +42 -0
- package/dist/src/vaults/api/v2/models/vault-operator-changed-event.js +15 -0
- package/dist/src/vaults/api/v2/models/vault-paused-status-updated-event.d.ts +36 -0
- package/dist/src/vaults/api/v2/models/vault-paused-status-updated-event.js +15 -0
- package/dist/src/vaults/api/v2/models/vault-platform-fee-charged-event.d.ts +48 -0
- package/dist/src/vaults/api/v2/models/vault-platform-fee-charged-event.js +15 -0
- package/dist/src/vaults/api/v2/models/vault-protocol.d.ts +42 -0
- package/dist/src/vaults/api/v2/models/vault-protocol.js +15 -0
- package/dist/src/vaults/api/v2/models/vault-rate-updated-event.d.ts +42 -0
- package/dist/src/vaults/api/v2/models/vault-rate-updated-event.js +15 -0
- package/dist/src/vaults/api/v2/models/vault-slice.d.ts +48 -0
- package/dist/src/vaults/api/v2/models/vault-slice.js +15 -0
- package/dist/src/vaults/api/v2/models/vault-sub-account-updated-event.d.ts +54 -0
- package/dist/src/vaults/api/v2/models/vault-sub-account-updated-event.js +15 -0
- package/dist/src/vaults/api/v2/models/vault-tag.d.ts +48 -0
- package/dist/src/vaults/api/v2/models/vault-tag.js +15 -0
- package/dist/src/vaults/api/v2/models/vault-withdrawal-without-redeeming-shares-event.d.ts +60 -0
- package/dist/src/vaults/api/v2/models/vault-withdrawal-without-redeeming-shares-event.js +15 -0
- package/dist/src/vaults/api/v2/models/vaults-deployment-config-config.d.ts +19 -0
- package/dist/src/vaults/api/v2/models/vaults-deployment-config-config.js +15 -0
- package/dist/src/vaults/api/v2/models/vaults-deployment-config.d.ts +42 -0
- package/dist/src/vaults/api/v2/models/vaults-deployment-config.js +20 -0
- package/dist/src/vaults/api/v2/models/vaults-stats.d.ts +42 -0
- package/dist/src/vaults/api/v2/models/vaults-stats.js +15 -0
- package/dist/src/vaults/api/v2/models/yield-aggregate-value.d.ts +48 -0
- package/dist/src/vaults/api/v2/models/yield-aggregate-value.js +15 -0
- package/package.json +3 -2
|
@@ -0,0 +1,570 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Ember Protocol Vaults API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { Configuration } from "../configuration";
|
|
13
|
+
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from "axios";
|
|
14
|
+
import { type RequestArgs, BaseAPI } from "../base";
|
|
15
|
+
import type { ApyHistoryResponse } from "../models";
|
|
16
|
+
import type { Chain } from "../models";
|
|
17
|
+
import type { CoinPrice } from "../models";
|
|
18
|
+
import type { Fees } from "../models";
|
|
19
|
+
import type { HistoryInterval } from "../models";
|
|
20
|
+
import type { PnlHistory } from "../models";
|
|
21
|
+
import type { PnlHistoryInterval } from "../models";
|
|
22
|
+
import type { ProofOfCapitalReport } from "../models";
|
|
23
|
+
import type { ProtocolPnlHistory } from "../models";
|
|
24
|
+
import type { ProtocolTvlHistory } from "../models";
|
|
25
|
+
import type { SharePriceHistory } from "../models";
|
|
26
|
+
import type { Tag } from "../models";
|
|
27
|
+
import type { TvlHistory } from "../models";
|
|
28
|
+
import type { VaultDetail } from "../models";
|
|
29
|
+
import type { VaultsDeploymentConfig } from "../models";
|
|
30
|
+
import type { VaultsStats } from "../models";
|
|
31
|
+
/**
|
|
32
|
+
* VaultsApi - axios parameter creator
|
|
33
|
+
* @export
|
|
34
|
+
*/
|
|
35
|
+
export declare const VaultsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @summary Get all tags
|
|
39
|
+
* @param {*} [options] Override http request option.
|
|
40
|
+
* @throws {RequiredError}
|
|
41
|
+
*/
|
|
42
|
+
getAllTags: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @summary Get the price of the coins
|
|
46
|
+
* @param {string} [coinTypes] The coin types of the coins
|
|
47
|
+
* @param {string} [chain]
|
|
48
|
+
* @param {*} [options] Override http request option.
|
|
49
|
+
* @throws {RequiredError}
|
|
50
|
+
*/
|
|
51
|
+
getCoinsPrice: (coinTypes?: string, chain?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @summary Get the fees of the protocol
|
|
55
|
+
* @param {number} startTimestampInMs The start timestamp of the fees
|
|
56
|
+
* @param {number} endTimestampInMs The end timestamp of the fees
|
|
57
|
+
* @param {*} [options] Override http request option.
|
|
58
|
+
* @throws {RequiredError}
|
|
59
|
+
*/
|
|
60
|
+
getFees: (startTimestampInMs: number, endTimestampInMs: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @summary Get the pnl history of the protocol (1h, 1d, 1w, 1mon) descending by time
|
|
64
|
+
* @param {number} [limit] The limit of the rows
|
|
65
|
+
* @param {PnlHistoryInterval} [interval] The interval of the rows
|
|
66
|
+
* @param {*} [options] Override http request option.
|
|
67
|
+
* @throws {RequiredError}
|
|
68
|
+
*/
|
|
69
|
+
getProtocolPnlHistory: (limit?: number, interval?: PnlHistoryInterval, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @summary Get the tvl history of the protocol (1h, 1d, 1w, 1mon) descending by time
|
|
73
|
+
* @param {number} [limit] The limit of the rows
|
|
74
|
+
* @param {HistoryInterval} [interval] The interval of the rows
|
|
75
|
+
* @param {string} [chain] The identifier of the chain
|
|
76
|
+
* @param {*} [options] Override http request option.
|
|
77
|
+
* @throws {RequiredError}
|
|
78
|
+
*/
|
|
79
|
+
getProtocolTvlHistory: (limit?: number, interval?: HistoryInterval, chain?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @summary Get supported chains
|
|
83
|
+
* @param {*} [options] Override http request option.
|
|
84
|
+
* @throws {RequiredError}
|
|
85
|
+
*/
|
|
86
|
+
getSupportedChains: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
87
|
+
/**
|
|
88
|
+
*
|
|
89
|
+
* @summary Get the apy history of the vault (1h, 1d, 1w, 1mon) descending by time
|
|
90
|
+
* @param {string} vaultId The id of the vault
|
|
91
|
+
* @param {number} [limit] The limit of the rows
|
|
92
|
+
* @param {HistoryInterval} [interval] The interval of the rows
|
|
93
|
+
* @param {*} [options] Override http request option.
|
|
94
|
+
* @throws {RequiredError}
|
|
95
|
+
*/
|
|
96
|
+
getVaultApyHistory: (vaultId: string, limit?: number, interval?: HistoryInterval, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
97
|
+
/**
|
|
98
|
+
*
|
|
99
|
+
* @summary Get the pnl history of the vault (1h, 1d, 1w, 1mon) descending by time
|
|
100
|
+
* @param {string} vaultId The id of the vault
|
|
101
|
+
* @param {number} [limit] The limit of the rows
|
|
102
|
+
* @param {PnlHistoryInterval} [interval] The interval of the rows
|
|
103
|
+
* @param {*} [options] Override http request option.
|
|
104
|
+
* @throws {RequiredError}
|
|
105
|
+
*/
|
|
106
|
+
getVaultPnlHistory: (vaultId: string, limit?: number, interval?: PnlHistoryInterval, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
107
|
+
/**
|
|
108
|
+
*
|
|
109
|
+
* @summary Get the proof of capital of the vault
|
|
110
|
+
* @param {string} vaultId The id of the vault
|
|
111
|
+
* @param {*} [options] Override http request option.
|
|
112
|
+
* @throws {RequiredError}
|
|
113
|
+
*/
|
|
114
|
+
getVaultProofOfCapital: (vaultId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
115
|
+
/**
|
|
116
|
+
*
|
|
117
|
+
* @summary Get the share price history of the vault (1h, 1d, 1w, 1mon) descending by time
|
|
118
|
+
* @param {string} vaultId The id of the vault
|
|
119
|
+
* @param {number} [limit] The limit of the rows
|
|
120
|
+
* @param {HistoryInterval} [interval] The interval of the rows
|
|
121
|
+
* @param {*} [options] Override http request option.
|
|
122
|
+
* @throws {RequiredError}
|
|
123
|
+
*/
|
|
124
|
+
getVaultSharePriceHistory: (vaultId: string, limit?: number, interval?: HistoryInterval, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
125
|
+
/**
|
|
126
|
+
*
|
|
127
|
+
* @summary Get the tvl history of the vault (1h, 1d, 1w, 1mon) descending by time
|
|
128
|
+
* @param {string} vaultId The id of the vault
|
|
129
|
+
* @param {number} [limit] The limit of the rows
|
|
130
|
+
* @param {HistoryInterval} [interval] The interval of the rows
|
|
131
|
+
* @param {*} [options] Override http request option.
|
|
132
|
+
* @throws {RequiredError}
|
|
133
|
+
*/
|
|
134
|
+
getVaultTvlHistory: (vaultId: string, limit?: number, interval?: HistoryInterval, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
135
|
+
/**
|
|
136
|
+
*
|
|
137
|
+
* @summary Get details for all vaults or a specific vault
|
|
138
|
+
* @param {string} [vaultId] The ID of the vault
|
|
139
|
+
* @param {string} [receiptCoinSymbol] The receipt coin symbol of the vault
|
|
140
|
+
* @param {string} [chain] The identifier of the chain
|
|
141
|
+
* @param {boolean} [includeHidden] Whether to include hidden vaults
|
|
142
|
+
* @param {*} [options] Override http request option.
|
|
143
|
+
* @throws {RequiredError}
|
|
144
|
+
*/
|
|
145
|
+
getVaults: (vaultId?: string, receiptCoinSymbol?: string, chain?: string, includeHidden?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
146
|
+
/**
|
|
147
|
+
*
|
|
148
|
+
* @summary Get protocol info to initialize sdk
|
|
149
|
+
* @param {*} [options] Override http request option.
|
|
150
|
+
* @throws {RequiredError}
|
|
151
|
+
*/
|
|
152
|
+
getVaultsProtocolInfo: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
153
|
+
/**
|
|
154
|
+
*
|
|
155
|
+
* @summary Get stats for all vaults or a specific vault
|
|
156
|
+
* @param {string} [chain] The identifier of the chain
|
|
157
|
+
* @param {*} [options] Override http request option.
|
|
158
|
+
* @throws {RequiredError}
|
|
159
|
+
*/
|
|
160
|
+
getVaultsStats: (chain?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
161
|
+
};
|
|
162
|
+
/**
|
|
163
|
+
* VaultsApi - functional programming interface
|
|
164
|
+
* @export
|
|
165
|
+
*/
|
|
166
|
+
export declare const VaultsApiFp: (configuration?: Configuration) => {
|
|
167
|
+
/**
|
|
168
|
+
*
|
|
169
|
+
* @summary Get all tags
|
|
170
|
+
* @param {*} [options] Override http request option.
|
|
171
|
+
* @throws {RequiredError}
|
|
172
|
+
*/
|
|
173
|
+
getAllTags(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Tag>>>;
|
|
174
|
+
/**
|
|
175
|
+
*
|
|
176
|
+
* @summary Get the price of the coins
|
|
177
|
+
* @param {string} [coinTypes] The coin types of the coins
|
|
178
|
+
* @param {string} [chain]
|
|
179
|
+
* @param {*} [options] Override http request option.
|
|
180
|
+
* @throws {RequiredError}
|
|
181
|
+
*/
|
|
182
|
+
getCoinsPrice(coinTypes?: string, chain?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<CoinPrice>>>;
|
|
183
|
+
/**
|
|
184
|
+
*
|
|
185
|
+
* @summary Get the fees of the protocol
|
|
186
|
+
* @param {number} startTimestampInMs The start timestamp of the fees
|
|
187
|
+
* @param {number} endTimestampInMs The end timestamp of the fees
|
|
188
|
+
* @param {*} [options] Override http request option.
|
|
189
|
+
* @throws {RequiredError}
|
|
190
|
+
*/
|
|
191
|
+
getFees(startTimestampInMs: number, endTimestampInMs: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Fees>>;
|
|
192
|
+
/**
|
|
193
|
+
*
|
|
194
|
+
* @summary Get the pnl history of the protocol (1h, 1d, 1w, 1mon) descending by time
|
|
195
|
+
* @param {number} [limit] The limit of the rows
|
|
196
|
+
* @param {PnlHistoryInterval} [interval] The interval of the rows
|
|
197
|
+
* @param {*} [options] Override http request option.
|
|
198
|
+
* @throws {RequiredError}
|
|
199
|
+
*/
|
|
200
|
+
getProtocolPnlHistory(limit?: number, interval?: PnlHistoryInterval, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ProtocolPnlHistory>>>;
|
|
201
|
+
/**
|
|
202
|
+
*
|
|
203
|
+
* @summary Get the tvl history of the protocol (1h, 1d, 1w, 1mon) descending by time
|
|
204
|
+
* @param {number} [limit] The limit of the rows
|
|
205
|
+
* @param {HistoryInterval} [interval] The interval of the rows
|
|
206
|
+
* @param {string} [chain] The identifier of the chain
|
|
207
|
+
* @param {*} [options] Override http request option.
|
|
208
|
+
* @throws {RequiredError}
|
|
209
|
+
*/
|
|
210
|
+
getProtocolTvlHistory(limit?: number, interval?: HistoryInterval, chain?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ProtocolTvlHistory>>>;
|
|
211
|
+
/**
|
|
212
|
+
*
|
|
213
|
+
* @summary Get supported chains
|
|
214
|
+
* @param {*} [options] Override http request option.
|
|
215
|
+
* @throws {RequiredError}
|
|
216
|
+
*/
|
|
217
|
+
getSupportedChains(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Chain>>>;
|
|
218
|
+
/**
|
|
219
|
+
*
|
|
220
|
+
* @summary Get the apy history of the vault (1h, 1d, 1w, 1mon) descending by time
|
|
221
|
+
* @param {string} vaultId The id of the vault
|
|
222
|
+
* @param {number} [limit] The limit of the rows
|
|
223
|
+
* @param {HistoryInterval} [interval] The interval of the rows
|
|
224
|
+
* @param {*} [options] Override http request option.
|
|
225
|
+
* @throws {RequiredError}
|
|
226
|
+
*/
|
|
227
|
+
getVaultApyHistory(vaultId: string, limit?: number, interval?: HistoryInterval, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApyHistoryResponse>>;
|
|
228
|
+
/**
|
|
229
|
+
*
|
|
230
|
+
* @summary Get the pnl history of the vault (1h, 1d, 1w, 1mon) descending by time
|
|
231
|
+
* @param {string} vaultId The id of the vault
|
|
232
|
+
* @param {number} [limit] The limit of the rows
|
|
233
|
+
* @param {PnlHistoryInterval} [interval] The interval of the rows
|
|
234
|
+
* @param {*} [options] Override http request option.
|
|
235
|
+
* @throws {RequiredError}
|
|
236
|
+
*/
|
|
237
|
+
getVaultPnlHistory(vaultId: string, limit?: number, interval?: PnlHistoryInterval, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PnlHistory>>>;
|
|
238
|
+
/**
|
|
239
|
+
*
|
|
240
|
+
* @summary Get the proof of capital of the vault
|
|
241
|
+
* @param {string} vaultId The id of the vault
|
|
242
|
+
* @param {*} [options] Override http request option.
|
|
243
|
+
* @throws {RequiredError}
|
|
244
|
+
*/
|
|
245
|
+
getVaultProofOfCapital(vaultId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProofOfCapitalReport>>;
|
|
246
|
+
/**
|
|
247
|
+
*
|
|
248
|
+
* @summary Get the share price history of the vault (1h, 1d, 1w, 1mon) descending by time
|
|
249
|
+
* @param {string} vaultId The id of the vault
|
|
250
|
+
* @param {number} [limit] The limit of the rows
|
|
251
|
+
* @param {HistoryInterval} [interval] The interval of the rows
|
|
252
|
+
* @param {*} [options] Override http request option.
|
|
253
|
+
* @throws {RequiredError}
|
|
254
|
+
*/
|
|
255
|
+
getVaultSharePriceHistory(vaultId: string, limit?: number, interval?: HistoryInterval, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<SharePriceHistory>>>;
|
|
256
|
+
/**
|
|
257
|
+
*
|
|
258
|
+
* @summary Get the tvl history of the vault (1h, 1d, 1w, 1mon) descending by time
|
|
259
|
+
* @param {string} vaultId The id of the vault
|
|
260
|
+
* @param {number} [limit] The limit of the rows
|
|
261
|
+
* @param {HistoryInterval} [interval] The interval of the rows
|
|
262
|
+
* @param {*} [options] Override http request option.
|
|
263
|
+
* @throws {RequiredError}
|
|
264
|
+
*/
|
|
265
|
+
getVaultTvlHistory(vaultId: string, limit?: number, interval?: HistoryInterval, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<TvlHistory>>>;
|
|
266
|
+
/**
|
|
267
|
+
*
|
|
268
|
+
* @summary Get details for all vaults or a specific vault
|
|
269
|
+
* @param {string} [vaultId] The ID of the vault
|
|
270
|
+
* @param {string} [receiptCoinSymbol] The receipt coin symbol of the vault
|
|
271
|
+
* @param {string} [chain] The identifier of the chain
|
|
272
|
+
* @param {boolean} [includeHidden] Whether to include hidden vaults
|
|
273
|
+
* @param {*} [options] Override http request option.
|
|
274
|
+
* @throws {RequiredError}
|
|
275
|
+
*/
|
|
276
|
+
getVaults(vaultId?: string, receiptCoinSymbol?: string, chain?: string, includeHidden?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<VaultDetail>>>;
|
|
277
|
+
/**
|
|
278
|
+
*
|
|
279
|
+
* @summary Get protocol info to initialize sdk
|
|
280
|
+
* @param {*} [options] Override http request option.
|
|
281
|
+
* @throws {RequiredError}
|
|
282
|
+
*/
|
|
283
|
+
getVaultsProtocolInfo(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<VaultsDeploymentConfig>>>;
|
|
284
|
+
/**
|
|
285
|
+
*
|
|
286
|
+
* @summary Get stats for all vaults or a specific vault
|
|
287
|
+
* @param {string} [chain] The identifier of the chain
|
|
288
|
+
* @param {*} [options] Override http request option.
|
|
289
|
+
* @throws {RequiredError}
|
|
290
|
+
*/
|
|
291
|
+
getVaultsStats(chain?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VaultsStats>>;
|
|
292
|
+
};
|
|
293
|
+
/**
|
|
294
|
+
* VaultsApi - factory interface
|
|
295
|
+
* @export
|
|
296
|
+
*/
|
|
297
|
+
export declare const VaultsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
298
|
+
/**
|
|
299
|
+
*
|
|
300
|
+
* @summary Get all tags
|
|
301
|
+
* @param {*} [options] Override http request option.
|
|
302
|
+
* @throws {RequiredError}
|
|
303
|
+
*/
|
|
304
|
+
getAllTags(options?: RawAxiosRequestConfig): AxiosPromise<Array<Tag>>;
|
|
305
|
+
/**
|
|
306
|
+
*
|
|
307
|
+
* @summary Get the price of the coins
|
|
308
|
+
* @param {string} [coinTypes] The coin types of the coins
|
|
309
|
+
* @param {string} [chain]
|
|
310
|
+
* @param {*} [options] Override http request option.
|
|
311
|
+
* @throws {RequiredError}
|
|
312
|
+
*/
|
|
313
|
+
getCoinsPrice(coinTypes?: string, chain?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<CoinPrice>>;
|
|
314
|
+
/**
|
|
315
|
+
*
|
|
316
|
+
* @summary Get the fees of the protocol
|
|
317
|
+
* @param {number} startTimestampInMs The start timestamp of the fees
|
|
318
|
+
* @param {number} endTimestampInMs The end timestamp of the fees
|
|
319
|
+
* @param {*} [options] Override http request option.
|
|
320
|
+
* @throws {RequiredError}
|
|
321
|
+
*/
|
|
322
|
+
getFees(startTimestampInMs: number, endTimestampInMs: number, options?: RawAxiosRequestConfig): AxiosPromise<Fees>;
|
|
323
|
+
/**
|
|
324
|
+
*
|
|
325
|
+
* @summary Get the pnl history of the protocol (1h, 1d, 1w, 1mon) descending by time
|
|
326
|
+
* @param {number} [limit] The limit of the rows
|
|
327
|
+
* @param {PnlHistoryInterval} [interval] The interval of the rows
|
|
328
|
+
* @param {*} [options] Override http request option.
|
|
329
|
+
* @throws {RequiredError}
|
|
330
|
+
*/
|
|
331
|
+
getProtocolPnlHistory(limit?: number, interval?: PnlHistoryInterval, options?: RawAxiosRequestConfig): AxiosPromise<Array<ProtocolPnlHistory>>;
|
|
332
|
+
/**
|
|
333
|
+
*
|
|
334
|
+
* @summary Get the tvl history of the protocol (1h, 1d, 1w, 1mon) descending by time
|
|
335
|
+
* @param {number} [limit] The limit of the rows
|
|
336
|
+
* @param {HistoryInterval} [interval] The interval of the rows
|
|
337
|
+
* @param {string} [chain] The identifier of the chain
|
|
338
|
+
* @param {*} [options] Override http request option.
|
|
339
|
+
* @throws {RequiredError}
|
|
340
|
+
*/
|
|
341
|
+
getProtocolTvlHistory(limit?: number, interval?: HistoryInterval, chain?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<ProtocolTvlHistory>>;
|
|
342
|
+
/**
|
|
343
|
+
*
|
|
344
|
+
* @summary Get supported chains
|
|
345
|
+
* @param {*} [options] Override http request option.
|
|
346
|
+
* @throws {RequiredError}
|
|
347
|
+
*/
|
|
348
|
+
getSupportedChains(options?: RawAxiosRequestConfig): AxiosPromise<Array<Chain>>;
|
|
349
|
+
/**
|
|
350
|
+
*
|
|
351
|
+
* @summary Get the apy history of the vault (1h, 1d, 1w, 1mon) descending by time
|
|
352
|
+
* @param {string} vaultId The id of the vault
|
|
353
|
+
* @param {number} [limit] The limit of the rows
|
|
354
|
+
* @param {HistoryInterval} [interval] The interval of the rows
|
|
355
|
+
* @param {*} [options] Override http request option.
|
|
356
|
+
* @throws {RequiredError}
|
|
357
|
+
*/
|
|
358
|
+
getVaultApyHistory(vaultId: string, limit?: number, interval?: HistoryInterval, options?: RawAxiosRequestConfig): AxiosPromise<ApyHistoryResponse>;
|
|
359
|
+
/**
|
|
360
|
+
*
|
|
361
|
+
* @summary Get the pnl history of the vault (1h, 1d, 1w, 1mon) descending by time
|
|
362
|
+
* @param {string} vaultId The id of the vault
|
|
363
|
+
* @param {number} [limit] The limit of the rows
|
|
364
|
+
* @param {PnlHistoryInterval} [interval] The interval of the rows
|
|
365
|
+
* @param {*} [options] Override http request option.
|
|
366
|
+
* @throws {RequiredError}
|
|
367
|
+
*/
|
|
368
|
+
getVaultPnlHistory(vaultId: string, limit?: number, interval?: PnlHistoryInterval, options?: RawAxiosRequestConfig): AxiosPromise<Array<PnlHistory>>;
|
|
369
|
+
/**
|
|
370
|
+
*
|
|
371
|
+
* @summary Get the proof of capital of the vault
|
|
372
|
+
* @param {string} vaultId The id of the vault
|
|
373
|
+
* @param {*} [options] Override http request option.
|
|
374
|
+
* @throws {RequiredError}
|
|
375
|
+
*/
|
|
376
|
+
getVaultProofOfCapital(vaultId: string, options?: RawAxiosRequestConfig): AxiosPromise<ProofOfCapitalReport>;
|
|
377
|
+
/**
|
|
378
|
+
*
|
|
379
|
+
* @summary Get the share price history of the vault (1h, 1d, 1w, 1mon) descending by time
|
|
380
|
+
* @param {string} vaultId The id of the vault
|
|
381
|
+
* @param {number} [limit] The limit of the rows
|
|
382
|
+
* @param {HistoryInterval} [interval] The interval of the rows
|
|
383
|
+
* @param {*} [options] Override http request option.
|
|
384
|
+
* @throws {RequiredError}
|
|
385
|
+
*/
|
|
386
|
+
getVaultSharePriceHistory(vaultId: string, limit?: number, interval?: HistoryInterval, options?: RawAxiosRequestConfig): AxiosPromise<Array<SharePriceHistory>>;
|
|
387
|
+
/**
|
|
388
|
+
*
|
|
389
|
+
* @summary Get the tvl history of the vault (1h, 1d, 1w, 1mon) descending by time
|
|
390
|
+
* @param {string} vaultId The id of the vault
|
|
391
|
+
* @param {number} [limit] The limit of the rows
|
|
392
|
+
* @param {HistoryInterval} [interval] The interval of the rows
|
|
393
|
+
* @param {*} [options] Override http request option.
|
|
394
|
+
* @throws {RequiredError}
|
|
395
|
+
*/
|
|
396
|
+
getVaultTvlHistory(vaultId: string, limit?: number, interval?: HistoryInterval, options?: RawAxiosRequestConfig): AxiosPromise<Array<TvlHistory>>;
|
|
397
|
+
/**
|
|
398
|
+
*
|
|
399
|
+
* @summary Get details for all vaults or a specific vault
|
|
400
|
+
* @param {string} [vaultId] The ID of the vault
|
|
401
|
+
* @param {string} [receiptCoinSymbol] The receipt coin symbol of the vault
|
|
402
|
+
* @param {string} [chain] The identifier of the chain
|
|
403
|
+
* @param {boolean} [includeHidden] Whether to include hidden vaults
|
|
404
|
+
* @param {*} [options] Override http request option.
|
|
405
|
+
* @throws {RequiredError}
|
|
406
|
+
*/
|
|
407
|
+
getVaults(vaultId?: string, receiptCoinSymbol?: string, chain?: string, includeHidden?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<Array<VaultDetail>>;
|
|
408
|
+
/**
|
|
409
|
+
*
|
|
410
|
+
* @summary Get protocol info to initialize sdk
|
|
411
|
+
* @param {*} [options] Override http request option.
|
|
412
|
+
* @throws {RequiredError}
|
|
413
|
+
*/
|
|
414
|
+
getVaultsProtocolInfo(options?: RawAxiosRequestConfig): AxiosPromise<Array<VaultsDeploymentConfig>>;
|
|
415
|
+
/**
|
|
416
|
+
*
|
|
417
|
+
* @summary Get stats for all vaults or a specific vault
|
|
418
|
+
* @param {string} [chain] The identifier of the chain
|
|
419
|
+
* @param {*} [options] Override http request option.
|
|
420
|
+
* @throws {RequiredError}
|
|
421
|
+
*/
|
|
422
|
+
getVaultsStats(chain?: string, options?: RawAxiosRequestConfig): AxiosPromise<VaultsStats>;
|
|
423
|
+
};
|
|
424
|
+
/**
|
|
425
|
+
* VaultsApi - object-oriented interface
|
|
426
|
+
* @export
|
|
427
|
+
* @class VaultsApi
|
|
428
|
+
* @extends {BaseAPI}
|
|
429
|
+
*/
|
|
430
|
+
export declare class VaultsApi extends BaseAPI {
|
|
431
|
+
/**
|
|
432
|
+
*
|
|
433
|
+
* @summary Get all tags
|
|
434
|
+
* @param {*} [options] Override http request option.
|
|
435
|
+
* @throws {RequiredError}
|
|
436
|
+
* @memberof VaultsApi
|
|
437
|
+
*/
|
|
438
|
+
getAllTags(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Tag[], any, {}>>;
|
|
439
|
+
/**
|
|
440
|
+
*
|
|
441
|
+
* @summary Get the price of the coins
|
|
442
|
+
* @param {string} [coinTypes] The coin types of the coins
|
|
443
|
+
* @param {string} [chain]
|
|
444
|
+
* @param {*} [options] Override http request option.
|
|
445
|
+
* @throws {RequiredError}
|
|
446
|
+
* @memberof VaultsApi
|
|
447
|
+
*/
|
|
448
|
+
getCoinsPrice(coinTypes?: string, chain?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CoinPrice[], any, {}>>;
|
|
449
|
+
/**
|
|
450
|
+
*
|
|
451
|
+
* @summary Get the fees of the protocol
|
|
452
|
+
* @param {number} startTimestampInMs The start timestamp of the fees
|
|
453
|
+
* @param {number} endTimestampInMs The end timestamp of the fees
|
|
454
|
+
* @param {*} [options] Override http request option.
|
|
455
|
+
* @throws {RequiredError}
|
|
456
|
+
* @memberof VaultsApi
|
|
457
|
+
*/
|
|
458
|
+
getFees(startTimestampInMs: number, endTimestampInMs: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Fees, any, {}>>;
|
|
459
|
+
/**
|
|
460
|
+
*
|
|
461
|
+
* @summary Get the pnl history of the protocol (1h, 1d, 1w, 1mon) descending by time
|
|
462
|
+
* @param {number} [limit] The limit of the rows
|
|
463
|
+
* @param {PnlHistoryInterval} [interval] The interval of the rows
|
|
464
|
+
* @param {*} [options] Override http request option.
|
|
465
|
+
* @throws {RequiredError}
|
|
466
|
+
* @memberof VaultsApi
|
|
467
|
+
*/
|
|
468
|
+
getProtocolPnlHistory(limit?: number, interval?: PnlHistoryInterval, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProtocolPnlHistory[], any, {}>>;
|
|
469
|
+
/**
|
|
470
|
+
*
|
|
471
|
+
* @summary Get the tvl history of the protocol (1h, 1d, 1w, 1mon) descending by time
|
|
472
|
+
* @param {number} [limit] The limit of the rows
|
|
473
|
+
* @param {HistoryInterval} [interval] The interval of the rows
|
|
474
|
+
* @param {string} [chain] The identifier of the chain
|
|
475
|
+
* @param {*} [options] Override http request option.
|
|
476
|
+
* @throws {RequiredError}
|
|
477
|
+
* @memberof VaultsApi
|
|
478
|
+
*/
|
|
479
|
+
getProtocolTvlHistory(limit?: number, interval?: HistoryInterval, chain?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProtocolTvlHistory[], any, {}>>;
|
|
480
|
+
/**
|
|
481
|
+
*
|
|
482
|
+
* @summary Get supported chains
|
|
483
|
+
* @param {*} [options] Override http request option.
|
|
484
|
+
* @throws {RequiredError}
|
|
485
|
+
* @memberof VaultsApi
|
|
486
|
+
*/
|
|
487
|
+
getSupportedChains(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Chain[], any, {}>>;
|
|
488
|
+
/**
|
|
489
|
+
*
|
|
490
|
+
* @summary Get the apy history of the vault (1h, 1d, 1w, 1mon) descending by time
|
|
491
|
+
* @param {string} vaultId The id of the vault
|
|
492
|
+
* @param {number} [limit] The limit of the rows
|
|
493
|
+
* @param {HistoryInterval} [interval] The interval of the rows
|
|
494
|
+
* @param {*} [options] Override http request option.
|
|
495
|
+
* @throws {RequiredError}
|
|
496
|
+
* @memberof VaultsApi
|
|
497
|
+
*/
|
|
498
|
+
getVaultApyHistory(vaultId: string, limit?: number, interval?: HistoryInterval, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ApyHistoryResponse, any, {}>>;
|
|
499
|
+
/**
|
|
500
|
+
*
|
|
501
|
+
* @summary Get the pnl history of the vault (1h, 1d, 1w, 1mon) descending by time
|
|
502
|
+
* @param {string} vaultId The id of the vault
|
|
503
|
+
* @param {number} [limit] The limit of the rows
|
|
504
|
+
* @param {PnlHistoryInterval} [interval] The interval of the rows
|
|
505
|
+
* @param {*} [options] Override http request option.
|
|
506
|
+
* @throws {RequiredError}
|
|
507
|
+
* @memberof VaultsApi
|
|
508
|
+
*/
|
|
509
|
+
getVaultPnlHistory(vaultId: string, limit?: number, interval?: PnlHistoryInterval, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PnlHistory[], any, {}>>;
|
|
510
|
+
/**
|
|
511
|
+
*
|
|
512
|
+
* @summary Get the proof of capital of the vault
|
|
513
|
+
* @param {string} vaultId The id of the vault
|
|
514
|
+
* @param {*} [options] Override http request option.
|
|
515
|
+
* @throws {RequiredError}
|
|
516
|
+
* @memberof VaultsApi
|
|
517
|
+
*/
|
|
518
|
+
getVaultProofOfCapital(vaultId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProofOfCapitalReport, any, {}>>;
|
|
519
|
+
/**
|
|
520
|
+
*
|
|
521
|
+
* @summary Get the share price history of the vault (1h, 1d, 1w, 1mon) descending by time
|
|
522
|
+
* @param {string} vaultId The id of the vault
|
|
523
|
+
* @param {number} [limit] The limit of the rows
|
|
524
|
+
* @param {HistoryInterval} [interval] The interval of the rows
|
|
525
|
+
* @param {*} [options] Override http request option.
|
|
526
|
+
* @throws {RequiredError}
|
|
527
|
+
* @memberof VaultsApi
|
|
528
|
+
*/
|
|
529
|
+
getVaultSharePriceHistory(vaultId: string, limit?: number, interval?: HistoryInterval, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SharePriceHistory[], any, {}>>;
|
|
530
|
+
/**
|
|
531
|
+
*
|
|
532
|
+
* @summary Get the tvl history of the vault (1h, 1d, 1w, 1mon) descending by time
|
|
533
|
+
* @param {string} vaultId The id of the vault
|
|
534
|
+
* @param {number} [limit] The limit of the rows
|
|
535
|
+
* @param {HistoryInterval} [interval] The interval of the rows
|
|
536
|
+
* @param {*} [options] Override http request option.
|
|
537
|
+
* @throws {RequiredError}
|
|
538
|
+
* @memberof VaultsApi
|
|
539
|
+
*/
|
|
540
|
+
getVaultTvlHistory(vaultId: string, limit?: number, interval?: HistoryInterval, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TvlHistory[], any, {}>>;
|
|
541
|
+
/**
|
|
542
|
+
*
|
|
543
|
+
* @summary Get details for all vaults or a specific vault
|
|
544
|
+
* @param {string} [vaultId] The ID of the vault
|
|
545
|
+
* @param {string} [receiptCoinSymbol] The receipt coin symbol of the vault
|
|
546
|
+
* @param {string} [chain] The identifier of the chain
|
|
547
|
+
* @param {boolean} [includeHidden] Whether to include hidden vaults
|
|
548
|
+
* @param {*} [options] Override http request option.
|
|
549
|
+
* @throws {RequiredError}
|
|
550
|
+
* @memberof VaultsApi
|
|
551
|
+
*/
|
|
552
|
+
getVaults(vaultId?: string, receiptCoinSymbol?: string, chain?: string, includeHidden?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VaultDetail[], any, {}>>;
|
|
553
|
+
/**
|
|
554
|
+
*
|
|
555
|
+
* @summary Get protocol info to initialize sdk
|
|
556
|
+
* @param {*} [options] Override http request option.
|
|
557
|
+
* @throws {RequiredError}
|
|
558
|
+
* @memberof VaultsApi
|
|
559
|
+
*/
|
|
560
|
+
getVaultsProtocolInfo(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VaultsDeploymentConfig[], any, {}>>;
|
|
561
|
+
/**
|
|
562
|
+
*
|
|
563
|
+
* @summary Get stats for all vaults or a specific vault
|
|
564
|
+
* @param {string} [chain] The identifier of the chain
|
|
565
|
+
* @param {*} [options] Override http request option.
|
|
566
|
+
* @throws {RequiredError}
|
|
567
|
+
* @memberof VaultsApi
|
|
568
|
+
*/
|
|
569
|
+
getVaultsStats(chain?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VaultsStats, any, {}>>;
|
|
570
|
+
}
|