@stakekit/widget 0.0.278 → 0.0.279
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/bundle/index.bundle.js +40 -40
- package/dist/package/index.package.js +2467 -2074
- package/dist/types/common/get-token-balances.d.ts +4 -2
- package/dist/types/domain/types/action.d.ts +2 -0
- package/dist/types/domain/types/kyc.d.ts +1 -1
- package/dist/types/domain/types/stake.d.ts +1 -1
- package/dist/types/domain/types/token-balance.d.ts +4 -1
- package/dist/types/generated/api/legacy.d.ts +140 -5
- package/dist/types/generated/api/yield.d.ts +85 -16
- package/dist/types/hooks/api/use-activity-actions.d.ts +34 -2
- package/dist/types/hooks/api/use-default-tokens.d.ts +185 -8
- package/dist/types/hooks/navigation/use-unstake-or-pending-action-params.d.ts +1 -1
- package/dist/types/hooks/use-init-query-params.d.ts +2 -2
- package/dist/types/pages/details/activity-page/activity-filters.d.ts +4 -10
- package/dist/types/pages/details/activity-page/hooks/use-activity-filters.d.ts +4 -6
- package/dist/types/pages/details/activity-page/hooks/use-activity-page.d.ts +4 -2
- package/dist/types/pages/details/activity-page/state/types.d.ts +5 -0
- package/dist/types/pages/details/earn-page/state/types.d.ts +5 -1
- package/dist/types/pages/details/earn-page/state/use-get-init-yield.d.ts +3 -1
- package/dist/types/pages/details/earn-page/state/use-get-token-balances-map.d.ts +1 -1
- package/dist/types/pages/details/earn-page/state/use-init-token.d.ts +1 -1
- package/dist/types/pages/details/earn-page/state/use-token-balance.d.ts +4 -2
- package/dist/types/pages/details/earn-page/state/use-token-balances-map.d.ts +4 -1
- package/dist/types/pages/review/hooks/use-pending-review.hook.d.ts +1 -1
- package/dist/types/pages-dashboard/common/components/tabs/tab.d.ts +1 -1
- package/dist/types/providers/api/api-client-provider.d.ts +8 -0
- package/dist/types/providers/api/api-client.d.ts +8 -0
- package/dist/types/providers/settings/index.d.ts +2 -2
- package/dist/types/providers/settings/types.d.ts +7 -1
- package/dist/types/translation/resources.d.ts +16 -0
- package/dist/website/assets/{basic-B6mp0zAt.js → basic-D3nwtDfO.js} +1 -1
- package/dist/website/assets/{basic-COtSRBWn.js → basic-DI04q-z5.js} +1 -1
- package/dist/website/assets/{browser-DlS057kQ.js → browser-BGQxsRzX.js} +1 -1
- package/dist/website/assets/{build-B42j8XfN.js → build-BO-twdq7.js} +1 -1
- package/dist/website/assets/{build-C3BnF_yX.js → build-CEAQPMiq.js} +1 -1
- package/dist/website/assets/{cardano-connector-Bhntw_t9.js → cardano-connector-ecZtuJQB.js} +1 -1
- package/dist/website/assets/{core-XcRP3coP.js → core-B3_9JvTp.js} +2 -2
- package/dist/website/assets/{dist-inm--arR.js → dist-BYlQhRkj.js} +1 -1
- package/dist/website/assets/{dist-Codtf9eb.js → dist-DEMLOD_H.js} +1 -1
- package/dist/website/assets/en_US-IFPOGBSL-C6vS0nJu.js +1 -0
- package/dist/website/assets/{esm-ZiJzF2A0.js → esm-BQw3npTs.js} +1 -1
- package/dist/website/assets/{exports-CyYSC3cP.js → exports-DAW2JAuG.js} +1 -1
- package/dist/website/assets/{index-DKvgVcnp.js → index-76KqbRyx.js} +10 -10
- package/dist/website/assets/{index.es-DvvwVKcs.js → index.es-7QZH23xL.js} +2 -2
- package/dist/website/assets/{ledger-connector-B18-WePP.js → ledger-connector-JukZtwLj.js} +1 -1
- package/dist/website/assets/{receive-AVnNiEqk.js → receive-BDUZF0CU.js} +1 -1
- package/dist/website/assets/{registry-DdkFsSTf.js → registry-BWniouhx.js} +1 -1
- package/dist/website/assets/{safe-connector-8xKDfpEB.js → safe-connector-rgvIlZts.js} +1 -1
- package/dist/website/assets/{socials-DPfvdnuK.js → socials-DfLvlbuC.js} +1 -1
- package/dist/website/assets/{solana-connector-Bv33WvyR.js → solana-connector-BbGZaah6.js} +1 -1
- package/dist/website/assets/{substrate-connector-DlOCsOcs.js → substrate-connector-D8xzZ-Ot.js} +1 -1
- package/dist/website/assets/{ton-connector-D8V6GzAg.js → ton-connector-BN_syN6v.js} +1 -1
- package/dist/website/assets/{tron-connector-DEk19bH5.js → tron-connector-CUEWVgiG.js} +3 -3
- package/dist/website/assets/tx-yuT9VUC1.js +1 -0
- package/dist/website/assets/{wallet-manager-Buj8Wwd2.js → wallet-manager-Cfp7arwy.js} +3 -3
- package/dist/website/assets/{wui-qr-code-CaP1gUiJ.js → wui-qr-code-Bcjr7F8m.js} +1 -1
- package/dist/website/index.html +1 -1
- package/package.json +1 -1
- package/dist/website/assets/en_US-IFPOGBSL-DmyC9Biu.js +0 -1
- package/dist/website/assets/tx-B31H-PDz.js +0 -1
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
import type { QueryClient } from "@tanstack/react-query";
|
|
2
2
|
import { EitherAsync } from "purify-ts";
|
|
3
3
|
import type { SKWallet } from "../domain/types/wallet";
|
|
4
|
+
import type { DashboardYieldCategory } from "../domain/types/yields";
|
|
4
5
|
import type { ApiClient } from "../providers/api/api-client";
|
|
5
6
|
import type { SettingsProps } from "../providers/settings/types";
|
|
6
|
-
export declare const getTokenBalances: ({ additionalAddresses, address, apiClient, network, queryClient, tokensForEnabledYieldsOnly, }: {
|
|
7
|
+
export declare const getTokenBalances: ({ additionalAddresses, address, apiClient, network, selectedDashboardYieldCategory, queryClient, tokensForEnabledYieldsOnly, }: {
|
|
7
8
|
additionalAddresses: SKWallet["additionalAddresses"];
|
|
8
9
|
address: SKWallet["address"];
|
|
9
10
|
apiClient: ApiClient;
|
|
10
11
|
queryClient: QueryClient;
|
|
11
12
|
network: SKWallet["network"];
|
|
13
|
+
selectedDashboardYieldCategory?: DashboardYieldCategory | null;
|
|
12
14
|
tokensForEnabledYieldsOnly: SettingsProps["tokensForEnabledYieldsOnly"];
|
|
13
15
|
}) => EitherAsync<Error, {
|
|
14
|
-
defaultTokens: import("../
|
|
16
|
+
defaultTokens: import("../domain/types/token-balance").TokenBalanceScanResponseDto[];
|
|
15
17
|
tokenBalancesScan: import("../generated/api/legacy").TokenControllerTokenBalancesScan200;
|
|
16
18
|
}>;
|
|
@@ -20,6 +20,8 @@ type TransactionGasEstimate = {
|
|
|
20
20
|
export declare const ActionTypes: {
|
|
21
21
|
readonly STAKE: "STAKE";
|
|
22
22
|
readonly UNSTAKE: "UNSTAKE";
|
|
23
|
+
readonly WITHDRAW_REQUEST: "WITHDRAW_REQUEST";
|
|
24
|
+
readonly INSTANT_WITHDRAW: "INSTANT_WITHDRAW";
|
|
23
25
|
readonly CLAIM_REWARDS: "CLAIM_REWARDS";
|
|
24
26
|
readonly AUTO_SWEEP_UNSTAKE_REWARDS: "AUTO_SWEEP_UNSTAKE_REWARDS";
|
|
25
27
|
readonly AUTO_SWEEP_WITHDRAW_REWARDS: "AUTO_SWEEP_WITHDRAW_REWARDS";
|
|
@@ -21,7 +21,7 @@ export type KycGate = {
|
|
|
21
21
|
iframeAllowed?: true;
|
|
22
22
|
};
|
|
23
23
|
type KycUrlSource = {
|
|
24
|
-
readonly status?: Pick<KycStatusResponseDto, "
|
|
24
|
+
readonly status?: Pick<KycStatusResponseDto, "authorizeUrl"> | null;
|
|
25
25
|
readonly yieldDto?: Yield | null;
|
|
26
26
|
};
|
|
27
27
|
export declare const getKycProviderName: (yieldDto: Yield | null | undefined) => string | null;
|
|
@@ -17,7 +17,7 @@ export declare const getInitialToken: (args: {
|
|
|
17
17
|
defaultTokens: ReadonlyArray<TokenBalanceScanResponseDto>;
|
|
18
18
|
network: SupportedSKChains | null;
|
|
19
19
|
preferredTokenYieldsPerNetwork: PreferredTokenYieldsPerNetwork | null;
|
|
20
|
-
}) => import("purify-ts/Maybe").Maybe<import("
|
|
20
|
+
}) => import("purify-ts/Maybe").Maybe<import("./tokens").TokenDto>;
|
|
21
21
|
export declare const canBeInitialYield: (args: {
|
|
22
22
|
initQueryParams: Maybe<InitParams>;
|
|
23
23
|
yieldDto: YieldBase;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import type { TokenBalanceScanDto as LegacyTokenBalanceScanDto, TokenBalanceScanResponseDto as LegacyTokenBalanceScanResponseDto, YieldBalanceLabelDto as LegacyYieldBalanceLabelDto } from "../../generated/api/legacy";
|
|
2
|
+
import type { TokenDto } from "./tokens";
|
|
2
3
|
export type TokenBalanceScanDto = LegacyTokenBalanceScanDto;
|
|
3
|
-
export type TokenBalanceScanResponseDto = LegacyTokenBalanceScanResponseDto
|
|
4
|
+
export type TokenBalanceScanResponseDto = Omit<LegacyTokenBalanceScanResponseDto, "token"> & {
|
|
5
|
+
readonly token: TokenDto;
|
|
6
|
+
};
|
|
4
7
|
export type YieldBalanceLabelDto = LegacyYieldBalanceLabelDto;
|
|
@@ -318,17 +318,67 @@ export type ReferralDto = {
|
|
|
318
318
|
readonly id: string;
|
|
319
319
|
readonly code: string;
|
|
320
320
|
};
|
|
321
|
+
export type IntegrationFreshness = "real_time" | "daily" | "weekly" | "monthly" | "coming_soon";
|
|
322
|
+
export type KpiSummaryResponseDto = {
|
|
323
|
+
readonly total_earned_revenue_usd: {
|
|
324
|
+
readonly value: string | null;
|
|
325
|
+
readonly coverage: boolean;
|
|
326
|
+
readonly last_updated_at: string;
|
|
327
|
+
readonly delta_30d_usd?: string | null;
|
|
328
|
+
readonly delta_30d_pct?: string | null;
|
|
329
|
+
readonly delta_30d?: string | null;
|
|
330
|
+
};
|
|
331
|
+
readonly volume_inflow_usd: {
|
|
332
|
+
readonly value: string | null;
|
|
333
|
+
readonly coverage: boolean;
|
|
334
|
+
readonly last_updated_at: string;
|
|
335
|
+
readonly delta_30d_usd?: string | null;
|
|
336
|
+
readonly delta_30d_pct?: string | null;
|
|
337
|
+
readonly delta_30d?: string | null;
|
|
338
|
+
};
|
|
339
|
+
readonly volume_outflow_usd: {
|
|
340
|
+
readonly value: string | null;
|
|
341
|
+
readonly coverage: boolean;
|
|
342
|
+
readonly last_updated_at: string;
|
|
343
|
+
readonly delta_30d_usd?: string | null;
|
|
344
|
+
readonly delta_30d_pct?: string | null;
|
|
345
|
+
readonly delta_30d?: string | null;
|
|
346
|
+
};
|
|
347
|
+
readonly tvl_usd: {
|
|
348
|
+
readonly value: string | null;
|
|
349
|
+
readonly coverage: boolean;
|
|
350
|
+
readonly last_updated_at: string;
|
|
351
|
+
readonly delta_30d_usd?: string | null;
|
|
352
|
+
readonly delta_30d_pct?: string | null;
|
|
353
|
+
readonly delta_30d?: string | null;
|
|
354
|
+
};
|
|
355
|
+
readonly active_users_unique_addresses: {
|
|
356
|
+
readonly value: string | null;
|
|
357
|
+
readonly coverage: boolean;
|
|
358
|
+
readonly last_updated_at: string;
|
|
359
|
+
readonly delta_30d_usd?: string | null;
|
|
360
|
+
readonly delta_30d_pct?: string | null;
|
|
361
|
+
readonly delta_30d?: string | null;
|
|
362
|
+
};
|
|
363
|
+
readonly total_actions_count: number;
|
|
364
|
+
};
|
|
365
|
+
export type TrendDataPointDto = {
|
|
366
|
+
readonly month: string;
|
|
367
|
+
readonly tvl_usd: string | null;
|
|
368
|
+
readonly revenue_usd: string | null;
|
|
369
|
+
readonly active_users: string | null;
|
|
370
|
+
};
|
|
321
371
|
export type ActionStatus = "CANCELED" | "CREATED" | "WAITING_FOR_NEXT" | "PROCESSING" | "FAILED" | "SUCCESS" | "STALE";
|
|
322
|
-
export type ActionTypes = "STAKE" | "UNSTAKE" | "CLAIM_REWARDS" | "AUTO_SWEEP_UNSTAKE_REWARDS" | "AUTO_SWEEP_WITHDRAW_REWARDS" | "RESTAKE_REWARDS" | "WITHDRAW" | "WITHDRAW_ALL" | "RESTAKE" | "CLAIM_UNSTAKED" | "UNLOCK_LOCKED" | "STAKE_LOCKED" | "VOTE" | "REVOKE" | "VOTE_LOCKED" | "REVOTE" | "REBOND" | "MIGRATE" | "VERIFY_WITHDRAW_CREDENTIALS" | "DELEGATE";
|
|
372
|
+
export type ActionTypes = "STAKE" | "UNSTAKE" | "WITHDRAW_REQUEST" | "INSTANT_WITHDRAW" | "CLAIM_REWARDS" | "AUTO_SWEEP_UNSTAKE_REWARDS" | "AUTO_SWEEP_WITHDRAW_REWARDS" | "RESTAKE_REWARDS" | "WITHDRAW" | "WITHDRAW_ALL" | "RESTAKE" | "CLAIM_UNSTAKED" | "UNLOCK_LOCKED" | "STAKE_LOCKED" | "VOTE" | "REVOKE" | "VOTE_LOCKED" | "REVOTE" | "REBOND" | "MIGRATE" | "VERIFY_WITHDRAW_CREDENTIALS" | "DELEGATE";
|
|
323
373
|
export type TransactionStatus = "NOT_FOUND" | "CREATED" | "BLOCKED" | "WAITING_FOR_SIGNATURE" | "SIGNED" | "BROADCASTED" | "PENDING" | "CONFIRMED" | "FAILED" | "SKIPPED";
|
|
324
|
-
export type TransactionType = "SWAP" | "DEPOSIT" | "APPROVAL" | "STAKE" | "CLAIM_UNSTAKED" | "CLAIM_REWARDS" | "RESTAKE_REWARDS" | "UNSTAKE" | "SPLIT" | "MERGE" | "LOCK" | "UNLOCK" | "SUPPLY" | "ADD_LIQUIDITY" | "REMOVE_LIQUIDITY" | "BRIDGE" | "VOTE" | "REVOKE" | "RESTAKE" | "REBOND" | "WITHDRAW" | "WITHDRAW_ALL" | "CREATE_ACCOUNT" | "REVEAL" | "MIGRATE" | "DELEGATE" | "UNDELEGATE" | "UTXO_P_TO_C_IMPORT" | "UTXO_C_TO_P_IMPORT" | "WRAP" | "UNWRAP" | "UNFREEZE_LEGACY" | "UNFREEZE_LEGACY_BANDWIDTH" | "UNFREEZE_LEGACY_ENERGY" | "UNFREEZE_BANDWIDTH" | "UNFREEZE_ENERGY" | "FREEZE_BANDWIDTH" | "FREEZE_ENERGY" | "UNDELEGATE_BANDWIDTH" | "UNDELEGATE_ENERGY" | "P2P_NODE_REQUEST" | "CREATE_EIGENPOD" | "VERIFY_WITHDRAW_CREDENTIALS" | "START_CHECKPOINT" | "VERIFY_CHECKPOINT_PROOFS" | "QUEUE_WITHDRAWALS" | "COMPLETE_QUEUED_WITHDRAWALS" | "LZ_DEPOSIT" | "LZ_WITHDRAW" | "LUGANODES_PROVISION" | "LUGANODES_EXIT_REQUEST" | "INFSTONES_PROVISION" | "INFSTONES_EXIT_REQUEST" | "INFSTONES_CLAIM_REQUEST" | "BATCH";
|
|
374
|
+
export type TransactionType = "SWAP" | "DEPOSIT" | "APPROVAL" | "STAKE" | "SET_OPERATOR" | "CLAIM_UNSTAKED" | "CLAIM_REWARDS" | "RESTAKE_REWARDS" | "UNSTAKE" | "SPLIT" | "MERGE" | "LOCK" | "UNLOCK" | "SUPPLY" | "ADD_LIQUIDITY" | "REMOVE_LIQUIDITY" | "BRIDGE" | "VOTE" | "REVOKE" | "RESTAKE" | "REBOND" | "WITHDRAW" | "WITHDRAW_ALL" | "CREATE_ACCOUNT" | "REVEAL" | "MIGRATE" | "DELEGATE" | "UNDELEGATE" | "UTXO_P_TO_C_IMPORT" | "UTXO_C_TO_P_IMPORT" | "WRAP" | "UNWRAP" | "UNFREEZE_LEGACY" | "UNFREEZE_LEGACY_BANDWIDTH" | "UNFREEZE_LEGACY_ENERGY" | "UNFREEZE_BANDWIDTH" | "UNFREEZE_ENERGY" | "FREEZE_BANDWIDTH" | "FREEZE_ENERGY" | "UNDELEGATE_BANDWIDTH" | "UNDELEGATE_ENERGY" | "P2P_NODE_REQUEST" | "CREATE_EIGENPOD" | "VERIFY_WITHDRAW_CREDENTIALS" | "START_CHECKPOINT" | "VERIFY_CHECKPOINT_PROOFS" | "QUEUE_WITHDRAWALS" | "COMPLETE_QUEUED_WITHDRAWALS" | "LZ_DEPOSIT" | "LZ_WITHDRAW" | "LUGANODES_PROVISION" | "LUGANODES_EXIT_REQUEST" | "INFSTONES_PROVISION" | "INFSTONES_EXIT_REQUEST" | "INFSTONES_CLAIM_REQUEST" | "BATCH";
|
|
325
375
|
export type AnnotatedFieldDto = {
|
|
326
376
|
readonly key: string;
|
|
327
377
|
readonly value: string;
|
|
328
378
|
readonly label: string;
|
|
329
379
|
readonly description: string;
|
|
330
380
|
};
|
|
331
|
-
export type YieldProviders = "aave" | "anchor" | "benqi" | "compound" | "lido" | "marinade" | "sushi" | "yearn" | "ape" | "chainlink" | "pendle" | "parax" | "rocket-pool" | "stakewise" | "etherfi" | "morpho-aave" | "morpho" | "morpho-compound" | "angle" | "kelpdao" | "figment" | "kiln" | "P2P" | "everstake" | "eigenlayer" | "luganodes" | "renzo" | "infstones" | "ethena" | "upshift" | "fluid" | "idle-finance" | "gearbox" | "chorus-one" | "stakekit" | "spark" | "sommelier" | "summer-fi" | "venus" | "venus-flux" | "mantle" | "ton-whales" | "blend" | "synthetix" | "drift" | "euler" | "maple" | "sky" | "yo-protocol" | "meria" | "stakin" | "globalstake" | "simplystaking" | "coinbase" | "validation-cloud" | "curve" | "pancakeswap" | "yield-xyz" | "kamino" | "veda" | "lista" | "dolomite" | "midas";
|
|
381
|
+
export type YieldProviders = "aave" | "anchor" | "benqi" | "compound" | "lido" | "marinade" | "sushi" | "yearn" | "ape" | "chainlink" | "pendle" | "parax" | "rocket-pool" | "stakewise" | "etherfi" | "morpho-aave" | "morpho" | "morpho-compound" | "angle" | "kelpdao" | "figment" | "kiln" | "P2P" | "everstake" | "eigenlayer" | "luganodes" | "renzo" | "infstones" | "ethena" | "upshift" | "fluid" | "idle-finance" | "gearbox" | "chorus-one" | "stakekit" | "spark" | "sommelier" | "summer-fi" | "venus" | "venus-flux" | "mantle" | "ton-whales" | "blend" | "synthetix" | "drift" | "euler" | "maple" | "sky" | "yo-protocol" | "meria" | "stakin" | "globalstake" | "simplystaking" | "coinbase" | "validation-cloud" | "curve" | "pancakeswap" | "yield-xyz" | "kamino" | "veda" | "lista" | "dolomite" | "midas" | "dinari" | "ondo" | "superstate" | "securitize" | "nest";
|
|
332
382
|
export type YieldType = "staking" | "liquid-staking" | "lending" | "restaking" | "vault" | "concentrated-liquidity-pool" | "liquidity-pool" | "real-world-asset";
|
|
333
383
|
export type RewardSchedule = "block" | "hour" | "day" | "week" | "month" | "era" | "epoch" | "campaign";
|
|
334
384
|
export type TimePeriodDto = {
|
|
@@ -540,6 +590,7 @@ export type CreateFeeConfigurationDtoV2 = {
|
|
|
540
590
|
readonly managementFeeBps?: number;
|
|
541
591
|
readonly performanceFeeBps?: number;
|
|
542
592
|
readonly depositFeeBps?: number;
|
|
593
|
+
readonly chargeOnFirstDepositOnly?: boolean;
|
|
543
594
|
readonly layerzeroOVaultConfig?: {};
|
|
544
595
|
};
|
|
545
596
|
export type FailureViewDto = {
|
|
@@ -678,12 +729,14 @@ export type CreateFeeConfigurationDto = {
|
|
|
678
729
|
readonly managementFeeBps?: number;
|
|
679
730
|
readonly performanceFeeBps?: number;
|
|
680
731
|
readonly depositFeeBps?: number;
|
|
732
|
+
readonly chargeOnFirstDepositOnly?: boolean;
|
|
681
733
|
readonly layerzeroOVaultConfig?: {};
|
|
682
734
|
};
|
|
683
735
|
export type UpdateFeeConfigurationDto = {
|
|
684
736
|
readonly managementFeeBps?: number;
|
|
685
737
|
readonly performanceFeeBps?: number;
|
|
686
738
|
readonly depositFeeBps?: number;
|
|
739
|
+
readonly chargeOnFirstDepositOnly?: boolean | null;
|
|
687
740
|
readonly layerzeroOVaultConfig?: {} | null;
|
|
688
741
|
};
|
|
689
742
|
export type InitiateSsoDto = {
|
|
@@ -1210,6 +1263,28 @@ export type UpdateTeamDto = {
|
|
|
1210
1263
|
readonly name?: string;
|
|
1211
1264
|
readonly isMfaEnforced?: boolean;
|
|
1212
1265
|
};
|
|
1266
|
+
export type IntegrationRevenueRowDto = {
|
|
1267
|
+
readonly integration_id: string;
|
|
1268
|
+
readonly integration_name: string | null;
|
|
1269
|
+
readonly revenue_usd: string | null;
|
|
1270
|
+
readonly revenue_type: "estimated" | "actual" | null;
|
|
1271
|
+
readonly tvl_usd: string | null;
|
|
1272
|
+
readonly data_freshness: IntegrationFreshness;
|
|
1273
|
+
readonly coverage: boolean;
|
|
1274
|
+
readonly volume_inflow_usd: string | null;
|
|
1275
|
+
readonly volume_outflow_usd: string | null;
|
|
1276
|
+
readonly estimated_rewards_usd: string | null;
|
|
1277
|
+
};
|
|
1278
|
+
export type TopIntegrationDto = {
|
|
1279
|
+
readonly integration_id: string;
|
|
1280
|
+
readonly integration_name: string | null;
|
|
1281
|
+
readonly revenue_usd: string | null;
|
|
1282
|
+
readonly tvl_usd: string | null;
|
|
1283
|
+
readonly data_freshness: IntegrationFreshness;
|
|
1284
|
+
};
|
|
1285
|
+
export type KpiTrendsResponseDto = {
|
|
1286
|
+
readonly data_points: ReadonlyArray<TrendDataPointDto>;
|
|
1287
|
+
};
|
|
1213
1288
|
export type TransactionStatusResponseDto = {
|
|
1214
1289
|
readonly status: TransactionStatus;
|
|
1215
1290
|
readonly url: string;
|
|
@@ -1285,8 +1360,10 @@ export type FeeConfigurationWithApyDto = {
|
|
|
1285
1360
|
readonly managementFeeBps: number;
|
|
1286
1361
|
readonly performanceFeeBps: number;
|
|
1287
1362
|
readonly depositFeeBps: number;
|
|
1363
|
+
readonly chargeOnFirstDepositOnly: boolean;
|
|
1288
1364
|
readonly allocatorVaultContractAddress: string | null;
|
|
1289
1365
|
readonly feeWrapperContractAddress: string | null;
|
|
1366
|
+
readonly feeRecipientAddress: string | null;
|
|
1290
1367
|
readonly status: FeeConfigurationStatus;
|
|
1291
1368
|
readonly layerzeroOVaultConfig?: {} | null;
|
|
1292
1369
|
readonly computedRewardRate: number;
|
|
@@ -1298,8 +1375,10 @@ export type FeeConfigurationDto = {
|
|
|
1298
1375
|
readonly managementFeeBps: number;
|
|
1299
1376
|
readonly performanceFeeBps: number;
|
|
1300
1377
|
readonly depositFeeBps: number;
|
|
1378
|
+
readonly chargeOnFirstDepositOnly: boolean;
|
|
1301
1379
|
readonly allocatorVaultContractAddress: string | null;
|
|
1302
1380
|
readonly feeWrapperContractAddress: string | null;
|
|
1381
|
+
readonly feeRecipientAddress: string | null;
|
|
1303
1382
|
readonly status: FeeConfigurationStatus;
|
|
1304
1383
|
readonly layerzeroOVaultConfig?: {} | null;
|
|
1305
1384
|
};
|
|
@@ -1744,6 +1823,10 @@ export type PaginatedCampaignConfigurationRequestDto = {
|
|
|
1744
1823
|
readonly limit: number;
|
|
1745
1824
|
readonly items: ReadonlyArray<CampaignConfigurationRequestDto>;
|
|
1746
1825
|
};
|
|
1826
|
+
export type TopIntegrationsDto = {
|
|
1827
|
+
readonly by_revenue: ReadonlyArray<TopIntegrationDto>;
|
|
1828
|
+
readonly by_tvl: ReadonlyArray<TopIntegrationDto>;
|
|
1829
|
+
};
|
|
1747
1830
|
export type YieldMetadataDto = {
|
|
1748
1831
|
readonly name: string;
|
|
1749
1832
|
readonly logoURI: string;
|
|
@@ -1934,6 +2017,13 @@ export type ProgrammaticPayoutBatchDetailDto = {
|
|
|
1934
2017
|
readonly safeTransaction: SafeTransactionDetailDto;
|
|
1935
2018
|
readonly recipients: PaginatedProgrammaticPayoutItemDto;
|
|
1936
2019
|
};
|
|
2020
|
+
export type RevenueBreakdownResponseDto = {
|
|
2021
|
+
readonly total_earned_revenue_usd: string | null;
|
|
2022
|
+
readonly coverage: boolean;
|
|
2023
|
+
readonly last_updated_at: string;
|
|
2024
|
+
readonly integrations: ReadonlyArray<IntegrationRevenueRowDto>;
|
|
2025
|
+
readonly top_integrations: TopIntegrationsDto;
|
|
2026
|
+
};
|
|
1937
2027
|
export type GasForNetworkResponseDto = {
|
|
1938
2028
|
readonly customisable: boolean;
|
|
1939
2029
|
readonly modes: GasModesDto;
|
|
@@ -2390,6 +2480,24 @@ export type ReferralControllerGetByCodeParams = {
|
|
|
2390
2480
|
readonly "X-API-KEY"?: string;
|
|
2391
2481
|
};
|
|
2392
2482
|
export type ReferralControllerGetByCode200 = ReferralDto;
|
|
2483
|
+
export type RevenueBreakdownControllerGetRevenueSummaryParams = {
|
|
2484
|
+
readonly month?: string;
|
|
2485
|
+
readonly date_from?: string;
|
|
2486
|
+
readonly date_to?: string;
|
|
2487
|
+
readonly project_ids?: ReadonlyArray<string>;
|
|
2488
|
+
};
|
|
2489
|
+
export type RevenueBreakdownControllerGetRevenueSummary200 = RevenueBreakdownResponseDto;
|
|
2490
|
+
export type KpiSummaryControllerGetSummaryParams = {
|
|
2491
|
+
readonly month?: string;
|
|
2492
|
+
readonly date_from?: string;
|
|
2493
|
+
readonly date_to?: string;
|
|
2494
|
+
readonly project_ids?: ReadonlyArray<string>;
|
|
2495
|
+
};
|
|
2496
|
+
export type KpiSummaryControllerGetSummary200 = KpiSummaryResponseDto;
|
|
2497
|
+
export type KpiTrendsControllerGetTrendsParams = {
|
|
2498
|
+
readonly project_ids?: ReadonlyArray<string>;
|
|
2499
|
+
};
|
|
2500
|
+
export type KpiTrendsControllerGetTrends200 = KpiTrendsResponseDto;
|
|
2393
2501
|
export type ReportEntryControllerListParams = {
|
|
2394
2502
|
readonly limit?: number;
|
|
2395
2503
|
readonly page?: number;
|
|
@@ -2786,7 +2894,7 @@ export type ActionControllerListParams = {
|
|
|
2786
2894
|
readonly walletAddress: string;
|
|
2787
2895
|
readonly statuses?: ReadonlyArray<"CANCELED" | "CREATED" | "WAITING_FOR_NEXT" | "PROCESSING" | "FAILED" | "SUCCESS" | "STALE">;
|
|
2788
2896
|
readonly status?: "CANCELED" | "CREATED" | "WAITING_FOR_NEXT" | "PROCESSING" | "FAILED" | "SUCCESS" | "STALE";
|
|
2789
|
-
readonly type?: "STAKE" | "UNSTAKE" | "CLAIM_REWARDS" | "AUTO_SWEEP_UNSTAKE_REWARDS" | "AUTO_SWEEP_WITHDRAW_REWARDS" | "RESTAKE_REWARDS" | "WITHDRAW" | "WITHDRAW_ALL" | "RESTAKE" | "CLAIM_UNSTAKED" | "UNLOCK_LOCKED" | "STAKE_LOCKED" | "VOTE" | "REVOKE" | "VOTE_LOCKED" | "REVOTE" | "REBOND" | "MIGRATE" | "VERIFY_WITHDRAW_CREDENTIALS" | "DELEGATE";
|
|
2897
|
+
readonly type?: "STAKE" | "UNSTAKE" | "WITHDRAW_REQUEST" | "INSTANT_WITHDRAW" | "CLAIM_REWARDS" | "AUTO_SWEEP_UNSTAKE_REWARDS" | "AUTO_SWEEP_WITHDRAW_REWARDS" | "RESTAKE_REWARDS" | "WITHDRAW" | "WITHDRAW_ALL" | "RESTAKE" | "CLAIM_UNSTAKED" | "UNLOCK_LOCKED" | "STAKE_LOCKED" | "VOTE" | "REVOKE" | "VOTE_LOCKED" | "REVOTE" | "REBOND" | "MIGRATE" | "VERIFY_WITHDRAW_CREDENTIALS" | "DELEGATE";
|
|
2790
2898
|
readonly sort?: "createdAtAsc" | "createdAtDesc";
|
|
2791
2899
|
readonly network?: Networks;
|
|
2792
2900
|
readonly limit?: number;
|
|
@@ -3460,7 +3568,7 @@ export type YieldControllerCreateFeeConfiguration429 = StakeKitErrorDto;
|
|
|
3460
3568
|
export type YieldControllerCreateFeeConfiguration500 = StakeKitErrorDto;
|
|
3461
3569
|
export type YieldControllerCreateFeeConfiguration503 = StakeKitErrorDto;
|
|
3462
3570
|
export type YieldV2ControllerYieldsParams = {
|
|
3463
|
-
readonly providerId?: "aave" | "anchor" | "benqi" | "compound" | "lido" | "marinade" | "sushi" | "yearn" | "ape" | "chainlink" | "pendle" | "parax" | "rocket-pool" | "stakewise" | "etherfi" | "morpho-aave" | "morpho" | "morpho-compound" | "angle" | "kelpdao" | "figment" | "kiln" | "P2P" | "everstake" | "eigenlayer" | "luganodes" | "renzo" | "infstones" | "ethena" | "upshift" | "fluid" | "idle-finance" | "gearbox" | "chorus-one" | "stakekit" | "spark" | "sommelier" | "summer-fi" | "venus" | "venus-flux" | "mantle" | "ton-whales" | "blend" | "synthetix" | "drift" | "euler" | "maple" | "sky" | "yo-protocol" | "meria" | "stakin" | "globalstake" | "simplystaking" | "coinbase" | "validation-cloud" | "curve" | "pancakeswap" | "yield-xyz" | "kamino" | "veda" | "lista" | "dolomite" | "midas";
|
|
3571
|
+
readonly providerId?: "aave" | "anchor" | "benqi" | "compound" | "lido" | "marinade" | "sushi" | "yearn" | "ape" | "chainlink" | "pendle" | "parax" | "rocket-pool" | "stakewise" | "etherfi" | "morpho-aave" | "morpho" | "morpho-compound" | "angle" | "kelpdao" | "figment" | "kiln" | "P2P" | "everstake" | "eigenlayer" | "luganodes" | "renzo" | "infstones" | "ethena" | "upshift" | "fluid" | "idle-finance" | "gearbox" | "chorus-one" | "stakekit" | "spark" | "sommelier" | "summer-fi" | "venus" | "venus-flux" | "mantle" | "ton-whales" | "blend" | "synthetix" | "drift" | "euler" | "maple" | "sky" | "yo-protocol" | "meria" | "stakin" | "globalstake" | "simplystaking" | "coinbase" | "validation-cloud" | "curve" | "pancakeswap" | "yield-xyz" | "kamino" | "veda" | "lista" | "dolomite" | "midas" | "dinari" | "ondo" | "superstate" | "securitize" | "nest";
|
|
3464
3572
|
readonly inputToken?: string;
|
|
3465
3573
|
readonly enterStatus?: boolean;
|
|
3466
3574
|
readonly preferredValidatorsOnly?: boolean;
|
|
@@ -3564,8 +3672,10 @@ export type YieldV2ControllerGetFeeConfigurations200 = {
|
|
|
3564
3672
|
readonly managementFeeBps: number;
|
|
3565
3673
|
readonly performanceFeeBps: number;
|
|
3566
3674
|
readonly depositFeeBps: number;
|
|
3675
|
+
readonly chargeOnFirstDepositOnly: boolean;
|
|
3567
3676
|
readonly allocatorVaultContractAddress: string | null;
|
|
3568
3677
|
readonly feeWrapperContractAddress: string | null;
|
|
3678
|
+
readonly feeRecipientAddress: string | null;
|
|
3569
3679
|
readonly status: FeeConfigurationStatus;
|
|
3570
3680
|
readonly layerzeroOVaultConfig?: {} | null;
|
|
3571
3681
|
}>;
|
|
@@ -3611,8 +3721,10 @@ export type FeeConfigurationControllerGet200 = {
|
|
|
3611
3721
|
readonly managementFeeBps: number;
|
|
3612
3722
|
readonly performanceFeeBps: number;
|
|
3613
3723
|
readonly depositFeeBps: number;
|
|
3724
|
+
readonly chargeOnFirstDepositOnly: boolean;
|
|
3614
3725
|
readonly allocatorVaultContractAddress: string | null;
|
|
3615
3726
|
readonly feeWrapperContractAddress: string | null;
|
|
3727
|
+
readonly feeRecipientAddress: string | null;
|
|
3616
3728
|
readonly status: FeeConfigurationStatus;
|
|
3617
3729
|
readonly layerzeroOVaultConfig?: {} | null;
|
|
3618
3730
|
}>;
|
|
@@ -3636,8 +3748,10 @@ export type ProgrammaticFeeConfigurationControllerGet200 = {
|
|
|
3636
3748
|
readonly managementFeeBps: number;
|
|
3637
3749
|
readonly performanceFeeBps: number;
|
|
3638
3750
|
readonly depositFeeBps: number;
|
|
3751
|
+
readonly chargeOnFirstDepositOnly: boolean;
|
|
3639
3752
|
readonly allocatorVaultContractAddress: string | null;
|
|
3640
3753
|
readonly feeWrapperContractAddress: string | null;
|
|
3754
|
+
readonly feeRecipientAddress: string | null;
|
|
3641
3755
|
readonly status: FeeConfigurationStatus;
|
|
3642
3756
|
readonly layerzeroOVaultConfig?: {} | null;
|
|
3643
3757
|
}>;
|
|
@@ -4409,6 +4523,27 @@ export interface LegacyApi {
|
|
|
4409
4523
|
readonly params?: ReferralControllerGetByCodeParams | undefined;
|
|
4410
4524
|
readonly config?: Config | undefined;
|
|
4411
4525
|
} | undefined) => Effect.Effect<WithOptionalResponse<ReferralControllerGetByCode200, Config>, HttpClientError.HttpClientError>;
|
|
4526
|
+
/**
|
|
4527
|
+
* Aggregate revenue, per-integration breakdown, and top integrations for the selected period. Supports monthly or explicit date-range filtering.
|
|
4528
|
+
*/
|
|
4529
|
+
readonly RevenueBreakdownControllerGetRevenueSummary: <Config extends OperationConfig>(teamId: string, options: {
|
|
4530
|
+
readonly params?: RevenueBreakdownControllerGetRevenueSummaryParams | undefined;
|
|
4531
|
+
readonly config?: Config | undefined;
|
|
4532
|
+
} | undefined) => Effect.Effect<WithOptionalResponse<RevenueBreakdownControllerGetRevenueSummary200, Config>, HttpClientError.HttpClientError>;
|
|
4533
|
+
/**
|
|
4534
|
+
* Four headline KPIs (revenue, volume, TVL, active users) for the selected period. Metrics without pipeline support return coverage: false and value: null.
|
|
4535
|
+
*/
|
|
4536
|
+
readonly KpiSummaryControllerGetSummary: <Config extends OperationConfig>(teamId: string, options: {
|
|
4537
|
+
readonly params?: KpiSummaryControllerGetSummaryParams | undefined;
|
|
4538
|
+
readonly config?: Config | undefined;
|
|
4539
|
+
} | undefined) => Effect.Effect<WithOptionalResponse<KpiSummaryControllerGetSummary200, Config>, HttpClientError.HttpClientError>;
|
|
4540
|
+
/**
|
|
4541
|
+
* Returns 12 monthly data points ordered oldest to newest, each containing TVL, revenue, and active-user counts. Null values indicate missing pipeline data for that month.
|
|
4542
|
+
*/
|
|
4543
|
+
readonly KpiTrendsControllerGetTrends: <Config extends OperationConfig>(teamId: string, options: {
|
|
4544
|
+
readonly params?: KpiTrendsControllerGetTrendsParams | undefined;
|
|
4545
|
+
readonly config?: Config | undefined;
|
|
4546
|
+
} | undefined) => Effect.Effect<WithOptionalResponse<KpiTrendsControllerGetTrends200, Config>, HttpClientError.HttpClientError>;
|
|
4412
4547
|
readonly ReportEntryControllerList: <Config extends OperationConfig>(teamId: string, options: {
|
|
4413
4548
|
readonly params?: ReportEntryControllerListParams | undefined;
|
|
4414
4549
|
readonly config?: Config | undefined;
|
|
@@ -37,14 +37,14 @@ export type ERCStandards = "ERC20" | "ERC4626" | "ERC721" | "ERC1155";
|
|
|
37
37
|
export type YieldType = "staking" | "restaking" | "lending" | "vault" | "fixed_yield" | "real_world_asset" | "concentrated_liquidity_pool" | "liquidity_pool";
|
|
38
38
|
export type RewardSchedule = "block" | "hour" | "day" | "week" | "month" | "era" | "epoch" | "campaign";
|
|
39
39
|
export type RewardClaiming = "auto" | "manual";
|
|
40
|
-
export type
|
|
41
|
-
readonly
|
|
42
|
-
readonly
|
|
43
|
-
readonly
|
|
44
|
-
readonly
|
|
40
|
+
export type InvestorEligibilityEntryDto = {
|
|
41
|
+
readonly jurisdiction: string;
|
|
42
|
+
readonly tier: "us_retail" | "us_accredited" | "us_qualified_purchaser" | "eu_retail" | "eu_professional" | "eu_professional_optup" | "eu_eligible_counterparty" | "uk_retail" | "uk_professional" | "ch_qualified" | "sg_ai" | "sg_ii" | "hk_pi" | "my_sophisticated" | "br_qi" | "br_pi" | "ae_professional";
|
|
43
|
+
readonly verificationLevel: "self_attested" | "verified_documentation" | "letter" | "third_party_attestation";
|
|
44
|
+
readonly expiresAfterDays?: number;
|
|
45
45
|
};
|
|
46
46
|
export type ArgumentFieldDto = {
|
|
47
|
-
readonly name: "amount" | "amounts" | "validatorAddress" | "validatorAddresses" | "receiverAddress" | "providerId" | "duration" | "inputToken" | "inputTokenNetwork" | "outputToken" | "outputTokenNetwork" | "subnetId" | "tronResource" | "feeConfigurationId" | "cosmosPubKey" | "tezosPubKey" | "cAddressBech" | "pAddressBech" | "executionMode" | "ledgerWalletApiCompatible" | "useMaxAmount" | "useInstantExecution" | "rangeMin" | "rangeMax" | "percentage" | "tokenId" | "skipPrechecks" | "useMaxAllowance" | "feePayerAddress";
|
|
47
|
+
readonly name: "amount" | "amounts" | "validatorAddress" | "validatorAddresses" | "receiverAddress" | "providerId" | "duration" | "inputToken" | "inputTokenNetwork" | "outputToken" | "outputTokenNetwork" | "subnetId" | "tronResource" | "feeConfigurationId" | "cosmosPubKey" | "tezosPubKey" | "cAddressBech" | "pAddressBech" | "executionMode" | "ledgerWalletApiCompatible" | "useMaxAmount" | "useInstantExecution" | "useAutoClaim" | "rangeMin" | "rangeMax" | "percentage" | "tokenId" | "skipPrechecks" | "useMaxAllowance" | "feePayerAddress";
|
|
48
48
|
readonly type: "string" | "number" | "address" | "enum" | "boolean";
|
|
49
49
|
readonly label: string;
|
|
50
50
|
readonly description?: string;
|
|
@@ -106,7 +106,7 @@ export type TransactionDto = {
|
|
|
106
106
|
readonly title: string;
|
|
107
107
|
readonly network: "ethereum" | "ethereum-goerli" | "ethereum-holesky" | "ethereum-sepolia" | "ethereum-hoodi" | "arbitrum" | "base" | "base-sepolia" | "gnosis" | "optimism" | "polygon" | "polygon-amoy" | "starknet" | "zksync" | "linea" | "unichain" | "monad-testnet" | "monad" | "robinhood-testnet" | "avalanche-c" | "avalanche-c-atomic" | "avalanche-p" | "binance" | "celo" | "fantom" | "harmony" | "moonriver" | "okc" | "viction" | "core" | "sonic" | "plasma" | "katana" | "hyperevm" | "tempo" | "agoric" | "akash" | "axelar" | "band-protocol" | "bitsong" | "canto" | "chihuahua" | "comdex" | "coreum" | "cosmos" | "crescent" | "cronos" | "cudos" | "desmos" | "dydx" | "evmos" | "fetch-ai" | "gravity-bridge" | "injective" | "irisnet" | "juno" | "kava" | "ki-network" | "mars-protocol" | "nym" | "okex-chain" | "onomy" | "osmosis" | "persistence" | "quicksilver" | "regen" | "secret" | "sentinel" | "sommelier" | "stafi" | "stargaze" | "stride" | "teritori" | "tgrade" | "umee" | "sei" | "mantra" | "celestia" | "saga" | "zetachain" | "dymension" | "humansai" | "neutron" | "polkadot" | "kusama" | "westend" | "bittensor" | "aptos" | "binancebeacon" | "cardano" | "near" | "solana" | "solana-devnet" | "stellar" | "stellar-testnet" | "sui" | "tezos" | "tron" | "ton" | "ton-testnet" | "hyperliquid";
|
|
108
108
|
readonly status: "NOT_FOUND" | "CREATED" | "BLOCKED" | "WAITING_FOR_SIGNATURE" | "SIGNED" | "BROADCASTED" | "PENDING" | "CONFIRMED" | "FAILED" | "SKIPPED";
|
|
109
|
-
readonly type: "SWAP" | "DEPOSIT" | "APPROVAL" | "STAKE" | "CLAIM_UNSTAKED" | "CLAIM_REWARDS" | "RESTAKE_REWARDS" | "UNSTAKE" | "SPLIT" | "MERGE" | "LOCK" | "UNLOCK" | "SUPPLY" | "ADD_LIQUIDITY" | "REMOVE_LIQUIDITY" | "BRIDGE" | "VOTE" | "REVOKE" | "RESTAKE" | "REBOND" | "WITHDRAW" | "WITHDRAW_ALL" | "CREATE_ACCOUNT" | "REVEAL" | "MIGRATE" | "DELEGATE" | "UNDELEGATE" | "UTXO_P_TO_C_IMPORT" | "UTXO_C_TO_P_IMPORT" | "WRAP" | "UNWRAP" | "UNFREEZE_LEGACY" | "UNFREEZE_LEGACY_BANDWIDTH" | "UNFREEZE_LEGACY_ENERGY" | "UNFREEZE_BANDWIDTH" | "UNFREEZE_ENERGY" | "FREEZE_BANDWIDTH" | "FREEZE_ENERGY" | "UNDELEGATE_BANDWIDTH" | "UNDELEGATE_ENERGY" | "P2P_NODE_REQUEST" | "CREATE_EIGENPOD" | "VERIFY_WITHDRAW_CREDENTIALS" | "START_CHECKPOINT" | "VERIFY_CHECKPOINT_PROOFS" | "QUEUE_WITHDRAWALS" | "COMPLETE_QUEUED_WITHDRAWALS" | "LZ_DEPOSIT" | "LZ_WITHDRAW" | "LUGANODES_PROVISION" | "LUGANODES_EXIT_REQUEST" | "INFSTONES_PROVISION" | "INFSTONES_EXIT_REQUEST" | "INFSTONES_CLAIM_REQUEST" | "BATCH";
|
|
109
|
+
readonly type: "SWAP" | "DEPOSIT" | "APPROVAL" | "STAKE" | "SET_OPERATOR" | "CLAIM_UNSTAKED" | "CLAIM_REWARDS" | "RESTAKE_REWARDS" | "UNSTAKE" | "SPLIT" | "MERGE" | "LOCK" | "UNLOCK" | "SUPPLY" | "ADD_LIQUIDITY" | "REMOVE_LIQUIDITY" | "BRIDGE" | "VOTE" | "REVOKE" | "RESTAKE" | "REBOND" | "WITHDRAW" | "WITHDRAW_ALL" | "CREATE_ACCOUNT" | "REVEAL" | "MIGRATE" | "DELEGATE" | "UNDELEGATE" | "UTXO_P_TO_C_IMPORT" | "UTXO_C_TO_P_IMPORT" | "WRAP" | "UNWRAP" | "UNFREEZE_LEGACY" | "UNFREEZE_LEGACY_BANDWIDTH" | "UNFREEZE_LEGACY_ENERGY" | "UNFREEZE_BANDWIDTH" | "UNFREEZE_ENERGY" | "FREEZE_BANDWIDTH" | "FREEZE_ENERGY" | "UNDELEGATE_BANDWIDTH" | "UNDELEGATE_ENERGY" | "P2P_NODE_REQUEST" | "CREATE_EIGENPOD" | "VERIFY_WITHDRAW_CREDENTIALS" | "START_CHECKPOINT" | "VERIFY_CHECKPOINT_PROOFS" | "QUEUE_WITHDRAWALS" | "COMPLETE_QUEUED_WITHDRAWALS" | "LZ_DEPOSIT" | "LZ_WITHDRAW" | "LUGANODES_PROVISION" | "LUGANODES_EXIT_REQUEST" | "INFSTONES_PROVISION" | "INFSTONES_EXIT_REQUEST" | "INFSTONES_CLAIM_REQUEST" | "BATCH";
|
|
110
110
|
readonly hash: string | null;
|
|
111
111
|
readonly createdAt: string;
|
|
112
112
|
readonly broadcastedAt: string | null;
|
|
@@ -153,6 +153,19 @@ export type CampaignStatus = "draft" | "active" | "paused" | "ended";
|
|
|
153
153
|
export type CampaignRewardMode = "normal" | "compound";
|
|
154
154
|
export type CampaignQualificationType = "min_token_amount";
|
|
155
155
|
export type CampaignPayoutFrequency = "weekly" | "daily" | "six_hourly" | "end_of_campaign";
|
|
156
|
+
export type TokenWithAvailableYieldsDto = {
|
|
157
|
+
readonly token: {
|
|
158
|
+
readonly symbol: string;
|
|
159
|
+
readonly name: string;
|
|
160
|
+
readonly decimals: number;
|
|
161
|
+
readonly network: "ethereum" | "ethereum-goerli" | "ethereum-holesky" | "ethereum-sepolia" | "ethereum-hoodi" | "arbitrum" | "base" | "base-sepolia" | "gnosis" | "optimism" | "polygon" | "polygon-amoy" | "starknet" | "zksync" | "linea" | "unichain" | "monad-testnet" | "monad" | "robinhood-testnet" | "avalanche-c" | "avalanche-c-atomic" | "avalanche-p" | "binance" | "celo" | "fantom" | "harmony" | "moonriver" | "okc" | "viction" | "core" | "sonic" | "plasma" | "katana" | "hyperevm" | "tempo" | "agoric" | "akash" | "axelar" | "band-protocol" | "bitsong" | "canto" | "chihuahua" | "comdex" | "coreum" | "cosmos" | "crescent" | "cronos" | "cudos" | "desmos" | "dydx" | "evmos" | "fetch-ai" | "gravity-bridge" | "injective" | "irisnet" | "juno" | "kava" | "ki-network" | "mars-protocol" | "nym" | "okex-chain" | "onomy" | "osmosis" | "persistence" | "quicksilver" | "regen" | "secret" | "sentinel" | "sommelier" | "stafi" | "stargaze" | "stride" | "teritori" | "tgrade" | "umee" | "sei" | "mantra" | "celestia" | "saga" | "zetachain" | "dymension" | "humansai" | "neutron" | "polkadot" | "kusama" | "westend" | "bittensor" | "aptos" | "binancebeacon" | "cardano" | "near" | "solana" | "solana-devnet" | "stellar" | "stellar-testnet" | "sui" | "tezos" | "tron" | "ton" | "ton-testnet" | "hyperliquid";
|
|
162
|
+
readonly address?: string;
|
|
163
|
+
readonly logoURI?: string;
|
|
164
|
+
readonly isPoints?: boolean;
|
|
165
|
+
readonly coinGeckoId?: string;
|
|
166
|
+
};
|
|
167
|
+
readonly availableYields: ReadonlyArray<string>;
|
|
168
|
+
};
|
|
156
169
|
export type CreateActionDto = {
|
|
157
170
|
readonly yieldId: string;
|
|
158
171
|
readonly address: string;
|
|
@@ -178,6 +191,7 @@ export type CreateActionDto = {
|
|
|
178
191
|
readonly ledgerWalletApiCompatible?: boolean;
|
|
179
192
|
readonly useMaxAmount?: boolean;
|
|
180
193
|
readonly useInstantExecution?: boolean;
|
|
194
|
+
readonly useAutoClaim?: boolean;
|
|
181
195
|
readonly skipPrechecks?: boolean;
|
|
182
196
|
readonly useMaxAllowance?: boolean;
|
|
183
197
|
readonly feePayerAddress?: string;
|
|
@@ -213,6 +227,7 @@ export type CreateManageActionDto = {
|
|
|
213
227
|
readonly ledgerWalletApiCompatible?: boolean;
|
|
214
228
|
readonly useMaxAmount?: boolean;
|
|
215
229
|
readonly useInstantExecution?: boolean;
|
|
230
|
+
readonly useAutoClaim?: boolean;
|
|
216
231
|
readonly skipPrechecks?: boolean;
|
|
217
232
|
readonly useMaxAllowance?: boolean;
|
|
218
233
|
readonly feePayerAddress?: string;
|
|
@@ -222,7 +237,7 @@ export type CreateManageActionDto = {
|
|
|
222
237
|
readonly percentage?: number;
|
|
223
238
|
readonly tokenId?: string;
|
|
224
239
|
};
|
|
225
|
-
readonly action: "STAKE" | "UNSTAKE" | "CLAIM_REWARDS" | "AUTO_SWEEP_UNSTAKE_REWARDS" | "AUTO_SWEEP_WITHDRAW_REWARDS" | "RESTAKE_REWARDS" | "WITHDRAW" | "WITHDRAW_ALL" | "RESTAKE" | "CLAIM_UNSTAKED" | "UNLOCK_LOCKED" | "STAKE_LOCKED" | "VOTE" | "REVOKE" | "VOTE_LOCKED" | "REVOTE" | "REBOND" | "MIGRATE" | "VERIFY_WITHDRAW_CREDENTIALS" | "DELEGATE";
|
|
240
|
+
readonly action: "STAKE" | "UNSTAKE" | "WITHDRAW_REQUEST" | "INSTANT_WITHDRAW" | "CLAIM_REWARDS" | "AUTO_SWEEP_UNSTAKE_REWARDS" | "AUTO_SWEEP_WITHDRAW_REWARDS" | "RESTAKE_REWARDS" | "WITHDRAW" | "WITHDRAW_ALL" | "RESTAKE" | "CLAIM_UNSTAKED" | "UNLOCK_LOCKED" | "STAKE_LOCKED" | "VOTE" | "REVOKE" | "VOTE_LOCKED" | "REVOTE" | "REBOND" | "MIGRATE" | "VERIFY_WITHDRAW_CREDENTIALS" | "DELEGATE";
|
|
226
241
|
readonly passthrough: string;
|
|
227
242
|
};
|
|
228
243
|
export type SubmitHashDto = {
|
|
@@ -233,7 +248,7 @@ export type SubmitTransactionDto = {
|
|
|
233
248
|
};
|
|
234
249
|
export type KycStatusResponseDto = {
|
|
235
250
|
readonly kycStatus: "not_required" | "not_started" | "pending" | "approved" | "rejected";
|
|
236
|
-
readonly
|
|
251
|
+
readonly authorizeUrl?: string;
|
|
237
252
|
};
|
|
238
253
|
export type NetworkDto = {
|
|
239
254
|
readonly id: "ethereum" | "ethereum-goerli" | "ethereum-holesky" | "ethereum-sepolia" | "ethereum-hoodi" | "arbitrum" | "base" | "base-sepolia" | "gnosis" | "optimism" | "polygon" | "polygon-amoy" | "starknet" | "zksync" | "linea" | "unichain" | "monad-testnet" | "monad" | "robinhood-testnet" | "avalanche-c" | "avalanche-c-atomic" | "avalanche-p" | "binance" | "celo" | "fantom" | "harmony" | "moonriver" | "okc" | "viction" | "core" | "sonic" | "plasma" | "katana" | "hyperevm" | "tempo" | "agoric" | "akash" | "axelar" | "band-protocol" | "bitsong" | "canto" | "chihuahua" | "comdex" | "coreum" | "cosmos" | "crescent" | "cronos" | "cudos" | "desmos" | "dydx" | "evmos" | "fetch-ai" | "gravity-bridge" | "injective" | "irisnet" | "juno" | "kava" | "ki-network" | "mars-protocol" | "nym" | "okex-chain" | "onomy" | "osmosis" | "persistence" | "quicksilver" | "regen" | "secret" | "sentinel" | "sommelier" | "stafi" | "stargaze" | "stride" | "teritori" | "tgrade" | "umee" | "sei" | "mantra" | "celestia" | "saga" | "zetachain" | "dymension" | "humansai" | "neutron" | "polkadot" | "kusama" | "westend" | "bittensor" | "aptos" | "binancebeacon" | "cardano" | "near" | "solana" | "solana-devnet" | "stellar" | "stellar-testnet" | "sui" | "tezos" | "tron" | "ton" | "ton-testnet" | "hyperliquid";
|
|
@@ -314,13 +329,22 @@ export type ValidatorDto = {
|
|
|
314
329
|
readonly pricePerShare?: string;
|
|
315
330
|
};
|
|
316
331
|
};
|
|
332
|
+
export type KycEligibilityDto = {
|
|
333
|
+
readonly defaultPolicy: "deny" | "allow";
|
|
334
|
+
readonly countries: ReadonlyArray<string>;
|
|
335
|
+
readonly blockedCountries: ReadonlyArray<string>;
|
|
336
|
+
readonly blockedSubdivisions: ReadonlyArray<string>;
|
|
337
|
+
readonly usPersonAllowed: boolean;
|
|
338
|
+
readonly investorEligibility: ReadonlyArray<InvestorEligibilityEntryDto>;
|
|
339
|
+
readonly subjectTypes: ReadonlyArray<"KYC" | "KYB">;
|
|
340
|
+
};
|
|
317
341
|
export type ArgumentSchemaDto = {
|
|
318
342
|
readonly fields: ReadonlyArray<ArgumentFieldDto>;
|
|
319
343
|
readonly notes?: string;
|
|
320
344
|
};
|
|
321
345
|
export type PendingActionDto = {
|
|
322
346
|
readonly intent: "enter" | "manage" | "exit";
|
|
323
|
-
readonly type: "STAKE" | "UNSTAKE" | "CLAIM_REWARDS" | "AUTO_SWEEP_UNSTAKE_REWARDS" | "AUTO_SWEEP_WITHDRAW_REWARDS" | "RESTAKE_REWARDS" | "WITHDRAW" | "WITHDRAW_ALL" | "RESTAKE" | "CLAIM_UNSTAKED" | "UNLOCK_LOCKED" | "STAKE_LOCKED" | "VOTE" | "REVOKE" | "VOTE_LOCKED" | "REVOTE" | "REBOND" | "MIGRATE" | "VERIFY_WITHDRAW_CREDENTIALS" | "DELEGATE";
|
|
347
|
+
readonly type: "STAKE" | "UNSTAKE" | "WITHDRAW_REQUEST" | "INSTANT_WITHDRAW" | "CLAIM_REWARDS" | "AUTO_SWEEP_UNSTAKE_REWARDS" | "AUTO_SWEEP_WITHDRAW_REWARDS" | "RESTAKE_REWARDS" | "WITHDRAW" | "WITHDRAW_ALL" | "RESTAKE" | "CLAIM_UNSTAKED" | "UNLOCK_LOCKED" | "STAKE_LOCKED" | "VOTE" | "REVOKE" | "VOTE_LOCKED" | "REVOTE" | "REBOND" | "MIGRATE" | "VERIFY_WITHDRAW_CREDENTIALS" | "DELEGATE";
|
|
324
348
|
readonly passthrough: string;
|
|
325
349
|
readonly arguments?: {
|
|
326
350
|
readonly fields: ReadonlyArray<ArgumentFieldDto>;
|
|
@@ -334,7 +358,7 @@ export type BalancesRequestDto = {
|
|
|
334
358
|
export type ActionDto = {
|
|
335
359
|
readonly id: string;
|
|
336
360
|
readonly intent: "enter" | "manage" | "exit";
|
|
337
|
-
readonly type: "STAKE" | "UNSTAKE" | "CLAIM_REWARDS" | "AUTO_SWEEP_UNSTAKE_REWARDS" | "AUTO_SWEEP_WITHDRAW_REWARDS" | "RESTAKE_REWARDS" | "WITHDRAW" | "WITHDRAW_ALL" | "RESTAKE" | "CLAIM_UNSTAKED" | "UNLOCK_LOCKED" | "STAKE_LOCKED" | "VOTE" | "REVOKE" | "VOTE_LOCKED" | "REVOTE" | "REBOND" | "MIGRATE" | "VERIFY_WITHDRAW_CREDENTIALS" | "DELEGATE";
|
|
361
|
+
readonly type: "STAKE" | "UNSTAKE" | "WITHDRAW_REQUEST" | "INSTANT_WITHDRAW" | "CLAIM_REWARDS" | "AUTO_SWEEP_UNSTAKE_REWARDS" | "AUTO_SWEEP_WITHDRAW_REWARDS" | "RESTAKE_REWARDS" | "WITHDRAW" | "WITHDRAW_ALL" | "RESTAKE" | "CLAIM_UNSTAKED" | "UNLOCK_LOCKED" | "STAKE_LOCKED" | "VOTE" | "REVOKE" | "VOTE_LOCKED" | "REVOTE" | "REBOND" | "MIGRATE" | "VERIFY_WITHDRAW_CREDENTIALS" | "DELEGATE";
|
|
338
362
|
readonly yieldId: string;
|
|
339
363
|
readonly address: string;
|
|
340
364
|
readonly amount: string | null;
|
|
@@ -364,6 +388,7 @@ export type ActionDto = {
|
|
|
364
388
|
readonly ledgerWalletApiCompatible?: boolean;
|
|
365
389
|
readonly useMaxAmount?: boolean;
|
|
366
390
|
readonly useInstantExecution?: boolean;
|
|
391
|
+
readonly useAutoClaim?: boolean;
|
|
367
392
|
readonly skipPrechecks?: boolean;
|
|
368
393
|
readonly useMaxAllowance?: boolean;
|
|
369
394
|
readonly feePayerAddress?: string;
|
|
@@ -531,16 +556,17 @@ export type YieldDto = {
|
|
|
531
556
|
readonly entryLimits?: {
|
|
532
557
|
readonly minimum: string | null;
|
|
533
558
|
readonly maximum: string | null;
|
|
559
|
+
readonly subsequentMinimum: string | null;
|
|
534
560
|
};
|
|
535
561
|
readonly requirements?: {
|
|
536
562
|
readonly kycRequired: boolean;
|
|
537
|
-
readonly kycUrl?: string;
|
|
538
563
|
readonly kyc?: {
|
|
539
|
-
readonly kycMode: "oauth_redirect";
|
|
564
|
+
readonly kycMode: "none" | "oauth_redirect" | "external_redirect" | "iframe" | "deeplink" | "native_sdk";
|
|
540
565
|
readonly iframeAllowed: boolean;
|
|
541
566
|
readonly authorizeUrl?: string;
|
|
542
567
|
readonly notes?: string;
|
|
543
|
-
readonly eligibility
|
|
568
|
+
readonly eligibility: KycEligibilityDto;
|
|
569
|
+
readonly mandatoryDisclosureUrl?: string;
|
|
544
570
|
};
|
|
545
571
|
};
|
|
546
572
|
readonly supportsLedgerWalletApi?: boolean;
|
|
@@ -564,6 +590,7 @@ export type YieldDto = {
|
|
|
564
590
|
};
|
|
565
591
|
};
|
|
566
592
|
readonly providerId: string;
|
|
593
|
+
readonly prime: boolean;
|
|
567
594
|
readonly curator?: {
|
|
568
595
|
readonly name?: {} | null;
|
|
569
596
|
readonly description?: {} | null;
|
|
@@ -995,6 +1022,7 @@ export type YieldsControllerGetYieldsParams = {
|
|
|
995
1022
|
readonly provider?: string;
|
|
996
1023
|
readonly providers?: ReadonlyArray<string>;
|
|
997
1024
|
readonly search?: string;
|
|
1025
|
+
readonly prime?: boolean;
|
|
998
1026
|
readonly sort?: "statusEnterAsc" | "statusEnterDesc" | "statusExitAsc" | "statusExitDesc" | "rewardRateAsc" | "rewardRateDesc";
|
|
999
1027
|
};
|
|
1000
1028
|
export type YieldsControllerGetYields200 = {
|
|
@@ -1310,6 +1338,39 @@ export type YieldsControllerGetYieldCampaigns500 = {
|
|
|
1310
1338
|
readonly error?: string;
|
|
1311
1339
|
readonly statusCode?: number;
|
|
1312
1340
|
};
|
|
1341
|
+
export type TokensControllerGetTokensParams = {
|
|
1342
|
+
readonly networks?: ReadonlyArray<"ethereum" | "ethereum-goerli" | "ethereum-holesky" | "ethereum-sepolia" | "ethereum-hoodi" | "arbitrum" | "base" | "base-sepolia" | "gnosis" | "optimism" | "polygon" | "polygon-amoy" | "starknet" | "zksync" | "linea" | "unichain" | "monad-testnet" | "monad" | "robinhood-testnet" | "avalanche-c" | "avalanche-c-atomic" | "avalanche-p" | "binance" | "celo" | "fantom" | "harmony" | "moonriver" | "okc" | "viction" | "core" | "sonic" | "plasma" | "katana" | "hyperevm" | "tempo" | "agoric" | "akash" | "axelar" | "band-protocol" | "bitsong" | "canto" | "chihuahua" | "comdex" | "coreum" | "cosmos" | "crescent" | "cronos" | "cudos" | "desmos" | "dydx" | "evmos" | "fetch-ai" | "gravity-bridge" | "injective" | "irisnet" | "juno" | "kava" | "ki-network" | "mars-protocol" | "nym" | "okex-chain" | "onomy" | "osmosis" | "persistence" | "quicksilver" | "regen" | "secret" | "sentinel" | "sommelier" | "stafi" | "stargaze" | "stride" | "teritori" | "tgrade" | "umee" | "sei" | "mantra" | "celestia" | "saga" | "zetachain" | "dymension" | "humansai" | "neutron" | "polkadot" | "kusama" | "westend" | "bittensor" | "aptos" | "binancebeacon" | "cardano" | "near" | "solana" | "solana-devnet" | "stellar" | "stellar-testnet" | "sui" | "tezos" | "tron" | "ton" | "ton-testnet" | "hyperliquid">;
|
|
1343
|
+
readonly yieldTypes?: ReadonlyArray<"staking" | "restaking" | "lending" | "vault" | "fixed_yield" | "real_world_asset" | "concentrated_liquidity_pool" | "liquidity_pool">;
|
|
1344
|
+
readonly offset?: number;
|
|
1345
|
+
readonly limit?: number;
|
|
1346
|
+
};
|
|
1347
|
+
export type TokensControllerGetTokens200 = {
|
|
1348
|
+
readonly total: number;
|
|
1349
|
+
readonly offset: number;
|
|
1350
|
+
readonly limit: number;
|
|
1351
|
+
readonly items?: ReadonlyArray<TokenWithAvailableYieldsDto>;
|
|
1352
|
+
};
|
|
1353
|
+
export type TokensControllerGetTokens400 = {
|
|
1354
|
+
readonly message?: string;
|
|
1355
|
+
readonly error?: string;
|
|
1356
|
+
readonly statusCode?: number;
|
|
1357
|
+
};
|
|
1358
|
+
export type TokensControllerGetTokens401 = {
|
|
1359
|
+
readonly message?: string;
|
|
1360
|
+
readonly error?: string;
|
|
1361
|
+
readonly statusCode?: number;
|
|
1362
|
+
};
|
|
1363
|
+
export type TokensControllerGetTokens429 = {
|
|
1364
|
+
readonly message?: string;
|
|
1365
|
+
readonly error?: string;
|
|
1366
|
+
readonly statusCode?: number;
|
|
1367
|
+
readonly retryAfter?: number;
|
|
1368
|
+
};
|
|
1369
|
+
export type TokensControllerGetTokens500 = {
|
|
1370
|
+
readonly message?: string;
|
|
1371
|
+
readonly error?: string;
|
|
1372
|
+
readonly statusCode?: number;
|
|
1373
|
+
};
|
|
1313
1374
|
export type ActionsControllerGetActionsParams = {
|
|
1314
1375
|
readonly offset?: number;
|
|
1315
1376
|
readonly limit?: number;
|
|
@@ -1317,8 +1378,9 @@ export type ActionsControllerGetActionsParams = {
|
|
|
1317
1378
|
readonly status?: "CANCELED" | "CREATED" | "WAITING_FOR_NEXT" | "PROCESSING" | "FAILED" | "SUCCESS" | "STALE";
|
|
1318
1379
|
readonly statuses?: ReadonlyArray<"CANCELED" | "CREATED" | "WAITING_FOR_NEXT" | "PROCESSING" | "FAILED" | "SUCCESS" | "STALE">;
|
|
1319
1380
|
readonly intent?: "enter" | "exit" | "manage";
|
|
1320
|
-
readonly type?: "STAKE" | "UNSTAKE" | "CLAIM_REWARDS" | "AUTO_SWEEP_UNSTAKE_REWARDS" | "AUTO_SWEEP_WITHDRAW_REWARDS" | "RESTAKE_REWARDS" | "WITHDRAW" | "WITHDRAW_ALL" | "RESTAKE" | "CLAIM_UNSTAKED" | "UNLOCK_LOCKED" | "STAKE_LOCKED" | "VOTE" | "REVOKE" | "VOTE_LOCKED" | "REVOTE" | "REBOND" | "MIGRATE" | "VERIFY_WITHDRAW_CREDENTIALS" | "DELEGATE";
|
|
1381
|
+
readonly type?: "STAKE" | "UNSTAKE" | "WITHDRAW_REQUEST" | "INSTANT_WITHDRAW" | "CLAIM_REWARDS" | "AUTO_SWEEP_UNSTAKE_REWARDS" | "AUTO_SWEEP_WITHDRAW_REWARDS" | "RESTAKE_REWARDS" | "WITHDRAW" | "WITHDRAW_ALL" | "RESTAKE" | "CLAIM_UNSTAKED" | "UNLOCK_LOCKED" | "STAKE_LOCKED" | "VOTE" | "REVOKE" | "VOTE_LOCKED" | "REVOTE" | "REBOND" | "MIGRATE" | "VERIFY_WITHDRAW_CREDENTIALS" | "DELEGATE";
|
|
1321
1382
|
readonly yieldId?: string;
|
|
1383
|
+
readonly yieldTypes?: ReadonlyArray<"staking" | "restaking" | "lending" | "vault" | "fixed_yield" | "real_world_asset" | "concentrated_liquidity_pool" | "liquidity_pool">;
|
|
1322
1384
|
readonly network?: "ethereum" | "ethereum-goerli" | "ethereum-holesky" | "ethereum-sepolia" | "ethereum-hoodi" | "arbitrum" | "base" | "base-sepolia" | "gnosis" | "optimism" | "polygon" | "polygon-amoy" | "starknet" | "zksync" | "linea" | "unichain" | "monad-testnet" | "monad" | "robinhood-testnet" | "avalanche-c" | "avalanche-c-atomic" | "avalanche-p" | "binance" | "celo" | "fantom" | "harmony" | "moonriver" | "okc" | "viction" | "core" | "sonic" | "plasma" | "katana" | "hyperevm" | "tempo" | "agoric" | "akash" | "axelar" | "band-protocol" | "bitsong" | "canto" | "chihuahua" | "comdex" | "coreum" | "cosmos" | "crescent" | "cronos" | "cudos" | "desmos" | "dydx" | "evmos" | "fetch-ai" | "gravity-bridge" | "injective" | "irisnet" | "juno" | "kava" | "ki-network" | "mars-protocol" | "nym" | "okex-chain" | "onomy" | "osmosis" | "persistence" | "quicksilver" | "regen" | "secret" | "sentinel" | "sommelier" | "stafi" | "stargaze" | "stride" | "teritori" | "tgrade" | "umee" | "sei" | "mantra" | "celestia" | "saga" | "zetachain" | "dymension" | "humansai" | "neutron" | "polkadot" | "kusama" | "westend" | "bittensor" | "aptos" | "binancebeacon" | "cardano" | "near" | "solana" | "solana-devnet" | "stellar" | "stellar-testnet" | "sui" | "tezos" | "tron" | "ton" | "ton-testnet" | "hyperliquid";
|
|
1323
1385
|
};
|
|
1324
1386
|
export type ActionsControllerGetActions200 = {
|
|
@@ -1703,6 +1765,13 @@ export interface YieldApi {
|
|
|
1703
1765
|
readonly params?: YieldsControllerGetYieldCampaignsParams | undefined;
|
|
1704
1766
|
readonly config?: Config | undefined;
|
|
1705
1767
|
} | undefined) => Effect.Effect<WithOptionalResponse<YieldsControllerGetYieldCampaigns200, Config>, HttpClientError.HttpClientError | YieldApiError<"YieldsControllerGetYieldCampaigns400", YieldsControllerGetYieldCampaigns400> | YieldApiError<"YieldsControllerGetYieldCampaigns401", YieldsControllerGetYieldCampaigns401> | YieldApiError<"YieldsControllerGetYieldCampaigns429", YieldsControllerGetYieldCampaigns429> | YieldApiError<"YieldsControllerGetYieldCampaigns500", YieldsControllerGetYieldCampaigns500>>;
|
|
1768
|
+
/**
|
|
1769
|
+
* Retrieve tokens that have at least one enabled yield available for this project. Optionally filter by one or more networks and yield types. Returns the full list by default; callers should respect `total` and use `offset`/`limit`, as a default page size may be introduced in future.
|
|
1770
|
+
*/
|
|
1771
|
+
readonly TokensControllerGetTokens: <Config extends OperationConfig>(options: {
|
|
1772
|
+
readonly params?: TokensControllerGetTokensParams | undefined;
|
|
1773
|
+
readonly config?: Config | undefined;
|
|
1774
|
+
} | undefined) => Effect.Effect<WithOptionalResponse<TokensControllerGetTokens200, Config>, HttpClientError.HttpClientError | YieldApiError<"TokensControllerGetTokens400", TokensControllerGetTokens400> | YieldApiError<"TokensControllerGetTokens401", TokensControllerGetTokens401> | YieldApiError<"TokensControllerGetTokens429", TokensControllerGetTokens429> | YieldApiError<"TokensControllerGetTokens500", TokensControllerGetTokens500>>;
|
|
1706
1775
|
/**
|
|
1707
1776
|
* Retrieve all actions performed by a user, with optional filtering by yield, status, category, etc. In the future, this may include personalized action recommendations.
|
|
1708
1777
|
*/
|
|
@@ -1765,7 +1834,7 @@ export interface YieldApi {
|
|
|
1765
1834
|
readonly config?: Config | undefined;
|
|
1766
1835
|
}) => Effect.Effect<WithOptionalResponse<KycControllerGetStatus200, Config>, HttpClientError.HttpClientError | YieldApiError<"KycControllerGetStatus401", KycControllerGetStatus401> | YieldApiError<"KycControllerGetStatus429", KycControllerGetStatus429>>;
|
|
1767
1836
|
/**
|
|
1768
|
-
* Retrieve
|
|
1837
|
+
* Retrieve networks with enabled yield opportunities for the authenticated project.
|
|
1769
1838
|
*/
|
|
1770
1839
|
readonly NetworksControllerGetNetworks: <Config extends OperationConfig>(options: {
|
|
1771
1840
|
readonly config?: Config | undefined;
|