@augustdigital/sdk 4.14.0-alpha.2 → 4.14.0-alpha.4
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/lib/core/constants.adapters.d.ts +111 -83
- package/lib/core/constants.core.d.ts +66 -59
- package/lib/core/constants.d.ts +76 -68
- package/lib/core/constants.vaults.d.ts +48 -3
- package/lib/core/constants.web3.d.ts +19 -18
- package/lib/core/core.helpers.d.ts +33 -8
- package/lib/core/helpers.adapters.d.ts +7 -2
- package/lib/core/helpers.core.d.ts +33 -8
- package/lib/core/helpers.signer.d.ts +6 -2
- package/lib/core/helpers.vaults.d.ts +34 -14
- package/lib/core/helpers.web3.d.ts +85 -19
- package/lib/core/read.actions.d.ts +4 -1
- package/lib/core/web3.helpers.d.ts +85 -19
- package/lib/core/write.actions.d.ts +8 -5
- package/lib/main.d.ts +4 -0
- package/lib/main.js +3 -0
- package/lib/main.js.map +1 -1
- package/lib/modules/vaults/constants.d.ts +91 -47
- package/lib/modules/vaults/getters.js +4 -3
- package/lib/modules/vaults/getters.js.map +1 -1
- package/lib/modules/vaults/main.d.ts +4 -0
- package/lib/modules/vaults/main.js +11 -0
- package/lib/modules/vaults/main.js.map +1 -1
- package/lib/modules/vaults/utils.js +5 -0
- package/lib/modules/vaults/utils.js.map +1 -1
- package/lib/modules/vaults/vault.actions.d.ts +13 -4
- package/lib/services/subgraph/vaults.js +1 -0
- package/lib/services/subgraph/vaults.js.map +1 -1
- package/lib/types/subgraph.d.ts +1 -0
- package/lib/types/vaults.d.ts +2 -0
- package/lib/types/vaults.js.map +1 -1
- package/lib/types/webserver.d.ts +2 -0
- package/package.json +1 -1
package/lib/types/subgraph.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ export interface ISubgraphUserHistoryItem extends ISubgraphBase {
|
|
|
11
11
|
amount: string;
|
|
12
12
|
type: 'withdraw-request' | 'deposit' | 'withdraw-processed';
|
|
13
13
|
decimals?: number;
|
|
14
|
+
isInstant?: boolean;
|
|
14
15
|
}
|
|
15
16
|
export interface ISubgraphWithdrawProccessed extends ISubgraphBase {
|
|
16
17
|
processedOn: string;
|
package/lib/types/vaults.d.ts
CHANGED
|
@@ -171,6 +171,8 @@ export interface IVault {
|
|
|
171
171
|
timestamp: string;
|
|
172
172
|
value: number;
|
|
173
173
|
}[];
|
|
174
|
+
enabled_historical_price_horizons?: number[];
|
|
175
|
+
latest_reported_tvl?: number | null;
|
|
174
176
|
}
|
|
175
177
|
export declare enum VaultRedemptionStatus {
|
|
176
178
|
AWAITING_COOLDOWN = "awaiting_cooldown",
|
package/lib/types/vaults.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vaults.js","sourceRoot":"","sources":["../../src.ts/types/vaults.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"vaults.js","sourceRoot":"","sources":["../../src.ts/types/vaults.ts"],"names":[],"mappings":";;;AA6NA,IAAY,qBAGX;AAHD,WAAY,qBAAqB;IAC/B,gEAAuC,CAAA;IACvC,0DAAiC,CAAA;AACnC,CAAC,EAHW,qBAAqB,qCAArB,qBAAqB,QAGhC"}
|
package/lib/types/webserver.d.ts
CHANGED
|
@@ -503,6 +503,7 @@ export interface ITokenizedVault {
|
|
|
503
503
|
rewards: ITokenizedVaultReward[];
|
|
504
504
|
subaccounts: ITokenizedVaultSubaccount[];
|
|
505
505
|
reported_apy: ITokenizedVaultReportedAPY | null;
|
|
506
|
+
campaign_apy: number | null;
|
|
506
507
|
receipt_token_integrations: ITokenizedVaultReceiptTokenIntegration[];
|
|
507
508
|
hardcoded_strategists: ITokenizedVaultStrategist[];
|
|
508
509
|
max_daily_drawdown: number | null;
|
|
@@ -515,6 +516,7 @@ export interface ITokenizedVault {
|
|
|
515
516
|
historical_snapshots?: IHIstoricalSnapshot[];
|
|
516
517
|
max_drawdown: number | null;
|
|
517
518
|
daily_pnl_per_share: Record<string, number>;
|
|
519
|
+
latest_reported_tvl: number | null;
|
|
518
520
|
}
|
|
519
521
|
export interface IWSVaultHistoricalApy {
|
|
520
522
|
data: {
|