@reserve-protocol/react-sdk 0.1.1 → 0.1.2

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/index.d.mts CHANGED
@@ -121,6 +121,8 @@ declare function normalizeQueryKeyValue(value: unknown): unknown;
121
121
  //#region src/query-keys.d.ts
122
122
  type IndexMethod$2<TKey extends keyof DtfSdk["index"]> = DtfSdk["index"][TKey] extends ((...args: any) => any) ? DtfSdk["index"][TKey] : never;
123
123
  type IndexMethodParams<TKey extends keyof DtfSdk["index"]> = Parameters<IndexMethod$2<TKey>>[0];
124
+ type PortfolioMethod$2<TKey extends keyof DtfSdk["portfolio"]> = DtfSdk["portfolio"][TKey] extends ((...args: any) => any) ? DtfSdk["portfolio"][TKey] : never;
125
+ type PortfolioMethodParams<TKey extends keyof DtfSdk["portfolio"]> = Parameters<PortfolioMethod$2<TKey>>[0];
124
126
  type PastOptimisticVotesQueryKeyParams = Omit<IndexMethodParams<"getPastOptimisticVotes">, "timepoint"> & {
125
127
  readonly timepoint: bigint;
126
128
  };
@@ -137,6 +139,20 @@ declare const dtfQueryKeys: {
137
139
  readonly brand: (params?: DtfParams) => readonly ["dtf", "index", "brand", unknown];
138
140
  readonly price: (params?: GetIndexDtfPriceParams) => readonly ["dtf", "index", "price", unknown];
139
141
  readonly priceHistory: (params?: GetIndexDtfPriceHistoryParams) => readonly ["dtf", "index", "price-history", unknown];
142
+ readonly status: (params?: IndexMethodParams<"getStatus">) => readonly ["dtf", "index", "status", unknown];
143
+ readonly exposure: (params?: IndexMethodParams<"getExposure">) => readonly ["dtf", "index", "exposure", unknown];
144
+ readonly transactions: (params?: IndexMethodParams<"getTransactions">) => readonly ["dtf", "index", "transactions", unknown];
145
+ readonly revenue: (params?: IndexMethodParams<"getRevenue">) => readonly ["dtf", "index", "revenue", unknown];
146
+ readonly platformFee: (params?: IndexMethodParams<"getPlatformFee">) => readonly ["dtf", "index", "platform-fee", unknown];
147
+ readonly pendingFeeShares: (params?: IndexMethodParams<"getPendingFeeShares">) => readonly ["dtf", "index", "pending-fee-shares", unknown];
148
+ readonly approvedRevenueTokens: (params?: IndexMethodParams<"getApprovedRevenueTokens">) => readonly ["dtf", "index", "approved-revenue-tokens", unknown];
149
+ readonly issuanceState: (params?: IndexMethodParams<"getIssuanceState">) => readonly ["dtf", "index", "issuance-state", unknown];
150
+ readonly rebalances: (params?: IndexMethodParams<"getRebalances">) => readonly ["dtf", "index", "rebalances", unknown];
151
+ readonly currentRebalance: (params?: IndexMethodParams<"getCurrentRebalance">) => readonly ["dtf", "index", "current-rebalance", unknown];
152
+ readonly rebalanceAuctions: (params?: IndexMethodParams<"getRebalanceAuctions">) => readonly ["dtf", "index", "rebalance-auctions", unknown];
153
+ readonly completedRebalance: (params?: IndexMethodParams<"getCompletedRebalance">) => readonly ["dtf", "index", "completed-rebalance", unknown];
154
+ readonly completedRebalances: (params?: IndexMethodParams<"getCompletedRebalances">) => readonly ["dtf", "index", "completed-rebalances", unknown];
155
+ readonly voteLockState: (params?: IndexMethodParams<"getVoteLockState">) => readonly ["dtf", "index", "vote-lock-state", unknown];
140
156
  readonly governance: {
141
157
  readonly all: () => readonly ["dtf", "index", "governance"];
142
158
  readonly proposalList: (params?: GetIndexDtfProposalsParams) => readonly ["dtf", "index", "governance", "proposal-list", unknown];
@@ -166,6 +182,12 @@ declare const dtfQueryKeys: {
166
182
  readonly optimisticProposalVoterState: (params?: GetIndexDtfOptimisticProposalVoterStateParams) => readonly ["dtf", "index", "governance", "optimistic-proposal-voter-state", unknown];
167
183
  };
168
184
  };
185
+ readonly portfolio: {
186
+ readonly all: () => readonly ["dtf", "portfolio"];
187
+ readonly account: (params?: PortfolioMethodParams<"get">) => readonly ["dtf", "portfolio", "account", unknown];
188
+ readonly history: (params?: PortfolioMethodParams<"getHistory">) => readonly ["dtf", "portfolio", "history", unknown];
189
+ readonly transactions: (params?: PortfolioMethodParams<"getTransactions">) => readonly ["dtf", "portfolio", "transactions", unknown];
190
+ };
169
191
  };
170
192
  //#endregion
171
193
  //#region src/index-dtf/use-index-dtf-delegates.d.ts
@@ -318,6 +340,18 @@ declare function indexDtfRebalancesQueryOptions<TData = MethodResult$1<IndexMeth
318
340
  declare function indexDtfCurrentRebalanceQueryOptions<TData = MethodResult$1<IndexMethod$1<"getCurrentRebalance">>>(sdk: DtfSdk, params: MethodParams$1<IndexMethod$1<"getCurrentRebalance">> | undefined, options?: DtfQueryOptions<MethodResult$1<IndexMethod$1<"getCurrentRebalance">>, TData>): DtfQueryOptionsResult<_$_reserve_protocol_sdk0.IndexDtfCurrentRebalanceState, TData>;
319
341
  declare function indexDtfVoteLockStateQueryOptions<TData = MethodResult$1<IndexMethod$1<"getVoteLockState">>>(sdk: DtfSdk, params: MethodParams$1<IndexMethod$1<"getVoteLockState">> | undefined, options?: DtfQueryOptions<MethodResult$1<IndexMethod$1<"getVoteLockState">>, TData>): DtfQueryOptionsResult<_$_reserve_protocol_sdk0.VoteLockState, TData>;
320
342
  declare function accountPortfolioQueryOptions<TData = MethodResult$1<PortfolioMethod$1<"get">>>(sdk: DtfSdk, params: MethodParams$1<PortfolioMethod$1<"get">> | undefined, options?: DtfQueryOptions<MethodResult$1<PortfolioMethod$1<"get">>, TData>): DtfQueryOptionsResult<_$_reserve_protocol_sdk0.AccountPortfolio, TData>;
343
+ declare function indexDtfPlatformFeeQueryOptions<TData = MethodResult$1<IndexMethod$1<"getPlatformFee">>>(sdk: DtfSdk, params: MethodParams$1<IndexMethod$1<"getPlatformFee">> | undefined, options?: DtfQueryOptions<MethodResult$1<IndexMethod$1<"getPlatformFee">>, TData>): DtfQueryOptionsResult<_$_reserve_protocol_sdk0.IndexDtfPlatformFee, TData>;
344
+ declare function indexDtfPendingFeeSharesQueryOptions<TData = MethodResult$1<IndexMethod$1<"getPendingFeeShares">>>(sdk: DtfSdk, params: MethodParams$1<IndexMethod$1<"getPendingFeeShares">> | undefined, options?: DtfQueryOptions<MethodResult$1<IndexMethod$1<"getPendingFeeShares">>, TData>): DtfQueryOptionsResult<_$_reserve_protocol_sdk0.Amount, TData>;
345
+ declare function indexDtfApprovedRevenueTokensQueryOptions<TData = MethodResult$1<IndexMethod$1<"getApprovedRevenueTokens">>>(sdk: DtfSdk, params: MethodParams$1<IndexMethod$1<"getApprovedRevenueTokens">> | undefined, options?: DtfQueryOptions<MethodResult$1<IndexMethod$1<"getApprovedRevenueTokens">>, TData>): DtfQueryOptionsResult<readonly _$_reserve_protocol_sdk0.Token[], TData>;
346
+ declare function indexDtfRebalanceAuctionsQueryOptions<TData = MethodResult$1<IndexMethod$1<"getRebalanceAuctions">>>(sdk: DtfSdk, params: MethodParams$1<IndexMethod$1<"getRebalanceAuctions">> | undefined, options?: DtfQueryOptions<MethodResult$1<IndexMethod$1<"getRebalanceAuctions">>, TData>): DtfQueryOptionsResult<readonly _$_reserve_protocol_sdk0.IndexDtfAuction[], TData>;
347
+ declare function indexDtfCompletedRebalanceQueryOptions<TData = MethodResult$1<IndexMethod$1<"getCompletedRebalance">>>(sdk: DtfSdk, params: MethodParams$1<IndexMethod$1<"getCompletedRebalance">> | undefined, options?: DtfQueryOptions<MethodResult$1<IndexMethod$1<"getCompletedRebalance">>, TData>): DtfQueryOptionsResult<_$_reserve_protocol_sdk0.IndexDtfCompletedRebalance & {
348
+ readonly auctions: readonly _$_reserve_protocol_sdk0.IndexDtfCompletedRebalanceAuction[];
349
+ readonly rebalanceGainLossPercent?: number;
350
+ readonly marketCapAtStart?: number;
351
+ }, TData>;
352
+ declare function indexDtfCompletedRebalancesQueryOptions<TData = MethodResult$1<IndexMethod$1<"getCompletedRebalances">>>(sdk: DtfSdk, params: MethodParams$1<IndexMethod$1<"getCompletedRebalances">> | undefined, options?: DtfQueryOptions<MethodResult$1<IndexMethod$1<"getCompletedRebalances">>, TData>): DtfQueryOptionsResult<readonly _$_reserve_protocol_sdk0.IndexDtfCompletedRebalance[], TData>;
353
+ declare function accountPortfolioHistoryQueryOptions<TData = MethodResult$1<PortfolioMethod$1<"getHistory">>>(sdk: DtfSdk, params: MethodParams$1<PortfolioMethod$1<"getHistory">> | undefined, options?: DtfQueryOptions<MethodResult$1<PortfolioMethod$1<"getHistory">>, TData>): DtfQueryOptionsResult<unknown, TData>;
354
+ declare function accountPortfolioTransactionsQueryOptions<TData = MethodResult$1<PortfolioMethod$1<"getTransactions">>>(sdk: DtfSdk, params: MethodParams$1<PortfolioMethod$1<"getTransactions">> | undefined, options?: DtfQueryOptions<MethodResult$1<PortfolioMethod$1<"getTransactions">>, TData>): DtfQueryOptionsResult<readonly _$_reserve_protocol_sdk0.PortfolioTransaction[], TData>;
321
355
  //#endregion
