@helium/blockchain-api 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/README.md +24 -2
- package/package.json +31 -31
- package/types/README.md +24 -2
- package/types/generated/index.d.mts +2481 -0
- package/types/generated/index.d.ts +2481 -0
- package/types/generated/index.js +723 -0
- package/types/generated/index.mjs +614 -0
- package/types/index.ts +11 -8
- package/src/server/api/errors.ts +0 -152
- package/src/server/api/index.ts +0 -40
- package/src/server/api/procedures.ts +0 -144
- package/src/server/api/routers/fiat/router.ts +0 -709
- package/src/server/api/routers/fiat/schemas.ts +0 -157
- package/src/server/api/routers/health/router.ts +0 -41
- package/src/server/api/routers/hotspots/procedures/claimRewards.ts +0 -258
- package/src/server/api/routers/hotspots/procedures/createSplit.ts +0 -253
- package/src/server/api/routers/hotspots/procedures/deleteSplit.ts +0 -156
- package/src/server/api/routers/hotspots/procedures/getHotspots.ts +0 -31
- package/src/server/api/routers/hotspots/procedures/getPendingRewards.ts +0 -44
- package/src/server/api/routers/hotspots/procedures/getSplit.ts +0 -88
- package/src/server/api/routers/hotspots/procedures/transferHotspot.ts +0 -204
- package/src/server/api/routers/hotspots/procedures/updateRewardsDestination.ts +0 -201
- package/src/server/api/routers/hotspots/router.ts +0 -30
- package/src/server/api/routers/hotspots/schemas.ts +0 -182
- package/src/server/api/routers/swap/procedures/getInstructions.ts +0 -152
- package/src/server/api/routers/swap/procedures/getQuote.ts +0 -53
- package/src/server/api/routers/swap/procedures/getTokens.ts +0 -88
- package/src/server/api/routers/swap/router.ts +0 -15
- package/src/server/api/routers/swap/schemas.ts +0 -96
- package/src/server/api/routers/tokens/procedures/createHntAccount.ts +0 -87
- package/src/server/api/routers/tokens/procedures/getBalances.ts +0 -27
- package/src/server/api/routers/tokens/procedures/transfer.ts +0 -159
- package/src/server/api/routers/tokens/router.ts +0 -15
- package/src/server/api/routers/tokens/schemas.ts +0 -80
- package/src/server/api/routers/transactions/procedures/get.ts +0 -46
- package/src/server/api/routers/transactions/procedures/getByPayer.ts +0 -111
- package/src/server/api/routers/transactions/procedures/getByPayerAndTag.ts +0 -119
- package/src/server/api/routers/transactions/procedures/resubmit.ts +0 -68
- package/src/server/api/routers/transactions/procedures/submit.ts +0 -216
- package/src/server/api/routers/transactions/router.ts +0 -21
- package/src/server/api/routers/transactions/schemas.ts +0 -119
- package/src/server/api/routers/webhooks/router.ts +0 -75
- package/src/server/api/routers/welcomePacks/procedures/claim.ts +0 -157
- package/src/server/api/routers/welcomePacks/procedures/create.ts +0 -247
- package/src/server/api/routers/welcomePacks/procedures/deletePack.ts +0 -118
- package/src/server/api/routers/welcomePacks/procedures/get.ts +0 -36
- package/src/server/api/routers/welcomePacks/procedures/getByAddress.ts +0 -26
- package/src/server/api/routers/welcomePacks/procedures/invite.ts +0 -44
- package/src/server/api/routers/welcomePacks/procedures/list.ts +0 -27
- package/src/server/api/routers/welcomePacks/router.ts +0 -27
- package/src/server/api/routers/welcomePacks/schemas.ts +0 -135
- package/src/server/api/schemas.ts +0 -281
|
@@ -0,0 +1,723 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var zod = require('zod');
|
|
4
|
+
|
|
5
|
+
// src/shared/schemas/common.ts
|
|
6
|
+
var WalletAddressSchema = zod.z.string().min(32).max(44);
|
|
7
|
+
var PublicKeySchema = zod.z.string().min(32).max(44);
|
|
8
|
+
var PaginationInputSchema = zod.z.object({
|
|
9
|
+
page: zod.z.coerce.number().int().min(1).default(1),
|
|
10
|
+
limit: zod.z.coerce.number().int().min(1).max(100).default(10)
|
|
11
|
+
});
|
|
12
|
+
var PaginationOutputSchema = zod.z.object({
|
|
13
|
+
total: zod.z.number(),
|
|
14
|
+
page: zod.z.number(),
|
|
15
|
+
totalPages: zod.z.number()
|
|
16
|
+
});
|
|
17
|
+
var TransactionMetadataSchema = zod.z.object({
|
|
18
|
+
type: zod.z.string(),
|
|
19
|
+
description: zod.z.string()
|
|
20
|
+
}).catchall(zod.z.unknown());
|
|
21
|
+
var TransactionItemSchema = zod.z.object({
|
|
22
|
+
serializedTransaction: zod.z.string(),
|
|
23
|
+
metadata: TransactionMetadataSchema.optional()
|
|
24
|
+
});
|
|
25
|
+
var TransactionDataSchema = zod.z.object({
|
|
26
|
+
transactions: zod.z.array(TransactionItemSchema),
|
|
27
|
+
parallel: zod.z.boolean(),
|
|
28
|
+
tag: zod.z.string().optional()
|
|
29
|
+
});
|
|
30
|
+
var TransactionBatchRequestSchema = zod.z.object({
|
|
31
|
+
transactions: zod.z.array(TransactionItemSchema),
|
|
32
|
+
parallel: zod.z.boolean(),
|
|
33
|
+
tag: zod.z.string().optional()
|
|
34
|
+
});
|
|
35
|
+
var TransactionBatchResponseSchema = zod.z.object({
|
|
36
|
+
batchId: zod.z.string(),
|
|
37
|
+
message: zod.z.string().optional()
|
|
38
|
+
});
|
|
39
|
+
var ErrorResponseSchema = zod.z.object({
|
|
40
|
+
error: zod.z.string(),
|
|
41
|
+
details: zod.z.array(zod.z.string()).optional()
|
|
42
|
+
});
|
|
43
|
+
var HotspotTypeSchema = zod.z.enum(["iot", "mobile", "all"]);
|
|
44
|
+
var DeviceTypeSchema = zod.z.enum([
|
|
45
|
+
"iot-gateway",
|
|
46
|
+
"wifiIndoor",
|
|
47
|
+
"wifiOutdoor",
|
|
48
|
+
"wifiDataOnly",
|
|
49
|
+
"cbrs"
|
|
50
|
+
]);
|
|
51
|
+
var OwnershipTypeSchema = zod.z.enum(["owner", "direct", "fanout", "all"]);
|
|
52
|
+
var HotspotSharesSchema = zod.z.object({
|
|
53
|
+
fixed: zod.z.string().optional(),
|
|
54
|
+
percentage: zod.z.number().optional()
|
|
55
|
+
});
|
|
56
|
+
var HotspotSchema = zod.z.object({
|
|
57
|
+
address: zod.z.string(),
|
|
58
|
+
entityKey: zod.z.string(),
|
|
59
|
+
name: zod.z.string(),
|
|
60
|
+
type: HotspotTypeSchema,
|
|
61
|
+
deviceType: DeviceTypeSchema,
|
|
62
|
+
city: zod.z.string().optional(),
|
|
63
|
+
state: zod.z.string().optional(),
|
|
64
|
+
country: zod.z.string().optional(),
|
|
65
|
+
asset: zod.z.string(),
|
|
66
|
+
isOnline: zod.z.boolean().optional(),
|
|
67
|
+
owner: zod.z.string().optional(),
|
|
68
|
+
shares: HotspotSharesSchema.optional(),
|
|
69
|
+
ownershipType: zod.z.string()
|
|
70
|
+
});
|
|
71
|
+
var HotspotsDataSchema = zod.z.object({
|
|
72
|
+
hotspots: zod.z.array(HotspotSchema),
|
|
73
|
+
total: zod.z.number(),
|
|
74
|
+
page: zod.z.number(),
|
|
75
|
+
totalPages: zod.z.number()
|
|
76
|
+
});
|
|
77
|
+
var GetHotspotsInputSchema = zod.z.object({
|
|
78
|
+
walletAddress: zod.z.string().min(32),
|
|
79
|
+
type: HotspotTypeSchema.optional(),
|
|
80
|
+
page: zod.z.coerce.number().int().min(1).default(1),
|
|
81
|
+
limit: zod.z.coerce.number().int().min(1).max(100).default(10)
|
|
82
|
+
});
|
|
83
|
+
var ClaimRewardsInputSchema = zod.z.object({
|
|
84
|
+
walletAddress: zod.z.string().min(32)
|
|
85
|
+
});
|
|
86
|
+
var GetPendingRewardsInputSchema = zod.z.object({
|
|
87
|
+
walletAddress: zod.z.string().min(32)
|
|
88
|
+
});
|
|
89
|
+
var TransferHotspotInputSchema = zod.z.object({
|
|
90
|
+
walletAddress: zod.z.string().min(32),
|
|
91
|
+
hotspotPubkey: zod.z.string().min(1),
|
|
92
|
+
recipient: zod.z.string().min(32)
|
|
93
|
+
});
|
|
94
|
+
var UpdateRewardsDestinationInputSchema = zod.z.object({
|
|
95
|
+
walletAddress: zod.z.string().min(32),
|
|
96
|
+
hotspotPubkey: zod.z.string().min(1),
|
|
97
|
+
destination: zod.z.string().min(32),
|
|
98
|
+
lazyDistributors: zod.z.array(zod.z.string().min(32)).min(1)
|
|
99
|
+
});
|
|
100
|
+
var GetSplitInputSchema = zod.z.object({
|
|
101
|
+
walletAddress: zod.z.string().min(32),
|
|
102
|
+
hotspotPubkey: zod.z.string().min(1)
|
|
103
|
+
});
|
|
104
|
+
var SplitShareSchema = zod.z.object({
|
|
105
|
+
wallet: zod.z.string(),
|
|
106
|
+
delegate: zod.z.string(),
|
|
107
|
+
fixed: zod.z.number(),
|
|
108
|
+
shares: zod.z.number()
|
|
109
|
+
});
|
|
110
|
+
var SplitResponseSchema = zod.z.object({
|
|
111
|
+
walletAddress: zod.z.string(),
|
|
112
|
+
hotspotPubkey: zod.z.string(),
|
|
113
|
+
splitAddress: zod.z.string(),
|
|
114
|
+
shares: zod.z.array(SplitShareSchema)
|
|
115
|
+
});
|
|
116
|
+
var RewardSplitInputSchema = zod.z.object({
|
|
117
|
+
address: zod.z.string().min(32),
|
|
118
|
+
type: zod.z.enum(["percentage", "fixed"]),
|
|
119
|
+
amount: zod.z.number()
|
|
120
|
+
});
|
|
121
|
+
var ScheduleInputSchema = zod.z.object({
|
|
122
|
+
frequency: zod.z.enum(["daily", "weekly", "monthly"]),
|
|
123
|
+
time: zod.z.string(),
|
|
124
|
+
timezone: zod.z.string(),
|
|
125
|
+
dayOfWeek: zod.z.string().optional(),
|
|
126
|
+
dayOfMonth: zod.z.string().optional()
|
|
127
|
+
});
|
|
128
|
+
var CreateSplitInputSchema = zod.z.object({
|
|
129
|
+
walletAddress: zod.z.string().min(32),
|
|
130
|
+
hotspotPubkey: zod.z.string().min(1),
|
|
131
|
+
rewardsSplit: zod.z.array(RewardSplitInputSchema),
|
|
132
|
+
schedule: ScheduleInputSchema,
|
|
133
|
+
lazyDistributor: zod.z.string().min(32)
|
|
134
|
+
});
|
|
135
|
+
var DeleteSplitInputSchema = zod.z.object({
|
|
136
|
+
walletAddress: zod.z.string().min(32),
|
|
137
|
+
hotspotPubkey: zod.z.string().min(1)
|
|
138
|
+
});
|
|
139
|
+
var ClaimRewardsOutputSchema = zod.z.object({
|
|
140
|
+
transactionData: TransactionDataSchema
|
|
141
|
+
});
|
|
142
|
+
var TransferHotspotOutputSchema = zod.z.object({
|
|
143
|
+
transactionData: TransactionDataSchema
|
|
144
|
+
});
|
|
145
|
+
var UpdateRewardsDestinationOutputSchema = zod.z.object({
|
|
146
|
+
transactionData: TransactionDataSchema
|
|
147
|
+
});
|
|
148
|
+
var CreateSplitOutputSchema = zod.z.object({
|
|
149
|
+
transactionData: TransactionDataSchema
|
|
150
|
+
});
|
|
151
|
+
var DeleteSplitOutputSchema = zod.z.object({
|
|
152
|
+
transactionData: TransactionDataSchema
|
|
153
|
+
});
|
|
154
|
+
var PendingRewardsOutputSchema = zod.z.any();
|
|
155
|
+
var TokenAccountSchema = zod.z.object({
|
|
156
|
+
mint: zod.z.string(),
|
|
157
|
+
address: zod.z.string(),
|
|
158
|
+
balance: zod.z.string(),
|
|
159
|
+
decimals: zod.z.number(),
|
|
160
|
+
uiAmount: zod.z.number(),
|
|
161
|
+
symbol: zod.z.string().optional(),
|
|
162
|
+
name: zod.z.string().optional(),
|
|
163
|
+
logoURI: zod.z.string().optional(),
|
|
164
|
+
priceUsd: zod.z.number().optional(),
|
|
165
|
+
balanceUsd: zod.z.number().optional()
|
|
166
|
+
});
|
|
167
|
+
var TokenBalanceDataSchema = zod.z.object({
|
|
168
|
+
totalBalanceUsd: zod.z.number(),
|
|
169
|
+
solBalance: zod.z.number(),
|
|
170
|
+
solBalanceUsd: zod.z.number(),
|
|
171
|
+
tokens: zod.z.array(TokenAccountSchema)
|
|
172
|
+
});
|
|
173
|
+
var GetBalancesInputSchema = zod.z.object({
|
|
174
|
+
walletAddress: zod.z.string().min(32)
|
|
175
|
+
});
|
|
176
|
+
var TransferInputSchema = zod.z.object({
|
|
177
|
+
walletAddress: zod.z.string().min(32),
|
|
178
|
+
mint: zod.z.string().nullable().optional(),
|
|
179
|
+
destination: zod.z.string().min(32),
|
|
180
|
+
amount: zod.z.string(),
|
|
181
|
+
decimals: zod.z.number().optional()
|
|
182
|
+
});
|
|
183
|
+
var CreateHntAccountInputSchema = zod.z.object({
|
|
184
|
+
walletAddress: zod.z.string().min(32)
|
|
185
|
+
});
|
|
186
|
+
var TransferOutputSchema = zod.z.object({
|
|
187
|
+
transactionData: TransactionDataSchema
|
|
188
|
+
});
|
|
189
|
+
var CreateHntAccountOutputSchema = zod.z.object({
|
|
190
|
+
transactionData: TransactionDataSchema
|
|
191
|
+
});
|
|
192
|
+
var GetSwapTokensInputSchema = zod.z.object({
|
|
193
|
+
limit: zod.z.coerce.number().int().min(1).max(100).default(50)
|
|
194
|
+
});
|
|
195
|
+
var GetQuoteInputSchema = zod.z.object({
|
|
196
|
+
inputMint: zod.z.string().min(1),
|
|
197
|
+
outputMint: zod.z.string().min(1),
|
|
198
|
+
amount: zod.z.string().min(1),
|
|
199
|
+
swapMode: zod.z.enum(["ExactIn", "ExactOut"]).default("ExactIn"),
|
|
200
|
+
slippageBps: zod.z.coerce.number().min(0).max(1e4).default(50)
|
|
201
|
+
});
|
|
202
|
+
var QuoteResponseSchema = zod.z.object({
|
|
203
|
+
inputMint: zod.z.string(),
|
|
204
|
+
inAmount: zod.z.string(),
|
|
205
|
+
outputMint: zod.z.string(),
|
|
206
|
+
outAmount: zod.z.string(),
|
|
207
|
+
otherAmountThreshold: zod.z.string(),
|
|
208
|
+
swapMode: zod.z.string(),
|
|
209
|
+
slippageBps: zod.z.number(),
|
|
210
|
+
platformFee: zod.z.unknown().optional(),
|
|
211
|
+
priceImpactPct: zod.z.string(),
|
|
212
|
+
routePlan: zod.z.array(zod.z.unknown()),
|
|
213
|
+
contextSlot: zod.z.number().optional(),
|
|
214
|
+
timeTaken: zod.z.number().optional()
|
|
215
|
+
}).passthrough();
|
|
216
|
+
var GetInstructionsInputSchema = zod.z.object({
|
|
217
|
+
quoteResponse: QuoteResponseSchema,
|
|
218
|
+
userPublicKey: zod.z.string().min(1),
|
|
219
|
+
destinationTokenAccount: zod.z.string().optional(),
|
|
220
|
+
dynamicComputeUnitLimit: zod.z.boolean().default(true),
|
|
221
|
+
prioritizationFeeLamports: zod.z.object({
|
|
222
|
+
priorityLevelWithMaxLamports: zod.z.object({
|
|
223
|
+
maxLamports: zod.z.number().default(1e6),
|
|
224
|
+
priorityLevel: zod.z.enum(["low", "medium", "high"]).default("medium")
|
|
225
|
+
})
|
|
226
|
+
}).optional()
|
|
227
|
+
});
|
|
228
|
+
var SwapTokenSchema = zod.z.object({
|
|
229
|
+
address: zod.z.string(),
|
|
230
|
+
symbol: zod.z.string(),
|
|
231
|
+
name: zod.z.string(),
|
|
232
|
+
decimals: zod.z.number(),
|
|
233
|
+
logoURI: zod.z.string().optional(),
|
|
234
|
+
tags: zod.z.array(zod.z.string()).optional()
|
|
235
|
+
});
|
|
236
|
+
var SwapTokenListOutputSchema = zod.z.object({
|
|
237
|
+
tokens: zod.z.array(SwapTokenSchema)
|
|
238
|
+
});
|
|
239
|
+
var SubmitInputSchema = zod.z.object({
|
|
240
|
+
transactions: zod.z.array(TransactionItemSchema),
|
|
241
|
+
parallel: zod.z.boolean(),
|
|
242
|
+
tag: zod.z.string().optional()
|
|
243
|
+
});
|
|
244
|
+
var GetBatchInputSchema = zod.z.object({
|
|
245
|
+
id: zod.z.string(),
|
|
246
|
+
commitment: zod.z.enum(["confirmed", "finalized"])
|
|
247
|
+
});
|
|
248
|
+
var ResubmitInputSchema = zod.z.object({
|
|
249
|
+
id: zod.z.string()
|
|
250
|
+
});
|
|
251
|
+
var GetByPayerInputSchema = zod.z.object({
|
|
252
|
+
payer: zod.z.string().min(32),
|
|
253
|
+
page: zod.z.coerce.number().int().min(1).default(1),
|
|
254
|
+
limit: zod.z.coerce.number().int().min(1).max(100).default(20),
|
|
255
|
+
status: zod.z.string().optional().default("pending")
|
|
256
|
+
});
|
|
257
|
+
var GetByPayerAndTagInputSchema = zod.z.object({
|
|
258
|
+
payer: zod.z.string().min(32),
|
|
259
|
+
tag: zod.z.string(),
|
|
260
|
+
page: zod.z.coerce.number().int().min(1).default(1),
|
|
261
|
+
limit: zod.z.coerce.number().int().min(1).max(100).default(20),
|
|
262
|
+
status: zod.z.string().optional().default("pending")
|
|
263
|
+
});
|
|
264
|
+
var SubmitOutputSchema = zod.z.object({
|
|
265
|
+
batchId: zod.z.string(),
|
|
266
|
+
message: zod.z.string().optional()
|
|
267
|
+
});
|
|
268
|
+
var TransactionStatusSchema = zod.z.object({
|
|
269
|
+
signature: zod.z.string(),
|
|
270
|
+
status: zod.z.string(),
|
|
271
|
+
transaction: zod.z.unknown().optional()
|
|
272
|
+
});
|
|
273
|
+
var BatchStatusOutputSchema = zod.z.object({
|
|
274
|
+
batchId: zod.z.string(),
|
|
275
|
+
status: zod.z.string(),
|
|
276
|
+
submissionType: zod.z.string(),
|
|
277
|
+
parallel: zod.z.boolean(),
|
|
278
|
+
transactions: zod.z.array(TransactionStatusSchema),
|
|
279
|
+
jitoBundleId: zod.z.string().optional(),
|
|
280
|
+
jitoBundleStatus: zod.z.unknown().optional()
|
|
281
|
+
});
|
|
282
|
+
var ResubmitOutputSchema = zod.z.object({
|
|
283
|
+
success: zod.z.boolean(),
|
|
284
|
+
message: zod.z.string(),
|
|
285
|
+
error: zod.z.string().optional(),
|
|
286
|
+
newSignatures: zod.z.array(zod.z.string()).optional()
|
|
287
|
+
});
|
|
288
|
+
var PayerBatchSummarySchema = zod.z.object({
|
|
289
|
+
batchId: zod.z.string(),
|
|
290
|
+
tag: zod.z.string().optional(),
|
|
291
|
+
status: zod.z.string(),
|
|
292
|
+
submissionType: zod.z.string(),
|
|
293
|
+
parallel: zod.z.boolean(),
|
|
294
|
+
createdAt: zod.z.string(),
|
|
295
|
+
updatedAt: zod.z.string(),
|
|
296
|
+
transactions: zod.z.array(
|
|
297
|
+
zod.z.object({
|
|
298
|
+
metadata: TransactionMetadataSchema.optional()
|
|
299
|
+
})
|
|
300
|
+
)
|
|
301
|
+
});
|
|
302
|
+
var PayerBatchesOutputSchema = zod.z.object({
|
|
303
|
+
payer: zod.z.string(),
|
|
304
|
+
batches: zod.z.array(PayerBatchSummarySchema),
|
|
305
|
+
pagination: zod.z.object({
|
|
306
|
+
page: zod.z.number(),
|
|
307
|
+
limit: zod.z.number(),
|
|
308
|
+
total: zod.z.number(),
|
|
309
|
+
totalPages: zod.z.number()
|
|
310
|
+
})
|
|
311
|
+
});
|
|
312
|
+
var RewardSplitSchema = zod.z.object({
|
|
313
|
+
address: zod.z.string(),
|
|
314
|
+
type: zod.z.enum(["percentage", "fixed"]),
|
|
315
|
+
amount: zod.z.number()
|
|
316
|
+
});
|
|
317
|
+
var ScheduleSchema = zod.z.object({
|
|
318
|
+
frequency: zod.z.enum(["daily", "weekly", "monthly"]),
|
|
319
|
+
time: zod.z.string(),
|
|
320
|
+
timezone: zod.z.string(),
|
|
321
|
+
dayOfWeek: zod.z.string().optional(),
|
|
322
|
+
dayOfMonth: zod.z.string().optional()
|
|
323
|
+
});
|
|
324
|
+
var WelcomePackWithStatusSchema = zod.z.object({
|
|
325
|
+
address: zod.z.string(),
|
|
326
|
+
id: zod.z.number(),
|
|
327
|
+
owner: zod.z.string(),
|
|
328
|
+
asset: zod.z.string(),
|
|
329
|
+
lazyDistributor: zod.z.string(),
|
|
330
|
+
rewardsMint: zod.z.string(),
|
|
331
|
+
rentRefund: zod.z.string(),
|
|
332
|
+
solAmount: zod.z.string(),
|
|
333
|
+
rewardsSplit: zod.z.array(RewardSplitSchema),
|
|
334
|
+
rewardsSchedule: zod.z.string(),
|
|
335
|
+
assetReturnAddress: zod.z.string(),
|
|
336
|
+
bumpSeed: zod.z.number(),
|
|
337
|
+
uniqueId: zod.z.string(),
|
|
338
|
+
loading: zod.z.boolean().optional()
|
|
339
|
+
});
|
|
340
|
+
var WelcomePackSchema = zod.z.object({
|
|
341
|
+
address: zod.z.string(),
|
|
342
|
+
id: zod.z.number(),
|
|
343
|
+
owner: zod.z.string(),
|
|
344
|
+
asset: zod.z.string(),
|
|
345
|
+
lazyDistributor: zod.z.string(),
|
|
346
|
+
rewardsMint: zod.z.string(),
|
|
347
|
+
rentRefund: zod.z.string(),
|
|
348
|
+
solAmount: zod.z.string(),
|
|
349
|
+
rewardsSplit: zod.z.array(RewardSplitInputSchema),
|
|
350
|
+
rewardsSchedule: zod.z.string(),
|
|
351
|
+
assetReturnAddress: zod.z.string(),
|
|
352
|
+
bumpSeed: zod.z.number(),
|
|
353
|
+
uniqueId: zod.z.string(),
|
|
354
|
+
loading: zod.z.boolean().optional(),
|
|
355
|
+
hotspot: HotspotSchema.nullable()
|
|
356
|
+
});
|
|
357
|
+
var WelcomePackListInputSchema = zod.z.object({
|
|
358
|
+
walletAddress: zod.z.string().min(32)
|
|
359
|
+
});
|
|
360
|
+
var WelcomePackCreateInputSchema = zod.z.object({
|
|
361
|
+
walletAddress: zod.z.string().min(32),
|
|
362
|
+
assetId: zod.z.string(),
|
|
363
|
+
solAmount: zod.z.number(),
|
|
364
|
+
rentRefund: zod.z.string(),
|
|
365
|
+
assetReturnAddress: zod.z.string(),
|
|
366
|
+
rewardsSplit: zod.z.array(RewardSplitInputSchema),
|
|
367
|
+
schedule: ScheduleInputSchema,
|
|
368
|
+
lazyDistributor: zod.z.string()
|
|
369
|
+
});
|
|
370
|
+
var WelcomePackGetInputSchema = zod.z.object({
|
|
371
|
+
walletAddress: zod.z.string().min(32),
|
|
372
|
+
packId: zod.z.number()
|
|
373
|
+
});
|
|
374
|
+
var WelcomePackDeleteInputSchema = zod.z.object({
|
|
375
|
+
walletAddress: zod.z.string().min(32),
|
|
376
|
+
packId: zod.z.number()
|
|
377
|
+
});
|
|
378
|
+
var WelcomePackGetByAddressInputSchema = zod.z.object({
|
|
379
|
+
packAddress: zod.z.string().min(32)
|
|
380
|
+
});
|
|
381
|
+
var WelcomePackClaimInputSchema = zod.z.object({
|
|
382
|
+
packAddress: zod.z.string().min(32),
|
|
383
|
+
walletAddress: zod.z.string().min(32),
|
|
384
|
+
signature: zod.z.string(),
|
|
385
|
+
expirationTs: zod.z.string()
|
|
386
|
+
});
|
|
387
|
+
var WelcomePackInviteInputSchema = zod.z.object({
|
|
388
|
+
packAddress: zod.z.string().min(32),
|
|
389
|
+
walletAddress: zod.z.string().min(32),
|
|
390
|
+
expirationDays: zod.z.number().int().positive().max(365).default(7)
|
|
391
|
+
});
|
|
392
|
+
var WelcomePackListOutputSchema = zod.z.array(WelcomePackSchema);
|
|
393
|
+
var WelcomePackCreateOutputSchema = zod.z.object({
|
|
394
|
+
welcomePack: WelcomePackSchema,
|
|
395
|
+
transactionData: TransactionDataSchema
|
|
396
|
+
});
|
|
397
|
+
var WelcomePackDeleteOutputSchema = zod.z.object({
|
|
398
|
+
transactionData: TransactionDataSchema
|
|
399
|
+
});
|
|
400
|
+
var WelcomePackClaimOutputSchema = zod.z.object({
|
|
401
|
+
transactionData: TransactionDataSchema
|
|
402
|
+
});
|
|
403
|
+
var WelcomePackInviteOutputSchema = zod.z.object({
|
|
404
|
+
message: zod.z.string(),
|
|
405
|
+
expirationTs: zod.z.number()
|
|
406
|
+
});
|
|
407
|
+
var InitKycInputSchema = zod.z.object({
|
|
408
|
+
type: zod.z.enum(["individual", "business"]).optional()
|
|
409
|
+
});
|
|
410
|
+
var CreateBankAccountInputSchema = zod.z.object({
|
|
411
|
+
currency: zod.z.string(),
|
|
412
|
+
account_type: zod.z.string(),
|
|
413
|
+
bank_name: zod.z.string(),
|
|
414
|
+
account_name: zod.z.string(),
|
|
415
|
+
first_name: zod.z.string().optional(),
|
|
416
|
+
last_name: zod.z.string().optional(),
|
|
417
|
+
account_owner_name: zod.z.string().optional(),
|
|
418
|
+
business_name: zod.z.string().optional(),
|
|
419
|
+
account: zod.z.object({
|
|
420
|
+
account_number: zod.z.string(),
|
|
421
|
+
routing_number: zod.z.string(),
|
|
422
|
+
checking_or_savings: zod.z.string()
|
|
423
|
+
}),
|
|
424
|
+
address: zod.z.object({
|
|
425
|
+
street_line_1: zod.z.string(),
|
|
426
|
+
line2: zod.z.string().optional(),
|
|
427
|
+
city: zod.z.string(),
|
|
428
|
+
state: zod.z.string(),
|
|
429
|
+
postal_code: zod.z.string(),
|
|
430
|
+
country: zod.z.string()
|
|
431
|
+
})
|
|
432
|
+
});
|
|
433
|
+
var GetBankAccountInputSchema = zod.z.object({
|
|
434
|
+
id: zod.z.string()
|
|
435
|
+
});
|
|
436
|
+
var DeleteBankAccountInputSchema = zod.z.object({
|
|
437
|
+
id: zod.z.number()
|
|
438
|
+
});
|
|
439
|
+
var GetSendQuoteInputSchema = zod.z.object({
|
|
440
|
+
id: zod.z.string(),
|
|
441
|
+
usdAmount: zod.z.string()
|
|
442
|
+
});
|
|
443
|
+
var SendFundsInputSchema = zod.z.object({
|
|
444
|
+
id: zod.z.string(),
|
|
445
|
+
userAddress: zod.z.string(),
|
|
446
|
+
quoteResponse: zod.z.object({
|
|
447
|
+
inputMint: zod.z.string(),
|
|
448
|
+
inAmount: zod.z.string(),
|
|
449
|
+
outputMint: zod.z.string(),
|
|
450
|
+
outAmount: zod.z.string(),
|
|
451
|
+
otherAmountThreshold: zod.z.string(),
|
|
452
|
+
swapMode: zod.z.string(),
|
|
453
|
+
slippageBps: zod.z.number(),
|
|
454
|
+
platformFee: zod.z.unknown().optional(),
|
|
455
|
+
priceImpactPct: zod.z.string(),
|
|
456
|
+
routePlan: zod.z.array(zod.z.unknown()),
|
|
457
|
+
contextSlot: zod.z.number().optional(),
|
|
458
|
+
timeTaken: zod.z.number().optional()
|
|
459
|
+
}).passthrough()
|
|
460
|
+
});
|
|
461
|
+
var GetTransferInputSchema = zod.z.object({
|
|
462
|
+
id: zod.z.string()
|
|
463
|
+
});
|
|
464
|
+
var UpdateTransferInputSchema = zod.z.object({
|
|
465
|
+
id: zod.z.string(),
|
|
466
|
+
solanaSignature: zod.z.string()
|
|
467
|
+
});
|
|
468
|
+
var KycStatusOutputSchema = zod.z.object({
|
|
469
|
+
kycStatus: zod.z.string(),
|
|
470
|
+
tosStatus: zod.z.string(),
|
|
471
|
+
tosLink: zod.z.string().nullable(),
|
|
472
|
+
kycLink: zod.z.string().nullable(),
|
|
473
|
+
kycLinkId: zod.z.string().nullable(),
|
|
474
|
+
accountType: zod.z.string().optional(),
|
|
475
|
+
rejectionReasons: zod.z.array(zod.z.string()).optional()
|
|
476
|
+
});
|
|
477
|
+
var FeesOutputSchema = zod.z.object({
|
|
478
|
+
developer_fee: zod.z.string(),
|
|
479
|
+
developer_fee_percent: zod.z.number()
|
|
480
|
+
});
|
|
481
|
+
var BankAccountSchema = zod.z.object({
|
|
482
|
+
id: zod.z.number().optional(),
|
|
483
|
+
bridgeUserId: zod.z.number().optional(),
|
|
484
|
+
bridgeExternalAccountId: zod.z.string().optional(),
|
|
485
|
+
accountName: zod.z.string().optional(),
|
|
486
|
+
bankName: zod.z.string().optional(),
|
|
487
|
+
lastFourDigits: zod.z.string().optional(),
|
|
488
|
+
routingNumber: zod.z.string().optional(),
|
|
489
|
+
accountType: zod.z.string().optional(),
|
|
490
|
+
createdAt: zod.z.union([zod.z.string(), zod.z.date()]).optional(),
|
|
491
|
+
updatedAt: zod.z.union([zod.z.string(), zod.z.date()]).optional()
|
|
492
|
+
}).passthrough();
|
|
493
|
+
var BankAccountListOutputSchema = zod.z.array(BankAccountSchema);
|
|
494
|
+
var DeleteBankAccountOutputSchema = zod.z.object({
|
|
495
|
+
success: zod.z.boolean()
|
|
496
|
+
});
|
|
497
|
+
var BridgeTransferSchema = zod.z.object({
|
|
498
|
+
id: zod.z.string(),
|
|
499
|
+
state: zod.z.string(),
|
|
500
|
+
source_deposit_instructions: zod.z.object({
|
|
501
|
+
to_address: zod.z.string()
|
|
502
|
+
})
|
|
503
|
+
}).passthrough();
|
|
504
|
+
var SendFundsOutputSchema = zod.z.object({
|
|
505
|
+
bridgeTransfer: BridgeTransferSchema,
|
|
506
|
+
transactionData: TransactionDataSchema
|
|
507
|
+
});
|
|
508
|
+
var UpdateTransferOutputSchema = zod.z.object({
|
|
509
|
+
success: zod.z.boolean()
|
|
510
|
+
});
|
|
511
|
+
var FiatQuoteOutputSchema = QuoteResponseSchema;
|
|
512
|
+
var UNAUTHORIZED = {
|
|
513
|
+
status: 401,
|
|
514
|
+
message: "Authentication required. Please sign in to continue."
|
|
515
|
+
};
|
|
516
|
+
var FORBIDDEN = {
|
|
517
|
+
status: 403,
|
|
518
|
+
message: "You do not have permission to access this resource."
|
|
519
|
+
};
|
|
520
|
+
var NOT_FOUND = {
|
|
521
|
+
status: 404,
|
|
522
|
+
message: "The requested resource was not found."
|
|
523
|
+
};
|
|
524
|
+
var VALIDATION_ERROR = {
|
|
525
|
+
status: 400,
|
|
526
|
+
message: "Invalid input data provided.",
|
|
527
|
+
data: zod.z.object({
|
|
528
|
+
fields: zod.z.array(zod.z.string()).optional()
|
|
529
|
+
})
|
|
530
|
+
};
|
|
531
|
+
var INSUFFICIENT_FUNDS = {
|
|
532
|
+
status: 400,
|
|
533
|
+
message: "Insufficient SOL balance to complete this transaction.",
|
|
534
|
+
data: zod.z.object({
|
|
535
|
+
required: zod.z.number(),
|
|
536
|
+
available: zod.z.number()
|
|
537
|
+
})
|
|
538
|
+
};
|
|
539
|
+
var TRANSACTION_FAILED = {
|
|
540
|
+
status: 500,
|
|
541
|
+
message: "Transaction failed to execute.",
|
|
542
|
+
data: zod.z.object({
|
|
543
|
+
logs: zod.z.array(zod.z.string()).optional(),
|
|
544
|
+
signature: zod.z.string().optional()
|
|
545
|
+
})
|
|
546
|
+
};
|
|
547
|
+
var SIMULATION_FAILED = {
|
|
548
|
+
status: 400,
|
|
549
|
+
message: "Transaction simulation failed.",
|
|
550
|
+
data: zod.z.object({
|
|
551
|
+
logs: zod.z.array(zod.z.string()).optional(),
|
|
552
|
+
link: zod.z.string().optional()
|
|
553
|
+
})
|
|
554
|
+
};
|
|
555
|
+
var EXTERNAL_API_ERROR = {
|
|
556
|
+
status: 502,
|
|
557
|
+
message: "External service request failed.",
|
|
558
|
+
data: zod.z.object({
|
|
559
|
+
service: zod.z.string(),
|
|
560
|
+
statusCode: zod.z.number().optional(),
|
|
561
|
+
details: zod.z.string().optional()
|
|
562
|
+
})
|
|
563
|
+
};
|
|
564
|
+
var RATE_LIMITED = {
|
|
565
|
+
status: 429,
|
|
566
|
+
message: "Too many requests. Please try again later."
|
|
567
|
+
};
|
|
568
|
+
var CONFLICT = {
|
|
569
|
+
status: 409,
|
|
570
|
+
message: "A resource with this identifier already exists.",
|
|
571
|
+
data: zod.z.object({
|
|
572
|
+
existingId: zod.z.string().optional()
|
|
573
|
+
})
|
|
574
|
+
};
|
|
575
|
+
var NOT_OWNER = {
|
|
576
|
+
status: 403,
|
|
577
|
+
message: "You do not own this asset.",
|
|
578
|
+
data: zod.z.object({
|
|
579
|
+
owner: zod.z.string(),
|
|
580
|
+
wallet: zod.z.string()
|
|
581
|
+
})
|
|
582
|
+
};
|
|
583
|
+
var INVALID_HOTSPOT = {
|
|
584
|
+
status: 400,
|
|
585
|
+
message: "The specified asset is not a valid Helium hotspot."
|
|
586
|
+
};
|
|
587
|
+
var KYC_REQUIRED = {
|
|
588
|
+
status: 403,
|
|
589
|
+
message: "KYC verification is required to perform this action.",
|
|
590
|
+
data: zod.z.object({
|
|
591
|
+
kycStatus: zod.z.string(),
|
|
592
|
+
kycLink: zod.z.string().optional()
|
|
593
|
+
})
|
|
594
|
+
};
|
|
595
|
+
var commonErrors = {
|
|
596
|
+
UNAUTHORIZED,
|
|
597
|
+
FORBIDDEN,
|
|
598
|
+
NOT_FOUND,
|
|
599
|
+
VALIDATION_ERROR
|
|
600
|
+
};
|
|
601
|
+
var solanaErrors = {
|
|
602
|
+
INSUFFICIENT_FUNDS,
|
|
603
|
+
TRANSACTION_FAILED,
|
|
604
|
+
SIMULATION_FAILED
|
|
605
|
+
};
|
|
606
|
+
var hotspotErrors = {
|
|
607
|
+
NOT_OWNER,
|
|
608
|
+
INVALID_HOTSPOT,
|
|
609
|
+
NOT_FOUND
|
|
610
|
+
};
|
|
611
|
+
var fiatErrors = {
|
|
612
|
+
KYC_REQUIRED,
|
|
613
|
+
EXTERNAL_API_ERROR
|
|
614
|
+
};
|
|
615
|
+
|
|
616
|
+
exports.BankAccountListOutputSchema = BankAccountListOutputSchema;
|
|
617
|
+
exports.BankAccountSchema = BankAccountSchema;
|
|
618
|
+
exports.BatchStatusOutputSchema = BatchStatusOutputSchema;
|
|
619
|
+
exports.BridgeTransferSchema = BridgeTransferSchema;
|
|
620
|
+
exports.CONFLICT = CONFLICT;
|
|
621
|
+
exports.ClaimRewardsInputSchema = ClaimRewardsInputSchema;
|
|
622
|
+
exports.ClaimRewardsOutputSchema = ClaimRewardsOutputSchema;
|
|
623
|
+
exports.CreateBankAccountInputSchema = CreateBankAccountInputSchema;
|
|
624
|
+
exports.CreateHntAccountInputSchema = CreateHntAccountInputSchema;
|
|
625
|
+
exports.CreateHntAccountOutputSchema = CreateHntAccountOutputSchema;
|
|
626
|
+
exports.CreateSplitInputSchema = CreateSplitInputSchema;
|
|
627
|
+
exports.CreateSplitOutputSchema = CreateSplitOutputSchema;
|
|
628
|
+
exports.DeleteBankAccountInputSchema = DeleteBankAccountInputSchema;
|
|
629
|
+
exports.DeleteBankAccountOutputSchema = DeleteBankAccountOutputSchema;
|
|
630
|
+
exports.DeleteSplitInputSchema = DeleteSplitInputSchema;
|
|
631
|
+
exports.DeleteSplitOutputSchema = DeleteSplitOutputSchema;
|
|
632
|
+
exports.DeviceTypeSchema = DeviceTypeSchema;
|
|
633
|
+
exports.EXTERNAL_API_ERROR = EXTERNAL_API_ERROR;
|
|
634
|
+
exports.ErrorResponseSchema = ErrorResponseSchema;
|
|
635
|
+
exports.FORBIDDEN = FORBIDDEN;
|
|
636
|
+
exports.FeesOutputSchema = FeesOutputSchema;
|
|
637
|
+
exports.FiatQuoteOutputSchema = FiatQuoteOutputSchema;
|
|
638
|
+
exports.GetBalancesInputSchema = GetBalancesInputSchema;
|
|
639
|
+
exports.GetBankAccountInputSchema = GetBankAccountInputSchema;
|
|
640
|
+
exports.GetBatchInputSchema = GetBatchInputSchema;
|
|
641
|
+
exports.GetByPayerAndTagInputSchema = GetByPayerAndTagInputSchema;
|
|
642
|
+
exports.GetByPayerInputSchema = GetByPayerInputSchema;
|
|
643
|
+
exports.GetHotspotsInputSchema = GetHotspotsInputSchema;
|
|
644
|
+
exports.GetInstructionsInputSchema = GetInstructionsInputSchema;
|
|
645
|
+
exports.GetPendingRewardsInputSchema = GetPendingRewardsInputSchema;
|
|
646
|
+
exports.GetQuoteInputSchema = GetQuoteInputSchema;
|
|
647
|
+
exports.GetSendQuoteInputSchema = GetSendQuoteInputSchema;
|
|
648
|
+
exports.GetSplitInputSchema = GetSplitInputSchema;
|
|
649
|
+
exports.GetSwapTokensInputSchema = GetSwapTokensInputSchema;
|
|
650
|
+
exports.GetTransferInputSchema = GetTransferInputSchema;
|
|
651
|
+
exports.HotspotSchema = HotspotSchema;
|
|
652
|
+
exports.HotspotSharesSchema = HotspotSharesSchema;
|
|
653
|
+
exports.HotspotTypeSchema = HotspotTypeSchema;
|
|
654
|
+
exports.HotspotsDataSchema = HotspotsDataSchema;
|
|
655
|
+
exports.INSUFFICIENT_FUNDS = INSUFFICIENT_FUNDS;
|
|
656
|
+
exports.INVALID_HOTSPOT = INVALID_HOTSPOT;
|
|
657
|
+
exports.InitKycInputSchema = InitKycInputSchema;
|
|
658
|
+
exports.KYC_REQUIRED = KYC_REQUIRED;
|
|
659
|
+
exports.KycStatusOutputSchema = KycStatusOutputSchema;
|
|
660
|
+
exports.NOT_FOUND = NOT_FOUND;
|
|
661
|
+
exports.NOT_OWNER = NOT_OWNER;
|
|
662
|
+
exports.OwnershipTypeSchema = OwnershipTypeSchema;
|
|
663
|
+
exports.PaginationInputSchema = PaginationInputSchema;
|
|
664
|
+
exports.PaginationOutputSchema = PaginationOutputSchema;
|
|
665
|
+
exports.PayerBatchSummarySchema = PayerBatchSummarySchema;
|
|
666
|
+
exports.PayerBatchesOutputSchema = PayerBatchesOutputSchema;
|
|
667
|
+
exports.PendingRewardsOutputSchema = PendingRewardsOutputSchema;
|
|
668
|
+
exports.PublicKeySchema = PublicKeySchema;
|
|
669
|
+
exports.QuoteResponseSchema = QuoteResponseSchema;
|
|
670
|
+
exports.RATE_LIMITED = RATE_LIMITED;
|
|
671
|
+
exports.ResubmitInputSchema = ResubmitInputSchema;
|
|
672
|
+
exports.ResubmitOutputSchema = ResubmitOutputSchema;
|
|
673
|
+
exports.RewardSplitInputSchema = RewardSplitInputSchema;
|
|
674
|
+
exports.RewardSplitSchema = RewardSplitSchema;
|
|
675
|
+
exports.SIMULATION_FAILED = SIMULATION_FAILED;
|
|
676
|
+
exports.ScheduleInputSchema = ScheduleInputSchema;
|
|
677
|
+
exports.ScheduleSchema = ScheduleSchema;
|
|
678
|
+
exports.SendFundsInputSchema = SendFundsInputSchema;
|
|
679
|
+
exports.SendFundsOutputSchema = SendFundsOutputSchema;
|
|
680
|
+
exports.SplitResponseSchema = SplitResponseSchema;
|
|
681
|
+
exports.SplitShareSchema = SplitShareSchema;
|
|
682
|
+
exports.SubmitInputSchema = SubmitInputSchema;
|
|
683
|
+
exports.SubmitOutputSchema = SubmitOutputSchema;
|
|
684
|
+
exports.SwapTokenListOutputSchema = SwapTokenListOutputSchema;
|
|
685
|
+
exports.SwapTokenSchema = SwapTokenSchema;
|
|
686
|
+
exports.TRANSACTION_FAILED = TRANSACTION_FAILED;
|
|
687
|
+
exports.TokenAccountSchema = TokenAccountSchema;
|
|
688
|
+
exports.TokenBalanceDataSchema = TokenBalanceDataSchema;
|
|
689
|
+
exports.TransactionBatchRequestSchema = TransactionBatchRequestSchema;
|
|
690
|
+
exports.TransactionBatchResponseSchema = TransactionBatchResponseSchema;
|
|
691
|
+
exports.TransactionDataSchema = TransactionDataSchema;
|
|
692
|
+
exports.TransactionItemSchema = TransactionItemSchema;
|
|
693
|
+
exports.TransactionMetadataSchema = TransactionMetadataSchema;
|
|
694
|
+
exports.TransactionStatusSchema = TransactionStatusSchema;
|
|
695
|
+
exports.TransferHotspotInputSchema = TransferHotspotInputSchema;
|
|
696
|
+
exports.TransferHotspotOutputSchema = TransferHotspotOutputSchema;
|
|
697
|
+
exports.TransferInputSchema = TransferInputSchema;
|
|
698
|
+
exports.TransferOutputSchema = TransferOutputSchema;
|
|
699
|
+
exports.UNAUTHORIZED = UNAUTHORIZED;
|
|
700
|
+
exports.UpdateRewardsDestinationInputSchema = UpdateRewardsDestinationInputSchema;
|
|
701
|
+
exports.UpdateRewardsDestinationOutputSchema = UpdateRewardsDestinationOutputSchema;
|
|
702
|
+
exports.UpdateTransferInputSchema = UpdateTransferInputSchema;
|
|
703
|
+
exports.UpdateTransferOutputSchema = UpdateTransferOutputSchema;
|
|
704
|
+
exports.VALIDATION_ERROR = VALIDATION_ERROR;
|
|
705
|
+
exports.WalletAddressSchema = WalletAddressSchema;
|
|
706
|
+
exports.WelcomePackClaimInputSchema = WelcomePackClaimInputSchema;
|
|
707
|
+
exports.WelcomePackClaimOutputSchema = WelcomePackClaimOutputSchema;
|
|
708
|
+
exports.WelcomePackCreateInputSchema = WelcomePackCreateInputSchema;
|
|
709
|
+
exports.WelcomePackCreateOutputSchema = WelcomePackCreateOutputSchema;
|
|
710
|
+
exports.WelcomePackDeleteInputSchema = WelcomePackDeleteInputSchema;
|
|
711
|
+
exports.WelcomePackDeleteOutputSchema = WelcomePackDeleteOutputSchema;
|
|
712
|
+
exports.WelcomePackGetByAddressInputSchema = WelcomePackGetByAddressInputSchema;
|
|
713
|
+
exports.WelcomePackGetInputSchema = WelcomePackGetInputSchema;
|
|
714
|
+
exports.WelcomePackInviteInputSchema = WelcomePackInviteInputSchema;
|
|
715
|
+
exports.WelcomePackInviteOutputSchema = WelcomePackInviteOutputSchema;
|
|
716
|
+
exports.WelcomePackListInputSchema = WelcomePackListInputSchema;
|
|
717
|
+
exports.WelcomePackListOutputSchema = WelcomePackListOutputSchema;
|
|
718
|
+
exports.WelcomePackSchema = WelcomePackSchema;
|
|
719
|
+
exports.WelcomePackWithStatusSchema = WelcomePackWithStatusSchema;
|
|
720
|
+
exports.commonErrors = commonErrors;
|
|
721
|
+
exports.fiatErrors = fiatErrors;
|
|
722
|
+
exports.hotspotErrors = hotspotErrors;
|
|
723
|
+
exports.solanaErrors = solanaErrors;
|