@helium/blockchain-api 0.12.0 → 0.14.0
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/{chunk-5HPVPAC2.js → chunk-DK2PPY3F.js} +17 -5
- package/dist/{chunk-6EPXJJY5.js → chunk-DM4OMXXB.js} +9 -2
- package/dist/{chunk-4ZGQ5PS4.js → chunk-PJEBIHIU.js} +42 -4
- package/dist/{chunk-NFPQE2X2.js → chunk-SD6DBUHP.js} +8 -10
- package/dist/contracts.d.ts +183 -12
- package/dist/contracts.js +4 -4
- package/dist/errors.d.ts +20 -1
- package/dist/errors.js +4 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +5 -5
- package/dist/schemas/governance.d.ts +69 -1
- package/dist/schemas/governance.js +1 -1
- package/dist/schemas/migration.d.ts +2 -4
- package/dist/schemas/migration.js +1 -1
- package/dist/schemas.d.ts +1 -1
- package/dist/schemas.js +2 -2
- package/package.json +1 -1
- /package/dist/{chunk-KTADG6LO.js → chunk-DQYAIQQ5.js} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { INSUFFICIENT_FUNDS, INVALID_WALLET_ADDRESS, BAD_REQUEST, NOT_FOUND, UNAUTHORIZED, CONFLICT, RATE_LIMITED, SIMULATION_FAILED, UNAUTHENTICATED } from './chunk-
|
|
1
|
+
import { INSUFFICIENT_FUNDS, INVALID_WALLET_ADDRESS, BAD_REQUEST, NOT_FOUND, UNAUTHORIZED, CONFLICT, ALL_POSITIONS_SKIPPED, RATE_LIMITED, SIMULATION_FAILED, UNAUTHENTICATED } from './chunk-DM4OMXXB.js';
|
|
2
2
|
import { BridgeWebhookInputSchema, BridgeWebhookOutputSchema } from './chunk-7CTJX35S.js';
|
|
3
|
-
import { MigrateInputSchema, MigrateOutputSchema, MigratableHotspotsInputSchema, MigratableHotspotsOutputSchema } from './chunk-
|
|
3
|
+
import { MigrateInputSchema, MigrateOutputSchema, MigratableHotspotsInputSchema, MigratableHotspotsOutputSchema } from './chunk-SD6DBUHP.js';
|
|
4
4
|
import { ClaimInviteRequestSchema, ClaimInviteResponseSchema, CreateInviteResponseSchema, DeleteRewardContractTransactionResponseSchema, CreateRewardContractTransactionInputSchema, CreateRewardContractTransactionResponseSchema, EstimateCostToCreateRewardContractResponseSchema, FindRewardContractResponseSchema } from './chunk-2XDXO5AZ.js';
|
|
5
5
|
import { CreateHntAccountInputSchema, CreateHntAccountOutputSchema, MemoInputSchema, MemoOutputSchema, BurnInputSchema, BurnOutputSchema, MultiTransferInputSchema, MultiTransferOutputSchema, TransferInputSchema, TransferOutputSchema, GetBalancesInputSchema, TokenBalanceDataSchema } from './chunk-Y5PUR7UV.js';
|
|
6
6
|
import { GetHistoryInputSchema, HistoryOutputSchema, EstimateInputSchema, EstimateOutputSchema, GetByPayerAndTagInputSchema, PayerBatchesOutputSchema, GetByPayerInputSchema, ResubmitInputSchema, ResubmitOutputSchema, GetInputSchema, BatchStatusOutputSchema, SubmitInputSchema, SubmitOutputSchema } from './chunk-DE4MGYVZ.js';
|
|
@@ -8,7 +8,7 @@ import { BurnDataCreditsInputSchema, DelegateDataCreditsInputSchema, MintDataCre
|
|
|
8
8
|
import { WelcomePackInviteInputSchema, WelcomePackInviteOutputSchema, WelcomePackClaimInputSchema, WelcomePackClaimOutputSchema, WelcomePackGetByAddressInputSchema, WelcomePackSchema, WelcomePackDeleteInputSchema, WelcomePackDeleteOutputSchema, WelcomePackGetInputSchema, WelcomePackCreateInputSchema, WelcomePackCreateOutputSchema, WelcomePackListInputSchema, WelcomePackListOutputSchema } from './chunk-LMKKZIF6.js';
|
|
9
9
|
import { UpdateTransferInputSchema, UpdateTransferOutputSchema, SendFundsInputSchema, SendFundsOutputSchema, GetSendQuoteInputSchema, QuoteOutputSchema, DeleteBankAccountInputSchema, DeleteBankAccountOutputSchema, CreateBankAccountInputSchema, BankAccountSchema, BankAccountListOutputSchema, FeesOutputSchema, InitKycInputSchema, KycStatusOutputSchema } from './chunk-GI4C45MR.js';
|
|
10
10
|
import { GetInstructionsInputSchema, GetQuoteInputSchema, QuoteResponseSchema, GetTokensInputSchema, TokenListOutputSchema } from './chunk-DB664YCA.js';
|
|
11
|
-
import { UnassignProxiesInputSchema, UnassignProxiesResponseSchema, AssignProxiesInputSchema, AssignProxiesResponseSchema, RelinquishPositionVotesInputSchema, RelinquishPositionVotesResponseSchema, RelinquishVoteInputSchema, RelinquishVoteResponseSchema, VoteInputSchema, VoteResponseSchema, ExtendDelegationInputSchema, ExtendDelegationResponseSchema, UndelegateInputSchema, UndelegatePositionResponseSchema, ClaimDelegationRewardsInputSchema, ClaimDelegationRewardsResponseSchema, DelegatePositionInputSchema, DelegatePositionsResponseSchema, TransferPositionOwnershipInputSchema, TransferPositionOwnershipResponseSchema, TransferPositionInputSchema, TransferPositionResponseSchema, SplitPositionInputSchema, SplitPositionResponseSchema, ResetLockupInputSchema, ResetLockupResponseSchema, FlipLockupKindInputSchema, FlipLockupKindResponseSchema, ExtendPositionInputSchema, ExtendPositionResponseSchema, ClosePositionInputSchema, ClosePositionResponseSchema, CreatePositionInputSchema, CreatePositionResponseSchema } from './chunk-
|
|
11
|
+
import { UnassignProxiesInputSchema, UnassignProxiesResponseSchema, AssignProxiesInputSchema, AssignProxiesResponseSchema, RelinquishPositionVotesInputSchema, RelinquishPositionVotesResponseSchema, RelinquishVoteInputSchema, RelinquishVoteResponseSchema, VoteInputSchema, VoteResponseSchema, ExtendDelegationInputSchema, ExtendDelegationResponseSchema, UndelegateInputSchema, UndelegatePositionResponseSchema, ClaimDelegationRewardsInputSchema, ClaimDelegationRewardsResponseSchema, DelegatePositionInputSchema, DelegatePositionsResponseSchema, TransferPositionOwnershipInputSchema, TransferPositionOwnershipResponseSchema, TransferPositionInputSchema, TransferPositionResponseSchema, SplitPositionInputSchema, SplitPositionResponseSchema, ResetLockupInputSchema, ResetLockupResponseSchema, FlipLockupKindInputSchema, FlipLockupKindResponseSchema, ExtendPositionInputSchema, ExtendPositionResponseSchema, ClosePositionInputSchema, ClosePositionResponseSchema, CreatePositionInputSchema, CreatePositionResponseSchema, GetPositionsInputSchema, GetPositionsResponseSchema } from './chunk-PJEBIHIU.js';
|
|
12
12
|
import { HealthResponseSchema } from './chunk-4RVSLJOU.js';
|
|
13
13
|
import { UpdateHotspotInfoInputSchema, UpdateHotspotInfoOutputSchema, TopUpAutomationInputSchema, TopUpAutomationOutputSchema, OnboardDataOnlyHotspotInputSchema, OnboardDataOnlyHotspotOutputSchema, IssueDataOnlyHotspotInputSchema, IssueDataOnlyHotspotOutputSchema, RemoveEntityFromAutomationInputSchema, RemoveEntityFromAutomationOutputSchema, AddEntityToAutomationInputSchema, AddEntityToAutomationOutputSchema, AddWalletToAutomationInputSchema, AddWalletToAutomationOutputSchema, RequeueAutomationInputSchema, RequeueAutomationOutputSchema, GetFundingEstimateInputSchema, FundingEstimateOutputSchema, FundAutomationInputSchema, FundAutomationOutputSchema, SetupAutomationInputSchema, SetupAutomationOutputSchema, GetAutomationStatusInputSchema, AutomationStatusOutputSchema, CloseAutomationInputSchema, CloseAutomationOutputSchema, DeleteSplitInputSchema, DeleteSplitOutputSchema, CreateSplitInputSchema, CreateSplitOutputSchema, GetSplitInputSchema, SplitResponseSchema, UpdateRewardsDestinationInputSchema, UpdateRewardsDestinationOutputSchema, TransferHotspotInputSchema, TransferHotspotOutputSchema, GetPendingRewardsInputSchema, GetPendingRewardsOutputSchema, HotspotBurnInputSchema, HotspotBurnOutputSchema, ClaimHotspotRewardsInputSchema, ClaimHotspotRewardsOutputSchema, ClaimRewardsInputSchema, ClaimRewardsOutputSchema, GetHotspotsInputSchema, HotspotsDataSchema } from './chunk-VCQCOERJ.js';
|
|
14
14
|
import { WalletAddressSchema, HeliumPublicKeySchema, TransactionDataSchema, PublicKeySchema } from './chunk-O5LI7ILX.js';
|
|
@@ -291,6 +291,12 @@ var hotspotsContract = oc.tag("Hotspot").prefix("/hotspots").router({
|
|
|
291
291
|
})
|
|
292
292
|
});
|
|
293
293
|
var governanceContract = oc.tag("Governance").prefix("/governance").router({
|
|
294
|
+
getPositions: oc.route({
|
|
295
|
+
method: "GET",
|
|
296
|
+
path: "/positions/wallet/{wallet}",
|
|
297
|
+
summary: "List wallet governance positions",
|
|
298
|
+
description: "List all voter-stake-registry positions owned by a wallet, including deposited amount, governing mint, and lockup info."
|
|
299
|
+
}).input(GetPositionsInputSchema).errors({ BAD_REQUEST, RATE_LIMITED }).output(GetPositionsResponseSchema),
|
|
294
300
|
createPosition: oc.route({
|
|
295
301
|
method: "POST",
|
|
296
302
|
path: "/positions",
|
|
@@ -368,7 +374,12 @@ var governanceContract = oc.tag("Governance").prefix("/governance").router({
|
|
|
368
374
|
path: "/proposals/{proposalKey}/vote",
|
|
369
375
|
summary: "Vote on proposal",
|
|
370
376
|
description: "Cast votes on a proposal using one or more positions. Auto-detects owned vs proxied positions \u2014 proxied positions use proxy vote path. Automatically queues cleanup tasks to relinquish vote markers after the proposal ends. If many positions are provided, may require multiple API calls - check hasMore in the response."
|
|
371
|
-
}).input(VoteInputSchema).errors({
|
|
377
|
+
}).input(VoteInputSchema).errors({
|
|
378
|
+
BAD_REQUEST,
|
|
379
|
+
NOT_FOUND,
|
|
380
|
+
INSUFFICIENT_FUNDS,
|
|
381
|
+
ALL_POSITIONS_SKIPPED
|
|
382
|
+
}).output(VoteResponseSchema),
|
|
372
383
|
relinquishVote: oc.route({
|
|
373
384
|
method: "POST",
|
|
374
385
|
path: "/proposals/{proposalKey}/relinquish-votes",
|
|
@@ -633,7 +644,8 @@ var migrationContract = oc.tag("Migration").router({
|
|
|
633
644
|
UNAUTHORIZED,
|
|
634
645
|
BAD_REQUEST,
|
|
635
646
|
NOT_FOUND,
|
|
636
|
-
INSUFFICIENT_FUNDS
|
|
647
|
+
INSUFFICIENT_FUNDS,
|
|
648
|
+
RATE_LIMITED
|
|
637
649
|
})
|
|
638
650
|
});
|
|
639
651
|
var dataCreditsContract = oc.tag("Data Credits").router({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { SkippedPositionSchema } from './chunk-PJEBIHIU.js';
|
|
1
2
|
import { z } from 'zod';
|
|
2
3
|
|
|
3
|
-
// src/errors/common.ts
|
|
4
4
|
var UNAUTHENTICATED = {
|
|
5
5
|
status: 401,
|
|
6
6
|
message: "Authentication required. Please sign in to continue."
|
|
@@ -32,6 +32,13 @@ var CONFLICT = {
|
|
|
32
32
|
status: 409,
|
|
33
33
|
message: "A resource with this identifier already exists."
|
|
34
34
|
};
|
|
35
|
+
var ALL_POSITIONS_SKIPPED = {
|
|
36
|
+
status: 400,
|
|
37
|
+
message: "No votes to cast \u2014 all positions were skipped.",
|
|
38
|
+
data: z.object({
|
|
39
|
+
skipped: z.array(SkippedPositionSchema)
|
|
40
|
+
})
|
|
41
|
+
};
|
|
35
42
|
var INSUFFICIENT_FUNDS = {
|
|
36
43
|
status: 400,
|
|
37
44
|
message: "Insufficient SOL balance to complete this transaction.",
|
|
@@ -57,4 +64,4 @@ var SIMULATION_FAILED = {
|
|
|
57
64
|
})
|
|
58
65
|
};
|
|
59
66
|
|
|
60
|
-
export { BAD_REQUEST, CONFLICT, INSUFFICIENT_FUNDS, INVALID_WALLET_ADDRESS, NOT_FOUND, RATE_LIMITED, SIMULATION_FAILED, TRANSACTION_FAILED, UNAUTHENTICATED, UNAUTHORIZED };
|
|
67
|
+
export { ALL_POSITIONS_SKIPPED, BAD_REQUEST, CONFLICT, INSUFFICIENT_FUNDS, INVALID_WALLET_ADDRESS, NOT_FOUND, RATE_LIMITED, SIMULATION_FAILED, TRANSACTION_FAILED, UNAUTHENTICATED, UNAUTHORIZED };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PublicKeySchema, TokenAmountInputSchema, WalletAddressSchema, createTypedTransactionResponse, createTransactionResponse, createPaginatedTransactionResponse, createTypedPaginatedTransactionResponse } from './chunk-O5LI7ILX.js';
|
|
1
|
+
import { PublicKeySchema, TokenAmountInputSchema, WalletAddressSchema, TokenAmountOutputSchema, createTypedTransactionResponse, createTransactionResponse, createPaginatedTransactionResponse, createTypedPaginatedTransactionResponse } from './chunk-O5LI7ILX.js';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
|
|
4
4
|
var LockupKindSchema = z.enum(["cliff", "constant"]);
|
|
@@ -68,6 +68,11 @@ var TransferPositionInputSchema = z.object({
|
|
|
68
68
|
),
|
|
69
69
|
amount: z.string().regex(/^\d+$/, "Amount must be a whole number in smallest unit (bones)").describe("Raw token amount to transfer (in smallest unit)")
|
|
70
70
|
});
|
|
71
|
+
var GetPositionsInputSchema = z.object({
|
|
72
|
+
wallet: WalletAddressSchema.describe(
|
|
73
|
+
"Wallet address to list governance positions for"
|
|
74
|
+
)
|
|
75
|
+
});
|
|
71
76
|
var TransferPositionOwnershipInputSchema = z.object({
|
|
72
77
|
from: WalletAddressSchema.describe(
|
|
73
78
|
"Wallet address that currently owns the position"
|
|
@@ -107,7 +112,9 @@ var VoteInputSchema = z.object({
|
|
|
107
112
|
walletAddress: WalletAddressSchema.describe(
|
|
108
113
|
"Wallet address that owns the positions"
|
|
109
114
|
),
|
|
110
|
-
proposalKey: PublicKeySchema.describe(
|
|
115
|
+
proposalKey: PublicKeySchema.describe(
|
|
116
|
+
"Public key of the proposal to vote on"
|
|
117
|
+
),
|
|
111
118
|
positionMints: z.array(PublicKeySchema).min(1).describe("Array of position NFT mint addresses to vote with"),
|
|
112
119
|
choice: z.number().int().min(0).describe("The choice index to vote for")
|
|
113
120
|
});
|
|
@@ -147,6 +154,18 @@ var UnassignProxiesInputSchema = z.object({
|
|
|
147
154
|
proxyKey: PublicKeySchema.describe("Public key of the proxy to unassign"),
|
|
148
155
|
positionMints: z.array(PublicKeySchema).min(1).describe("Array of position NFT mint addresses to unassign proxy for")
|
|
149
156
|
});
|
|
157
|
+
var SkipReasonSchema = z.enum([
|
|
158
|
+
"maxChoicesReached",
|
|
159
|
+
"alreadyVotedThisChoice"
|
|
160
|
+
]);
|
|
161
|
+
var SkippedPositionSchema = z.object({
|
|
162
|
+
positionMint: PublicKeySchema.describe(
|
|
163
|
+
"Mint of the position that was not included in the vote transactions"
|
|
164
|
+
),
|
|
165
|
+
reason: SkipReasonSchema.describe(
|
|
166
|
+
"Why the position was excluded from the vote transactions"
|
|
167
|
+
)
|
|
168
|
+
});
|
|
150
169
|
var CreatePositionMetadataSchema = z.object({
|
|
151
170
|
type: z.string(),
|
|
152
171
|
description: z.string(),
|
|
@@ -162,6 +181,21 @@ var RelinquishAllVotesMetadataSchema = z.object({
|
|
|
162
181
|
description: z.string(),
|
|
163
182
|
votesRelinquished: z.number().optional()
|
|
164
183
|
});
|
|
184
|
+
var PositionSchema = z.object({
|
|
185
|
+
positionMint: z.string().describe("Mint address of the position NFT"),
|
|
186
|
+
position: z.string().describe("Position PDA address"),
|
|
187
|
+
registrar: z.string().describe("Registrar the position belongs to"),
|
|
188
|
+
amountDeposited: TokenAmountOutputSchema.describe(
|
|
189
|
+
"Amount deposited in the position; mint is the governing token mint"
|
|
190
|
+
),
|
|
191
|
+
numActiveVotes: z.number().describe("Number of active votes currently cast by the position"),
|
|
192
|
+
lockup: z.object({
|
|
193
|
+
kind: LockupKindSchema,
|
|
194
|
+
startTs: z.string().describe("Lockup start unix timestamp"),
|
|
195
|
+
endTs: z.string().describe("Lockup end unix timestamp")
|
|
196
|
+
})
|
|
197
|
+
});
|
|
198
|
+
var GetPositionsResponseSchema = z.array(PositionSchema);
|
|
165
199
|
var CreatePositionResponseSchema = createTypedTransactionResponse(
|
|
166
200
|
CreatePositionMetadataSchema
|
|
167
201
|
);
|
|
@@ -178,10 +212,14 @@ var ExtendDelegationResponseSchema = createTransactionResponse();
|
|
|
178
212
|
var DelegatePositionsResponseSchema = createPaginatedTransactionResponse();
|
|
179
213
|
var ClaimDelegationRewardsResponseSchema = createPaginatedTransactionResponse();
|
|
180
214
|
var UndelegatePositionResponseSchema = createPaginatedTransactionResponse();
|
|
181
|
-
var VoteResponseSchema = createPaginatedTransactionResponse()
|
|
215
|
+
var VoteResponseSchema = createPaginatedTransactionResponse().extend({
|
|
216
|
+
skipped: z.array(SkippedPositionSchema).default([]).describe(
|
|
217
|
+
"Positions not included in the vote transactions, each with the reason it was skipped. Empty when every position is eligible."
|
|
218
|
+
)
|
|
219
|
+
});
|
|
182
220
|
var RelinquishVoteResponseSchema = createPaginatedTransactionResponse();
|
|
183
221
|
var RelinquishPositionVotesResponseSchema = createTypedPaginatedTransactionResponse(RelinquishAllVotesMetadataSchema);
|
|
184
222
|
var AssignProxiesResponseSchema = createPaginatedTransactionResponse();
|
|
185
223
|
var UnassignProxiesResponseSchema = createPaginatedTransactionResponse();
|
|
186
224
|
|
|
187
|
-
export { AssignProxiesInputSchema, AssignProxiesResponseSchema, ClaimDelegationRewardsInputSchema, ClaimDelegationRewardsResponseSchema, ClosePositionInputSchema, ClosePositionResponseSchema, CreatePositionInputSchema, CreatePositionResponseSchema, DelegatePositionInputSchema, DelegatePositionsResponseSchema, ExtendDelegationInputSchema, ExtendDelegationResponseSchema, ExtendPositionInputSchema, ExtendPositionResponseSchema, FlipLockupKindInputSchema, FlipLockupKindResponseSchema, LockupKindSchema, RelinquishPositionVotesInputSchema, RelinquishPositionVotesResponseSchema, RelinquishVoteInputSchema, RelinquishVoteResponseSchema, ResetLockupInputSchema, ResetLockupResponseSchema, SplitPositionInputSchema, SplitPositionResponseSchema, TransferPositionInputSchema, TransferPositionOwnershipInputSchema, TransferPositionOwnershipResponseSchema, TransferPositionResponseSchema, UnassignProxiesInputSchema, UnassignProxiesResponseSchema, UndelegateInputSchema, UndelegatePositionResponseSchema, VoteInputSchema, VoteResponseSchema };
|
|
225
|
+
export { AssignProxiesInputSchema, AssignProxiesResponseSchema, ClaimDelegationRewardsInputSchema, ClaimDelegationRewardsResponseSchema, ClosePositionInputSchema, ClosePositionResponseSchema, CreatePositionInputSchema, CreatePositionResponseSchema, DelegatePositionInputSchema, DelegatePositionsResponseSchema, ExtendDelegationInputSchema, ExtendDelegationResponseSchema, ExtendPositionInputSchema, ExtendPositionResponseSchema, FlipLockupKindInputSchema, FlipLockupKindResponseSchema, GetPositionsInputSchema, GetPositionsResponseSchema, LockupKindSchema, PositionSchema, RelinquishPositionVotesInputSchema, RelinquishPositionVotesResponseSchema, RelinquishVoteInputSchema, RelinquishVoteResponseSchema, ResetLockupInputSchema, ResetLockupResponseSchema, SkipReasonSchema, SkippedPositionSchema, SplitPositionInputSchema, SplitPositionResponseSchema, TransferPositionInputSchema, TransferPositionOwnershipInputSchema, TransferPositionOwnershipResponseSchema, TransferPositionResponseSchema, UnassignProxiesInputSchema, UnassignProxiesResponseSchema, UndelegateInputSchema, UndelegatePositionResponseSchema, VoteInputSchema, VoteResponseSchema };
|
|
@@ -1,18 +1,16 @@
|
|
|
1
1
|
import { HotspotSchema } from './chunk-VCQCOERJ.js';
|
|
2
|
-
import { WalletAddressSchema, TransactionMetadataSchema, TokenAmountOutputSchema } from './chunk-O5LI7ILX.js';
|
|
2
|
+
import { WalletAddressSchema, TokenAmountInputSchema, HeliumPublicKeySchema, TransactionMetadataSchema, TokenAmountOutputSchema } from './chunk-O5LI7ILX.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
var MigrateInputSchema = z.object({
|
|
6
6
|
sourceWallet: WalletAddressSchema,
|
|
7
7
|
destinationWallet: WalletAddressSchema,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
).default([]),
|
|
15
|
-
password: z.string().optional()
|
|
8
|
+
// Hotspots are Helium entity keys (ECC-compact base58, can exceed 44 chars),
|
|
9
|
+
// not Solana pubkeys — the handler resolves them via getAssetIdFromPubkey.
|
|
10
|
+
hotspots: z.array(HeliumPublicKeySchema).default([]),
|
|
11
|
+
// Malformed mints/amounts must fail validation as BAD_REQUEST — the handler
|
|
12
|
+
// feeds them straight into new PublicKey()/BigInt(), which would 500.
|
|
13
|
+
tokens: z.array(TokenAmountInputSchema).default([])
|
|
16
14
|
});
|
|
17
15
|
var MigrateTransactionItemSchema = z.object({
|
|
18
16
|
serializedTransaction: z.string(),
|
|
@@ -33,7 +31,7 @@ var MigrateOutputSchema = z.object({
|
|
|
33
31
|
"True if more work remains \u2014 submit these transactions, then call again with nextParams."
|
|
34
32
|
),
|
|
35
33
|
nextParams: MigrateInputSchema.optional().describe(
|
|
36
|
-
"Input for the next call. Present when hasMore is true \u2014 pass directly to the next migrate call."
|
|
34
|
+
"Input for the next call. Present when hasMore is true \u2014 submit this batch and wait for confirmation first, then pass directly to the next migrate call (positions are re-enumerated on-chain, so calling early re-issues transfers for in-flight positions)."
|
|
37
35
|
)
|
|
38
36
|
});
|
|
39
37
|
var MigratableHotspotSchema = HotspotSchema.extend({
|
package/dist/contracts.d.ts
CHANGED
|
@@ -4,6 +4,41 @@ import * as zod from 'zod';
|
|
|
4
4
|
import { z } from 'zod';
|
|
5
5
|
|
|
6
6
|
declare const governanceContract: {
|
|
7
|
+
getPositions: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
8
|
+
wallet: zod.ZodString;
|
|
9
|
+
}, zod_v4_core.$strip>, zod.ZodArray<zod.ZodObject<{
|
|
10
|
+
positionMint: zod.ZodString;
|
|
11
|
+
position: zod.ZodString;
|
|
12
|
+
registrar: zod.ZodString;
|
|
13
|
+
amountDeposited: zod.ZodObject<{
|
|
14
|
+
amount: zod.ZodString;
|
|
15
|
+
decimals: zod.ZodNumber;
|
|
16
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
17
|
+
uiAmountString: zod.ZodString;
|
|
18
|
+
mint: zod.ZodString;
|
|
19
|
+
}, zod_v4_core.$strip>;
|
|
20
|
+
numActiveVotes: zod.ZodNumber;
|
|
21
|
+
lockup: zod.ZodObject<{
|
|
22
|
+
kind: zod.ZodEnum<{
|
|
23
|
+
cliff: "cliff";
|
|
24
|
+
constant: "constant";
|
|
25
|
+
}>;
|
|
26
|
+
startTs: zod.ZodString;
|
|
27
|
+
endTs: zod.ZodString;
|
|
28
|
+
}, zod_v4_core.$strip>;
|
|
29
|
+
}, zod_v4_core.$strip>>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
30
|
+
BAD_REQUEST: {
|
|
31
|
+
readonly status: 400;
|
|
32
|
+
readonly message: "Invalid input data provided.";
|
|
33
|
+
readonly data: zod.ZodOptional<zod.ZodObject<{
|
|
34
|
+
fields: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
35
|
+
}, zod_v4_core.$strip>>;
|
|
36
|
+
};
|
|
37
|
+
RATE_LIMITED: {
|
|
38
|
+
readonly status: 429;
|
|
39
|
+
readonly message: "Too many requests. Please try again later.";
|
|
40
|
+
};
|
|
41
|
+
}>>, Record<never, never>>;
|
|
7
42
|
createPosition: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
8
43
|
walletAddress: zod.ZodString;
|
|
9
44
|
tokenAmount: zod.ZodObject<{
|
|
@@ -590,6 +625,13 @@ declare const governanceContract: {
|
|
|
590
625
|
mint: zod.ZodString;
|
|
591
626
|
}, zod_v4_core.$strip>;
|
|
592
627
|
hasMore: zod.ZodBoolean;
|
|
628
|
+
skipped: zod.ZodDefault<zod.ZodArray<zod.ZodObject<{
|
|
629
|
+
positionMint: zod.ZodString;
|
|
630
|
+
reason: zod.ZodEnum<{
|
|
631
|
+
maxChoicesReached: "maxChoicesReached";
|
|
632
|
+
alreadyVotedThisChoice: "alreadyVotedThisChoice";
|
|
633
|
+
}>;
|
|
634
|
+
}, zod_v4_core.$strip>>>;
|
|
593
635
|
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
594
636
|
BAD_REQUEST: {
|
|
595
637
|
readonly status: 400;
|
|
@@ -610,6 +652,19 @@ declare const governanceContract: {
|
|
|
610
652
|
available: zod.ZodNumber;
|
|
611
653
|
}, zod_v4_core.$strip>;
|
|
612
654
|
};
|
|
655
|
+
ALL_POSITIONS_SKIPPED: {
|
|
656
|
+
readonly status: 400;
|
|
657
|
+
readonly message: "No votes to cast — all positions were skipped.";
|
|
658
|
+
readonly data: zod.ZodObject<{
|
|
659
|
+
skipped: zod.ZodArray<zod.ZodObject<{
|
|
660
|
+
positionMint: zod.ZodString;
|
|
661
|
+
reason: zod.ZodEnum<{
|
|
662
|
+
maxChoicesReached: "maxChoicesReached";
|
|
663
|
+
alreadyVotedThisChoice: "alreadyVotedThisChoice";
|
|
664
|
+
}>;
|
|
665
|
+
}, zod_v4_core.$strip>>;
|
|
666
|
+
}, zod_v4_core.$strip>;
|
|
667
|
+
};
|
|
613
668
|
}>>, Record<never, never>>;
|
|
614
669
|
relinquishVote: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
615
670
|
walletAddress: zod.ZodString;
|
|
@@ -3666,10 +3721,9 @@ declare const migrationContract: {
|
|
|
3666
3721
|
destinationWallet: zod.ZodString;
|
|
3667
3722
|
hotspots: zod.ZodDefault<zod.ZodArray<zod.ZodString>>;
|
|
3668
3723
|
tokens: zod.ZodDefault<zod.ZodArray<zod.ZodObject<{
|
|
3669
|
-
mint: zod.ZodString;
|
|
3670
3724
|
amount: zod.ZodString;
|
|
3725
|
+
mint: zod.ZodString;
|
|
3671
3726
|
}, zod_v4_core.$strip>>>;
|
|
3672
|
-
password: zod.ZodOptional<zod.ZodString>;
|
|
3673
3727
|
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
3674
3728
|
transactionData: zod.ZodObject<{
|
|
3675
3729
|
transactions: zod.ZodArray<zod.ZodObject<{
|
|
@@ -3700,10 +3754,9 @@ declare const migrationContract: {
|
|
|
3700
3754
|
destinationWallet: zod.ZodString;
|
|
3701
3755
|
hotspots: zod.ZodDefault<zod.ZodArray<zod.ZodString>>;
|
|
3702
3756
|
tokens: zod.ZodDefault<zod.ZodArray<zod.ZodObject<{
|
|
3703
|
-
mint: zod.ZodString;
|
|
3704
3757
|
amount: zod.ZodString;
|
|
3758
|
+
mint: zod.ZodString;
|
|
3705
3759
|
}, zod_v4_core.$strip>>>;
|
|
3706
|
-
password: zod.ZodOptional<zod.ZodString>;
|
|
3707
3760
|
}, zod_v4_core.$strip>>;
|
|
3708
3761
|
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
3709
3762
|
UNAUTHORIZED: {
|
|
@@ -3729,6 +3782,10 @@ declare const migrationContract: {
|
|
|
3729
3782
|
available: zod.ZodNumber;
|
|
3730
3783
|
}, zod_v4_core.$strip>;
|
|
3731
3784
|
};
|
|
3785
|
+
RATE_LIMITED: {
|
|
3786
|
+
readonly status: 429;
|
|
3787
|
+
readonly message: "Too many requests. Please try again later.";
|
|
3788
|
+
};
|
|
3732
3789
|
}>>, Record<never, never>>;
|
|
3733
3790
|
};
|
|
3734
3791
|
|
|
@@ -4057,6 +4114,41 @@ declare const squadsContract: {
|
|
|
4057
4114
|
*/
|
|
4058
4115
|
declare const apiContract: {
|
|
4059
4116
|
governance: {
|
|
4117
|
+
getPositions: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
4118
|
+
wallet: zod.ZodString;
|
|
4119
|
+
}, zod_v4_core.$strip>, zod.ZodArray<zod.ZodObject<{
|
|
4120
|
+
positionMint: zod.ZodString;
|
|
4121
|
+
position: zod.ZodString;
|
|
4122
|
+
registrar: zod.ZodString;
|
|
4123
|
+
amountDeposited: zod.ZodObject<{
|
|
4124
|
+
amount: zod.ZodString;
|
|
4125
|
+
decimals: zod.ZodNumber;
|
|
4126
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
4127
|
+
uiAmountString: zod.ZodString;
|
|
4128
|
+
mint: zod.ZodString;
|
|
4129
|
+
}, zod_v4_core.$strip>;
|
|
4130
|
+
numActiveVotes: zod.ZodNumber;
|
|
4131
|
+
lockup: zod.ZodObject<{
|
|
4132
|
+
kind: zod.ZodEnum<{
|
|
4133
|
+
cliff: "cliff";
|
|
4134
|
+
constant: "constant";
|
|
4135
|
+
}>;
|
|
4136
|
+
startTs: zod.ZodString;
|
|
4137
|
+
endTs: zod.ZodString;
|
|
4138
|
+
}, zod_v4_core.$strip>;
|
|
4139
|
+
}, zod_v4_core.$strip>>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
4140
|
+
BAD_REQUEST: {
|
|
4141
|
+
readonly status: 400;
|
|
4142
|
+
readonly message: "Invalid input data provided.";
|
|
4143
|
+
readonly data: zod.ZodOptional<zod.ZodObject<{
|
|
4144
|
+
fields: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
4145
|
+
}, zod_v4_core.$strip>>;
|
|
4146
|
+
};
|
|
4147
|
+
RATE_LIMITED: {
|
|
4148
|
+
readonly status: 429;
|
|
4149
|
+
readonly message: "Too many requests. Please try again later.";
|
|
4150
|
+
};
|
|
4151
|
+
}>>>, Record<never, never>>;
|
|
4060
4152
|
createPosition: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
4061
4153
|
walletAddress: zod.ZodString;
|
|
4062
4154
|
tokenAmount: zod.ZodObject<{
|
|
@@ -4643,6 +4735,13 @@ declare const apiContract: {
|
|
|
4643
4735
|
mint: zod.ZodString;
|
|
4644
4736
|
}, zod_v4_core.$strip>;
|
|
4645
4737
|
hasMore: zod.ZodBoolean;
|
|
4738
|
+
skipped: zod.ZodDefault<zod.ZodArray<zod.ZodObject<{
|
|
4739
|
+
positionMint: zod.ZodString;
|
|
4740
|
+
reason: zod.ZodEnum<{
|
|
4741
|
+
maxChoicesReached: "maxChoicesReached";
|
|
4742
|
+
alreadyVotedThisChoice: "alreadyVotedThisChoice";
|
|
4743
|
+
}>;
|
|
4744
|
+
}, zod_v4_core.$strip>>>;
|
|
4646
4745
|
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
4647
4746
|
BAD_REQUEST: {
|
|
4648
4747
|
readonly status: 400;
|
|
@@ -4663,6 +4762,19 @@ declare const apiContract: {
|
|
|
4663
4762
|
available: zod.ZodNumber;
|
|
4664
4763
|
}, zod_v4_core.$strip>;
|
|
4665
4764
|
};
|
|
4765
|
+
ALL_POSITIONS_SKIPPED: {
|
|
4766
|
+
readonly status: 400;
|
|
4767
|
+
readonly message: "No votes to cast — all positions were skipped.";
|
|
4768
|
+
readonly data: zod.ZodObject<{
|
|
4769
|
+
skipped: zod.ZodArray<zod.ZodObject<{
|
|
4770
|
+
positionMint: zod.ZodString;
|
|
4771
|
+
reason: zod.ZodEnum<{
|
|
4772
|
+
maxChoicesReached: "maxChoicesReached";
|
|
4773
|
+
alreadyVotedThisChoice: "alreadyVotedThisChoice";
|
|
4774
|
+
}>;
|
|
4775
|
+
}, zod_v4_core.$strip>>;
|
|
4776
|
+
}, zod_v4_core.$strip>;
|
|
4777
|
+
};
|
|
4666
4778
|
}>>>, Record<never, never>>;
|
|
4667
4779
|
relinquishVote: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
4668
4780
|
walletAddress: zod.ZodString;
|
|
@@ -7376,10 +7488,9 @@ declare const apiContract: {
|
|
|
7376
7488
|
destinationWallet: zod.ZodString;
|
|
7377
7489
|
hotspots: zod.ZodDefault<zod.ZodArray<zod.ZodString>>;
|
|
7378
7490
|
tokens: zod.ZodDefault<zod.ZodArray<zod.ZodObject<{
|
|
7379
|
-
mint: zod.ZodString;
|
|
7380
7491
|
amount: zod.ZodString;
|
|
7492
|
+
mint: zod.ZodString;
|
|
7381
7493
|
}, zod_v4_core.$strip>>>;
|
|
7382
|
-
password: zod.ZodOptional<zod.ZodString>;
|
|
7383
7494
|
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
7384
7495
|
transactionData: zod.ZodObject<{
|
|
7385
7496
|
transactions: zod.ZodArray<zod.ZodObject<{
|
|
@@ -7410,10 +7521,9 @@ declare const apiContract: {
|
|
|
7410
7521
|
destinationWallet: zod.ZodString;
|
|
7411
7522
|
hotspots: zod.ZodDefault<zod.ZodArray<zod.ZodString>>;
|
|
7412
7523
|
tokens: zod.ZodDefault<zod.ZodArray<zod.ZodObject<{
|
|
7413
|
-
mint: zod.ZodString;
|
|
7414
7524
|
amount: zod.ZodString;
|
|
7525
|
+
mint: zod.ZodString;
|
|
7415
7526
|
}, zod_v4_core.$strip>>>;
|
|
7416
|
-
password: zod.ZodOptional<zod.ZodString>;
|
|
7417
7527
|
}, zod_v4_core.$strip>>;
|
|
7418
7528
|
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
7419
7529
|
UNAUTHORIZED: {
|
|
@@ -7439,6 +7549,10 @@ declare const apiContract: {
|
|
|
7439
7549
|
available: zod.ZodNumber;
|
|
7440
7550
|
}, zod_v4_core.$strip>;
|
|
7441
7551
|
};
|
|
7552
|
+
RATE_LIMITED: {
|
|
7553
|
+
readonly status: 429;
|
|
7554
|
+
readonly message: "Too many requests. Please try again later.";
|
|
7555
|
+
};
|
|
7442
7556
|
}>>>, Record<never, never>>;
|
|
7443
7557
|
};
|
|
7444
7558
|
dataCredits: {
|
|
@@ -8139,10 +8253,9 @@ declare const fullApiContract: {
|
|
|
8139
8253
|
destinationWallet: zod.ZodString;
|
|
8140
8254
|
hotspots: zod.ZodDefault<zod.ZodArray<zod.ZodString>>;
|
|
8141
8255
|
tokens: zod.ZodDefault<zod.ZodArray<zod.ZodObject<{
|
|
8142
|
-
mint: zod.ZodString;
|
|
8143
8256
|
amount: zod.ZodString;
|
|
8257
|
+
mint: zod.ZodString;
|
|
8144
8258
|
}, zod_v4_core.$strip>>>;
|
|
8145
|
-
password: zod.ZodOptional<zod.ZodString>;
|
|
8146
8259
|
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
8147
8260
|
transactionData: zod.ZodObject<{
|
|
8148
8261
|
transactions: zod.ZodArray<zod.ZodObject<{
|
|
@@ -8173,10 +8286,9 @@ declare const fullApiContract: {
|
|
|
8173
8286
|
destinationWallet: zod.ZodString;
|
|
8174
8287
|
hotspots: zod.ZodDefault<zod.ZodArray<zod.ZodString>>;
|
|
8175
8288
|
tokens: zod.ZodDefault<zod.ZodArray<zod.ZodObject<{
|
|
8176
|
-
mint: zod.ZodString;
|
|
8177
8289
|
amount: zod.ZodString;
|
|
8290
|
+
mint: zod.ZodString;
|
|
8178
8291
|
}, zod_v4_core.$strip>>>;
|
|
8179
|
-
password: zod.ZodOptional<zod.ZodString>;
|
|
8180
8292
|
}, zod_v4_core.$strip>>;
|
|
8181
8293
|
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
8182
8294
|
UNAUTHORIZED: {
|
|
@@ -8202,9 +8314,48 @@ declare const fullApiContract: {
|
|
|
8202
8314
|
available: zod.ZodNumber;
|
|
8203
8315
|
}, zod_v4_core.$strip>;
|
|
8204
8316
|
};
|
|
8317
|
+
RATE_LIMITED: {
|
|
8318
|
+
readonly status: 429;
|
|
8319
|
+
readonly message: "Too many requests. Please try again later.";
|
|
8320
|
+
};
|
|
8205
8321
|
}>>>, Record<never, never>>;
|
|
8206
8322
|
};
|
|
8207
8323
|
governance: {
|
|
8324
|
+
getPositions: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
8325
|
+
wallet: zod.ZodString;
|
|
8326
|
+
}, zod_v4_core.$strip>, zod.ZodArray<zod.ZodObject<{
|
|
8327
|
+
positionMint: zod.ZodString;
|
|
8328
|
+
position: zod.ZodString;
|
|
8329
|
+
registrar: zod.ZodString;
|
|
8330
|
+
amountDeposited: zod.ZodObject<{
|
|
8331
|
+
amount: zod.ZodString;
|
|
8332
|
+
decimals: zod.ZodNumber;
|
|
8333
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
8334
|
+
uiAmountString: zod.ZodString;
|
|
8335
|
+
mint: zod.ZodString;
|
|
8336
|
+
}, zod_v4_core.$strip>;
|
|
8337
|
+
numActiveVotes: zod.ZodNumber;
|
|
8338
|
+
lockup: zod.ZodObject<{
|
|
8339
|
+
kind: zod.ZodEnum<{
|
|
8340
|
+
cliff: "cliff";
|
|
8341
|
+
constant: "constant";
|
|
8342
|
+
}>;
|
|
8343
|
+
startTs: zod.ZodString;
|
|
8344
|
+
endTs: zod.ZodString;
|
|
8345
|
+
}, zod_v4_core.$strip>;
|
|
8346
|
+
}, zod_v4_core.$strip>>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
8347
|
+
BAD_REQUEST: {
|
|
8348
|
+
readonly status: 400;
|
|
8349
|
+
readonly message: "Invalid input data provided.";
|
|
8350
|
+
readonly data: zod.ZodOptional<zod.ZodObject<{
|
|
8351
|
+
fields: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
8352
|
+
}, zod_v4_core.$strip>>;
|
|
8353
|
+
};
|
|
8354
|
+
RATE_LIMITED: {
|
|
8355
|
+
readonly status: 429;
|
|
8356
|
+
readonly message: "Too many requests. Please try again later.";
|
|
8357
|
+
};
|
|
8358
|
+
}>>>>, Record<never, never>>;
|
|
8208
8359
|
createPosition: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
8209
8360
|
walletAddress: zod.ZodString;
|
|
8210
8361
|
tokenAmount: zod.ZodObject<{
|
|
@@ -8791,6 +8942,13 @@ declare const fullApiContract: {
|
|
|
8791
8942
|
mint: zod.ZodString;
|
|
8792
8943
|
}, zod_v4_core.$strip>;
|
|
8793
8944
|
hasMore: zod.ZodBoolean;
|
|
8945
|
+
skipped: zod.ZodDefault<zod.ZodArray<zod.ZodObject<{
|
|
8946
|
+
positionMint: zod.ZodString;
|
|
8947
|
+
reason: zod.ZodEnum<{
|
|
8948
|
+
maxChoicesReached: "maxChoicesReached";
|
|
8949
|
+
alreadyVotedThisChoice: "alreadyVotedThisChoice";
|
|
8950
|
+
}>;
|
|
8951
|
+
}, zod_v4_core.$strip>>>;
|
|
8794
8952
|
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
8795
8953
|
BAD_REQUEST: {
|
|
8796
8954
|
readonly status: 400;
|
|
@@ -8811,6 +8969,19 @@ declare const fullApiContract: {
|
|
|
8811
8969
|
available: zod.ZodNumber;
|
|
8812
8970
|
}, zod_v4_core.$strip>;
|
|
8813
8971
|
};
|
|
8972
|
+
ALL_POSITIONS_SKIPPED: {
|
|
8973
|
+
readonly status: 400;
|
|
8974
|
+
readonly message: "No votes to cast — all positions were skipped.";
|
|
8975
|
+
readonly data: zod.ZodObject<{
|
|
8976
|
+
skipped: zod.ZodArray<zod.ZodObject<{
|
|
8977
|
+
positionMint: zod.ZodString;
|
|
8978
|
+
reason: zod.ZodEnum<{
|
|
8979
|
+
maxChoicesReached: "maxChoicesReached";
|
|
8980
|
+
alreadyVotedThisChoice: "alreadyVotedThisChoice";
|
|
8981
|
+
}>;
|
|
8982
|
+
}, zod_v4_core.$strip>>;
|
|
8983
|
+
}, zod_v4_core.$strip>;
|
|
8984
|
+
};
|
|
8814
8985
|
}>>>>, Record<never, never>>;
|
|
8815
8986
|
relinquishVote: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
8816
8987
|
walletAddress: zod.ZodString;
|
package/dist/contracts.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { apiContract, dataCreditsContract, fiatContract, fullApiContract, governanceContract, healthContract, hotspotsContract, migrationContract, rewardContract, squadsContract, swapContract, tokensContract, transactionsContract, webhooksContract, welcomePacksContract } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
export { apiContract, dataCreditsContract, fiatContract, fullApiContract, governanceContract, healthContract, hotspotsContract, migrationContract, rewardContract, squadsContract, swapContract, tokensContract, transactionsContract, webhooksContract, welcomePacksContract } from './chunk-DK2PPY3F.js';
|
|
2
|
+
import './chunk-DM4OMXXB.js';
|
|
3
3
|
import './chunk-7CTJX35S.js';
|
|
4
|
-
import './chunk-
|
|
4
|
+
import './chunk-SD6DBUHP.js';
|
|
5
5
|
import './chunk-2XDXO5AZ.js';
|
|
6
6
|
import './chunk-Y5PUR7UV.js';
|
|
7
7
|
import './chunk-DE4MGYVZ.js';
|
|
@@ -9,7 +9,7 @@ import './chunk-PNPUIF7P.js';
|
|
|
9
9
|
import './chunk-LMKKZIF6.js';
|
|
10
10
|
import './chunk-GI4C45MR.js';
|
|
11
11
|
import './chunk-DB664YCA.js';
|
|
12
|
-
import './chunk-
|
|
12
|
+
import './chunk-PJEBIHIU.js';
|
|
13
13
|
import './chunk-4RVSLJOU.js';
|
|
14
14
|
import './chunk-VCQCOERJ.js';
|
|
15
15
|
import './chunk-O5LI7ILX.js';
|
package/dist/errors.d.ts
CHANGED
|
@@ -38,6 +38,25 @@ declare const CONFLICT: {
|
|
|
38
38
|
readonly message: "A resource with this identifier already exists.";
|
|
39
39
|
};
|
|
40
40
|
|
|
41
|
+
/**
|
|
42
|
+
* Every supplied position was skipped, so there are no vote transactions to
|
|
43
|
+
* build. The skip report is still returned so the client can explain the
|
|
44
|
+
* shortfall.
|
|
45
|
+
*/
|
|
46
|
+
declare const ALL_POSITIONS_SKIPPED: {
|
|
47
|
+
readonly status: 400;
|
|
48
|
+
readonly message: "No votes to cast — all positions were skipped.";
|
|
49
|
+
readonly data: z.ZodObject<{
|
|
50
|
+
skipped: z.ZodArray<z.ZodObject<{
|
|
51
|
+
positionMint: z.ZodString;
|
|
52
|
+
reason: z.ZodEnum<{
|
|
53
|
+
maxChoicesReached: "maxChoicesReached";
|
|
54
|
+
alreadyVotedThisChoice: "alreadyVotedThisChoice";
|
|
55
|
+
}>;
|
|
56
|
+
}, z.core.$strip>>;
|
|
57
|
+
}, z.core.$strip>;
|
|
58
|
+
};
|
|
59
|
+
|
|
41
60
|
/** Insufficient Solana balance error */
|
|
42
61
|
declare const INSUFFICIENT_FUNDS: {
|
|
43
62
|
readonly status: 400;
|
|
@@ -66,4 +85,4 @@ declare const SIMULATION_FAILED: {
|
|
|
66
85
|
}, z.core.$strip>;
|
|
67
86
|
};
|
|
68
87
|
|
|
69
|
-
export { BAD_REQUEST, CONFLICT, INSUFFICIENT_FUNDS, INVALID_WALLET_ADDRESS, NOT_FOUND, RATE_LIMITED, SIMULATION_FAILED, TRANSACTION_FAILED, UNAUTHENTICATED, UNAUTHORIZED };
|
|
88
|
+
export { ALL_POSITIONS_SKIPPED, BAD_REQUEST, CONFLICT, INSUFFICIENT_FUNDS, INVALID_WALLET_ADDRESS, NOT_FOUND, RATE_LIMITED, SIMULATION_FAILED, TRANSACTION_FAILED, UNAUTHENTICATED, UNAUTHORIZED };
|
package/dist/errors.js
CHANGED
|
@@ -1,2 +1,4 @@
|
|
|
1
|
-
import './chunk-
|
|
2
|
-
export { BAD_REQUEST, CONFLICT, INSUFFICIENT_FUNDS, INVALID_WALLET_ADDRESS, NOT_FOUND, RATE_LIMITED, SIMULATION_FAILED, TRANSACTION_FAILED, UNAUTHENTICATED, UNAUTHORIZED } from './chunk-
|
|
1
|
+
import './chunk-DQYAIQQ5.js';
|
|
2
|
+
export { ALL_POSITIONS_SKIPPED, BAD_REQUEST, CONFLICT, INSUFFICIENT_FUNDS, INVALID_WALLET_ADDRESS, NOT_FOUND, RATE_LIMITED, SIMULATION_FAILED, TRANSACTION_FAILED, UNAUTHENTICATED, UNAUTHORIZED } from './chunk-DM4OMXXB.js';
|
|
3
|
+
import './chunk-PJEBIHIU.js';
|
|
4
|
+
import './chunk-O5LI7ILX.js';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { ErrorResponse, ErrorResponseSchema, HeliumPublicKeySchema, PaginationInputSchema, PaginationOutputSchema, PublicKeySchema, RewardSplitInput, RewardSplitInputSchema, ScheduleInput, ScheduleInputSchema, TokenAmountInput, TokenAmountInputSchema, TokenAmountOutput, TokenAmountOutputSchema, TransactionBatchRequest, TransactionBatchRequestSchema, TransactionBatchResponse, TransactionBatchResponseSchema, TransactionData, TransactionDataSchema, TransactionItem, TransactionItemSchema, TransactionMetadata, TransactionMetadataSchema, WalletAddressSchema, createPaginatedTransactionResponse, createTransactionResponse, createTypedPaginatedTransactionResponse, createTypedTransactionResponse, squadsProposeFields, typedTransactionData } from './schemas/common.js';
|
|
2
2
|
export { BankAccount, BankAccountListOutput, BankAccountListOutputSchema, BankAccountSchema, BridgeTransfer, BridgeTransferSchema, CreateBankAccountInput, CreateBankAccountInputSchema, DeleteBankAccountInput, DeleteBankAccountInputSchema, DeleteBankAccountOutput, DeleteBankAccountOutputSchema, FeesOutput, FeesOutputSchema, GetBankAccountInput, GetBankAccountInputSchema, GetSendQuoteInput, GetSendQuoteInputSchema, GetTransferInput, GetTransferInputSchema, InitKycInput, InitKycInputSchema, KycStatusOutput, KycStatusOutputSchema, QuoteOutputSchema, SendFundsInput, SendFundsInputSchema, SendFundsOutput, SendFundsOutputSchema, UpdateTransferInput, UpdateTransferInputSchema, UpdateTransferOutput, UpdateTransferOutputSchema } from './schemas/fiat.js';
|
|
3
|
-
export { AssignProxiesInput, AssignProxiesInputSchema, AssignProxiesResponse, AssignProxiesResponseSchema, ClaimDelegationRewardsInput, ClaimDelegationRewardsInputSchema, ClaimDelegationRewardsResponse, ClaimDelegationRewardsResponseSchema, ClosePositionInput, ClosePositionInputSchema, ClosePositionResponse, ClosePositionResponseSchema, CreatePositionInput, CreatePositionInputSchema, CreatePositionResponse, CreatePositionResponseSchema, DelegatePositionInput, DelegatePositionInputSchema, DelegatePositionsResponse, DelegatePositionsResponseSchema, ExtendDelegationInput, ExtendDelegationInputSchema, ExtendDelegationResponse, ExtendDelegationResponseSchema, ExtendPositionInput, ExtendPositionInputSchema, ExtendPositionResponse, ExtendPositionResponseSchema, FlipLockupKindInput, FlipLockupKindInputSchema, FlipLockupKindResponse, FlipLockupKindResponseSchema, LockupKind, LockupKindSchema, RelinquishPositionVotesInput, RelinquishPositionVotesInputSchema, RelinquishPositionVotesResponse, RelinquishPositionVotesResponseSchema, RelinquishVoteInput, RelinquishVoteInputSchema, RelinquishVoteResponse, RelinquishVoteResponseSchema, ResetLockupInput, ResetLockupInputSchema, ResetLockupResponse, ResetLockupResponseSchema, SplitPositionInput, SplitPositionInputSchema, SplitPositionResponse, SplitPositionResponseSchema, TransferPositionInput, TransferPositionInputSchema, TransferPositionOwnershipInput, TransferPositionOwnershipInputSchema, TransferPositionOwnershipResponse, TransferPositionOwnershipResponseSchema, TransferPositionResponse, TransferPositionResponseSchema, UnassignProxiesInput, UnassignProxiesInputSchema, UnassignProxiesResponse, UnassignProxiesResponseSchema, UndelegateInput, UndelegateInputSchema, UndelegatePositionResponse, UndelegatePositionResponseSchema, VoteInput, VoteInputSchema, VoteResponse, VoteResponseSchema } from './schemas/governance.js';
|
|
3
|
+
export { AssignProxiesInput, AssignProxiesInputSchema, AssignProxiesResponse, AssignProxiesResponseSchema, ClaimDelegationRewardsInput, ClaimDelegationRewardsInputSchema, ClaimDelegationRewardsResponse, ClaimDelegationRewardsResponseSchema, ClosePositionInput, ClosePositionInputSchema, ClosePositionResponse, ClosePositionResponseSchema, CreatePositionInput, CreatePositionInputSchema, CreatePositionResponse, CreatePositionResponseSchema, DelegatePositionInput, DelegatePositionInputSchema, DelegatePositionsResponse, DelegatePositionsResponseSchema, ExtendDelegationInput, ExtendDelegationInputSchema, ExtendDelegationResponse, ExtendDelegationResponseSchema, ExtendPositionInput, ExtendPositionInputSchema, ExtendPositionResponse, ExtendPositionResponseSchema, FlipLockupKindInput, FlipLockupKindInputSchema, FlipLockupKindResponse, FlipLockupKindResponseSchema, GetPositionsInput, GetPositionsInputSchema, GetPositionsResponse, GetPositionsResponseSchema, LockupKind, LockupKindSchema, Position, PositionSchema, RelinquishPositionVotesInput, RelinquishPositionVotesInputSchema, RelinquishPositionVotesResponse, RelinquishPositionVotesResponseSchema, RelinquishVoteInput, RelinquishVoteInputSchema, RelinquishVoteResponse, RelinquishVoteResponseSchema, ResetLockupInput, ResetLockupInputSchema, ResetLockupResponse, ResetLockupResponseSchema, SkipReason, SkipReasonSchema, SkippedPosition, SkippedPositionSchema, SplitPositionInput, SplitPositionInputSchema, SplitPositionResponse, SplitPositionResponseSchema, TransferPositionInput, TransferPositionInputSchema, TransferPositionOwnershipInput, TransferPositionOwnershipInputSchema, TransferPositionOwnershipResponse, TransferPositionOwnershipResponseSchema, TransferPositionResponse, TransferPositionResponseSchema, UnassignProxiesInput, UnassignProxiesInputSchema, UnassignProxiesResponse, UnassignProxiesResponseSchema, UndelegateInput, UndelegateInputSchema, UndelegatePositionResponse, UndelegatePositionResponseSchema, VoteInput, VoteInputSchema, VoteResponse, VoteResponseSchema } from './schemas/governance.js';
|
|
4
4
|
export { HealthResponse, HealthResponseSchema } from './schemas/health.js';
|
|
5
5
|
export { BurnInput, BurnInputSchema, BurnOutputSchema, CreateHntAccountInput, CreateHntAccountInputSchema, CreateHntAccountOutput, CreateHntAccountOutputSchema, GetBalancesInput, GetBalancesInputSchema, MemoInput, MemoInputSchema, MemoOutputSchema, MultiTransferInput, MultiTransferInputSchema, MultiTransferOutput, MultiTransferOutputSchema, MultiTransferRecipient, MultiTransferRecipientSchema, TokenAccount, TokenAccountSchema, TokenBalanceData, TokenBalanceDataSchema, TransferInput, TransferInputSchema, TransferOutput, TransferOutputSchema } from './schemas/tokens.js';
|
|
6
6
|
export { AddEntityToAutomationInput, AddEntityToAutomationInputSchema, AddEntityToAutomationOutputSchema, AddWalletToAutomationInput, AddWalletToAutomationInputSchema, AddWalletToAutomationOutputSchema, AutomationScheduleSchema, AutomationStatus, AutomationStatusOutputSchema, ClaimHotspotRewardsInputSchema, ClaimHotspotRewardsOutputSchema, ClaimRewardsInput, ClaimRewardsInputSchema, ClaimRewardsOutputSchema, CloseAutomationInput, CloseAutomationInputSchema, CloseAutomationOutputSchema, CreateSplitInput, CreateSplitInputSchema, CreateSplitOutputSchema, DeleteSplitInput, DeleteSplitInputSchema, DeleteSplitOutputSchema, DeviceType, DeviceTypeSchema, FundAutomationInput, FundAutomationInputSchema, FundAutomationOutputSchema, FundingEstimate, FundingEstimateOutputSchema, GetAutomationStatusInput, GetAutomationStatusInputSchema, GetFundingEstimateInput, GetFundingEstimateInputSchema, GetHotspotsInput, GetHotspotsInputSchema, GetPendingRewardsInput, GetPendingRewardsInputSchema, GetPendingRewardsOutput, GetPendingRewardsOutputSchema, GetSplitInput, GetSplitInputSchema, Hotspot, HotspotBurnInputSchema, HotspotBurnOutputSchema, HotspotSchema, HotspotSharesSchema, HotspotType, HotspotTypeSchema, HotspotsData, HotspotsDataSchema, IssueDataOnlyHotspotInput, IssueDataOnlyHotspotInputSchema, IssueDataOnlyHotspotOutputSchema, OnboardDataOnlyHotspotInput, OnboardDataOnlyHotspotInputSchema, OnboardDataOnlyHotspotOutputSchema, OwnershipType, OwnershipTypeSchema, RemoveEntityFromAutomationInput, RemoveEntityFromAutomationInputSchema, RemoveEntityFromAutomationOutputSchema, RequeueAutomationInput, RequeueAutomationInputSchema, RequeueAutomationOutputSchema, RewardNetworkSchema, SetupAutomationInput, SetupAutomationInputSchema, SetupAutomationOutputSchema, SplitResponse, SplitResponseSchema, SplitShare, SplitShareSchema, TopUpAutomationInput, TopUpAutomationInputSchema, TopUpAutomationOutputSchema, TransferHotspotInput, TransferHotspotInputSchema, TransferHotspotOutputSchema, UpdateHotspotInfoInputSchema, UpdateHotspotInfoOutputSchema, UpdateRewardsDestinationInput, UpdateRewardsDestinationInputSchema, UpdateRewardsDestinationOutputSchema } from './schemas/hotspots.js';
|
|
@@ -10,7 +10,7 @@ export { BatchStatusOutput, BatchStatusOutputSchema, EstimateInput, EstimateInpu
|
|
|
10
10
|
export { WelcomePack, WelcomePackClaimInput, WelcomePackClaimInputSchema, WelcomePackClaimOutput, WelcomePackClaimOutputSchema, WelcomePackCreateInput, WelcomePackCreateInputSchema, WelcomePackCreateOutput, WelcomePackCreateOutputSchema, WelcomePackDeleteInput, WelcomePackDeleteInputSchema, WelcomePackDeleteOutput, WelcomePackDeleteOutputSchema, WelcomePackGetByAddressInput, WelcomePackGetByAddressInputSchema, WelcomePackGetInput, WelcomePackGetInputSchema, WelcomePackInviteInput, WelcomePackInviteInputSchema, WelcomePackInviteOutput, WelcomePackInviteOutputSchema, WelcomePackListInput, WelcomePackListInputSchema, WelcomePackListOutput, WelcomePackListOutputSchema, WelcomePackSchema } from './schemas/welcome-packs.js';
|
|
11
11
|
export { MigratableHotspotSchema, MigratableHotspotsInput, MigratableHotspotsInputSchema, MigratableHotspotsOutput, MigratableHotspotsOutputSchema, MigrateInput, MigrateInputSchema, MigrateOutput, MigrateOutputSchema, MigrateTransactionDataSchema, MigrateTransactionItemSchema } from './schemas/migration.js';
|
|
12
12
|
export { BurnDataCreditsInput, BurnDataCreditsInputSchema, DelegateDataCreditsInput, DelegateDataCreditsInputSchema, MintDataCreditsInput, MintDataCreditsInputSchema } from './schemas/data-credits.js';
|
|
13
|
-
export { BAD_REQUEST, CONFLICT, INSUFFICIENT_FUNDS, INVALID_WALLET_ADDRESS, NOT_FOUND, RATE_LIMITED, SIMULATION_FAILED, TRANSACTION_FAILED, UNAUTHENTICATED, UNAUTHORIZED } from './errors.js';
|
|
13
|
+
export { ALL_POSITIONS_SKIPPED, BAD_REQUEST, CONFLICT, INSUFFICIENT_FUNDS, INVALID_WALLET_ADDRESS, NOT_FOUND, RATE_LIMITED, SIMULATION_FAILED, TRANSACTION_FAILED, UNAUTHENTICATED, UNAUTHORIZED } from './errors.js';
|
|
14
14
|
export { apiContract, fullApiContract } from './contracts.js';
|
|
15
15
|
import 'zod';
|
|
16
16
|
import '@orpc/contract';
|
package/dist/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import './chunk-
|
|
2
|
-
export { apiContract, fullApiContract } from './chunk-
|
|
3
|
-
export { BAD_REQUEST, CONFLICT, INSUFFICIENT_FUNDS, INVALID_WALLET_ADDRESS, NOT_FOUND, RATE_LIMITED, SIMULATION_FAILED, TRANSACTION_FAILED, UNAUTHENTICATED, UNAUTHORIZED } from './chunk-
|
|
1
|
+
import './chunk-DQYAIQQ5.js';
|
|
2
|
+
export { apiContract, fullApiContract } from './chunk-DK2PPY3F.js';
|
|
3
|
+
export { ALL_POSITIONS_SKIPPED, BAD_REQUEST, CONFLICT, INSUFFICIENT_FUNDS, INVALID_WALLET_ADDRESS, NOT_FOUND, RATE_LIMITED, SIMULATION_FAILED, TRANSACTION_FAILED, UNAUTHENTICATED, UNAUTHORIZED } from './chunk-DM4OMXXB.js';
|
|
4
4
|
import './chunk-7CTJX35S.js';
|
|
5
5
|
import './chunk-TPPTOJHD.js';
|
|
6
|
-
export { MigratableHotspotSchema, MigratableHotspotsInputSchema, MigratableHotspotsOutputSchema, MigrateInputSchema, MigrateOutputSchema, MigrateTransactionDataSchema, MigrateTransactionItemSchema } from './chunk-
|
|
6
|
+
export { MigratableHotspotSchema, MigratableHotspotsInputSchema, MigratableHotspotsOutputSchema, MigrateInputSchema, MigrateOutputSchema, MigrateTransactionDataSchema, MigrateTransactionItemSchema } from './chunk-SD6DBUHP.js';
|
|
7
7
|
export { ClaimInviteRequestSchema, ClaimInviteResponseSchema, CreateInviteResponseSchema, CreateRewardContractTransactionInputSchema, CreateRewardContractTransactionResponseSchema, DeleteRewardContractTransactionResponseSchema, EstimateCostToCreateRewardContractResponseSchema, FindRewardContractResponseSchema } from './chunk-2XDXO5AZ.js';
|
|
8
8
|
export { BurnInputSchema, BurnOutputSchema, CreateHntAccountInputSchema, CreateHntAccountOutputSchema, GetBalancesInputSchema, MemoInputSchema, MemoOutputSchema, MultiTransferInputSchema, MultiTransferOutputSchema, MultiTransferRecipientSchema, TokenAccountSchema, TokenBalanceDataSchema, TransferInputSchema, TransferOutputSchema } from './chunk-Y5PUR7UV.js';
|
|
9
9
|
export { BatchStatusOutputSchema, EstimateInputSchema, EstimateOutputSchema, GetByPayerAndTagInputSchema, GetByPayerInputSchema, GetHistoryInputSchema, GetInputSchema, HistoryActionSchema, HistoryOutputSchema, HistoryTransactionSchema, PayerBatchSummarySchema, PayerBatchesOutputSchema, ResubmitInputSchema, ResubmitOutputSchema, SubmitInputSchema, SubmitOutputSchema, TransactionStatusSchema } from './chunk-DE4MGYVZ.js';
|
|
@@ -11,7 +11,7 @@ export { BurnDataCreditsInputSchema, DelegateDataCreditsInputSchema, MintDataCre
|
|
|
11
11
|
export { WelcomePackClaimInputSchema, WelcomePackClaimOutputSchema, WelcomePackCreateInputSchema, WelcomePackCreateOutputSchema, WelcomePackDeleteInputSchema, WelcomePackDeleteOutputSchema, WelcomePackGetByAddressInputSchema, WelcomePackGetInputSchema, WelcomePackInviteInputSchema, WelcomePackInviteOutputSchema, WelcomePackListInputSchema, WelcomePackListOutputSchema, WelcomePackSchema } from './chunk-LMKKZIF6.js';
|
|
12
12
|
export { BankAccountListOutputSchema, BankAccountSchema, BridgeTransferSchema, CreateBankAccountInputSchema, DeleteBankAccountInputSchema, DeleteBankAccountOutputSchema, FeesOutputSchema, GetBankAccountInputSchema, GetSendQuoteInputSchema, GetTransferInputSchema, InitKycInputSchema, KycStatusOutputSchema, QuoteOutputSchema, SendFundsInputSchema, SendFundsOutputSchema, UpdateTransferInputSchema, UpdateTransferOutputSchema } from './chunk-GI4C45MR.js';
|
|
13
13
|
export { GetInstructionsInputSchema, GetQuoteInputSchema, GetTokensInputSchema, QuoteResponseSchema, SwapTransactionDataSchema, TokenListOutputSchema, TokenSchema } from './chunk-DB664YCA.js';
|
|
14
|
-
export { AssignProxiesInputSchema, AssignProxiesResponseSchema, ClaimDelegationRewardsInputSchema, ClaimDelegationRewardsResponseSchema, ClosePositionInputSchema, ClosePositionResponseSchema, CreatePositionInputSchema, CreatePositionResponseSchema, DelegatePositionInputSchema, DelegatePositionsResponseSchema, ExtendDelegationInputSchema, ExtendDelegationResponseSchema, ExtendPositionInputSchema, ExtendPositionResponseSchema, FlipLockupKindInputSchema, FlipLockupKindResponseSchema, LockupKindSchema, RelinquishPositionVotesInputSchema, RelinquishPositionVotesResponseSchema, RelinquishVoteInputSchema, RelinquishVoteResponseSchema, ResetLockupInputSchema, ResetLockupResponseSchema, SplitPositionInputSchema, SplitPositionResponseSchema, TransferPositionInputSchema, TransferPositionOwnershipInputSchema, TransferPositionOwnershipResponseSchema, TransferPositionResponseSchema, UnassignProxiesInputSchema, UnassignProxiesResponseSchema, UndelegateInputSchema, UndelegatePositionResponseSchema, VoteInputSchema, VoteResponseSchema } from './chunk-
|
|
14
|
+
export { AssignProxiesInputSchema, AssignProxiesResponseSchema, ClaimDelegationRewardsInputSchema, ClaimDelegationRewardsResponseSchema, ClosePositionInputSchema, ClosePositionResponseSchema, CreatePositionInputSchema, CreatePositionResponseSchema, DelegatePositionInputSchema, DelegatePositionsResponseSchema, ExtendDelegationInputSchema, ExtendDelegationResponseSchema, ExtendPositionInputSchema, ExtendPositionResponseSchema, FlipLockupKindInputSchema, FlipLockupKindResponseSchema, GetPositionsInputSchema, GetPositionsResponseSchema, LockupKindSchema, PositionSchema, RelinquishPositionVotesInputSchema, RelinquishPositionVotesResponseSchema, RelinquishVoteInputSchema, RelinquishVoteResponseSchema, ResetLockupInputSchema, ResetLockupResponseSchema, SkipReasonSchema, SkippedPositionSchema, SplitPositionInputSchema, SplitPositionResponseSchema, TransferPositionInputSchema, TransferPositionOwnershipInputSchema, TransferPositionOwnershipResponseSchema, TransferPositionResponseSchema, UnassignProxiesInputSchema, UnassignProxiesResponseSchema, UndelegateInputSchema, UndelegatePositionResponseSchema, VoteInputSchema, VoteResponseSchema } from './chunk-PJEBIHIU.js';
|
|
15
15
|
export { HealthResponseSchema } from './chunk-4RVSLJOU.js';
|
|
16
16
|
export { AddEntityToAutomationInputSchema, AddEntityToAutomationOutputSchema, AddWalletToAutomationInputSchema, AddWalletToAutomationOutputSchema, AutomationScheduleSchema, AutomationStatusOutputSchema, ClaimHotspotRewardsInputSchema, ClaimHotspotRewardsOutputSchema, ClaimRewardsInputSchema, ClaimRewardsOutputSchema, CloseAutomationInputSchema, CloseAutomationOutputSchema, CreateSplitInputSchema, CreateSplitOutputSchema, DeleteSplitInputSchema, DeleteSplitOutputSchema, DeviceTypeSchema, FundAutomationInputSchema, FundAutomationOutputSchema, FundingEstimateOutputSchema, GetAutomationStatusInputSchema, GetFundingEstimateInputSchema, GetHotspotsInputSchema, GetPendingRewardsInputSchema, GetPendingRewardsOutputSchema, GetSplitInputSchema, HotspotBurnInputSchema, HotspotBurnOutputSchema, HotspotSchema, HotspotSharesSchema, HotspotTypeSchema, HotspotsDataSchema, IssueDataOnlyHotspotInputSchema, IssueDataOnlyHotspotOutputSchema, OnboardDataOnlyHotspotInputSchema, OnboardDataOnlyHotspotOutputSchema, OwnershipTypeSchema, RemoveEntityFromAutomationInputSchema, RemoveEntityFromAutomationOutputSchema, RequeueAutomationInputSchema, RequeueAutomationOutputSchema, RewardNetworkSchema, SetupAutomationInputSchema, SetupAutomationOutputSchema, SplitResponseSchema, SplitShareSchema, TopUpAutomationInputSchema, TopUpAutomationOutputSchema, TransferHotspotInputSchema, TransferHotspotOutputSchema, UpdateHotspotInfoInputSchema, UpdateHotspotInfoOutputSchema, UpdateRewardsDestinationInputSchema, UpdateRewardsDestinationOutputSchema } from './chunk-VCQCOERJ.js';
|
|
17
17
|
export { ErrorResponseSchema, HeliumPublicKeySchema, PaginationInputSchema, PaginationOutputSchema, PublicKeySchema, RewardSplitInputSchema, ScheduleInputSchema, TokenAmountInputSchema, TokenAmountOutputSchema, TransactionBatchRequestSchema, TransactionBatchResponseSchema, TransactionDataSchema, TransactionItemSchema, TransactionMetadataSchema, WalletAddressSchema, createPaginatedTransactionResponse, createTransactionResponse, createTypedPaginatedTransactionResponse, createTypedTransactionResponse, squadsProposeFields, typedTransactionData } from './chunk-O5LI7ILX.js';
|
|
@@ -56,6 +56,9 @@ declare const TransferPositionInputSchema: z.ZodObject<{
|
|
|
56
56
|
targetPositionMint: z.ZodString;
|
|
57
57
|
amount: z.ZodString;
|
|
58
58
|
}, z.core.$strip>;
|
|
59
|
+
declare const GetPositionsInputSchema: z.ZodObject<{
|
|
60
|
+
wallet: z.ZodString;
|
|
61
|
+
}, z.core.$strip>;
|
|
59
62
|
declare const TransferPositionOwnershipInputSchema: z.ZodObject<{
|
|
60
63
|
from: z.ZodString;
|
|
61
64
|
to: z.ZodString;
|
|
@@ -107,6 +110,59 @@ declare const UnassignProxiesInputSchema: z.ZodObject<{
|
|
|
107
110
|
proxyKey: z.ZodString;
|
|
108
111
|
positionMints: z.ZodArray<z.ZodString>;
|
|
109
112
|
}, z.core.$strip>;
|
|
113
|
+
declare const SkipReasonSchema: z.ZodEnum<{
|
|
114
|
+
maxChoicesReached: "maxChoicesReached";
|
|
115
|
+
alreadyVotedThisChoice: "alreadyVotedThisChoice";
|
|
116
|
+
}>;
|
|
117
|
+
declare const SkippedPositionSchema: z.ZodObject<{
|
|
118
|
+
positionMint: z.ZodString;
|
|
119
|
+
reason: z.ZodEnum<{
|
|
120
|
+
maxChoicesReached: "maxChoicesReached";
|
|
121
|
+
alreadyVotedThisChoice: "alreadyVotedThisChoice";
|
|
122
|
+
}>;
|
|
123
|
+
}, z.core.$strip>;
|
|
124
|
+
declare const PositionSchema: z.ZodObject<{
|
|
125
|
+
positionMint: z.ZodString;
|
|
126
|
+
position: z.ZodString;
|
|
127
|
+
registrar: z.ZodString;
|
|
128
|
+
amountDeposited: z.ZodObject<{
|
|
129
|
+
amount: z.ZodString;
|
|
130
|
+
decimals: z.ZodNumber;
|
|
131
|
+
uiAmount: z.ZodNullable<z.ZodNumber>;
|
|
132
|
+
uiAmountString: z.ZodString;
|
|
133
|
+
mint: z.ZodString;
|
|
134
|
+
}, z.core.$strip>;
|
|
135
|
+
numActiveVotes: z.ZodNumber;
|
|
136
|
+
lockup: z.ZodObject<{
|
|
137
|
+
kind: z.ZodEnum<{
|
|
138
|
+
cliff: "cliff";
|
|
139
|
+
constant: "constant";
|
|
140
|
+
}>;
|
|
141
|
+
startTs: z.ZodString;
|
|
142
|
+
endTs: z.ZodString;
|
|
143
|
+
}, z.core.$strip>;
|
|
144
|
+
}, z.core.$strip>;
|
|
145
|
+
declare const GetPositionsResponseSchema: z.ZodArray<z.ZodObject<{
|
|
146
|
+
positionMint: z.ZodString;
|
|
147
|
+
position: z.ZodString;
|
|
148
|
+
registrar: z.ZodString;
|
|
149
|
+
amountDeposited: z.ZodObject<{
|
|
150
|
+
amount: z.ZodString;
|
|
151
|
+
decimals: z.ZodNumber;
|
|
152
|
+
uiAmount: z.ZodNullable<z.ZodNumber>;
|
|
153
|
+
uiAmountString: z.ZodString;
|
|
154
|
+
mint: z.ZodString;
|
|
155
|
+
}, z.core.$strip>;
|
|
156
|
+
numActiveVotes: z.ZodNumber;
|
|
157
|
+
lockup: z.ZodObject<{
|
|
158
|
+
kind: z.ZodEnum<{
|
|
159
|
+
cliff: "cliff";
|
|
160
|
+
constant: "constant";
|
|
161
|
+
}>;
|
|
162
|
+
startTs: z.ZodString;
|
|
163
|
+
endTs: z.ZodString;
|
|
164
|
+
}, z.core.$strip>;
|
|
165
|
+
}, z.core.$strip>>;
|
|
110
166
|
declare const CreatePositionResponseSchema: z.ZodObject<{
|
|
111
167
|
transactionData: z.ZodObject<{
|
|
112
168
|
transactions: z.ZodArray<z.ZodObject<{
|
|
@@ -385,6 +441,13 @@ declare const VoteResponseSchema: z.ZodObject<{
|
|
|
385
441
|
mint: z.ZodString;
|
|
386
442
|
}, z.core.$strip>;
|
|
387
443
|
hasMore: z.ZodBoolean;
|
|
444
|
+
skipped: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
445
|
+
positionMint: z.ZodString;
|
|
446
|
+
reason: z.ZodEnum<{
|
|
447
|
+
maxChoicesReached: "maxChoicesReached";
|
|
448
|
+
alreadyVotedThisChoice: "alreadyVotedThisChoice";
|
|
449
|
+
}>;
|
|
450
|
+
}, z.core.$strip>>>;
|
|
388
451
|
}, z.core.$strip>;
|
|
389
452
|
declare const RelinquishVoteResponseSchema: z.ZodObject<{
|
|
390
453
|
transactionData: z.ZodObject<{
|
|
@@ -484,6 +547,9 @@ type ResetLockupInput = z.infer<typeof ResetLockupInputSchema>;
|
|
|
484
547
|
type SplitPositionInput = z.infer<typeof SplitPositionInputSchema>;
|
|
485
548
|
type TransferPositionInput = z.infer<typeof TransferPositionInputSchema>;
|
|
486
549
|
type TransferPositionOwnershipInput = z.infer<typeof TransferPositionOwnershipInputSchema>;
|
|
550
|
+
type GetPositionsInput = z.infer<typeof GetPositionsInputSchema>;
|
|
551
|
+
type Position = z.infer<typeof PositionSchema>;
|
|
552
|
+
type GetPositionsResponse = z.infer<typeof GetPositionsResponseSchema>;
|
|
487
553
|
type DelegatePositionInput = z.infer<typeof DelegatePositionInputSchema>;
|
|
488
554
|
type ExtendDelegationInput = z.infer<typeof ExtendDelegationInputSchema>;
|
|
489
555
|
type UndelegateInput = z.infer<typeof UndelegateInputSchema>;
|
|
@@ -505,10 +571,12 @@ type DelegatePositionsResponse = z.infer<typeof DelegatePositionsResponseSchema>
|
|
|
505
571
|
type ExtendDelegationResponse = z.infer<typeof ExtendDelegationResponseSchema>;
|
|
506
572
|
type UndelegatePositionResponse = z.infer<typeof UndelegatePositionResponseSchema>;
|
|
507
573
|
type ClaimDelegationRewardsResponse = z.infer<typeof ClaimDelegationRewardsResponseSchema>;
|
|
574
|
+
type SkipReason = z.infer<typeof SkipReasonSchema>;
|
|
575
|
+
type SkippedPosition = z.infer<typeof SkippedPositionSchema>;
|
|
508
576
|
type VoteResponse = z.infer<typeof VoteResponseSchema>;
|
|
509
577
|
type RelinquishVoteResponse = z.infer<typeof RelinquishVoteResponseSchema>;
|
|
510
578
|
type RelinquishPositionVotesResponse = z.infer<typeof RelinquishPositionVotesResponseSchema>;
|
|
511
579
|
type AssignProxiesResponse = z.infer<typeof AssignProxiesResponseSchema>;
|
|
512
580
|
type UnassignProxiesResponse = z.infer<typeof UnassignProxiesResponseSchema>;
|
|
513
581
|
|
|
514
|
-
export { type AssignProxiesInput, AssignProxiesInputSchema, type AssignProxiesResponse, AssignProxiesResponseSchema, type ClaimDelegationRewardsInput, ClaimDelegationRewardsInputSchema, type ClaimDelegationRewardsResponse, ClaimDelegationRewardsResponseSchema, type ClosePositionInput, ClosePositionInputSchema, type ClosePositionResponse, ClosePositionResponseSchema, type CreatePositionInput, CreatePositionInputSchema, type CreatePositionResponse, CreatePositionResponseSchema, type DelegatePositionInput, DelegatePositionInputSchema, type DelegatePositionsResponse, DelegatePositionsResponseSchema, type ExtendDelegationInput, ExtendDelegationInputSchema, type ExtendDelegationResponse, ExtendDelegationResponseSchema, type ExtendPositionInput, ExtendPositionInputSchema, type ExtendPositionResponse, ExtendPositionResponseSchema, type FlipLockupKindInput, FlipLockupKindInputSchema, type FlipLockupKindResponse, FlipLockupKindResponseSchema, type LockupKind, LockupKindSchema, type RelinquishPositionVotesInput, RelinquishPositionVotesInputSchema, type RelinquishPositionVotesResponse, RelinquishPositionVotesResponseSchema, type RelinquishVoteInput, RelinquishVoteInputSchema, type RelinquishVoteResponse, RelinquishVoteResponseSchema, type ResetLockupInput, ResetLockupInputSchema, type ResetLockupResponse, ResetLockupResponseSchema, type SplitPositionInput, SplitPositionInputSchema, type SplitPositionResponse, SplitPositionResponseSchema, type TransferPositionInput, TransferPositionInputSchema, type TransferPositionOwnershipInput, TransferPositionOwnershipInputSchema, type TransferPositionOwnershipResponse, TransferPositionOwnershipResponseSchema, type TransferPositionResponse, TransferPositionResponseSchema, type UnassignProxiesInput, UnassignProxiesInputSchema, type UnassignProxiesResponse, UnassignProxiesResponseSchema, type UndelegateInput, UndelegateInputSchema, type UndelegatePositionResponse, UndelegatePositionResponseSchema, type VoteInput, VoteInputSchema, type VoteResponse, VoteResponseSchema };
|
|
582
|
+
export { type AssignProxiesInput, AssignProxiesInputSchema, type AssignProxiesResponse, AssignProxiesResponseSchema, type ClaimDelegationRewardsInput, ClaimDelegationRewardsInputSchema, type ClaimDelegationRewardsResponse, ClaimDelegationRewardsResponseSchema, type ClosePositionInput, ClosePositionInputSchema, type ClosePositionResponse, ClosePositionResponseSchema, type CreatePositionInput, CreatePositionInputSchema, type CreatePositionResponse, CreatePositionResponseSchema, type DelegatePositionInput, DelegatePositionInputSchema, type DelegatePositionsResponse, DelegatePositionsResponseSchema, type ExtendDelegationInput, ExtendDelegationInputSchema, type ExtendDelegationResponse, ExtendDelegationResponseSchema, type ExtendPositionInput, ExtendPositionInputSchema, type ExtendPositionResponse, ExtendPositionResponseSchema, type FlipLockupKindInput, FlipLockupKindInputSchema, type FlipLockupKindResponse, FlipLockupKindResponseSchema, type GetPositionsInput, GetPositionsInputSchema, type GetPositionsResponse, GetPositionsResponseSchema, type LockupKind, LockupKindSchema, type Position, PositionSchema, type RelinquishPositionVotesInput, RelinquishPositionVotesInputSchema, type RelinquishPositionVotesResponse, RelinquishPositionVotesResponseSchema, type RelinquishVoteInput, RelinquishVoteInputSchema, type RelinquishVoteResponse, RelinquishVoteResponseSchema, type ResetLockupInput, ResetLockupInputSchema, type ResetLockupResponse, ResetLockupResponseSchema, type SkipReason, SkipReasonSchema, type SkippedPosition, SkippedPositionSchema, type SplitPositionInput, SplitPositionInputSchema, type SplitPositionResponse, SplitPositionResponseSchema, type TransferPositionInput, TransferPositionInputSchema, type TransferPositionOwnershipInput, TransferPositionOwnershipInputSchema, type TransferPositionOwnershipResponse, TransferPositionOwnershipResponseSchema, type TransferPositionResponse, TransferPositionResponseSchema, type UnassignProxiesInput, UnassignProxiesInputSchema, type UnassignProxiesResponse, UnassignProxiesResponseSchema, type UndelegateInput, UndelegateInputSchema, type UndelegatePositionResponse, UndelegatePositionResponseSchema, type VoteInput, VoteInputSchema, type VoteResponse, VoteResponseSchema };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { AssignProxiesInputSchema, AssignProxiesResponseSchema, ClaimDelegationRewardsInputSchema, ClaimDelegationRewardsResponseSchema, ClosePositionInputSchema, ClosePositionResponseSchema, CreatePositionInputSchema, CreatePositionResponseSchema, DelegatePositionInputSchema, DelegatePositionsResponseSchema, ExtendDelegationInputSchema, ExtendDelegationResponseSchema, ExtendPositionInputSchema, ExtendPositionResponseSchema, FlipLockupKindInputSchema, FlipLockupKindResponseSchema, LockupKindSchema, RelinquishPositionVotesInputSchema, RelinquishPositionVotesResponseSchema, RelinquishVoteInputSchema, RelinquishVoteResponseSchema, ResetLockupInputSchema, ResetLockupResponseSchema, SplitPositionInputSchema, SplitPositionResponseSchema, TransferPositionInputSchema, TransferPositionOwnershipInputSchema, TransferPositionOwnershipResponseSchema, TransferPositionResponseSchema, UnassignProxiesInputSchema, UnassignProxiesResponseSchema, UndelegateInputSchema, UndelegatePositionResponseSchema, VoteInputSchema, VoteResponseSchema } from '../chunk-
|
|
1
|
+
export { AssignProxiesInputSchema, AssignProxiesResponseSchema, ClaimDelegationRewardsInputSchema, ClaimDelegationRewardsResponseSchema, ClosePositionInputSchema, ClosePositionResponseSchema, CreatePositionInputSchema, CreatePositionResponseSchema, DelegatePositionInputSchema, DelegatePositionsResponseSchema, ExtendDelegationInputSchema, ExtendDelegationResponseSchema, ExtendPositionInputSchema, ExtendPositionResponseSchema, FlipLockupKindInputSchema, FlipLockupKindResponseSchema, GetPositionsInputSchema, GetPositionsResponseSchema, LockupKindSchema, PositionSchema, RelinquishPositionVotesInputSchema, RelinquishPositionVotesResponseSchema, RelinquishVoteInputSchema, RelinquishVoteResponseSchema, ResetLockupInputSchema, ResetLockupResponseSchema, SkipReasonSchema, SkippedPositionSchema, SplitPositionInputSchema, SplitPositionResponseSchema, TransferPositionInputSchema, TransferPositionOwnershipInputSchema, TransferPositionOwnershipResponseSchema, TransferPositionResponseSchema, UnassignProxiesInputSchema, UnassignProxiesResponseSchema, UndelegateInputSchema, UndelegatePositionResponseSchema, VoteInputSchema, VoteResponseSchema } from '../chunk-PJEBIHIU.js';
|
|
2
2
|
import '../chunk-O5LI7ILX.js';
|
|
@@ -5,10 +5,9 @@ declare const MigrateInputSchema: z.ZodObject<{
|
|
|
5
5
|
destinationWallet: z.ZodString;
|
|
6
6
|
hotspots: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
7
7
|
tokens: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
8
|
-
mint: z.ZodString;
|
|
9
8
|
amount: z.ZodString;
|
|
9
|
+
mint: z.ZodString;
|
|
10
10
|
}, z.core.$strip>>>;
|
|
11
|
-
password: z.ZodOptional<z.ZodString>;
|
|
12
11
|
}, z.core.$strip>;
|
|
13
12
|
declare const MigrateTransactionItemSchema: z.ZodObject<{
|
|
14
13
|
serializedTransaction: z.ZodString;
|
|
@@ -66,10 +65,9 @@ declare const MigrateOutputSchema: z.ZodObject<{
|
|
|
66
65
|
destinationWallet: z.ZodString;
|
|
67
66
|
hotspots: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
68
67
|
tokens: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
69
|
-
mint: z.ZodString;
|
|
70
68
|
amount: z.ZodString;
|
|
69
|
+
mint: z.ZodString;
|
|
71
70
|
}, z.core.$strip>>>;
|
|
72
|
-
password: z.ZodOptional<z.ZodString>;
|
|
73
71
|
}, z.core.$strip>>;
|
|
74
72
|
}, z.core.$strip>;
|
|
75
73
|
declare const MigratableHotspotSchema: z.ZodObject<{
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { MigratableHotspotSchema, MigratableHotspotsInputSchema, MigratableHotspotsOutputSchema, MigrateInputSchema, MigrateOutputSchema, MigrateTransactionDataSchema, MigrateTransactionItemSchema } from '../chunk-
|
|
1
|
+
export { MigratableHotspotSchema, MigratableHotspotsInputSchema, MigratableHotspotsOutputSchema, MigrateInputSchema, MigrateOutputSchema, MigrateTransactionDataSchema, MigrateTransactionItemSchema } from '../chunk-SD6DBUHP.js';
|
|
2
2
|
import '../chunk-VCQCOERJ.js';
|
|
3
3
|
import '../chunk-O5LI7ILX.js';
|
package/dist/schemas.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { ErrorResponse, ErrorResponseSchema, HeliumPublicKeySchema, PaginationInputSchema, PaginationOutputSchema, PublicKeySchema, RewardSplitInput, RewardSplitInputSchema, ScheduleInput, ScheduleInputSchema, TokenAmountInput, TokenAmountInputSchema, TokenAmountOutput, TokenAmountOutputSchema, TransactionBatchRequest, TransactionBatchRequestSchema, TransactionBatchResponse, TransactionBatchResponseSchema, TransactionData, TransactionDataSchema, TransactionItem, TransactionItemSchema, TransactionMetadata, TransactionMetadataSchema, WalletAddressSchema, createPaginatedTransactionResponse, createTransactionResponse, createTypedPaginatedTransactionResponse, createTypedTransactionResponse, squadsProposeFields, typedTransactionData } from './schemas/common.js';
|
|
2
2
|
export { BankAccount, BankAccountListOutput, BankAccountListOutputSchema, BankAccountSchema, BridgeTransfer, BridgeTransferSchema, CreateBankAccountInput, CreateBankAccountInputSchema, DeleteBankAccountInput, DeleteBankAccountInputSchema, DeleteBankAccountOutput, DeleteBankAccountOutputSchema, FeesOutput, FeesOutputSchema, GetBankAccountInput, GetBankAccountInputSchema, GetSendQuoteInput, GetSendQuoteInputSchema, GetTransferInput, GetTransferInputSchema, InitKycInput, InitKycInputSchema, KycStatusOutput, KycStatusOutputSchema, QuoteOutputSchema, SendFundsInput, SendFundsInputSchema, SendFundsOutput, SendFundsOutputSchema, UpdateTransferInput, UpdateTransferInputSchema, UpdateTransferOutput, UpdateTransferOutputSchema } from './schemas/fiat.js';
|
|
3
|
-
export { AssignProxiesInput, AssignProxiesInputSchema, AssignProxiesResponse, AssignProxiesResponseSchema, ClaimDelegationRewardsInput, ClaimDelegationRewardsInputSchema, ClaimDelegationRewardsResponse, ClaimDelegationRewardsResponseSchema, ClosePositionInput, ClosePositionInputSchema, ClosePositionResponse, ClosePositionResponseSchema, CreatePositionInput, CreatePositionInputSchema, CreatePositionResponse, CreatePositionResponseSchema, DelegatePositionInput, DelegatePositionInputSchema, DelegatePositionsResponse, DelegatePositionsResponseSchema, ExtendDelegationInput, ExtendDelegationInputSchema, ExtendDelegationResponse, ExtendDelegationResponseSchema, ExtendPositionInput, ExtendPositionInputSchema, ExtendPositionResponse, ExtendPositionResponseSchema, FlipLockupKindInput, FlipLockupKindInputSchema, FlipLockupKindResponse, FlipLockupKindResponseSchema, LockupKind, LockupKindSchema, RelinquishPositionVotesInput, RelinquishPositionVotesInputSchema, RelinquishPositionVotesResponse, RelinquishPositionVotesResponseSchema, RelinquishVoteInput, RelinquishVoteInputSchema, RelinquishVoteResponse, RelinquishVoteResponseSchema, ResetLockupInput, ResetLockupInputSchema, ResetLockupResponse, ResetLockupResponseSchema, SplitPositionInput, SplitPositionInputSchema, SplitPositionResponse, SplitPositionResponseSchema, TransferPositionInput, TransferPositionInputSchema, TransferPositionOwnershipInput, TransferPositionOwnershipInputSchema, TransferPositionOwnershipResponse, TransferPositionOwnershipResponseSchema, TransferPositionResponse, TransferPositionResponseSchema, UnassignProxiesInput, UnassignProxiesInputSchema, UnassignProxiesResponse, UnassignProxiesResponseSchema, UndelegateInput, UndelegateInputSchema, UndelegatePositionResponse, UndelegatePositionResponseSchema, VoteInput, VoteInputSchema, VoteResponse, VoteResponseSchema } from './schemas/governance.js';
|
|
3
|
+
export { AssignProxiesInput, AssignProxiesInputSchema, AssignProxiesResponse, AssignProxiesResponseSchema, ClaimDelegationRewardsInput, ClaimDelegationRewardsInputSchema, ClaimDelegationRewardsResponse, ClaimDelegationRewardsResponseSchema, ClosePositionInput, ClosePositionInputSchema, ClosePositionResponse, ClosePositionResponseSchema, CreatePositionInput, CreatePositionInputSchema, CreatePositionResponse, CreatePositionResponseSchema, DelegatePositionInput, DelegatePositionInputSchema, DelegatePositionsResponse, DelegatePositionsResponseSchema, ExtendDelegationInput, ExtendDelegationInputSchema, ExtendDelegationResponse, ExtendDelegationResponseSchema, ExtendPositionInput, ExtendPositionInputSchema, ExtendPositionResponse, ExtendPositionResponseSchema, FlipLockupKindInput, FlipLockupKindInputSchema, FlipLockupKindResponse, FlipLockupKindResponseSchema, GetPositionsInput, GetPositionsInputSchema, GetPositionsResponse, GetPositionsResponseSchema, LockupKind, LockupKindSchema, Position, PositionSchema, RelinquishPositionVotesInput, RelinquishPositionVotesInputSchema, RelinquishPositionVotesResponse, RelinquishPositionVotesResponseSchema, RelinquishVoteInput, RelinquishVoteInputSchema, RelinquishVoteResponse, RelinquishVoteResponseSchema, ResetLockupInput, ResetLockupInputSchema, ResetLockupResponse, ResetLockupResponseSchema, SkipReason, SkipReasonSchema, SkippedPosition, SkippedPositionSchema, SplitPositionInput, SplitPositionInputSchema, SplitPositionResponse, SplitPositionResponseSchema, TransferPositionInput, TransferPositionInputSchema, TransferPositionOwnershipInput, TransferPositionOwnershipInputSchema, TransferPositionOwnershipResponse, TransferPositionOwnershipResponseSchema, TransferPositionResponse, TransferPositionResponseSchema, UnassignProxiesInput, UnassignProxiesInputSchema, UnassignProxiesResponse, UnassignProxiesResponseSchema, UndelegateInput, UndelegateInputSchema, UndelegatePositionResponse, UndelegatePositionResponseSchema, VoteInput, VoteInputSchema, VoteResponse, VoteResponseSchema } from './schemas/governance.js';
|
|
4
4
|
export { HealthResponse, HealthResponseSchema } from './schemas/health.js';
|
|
5
5
|
export { BurnInput, BurnInputSchema, BurnOutputSchema, CreateHntAccountInput, CreateHntAccountInputSchema, CreateHntAccountOutput, CreateHntAccountOutputSchema, GetBalancesInput, GetBalancesInputSchema, MemoInput, MemoInputSchema, MemoOutputSchema, MultiTransferInput, MultiTransferInputSchema, MultiTransferOutput, MultiTransferOutputSchema, MultiTransferRecipient, MultiTransferRecipientSchema, TokenAccount, TokenAccountSchema, TokenBalanceData, TokenBalanceDataSchema, TransferInput, TransferInputSchema, TransferOutput, TransferOutputSchema } from './schemas/tokens.js';
|
|
6
6
|
export { AddEntityToAutomationInput, AddEntityToAutomationInputSchema, AddEntityToAutomationOutputSchema, AddWalletToAutomationInput, AddWalletToAutomationInputSchema, AddWalletToAutomationOutputSchema, AutomationScheduleSchema, AutomationStatus, AutomationStatusOutputSchema, ClaimHotspotRewardsInputSchema, ClaimHotspotRewardsOutputSchema, ClaimRewardsInput, ClaimRewardsInputSchema, ClaimRewardsOutputSchema, CloseAutomationInput, CloseAutomationInputSchema, CloseAutomationOutputSchema, CreateSplitInput, CreateSplitInputSchema, CreateSplitOutputSchema, DeleteSplitInput, DeleteSplitInputSchema, DeleteSplitOutputSchema, DeviceType, DeviceTypeSchema, FundAutomationInput, FundAutomationInputSchema, FundAutomationOutputSchema, FundingEstimate, FundingEstimateOutputSchema, GetAutomationStatusInput, GetAutomationStatusInputSchema, GetFundingEstimateInput, GetFundingEstimateInputSchema, GetHotspotsInput, GetHotspotsInputSchema, GetPendingRewardsInput, GetPendingRewardsInputSchema, GetPendingRewardsOutput, GetPendingRewardsOutputSchema, GetSplitInput, GetSplitInputSchema, Hotspot, HotspotBurnInputSchema, HotspotBurnOutputSchema, HotspotSchema, HotspotSharesSchema, HotspotType, HotspotTypeSchema, HotspotsData, HotspotsDataSchema, IssueDataOnlyHotspotInput, IssueDataOnlyHotspotInputSchema, IssueDataOnlyHotspotOutputSchema, OnboardDataOnlyHotspotInput, OnboardDataOnlyHotspotInputSchema, OnboardDataOnlyHotspotOutputSchema, OwnershipType, OwnershipTypeSchema, RemoveEntityFromAutomationInput, RemoveEntityFromAutomationInputSchema, RemoveEntityFromAutomationOutputSchema, RequeueAutomationInput, RequeueAutomationInputSchema, RequeueAutomationOutputSchema, RewardNetworkSchema, SetupAutomationInput, SetupAutomationInputSchema, SetupAutomationOutputSchema, SplitResponse, SplitResponseSchema, SplitShare, SplitShareSchema, TopUpAutomationInput, TopUpAutomationInputSchema, TopUpAutomationOutputSchema, TransferHotspotInput, TransferHotspotInputSchema, TransferHotspotOutputSchema, UpdateHotspotInfoInputSchema, UpdateHotspotInfoOutputSchema, UpdateRewardsDestinationInput, UpdateRewardsDestinationInputSchema, UpdateRewardsDestinationOutputSchema } from './schemas/hotspots.js';
|
package/dist/schemas.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import './chunk-TPPTOJHD.js';
|
|
2
|
-
export { MigratableHotspotSchema, MigratableHotspotsInputSchema, MigratableHotspotsOutputSchema, MigrateInputSchema, MigrateOutputSchema, MigrateTransactionDataSchema, MigrateTransactionItemSchema } from './chunk-
|
|
2
|
+
export { MigratableHotspotSchema, MigratableHotspotsInputSchema, MigratableHotspotsOutputSchema, MigrateInputSchema, MigrateOutputSchema, MigrateTransactionDataSchema, MigrateTransactionItemSchema } from './chunk-SD6DBUHP.js';
|
|
3
3
|
export { ClaimInviteRequestSchema, ClaimInviteResponseSchema, CreateInviteResponseSchema, CreateRewardContractTransactionInputSchema, CreateRewardContractTransactionResponseSchema, DeleteRewardContractTransactionResponseSchema, EstimateCostToCreateRewardContractResponseSchema, FindRewardContractResponseSchema } from './chunk-2XDXO5AZ.js';
|
|
4
4
|
export { BurnInputSchema, BurnOutputSchema, CreateHntAccountInputSchema, CreateHntAccountOutputSchema, GetBalancesInputSchema, MemoInputSchema, MemoOutputSchema, MultiTransferInputSchema, MultiTransferOutputSchema, MultiTransferRecipientSchema, TokenAccountSchema, TokenBalanceDataSchema, TransferInputSchema, TransferOutputSchema } from './chunk-Y5PUR7UV.js';
|
|
5
5
|
export { BatchStatusOutputSchema, EstimateInputSchema, EstimateOutputSchema, GetByPayerAndTagInputSchema, GetByPayerInputSchema, GetHistoryInputSchema, GetInputSchema, HistoryActionSchema, HistoryOutputSchema, HistoryTransactionSchema, PayerBatchSummarySchema, PayerBatchesOutputSchema, ResubmitInputSchema, ResubmitOutputSchema, SubmitInputSchema, SubmitOutputSchema, TransactionStatusSchema } from './chunk-DE4MGYVZ.js';
|
|
@@ -7,7 +7,7 @@ export { BurnDataCreditsInputSchema, DelegateDataCreditsInputSchema, MintDataCre
|
|
|
7
7
|
export { WelcomePackClaimInputSchema, WelcomePackClaimOutputSchema, WelcomePackCreateInputSchema, WelcomePackCreateOutputSchema, WelcomePackDeleteInputSchema, WelcomePackDeleteOutputSchema, WelcomePackGetByAddressInputSchema, WelcomePackGetInputSchema, WelcomePackInviteInputSchema, WelcomePackInviteOutputSchema, WelcomePackListInputSchema, WelcomePackListOutputSchema, WelcomePackSchema } from './chunk-LMKKZIF6.js';
|
|
8
8
|
export { BankAccountListOutputSchema, BankAccountSchema, BridgeTransferSchema, CreateBankAccountInputSchema, DeleteBankAccountInputSchema, DeleteBankAccountOutputSchema, FeesOutputSchema, GetBankAccountInputSchema, GetSendQuoteInputSchema, GetTransferInputSchema, InitKycInputSchema, KycStatusOutputSchema, QuoteOutputSchema, SendFundsInputSchema, SendFundsOutputSchema, UpdateTransferInputSchema, UpdateTransferOutputSchema } from './chunk-GI4C45MR.js';
|
|
9
9
|
export { GetInstructionsInputSchema, GetQuoteInputSchema, GetTokensInputSchema, QuoteResponseSchema, SwapTransactionDataSchema, TokenListOutputSchema, TokenSchema } from './chunk-DB664YCA.js';
|
|
10
|
-
export { AssignProxiesInputSchema, AssignProxiesResponseSchema, ClaimDelegationRewardsInputSchema, ClaimDelegationRewardsResponseSchema, ClosePositionInputSchema, ClosePositionResponseSchema, CreatePositionInputSchema, CreatePositionResponseSchema, DelegatePositionInputSchema, DelegatePositionsResponseSchema, ExtendDelegationInputSchema, ExtendDelegationResponseSchema, ExtendPositionInputSchema, ExtendPositionResponseSchema, FlipLockupKindInputSchema, FlipLockupKindResponseSchema, LockupKindSchema, RelinquishPositionVotesInputSchema, RelinquishPositionVotesResponseSchema, RelinquishVoteInputSchema, RelinquishVoteResponseSchema, ResetLockupInputSchema, ResetLockupResponseSchema, SplitPositionInputSchema, SplitPositionResponseSchema, TransferPositionInputSchema, TransferPositionOwnershipInputSchema, TransferPositionOwnershipResponseSchema, TransferPositionResponseSchema, UnassignProxiesInputSchema, UnassignProxiesResponseSchema, UndelegateInputSchema, UndelegatePositionResponseSchema, VoteInputSchema, VoteResponseSchema } from './chunk-
|
|
10
|
+
export { AssignProxiesInputSchema, AssignProxiesResponseSchema, ClaimDelegationRewardsInputSchema, ClaimDelegationRewardsResponseSchema, ClosePositionInputSchema, ClosePositionResponseSchema, CreatePositionInputSchema, CreatePositionResponseSchema, DelegatePositionInputSchema, DelegatePositionsResponseSchema, ExtendDelegationInputSchema, ExtendDelegationResponseSchema, ExtendPositionInputSchema, ExtendPositionResponseSchema, FlipLockupKindInputSchema, FlipLockupKindResponseSchema, GetPositionsInputSchema, GetPositionsResponseSchema, LockupKindSchema, PositionSchema, RelinquishPositionVotesInputSchema, RelinquishPositionVotesResponseSchema, RelinquishVoteInputSchema, RelinquishVoteResponseSchema, ResetLockupInputSchema, ResetLockupResponseSchema, SkipReasonSchema, SkippedPositionSchema, SplitPositionInputSchema, SplitPositionResponseSchema, TransferPositionInputSchema, TransferPositionOwnershipInputSchema, TransferPositionOwnershipResponseSchema, TransferPositionResponseSchema, UnassignProxiesInputSchema, UnassignProxiesResponseSchema, UndelegateInputSchema, UndelegatePositionResponseSchema, VoteInputSchema, VoteResponseSchema } from './chunk-PJEBIHIU.js';
|
|
11
11
|
export { HealthResponseSchema } from './chunk-4RVSLJOU.js';
|
|
12
12
|
export { AddEntityToAutomationInputSchema, AddEntityToAutomationOutputSchema, AddWalletToAutomationInputSchema, AddWalletToAutomationOutputSchema, AutomationScheduleSchema, AutomationStatusOutputSchema, ClaimHotspotRewardsInputSchema, ClaimHotspotRewardsOutputSchema, ClaimRewardsInputSchema, ClaimRewardsOutputSchema, CloseAutomationInputSchema, CloseAutomationOutputSchema, CreateSplitInputSchema, CreateSplitOutputSchema, DeleteSplitInputSchema, DeleteSplitOutputSchema, DeviceTypeSchema, FundAutomationInputSchema, FundAutomationOutputSchema, FundingEstimateOutputSchema, GetAutomationStatusInputSchema, GetFundingEstimateInputSchema, GetHotspotsInputSchema, GetPendingRewardsInputSchema, GetPendingRewardsOutputSchema, GetSplitInputSchema, HotspotBurnInputSchema, HotspotBurnOutputSchema, HotspotSchema, HotspotSharesSchema, HotspotTypeSchema, HotspotsDataSchema, IssueDataOnlyHotspotInputSchema, IssueDataOnlyHotspotOutputSchema, OnboardDataOnlyHotspotInputSchema, OnboardDataOnlyHotspotOutputSchema, OwnershipTypeSchema, RemoveEntityFromAutomationInputSchema, RemoveEntityFromAutomationOutputSchema, RequeueAutomationInputSchema, RequeueAutomationOutputSchema, RewardNetworkSchema, SetupAutomationInputSchema, SetupAutomationOutputSchema, SplitResponseSchema, SplitShareSchema, TopUpAutomationInputSchema, TopUpAutomationOutputSchema, TransferHotspotInputSchema, TransferHotspotOutputSchema, UpdateHotspotInfoInputSchema, UpdateHotspotInfoOutputSchema, UpdateRewardsDestinationInputSchema, UpdateRewardsDestinationOutputSchema } from './chunk-VCQCOERJ.js';
|
|
13
13
|
export { ErrorResponseSchema, HeliumPublicKeySchema, PaginationInputSchema, PaginationOutputSchema, PublicKeySchema, RewardSplitInputSchema, ScheduleInputSchema, TokenAmountInputSchema, TokenAmountOutputSchema, TransactionBatchRequestSchema, TransactionBatchResponseSchema, TransactionDataSchema, TransactionItemSchema, TransactionMetadataSchema, WalletAddressSchema, createPaginatedTransactionResponse, createTransactionResponse, createTypedPaginatedTransactionResponse, createTypedTransactionResponse, squadsProposeFields, typedTransactionData } from './chunk-O5LI7ILX.js';
|
package/package.json
CHANGED
|
File without changes
|