322
356
  //#region src/index-dtf-extra-hooks.d.ts
323
357
  type IndexMethod<TKey extends keyof DtfSdk["index"]> = DtfSdk["index"][TKey] extends ((...args: any) => any) ? DtfSdk["index"][TKey] : never;
@@ -328,10 +362,18 @@ declare function useIndexDtfStatus<TData = MethodResult<IndexMethod<"getStatus">
328
362
  declare function useIndexDtfExposure<TData = MethodResult<IndexMethod<"getExposure">>>(params: MethodParams<IndexMethod<"getExposure">> | undefined, options?: DtfQueryOptions<MethodResult<IndexMethod<"getExposure">>, TData>): _$_tanstack_react_query0.UseQueryResult<_$_tanstack_react_query0.NoInfer<TData>, Error>;
329
363
  declare function useIndexDtfTransactions<TData = MethodResult<IndexMethod<"getTransactions">>>(params: MethodParams<IndexMethod<"getTransactions">> | undefined, options?: DtfQueryOptions<MethodResult<IndexMethod<"getTransactions">>, TData>): _$_tanstack_react_query0.UseQueryResult<_$_tanstack_react_query0.NoInfer<TData>, Error>;
330
364
  declare function useIndexDtfRevenue<TData = MethodResult<IndexMethod<"getRevenue">>>(params: MethodParams<IndexMethod<"getRevenue">> | undefined, options?: DtfQueryOptions<MethodResult<IndexMethod<"getRevenue">>, TData>): _$_tanstack_react_query0.UseQueryResult<_$_tanstack_react_query0.NoInfer<TData>, Error>;
365
+ declare function useIndexDtfPlatformFee<TData = MethodResult<IndexMethod<"getPlatformFee">>>(params: MethodParams<IndexMethod<"getPlatformFee">> | undefined, options?: DtfQueryOptions<MethodResult<IndexMethod<"getPlatformFee">>, TData>): _$_tanstack_react_query0.UseQueryResult<_$_tanstack_react_query0.NoInfer<TData>, Error>;
366
+ declare function useIndexDtfPendingFeeShares<TData = MethodResult<IndexMethod<"getPendingFeeShares">>>(params: MethodParams<IndexMethod<"getPendingFeeShares">> | undefined, options?: DtfQueryOptions<MethodResult<IndexMethod<"getPendingFeeShares">>, TData>): _$_tanstack_react_query0.UseQueryResult<_$_tanstack_react_query0.NoInfer<TData>, Error>;
367
+ declare function useIndexDtfApprovedRevenueTokens<TData = MethodResult<IndexMethod<"getApprovedRevenueTokens">>>(params: MethodParams<IndexMethod<"getApprovedRevenueTokens">> | undefined, options?: DtfQueryOptions<MethodResult<IndexMethod<"getApprovedRevenueTokens">>, TData>): _$_tanstack_react_query0.UseQueryResult<_$_tanstack_react_query0.NoInfer<TData>, Error>;
331
368
  declare function useIndexDtfIssuanceState<TData = MethodResult<IndexMethod<"getIssuanceState">>>(params: MethodParams<IndexMethod<"getIssuanceState">> | undefined, options?: DtfQueryOptions<MethodResult<IndexMethod<"getIssuanceState">>, TData>): _$_tanstack_react_query0.UseQueryResult<_$_tanstack_react_query0.NoInfer<TData>, Error>;
332
369
  declare function useIndexDtfRebalances<TData = MethodResult<IndexMethod<"getRebalances">>>(params: MethodParams<IndexMethod<"getRebalances">> | undefined, options?: DtfQueryOptions<MethodResult<IndexMethod<"getRebalances">>, TData>): _$_tanstack_react_query0.UseQueryResult<_$_tanstack_react_query0.NoInfer<TData>, Error>;
333
370
  declare function useIndexDtfCurrentRebalance<TData = MethodResult<IndexMethod<"getCurrentRebalance">>>(params: MethodParams<IndexMethod<"getCurrentRebalance">> | undefined, options?: DtfQueryOptions<MethodResult<IndexMethod<"getCurrentRebalance">>, TData>): _$_tanstack_react_query0.UseQueryResult<_$_tanstack_react_query0.NoInfer<TData>, Error>;
371
+ declare function useIndexDtfRebalanceAuctions<TData = MethodResult<IndexMethod<"getRebalanceAuctions">>>(params: MethodParams<IndexMethod<"getRebalanceAuctions">> | undefined, options?: DtfQueryOptions<MethodResult<IndexMethod<"getRebalanceAuctions">>, TData>): _$_tanstack_react_query0.UseQueryResult<_$_tanstack_react_query0.NoInfer<TData>, Error>;
372
+ declare function useIndexDtfCompletedRebalance<TData = MethodResult<IndexMethod<"getCompletedRebalance">>>(params: MethodParams<IndexMethod<"getCompletedRebalance">> | undefined, options?: DtfQueryOptions<MethodResult<IndexMethod<"getCompletedRebalance">>, TData>): _$_tanstack_react_query0.UseQueryResult<_$_tanstack_react_query0.NoInfer<TData>, Error>;
373
+ declare function useIndexDtfCompletedRebalances<TData = MethodResult<IndexMethod<"getCompletedRebalances">>>(params: MethodParams<IndexMethod<"getCompletedRebalances">> | undefined, options?: DtfQueryOptions<MethodResult<IndexMethod<"getCompletedRebalances">>, TData>): _$_tanstack_react_query0.UseQueryResult<_$_tanstack_react_query0.NoInfer<TData>, Error>;
334
374
  declare function useIndexDtfVoteLockState<TData = MethodResult<IndexMethod<"getVoteLockState">>>(params: MethodParams<IndexMethod<"getVoteLockState">> | undefined, options?: DtfQueryOptions<MethodResult<IndexMethod<"getVoteLockState">>, TData>): _$_tanstack_react_query0.UseQueryResult<_$_tanstack_react_query0.NoInfer<TData>, Error>;
335
375
  declare function useAccountPortfolio<TData = MethodResult<PortfolioMethod<"get">>>(params: MethodParams<PortfolioMethod<"get">> | undefined, options?: DtfQueryOptions<MethodResult<PortfolioMethod<"get">>, TData>): _$_tanstack_react_query0.UseQueryResult<_$_tanstack_react_query0.NoInfer<TData>, Error>;
376
+ declare function useAccountPortfolioHistory<TData = MethodResult<PortfolioMethod<"getHistory">>>(params: MethodParams<PortfolioMethod<"getHistory">> | undefined, options?: DtfQueryOptions<MethodResult<PortfolioMethod<"getHistory">>, TData>): _$_tanstack_react_query0.UseQueryResult<_$_tanstack_react_query0.NoInfer<TData>, Error>;
377
+ declare function useAccountPortfolioTransactions<TData = MethodResult<PortfolioMethod<"getTransactions">>>(params: MethodParams<PortfolioMethod<"getTransactions">> | undefined, options?: DtfQueryOptions<MethodResult<PortfolioMethod<"getTransactions">>, TData>): _$_tanstack_react_query0.UseQueryResult<_$_tanstack_react_query0.NoInfer<TData>, Error>;
336
378
  //#endregion
