@reserve-protocol/sdk 0.1.1 → 0.1.3
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 +10 -12
- package/dist/index.mjs +63 -90
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _$viem from "viem";
|
|
2
|
-
import { Abi, Address, Chain, ContractFunctionArgs, ContractFunctionName, Hex, Log, PublicClient, ReadContractParameters, ReadContractReturnType,
|
|
2
|
+
import { Abi, Address, Chain, ContractFunctionArgs, ContractFunctionName, Hex, Log, PublicClient, ReadContractParameters, ReadContractReturnType, erc20Abi } from "viem";
|
|
3
3
|
import { RequestDocument, TypedDocumentString, Variables } from "graphql-request";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
import { AuctionMetrics, OpenAuctionArgs, PriceRange, Rebalance, RebalanceLimits, RebalanceLimits as RebalanceLimits$1, TokenRebalanceParams, WeightRange } from "@reserve-protocol/dtf-rebalance-lib";
|
|
@@ -452,22 +452,14 @@ type DtfClientViemChainConfig = {
|
|
|
452
452
|
type DtfClientViemConfig = {
|
|
453
453
|
readonly chains: Partial<Record<SupportedChainId, DtfClientViemChainConfig>>;
|
|
454
454
|
};
|
|
455
|
-
type CreateWalletClientParams = {
|
|
456
|
-
readonly chainId: SupportedChainId;
|
|
457
|
-
readonly privateKey: Hex;
|
|
458
|
-
readonly rpcUrls?: readonly string[];
|
|
459
|
-
};
|
|
460
455
|
type DtfClientReadContractParameters<abi extends Abi | readonly unknown[] = Abi, functionName extends ContractFunctionName<abi, "pure" | "view"> = ContractFunctionName<abi, "pure" | "view">, args extends ContractFunctionArgs<abi, "pure" | "view", functionName> = ContractFunctionArgs<abi, "pure" | "view", functionName>> = ReadContractParameters<abi, functionName, args> & {
|
|
461
456
|
readonly chainId: SupportedChainId;
|
|
462
457
|
};
|
|
463
458
|
type DtfClientViem = {
|
|
464
459
|
readonly getPublicClient: (chainId: SupportedChainId) => PublicClient;
|
|
465
460
|
readonly getRpcUrls: (chainId: SupportedChainId) => readonly string[];
|
|
466
|
-
readonly createWalletClient: (params: CreateWalletClientParams) => WalletClient;
|
|
467
461
|
readonly readContract: <const abi extends Abi | readonly unknown[], functionName extends ContractFunctionName<abi, "pure" | "view">, const args extends ContractFunctionArgs<abi, "pure" | "view", functionName>>(params: DtfClientReadContractParameters<abi, functionName, args>) => Promise<ReadContractReturnType<abi, functionName, args>>;
|
|
468
462
|
};
|
|
469
|
-
/** Creates a viem WalletClient from a private key using the SDK's viem dependency. */
|
|
470
|
-
declare function createWalletClient(params: CreateWalletClientParams): WalletClient;
|
|
471
463
|
//#endregion
|
|
472
464
|
//#region src/client/index.d.ts
|
|
473
465
|
type DtfChainConfig = DtfClientSubgraphChainConfig & DtfClientViemChainConfig;
|
|
@@ -42670,7 +42662,10 @@ declare function prepareIndexDtfBasketApproval(params: PrepareIndexDtfBasketAppr
|
|
|
42670
42662
|
}];
|
|
42671
42663
|
}], "approve">;
|
|
42672
42664
|
/** Applies basis-point slippage to redeem amounts while preserving token order. */
|
|
42673
|
-
declare function getIndexDtfRedeemMinAmounts(
|
|
42665
|
+
declare function getIndexDtfRedeemMinAmounts(params: {
|
|
42666
|
+
readonly amounts: readonly bigint[];
|
|
42667
|
+
readonly slippageBps: number;
|
|
42668
|
+
}): readonly bigint[];
|
|
42674
42669
|
//#endregion
|
|
42675
42670
|
//#region src/index-dtf/dtf/issuance.d.ts
|
|
42676
42671
|
type GetIndexDtfIssuanceStateParams = {
|
|
@@ -43822,7 +43817,10 @@ declare function prepareIndexDtfDeployAssetApproval(params: PrepareIndexDtfDeplo
|
|
|
43822
43817
|
}];
|
|
43823
43818
|
}], "approve">;
|
|
43824
43819
|
declare function prepareIndexDtfDeployAssetApprovals(params: PrepareIndexDtfDeployApprovalsParams): readonly ReturnType<typeof prepareIndexDtfDeployAssetApproval>[];
|
|
43825
|
-
declare function getIndexDtfDeployApprovalAmount(
|
|
43820
|
+
declare function getIndexDtfDeployApprovalAmount(params: {
|
|
43821
|
+
readonly amount: bigint;
|
|
43822
|
+
readonly approvalBufferBps?: number | undefined;
|
|
43823
|
+
}): bigint;
|
|
43826
43824
|
declare function extractIndexDtfDeployedAddress(logs: readonly Log[]): Address;
|
|
43827
43825
|
declare function extractIndexDtfDeployedStakingTokenAddress(logs: readonly Log[]): Address;
|
|
43828
43826
|
//#endregion
|
|
@@ -138243,4 +138241,4 @@ type YieldDtfListItem = Pick<YieldDtf, "address" | "chainId" | "name" | "symbol"
|
|
|
138243
138241
|
readonly performance?: readonly DtfPerformancePoint[];
|
|
138244
138242
|
};
|
|
138245
138243
|
//#endregion
|
|
138246
|
-
export { type AccountPortfolio, AddressAuthority, AmbiguousIndexDtfAlias, Amount, type Asset, Authority, AuthorityGroup, BlockNumber, BuildIndexDtfBasketProposalParams, type BuildIndexDtfBasketSettingsProposalParams, type BuildIndexDtfDaoSettingsProposalParams, type BuildIndexDtfInitialBasketParams, type BuildIndexDtfSettingsProposalParams, type BuildIndexDtfStartRebalanceArgsParams, type BuildIndexDtfStartRebalanceParams, BuiltIndexDtfBasketProposal, BuiltIndexDtfBasketProposalContext, BuiltIndexDtfOpenAuction, type BuiltIndexDtfProposal, type BuiltIndexDtfStartRebalance, type BuiltIndexDtfStartRebalanceAsset, CANCELLER_ROLE, CancelIndexDtfProposalParams, type ContractCall, type ContractCallPlan, type CreateWalletClientParams, DEFAULT_API_BASE_URL, DEFAULT_AUCTION_LAUNCHER_WINDOW, DEFAULT_INDEX_DTF_DEPLOY_FLAGS, DEFAULT_MAX_AUCTION_SIZE_USD, DEFAULT_RPC_URLS, type DecodeIndexDtfProposalParams, type DiscoverDtf, DiscoverIndexDtfsByChainParams, DiscoverIndexDtfsFromSubgraphParams, DiscoverIndexDtfsParams, DtfBasketAsset, DtfBasketSummaryAsset, DtfBrand, type DtfChainConfig, type DtfClient, type DtfClientApi, type DtfClientConfig, type DtfClientExplorer, type DtfClientExplorerContractMetadata, type DtfClientReadContractParameters, type DtfClientSubgraph, type DtfClientSubgraphChainConfig, type DtfClientSubgraphConfig, type DtfClientViem, type DtfClientViemChainConfig, type DtfClientViemConfig, DtfMarketData, DtfParams, DtfPerformancePoint, type DtfSdk, type DtfSdkConfig, DtfStatus, ExecuteIndexDtfProposalParams, FeeRecipients, Fees, Financials, GetAllIndexDtfProposalsParams, type GetAssetListParams, type GetBasketTokenPricesWithSnapshotParams, type GetDiscoverDtfsOptions, type GetDtfPricesParams, GetFullIndexDtfOptions, GetFullIndexDtfParams, type GetHistoricalTokenPricesParams, GetIndexDtfBasketOptions, GetIndexDtfBasketParams, GetIndexDtfBasketSnapshotOptions, GetIndexDtfBasketSnapshotParams, GetIndexDtfBidQuoteParams, GetIndexDtfCompletedRebalanceParams, GetIndexDtfCompletedRebalancesOptions, GetIndexDtfCompletedRebalancesParams, GetIndexDtfDelegatesParams, GetIndexDtfExposureParams, GetIndexDtfGuardiansParams, GetIndexDtfHoldersParams, GetIndexDtfIssuanceStateParams, GetIndexDtfLegacyVoteLocksParams, GetIndexDtfOptimisticGovernanceParams, GetIndexDtfOptimisticProposalContextParams, GetIndexDtfOptimisticProposalVoterStateParams, GetIndexDtfOptimisticVotesParams, GetIndexDtfOptions, GetIndexDtfParams, GetIndexDtfPastOptimisticVotesParams, GetIndexDtfPriceHistoryOptions, GetIndexDtfPriceHistoryParams, GetIndexDtfPriceParams, GetIndexDtfPricesParams, GetIndexDtfProposalParams, GetIndexDtfProposalThrottleChargesParams, GetIndexDtfProposalVoterStateParams, GetIndexDtfProposalVotesParams, GetIndexDtfProposalVotingSnapshotParams, GetIndexDtfProposalsOptions, GetIndexDtfProposalsParams, GetIndexDtfProposerStateParams, GetIndexDtfRebalanceParams, GetIndexDtfRebalancesOptions, GetIndexDtfRebalancesParams, GetIndexDtfTotalAssetsParams, GetIndexDtfTotalSupplyParams, GetIndexDtfTransactionsParams, GetIndexDtfVersionParams, GetIndexDtfVoterStateParams, type GetIndexDtfBasketSnapshotParams$1 as GetReserveApiIndexDtfBasketSnapshotParams, type GetIndexDtfPriceHistoryParams$1 as GetReserveApiIndexDtfPriceHistoryParams, type GetIndexDtfPriceParams$1 as GetReserveApiIndexDtfPriceParams, type GetIndexDtfRebalanceDetailParams as GetReserveApiIndexDtfRebalanceDetailParams, type GetIndexDtfRebalanceHistoryParams as GetReserveApiIndexDtfRebalanceHistoryParams, GetSelectorRegistryIsAllowedParams, GetSelectorRegistryParams, GetSelectorRegistryTargetParams, GetTokenPricesParams, GetTokenVolatilitiesParams, Governance, GovernanceAuthority, INDEX_DTF_DEPLOYER_ADDRESS, INDEX_DTF_GOVERNANCE_DEPLOYER_ADDRESS, INDEX_DTF_SUBGRAPH_URL, IndexDtf, IndexDtfActiveAuction, IndexDtfAdminRoles, IndexDtfAuction, IndexDtfBasket, IndexDtfBasketAsset, IndexDtfBasketAssetWithPrice, type IndexDtfBasketCurrentBalancesInput, type IndexDtfBasketDefinition, type IndexDtfBasketInput, IndexDtfBasketProposalBaseToken, IndexDtfBasketProposalInput, IndexDtfBasketProposalSharesInput, IndexDtfBasketProposalUnitsInput, type IndexDtfBasketSharesInput, IndexDtfBasketSnapshot, type IndexDtfBasketToken, type IndexDtfBasketTokenInput, type IndexDtfBasketUnitsInput, IndexDtfBasketWithPrice, IndexDtfBatchPrice, IndexDtfBid, IndexDtfBidQuote, IndexDtfBrand, IndexDtfBrandProfile, IndexDtfBrandSocials, IndexDtfCall, IndexDtfCatalogEntry, IndexDtfCompletedRebalance, IndexDtfCompletedRebalanceAuction, IndexDtfCompletedRebalanceBid, IndexDtfCompletedRebalanceDetail, IndexDtfCurrentRebalance, IndexDtfCurrentRebalanceState, IndexDtfDecodedCalldata, IndexDtfDecodedContractGroup, IndexDtfDelegate, IndexDtfDelegates, IndexDtfDeployAdditionalDetails, IndexDtfDeployBasicDetails, IndexDtfDeployFlags, IndexDtfDeployGovernanceParams, IndexDtfDeployGovernanceRoles, IndexDtfDeployRevenueDistributionParams, IndexDtfDiscoveryItem, IndexDtfExposureGroup, IndexDtfExposurePeriod, IndexDtfExposureToken, IndexDtfFeeRecipient, IndexDtfFull, IndexDtfGovernance, type IndexDtfGovernanceChanges, IndexDtfGovernanceInput, IndexDtfGuardianGroup, IndexDtfGuardians, IndexDtfHolder, IndexDtfHolderConcentration, IndexDtfHolders, type IndexDtfInitialBasket, IndexDtfInput, IndexDtfIssuanceAsset, IndexDtfIssuanceState, IndexDtfLatestAuction, IndexDtfMarket, IndexDtfOpenAuctionInput, IndexDtfOptimisticGovernance, IndexDtfOptimisticGovernanceParams, IndexDtfOptimisticProposalContext, IndexDtfOptimisticProposalVoterState, IndexDtfOptimisticSelector, IndexDtfPlatformFee, IndexDtfPrice, IndexDtfPriceBasketAsset, IndexDtfPriceBasketToken, IndexDtfPricePoint, IndexDtfProposalActionParams, IndexDtfProposalDecoded, IndexDtfProposalDetail, type IndexDtfProposalDtfContractContext, type IndexDtfProposalGovernanceContractContext, IndexDtfProposalList, IndexDtfProposalPayload, IndexDtfProposalSummary, IndexDtfProposalVote, IndexDtfProposalVoterState, IndexDtfProposalVotes, IndexDtfProposalVotingSnapshot, IndexDtfProposerState, IndexDtfRebalance, IndexDtfRebalanceConfig, type IndexDtfRef, IndexDtfRevenue, IndexDtfRevenueDistribution, type IndexDtfRevenueDistributionInput, type IndexDtfRevenueRecipientInput, IndexDtfRoles, IndexDtfSelectorData, IndexDtfTargetBasketPriceMode, IndexDtfTotalAssets, IndexDtfTransaction, IndexDtfTransactionType, IndexDtfUnknownCalldata, IndexDtfUnknownContractGroup, IndexDtfVoteParams, IndexDtfVoteSupport, IndexDtfVoterState, IndexDtfWriteVersion, ListIndexDtfsParams, OPTIMISTIC_PROPOSER_ROLE, type OpenAuctionArgs, OptimisticGovernanceSettings, type PortfolioIndexDtf, type PortfolioPeriod, type PortfolioReward, type PortfolioTransaction, type PortfolioVoteLock, PrepareIndexDtfAuctionLengthCallParams, type PrepareIndexDtfBasketApprovalParams, PrepareIndexDtfBidParams, PrepareIndexDtfCallParams, PrepareIndexDtfDeployApprovalParams, PrepareIndexDtfDeployApprovalsParams, PrepareIndexDtfDeployGovernedParams, PrepareIndexDtfDeployGovernedPlanParams, PrepareIndexDtfDeployParams, PrepareIndexDtfDeployPlanApprovalParams, PrepareIndexDtfDeployPlanParams, PrepareIndexDtfDeployStakingTokenParams, PrepareIndexDtfGovernorCallParams, type PrepareIndexDtfMintParams, type PrepareIndexDtfMintPlanParams, PrepareIndexDtfOptimisticGovernanceCallParams, PrepareIndexDtfPercentageCallParams, type PrepareIndexDtfRedeemParams, PrepareIndexDtfSetOptimisticParamsParams, PrepareIndexDtfSetRebalanceControlParams, PrepareIndexDtfTimelockCallParams, PrepareIndexDtfTokenCallParams, PrepareSelectorRegistrySelectorsParams, PrepareVoteLockDepositParams, PrepareVoteLockDepositPlanParams, PriceControl, type PriceRange, ProposalState, ProposalVotingState, ProposalVotingThreshold, ProposeIndexDtfProposalParams, type QueryIndexAllSubgraphsOptions, type QueryIndexSubgraphOptions, type QueryYieldSubgraphOptions, QueueIndexDtfProposalParams, ReadVoteLockAccountParams, ReadVoteLockAccountTimepointParams, ReadVoteLockAmountParams, ReadVoteLockCheckpointParams, ReadVoteLockLockParams, ReadVoteLockParams, ReadVoteLockRewardTokenParams, ReadVoteLockSharesParams, ReadVoteLockTimepointParams, ReadVoteLockUnderlyingAllowanceParams, ReadVoteLockUnderlyingBalanceParams, ReadVoteLockUnstakingManagerParams, ReadVoteLockUserRewardTrackerParams, type Rebalance, type RebalanceLimits, type ReserveApiDtfBasketToken, type ReserveApiDtfPrice, type ReserveApiHistoricalTokenPrices, type ReserveApiIndexDtfBasketSnapshot, type ReserveApiIndexDtfPrice, type ReserveApiIndexDtfPriceHistory, type ReserveApiIndexDtfRebalanceDetail, type ReserveApiIndexDtfRebalanceHistoryItem, ResolveIndexDtfAliasParams, ResolvedIndexDtfAlias, SUPPORTED_CHAINS, SdkError, type SdkErrorCode, type SdkErrorMeta, type SdkErrorOptions, type StartRebalanceArgsV5, type SubgraphDocument, SubmitOptimisticIndexDtfProposalParams, type SupportedChainId, Timelock, Token, TokenPrice, type TokenPriceWithSnapshot, TokenSnapshot, TokenVolatility, TokenWithSnapshot, VoteIndexDtfProposalParams, VoteLockDao, VoteLockState, VoteLockVault, type WeightRange, YIELD_DTF_SUBGRAPH_URL, YieldDtf, YieldDtfListItem, buildIndexDtfBasketProposal, buildIndexDtfBasketSettingsProposal, buildIndexDtfDaoSettingsProposal, buildIndexDtfDeployFeeRecipients, buildInitialBasket as buildIndexDtfInitialBasket, buildInitialBasket, buildIndexDtfSettingsProposal, buildIndexDtfStartRebalance, buildStartRebalanceArgs as buildIndexDtfStartRebalanceArgs, buildStartRebalanceArgs, createDtfClient, createDtfSdk, createIndexDtfNamespace, createIndexDtfRef, createPortfolioNamespace, createWalletClient, decodeIndexDtfProposal, decodeIndexDtfProposalCalldatas, discoverIndexDtfs, discoverIndexDtfsByChain, discoverIndexDtfsFromSubgraph, dtfCatalog, dtfIndexAbi, dtfIndexGovernanceAbi, dtfIndexGovernanceOptimisticAbi, dtfIndexGovernanceProposalAbi, dtfIndexStakingVaultAbi, dtfIndexStakingVaultOptimisticAbi, extractIndexDtfDeployedAddress, extractIndexDtfDeployedStakingTokenAddress, generateIndexDtfDeploymentNonce, getAccountPortfolio, getAccountPortfolioHistory, getAccountPortfolioTransactions, getActiveAuction, getActiveAuction as getIndexDtfActiveAuction, getAllProposals as getAllIndexDtfProposals, getBasketSharesFromUnits, getBasketSharesFromUnits as getIndexDtfBasketSharesFromUnits, getBasketUnitsFromShares, getBasketUnitsFromShares as getIndexDtfBasketUnitsFromShares, getBidQuote, getBidQuote as getIndexDtfBidQuote, getCompletedRebalance, getCompletedRebalance as getIndexDtfCompletedRebalance, getCompletedRebalances, getCompletedRebalances as getIndexDtfCompletedRebalances, getDiscoverDtfs, getDtf, getDtfPriceFromBalances, getDtfPriceFromBalances as getIndexDtfPriceFromBalances, getEffectiveRevenueDistribution, getEffectiveRevenueDistribution as getIndexDtfEffectiveRevenueDistribution, getFull as getFullIndexDtf, getFull as getIndexDtf, getIndexDtfApprovedRevenueTokens, getAssetList as getIndexDtfAssetList, getBasket as getIndexDtfBasket, getBasketSnapshot as getIndexDtfBasketSnapshot, getBasketWithPrice as getIndexDtfBasketWithPrice, getIndexDtfBidsEnabled, getBrand as getIndexDtfBrand, getIndexDtfCatalogEntries, getIndexDtfCurrentRebalance, getDelegates as getIndexDtfDelegates, getIndexDtfDeployApprovalAmount, getIndexDtfExposure, getGuardians as getIndexDtfGuardians, getIndexDtfHolders, getIndexDtfIssuanceState, getLatestAuction as getIndexDtfLatestAuction, getLatestAuction, getLegacyVoteLocks as getIndexDtfLegacyVoteLocks, getMandate as getIndexDtfMandate, getOptimisticGovernance as getIndexDtfOptimisticGovernance, getOptimisticProposalContext as getIndexDtfOptimisticProposalContext, getOptimisticProposalVoterState as getIndexDtfOptimisticProposalVoterState, getOptimisticSelectors as getIndexDtfOptimisticSelectors, getOptimisticSelectors, getOptimisticTimelockRoles as getIndexDtfOptimisticTimelockRoles, getOptimisticVotes as getIndexDtfOptimisticVotes, getPastOptimisticVotes as getIndexDtfPastOptimisticVotes, getIndexDtfPendingFeeShares, getIndexDtfPlatformFee, getPrice as getIndexDtfPrice, getPriceHistory as getIndexDtfPriceHistory, getPrices as getIndexDtfPrices, getProposal as getIndexDtfProposal, getProposalGovernanceAddresses as getIndexDtfProposalGovernanceAddresses, getProposalList as getIndexDtfProposalList, getProposalState as getIndexDtfProposalState, getProposalState, getProposalThrottleCharges as getIndexDtfProposalThrottleCharges, getProposalVoterState as getIndexDtfProposalVoterState, getProposalVotes as getIndexDtfProposalVotes, getProposalVotingSnapshot as getIndexDtfProposalVotingSnapshot, getProposals as getIndexDtfProposals, getProposerState as getIndexDtfProposerState, getRebalance as getIndexDtfRebalance, getRebalance, getRebalanceAuctions as getIndexDtfRebalanceAuctions, getRebalanceAuctions, getIndexDtfRebalanceControl, getRebalances as getIndexDtfRebalances, getRebalances, getIndexDtfRedeemMinAmounts, getIndexDtfRevenue, getSelectorRegistryAllowedSelectors as getIndexDtfSelectorRegistryAllowedSelectors, getSelectorRegistryAllowedSelectors, getSelectorRegistryIsAllowed as getIndexDtfSelectorRegistryIsAllowed, getSelectorRegistryIsAllowed, getSelectorRegistryTargets as getIndexDtfSelectorRegistryTargets, getSelectorRegistryTargets, getIndexDtfStatus, getIndexDtfStatuses, getTotalAssets as getIndexDtfTotalAssets, getTotalSupply as getIndexDtfTotalSupply, getIndexDtfTransactions, getVersion as getIndexDtfVersion, getVoteLockDao as getIndexDtfVoteLockDao, getVoteLockDao, getVoteLockDaos as getIndexDtfVoteLockDaos, getVoteLockDaos, getVoteLockState as getIndexDtfVoteLockState, getVoteLockState, getVoterState as getIndexDtfVoterState, getTokenData, getTokenPrices, getTokenVolatilities, getTokensData, hashIndexDtfProposalDescription, indexDtfBasketSchema as indexDtfBasketProposalSchema, indexDtfBasketSchema, indexDtfBasketTokenSchema as indexDtfBasketProposalTokenSchema, indexDtfBasketTokenSchema, indexDtfBasketSettingsProposalSchema, indexDtfBasketSharesSchema as indexDtfBasketSharesProposalSchema, indexDtfBasketSharesSchema, indexDtfBasketUnitsSchema as indexDtfBasketUnitsProposalSchema, indexDtfBasketUnitsSchema, indexDtfCatalog, indexDtfDaoSettingsProposalSchema, indexDtfGovernanceChangesSchema, indexDtfSettingsProposalSchema, indexDtfV5WriteAbi, indexDtfV6WriteAbi, isSdkError, listIndexDtfs, mapCurrentRebalance, prepareContractCall, prepareErc20Approval, prepareIndexDtfAddToAllowlist, prepareIndexDtfAddToBasket, prepareIndexDtfBasketApproval, prepareIndexDtfBid, prepareIndexDtfCancelProposal, prepareIndexDtfCloseAuction, prepareIndexDtfDeploy, prepareIndexDtfDeployAssetApproval, prepareIndexDtfDeployAssetApprovals, prepareIndexDtfDeployGoverned, prepareIndexDtfDeployGovernedPlan, prepareIndexDtfDeployPlan, prepareIndexDtfDeployStakingToken, prepareIndexDtfDeprecate, prepareIndexDtfDistributeFees, prepareIndexDtfEndRebalance, prepareIndexDtfExecuteProposal, prepareIndexDtfGovernorCancelProposal, prepareIndexDtfMint, prepareIndexDtfMintPlan, prepareIndexDtfOpenAuction, prepareIndexDtfOpenAuctionArgs, prepareIndexDtfOpenAuctionUnrestricted, prepareIndexDtfQueueProposal, prepareIndexDtfRedeem, prepareIndexDtfRelay, prepareIndexDtfRemoveFromAllowlist, prepareIndexDtfRemoveFromBasket, prepareIndexDtfRevokeOptimisticProposer, prepareIndexDtfSetAuctionLength, prepareIndexDtfSetBidsEnabled, prepareIndexDtfSetFeeRecipients, prepareIndexDtfSetLateQuorumVoteExtension, prepareIndexDtfSetMandate, prepareIndexDtfSetMintFee, prepareIndexDtfSetName, prepareIndexDtfSetOptimisticParams, prepareIndexDtfSetProposalThrottle, prepareIndexDtfSetRebalanceControl, prepareIndexDtfSetSelfFee, prepareIndexDtfSetTradeAllowlistEnabled, prepareIndexDtfSetTrustedFillerRegistry, prepareIndexDtfSetTvlFee, prepareIndexDtfSubmitOptimisticProposal, prepareIndexDtfSubmitProposal, prepareIndexDtfTimelockDelay, prepareIndexDtfTimelockExecuteBatch, prepareIndexDtfTimelockGrantRole, prepareIndexDtfTimelockRevokeRole, prepareIndexDtfUpdateTimelock, prepareIndexDtfVote, prepareIndexDtfVoteWithReason, prepareIndexDtfVoteWithReasonAndParams, prepareSelectorRegistryRegisterSelectors, prepareSelectorRegistryUnregisterSelectors, prepareVoteLockAddRewardToken, prepareVoteLockCancelLock, prepareVoteLockClaimLock, prepareVoteLockClaimRewards, prepareVoteLockDelegate, prepareVoteLockDelegateOptimistic, prepareVoteLockDeposit, prepareVoteLockDepositPlan, prepareVoteLockPoke, prepareVoteLockRemoveRewardToken, prepareVoteLockSetRewardRatio, prepareVoteLockSetUnstakingDelay, prepareVoteLockWithdraw, readVoteLockAllRewardTokens, readVoteLockAsset, readVoteLockBalanceOf, readVoteLockCheckpoint, readVoteLockClock, readVoteLockClockMode, readVoteLockConvertToAssets, readVoteLockConvertToShares, readVoteLockDelegates, readVoteLockDisallowedRewardToken, readVoteLockGetPastTotalSupply, readVoteLockGetPastVotes, readVoteLockGetVotes, readVoteLockLock, readVoteLockMaxDeposit, readVoteLockMaxMint, readVoteLockMaxRedeem, readVoteLockMaxWithdraw, readVoteLockNumCheckpoints, readVoteLockOptimisticDelegates, readVoteLockOptimisticVotes, readVoteLockPastOptimisticVotes, readVoteLockPreviewDeposit, readVoteLockPreviewMint, readVoteLockPreviewRedeem, readVoteLockPreviewWithdraw, readVoteLockRewardRatio, readVoteLockRewardTracker, readVoteLockTotalAssets, readVoteLockTotalSupply, readVoteLockUnderlyingAllowance, readVoteLockUnderlyingBalance, readVoteLockUnstakingDelay, readVoteLockUnstakingManager, readVoteLockUnstakingTargetToken, readVoteLockUnstakingVault, readVoteLockUserRewardTracker, resolveIndexDtfAlias, supportedChainIds, yieldDtfCatalog };
|
|
138244
|
+
export { type AccountPortfolio, AddressAuthority, AmbiguousIndexDtfAlias, Amount, type Asset, Authority, AuthorityGroup, BlockNumber, BuildIndexDtfBasketProposalParams, type BuildIndexDtfBasketSettingsProposalParams, type BuildIndexDtfDaoSettingsProposalParams, type BuildIndexDtfInitialBasketParams, type BuildIndexDtfSettingsProposalParams, type BuildIndexDtfStartRebalanceArgsParams, type BuildIndexDtfStartRebalanceParams, BuiltIndexDtfBasketProposal, BuiltIndexDtfBasketProposalContext, BuiltIndexDtfOpenAuction, type BuiltIndexDtfProposal, type BuiltIndexDtfStartRebalance, type BuiltIndexDtfStartRebalanceAsset, CANCELLER_ROLE, CancelIndexDtfProposalParams, type ContractCall, type ContractCallPlan, DEFAULT_API_BASE_URL, DEFAULT_AUCTION_LAUNCHER_WINDOW, DEFAULT_INDEX_DTF_DEPLOY_FLAGS, DEFAULT_MAX_AUCTION_SIZE_USD, DEFAULT_RPC_URLS, type DecodeIndexDtfProposalParams, type DiscoverDtf, DiscoverIndexDtfsByChainParams, DiscoverIndexDtfsFromSubgraphParams, DiscoverIndexDtfsParams, DtfBasketAsset, DtfBasketSummaryAsset, DtfBrand, type DtfChainConfig, type DtfClient, type DtfClientApi, type DtfClientConfig, type DtfClientExplorer, type DtfClientExplorerContractMetadata, type DtfClientReadContractParameters, type DtfClientSubgraph, type DtfClientSubgraphChainConfig, type DtfClientSubgraphConfig, type DtfClientViem, type DtfClientViemChainConfig, type DtfClientViemConfig, DtfMarketData, DtfParams, DtfPerformancePoint, type DtfSdk, type DtfSdkConfig, DtfStatus, ExecuteIndexDtfProposalParams, FeeRecipients, Fees, Financials, GetAllIndexDtfProposalsParams, type GetAssetListParams, type GetBasketTokenPricesWithSnapshotParams, type GetDiscoverDtfsOptions, type GetDtfPricesParams, GetFullIndexDtfOptions, GetFullIndexDtfParams, type GetHistoricalTokenPricesParams, GetIndexDtfBasketOptions, GetIndexDtfBasketParams, GetIndexDtfBasketSnapshotOptions, GetIndexDtfBasketSnapshotParams, GetIndexDtfBidQuoteParams, GetIndexDtfCompletedRebalanceParams, GetIndexDtfCompletedRebalancesOptions, GetIndexDtfCompletedRebalancesParams, GetIndexDtfDelegatesParams, GetIndexDtfExposureParams, GetIndexDtfGuardiansParams, GetIndexDtfHoldersParams, GetIndexDtfIssuanceStateParams, GetIndexDtfLegacyVoteLocksParams, GetIndexDtfOptimisticGovernanceParams, GetIndexDtfOptimisticProposalContextParams, GetIndexDtfOptimisticProposalVoterStateParams, GetIndexDtfOptimisticVotesParams, GetIndexDtfOptions, GetIndexDtfParams, GetIndexDtfPastOptimisticVotesParams, GetIndexDtfPriceHistoryOptions, GetIndexDtfPriceHistoryParams, GetIndexDtfPriceParams, GetIndexDtfPricesParams, GetIndexDtfProposalParams, GetIndexDtfProposalThrottleChargesParams, GetIndexDtfProposalVoterStateParams, GetIndexDtfProposalVotesParams, GetIndexDtfProposalVotingSnapshotParams, GetIndexDtfProposalsOptions, GetIndexDtfProposalsParams, GetIndexDtfProposerStateParams, GetIndexDtfRebalanceParams, GetIndexDtfRebalancesOptions, GetIndexDtfRebalancesParams, GetIndexDtfTotalAssetsParams, GetIndexDtfTotalSupplyParams, GetIndexDtfTransactionsParams, GetIndexDtfVersionParams, GetIndexDtfVoterStateParams, type GetIndexDtfBasketSnapshotParams$1 as GetReserveApiIndexDtfBasketSnapshotParams, type GetIndexDtfPriceHistoryParams$1 as GetReserveApiIndexDtfPriceHistoryParams, type GetIndexDtfPriceParams$1 as GetReserveApiIndexDtfPriceParams, type GetIndexDtfRebalanceDetailParams as GetReserveApiIndexDtfRebalanceDetailParams, type GetIndexDtfRebalanceHistoryParams as GetReserveApiIndexDtfRebalanceHistoryParams, GetSelectorRegistryIsAllowedParams, GetSelectorRegistryParams, GetSelectorRegistryTargetParams, GetTokenPricesParams, GetTokenVolatilitiesParams, Governance, GovernanceAuthority, INDEX_DTF_DEPLOYER_ADDRESS, INDEX_DTF_GOVERNANCE_DEPLOYER_ADDRESS, INDEX_DTF_SUBGRAPH_URL, IndexDtf, IndexDtfActiveAuction, IndexDtfAdminRoles, IndexDtfAuction, IndexDtfBasket, IndexDtfBasketAsset, IndexDtfBasketAssetWithPrice, type IndexDtfBasketCurrentBalancesInput, type IndexDtfBasketDefinition, type IndexDtfBasketInput, IndexDtfBasketProposalBaseToken, IndexDtfBasketProposalInput, IndexDtfBasketProposalSharesInput, IndexDtfBasketProposalUnitsInput, type IndexDtfBasketSharesInput, IndexDtfBasketSnapshot, type IndexDtfBasketToken, type IndexDtfBasketTokenInput, type IndexDtfBasketUnitsInput, IndexDtfBasketWithPrice, IndexDtfBatchPrice, IndexDtfBid, IndexDtfBidQuote, IndexDtfBrand, IndexDtfBrandProfile, IndexDtfBrandSocials, IndexDtfCall, IndexDtfCatalogEntry, IndexDtfCompletedRebalance, IndexDtfCompletedRebalanceAuction, IndexDtfCompletedRebalanceBid, IndexDtfCompletedRebalanceDetail, IndexDtfCurrentRebalance, IndexDtfCurrentRebalanceState, IndexDtfDecodedCalldata, IndexDtfDecodedContractGroup, IndexDtfDelegate, IndexDtfDelegates, IndexDtfDeployAdditionalDetails, IndexDtfDeployBasicDetails, IndexDtfDeployFlags, IndexDtfDeployGovernanceParams, IndexDtfDeployGovernanceRoles, IndexDtfDeployRevenueDistributionParams, IndexDtfDiscoveryItem, IndexDtfExposureGroup, IndexDtfExposurePeriod, IndexDtfExposureToken, IndexDtfFeeRecipient, IndexDtfFull, IndexDtfGovernance, type IndexDtfGovernanceChanges, IndexDtfGovernanceInput, IndexDtfGuardianGroup, IndexDtfGuardians, IndexDtfHolder, IndexDtfHolderConcentration, IndexDtfHolders, type IndexDtfInitialBasket, IndexDtfInput, IndexDtfIssuanceAsset, IndexDtfIssuanceState, IndexDtfLatestAuction, IndexDtfMarket, IndexDtfOpenAuctionInput, IndexDtfOptimisticGovernance, IndexDtfOptimisticGovernanceParams, IndexDtfOptimisticProposalContext, IndexDtfOptimisticProposalVoterState, IndexDtfOptimisticSelector, IndexDtfPlatformFee, IndexDtfPrice, IndexDtfPriceBasketAsset, IndexDtfPriceBasketToken, IndexDtfPricePoint, IndexDtfProposalActionParams, IndexDtfProposalDecoded, IndexDtfProposalDetail, type IndexDtfProposalDtfContractContext, type IndexDtfProposalGovernanceContractContext, IndexDtfProposalList, IndexDtfProposalPayload, IndexDtfProposalSummary, IndexDtfProposalVote, IndexDtfProposalVoterState, IndexDtfProposalVotes, IndexDtfProposalVotingSnapshot, IndexDtfProposerState, IndexDtfRebalance, IndexDtfRebalanceConfig, type IndexDtfRef, IndexDtfRevenue, IndexDtfRevenueDistribution, type IndexDtfRevenueDistributionInput, type IndexDtfRevenueRecipientInput, IndexDtfRoles, IndexDtfSelectorData, IndexDtfTargetBasketPriceMode, IndexDtfTotalAssets, IndexDtfTransaction, IndexDtfTransactionType, IndexDtfUnknownCalldata, IndexDtfUnknownContractGroup, IndexDtfVoteParams, IndexDtfVoteSupport, IndexDtfVoterState, IndexDtfWriteVersion, ListIndexDtfsParams, OPTIMISTIC_PROPOSER_ROLE, type OpenAuctionArgs, OptimisticGovernanceSettings, type PortfolioIndexDtf, type PortfolioPeriod, type PortfolioReward, type PortfolioTransaction, type PortfolioVoteLock, PrepareIndexDtfAuctionLengthCallParams, type PrepareIndexDtfBasketApprovalParams, PrepareIndexDtfBidParams, PrepareIndexDtfCallParams, PrepareIndexDtfDeployApprovalParams, PrepareIndexDtfDeployApprovalsParams, PrepareIndexDtfDeployGovernedParams, PrepareIndexDtfDeployGovernedPlanParams, PrepareIndexDtfDeployParams, PrepareIndexDtfDeployPlanApprovalParams, PrepareIndexDtfDeployPlanParams, PrepareIndexDtfDeployStakingTokenParams, PrepareIndexDtfGovernorCallParams, type PrepareIndexDtfMintParams, type PrepareIndexDtfMintPlanParams, PrepareIndexDtfOptimisticGovernanceCallParams, PrepareIndexDtfPercentageCallParams, type PrepareIndexDtfRedeemParams, PrepareIndexDtfSetOptimisticParamsParams, PrepareIndexDtfSetRebalanceControlParams, PrepareIndexDtfTimelockCallParams, PrepareIndexDtfTokenCallParams, PrepareSelectorRegistrySelectorsParams, PrepareVoteLockDepositParams, PrepareVoteLockDepositPlanParams, PriceControl, type PriceRange, ProposalState, ProposalVotingState, ProposalVotingThreshold, ProposeIndexDtfProposalParams, type QueryIndexAllSubgraphsOptions, type QueryIndexSubgraphOptions, type QueryYieldSubgraphOptions, QueueIndexDtfProposalParams, ReadVoteLockAccountParams, ReadVoteLockAccountTimepointParams, ReadVoteLockAmountParams, ReadVoteLockCheckpointParams, ReadVoteLockLockParams, ReadVoteLockParams, ReadVoteLockRewardTokenParams, ReadVoteLockSharesParams, ReadVoteLockTimepointParams, ReadVoteLockUnderlyingAllowanceParams, ReadVoteLockUnderlyingBalanceParams, ReadVoteLockUnstakingManagerParams, ReadVoteLockUserRewardTrackerParams, type Rebalance, type RebalanceLimits, type ReserveApiDtfBasketToken, type ReserveApiDtfPrice, type ReserveApiHistoricalTokenPrices, type ReserveApiIndexDtfBasketSnapshot, type ReserveApiIndexDtfPrice, type ReserveApiIndexDtfPriceHistory, type ReserveApiIndexDtfRebalanceDetail, type ReserveApiIndexDtfRebalanceHistoryItem, ResolveIndexDtfAliasParams, ResolvedIndexDtfAlias, SUPPORTED_CHAINS, SdkError, type SdkErrorCode, type SdkErrorMeta, type SdkErrorOptions, type StartRebalanceArgsV5, type SubgraphDocument, SubmitOptimisticIndexDtfProposalParams, type SupportedChainId, Timelock, Token, TokenPrice, type TokenPriceWithSnapshot, TokenSnapshot, TokenVolatility, TokenWithSnapshot, VoteIndexDtfProposalParams, VoteLockDao, VoteLockState, VoteLockVault, type WeightRange, YIELD_DTF_SUBGRAPH_URL, YieldDtf, YieldDtfListItem, buildIndexDtfBasketProposal, buildIndexDtfBasketSettingsProposal, buildIndexDtfDaoSettingsProposal, buildIndexDtfDeployFeeRecipients, buildInitialBasket as buildIndexDtfInitialBasket, buildInitialBasket, buildIndexDtfSettingsProposal, buildIndexDtfStartRebalance, buildStartRebalanceArgs as buildIndexDtfStartRebalanceArgs, buildStartRebalanceArgs, createDtfClient, createDtfSdk, createIndexDtfNamespace, createIndexDtfRef, createPortfolioNamespace, decodeIndexDtfProposal, decodeIndexDtfProposalCalldatas, discoverIndexDtfs, discoverIndexDtfsByChain, discoverIndexDtfsFromSubgraph, dtfCatalog, dtfIndexAbi, dtfIndexGovernanceAbi, dtfIndexGovernanceOptimisticAbi, dtfIndexGovernanceProposalAbi, dtfIndexStakingVaultAbi, dtfIndexStakingVaultOptimisticAbi, extractIndexDtfDeployedAddress, extractIndexDtfDeployedStakingTokenAddress, generateIndexDtfDeploymentNonce, getAccountPortfolio, getAccountPortfolioHistory, getAccountPortfolioTransactions, getActiveAuction, getActiveAuction as getIndexDtfActiveAuction, getAllProposals as getAllIndexDtfProposals, getBasketSharesFromUnits, getBasketSharesFromUnits as getIndexDtfBasketSharesFromUnits, getBasketUnitsFromShares, getBasketUnitsFromShares as getIndexDtfBasketUnitsFromShares, getBidQuote, getBidQuote as getIndexDtfBidQuote, getCompletedRebalance, getCompletedRebalance as getIndexDtfCompletedRebalance, getCompletedRebalances, getCompletedRebalances as getIndexDtfCompletedRebalances, getDiscoverDtfs, getDtf, getDtfPriceFromBalances, getDtfPriceFromBalances as getIndexDtfPriceFromBalances, getEffectiveRevenueDistribution, getEffectiveRevenueDistribution as getIndexDtfEffectiveRevenueDistribution, getFull as getFullIndexDtf, getFull as getIndexDtf, getIndexDtfApprovedRevenueTokens, getAssetList as getIndexDtfAssetList, getBasket as getIndexDtfBasket, getBasketSnapshot as getIndexDtfBasketSnapshot, getBasketWithPrice as getIndexDtfBasketWithPrice, getIndexDtfBidsEnabled, getBrand as getIndexDtfBrand, getIndexDtfCatalogEntries, getIndexDtfCurrentRebalance, getDelegates as getIndexDtfDelegates, getIndexDtfDeployApprovalAmount, getIndexDtfExposure, getGuardians as getIndexDtfGuardians, getIndexDtfHolders, getIndexDtfIssuanceState, getLatestAuction as getIndexDtfLatestAuction, getLatestAuction, getLegacyVoteLocks as getIndexDtfLegacyVoteLocks, getMandate as getIndexDtfMandate, getOptimisticGovernance as getIndexDtfOptimisticGovernance, getOptimisticProposalContext as getIndexDtfOptimisticProposalContext, getOptimisticProposalVoterState as getIndexDtfOptimisticProposalVoterState, getOptimisticSelectors as getIndexDtfOptimisticSelectors, getOptimisticSelectors, getOptimisticTimelockRoles as getIndexDtfOptimisticTimelockRoles, getOptimisticVotes as getIndexDtfOptimisticVotes, getPastOptimisticVotes as getIndexDtfPastOptimisticVotes, getIndexDtfPendingFeeShares, getIndexDtfPlatformFee, getPrice as getIndexDtfPrice, getPriceHistory as getIndexDtfPriceHistory, getPrices as getIndexDtfPrices, getProposal as getIndexDtfProposal, getProposalGovernanceAddresses as getIndexDtfProposalGovernanceAddresses, getProposalList as getIndexDtfProposalList, getProposalState as getIndexDtfProposalState, getProposalState, getProposalThrottleCharges as getIndexDtfProposalThrottleCharges, getProposalVoterState as getIndexDtfProposalVoterState, getProposalVotes as getIndexDtfProposalVotes, getProposalVotingSnapshot as getIndexDtfProposalVotingSnapshot, getProposals as getIndexDtfProposals, getProposerState as getIndexDtfProposerState, getRebalance as getIndexDtfRebalance, getRebalance, getRebalanceAuctions as getIndexDtfRebalanceAuctions, getRebalanceAuctions, getIndexDtfRebalanceControl, getRebalances as getIndexDtfRebalances, getRebalances, getIndexDtfRedeemMinAmounts, getIndexDtfRevenue, getSelectorRegistryAllowedSelectors as getIndexDtfSelectorRegistryAllowedSelectors, getSelectorRegistryAllowedSelectors, getSelectorRegistryIsAllowed as getIndexDtfSelectorRegistryIsAllowed, getSelectorRegistryIsAllowed, getSelectorRegistryTargets as getIndexDtfSelectorRegistryTargets, getSelectorRegistryTargets, getIndexDtfStatus, getIndexDtfStatuses, getTotalAssets as getIndexDtfTotalAssets, getTotalSupply as getIndexDtfTotalSupply, getIndexDtfTransactions, getVersion as getIndexDtfVersion, getVoteLockDao as getIndexDtfVoteLockDao, getVoteLockDao, getVoteLockDaos as getIndexDtfVoteLockDaos, getVoteLockDaos, getVoteLockState as getIndexDtfVoteLockState, getVoteLockState, getVoterState as getIndexDtfVoterState, getTokenData, getTokenPrices, getTokenVolatilities, getTokensData, hashIndexDtfProposalDescription, indexDtfBasketSchema as indexDtfBasketProposalSchema, indexDtfBasketSchema, indexDtfBasketTokenSchema as indexDtfBasketProposalTokenSchema, indexDtfBasketTokenSchema, indexDtfBasketSettingsProposalSchema, indexDtfBasketSharesSchema as indexDtfBasketSharesProposalSchema, indexDtfBasketSharesSchema, indexDtfBasketUnitsSchema as indexDtfBasketUnitsProposalSchema, indexDtfBasketUnitsSchema, indexDtfCatalog, indexDtfDaoSettingsProposalSchema, indexDtfGovernanceChangesSchema, indexDtfSettingsProposalSchema, indexDtfV5WriteAbi, indexDtfV6WriteAbi, isSdkError, listIndexDtfs, mapCurrentRebalance, prepareContractCall, prepareErc20Approval, prepareIndexDtfAddToAllowlist, prepareIndexDtfAddToBasket, prepareIndexDtfBasketApproval, prepareIndexDtfBid, prepareIndexDtfCancelProposal, prepareIndexDtfCloseAuction, prepareIndexDtfDeploy, prepareIndexDtfDeployAssetApproval, prepareIndexDtfDeployAssetApprovals, prepareIndexDtfDeployGoverned, prepareIndexDtfDeployGovernedPlan, prepareIndexDtfDeployPlan, prepareIndexDtfDeployStakingToken, prepareIndexDtfDeprecate, prepareIndexDtfDistributeFees, prepareIndexDtfEndRebalance, prepareIndexDtfExecuteProposal, prepareIndexDtfGovernorCancelProposal, prepareIndexDtfMint, prepareIndexDtfMintPlan, prepareIndexDtfOpenAuction, prepareIndexDtfOpenAuctionArgs, prepareIndexDtfOpenAuctionUnrestricted, prepareIndexDtfQueueProposal, prepareIndexDtfRedeem, prepareIndexDtfRelay, prepareIndexDtfRemoveFromAllowlist, prepareIndexDtfRemoveFromBasket, prepareIndexDtfRevokeOptimisticProposer, prepareIndexDtfSetAuctionLength, prepareIndexDtfSetBidsEnabled, prepareIndexDtfSetFeeRecipients, prepareIndexDtfSetLateQuorumVoteExtension, prepareIndexDtfSetMandate, prepareIndexDtfSetMintFee, prepareIndexDtfSetName, prepareIndexDtfSetOptimisticParams, prepareIndexDtfSetProposalThrottle, prepareIndexDtfSetRebalanceControl, prepareIndexDtfSetSelfFee, prepareIndexDtfSetTradeAllowlistEnabled, prepareIndexDtfSetTrustedFillerRegistry, prepareIndexDtfSetTvlFee, prepareIndexDtfSubmitOptimisticProposal, prepareIndexDtfSubmitProposal, prepareIndexDtfTimelockDelay, prepareIndexDtfTimelockExecuteBatch, prepareIndexDtfTimelockGrantRole, prepareIndexDtfTimelockRevokeRole, prepareIndexDtfUpdateTimelock, prepareIndexDtfVote, prepareIndexDtfVoteWithReason, prepareIndexDtfVoteWithReasonAndParams, prepareSelectorRegistryRegisterSelectors, prepareSelectorRegistryUnregisterSelectors, prepareVoteLockAddRewardToken, prepareVoteLockCancelLock, prepareVoteLockClaimLock, prepareVoteLockClaimRewards, prepareVoteLockDelegate, prepareVoteLockDelegateOptimistic, prepareVoteLockDeposit, prepareVoteLockDepositPlan, prepareVoteLockPoke, prepareVoteLockRemoveRewardToken, prepareVoteLockSetRewardRatio, prepareVoteLockSetUnstakingDelay, prepareVoteLockWithdraw, readVoteLockAllRewardTokens, readVoteLockAsset, readVoteLockBalanceOf, readVoteLockCheckpoint, readVoteLockClock, readVoteLockClockMode, readVoteLockConvertToAssets, readVoteLockConvertToShares, readVoteLockDelegates, readVoteLockDisallowedRewardToken, readVoteLockGetPastTotalSupply, readVoteLockGetPastVotes, readVoteLockGetVotes, readVoteLockLock, readVoteLockMaxDeposit, readVoteLockMaxMint, readVoteLockMaxRedeem, readVoteLockMaxWithdraw, readVoteLockNumCheckpoints, readVoteLockOptimisticDelegates, readVoteLockOptimisticVotes, readVoteLockPastOptimisticVotes, readVoteLockPreviewDeposit, readVoteLockPreviewMint, readVoteLockPreviewRedeem, readVoteLockPreviewWithdraw, readVoteLockRewardRatio, readVoteLockRewardTracker, readVoteLockTotalAssets, readVoteLockTotalSupply, readVoteLockUnderlyingAllowance, readVoteLockUnderlyingBalance, readVoteLockUnstakingDelay, readVoteLockUnstakingManager, readVoteLockUnstakingTargetToken, readVoteLockUnstakingVault, readVoteLockUserRewardTracker, resolveIndexDtfAlias, supportedChainIds, yieldDtfCatalog };
|
package/dist/index.mjs
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { bytesToHex, createPublicClient,
|
|
1
|
+
import { bytesToHex, createPublicClient, decodeFunctionData, encodeAbiParameters, encodeFunctionData, erc20Abi, fallback, formatUnits, getAbiItem, getAddress, hexToBytes, http, isAddress, keccak256, pad, parseAbiParameters, parseEther, parseEventLogs, parseUnits, toBytes, zeroAddress, zeroHash } from "viem";
|
|
2
2
|
import { base, bsc, mainnet } from "viem/chains";
|
|
3
3
|
import { ClientError, request } from "graphql-request";
|
|
4
|
-
import { privateKeyToAccount } from "viem/accounts";
|
|
5
4
|
import DecimalModule from "decimal.js-light";
|
|
6
5
|
import { z } from "zod";
|
|
7
6
|
import { D18d, D18n, Decimal, FolioVersion, getBasketDistribution, getOpenAuction, getStartRebalance, getTargetBasket } from "@reserve-protocol/dtf-rebalance-lib";
|
|
@@ -506,14 +505,6 @@ function createDtfClientViem({ chains }) {
|
|
|
506
505
|
getRpcUrls(chainId) {
|
|
507
506
|
return getChainConfig(chains, chainId).rpcUrls ?? [];
|
|
508
507
|
},
|
|
509
|
-
createWalletClient(params) {
|
|
510
|
-
const chainConfig = getChainConfig(chains, params.chainId);
|
|
511
|
-
return createConfiguredWalletClient({
|
|
512
|
-
...params,
|
|
513
|
-
chain: chainConfig.chain,
|
|
514
|
-
rpcUrls: params.rpcUrls ?? chainConfig.rpcUrls
|
|
515
|
-
});
|
|
516
|
-
},
|
|
517
508
|
readContract({ chainId, ...params }) {
|
|
518
509
|
return viem.getPublicClient(chainId).readContract(params);
|
|
519
510
|
}
|
|
@@ -524,19 +515,6 @@ async function getLatestBlockTimepoint(viem, chainId) {
|
|
|
524
515
|
const block = await viem.getPublicClient(chainId).getBlock();
|
|
525
516
|
return block.timestamp > 0n ? block.timestamp - 1n : 0n;
|
|
526
517
|
}
|
|
527
|
-
/** Creates a viem WalletClient from a private key using the SDK's viem dependency. */
|
|
528
|
-
function createWalletClient(params) {
|
|
529
|
-
return createConfiguredWalletClient({
|
|
530
|
-
...params,
|
|
531
|
-
chain: getWriteChain(params.chainId),
|
|
532
|
-
rpcUrls: params.rpcUrls ?? DEFAULT_RPC_URLS[params.chainId]
|
|
533
|
-
});
|
|
534
|
-
}
|
|
535
|
-
function getWriteChain(chainId) {
|
|
536
|
-
const chain = SUPPORTED_CHAINS[chainId];
|
|
537
|
-
if (!chain) throwUnsupportedChain(chainId);
|
|
538
|
-
return chain;
|
|
539
|
-
}
|
|
540
518
|
function createDefaultPublicClient(chainId, chain, rpcUrls) {
|
|
541
519
|
if (!chain) throwUnsupportedChain(chainId);
|
|
542
520
|
return createPublicClient({
|
|
@@ -544,15 +522,6 @@ function createDefaultPublicClient(chainId, chain, rpcUrls) {
|
|
|
544
522
|
transport: rpcUrls && rpcUrls.length > 0 ? fallback(rpcUrls.map((url) => http(url))) : http()
|
|
545
523
|
});
|
|
546
524
|
}
|
|
547
|
-
function createConfiguredWalletClient({ chainId, privateKey, chain, rpcUrls }) {
|
|
548
|
-
const writeChain = chain ?? getWriteChain(chainId);
|
|
549
|
-
const transport = rpcUrls && rpcUrls.length > 0 ? fallback(rpcUrls.map((url) => http(url))) : http();
|
|
550
|
-
return createWalletClient$1({
|
|
551
|
-
account: privateKeyToAccount(privateKey),
|
|
552
|
-
chain: writeChain,
|
|
553
|
-
transport
|
|
554
|
-
});
|
|
555
|
-
}
|
|
556
525
|
function getChainConfig(chains, chainId) {
|
|
557
526
|
const chainConfig = chains[chainId];
|
|
558
527
|
if (!chainConfig) throwUnsupportedChain(chainId);
|
|
@@ -10345,6 +10314,51 @@ const dtfIndexStakingVaultOptimisticAbi = [
|
|
|
10345
10314
|
}
|
|
10346
10315
|
];
|
|
10347
10316
|
//#endregion
|
|
10317
|
+
//#region src/index-dtf/abis/optimistic-timelock.ts
|
|
10318
|
+
const optimisticTimelockAbi = [{
|
|
10319
|
+
type: "function",
|
|
10320
|
+
name: "getRoleMemberCount",
|
|
10321
|
+
inputs: [{
|
|
10322
|
+
name: "role",
|
|
10323
|
+
type: "bytes32",
|
|
10324
|
+
internalType: "bytes32"
|
|
10325
|
+
}],
|
|
10326
|
+
outputs: [{
|
|
10327
|
+
name: "",
|
|
10328
|
+
type: "uint256",
|
|
10329
|
+
internalType: "uint256"
|
|
10330
|
+
}],
|
|
10331
|
+
stateMutability: "view"
|
|
10332
|
+
}, {
|
|
10333
|
+
type: "function",
|
|
10334
|
+
name: "getRoleMember",
|
|
10335
|
+
inputs: [{
|
|
10336
|
+
name: "role",
|
|
10337
|
+
type: "bytes32",
|
|
10338
|
+
internalType: "bytes32"
|
|
10339
|
+
}, {
|
|
10340
|
+
name: "index",
|
|
10341
|
+
type: "uint256",
|
|
10342
|
+
internalType: "uint256"
|
|
10343
|
+
}],
|
|
10344
|
+
outputs: [{
|
|
10345
|
+
name: "",
|
|
10346
|
+
type: "address",
|
|
10347
|
+
internalType: "address"
|
|
10348
|
+
}],
|
|
10349
|
+
stateMutability: "view"
|
|
10350
|
+
}];
|
|
10351
|
+
//#endregion
|
|
10352
|
+
//#region src/index-dtf/governance/optimistic-errors.ts
|
|
10353
|
+
function isUnsupportedOptimisticContractError(error) {
|
|
10354
|
+
const message = error instanceof Error ? error.message.toLowerCase() : String(error).toLowerCase();
|
|
10355
|
+
return message.includes("returned no data") || message.includes("could not decode") || message.includes("data size of 0 bytes") || message.includes("function") && message.includes("not found");
|
|
10356
|
+
}
|
|
10357
|
+
function isUnsupportedVoteLockOptimisticReadError(error) {
|
|
10358
|
+
const message = error instanceof Error ? error.message.toLowerCase() : String(error).toLowerCase();
|
|
10359
|
+
return isUnsupportedOptimisticContractError(error) || (message.includes("execution reverted") || message.includes("reverted")) && (message.includes("optimisticdelegates") || message.includes("getoptimisticvotes") || message.includes("getpastoptimisticvotes"));
|
|
10360
|
+
}
|
|
10361
|
+
//#endregion
|
|
10348
10362
|
//#region src/index-dtf/governance/utils.ts
|
|
10349
10363
|
const D18$1 = 10n ** 18n;
|
|
10350
10364
|
const MAX_UINT256$2 = (1n << 256n) - 1n;
|
|
@@ -10497,51 +10511,6 @@ function getVotePercentage(votes, totalVotes) {
|
|
|
10497
10511
|
return Number(votes * 10000n / totalVotes) / 100;
|
|
10498
10512
|
}
|
|
10499
10513
|
//#endregion
|
|
10500
|
-
//#region src/index-dtf/abis/optimistic-timelock.ts
|
|
10501
|
-
const optimisticTimelockAbi = [{
|
|
10502
|
-
type: "function",
|
|
10503
|
-
name: "getRoleMemberCount",
|
|
10504
|
-
inputs: [{
|
|
10505
|
-
name: "role",
|
|
10506
|
-
type: "bytes32",
|
|
10507
|
-
internalType: "bytes32"
|
|
10508
|
-
}],
|
|
10509
|
-
outputs: [{
|
|
10510
|
-
name: "",
|
|
10511
|
-
type: "uint256",
|
|
10512
|
-
internalType: "uint256"
|
|
10513
|
-
}],
|
|
10514
|
-
stateMutability: "view"
|
|
10515
|
-
}, {
|
|
10516
|
-
type: "function",
|
|
10517
|
-
name: "getRoleMember",
|
|
10518
|
-
inputs: [{
|
|
10519
|
-
name: "role",
|
|
10520
|
-
type: "bytes32",
|
|
10521
|
-
internalType: "bytes32"
|
|
10522
|
-
}, {
|
|
10523
|
-
name: "index",
|
|
10524
|
-
type: "uint256",
|
|
10525
|
-
internalType: "uint256"
|
|
10526
|
-
}],
|
|
10527
|
-
outputs: [{
|
|
10528
|
-
name: "",
|
|
10529
|
-
type: "address",
|
|
10530
|
-
internalType: "address"
|
|
10531
|
-
}],
|
|
10532
|
-
stateMutability: "view"
|
|
10533
|
-
}];
|
|
10534
|
-
//#endregion
|
|
10535
|
-
//#region src/index-dtf/governance/optimistic-errors.ts
|
|
10536
|
-
function isUnsupportedOptimisticContractError(error) {
|
|
10537
|
-
const message = error instanceof Error ? error.message.toLowerCase() : String(error).toLowerCase();
|
|
10538
|
-
return message.includes("returned no data") || message.includes("could not decode") || message.includes("data size of 0 bytes") || message.includes("function") && message.includes("not found");
|
|
10539
|
-
}
|
|
10540
|
-
function isUnsupportedVoteLockOptimisticReadError(error) {
|
|
10541
|
-
const message = error instanceof Error ? error.message.toLowerCase() : String(error).toLowerCase();
|
|
10542
|
-
return isUnsupportedOptimisticContractError(error) || (message.includes("execution reverted") || message.includes("reverted")) && (message.includes("optimisticdelegates") || message.includes("getoptimisticvotes") || message.includes("getpastoptimisticvotes"));
|
|
10543
|
-
}
|
|
10544
|
-
//#endregion
|
|
10545
10514
|
//#region src/index-dtf/governance/optimistic.ts
|
|
10546
10515
|
const MAX_UINT256$1 = (1n << 256n) - 1n;
|
|
10547
10516
|
const OPTIMISTIC_PROPOSER_ROLE = "0x26f49d08685d9cdd4951a7470bc8fbe9dd0f00419c1a44c1b89f845867ae12e0";
|
|
@@ -11340,11 +11309,15 @@ function prepareIndexDtfDeployAssetApprovals(params) {
|
|
|
11340
11309
|
return params.assets.map((token, index) => prepareIndexDtfDeployAssetApproval({
|
|
11341
11310
|
chainId: params.chainId,
|
|
11342
11311
|
token,
|
|
11343
|
-
amount: getIndexDtfDeployApprovalAmount(
|
|
11312
|
+
amount: getIndexDtfDeployApprovalAmount({
|
|
11313
|
+
amount: params.amounts[index] ?? 0n,
|
|
11314
|
+
approvalBufferBps: params.approvalBufferBps
|
|
11315
|
+
})
|
|
11344
11316
|
}));
|
|
11345
11317
|
}
|
|
11346
|
-
function getIndexDtfDeployApprovalAmount(
|
|
11347
|
-
|
|
11318
|
+
function getIndexDtfDeployApprovalAmount(params) {
|
|
11319
|
+
const approvalBufferBps = params.approvalBufferBps ?? 2e4;
|
|
11320
|
+
if (params.amount < 0n) throw new SdkError({
|
|
11348
11321
|
code: "INVALID_INPUT",
|
|
11349
11322
|
message: "approval amount must be non-negative"
|
|
11350
11323
|
});
|
|
@@ -11353,7 +11326,7 @@ function getIndexDtfDeployApprovalAmount(amount, approvalBufferBps = 2e4) {
|
|
|
11353
11326
|
message: "approvalBufferBps must be an integer greater than or equal to 10000",
|
|
11354
11327
|
meta: { approvalBufferBps }
|
|
11355
11328
|
});
|
|
11356
|
-
return amount * BigInt(approvalBufferBps) / 10000n;
|
|
11329
|
+
return params.amount * BigInt(approvalBufferBps) / 10000n;
|
|
11357
11330
|
}
|
|
11358
11331
|
function extractIndexDtfDeployedAddress(logs) {
|
|
11359
11332
|
const governed = parseEventLogs({
|
|
@@ -15503,14 +15476,14 @@ function prepareIndexDtfBasketApproval(params) {
|
|
|
15503
15476
|
});
|
|
15504
15477
|
}
|
|
15505
15478
|
/** Applies basis-point slippage to redeem amounts while preserving token order. */
|
|
15506
|
-
function getIndexDtfRedeemMinAmounts(
|
|
15507
|
-
if (!Number.isInteger(slippageBps) || slippageBps < 0 || slippageBps > 1e4) throw new SdkError({
|
|
15479
|
+
function getIndexDtfRedeemMinAmounts(params) {
|
|
15480
|
+
if (!Number.isInteger(params.slippageBps) || params.slippageBps < 0 || params.slippageBps > 1e4) throw new SdkError({
|
|
15508
15481
|
code: "INVALID_INPUT",
|
|
15509
15482
|
message: "slippageBps must be an integer between 0 and 10000",
|
|
15510
|
-
meta: { slippageBps }
|
|
15483
|
+
meta: { slippageBps: params.slippageBps }
|
|
15511
15484
|
});
|
|
15512
|
-
const keepBps = BigInt(1e4 - slippageBps);
|
|
15513
|
-
return amounts.map((amount) => amount * keepBps / 10000n);
|
|
15485
|
+
const keepBps = BigInt(1e4 - params.slippageBps);
|
|
15486
|
+
return params.amounts.map((amount) => amount * keepBps / 10000n);
|
|
15514
15487
|
}
|
|
15515
15488
|
function getMintArgs(params) {
|
|
15516
15489
|
return [
|
|
@@ -22909,9 +22882,9 @@ const EXTRA_PROPOSAL_CONTRACTS = [
|
|
|
22909
22882
|
contract: "Reserve Optimistic Governance Spell",
|
|
22910
22883
|
abi: upgradeSpellProposalAbi,
|
|
22911
22884
|
addresses: {
|
|
22912
|
-
1: "
|
|
22913
|
-
8453: "
|
|
22914
|
-
56: "
|
|
22885
|
+
1: "0xd7238463494fdd4b103c2ad9d229b3985b5bc6f1",
|
|
22886
|
+
8453: "0xe9ae2cb2b5e5658035617f92efa1878429f9cd3f",
|
|
22887
|
+
56: "0x3dde17cfd36e740cb7452cb2f59fc925eacb91ab"
|
|
22915
22888
|
}
|
|
22916
22889
|
}
|
|
22917
22890
|
];
|
|
@@ -27135,4 +27108,4 @@ async function getDiscoverDtfs(client, { chainId, limit, offset, sort } = {}) {
|
|
|
27135
27108
|
}));
|
|
27136
27109
|
}
|
|
27137
27110
|
//#endregion
|
|
27138
|
-
export { CANCELLER_ROLE, DEFAULT_API_BASE_URL, DEFAULT_INDEX_DTF_DEPLOY_FLAGS, DEFAULT_RPC_URLS, INDEX_DTF_DEPLOYER_ADDRESS, INDEX_DTF_GOVERNANCE_DEPLOYER_ADDRESS, INDEX_DTF_SUBGRAPH_URL, OPTIMISTIC_PROPOSER_ROLE, SUPPORTED_CHAINS, SdkError, YIELD_DTF_SUBGRAPH_URL, buildIndexDtfBasketProposal, buildIndexDtfBasketSettingsProposal, buildIndexDtfDaoSettingsProposal, buildIndexDtfDeployFeeRecipients, buildInitialBasket as buildIndexDtfInitialBasket, buildIndexDtfSettingsProposal, buildIndexDtfStartRebalance, buildStartRebalanceArgs as buildIndexDtfStartRebalanceArgs, createDtfClient, createDtfSdk, createIndexDtfNamespace, createIndexDtfRef, createPortfolioNamespace,
|
|
27111
|
+
export { CANCELLER_ROLE, DEFAULT_API_BASE_URL, DEFAULT_INDEX_DTF_DEPLOY_FLAGS, DEFAULT_RPC_URLS, INDEX_DTF_DEPLOYER_ADDRESS, INDEX_DTF_GOVERNANCE_DEPLOYER_ADDRESS, INDEX_DTF_SUBGRAPH_URL, OPTIMISTIC_PROPOSER_ROLE, SUPPORTED_CHAINS, SdkError, YIELD_DTF_SUBGRAPH_URL, buildIndexDtfBasketProposal, buildIndexDtfBasketSettingsProposal, buildIndexDtfDaoSettingsProposal, buildIndexDtfDeployFeeRecipients, buildInitialBasket as buildIndexDtfInitialBasket, buildIndexDtfSettingsProposal, buildIndexDtfStartRebalance, buildStartRebalanceArgs as buildIndexDtfStartRebalanceArgs, createDtfClient, createDtfSdk, createIndexDtfNamespace, createIndexDtfRef, createPortfolioNamespace, decodeIndexDtfProposal, decodeIndexDtfProposalCalldatas, discoverIndexDtfs, discoverIndexDtfsByChain, discoverIndexDtfsFromSubgraph, dtfCatalog, dtfIndexAbi, dtfIndexGovernanceAbi, dtfIndexGovernanceOptimisticAbi, dtfIndexGovernanceProposalAbi, dtfIndexStakingVaultAbi, dtfIndexStakingVaultOptimisticAbi, extractIndexDtfDeployedAddress, extractIndexDtfDeployedStakingTokenAddress, generateIndexDtfDeploymentNonce, getAccountPortfolio, getAccountPortfolioHistory, getAccountPortfolioTransactions, getAllProposals as getAllIndexDtfProposals, getDiscoverDtfs, getDtf, getFull as getFullIndexDtf, getFull as getIndexDtf, getActiveAuction as getIndexDtfActiveAuction, getIndexDtfApprovedRevenueTokens, getAssetList as getIndexDtfAssetList, getBasket as getIndexDtfBasket, getBasketSharesFromUnits as getIndexDtfBasketSharesFromUnits, getBasketSnapshot as getIndexDtfBasketSnapshot, getBasketUnitsFromShares as getIndexDtfBasketUnitsFromShares, getBasketWithPrice as getIndexDtfBasketWithPrice, getBidQuote as getIndexDtfBidQuote, getIndexDtfBidsEnabled, getBrand as getIndexDtfBrand, getIndexDtfCatalogEntries, getCompletedRebalance as getIndexDtfCompletedRebalance, getCompletedRebalances as getIndexDtfCompletedRebalances, getIndexDtfCurrentRebalance, getDelegates as getIndexDtfDelegates, getIndexDtfDeployApprovalAmount, getEffectiveRevenueDistribution as getIndexDtfEffectiveRevenueDistribution, getIndexDtfExposure, getGuardians as getIndexDtfGuardians, getIndexDtfHolders, getIndexDtfIssuanceState, getLatestAuction as getIndexDtfLatestAuction, getLegacyVoteLocks as getIndexDtfLegacyVoteLocks, getMandate as getIndexDtfMandate, getOptimisticGovernance as getIndexDtfOptimisticGovernance, getOptimisticProposalContext as getIndexDtfOptimisticProposalContext, getOptimisticProposalVoterState as getIndexDtfOptimisticProposalVoterState, getOptimisticSelectors as getIndexDtfOptimisticSelectors, getOptimisticTimelockRoles as getIndexDtfOptimisticTimelockRoles, getOptimisticVotes as getIndexDtfOptimisticVotes, getPastOptimisticVotes as getIndexDtfPastOptimisticVotes, getIndexDtfPendingFeeShares, getIndexDtfPlatformFee, getPrice as getIndexDtfPrice, getDtfPriceFromBalances as getIndexDtfPriceFromBalances, getPriceHistory as getIndexDtfPriceHistory, getPrices as getIndexDtfPrices, getProposal as getIndexDtfProposal, getProposalGovernanceAddresses as getIndexDtfProposalGovernanceAddresses, getProposalList as getIndexDtfProposalList, getProposalState as getIndexDtfProposalState, getProposalState, getProposalThrottleCharges as getIndexDtfProposalThrottleCharges, getProposalVoterState as getIndexDtfProposalVoterState, getProposalVotes as getIndexDtfProposalVotes, getProposalVotingSnapshot as getIndexDtfProposalVotingSnapshot, getProposals as getIndexDtfProposals, getProposerState as getIndexDtfProposerState, getRebalance as getIndexDtfRebalance, getRebalanceAuctions as getIndexDtfRebalanceAuctions, getIndexDtfRebalanceControl, getRebalances as getIndexDtfRebalances, getIndexDtfRedeemMinAmounts, getIndexDtfRevenue, getSelectorRegistryAllowedSelectors as getIndexDtfSelectorRegistryAllowedSelectors, getSelectorRegistryIsAllowed as getIndexDtfSelectorRegistryIsAllowed, getSelectorRegistryTargets as getIndexDtfSelectorRegistryTargets, getIndexDtfStatus, getIndexDtfStatuses, getTotalAssets as getIndexDtfTotalAssets, getTotalSupply as getIndexDtfTotalSupply, getIndexDtfTransactions, getVersion as getIndexDtfVersion, getVoteLockDao as getIndexDtfVoteLockDao, getVoteLockDaos as getIndexDtfVoteLockDaos, getVoteLockState as getIndexDtfVoteLockState, getVoterState as getIndexDtfVoterState, getTokenData, getTokenPrices, getTokenVolatilities, getTokensData, hashIndexDtfProposalDescription, indexDtfBasketSchema as indexDtfBasketProposalSchema, indexDtfBasketSchema, indexDtfBasketTokenSchema as indexDtfBasketProposalTokenSchema, indexDtfBasketTokenSchema, indexDtfBasketSettingsProposalSchema, indexDtfBasketSharesSchema as indexDtfBasketSharesProposalSchema, indexDtfBasketSharesSchema, indexDtfBasketUnitsSchema as indexDtfBasketUnitsProposalSchema, indexDtfBasketUnitsSchema, indexDtfCatalog, indexDtfDaoSettingsProposalSchema, indexDtfGovernanceChangesSchema, indexDtfSettingsProposalSchema, indexDtfV5WriteAbi, indexDtfV6WriteAbi, isSdkError, listIndexDtfs, prepareContractCall, prepareErc20Approval, prepareIndexDtfAddToAllowlist, prepareIndexDtfAddToBasket, prepareIndexDtfBasketApproval, prepareIndexDtfBid, prepareIndexDtfCancelProposal, prepareIndexDtfCloseAuction, prepareIndexDtfDeploy, prepareIndexDtfDeployAssetApproval, prepareIndexDtfDeployAssetApprovals, prepareIndexDtfDeployGoverned, prepareIndexDtfDeployGovernedPlan, prepareIndexDtfDeployPlan, prepareIndexDtfDeployStakingToken, prepareIndexDtfDeprecate, prepareIndexDtfDistributeFees, prepareIndexDtfEndRebalance, prepareIndexDtfExecuteProposal, prepareIndexDtfGovernorCancelProposal, prepareIndexDtfMint, prepareIndexDtfMintPlan, prepareIndexDtfOpenAuction, prepareIndexDtfOpenAuctionArgs, prepareIndexDtfOpenAuctionUnrestricted, prepareIndexDtfQueueProposal, prepareIndexDtfRedeem, prepareIndexDtfRelay, prepareIndexDtfRemoveFromAllowlist, prepareIndexDtfRemoveFromBasket, prepareIndexDtfRevokeOptimisticProposer, prepareIndexDtfSetAuctionLength, prepareIndexDtfSetBidsEnabled, prepareIndexDtfSetFeeRecipients, prepareIndexDtfSetLateQuorumVoteExtension, prepareIndexDtfSetMandate, prepareIndexDtfSetMintFee, prepareIndexDtfSetName, prepareIndexDtfSetOptimisticParams, prepareIndexDtfSetProposalThrottle, prepareIndexDtfSetRebalanceControl, prepareIndexDtfSetSelfFee, prepareIndexDtfSetTradeAllowlistEnabled, prepareIndexDtfSetTrustedFillerRegistry, prepareIndexDtfSetTvlFee, prepareIndexDtfSubmitOptimisticProposal, prepareIndexDtfSubmitProposal, prepareIndexDtfTimelockDelay, prepareIndexDtfTimelockExecuteBatch, prepareIndexDtfTimelockGrantRole, prepareIndexDtfTimelockRevokeRole, prepareIndexDtfUpdateTimelock, prepareIndexDtfVote, prepareIndexDtfVoteWithReason, prepareIndexDtfVoteWithReasonAndParams, prepareSelectorRegistryRegisterSelectors, prepareSelectorRegistryUnregisterSelectors, prepareVoteLockAddRewardToken, prepareVoteLockCancelLock, prepareVoteLockClaimLock, prepareVoteLockClaimRewards, prepareVoteLockDelegate, prepareVoteLockDelegateOptimistic, prepareVoteLockDeposit, prepareVoteLockDepositPlan, prepareVoteLockPoke, prepareVoteLockRemoveRewardToken, prepareVoteLockSetRewardRatio, prepareVoteLockSetUnstakingDelay, prepareVoteLockWithdraw, readVoteLockAllRewardTokens, readVoteLockAsset, readVoteLockBalanceOf, readVoteLockCheckpoint, readVoteLockClock, readVoteLockClockMode, readVoteLockConvertToAssets, readVoteLockConvertToShares, readVoteLockDelegates, readVoteLockDisallowedRewardToken, readVoteLockGetPastTotalSupply, readVoteLockGetPastVotes, readVoteLockGetVotes, readVoteLockLock, readVoteLockMaxDeposit, readVoteLockMaxMint, readVoteLockMaxRedeem, readVoteLockMaxWithdraw, readVoteLockNumCheckpoints, readVoteLockOptimisticDelegates, readVoteLockOptimisticVotes, readVoteLockPastOptimisticVotes, readVoteLockPreviewDeposit, readVoteLockPreviewMint, readVoteLockPreviewRedeem, readVoteLockPreviewWithdraw, readVoteLockRewardRatio, readVoteLockRewardTracker, readVoteLockTotalAssets, readVoteLockTotalSupply, readVoteLockUnderlyingAllowance, readVoteLockUnderlyingBalance, readVoteLockUnstakingDelay, readVoteLockUnstakingManager, readVoteLockUnstakingTargetToken, readVoteLockUnstakingVault, readVoteLockUserRewardTracker, resolveIndexDtfAlias, supportedChainIds, yieldDtfCatalog };
|