337
- export { type DtfQueryOptions, type DtfQueryOptionsResult, DtfSdkProvider, type DtfSdkProviderProps, type IndexDtfData, type IndexDtfIdentity, type IndexDtfPastOptimisticVotesQueryParams, IndexDtfProvider, type IndexDtfProviderProps, accountPortfolioQueryOptions, buildIndexDtfBasketProposalQueryOptions, buildIndexDtfBasketSettingsProposalQueryOptions, buildIndexDtfDaoSettingsProposalQueryOptions, buildIndexDtfSettingsProposalQueryOptions, discoverDtfsQueryOptions, dtfQueryKeys, fullIndexDtfQueryOptions, indexDtfBasketQueryOptions, indexDtfBrandQueryOptions, indexDtfCurrentRebalanceQueryOptions, indexDtfDelegatesQueryOptions, indexDtfExposureQueryOptions, indexDtfGuardiansQueryOptions, indexDtfIssuanceStateQueryOptions, indexDtfListQueryOptions, indexDtfOptimisticGovernanceQueryOptions, indexDtfOptimisticProposalContextQueryOptions, indexDtfOptimisticProposalVoterStateQueryOptions, indexDtfOptimisticTimelockRolesQueryOptions, indexDtfOptimisticVotesQueryOptions, indexDtfPastOptimisticVotesQueryOptions, indexDtfPriceHistoryQueryOptions, indexDtfPriceQueryOptions, indexDtfProposalDecodeQueryOptions, indexDtfProposalListQueryOptions, indexDtfProposalQueryOptions, indexDtfProposalThrottleChargesQueryOptions, indexDtfProposalVoterStateQueryOptions, indexDtfProposalVotesQueryOptions, indexDtfProposalVotingSnapshotQueryOptions, indexDtfProposalsQueryOptions, indexDtfProposerStateQueryOptions, indexDtfQueryOptions, indexDtfRebalancesQueryOptions, indexDtfRevenueQueryOptions, indexDtfSelectorRegistryAllowedSelectorsQueryOptions, indexDtfSelectorRegistryIsAllowedQueryOptions, indexDtfSelectorRegistryTargetsQueryOptions, indexDtfStatusQueryOptions, indexDtfTransactionsQueryOptions, indexDtfVersionQueryOptions, indexDtfVoteLockStateQueryOptions, indexDtfVoterStateQueryOptions, mapIndexDtfData, normalizeQueryKeyValue, useAccountPortfolio, useBuildIndexDtfBasketProposal, useBuildIndexDtfBasketSettingsProposal, useBuildIndexDtfDaoSettingsProposal, useBuildIndexDtfSettingsProposal, useCurrentIndexDtf, useCurrentIndexDtfBasket, useDiscoverDtfs, useDtfSdk, useFullIndexDtf, useIndexDtf, useIndexDtfBasket, useIndexDtfBrand, useIndexDtfCancelProposalCall, useIndexDtfCurrentRebalance, useIndexDtfDelegates, useIndexDtfExecuteProposalCall, useIndexDtfExposure, useIndexDtfGuardians, useIndexDtfIdentity, useIndexDtfIssuanceState, useIndexDtfList, useIndexDtfOptimisticGovernance, useIndexDtfOptimisticProposalContext, useIndexDtfOptimisticProposalVoterState, useIndexDtfOptimisticTimelockRoles, useIndexDtfOptimisticVotes, useIndexDtfPastOptimisticVotes, useIndexDtfPrice, useIndexDtfPriceHistory, useIndexDtfProposal, useIndexDtfProposalDecode, useIndexDtfProposalList, useIndexDtfProposalThrottleCharges, useIndexDtfProposalVoterState, useIndexDtfProposalVotes, useIndexDtfProposalVotingSnapshot, useIndexDtfProposals, useIndexDtfProposerState, useIndexDtfQueueProposalCall, useIndexDtfRebalances, useIndexDtfRevenue, useIndexDtfSelectorRegistryAllowedSelectors, useIndexDtfSelectorRegistryIsAllowed, useIndexDtfSelectorRegistryTargets, useIndexDtfStatus, useIndexDtfTransactions, useIndexDtfVersion, useIndexDtfVoteCall, useIndexDtfVoteLockState, useIndexDtfVoterState };
379
+ export { type DtfQueryOptions, type DtfQueryOptionsResult, DtfSdkProvider, type DtfSdkProviderProps, type IndexDtfData, type IndexDtfIdentity, type IndexDtfPastOptimisticVotesQueryParams, IndexDtfProvider, type IndexDtfProviderProps, accountPortfolioHistoryQueryOptions, accountPortfolioQueryOptions, accountPortfolioTransactionsQueryOptions, buildIndexDtfBasketProposalQueryOptions, buildIndexDtfBasketSettingsProposalQueryOptions, buildIndexDtfDaoSettingsProposalQueryOptions, buildIndexDtfSettingsProposalQueryOptions, discoverDtfsQueryOptions, dtfQueryKeys, fullIndexDtfQueryOptions, indexDtfApprovedRevenueTokensQueryOptions, indexDtfBasketQueryOptions, indexDtfBrandQueryOptions, indexDtfCompletedRebalanceQueryOptions, indexDtfCompletedRebalancesQueryOptions, indexDtfCurrentRebalanceQueryOptions, indexDtfDelegatesQueryOptions, indexDtfExposureQueryOptions, indexDtfGuardiansQueryOptions, indexDtfIssuanceStateQueryOptions, indexDtfListQueryOptions, indexDtfOptimisticGovernanceQueryOptions, indexDtfOptimisticProposalContextQueryOptions, indexDtfOptimisticProposalVoterStateQueryOptions, indexDtfOptimisticTimelockRolesQueryOptions, indexDtfOptimisticVotesQueryOptions, indexDtfPastOptimisticVotesQueryOptions, indexDtfPendingFeeSharesQueryOptions, indexDtfPlatformFeeQueryOptions, indexDtfPriceHistoryQueryOptions, indexDtfPriceQueryOptions, indexDtfProposalDecodeQueryOptions, indexDtfProposalListQueryOptions, indexDtfProposalQueryOptions, indexDtfProposalThrottleChargesQueryOptions, indexDtfProposalVoterStateQueryOptions, indexDtfProposalVotesQueryOptions, indexDtfProposalVotingSnapshotQueryOptions, indexDtfProposalsQueryOptions, indexDtfProposerStateQueryOptions, indexDtfQueryOptions, indexDtfRebalanceAuctionsQueryOptions, indexDtfRebalancesQueryOptions, indexDtfRevenueQueryOptions, indexDtfSelectorRegistryAllowedSelectorsQueryOptions, indexDtfSelectorRegistryIsAllowedQueryOptions, indexDtfSelectorRegistryTargetsQueryOptions, indexDtfStatusQueryOptions, indexDtfTransactionsQueryOptions, indexDtfVersionQueryOptions, indexDtfVoteLockStateQueryOptions, indexDtfVoterStateQueryOptions, mapIndexDtfData, normalizeQueryKeyValue, useAccountPortfolio, useAccountPortfolioHistory, useAccountPortfolioTransactions, useBuildIndexDtfBasketProposal, useBuildIndexDtfBasketSettingsProposal, useBuildIndexDtfDaoSettingsProposal, useBuildIndexDtfSettingsProposal, useCurrentIndexDtf, useCurrentIndexDtfBasket, useDiscoverDtfs, useDtfSdk, useFullIndexDtf, useIndexDtf, useIndexDtfApprovedRevenueTokens, useIndexDtfBasket, useIndexDtfBrand, useIndexDtfCancelProposalCall, useIndexDtfCompletedRebalance, useIndexDtfCompletedRebalances, useIndexDtfCurrentRebalance, useIndexDtfDelegates, useIndexDtfExecuteProposalCall, useIndexDtfExposure, useIndexDtfGuardians, useIndexDtfIdentity, useIndexDtfIssuanceState, useIndexDtfList, useIndexDtfOptimisticGovernance, useIndexDtfOptimisticProposalContext, useIndexDtfOptimisticProposalVoterState, useIndexDtfOptimisticTimelockRoles, useIndexDtfOptimisticVotes, useIndexDtfPastOptimisticVotes, useIndexDtfPendingFeeShares, useIndexDtfPlatformFee, useIndexDtfPrice, useIndexDtfPriceHistory, useIndexDtfProposal, useIndexDtfProposalDecode, useIndexDtfProposalList, useIndexDtfProposalThrottleCharges, useIndexDtfProposalVoterState, useIndexDtfProposalVotes, useIndexDtfProposalVotingSnapshot, useIndexDtfProposals, useIndexDtfProposerState, useIndexDtfQueueProposalCall, useIndexDtfRebalanceAuctions, useIndexDtfRebalances, useIndexDtfRevenue, useIndexDtfSelectorRegistryAllowedSelectors, useIndexDtfSelectorRegistryIsAllowed, useIndexDtfSelectorRegistryTargets, useIndexDtfStatus, useIndexDtfTransactions, useIndexDtfVersion, useIndexDtfVoteCall, useIndexDtfVoteLockState, useIndexDtfVoterState };
package/dist/index.mjs CHANGED
@@ -181,6 +181,76 @@ const dtfQueryKeys = {
181
181
  "price-history",
182
182
  keyParams(params)
183
183
  ],
184
+ status: (params) => [
185
+ ...dtfQueryKeys.index.all(),
186
+ "status",
187
+ keyParams(params)
188
+ ],
189
+ exposure: (params) => [
190
+ ...dtfQueryKeys.index.all(),
191
+ "exposure",
192
+ keyParams(params)
193
+ ],
194
+ transactions: (params) => [
195
+ ...dtfQueryKeys.index.all(),
196
+ "transactions",
197
+ keyParams(params)
198
+ ],
199
+ revenue: (params) => [
200
+ ...dtfQueryKeys.index.all(),
201
+ "revenue",
202
+ keyParams(params)
203
+ ],
204
+ platformFee: (params) => [
205
+ ...dtfQueryKeys.index.all(),
206
+ "platform-fee",
207
+ keyParams(params)
208
+ ],
209
+ pendingFeeShares: (params) => [
210
+ ...dtfQueryKeys.index.all(),
211
+ "pending-fee-shares",
212
+ keyParams(params)
213
+ ],
214
+ approvedRevenueTokens: (params) => [
215
+ ...dtfQueryKeys.index.all(),
216
+ "approved-revenue-tokens",
217
+ keyParams(params)
218
+ ],
219
+ issuanceState: (params) => [
220
+ ...dtfQueryKeys.index.all(),
221
+ "issuance-state",
222
+ keyParams(params)
223
+ ],
224
+ rebalances: (params) => [
225
+ ...dtfQueryKeys.index.all(),
226
+ "rebalances",
227
+ keyParams(params)
228
+ ],
229
+ currentRebalance: (params) => [
230
+ ...dtfQueryKeys.index.all(),
231
+ "current-rebalance",
232
+ keyParams(params)
233
+ ],
234
+ rebalanceAuctions: (params) => [
235
+ ...dtfQueryKeys.index.all(),
236
+ "rebalance-auctions",
237
+ keyParams(params)
238
+ ],
239
+ completedRebalance: (params) => [
240
+ ...dtfQueryKeys.index.all(),
241
+ "completed-rebalance",
242
+ keyParams(params)
243
+ ],
244
+ completedRebalances: (params) => [
245
+ ...dtfQueryKeys.index.all(),
246
+ "completed-rebalances",
247
+ keyParams(params)
248
+ ],
249
+ voteLockState: (params) => [
250
+ ...dtfQueryKeys.index.all(),
251
+ "vote-lock-state",
252
+ keyParams(params)
253
+ ],
184
254
  governance: {
185
255
  all: () => [...dtfQueryKeys.index.all(), "governance"],
186
256
  proposalList: (params) => [
@@ -305,6 +375,24 @@ const dtfQueryKeys = {
305
375
  keyParams(optimisticProposalVoterStateKeyParams(params))
306
376
  ]
307
377
  }
378
+ },
379
+ portfolio: {
380
+ all: () => [...dtfQueryKeys.all, "portfolio"],
381
+ account: (params) => [
382
+ ...dtfQueryKeys.portfolio.all(),
383
+ "account",
384
+ keyParams(params)
385
+ ],
386
+ history: (params) => [
387
+ ...dtfQueryKeys.portfolio.all(),
388
+ "history",
389
+ keyParams(params)
390
+ ],
391
+ transactions: (params) => [
392
+ ...dtfQueryKeys.portfolio.all(),
393
+ "transactions",
394
+ keyParams(params)
395
+ ]
308
396
  }
309
397
  };
310
398
  //#endregion
@@ -317,14 +405,14 @@ function createDtfQueryOptions(queryKey, queryFn, enabled, options = {}) {
317
405
  enabled: enabled && options.enabled !== false
318
406
  };
319
407
  }
320
- function requireParams$1(params, method) {
408
+ function requireParams(params, method) {
321
409
  if (params === void 0) throw new Error(`${method} params are required.`);
322
410
  return params;
323
411
  }
324
412
  //#endregion
325
413
  //#region src/index-dtf/use-index-dtf-delegates.ts
326
414
  function indexDtfDelegatesQueryOptions(sdk, params, options) {
327
- return createDtfQueryOptions(dtfQueryKeys.index.governance.delegates(params), () => sdk.index.getDelegates(requireParams$1(params, "indexDtfDelegatesQueryOptions")), params !== void 0, options);
415
+ return createDtfQueryOptions(dtfQueryKeys.index.governance.delegates(params), () => sdk.index.getDelegates(requireParams(params, "indexDtfDelegatesQueryOptions")), params !== void 0, options);
328
416
  }
329
417
  function useIndexDtfDelegates(params, options) {
330
418
  return useQuery(indexDtfDelegatesQueryOptions(useDtfSdk(), params, options));
@@ -332,7 +420,7 @@ function useIndexDtfDelegates(params, options) {
332
420
  //#endregion
333
421
  //#region src/index-dtf/use-index-dtf-guardians.ts
334
422
  function indexDtfGuardiansQueryOptions(sdk, params, options) {
335
- return createDtfQueryOptions(dtfQueryKeys.index.governance.guardians(params), () => sdk.index.getGuardians(requireParams$1(params, "indexDtfGuardiansQueryOptions")), params !== void 0, options);
423
+ return createDtfQueryOptions(dtfQueryKeys.index.governance.guardians(params), () => sdk.index.getGuardians(requireParams(params, "indexDtfGuardiansQueryOptions")), params !== void 0, options);
336
424
  }
337
425
  function useIndexDtfGuardians(params, options) {
338
426
  return useQuery(indexDtfGuardiansQueryOptions(useDtfSdk(), params, options));
@@ -340,7 +428,7 @@ function useIndexDtfGuardians(params, options) {
340
428
  //#endregion
341
429
  //#region src/index-dtf/use-index-dtf-optimistic-governance.ts
342
430
  function indexDtfOptimisticGovernanceQueryOptions(sdk, params, options) {
343
- return createDtfQueryOptions(dtfQueryKeys.index.governance.optimisticGovernance(params), () => sdk.index.getOptimisticGovernance(requireParams$1(params, "indexDtfOptimisticGovernanceQueryOptions")), params !== void 0, options);
431
+ return createDtfQueryOptions(dtfQueryKeys.index.governance.optimisticGovernance(params), () => sdk.index.getOptimisticGovernance(requireParams(params, "indexDtfOptimisticGovernanceQueryOptions")), params !== void 0, options);
344
432
  }
345
433
  function useIndexDtfOptimisticGovernance(params, options) {
346
434
  return useQuery(indexDtfOptimisticGovernanceQueryOptions(useDtfSdk(), params, options));
@@ -348,7 +436,7 @@ function useIndexDtfOptimisticGovernance(params, options) {
348
436
  //#endregion
349
437
  //#region src/index-dtf/use-index-dtf-optimistic-proposal-context.ts
350
438
  function indexDtfOptimisticProposalContextQueryOptions(sdk, params, options) {
351
- return createDtfQueryOptions(dtfQueryKeys.index.governance.optimisticProposalContext(params), () => sdk.index.getOptimisticProposalContext(requireParams$1(params, "indexDtfOptimisticProposalContextQueryOptions")), params !== void 0, options);
439
+ return createDtfQueryOptions(dtfQueryKeys.index.governance.optimisticProposalContext(params), () => sdk.index.getOptimisticProposalContext(requireParams(params, "indexDtfOptimisticProposalContextQueryOptions")), params !== void 0, options);
352
440
  }
353
441
  function useIndexDtfOptimisticProposalContext(params, options) {
354
442
  return useQuery(indexDtfOptimisticProposalContextQueryOptions(useDtfSdk(), params, options));
@@ -356,7 +444,7 @@ function useIndexDtfOptimisticProposalContext(params, options) {
356
444
  //#endregion
357
445
  //#region src/index-dtf/use-index-dtf-optimistic-proposal-voter-state.ts
358
446
  function indexDtfOptimisticProposalVoterStateQueryOptions(sdk, params, options) {
359
- return createDtfQueryOptions(dtfQueryKeys.index.governance.optimisticProposalVoterState(params), () => sdk.index.getOptimisticProposalVoterState(requireParams$1(params, "indexDtfOptimisticProposalVoterStateQueryOptions")), params !== void 0, options);
447
+ return createDtfQueryOptions(dtfQueryKeys.index.governance.optimisticProposalVoterState(params), () => sdk.index.getOptimisticProposalVoterState(requireParams(params, "indexDtfOptimisticProposalVoterStateQueryOptions")), params !== void 0, options);
360
448
  }
361
449
  function useIndexDtfOptimisticProposalVoterState(params, options) {
362
450
  return useQuery(indexDtfOptimisticProposalVoterStateQueryOptions(useDtfSdk(), params, options));
@@ -364,7 +452,7 @@ function useIndexDtfOptimisticProposalVoterState(params, options) {
364
452
  //#endregion
365
453
  //#region src/index-dtf/use-index-dtf-optimistic-timelock-roles.ts
366
454
  function indexDtfOptimisticTimelockRolesQueryOptions(sdk, params, options) {
367
- return createDtfQueryOptions(dtfQueryKeys.index.governance.optimisticTimelockRoles(params), () => sdk.index.getOptimisticTimelockRoles(requireParams$1(params, "indexDtfOptimisticTimelockRolesQueryOptions")), params !== void 0, options);
455
+ return createDtfQueryOptions(dtfQueryKeys.index.governance.optimisticTimelockRoles(params), () => sdk.index.getOptimisticTimelockRoles(requireParams(params, "indexDtfOptimisticTimelockRolesQueryOptions")), params !== void 0, options);
368
456
  }
369
457
  function useIndexDtfOptimisticTimelockRoles(params, options) {
370
458
  return useQuery(indexDtfOptimisticTimelockRolesQueryOptions(useDtfSdk(), params, options));
@@ -372,7 +460,7 @@ function useIndexDtfOptimisticTimelockRoles(params, options) {
372
460
  //#endregion
373
461
  //#region src/index-dtf/use-index-dtf-optimistic-votes.ts
374
462
  function indexDtfOptimisticVotesQueryOptions(sdk, params, options) {
375
- return createDtfQueryOptions(dtfQueryKeys.index.governance.optimisticVotes(params), () => sdk.index.getOptimisticVotes(requireParams$1(params, "indexDtfOptimisticVotesQueryOptions")), params !== void 0, options);
463
+ return createDtfQueryOptions(dtfQueryKeys.index.governance.optimisticVotes(params), () => sdk.index.getOptimisticVotes(requireParams(params, "indexDtfOptimisticVotesQueryOptions")), params !== void 0, options);
376
464
  }
377
465
  function useIndexDtfOptimisticVotes(params, options) {
378
466
  return useQuery(indexDtfOptimisticVotesQueryOptions(useDtfSdk(), params, options));
@@ -380,7 +468,7 @@ function useIndexDtfOptimisticVotes(params, options) {
380
468
  //#endregion
381
469
  //#region src/index-dtf/use-index-dtf-past-optimistic-votes.ts
382
470
  function indexDtfPastOptimisticVotesQueryOptions(sdk, params, options) {
383
- return createDtfQueryOptions(dtfQueryKeys.index.governance.pastOptimisticVotes(params), () => sdk.index.getPastOptimisticVotes(requireParams$1(params, "indexDtfPastOptimisticVotesQueryOptions")), params !== void 0, options);
471
+ return createDtfQueryOptions(dtfQueryKeys.index.governance.pastOptimisticVotes(params), () => sdk.index.getPastOptimisticVotes(requireParams(params, "indexDtfPastOptimisticVotesQueryOptions")), params !== void 0, options);
384
472
  }
385
473
  function useIndexDtfPastOptimisticVotes(params, options) {
386
474
  return useQuery(indexDtfPastOptimisticVotesQueryOptions(useDtfSdk(), params, options));
@@ -388,7 +476,7 @@ function useIndexDtfPastOptimisticVotes(params, options) {
388
476
  //#endregion
389
477
  //#region src/index-dtf/use-index-dtf-proposal.ts
390
478
  function indexDtfProposalQueryOptions(sdk, params, options) {
391
- return createDtfQueryOptions(dtfQueryKeys.index.governance.proposal(params), () => sdk.index.getProposal(requireParams$1(params, "indexDtfProposalQueryOptions")), params !== void 0, options);
479
+ return createDtfQueryOptions(dtfQueryKeys.index.governance.proposal(params), () => sdk.index.getProposal(requireParams(params, "indexDtfProposalQueryOptions")), params !== void 0, options);
392
480
  }
393
481
  function useIndexDtfProposal(params, options) {
394
482
  return useQuery(indexDtfProposalQueryOptions(useDtfSdk(), params, options));
@@ -396,7 +484,7 @@ function useIndexDtfProposal(params, options) {
396
484
  //#endregion
397
485
  //#region src/index-dtf/use-index-dtf-proposal-decode.ts
398
486
  function indexDtfProposalDecodeQueryOptions(sdk, params, options) {
399
- return createDtfQueryOptions(dtfQueryKeys.index.governance.proposalDecode(params), () => sdk.index.decodeProposalCalldatas(requireParams$1(params, "indexDtfProposalDecodeQueryOptions")), params !== void 0, options);
487
+ return createDtfQueryOptions(dtfQueryKeys.index.governance.proposalDecode(params), () => sdk.index.decodeProposalCalldatas(requireParams(params, "indexDtfProposalDecodeQueryOptions")), params !== void 0, options);
400
488
  }
401
489
  function useIndexDtfProposalDecode(params, options) {
402
490
  return useQuery(indexDtfProposalDecodeQueryOptions(useDtfSdk(), params, options));
@@ -404,7 +492,7 @@ function useIndexDtfProposalDecode(params, options) {
404
492
  //#endregion
405
493
  //#region src/index-dtf/use-index-dtf-proposal-throttle-charges.ts
406
494
  function indexDtfProposalThrottleChargesQueryOptions(sdk, params, options) {
407
- return createDtfQueryOptions(dtfQueryKeys.index.governance.proposalThrottleCharges(params), () => sdk.index.getProposalThrottleCharges(requireParams$1(params, "indexDtfProposalThrottleChargesQueryOptions")), params !== void 0, options);
495
+ return createDtfQueryOptions(dtfQueryKeys.index.governance.proposalThrottleCharges(params), () => sdk.index.getProposalThrottleCharges(requireParams(params, "indexDtfProposalThrottleChargesQueryOptions")), params !== void 0, options);
408
496
  }
409
497
  function useIndexDtfProposalThrottleCharges(params, options) {
410
498
  return useQuery(indexDtfProposalThrottleChargesQueryOptions(useDtfSdk(), params, options));
@@ -412,7 +500,7 @@ function useIndexDtfProposalThrottleCharges(params, options) {
412
500
  //#endregion
413
501
  //#region src/index-dtf/use-index-dtf-proposal-voter-state.ts
414
502
  function indexDtfProposalVoterStateQueryOptions(sdk, params, options) {
415
- return createDtfQueryOptions(dtfQueryKeys.index.governance.proposalVoterState(params), () => sdk.index.getProposalVoterState(requireParams$1(params, "indexDtfProposalVoterStateQueryOptions")), params !== void 0, options);
503
+ return createDtfQueryOptions(dtfQueryKeys.index.governance.proposalVoterState(params), () => sdk.index.getProposalVoterState(requireParams(params, "indexDtfProposalVoterStateQueryOptions")), params !== void 0, options);
416
504
  }
417
505
  function useIndexDtfProposalVoterState(params, options) {
418
506
  return useQuery(indexDtfProposalVoterStateQueryOptions(useDtfSdk(), params, options));
@@ -420,7 +508,7 @@ function useIndexDtfProposalVoterState(params, options) {
420
508
  //#endregion
421
509
  //#region src/index-dtf/use-index-dtf-proposal-voting-snapshot.ts
422
510
  function indexDtfProposalVotingSnapshotQueryOptions(sdk, params, options) {
423
- return createDtfQueryOptions(dtfQueryKeys.index.governance.proposalVotingSnapshot(params), () => sdk.index.getProposalVotingSnapshot(requireParams$1(params, "indexDtfProposalVotingSnapshotQueryOptions")), params !== void 0, options);
511
+ return createDtfQueryOptions(dtfQueryKeys.index.governance.proposalVotingSnapshot(params), () => sdk.index.getProposalVotingSnapshot(requireParams(params, "indexDtfProposalVotingSnapshotQueryOptions")), params !== void 0, options);
424
512
  }
425
513
  function useIndexDtfProposalVotingSnapshot(params, options) {
426
514
  return useQuery(indexDtfProposalVotingSnapshotQueryOptions(useDtfSdk(), params, options));
@@ -428,7 +516,7 @@ function useIndexDtfProposalVotingSnapshot(params, options) {
428
516
  //#endregion
429
517
  //#region src/index-dtf/use-index-dtf-proposal-votes.ts
430
518
  function indexDtfProposalVotesQueryOptions(sdk, params, options) {
431
- return createDtfQueryOptions(dtfQueryKeys.index.governance.proposalVotes(params), () => sdk.index.getProposalVotes(requireParams$1(params, "indexDtfProposalVotesQueryOptions")), params !== void 0, options);
519
+ return createDtfQueryOptions(dtfQueryKeys.index.governance.proposalVotes(params), () => sdk.index.getProposalVotes(requireParams(params, "indexDtfProposalVotesQueryOptions")), params !== void 0, options);
432
520
  }
433
521
  function useIndexDtfProposalVotes(params, options) {
434
522
  return useQuery(indexDtfProposalVotesQueryOptions(useDtfSdk(), params, options));
@@ -443,7 +531,7 @@ function indexDtfProposalsQueryOptions(sdk, params, options) {
443
531
  });
444
532
  }
445
533
  function indexDtfProposalListQueryOptions(sdk, params, options) {
446
- return createDtfQueryOptions(dtfQueryKeys.index.governance.proposalList(params), () => sdk.index.getProposalList(requireParams$1(params, "indexDtfProposalListQueryOptions")), params !== void 0, options);
534
+ return createDtfQueryOptions(dtfQueryKeys.index.governance.proposalList(params), () => sdk.index.getProposalList(requireParams(params, "indexDtfProposalListQueryOptions")), params !== void 0, options);
447
535
  }
448
536
  function useIndexDtfProposals(params, options) {
449
537
  return useQuery(indexDtfProposalsQueryOptions(useDtfSdk(), params, options));
@@ -454,7 +542,7 @@ function useIndexDtfProposalList(params, options) {
454
542
  //#endregion
455
543
  //#region src/index-dtf/use-index-dtf-proposer-state.ts
456
544
  function indexDtfProposerStateQueryOptions(sdk, params, options) {
457
- return createDtfQueryOptions(dtfQueryKeys.index.governance.proposerState(params), () => sdk.index.getProposerState(requireParams$1(params, "indexDtfProposerStateQueryOptions")), params !== void 0, options);
545
+ return createDtfQueryOptions(dtfQueryKeys.index.governance.proposerState(params), () => sdk.index.getProposerState(requireParams(params, "indexDtfProposerStateQueryOptions")), params !== void 0, options);
458
546
  }
459
547
  function useIndexDtfProposerState(params, options) {
460
548
  return useQuery(indexDtfProposerStateQueryOptions(useDtfSdk(), params, options));
@@ -462,7 +550,7 @@ function useIndexDtfProposerState(params, options) {
462
550
  //#endregion
463
551
  //#region src/index-dtf/use-index-dtf-selector-registry-allowed-selectors.ts
464
552
  function indexDtfSelectorRegistryAllowedSelectorsQueryOptions(sdk, params, options) {
465
- return createDtfQueryOptions(dtfQueryKeys.index.governance.selectorRegistryAllowedSelectors(params), () => sdk.index.getSelectorRegistryAllowedSelectors(requireParams$1(params, "indexDtfSelectorRegistryAllowedSelectorsQueryOptions")), params !== void 0, options);
553
+ return createDtfQueryOptions(dtfQueryKeys.index.governance.selectorRegistryAllowedSelectors(params), () => sdk.index.getSelectorRegistryAllowedSelectors(requireParams(params, "indexDtfSelectorRegistryAllowedSelectorsQueryOptions")), params !== void 0, options);
466
554
  }
467
555
  function useIndexDtfSelectorRegistryAllowedSelectors(params, options) {
468
556
  return useQuery(indexDtfSelectorRegistryAllowedSelectorsQueryOptions(useDtfSdk(), params, options));
@@ -470,7 +558,7 @@ function useIndexDtfSelectorRegistryAllowedSelectors(params, options) {
470
558
  //#endregion
471
559
  //#region src/index-dtf/use-index-dtf-selector-registry-is-allowed.ts
472
560
  function indexDtfSelectorRegistryIsAllowedQueryOptions(sdk, params, options) {
473
- return createDtfQueryOptions(dtfQueryKeys.index.governance.selectorRegistryIsAllowed(params), () => sdk.index.getSelectorRegistryIsAllowed(requireParams$1(params, "indexDtfSelectorRegistryIsAllowedQueryOptions")), params !== void 0, options);
561
+ return createDtfQueryOptions(dtfQueryKeys.index.governance.selectorRegistryIsAllowed(params), () => sdk.index.getSelectorRegistryIsAllowed(requireParams(params, "indexDtfSelectorRegistryIsAllowedQueryOptions")), params !== void 0, options);
474
562
  }
475
563
  function useIndexDtfSelectorRegistryIsAllowed(params, options) {
476
564
  return useQuery(indexDtfSelectorRegistryIsAllowedQueryOptions(useDtfSdk(), params, options));
@@ -478,7 +566,7 @@ function useIndexDtfSelectorRegistryIsAllowed(params, options) {
478
566
  //#endregion
479
567
  //#region src/index-dtf/use-index-dtf-selector-registry-targets.ts
480
568
  function indexDtfSelectorRegistryTargetsQueryOptions(sdk, params, options) {
481
- return createDtfQueryOptions(dtfQueryKeys.index.governance.selectorRegistryTargets(params), () => sdk.index.getSelectorRegistryTargets(requireParams$1(params, "indexDtfSelectorRegistryTargetsQueryOptions")), params !== void 0, options);
569
+ return createDtfQueryOptions(dtfQueryKeys.index.governance.selectorRegistryTargets(params), () => sdk.index.getSelectorRegistryTargets(requireParams(params, "indexDtfSelectorRegistryTargetsQueryOptions")), params !== void 0, options);
482
570
  }
483
571
  function useIndexDtfSelectorRegistryTargets(params, options) {
484
572
  return useQuery(indexDtfSelectorRegistryTargetsQueryOptions(useDtfSdk(), params, options));
@@ -486,7 +574,7 @@ function useIndexDtfSelectorRegistryTargets(params, options) {
486
574
  //#endregion
487
575
  //#region src/index-dtf/use-index-dtf-voter-state.ts
488
576
  function indexDtfVoterStateQueryOptions(sdk, params, options) {
489
- return createDtfQueryOptions(dtfQueryKeys.index.governance.voterState(params), () => sdk.index.getVoterState(requireParams$1(params, "indexDtfVoterStateQueryOptions")), params !== void 0, options);
577
+ return createDtfQueryOptions(dtfQueryKeys.index.governance.voterState(params), () => sdk.index.getVoterState(requireParams(params, "indexDtfVoterStateQueryOptions")), params !== void 0, options);
490
578
  }
491
579
  function useIndexDtfVoterState(params, options) {
492
580
  return useQuery(indexDtfVoterStateQueryOptions(useDtfSdk(), params, options));
@@ -500,37 +588,37 @@ function indexDtfListQueryOptions(sdk, params, options) {
500
588
  return createDtfQueryOptions(dtfQueryKeys.index.list(params), () => sdk.index.list(params), true, options);
501
589
  }
502
590
  function indexDtfQueryOptions(sdk, params, options) {
503
- return createDtfQueryOptions(dtfQueryKeys.index.full(params), () => sdk.index.get(requireParams$1(params, "indexDtfQueryOptions")), params !== void 0, options);
591
+ return createDtfQueryOptions(dtfQueryKeys.index.full(params), () => sdk.index.get(requireParams(params, "indexDtfQueryOptions")), params !== void 0, options);
504
592
  }
505
593
  function fullIndexDtfQueryOptions(sdk, params, options) {
506
- return createDtfQueryOptions(dtfQueryKeys.index.full(params), () => sdk.index.getFull(requireParams$1(params, "fullIndexDtfQueryOptions")), params !== void 0, options);
594
+ return createDtfQueryOptions(dtfQueryKeys.index.full(params), () => sdk.index.getFull(requireParams(params, "fullIndexDtfQueryOptions")), params !== void 0, options);
507
595
  }
508
596
  function indexDtfBasketQueryOptions(sdk, params, options) {
509
- return createDtfQueryOptions(dtfQueryKeys.index.basket(params), () => sdk.index.getBasket(requireParams$1(params, "indexDtfBasketQueryOptions")), params !== void 0, options);
597
+ return createDtfQueryOptions(dtfQueryKeys.index.basket(params), () => sdk.index.getBasket(requireParams(params, "indexDtfBasketQueryOptions")), params !== void 0, options);
510
598
  }
511
599
  function indexDtfVersionQueryOptions(sdk, params, options) {
512
- return createDtfQueryOptions(dtfQueryKeys.index.version(params), () => sdk.index.getVersion(requireParams$1(params, "indexDtfVersionQueryOptions")), params !== void 0, options);
600
+ return createDtfQueryOptions(dtfQueryKeys.index.version(params), () => sdk.index.getVersion(requireParams(params, "indexDtfVersionQueryOptions")), params !== void 0, options);
513
601
  }
514
602
  function indexDtfBrandQueryOptions(sdk, params, options) {
515
- return createDtfQueryOptions(dtfQueryKeys.index.brand(params), () => sdk.index.getBrand(requireParams$1(params, "indexDtfBrandQueryOptions")), params !== void 0, options);
603
+ return createDtfQueryOptions(dtfQueryKeys.index.brand(params), () => sdk.index.getBrand(requireParams(params, "indexDtfBrandQueryOptions")), params !== void 0, options);
516
604
  }
517
605
  function indexDtfPriceQueryOptions(sdk, params, options) {
518
- return createDtfQueryOptions(dtfQueryKeys.index.price(params), () => sdk.index.getPrice(requireParams$1(params, "indexDtfPriceQueryOptions")), params !== void 0, options);
606
+ return createDtfQueryOptions(dtfQueryKeys.index.price(params), () => sdk.index.getPrice(requireParams(params, "indexDtfPriceQueryOptions")), params !== void 0, options);
519
607
  }
520
608
  function indexDtfPriceHistoryQueryOptions(sdk, params, options) {
521
- return createDtfQueryOptions(dtfQueryKeys.index.priceHistory(params), () => sdk.index.getPriceHistory(requireParams$1(params, "indexDtfPriceHistoryQueryOptions")), params !== void 0, options);
609
+ return createDtfQueryOptions(dtfQueryKeys.index.priceHistory(params), () => sdk.index.getPriceHistory(requireParams(params, "indexDtfPriceHistoryQueryOptions")), params !== void 0, options);
522
610
  }
523
611
  function buildIndexDtfBasketProposalQueryOptions(sdk, params, options) {
524
- return createDtfQueryOptions(dtfQueryKeys.index.governance.buildBasketProposal(params), () => sdk.index.buildBasketProposal(requireParams$1(params, "buildIndexDtfBasketProposalQueryOptions")), params !== void 0, options);
612
+ return createDtfQueryOptions(dtfQueryKeys.index.governance.buildBasketProposal(params), () => sdk.index.buildBasketProposal(requireParams(params, "buildIndexDtfBasketProposalQueryOptions")), params !== void 0, options);
525
613
  }
526
614
  function buildIndexDtfBasketSettingsProposalQueryOptions(sdk, params, options) {
527
- return createDtfQueryOptions(dtfQueryKeys.index.governance.buildBasketSettingsProposal(params), () => sdk.index.buildBasketSettingsProposal(requireParams$1(params, "buildIndexDtfBasketSettingsProposalQueryOptions")), params !== void 0, options);
615
+ return createDtfQueryOptions(dtfQueryKeys.index.governance.buildBasketSettingsProposal(params), () => sdk.index.buildBasketSettingsProposal(requireParams(params, "buildIndexDtfBasketSettingsProposalQueryOptions")), params !== void 0, options);
528
616
  }
529
617
  function buildIndexDtfDaoSettingsProposalQueryOptions(sdk, params, options) {
530
- return createDtfQueryOptions(dtfQueryKeys.index.governance.buildDaoSettingsProposal(params), () => sdk.index.buildDaoSettingsProposal(requireParams$1(params, "buildIndexDtfDaoSettingsProposalQueryOptions")), params !== void 0, options);
618
+ return createDtfQueryOptions(dtfQueryKeys.index.governance.buildDaoSettingsProposal(params), () => sdk.index.buildDaoSettingsProposal(requireParams(params, "buildIndexDtfDaoSettingsProposalQueryOptions")), params !== void 0, options);
531
619
  }
532
620
  function buildIndexDtfSettingsProposalQueryOptions(sdk, params, options) {
533
- return createDtfQueryOptions(dtfQueryKeys.index.governance.buildSettingsProposal(params), () => sdk.index.buildSettingsProposal(requireParams$1(params, "buildIndexDtfSettingsProposalQueryOptions")), params !== void 0, options);
621
+ return createDtfQueryOptions(dtfQueryKeys.index.governance.buildSettingsProposal(params), () => sdk.index.buildSettingsProposal(requireParams(params, "buildIndexDtfSettingsProposalQueryOptions")), params !== void 0, options);
534
622
  }
535
623
  //#endregion
536
624
  //#region src/hooks.ts
@@ -808,56 +896,56 @@ function useIndexDtfCancelProposalCall(params) {
808
896
  }
809
897
  //#endregion
810
898
  //#region src/index-dtf-query-options.ts
811
- function queryOptions(key, queryFn, enabled, options = {}) {
812
- return {
813
- ...options,
814
- queryKey: key,
815
- queryFn,
816
- enabled: enabled && options.enabled !== false
817
- };
818
- }
819
- function key(scope, params) {
820
- return [
821
- "dtf",
822
- "index",
823
- scope,
824
- normalizeQueryKeyValue(params)
825
- ];
826
- }
827
- function requireParams(params, method) {
828
- if (params === void 0) throw new Error(`${method} params are required.`);
829
- return params;
830
- }
831
899
  function indexDtfStatusQueryOptions(sdk, params, options) {
832
- return queryOptions(key("status", params), () => sdk.index.getStatus(requireParams(params, "indexDtfStatusQueryOptions")), params !== void 0, options);
900
+ return createDtfQueryOptions(dtfQueryKeys.index.status(params), () => sdk.index.getStatus(requireParams(params, "indexDtfStatusQueryOptions")), params !== void 0, options);
833
901
  }
834
902
  function indexDtfExposureQueryOptions(sdk, params, options) {
835
- return queryOptions(key("exposure", params), () => sdk.index.getExposure(requireParams(params, "indexDtfExposureQueryOptions")), params !== void 0, options);
903
+ return createDtfQueryOptions(dtfQueryKeys.index.exposure(params), () => sdk.index.getExposure(requireParams(params, "indexDtfExposureQueryOptions")), params !== void 0, options);
836
904
  }
837
905
  function indexDtfTransactionsQueryOptions(sdk, params, options) {
838
- return queryOptions(key("transactions", params), () => sdk.index.getTransactions(requireParams(params, "indexDtfTransactionsQueryOptions")), params !== void 0, options);
906
+ return createDtfQueryOptions(dtfQueryKeys.index.transactions(params), () => sdk.index.getTransactions(requireParams(params, "indexDtfTransactionsQueryOptions")), params !== void 0, options);
839
907
  }
840
908
  function indexDtfRevenueQueryOptions(sdk, params, options) {
841
- return queryOptions(key("revenue", params), () => sdk.index.getRevenue(requireParams(params, "indexDtfRevenueQueryOptions")), params !== void 0, options);
909
+ return createDtfQueryOptions(dtfQueryKeys.index.revenue(params), () => sdk.index.getRevenue(requireParams(params, "indexDtfRevenueQueryOptions")), params !== void 0, options);
842
910
  }
843
911
  function indexDtfIssuanceStateQueryOptions(sdk, params, options) {
844
- return queryOptions(key("issuance-state", params), () => sdk.index.getIssuanceState(requireParams(params, "indexDtfIssuanceStateQueryOptions")), params !== void 0, options);
912
+ return createDtfQueryOptions(dtfQueryKeys.index.issuanceState(params), () => sdk.index.getIssuanceState(requireParams(params, "indexDtfIssuanceStateQueryOptions")), params !== void 0, options);
845
913
  }
846
914
  function indexDtfRebalancesQueryOptions(sdk, params, options) {
847
- return queryOptions(key("rebalances", params), () => sdk.index.getRebalances(requireParams(params, "indexDtfRebalancesQueryOptions")), params !== void 0, options);
915
+ return createDtfQueryOptions(dtfQueryKeys.index.rebalances(params), () => sdk.index.getRebalances(requireParams(params, "indexDtfRebalancesQueryOptions")), params !== void 0, options);
848
916
  }
849
917
  function indexDtfCurrentRebalanceQueryOptions(sdk, params, options) {
850
- return queryOptions(key("current-rebalance", params), () => sdk.index.getCurrentRebalance(requireParams(params, "indexDtfCurrentRebalanceQueryOptions")), params !== void 0, options);
918
+ return createDtfQueryOptions(dtfQueryKeys.index.currentRebalance(params), () => sdk.index.getCurrentRebalance(requireParams(params, "indexDtfCurrentRebalanceQueryOptions")), params !== void 0, options);
851
919
  }
852
920
  function indexDtfVoteLockStateQueryOptions(sdk, params, options) {
853
- return queryOptions(key("vote-lock-state", params), () => sdk.index.getVoteLockState(requireParams(params, "indexDtfVoteLockStateQueryOptions")), params !== void 0, options);
921
+ return createDtfQueryOptions(dtfQueryKeys.index.voteLockState(params), () => sdk.index.getVoteLockState(requireParams(params, "indexDtfVoteLockStateQueryOptions")), params !== void 0, options);
854
922
  }
855
923
  function accountPortfolioQueryOptions(sdk, params, options) {
856
- return queryOptions([
857
- "dtf",
858
- "portfolio",
859
- normalizeQueryKeyValue(params)
860
- ], () => sdk.portfolio.get(requireParams(params, "accountPortfolioQueryOptions")), params !== void 0, options);
924
+ return createDtfQueryOptions(dtfQueryKeys.portfolio.account(params), () => sdk.portfolio.get(requireParams(params, "accountPortfolioQueryOptions")), params !== void 0, options);
925
+ }
926
+ function indexDtfPlatformFeeQueryOptions(sdk, params, options) {
927
+ return createDtfQueryOptions(dtfQueryKeys.index.platformFee(params), () => sdk.index.getPlatformFee(requireParams(params, "indexDtfPlatformFeeQueryOptions")), params !== void 0, options);
928
+ }
929
+ function indexDtfPendingFeeSharesQueryOptions(sdk, params, options) {
930
+ return createDtfQueryOptions(dtfQueryKeys.index.pendingFeeShares(params), () => sdk.index.getPendingFeeShares(requireParams(params, "indexDtfPendingFeeSharesQueryOptions")), params !== void 0, options);
931
+ }
932
+ function indexDtfApprovedRevenueTokensQueryOptions(sdk, params, options) {
933
+ return createDtfQueryOptions(dtfQueryKeys.index.approvedRevenueTokens(params), () => sdk.index.getApprovedRevenueTokens(requireParams(params, "indexDtfApprovedRevenueTokensQueryOptions")), params !== void 0, options);
934
+ }
935
+ function indexDtfRebalanceAuctionsQueryOptions(sdk, params, options) {
936
+ return createDtfQueryOptions(dtfQueryKeys.index.rebalanceAuctions(params), () => sdk.index.getRebalanceAuctions(requireParams(params, "indexDtfRebalanceAuctionsQueryOptions")), params !== void 0, options);
937
+ }
938
+ function indexDtfCompletedRebalanceQueryOptions(sdk, params, options) {
939
+ return createDtfQueryOptions(dtfQueryKeys.index.completedRebalance(params), () => sdk.index.getCompletedRebalance(requireParams(params, "indexDtfCompletedRebalanceQueryOptions")), params !== void 0, options);
940
+ }
941
+ function indexDtfCompletedRebalancesQueryOptions(sdk, params, options) {
942
+ return createDtfQueryOptions(dtfQueryKeys.index.completedRebalances(params), () => sdk.index.getCompletedRebalances(requireParams(params, "indexDtfCompletedRebalancesQueryOptions")), params !== void 0, options);
943
+ }
944
+ function accountPortfolioHistoryQueryOptions(sdk, params, options) {
945
+ return createDtfQueryOptions(dtfQueryKeys.portfolio.history(params), () => sdk.portfolio.getHistory(requireParams(params, "accountPortfolioHistoryQueryOptions")), params !== void 0, options);
946
+ }
947
+ function accountPortfolioTransactionsQueryOptions(sdk, params, options) {
948
+ return createDtfQueryOptions(dtfQueryKeys.portfolio.transactions(params), () => sdk.portfolio.getTransactions(requireParams(params, "accountPortfolioTransactionsQueryOptions")), params !== void 0, options);
861
949
  }
862
950
  //#endregion
863
951
  //#region src/index-dtf-extra-hooks.ts
@@ -873,6 +961,15 @@ function useIndexDtfTransactions(params, options) {
873
961
  function useIndexDtfRevenue(params, options) {
874
962
  return useQuery(indexDtfRevenueQueryOptions(useDtfSdk(), params, options));
875
963
  }
964
+ function useIndexDtfPlatformFee(params, options) {
965
+ return useQuery(indexDtfPlatformFeeQueryOptions(useDtfSdk(), params, options));
966
+ }
967
+ function useIndexDtfPendingFeeShares(params, options) {
968
+ return useQuery(indexDtfPendingFeeSharesQueryOptions(useDtfSdk(), params, options));
969
+ }
970
+ function useIndexDtfApprovedRevenueTokens(params, options) {
971
+ return useQuery(indexDtfApprovedRevenueTokensQueryOptions(useDtfSdk(), params, options));
972
+ }
876
973
  function useIndexDtfIssuanceState(params, options) {
877
974
  return useQuery(indexDtfIssuanceStateQueryOptions(useDtfSdk(), params, options));
878
975
  }
@@ -882,11 +979,26 @@ function useIndexDtfRebalances(params, options) {
882
979
  function useIndexDtfCurrentRebalance(params, options) {
883
980
  return useQuery(indexDtfCurrentRebalanceQueryOptions(useDtfSdk(), params, options));
884
981
  }
982
+ function useIndexDtfRebalanceAuctions(params, options) {
983
+ return useQuery(indexDtfRebalanceAuctionsQueryOptions(useDtfSdk(), params, options));
984
+ }
985
+ function useIndexDtfCompletedRebalance(params, options) {
986
+ return useQuery(indexDtfCompletedRebalanceQueryOptions(useDtfSdk(), params, options));
987
+ }
988
+ function useIndexDtfCompletedRebalances(params, options) {
989
+ return useQuery(indexDtfCompletedRebalancesQueryOptions(useDtfSdk(), params, options));
990
+ }
885
991
  function useIndexDtfVoteLockState(params, options) {
886
992
  return useQuery(indexDtfVoteLockStateQueryOptions(useDtfSdk(), params, options));
887
993
  }
888
994
  function useAccountPortfolio(params, options) {
889
995
  return useQuery(accountPortfolioQueryOptions(useDtfSdk(), params, options));
890
996
  }
997
+ function useAccountPortfolioHistory(params, options) {
998
+ return useQuery(accountPortfolioHistoryQueryOptions(useDtfSdk(), params, options));
999
+ }
1000
+ function useAccountPortfolioTransactions(params, options) {
1001
+ return useQuery(accountPortfolioTransactionsQueryOptions(useDtfSdk(), params, options));
1002
+ }
891
1003
  //#endregion
892
- export { DtfSdkProvider, IndexDtfProvider, accountPortfolioQueryOptions, buildIndexDtfBasketProposalQueryOptions, buildIndexDtfBasketSettingsProposalQueryOptions, buildIndexDtfDaoSettingsProposalQueryOptions, buildIndexDtfSettingsProposalQueryOptions, discoverDtfsQueryOptions, dtfQueryKeys, fullIndexDtfQueryOptions, indexDtfBasketQueryOptions, indexDtfBrandQueryOptions, indexDtfCurrentRebalanceQueryOptions, indexDtfDelegatesQueryOptions, indexDtfExposureQueryOptions, indexDtfGuardiansQueryOptions, indexDtfIssuanceStateQueryOptions, indexDtfListQueryOptions, indexDtfOptimisticGovernanceQueryOptions, indexDtfOptimisticProposalContextQueryOptions, indexDtfOptimisticProposalVoterStateQueryOptions, indexDtfOptimisticTimelockRolesQueryOptions, indexDtfOptimisticVotesQueryOptions, indexDtfPastOptimisticVotesQueryOptions, indexDtfPriceHistoryQueryOptions, indexDtfPriceQueryOptions, indexDtfProposalDecodeQueryOptions, indexDtfProposalListQueryOptions, indexDtfProposalQueryOptions, indexDtfProposalThrottleChargesQueryOptions, indexDtfProposalVoterStateQueryOptions, indexDtfProposalVotesQueryOptions, indexDtfProposalVotingSnapshotQueryOptions, indexDtfProposalsQueryOptions, indexDtfProposerStateQueryOptions, indexDtfQueryOptions, indexDtfRebalancesQueryOptions, indexDtfRevenueQueryOptions, indexDtfSelectorRegistryAllowedSelectorsQueryOptions, indexDtfSelectorRegistryIsAllowedQueryOptions, indexDtfSelectorRegistryTargetsQueryOptions, indexDtfStatusQueryOptions, indexDtfTransactionsQueryOptions, indexDtfVersionQueryOptions, indexDtfVoteLockStateQueryOptions, indexDtfVoterStateQueryOptions, mapIndexDtfData, normalizeQueryKeyValue, useAccountPortfolio, useBuildIndexDtfBasketProposal, useBuildIndexDtfBasketSettingsProposal, useBuildIndexDtfDaoSettingsProposal, useBuildIndexDtfSettingsProposal, useCurrentIndexDtf, useCurrentIndexDtfBasket, useDiscoverDtfs, useDtfSdk, useFullIndexDtf, useIndexDtf, useIndexDtfBasket, useIndexDtfBrand, useIndexDtfCancelProposalCall, useIndexDtfCurrentRebalance, useIndexDtfDelegates, useIndexDtfExecuteProposalCall, useIndexDtfExposure, useIndexDtfGuardians, useIndexDtfIdentity, useIndexDtfIssuanceState, useIndexDtfList, useIndexDtfOptimisticGovernance, useIndexDtfOptimisticProposalContext, useIndexDtfOptimisticProposalVoterState, useIndexDtfOptimisticTimelockRoles, useIndexDtfOptimisticVotes, useIndexDtfPastOptimisticVotes, useIndexDtfPrice, useIndexDtfPriceHistory, useIndexDtfProposal, useIndexDtfProposalDecode, useIndexDtfProposalList, useIndexDtfProposalThrottleCharges, useIndexDtfProposalVoterState, useIndexDtfProposalVotes, useIndexDtfProposalVotingSnapshot, useIndexDtfProposals, useIndexDtfProposerState, useIndexDtfQueueProposalCall, useIndexDtfRebalances, useIndexDtfRevenue, useIndexDtfSelectorRegistryAllowedSelectors, useIndexDtfSelectorRegistryIsAllowed, useIndexDtfSelectorRegistryTargets, useIndexDtfStatus, useIndexDtfTransactions, useIndexDtfVersion, useIndexDtfVoteCall, useIndexDtfVoteLockState, useIndexDtfVoterState };
1004
+ export { DtfSdkProvider, IndexDtfProvider, accountPortfolioHistoryQueryOptions, accountPortfolioQueryOptions, accountPortfolioTransactionsQueryOptions, buildIndexDtfBasketProposalQueryOptions, buildIndexDtfBasketSettingsProposalQueryOptions, buildIndexDtfDaoSettingsProposalQueryOptions, buildIndexDtfSettingsProposalQueryOptions, discoverDtfsQueryOptions, dtfQueryKeys, fullIndexDtfQueryOptions, indexDtfApprovedRevenueTokensQueryOptions, indexDtfBasketQueryOptions, indexDtfBrandQueryOptions, indexDtfCompletedRebalanceQueryOptions, indexDtfCompletedRebalancesQueryOptions, indexDtfCurrentRebalanceQueryOptions, indexDtfDelegatesQueryOptions, indexDtfExposureQueryOptions, indexDtfGuardiansQueryOptions, indexDtfIssuanceStateQueryOptions, indexDtfListQueryOptions, indexDtfOptimisticGovernanceQueryOptions, indexDtfOptimisticProposalContextQueryOptions, indexDtfOptimisticProposalVoterStateQueryOptions, indexDtfOptimisticTimelockRolesQueryOptions, indexDtfOptimisticVotesQueryOptions, indexDtfPastOptimisticVotesQueryOptions, indexDtfPendingFeeSharesQueryOptions, indexDtfPlatformFeeQueryOptions, indexDtfPriceHistoryQueryOptions, indexDtfPriceQueryOptions, indexDtfProposalDecodeQueryOptions, indexDtfProposalListQueryOptions, indexDtfProposalQueryOptions, indexDtfProposalThrottleChargesQueryOptions, indexDtfProposalVoterStateQueryOptions, indexDtfProposalVotesQueryOptions, indexDtfProposalVotingSnapshotQueryOptions, indexDtfProposalsQueryOptions, indexDtfProposerStateQueryOptions, indexDtfQueryOptions, indexDtfRebalanceAuctionsQueryOptions, indexDtfRebalancesQueryOptions, indexDtfRevenueQueryOptions, indexDtfSelectorRegistryAllowedSelectorsQueryOptions, indexDtfSelectorRegistryIsAllowedQueryOptions, indexDtfSelectorRegistryTargetsQueryOptions, indexDtfStatusQueryOptions, indexDtfTransactionsQueryOptions, indexDtfVersionQueryOptions, indexDtfVoteLockStateQueryOptions, indexDtfVoterStateQueryOptions, mapIndexDtfData, normalizeQueryKeyValue, useAccountPortfolio, useAccountPortfolioHistory, useAccountPortfolioTransactions, useBuildIndexDtfBasketProposal, useBuildIndexDtfBasketSettingsProposal, useBuildIndexDtfDaoSettingsProposal, useBuildIndexDtfSettingsProposal, useCurrentIndexDtf, useCurrentIndexDtfBasket, useDiscoverDtfs, useDtfSdk, useFullIndexDtf, useIndexDtf, useIndexDtfApprovedRevenueTokens, useIndexDtfBasket, useIndexDtfBrand, useIndexDtfCancelProposalCall, useIndexDtfCompletedRebalance, useIndexDtfCompletedRebalances, useIndexDtfCurrentRebalance, useIndexDtfDelegates, useIndexDtfExecuteProposalCall, useIndexDtfExposure, useIndexDtfGuardians, useIndexDtfIdentity, useIndexDtfIssuanceState, useIndexDtfList, useIndexDtfOptimisticGovernance, useIndexDtfOptimisticProposalContext, useIndexDtfOptimisticProposalVoterState, useIndexDtfOptimisticTimelockRoles, useIndexDtfOptimisticVotes, useIndexDtfPastOptimisticVotes, useIndexDtfPendingFeeShares, useIndexDtfPlatformFee, useIndexDtfPrice, useIndexDtfPriceHistory, useIndexDtfProposal, useIndexDtfProposalDecode, useIndexDtfProposalList, useIndexDtfProposalThrottleCharges, useIndexDtfProposalVoterState, useIndexDtfProposalVotes, useIndexDtfProposalVotingSnapshot, useIndexDtfProposals, useIndexDtfProposerState, useIndexDtfQueueProposalCall, useIndexDtfRebalanceAuctions, useIndexDtfRebalances, useIndexDtfRevenue, useIndexDtfSelectorRegistryAllowedSelectors, useIndexDtfSelectorRegistryIsAllowed, useIndexDtfSelectorRegistryTargets, useIndexDtfStatus, useIndexDtfTransactions, useIndexDtfVersion, useIndexDtfVoteCall, useIndexDtfVoteLockState, useIndexDtfVoterState };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reserve-protocol/react-sdk",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "React Query hooks for DTF interface integrations.",
5
5
  "keywords": [
6
6
  "dtf",
@@ -33,7 +33,7 @@
33
33
  "access": "public"
34
34
  },
35
35
  "dependencies": {
36
- "@reserve-protocol/sdk": "0.1.1"
36
+ "@reserve-protocol/sdk": "0.1.2"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@tanstack/react-query": "^5.100.9",