@proton/wrap-constants 0.2.188 → 0.2.191
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 +14 -87
- package/dist/index.d.mts +13270 -0
- package/dist/index.d.ts +285 -285
- package/dist/index.js +103 -27
- package/dist/index.mjs +100 -24
- package/package.json +9 -9
- package/src/coins.ts +92 -4
package/dist/index.d.ts
CHANGED
|
@@ -83,7 +83,7 @@ declare enum Providers {
|
|
|
83
83
|
METAL = "metal",
|
|
84
84
|
METALL2 = "metall2"
|
|
85
85
|
}
|
|
86
|
-
|
|
86
|
+
type CoinWallet = Exclude<Coin, "wallets"> & Wallet;
|
|
87
87
|
declare const explorerLinkByChain: {
|
|
88
88
|
Bitcoin: (txid: string) => string;
|
|
89
89
|
"Bitcoin (Testnet)": (txid: string) => string;
|
|
@@ -95,8 +95,8 @@ declare const explorerLinkByChain: {
|
|
|
95
95
|
"Bitcoin Cash (Testnet)": (txid: string) => string;
|
|
96
96
|
Stellar: (txid: string) => string;
|
|
97
97
|
"Stellar (Testnet)": (txid: string) => string;
|
|
98
|
-
Proton: (txid: string, traces?: boolean
|
|
99
|
-
"Proton (Testnet)": (txid: string, traces?: boolean
|
|
98
|
+
Proton: (txid: string, traces?: boolean) => string;
|
|
99
|
+
"Proton (Testnet)": (txid: string, traces?: boolean) => string;
|
|
100
100
|
Polkadot: (txid: string) => string;
|
|
101
101
|
"Binance (BEP2)": (txid: string) => string;
|
|
102
102
|
"Binance (BEP20)": (txid: string) => string;
|
|
@@ -119,7 +119,7 @@ declare const explorerLinkByChain: {
|
|
|
119
119
|
"Metal L2 (Testnet)": (txid: string) => string;
|
|
120
120
|
"Metal L2": (txid: string) => string;
|
|
121
121
|
};
|
|
122
|
-
declare const protonExplorerTxUrl: (chain: string, txId: string, traces?: boolean
|
|
122
|
+
declare const protonExplorerTxUrl: (chain: string, txId: string, traces?: boolean) => string;
|
|
123
123
|
declare const initializeCoins: (protonChain: string) => {
|
|
124
124
|
allCoins: Coin[];
|
|
125
125
|
swapCoins: Coin[];
|
|
@@ -133,7 +133,7 @@ declare const initializeCoins: (protonChain: string) => {
|
|
|
133
133
|
declare const baseActionParser: <T extends z.ZodRawShape>(contract: string, action: string, data: T) => z.ZodObject<{
|
|
134
134
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
135
135
|
name: z.ZodLiteral<string>;
|
|
136
|
-
data: z.ZodObject<T, "strip", z.ZodTypeAny,
|
|
136
|
+
data: z.ZodObject<T, "strip", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any> extends infer T_1 ? { [k in keyof T_1]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; } : never, z.baseObjectInputType<T> extends infer T_2 ? { [k_1 in keyof T_2]: z.baseObjectInputType<T>[k_1]; } : never>;
|
|
137
137
|
authorization: z.ZodArray<z.ZodObject<{
|
|
138
138
|
actor: z.ZodString;
|
|
139
139
|
permission: z.ZodString;
|
|
@@ -144,10 +144,10 @@ declare const baseActionParser: <T extends z.ZodRawShape>(contract: string, acti
|
|
|
144
144
|
actor: string;
|
|
145
145
|
permission: string;
|
|
146
146
|
}>, "many">;
|
|
147
|
-
}, "strip", z.ZodTypeAny,
|
|
147
|
+
}, "strip", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
148
148
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
149
149
|
name: z.ZodLiteral<string>;
|
|
150
|
-
data: z.ZodObject<T, "strip", z.ZodTypeAny,
|
|
150
|
+
data: z.ZodObject<T, "strip", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any> extends infer T_1 ? { [k in keyof T_1]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; } : never, z.baseObjectInputType<T> extends infer T_2 ? { [k_1 in keyof T_2]: z.baseObjectInputType<T>[k_1]; } : never>;
|
|
151
151
|
authorization: z.ZodArray<z.ZodObject<{
|
|
152
152
|
actor: z.ZodString;
|
|
153
153
|
permission: z.ZodString;
|
|
@@ -158,10 +158,10 @@ declare const baseActionParser: <T extends z.ZodRawShape>(contract: string, acti
|
|
|
158
158
|
actor: string;
|
|
159
159
|
permission: string;
|
|
160
160
|
}>, "many">;
|
|
161
|
-
}>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
161
|
+
}>, any> extends infer T_3 ? { [k_2 in keyof T_3]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
162
162
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
163
163
|
name: z.ZodLiteral<string>;
|
|
164
|
-
data: z.ZodObject<T, "strip", z.ZodTypeAny,
|
|
164
|
+
data: z.ZodObject<T, "strip", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any> extends infer T_1 ? { [k in keyof T_1]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; } : never, z.baseObjectInputType<T> extends infer T_2 ? { [k_1 in keyof T_2]: z.baseObjectInputType<T>[k_1]; } : never>;
|
|
165
165
|
authorization: z.ZodArray<z.ZodObject<{
|
|
166
166
|
actor: z.ZodString;
|
|
167
167
|
permission: z.ZodString;
|
|
@@ -172,10 +172,10 @@ declare const baseActionParser: <T extends z.ZodRawShape>(contract: string, acti
|
|
|
172
172
|
actor: string;
|
|
173
173
|
permission: string;
|
|
174
174
|
}>, "many">;
|
|
175
|
-
}>, any>[k_2]; }
|
|
175
|
+
}>, any>[k_2]; } : never, z.baseObjectInputType<{
|
|
176
176
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
177
177
|
name: z.ZodLiteral<string>;
|
|
178
|
-
data: z.ZodObject<T, "strip", z.ZodTypeAny,
|
|
178
|
+
data: z.ZodObject<T, "strip", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any> extends infer T_1 ? { [k in keyof T_1]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; } : never, z.baseObjectInputType<T> extends infer T_2 ? { [k_1 in keyof T_2]: z.baseObjectInputType<T>[k_1]; } : never>;
|
|
179
179
|
authorization: z.ZodArray<z.ZodObject<{
|
|
180
180
|
actor: z.ZodString;
|
|
181
181
|
permission: z.ZodString;
|
|
@@ -186,10 +186,10 @@ declare const baseActionParser: <T extends z.ZodRawShape>(contract: string, acti
|
|
|
186
186
|
actor: string;
|
|
187
187
|
permission: string;
|
|
188
188
|
}>, "many">;
|
|
189
|
-
}>]: z.baseObjectInputType<{
|
|
189
|
+
}> extends infer T_4 ? { [k_3 in keyof T_4]: z.baseObjectInputType<{
|
|
190
190
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
191
191
|
name: z.ZodLiteral<string>;
|
|
192
|
-
data: z.ZodObject<T, "strip", z.ZodTypeAny,
|
|
192
|
+
data: z.ZodObject<T, "strip", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any> extends infer T_1 ? { [k in keyof T_1]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; } : never, z.baseObjectInputType<T> extends infer T_2 ? { [k_1 in keyof T_2]: z.baseObjectInputType<T>[k_1]; } : never>;
|
|
193
193
|
authorization: z.ZodArray<z.ZodObject<{
|
|
194
194
|
actor: z.ZodString;
|
|
195
195
|
permission: z.ZodString;
|
|
@@ -200,11 +200,11 @@ declare const baseActionParser: <T extends z.ZodRawShape>(contract: string, acti
|
|
|
200
200
|
actor: string;
|
|
201
201
|
permission: string;
|
|
202
202
|
}>, "many">;
|
|
203
|
-
}>[
|
|
203
|
+
}>[k_3]; } : never>;
|
|
204
204
|
declare const baseActionSerializedParser: <T extends z.ZodRawShape>(contract: string, action: string, data: T) => z.ZodObject<{
|
|
205
205
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
206
206
|
name: z.ZodLiteral<string>;
|
|
207
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny,
|
|
207
|
+
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any> extends infer T_1 ? { [k in keyof T_1]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; } : never, z.baseObjectInputType<T> extends infer T_2 ? { [k_1 in keyof T_2]: z.baseObjectInputType<T>[k_1]; } : never>]>;
|
|
208
208
|
authorization: z.ZodArray<z.ZodObject<{
|
|
209
209
|
actor: z.ZodString;
|
|
210
210
|
permission: z.ZodString;
|
|
@@ -215,10 +215,10 @@ declare const baseActionSerializedParser: <T extends z.ZodRawShape>(contract: st
|
|
|
215
215
|
actor: string;
|
|
216
216
|
permission: string;
|
|
217
217
|
}>, "many">;
|
|
218
|
-
}, "strip", z.ZodTypeAny,
|
|
218
|
+
}, "strip", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
219
219
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
220
220
|
name: z.ZodLiteral<string>;
|
|
221
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny,
|
|
221
|
+
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any> extends infer T_1 ? { [k in keyof T_1]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; } : never, z.baseObjectInputType<T> extends infer T_2 ? { [k_1 in keyof T_2]: z.baseObjectInputType<T>[k_1]; } : never>]>;
|
|
222
222
|
authorization: z.ZodArray<z.ZodObject<{
|
|
223
223
|
actor: z.ZodString;
|
|
224
224
|
permission: z.ZodString;
|
|
@@ -229,10 +229,10 @@ declare const baseActionSerializedParser: <T extends z.ZodRawShape>(contract: st
|
|
|
229
229
|
actor: string;
|
|
230
230
|
permission: string;
|
|
231
231
|
}>, "many">;
|
|
232
|
-
}>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
232
|
+
}>, any> extends infer T_3 ? { [k_2 in keyof T_3]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
233
233
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
234
234
|
name: z.ZodLiteral<string>;
|
|
235
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny,
|
|
235
|
+
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any> extends infer T_1 ? { [k in keyof T_1]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; } : never, z.baseObjectInputType<T> extends infer T_2 ? { [k_1 in keyof T_2]: z.baseObjectInputType<T>[k_1]; } : never>]>;
|
|
236
236
|
authorization: z.ZodArray<z.ZodObject<{
|
|
237
237
|
actor: z.ZodString;
|
|
238
238
|
permission: z.ZodString;
|
|
@@ -243,10 +243,10 @@ declare const baseActionSerializedParser: <T extends z.ZodRawShape>(contract: st
|
|
|
243
243
|
actor: string;
|
|
244
244
|
permission: string;
|
|
245
245
|
}>, "many">;
|
|
246
|
-
}>, any>[k_2]; }
|
|
246
|
+
}>, any>[k_2]; } : never, z.baseObjectInputType<{
|
|
247
247
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
248
248
|
name: z.ZodLiteral<string>;
|
|
249
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny,
|
|
249
|
+
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any> extends infer T_1 ? { [k in keyof T_1]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; } : never, z.baseObjectInputType<T> extends infer T_2 ? { [k_1 in keyof T_2]: z.baseObjectInputType<T>[k_1]; } : never>]>;
|
|
250
250
|
authorization: z.ZodArray<z.ZodObject<{
|
|
251
251
|
actor: z.ZodString;
|
|
252
252
|
permission: z.ZodString;
|
|
@@ -257,10 +257,10 @@ declare const baseActionSerializedParser: <T extends z.ZodRawShape>(contract: st
|
|
|
257
257
|
actor: string;
|
|
258
258
|
permission: string;
|
|
259
259
|
}>, "many">;
|
|
260
|
-
}>]: z.baseObjectInputType<{
|
|
260
|
+
}> extends infer T_4 ? { [k_3 in keyof T_4]: z.baseObjectInputType<{
|
|
261
261
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
262
262
|
name: z.ZodLiteral<string>;
|
|
263
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny,
|
|
263
|
+
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any> extends infer T_1 ? { [k in keyof T_1]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; } : never, z.baseObjectInputType<T> extends infer T_2 ? { [k_1 in keyof T_2]: z.baseObjectInputType<T>[k_1]; } : never>]>;
|
|
264
264
|
authorization: z.ZodArray<z.ZodObject<{
|
|
265
265
|
actor: z.ZodString;
|
|
266
266
|
permission: z.ZodString;
|
|
@@ -271,7 +271,7 @@ declare const baseActionSerializedParser: <T extends z.ZodRawShape>(contract: st
|
|
|
271
271
|
actor: string;
|
|
272
272
|
permission: string;
|
|
273
273
|
}>, "many">;
|
|
274
|
-
}>[
|
|
274
|
+
}>[k_3]; } : never>;
|
|
275
275
|
declare const webauthActionParser: <T extends z.ZodRawShape>(contract: string, action: string, data: T) => z.ZodObject<{
|
|
276
276
|
account: z.ZodLiteral<"webauthn">;
|
|
277
277
|
name: z.ZodLiteral<"exec">;
|
|
@@ -329,7 +329,7 @@ declare const webauthActionParser: <T extends z.ZodRawShape>(contract: string, a
|
|
|
329
329
|
auth_data: string;
|
|
330
330
|
client_json: string;
|
|
331
331
|
}>;
|
|
332
|
-
trx: z.ZodObject<
|
|
332
|
+
trx: z.ZodObject<{
|
|
333
333
|
expiration: z.ZodString;
|
|
334
334
|
ref_block_num: z.ZodNumber;
|
|
335
335
|
ref_block_prefix: z.ZodNumber;
|
|
@@ -371,11 +371,11 @@ declare const webauthActionParser: <T extends z.ZodRawShape>(contract: string, a
|
|
|
371
371
|
hex_data?: string | undefined;
|
|
372
372
|
}>, "many">;
|
|
373
373
|
transaction_extensions: z.ZodArray<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">>, "many">;
|
|
374
|
-
}
|
|
374
|
+
} & {
|
|
375
375
|
actions: z.ZodArray<z.ZodObject<{
|
|
376
376
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
377
377
|
name: z.ZodLiteral<string>;
|
|
378
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny,
|
|
378
|
+
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any> extends infer T_1 ? { [k in keyof T_1]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; } : never, z.baseObjectInputType<T> extends infer T_2 ? { [k_1 in keyof T_2]: z.baseObjectInputType<T>[k_1]; } : never>]>;
|
|
379
379
|
authorization: z.ZodArray<z.ZodObject<{
|
|
380
380
|
actor: z.ZodString;
|
|
381
381
|
permission: z.ZodString;
|
|
@@ -386,10 +386,10 @@ declare const webauthActionParser: <T extends z.ZodRawShape>(contract: string, a
|
|
|
386
386
|
actor: string;
|
|
387
387
|
permission: string;
|
|
388
388
|
}>, "many">;
|
|
389
|
-
}, "strip", z.ZodTypeAny,
|
|
389
|
+
}, "strip", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
390
390
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
391
391
|
name: z.ZodLiteral<string>;
|
|
392
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny,
|
|
392
|
+
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any> extends infer T_1 ? { [k in keyof T_1]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; } : never, z.baseObjectInputType<T> extends infer T_2 ? { [k_1 in keyof T_2]: z.baseObjectInputType<T>[k_1]; } : never>]>;
|
|
393
393
|
authorization: z.ZodArray<z.ZodObject<{
|
|
394
394
|
actor: z.ZodString;
|
|
395
395
|
permission: z.ZodString;
|
|
@@ -400,10 +400,10 @@ declare const webauthActionParser: <T extends z.ZodRawShape>(contract: string, a
|
|
|
400
400
|
actor: string;
|
|
401
401
|
permission: string;
|
|
402
402
|
}>, "many">;
|
|
403
|
-
}>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
403
|
+
}>, any> extends infer T_3 ? { [k_2 in keyof T_3]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
404
404
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
405
405
|
name: z.ZodLiteral<string>;
|
|
406
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny,
|
|
406
|
+
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any> extends infer T_1 ? { [k in keyof T_1]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; } : never, z.baseObjectInputType<T> extends infer T_2 ? { [k_1 in keyof T_2]: z.baseObjectInputType<T>[k_1]; } : never>]>;
|
|
407
407
|
authorization: z.ZodArray<z.ZodObject<{
|
|
408
408
|
actor: z.ZodString;
|
|
409
409
|
permission: z.ZodString;
|
|
@@ -414,10 +414,10 @@ declare const webauthActionParser: <T extends z.ZodRawShape>(contract: string, a
|
|
|
414
414
|
actor: string;
|
|
415
415
|
permission: string;
|
|
416
416
|
}>, "many">;
|
|
417
|
-
}>, any>[k_2]; }
|
|
417
|
+
}>, any>[k_2]; } : never, z.baseObjectInputType<{
|
|
418
418
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
419
419
|
name: z.ZodLiteral<string>;
|
|
420
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny,
|
|
420
|
+
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any> extends infer T_1 ? { [k in keyof T_1]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; } : never, z.baseObjectInputType<T> extends infer T_2 ? { [k_1 in keyof T_2]: z.baseObjectInputType<T>[k_1]; } : never>]>;
|
|
421
421
|
authorization: z.ZodArray<z.ZodObject<{
|
|
422
422
|
actor: z.ZodString;
|
|
423
423
|
permission: z.ZodString;
|
|
@@ -428,10 +428,10 @@ declare const webauthActionParser: <T extends z.ZodRawShape>(contract: string, a
|
|
|
428
428
|
actor: string;
|
|
429
429
|
permission: string;
|
|
430
430
|
}>, "many">;
|
|
431
|
-
}>]: z.baseObjectInputType<{
|
|
431
|
+
}> extends infer T_4 ? { [k_3 in keyof T_4]: z.baseObjectInputType<{
|
|
432
432
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
433
433
|
name: z.ZodLiteral<string>;
|
|
434
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny,
|
|
434
|
+
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any> extends infer T_1 ? { [k in keyof T_1]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; } : never, z.baseObjectInputType<T> extends infer T_2 ? { [k_1 in keyof T_2]: z.baseObjectInputType<T>[k_1]; } : never>]>;
|
|
435
435
|
authorization: z.ZodArray<z.ZodObject<{
|
|
436
436
|
actor: z.ZodString;
|
|
437
437
|
permission: z.ZodString;
|
|
@@ -442,8 +442,8 @@ declare const webauthActionParser: <T extends z.ZodRawShape>(contract: string, a
|
|
|
442
442
|
actor: string;
|
|
443
443
|
permission: string;
|
|
444
444
|
}>, "many">;
|
|
445
|
-
}>[
|
|
446
|
-
}
|
|
445
|
+
}>[k_3]; } : never>, "many">;
|
|
446
|
+
}, "strip", z.ZodTypeAny, {
|
|
447
447
|
expiration: string;
|
|
448
448
|
ref_block_num: number;
|
|
449
449
|
ref_block_prefix: number;
|
|
@@ -461,10 +461,10 @@ declare const webauthActionParser: <T extends z.ZodRawShape>(contract: string, a
|
|
|
461
461
|
hex_data?: string | undefined;
|
|
462
462
|
}[];
|
|
463
463
|
transaction_extensions: ((string | number)[] | undefined)[];
|
|
464
|
-
actions:
|
|
464
|
+
actions: (z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
465
465
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
466
466
|
name: z.ZodLiteral<string>;
|
|
467
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny,
|
|
467
|
+
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any> extends infer T_1 ? { [k in keyof T_1]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; } : never, z.baseObjectInputType<T> extends infer T_2 ? { [k_1 in keyof T_2]: z.baseObjectInputType<T>[k_1]; } : never>]>;
|
|
468
468
|
authorization: z.ZodArray<z.ZodObject<{
|
|
469
469
|
actor: z.ZodString;
|
|
470
470
|
permission: z.ZodString;
|
|
@@ -475,10 +475,10 @@ declare const webauthActionParser: <T extends z.ZodRawShape>(contract: string, a
|
|
|
475
475
|
actor: string;
|
|
476
476
|
permission: string;
|
|
477
477
|
}>, "many">;
|
|
478
|
-
}>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
478
|
+
}>, any> extends infer T_3 ? { [k_2 in keyof T_3]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
479
479
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
480
480
|
name: z.ZodLiteral<string>;
|
|
481
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny,
|
|
481
|
+
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any> extends infer T_1 ? { [k in keyof T_1]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; } : never, z.baseObjectInputType<T> extends infer T_2 ? { [k_1 in keyof T_2]: z.baseObjectInputType<T>[k_1]; } : never>]>;
|
|
482
482
|
authorization: z.ZodArray<z.ZodObject<{
|
|
483
483
|
actor: z.ZodString;
|
|
484
484
|
permission: z.ZodString;
|
|
@@ -489,7 +489,7 @@ declare const webauthActionParser: <T extends z.ZodRawShape>(contract: string, a
|
|
|
489
489
|
actor: string;
|
|
490
490
|
permission: string;
|
|
491
491
|
}>, "many">;
|
|
492
|
-
}>, any>[k_2]; }[];
|
|
492
|
+
}>, any>[k_2]; } : never)[];
|
|
493
493
|
}, {
|
|
494
494
|
expiration: string;
|
|
495
495
|
ref_block_num: number;
|
|
@@ -508,10 +508,10 @@ declare const webauthActionParser: <T extends z.ZodRawShape>(contract: string, a
|
|
|
508
508
|
hex_data?: string | undefined;
|
|
509
509
|
}[];
|
|
510
510
|
transaction_extensions: ((string | number)[] | undefined)[];
|
|
511
|
-
actions:
|
|
511
|
+
actions: (z.baseObjectInputType<{
|
|
512
512
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
513
513
|
name: z.ZodLiteral<string>;
|
|
514
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny,
|
|
514
|
+
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any> extends infer T_1 ? { [k in keyof T_1]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; } : never, z.baseObjectInputType<T> extends infer T_2 ? { [k_1 in keyof T_2]: z.baseObjectInputType<T>[k_1]; } : never>]>;
|
|
515
515
|
authorization: z.ZodArray<z.ZodObject<{
|
|
516
516
|
actor: z.ZodString;
|
|
517
517
|
permission: z.ZodString;
|
|
@@ -522,10 +522,10 @@ declare const webauthActionParser: <T extends z.ZodRawShape>(contract: string, a
|
|
|
522
522
|
actor: string;
|
|
523
523
|
permission: string;
|
|
524
524
|
}>, "many">;
|
|
525
|
-
}>]: z.baseObjectInputType<{
|
|
525
|
+
}> extends infer T_4 ? { [k_3 in keyof T_4]: z.baseObjectInputType<{
|
|
526
526
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
527
527
|
name: z.ZodLiteral<string>;
|
|
528
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny,
|
|
528
|
+
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any> extends infer T_1 ? { [k in keyof T_1]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; } : never, z.baseObjectInputType<T> extends infer T_2 ? { [k_1 in keyof T_2]: z.baseObjectInputType<T>[k_1]; } : never>]>;
|
|
529
529
|
authorization: z.ZodArray<z.ZodObject<{
|
|
530
530
|
actor: z.ZodString;
|
|
531
531
|
permission: z.ZodString;
|
|
@@ -536,7 +536,7 @@ declare const webauthActionParser: <T extends z.ZodRawShape>(contract: string, a
|
|
|
536
536
|
actor: string;
|
|
537
537
|
permission: string;
|
|
538
538
|
}>, "many">;
|
|
539
|
-
}>[
|
|
539
|
+
}>[k_3]; } : never)[];
|
|
540
540
|
}>;
|
|
541
541
|
}, "strip", z.ZodTypeAny, {
|
|
542
542
|
account: string;
|
|
@@ -576,10 +576,10 @@ declare const webauthActionParser: <T extends z.ZodRawShape>(contract: string, a
|
|
|
576
576
|
hex_data?: string | undefined;
|
|
577
577
|
}[];
|
|
578
578
|
transaction_extensions: ((string | number)[] | undefined)[];
|
|
579
|
-
actions:
|
|
579
|
+
actions: (z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
580
580
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
581
581
|
name: z.ZodLiteral<string>;
|
|
582
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny,
|
|
582
|
+
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any> extends infer T_1 ? { [k in keyof T_1]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; } : never, z.baseObjectInputType<T> extends infer T_2 ? { [k_1 in keyof T_2]: z.baseObjectInputType<T>[k_1]; } : never>]>;
|
|
583
583
|
authorization: z.ZodArray<z.ZodObject<{
|
|
584
584
|
actor: z.ZodString;
|
|
585
585
|
permission: z.ZodString;
|
|
@@ -590,10 +590,10 @@ declare const webauthActionParser: <T extends z.ZodRawShape>(contract: string, a
|
|
|
590
590
|
actor: string;
|
|
591
591
|
permission: string;
|
|
592
592
|
}>, "many">;
|
|
593
|
-
}>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
593
|
+
}>, any> extends infer T_3 ? { [k_2 in keyof T_3]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
594
594
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
595
595
|
name: z.ZodLiteral<string>;
|
|
596
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny,
|
|
596
|
+
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any> extends infer T_1 ? { [k in keyof T_1]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; } : never, z.baseObjectInputType<T> extends infer T_2 ? { [k_1 in keyof T_2]: z.baseObjectInputType<T>[k_1]; } : never>]>;
|
|
597
597
|
authorization: z.ZodArray<z.ZodObject<{
|
|
598
598
|
actor: z.ZodString;
|
|
599
599
|
permission: z.ZodString;
|
|
@@ -604,7 +604,7 @@ declare const webauthActionParser: <T extends z.ZodRawShape>(contract: string, a
|
|
|
604
604
|
actor: string;
|
|
605
605
|
permission: string;
|
|
606
606
|
}>, "many">;
|
|
607
|
-
}>, any>[k_2]; }[];
|
|
607
|
+
}>, any>[k_2]; } : never)[];
|
|
608
608
|
};
|
|
609
609
|
}, {
|
|
610
610
|
account: string;
|
|
@@ -644,10 +644,10 @@ declare const webauthActionParser: <T extends z.ZodRawShape>(contract: string, a
|
|
|
644
644
|
hex_data?: string | undefined;
|
|
645
645
|
}[];
|
|
646
646
|
transaction_extensions: ((string | number)[] | undefined)[];
|
|
647
|
-
actions:
|
|
647
|
+
actions: (z.baseObjectInputType<{
|
|
648
648
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
649
649
|
name: z.ZodLiteral<string>;
|
|
650
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny,
|
|
650
|
+
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any> extends infer T_1 ? { [k in keyof T_1]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; } : never, z.baseObjectInputType<T> extends infer T_2 ? { [k_1 in keyof T_2]: z.baseObjectInputType<T>[k_1]; } : never>]>;
|
|
651
651
|
authorization: z.ZodArray<z.ZodObject<{
|
|
652
652
|
actor: z.ZodString;
|
|
653
653
|
permission: z.ZodString;
|
|
@@ -658,10 +658,10 @@ declare const webauthActionParser: <T extends z.ZodRawShape>(contract: string, a
|
|
|
658
658
|
actor: string;
|
|
659
659
|
permission: string;
|
|
660
660
|
}>, "many">;
|
|
661
|
-
}>]: z.baseObjectInputType<{
|
|
661
|
+
}> extends infer T_4 ? { [k_3 in keyof T_4]: z.baseObjectInputType<{
|
|
662
662
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
663
663
|
name: z.ZodLiteral<string>;
|
|
664
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny,
|
|
664
|
+
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any> extends infer T_1 ? { [k in keyof T_1]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; } : never, z.baseObjectInputType<T> extends infer T_2 ? { [k_1 in keyof T_2]: z.baseObjectInputType<T>[k_1]; } : never>]>;
|
|
665
665
|
authorization: z.ZodArray<z.ZodObject<{
|
|
666
666
|
actor: z.ZodString;
|
|
667
667
|
permission: z.ZodString;
|
|
@@ -672,7 +672,7 @@ declare const webauthActionParser: <T extends z.ZodRawShape>(contract: string, a
|
|
|
672
672
|
actor: string;
|
|
673
673
|
permission: string;
|
|
674
674
|
}>, "many">;
|
|
675
|
-
}>[
|
|
675
|
+
}>[k_3]; } : never)[];
|
|
676
676
|
};
|
|
677
677
|
}>;
|
|
678
678
|
authorization: z.ZodArray<z.ZodObject<{
|
|
@@ -730,10 +730,10 @@ declare const webauthActionParser: <T extends z.ZodRawShape>(contract: string, a
|
|
|
730
730
|
hex_data?: string | undefined;
|
|
731
731
|
}[];
|
|
732
732
|
transaction_extensions: ((string | number)[] | undefined)[];
|
|
733
|
-
actions:
|
|
733
|
+
actions: (z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
734
734
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
735
735
|
name: z.ZodLiteral<string>;
|
|
736
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny,
|
|
736
|
+
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any> extends infer T_1 ? { [k in keyof T_1]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; } : never, z.baseObjectInputType<T> extends infer T_2 ? { [k_1 in keyof T_2]: z.baseObjectInputType<T>[k_1]; } : never>]>;
|
|
737
737
|
authorization: z.ZodArray<z.ZodObject<{
|
|
738
738
|
actor: z.ZodString;
|
|
739
739
|
permission: z.ZodString;
|
|
@@ -744,10 +744,10 @@ declare const webauthActionParser: <T extends z.ZodRawShape>(contract: string, a
|
|
|
744
744
|
actor: string;
|
|
745
745
|
permission: string;
|
|
746
746
|
}>, "many">;
|
|
747
|
-
}>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
747
|
+
}>, any> extends infer T_3 ? { [k_2 in keyof T_3]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
748
748
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
749
749
|
name: z.ZodLiteral<string>;
|
|
750
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny,
|
|
750
|
+
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any> extends infer T_1 ? { [k in keyof T_1]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; } : never, z.baseObjectInputType<T> extends infer T_2 ? { [k_1 in keyof T_2]: z.baseObjectInputType<T>[k_1]; } : never>]>;
|
|
751
751
|
authorization: z.ZodArray<z.ZodObject<{
|
|
752
752
|
actor: z.ZodString;
|
|
753
753
|
permission: z.ZodString;
|
|
@@ -758,7 +758,7 @@ declare const webauthActionParser: <T extends z.ZodRawShape>(contract: string, a
|
|
|
758
758
|
actor: string;
|
|
759
759
|
permission: string;
|
|
760
760
|
}>, "many">;
|
|
761
|
-
}>, any>[k_2]; }[];
|
|
761
|
+
}>, any>[k_2]; } : never)[];
|
|
762
762
|
};
|
|
763
763
|
};
|
|
764
764
|
}, {
|
|
@@ -806,10 +806,10 @@ declare const webauthActionParser: <T extends z.ZodRawShape>(contract: string, a
|
|
|
806
806
|
hex_data?: string | undefined;
|
|
807
807
|
}[];
|
|
808
808
|
transaction_extensions: ((string | number)[] | undefined)[];
|
|
809
|
-
actions:
|
|
809
|
+
actions: (z.baseObjectInputType<{
|
|
810
810
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
811
811
|
name: z.ZodLiteral<string>;
|
|
812
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny,
|
|
812
|
+
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any> extends infer T_1 ? { [k in keyof T_1]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; } : never, z.baseObjectInputType<T> extends infer T_2 ? { [k_1 in keyof T_2]: z.baseObjectInputType<T>[k_1]; } : never>]>;
|
|
813
813
|
authorization: z.ZodArray<z.ZodObject<{
|
|
814
814
|
actor: z.ZodString;
|
|
815
815
|
permission: z.ZodString;
|
|
@@ -820,10 +820,10 @@ declare const webauthActionParser: <T extends z.ZodRawShape>(contract: string, a
|
|
|
820
820
|
actor: string;
|
|
821
821
|
permission: string;
|
|
822
822
|
}>, "many">;
|
|
823
|
-
}>]: z.baseObjectInputType<{
|
|
823
|
+
}> extends infer T_4 ? { [k_3 in keyof T_4]: z.baseObjectInputType<{
|
|
824
824
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
825
825
|
name: z.ZodLiteral<string>;
|
|
826
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny,
|
|
826
|
+
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any> extends infer T_1 ? { [k in keyof T_1]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; } : never, z.baseObjectInputType<T> extends infer T_2 ? { [k_1 in keyof T_2]: z.baseObjectInputType<T>[k_1]; } : never>]>;
|
|
827
827
|
authorization: z.ZodArray<z.ZodObject<{
|
|
828
828
|
actor: z.ZodString;
|
|
829
829
|
permission: z.ZodString;
|
|
@@ -834,11 +834,11 @@ declare const webauthActionParser: <T extends z.ZodRawShape>(contract: string, a
|
|
|
834
834
|
actor: string;
|
|
835
835
|
permission: string;
|
|
836
836
|
}>, "many">;
|
|
837
|
-
}>[
|
|
837
|
+
}>[k_3]; } : never)[];
|
|
838
838
|
};
|
|
839
839
|
};
|
|
840
840
|
}>;
|
|
841
|
-
declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract: string, action: string, data: T) => z.ZodObject<
|
|
841
|
+
declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract: string, action: string, data: T) => z.ZodObject<{
|
|
842
842
|
expiration: z.ZodString;
|
|
843
843
|
ref_block_num: z.ZodNumber;
|
|
844
844
|
ref_block_prefix: z.ZodNumber;
|
|
@@ -880,11 +880,11 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
880
880
|
hex_data?: string | undefined;
|
|
881
881
|
}>, "many">;
|
|
882
882
|
transaction_extensions: z.ZodArray<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">>, "many">;
|
|
883
|
-
}
|
|
883
|
+
} & {
|
|
884
884
|
actions: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
885
885
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
886
886
|
name: z.ZodLiteral<string>;
|
|
887
|
-
data: z.ZodObject<T, "strip", z.ZodTypeAny,
|
|
887
|
+
data: z.ZodObject<T, "strip", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any> extends infer T_1 ? { [k in keyof T_1]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; } : never, z.baseObjectInputType<T> extends infer T_2 ? { [k_1 in keyof T_2]: z.baseObjectInputType<T>[k_1]; } : never>;
|
|
888
888
|
authorization: z.ZodArray<z.ZodObject<{
|
|
889
889
|
actor: z.ZodString;
|
|
890
890
|
permission: z.ZodString;
|
|
@@ -895,10 +895,10 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
895
895
|
actor: string;
|
|
896
896
|
permission: string;
|
|
897
897
|
}>, "many">;
|
|
898
|
-
}, "strip", z.ZodTypeAny,
|
|
898
|
+
}, "strip", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
899
899
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
900
900
|
name: z.ZodLiteral<string>;
|
|
901
|
-
data: z.ZodObject<T, "strip", z.ZodTypeAny,
|
|
901
|
+
data: z.ZodObject<T, "strip", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any> extends infer T_1 ? { [k in keyof T_1]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; } : never, z.baseObjectInputType<T> extends infer T_2 ? { [k_1 in keyof T_2]: z.baseObjectInputType<T>[k_1]; } : never>;
|
|
902
902
|
authorization: z.ZodArray<z.ZodObject<{
|
|
903
903
|
actor: z.ZodString;
|
|
904
904
|
permission: z.ZodString;
|
|
@@ -909,10 +909,10 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
909
909
|
actor: string;
|
|
910
910
|
permission: string;
|
|
911
911
|
}>, "many">;
|
|
912
|
-
}>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
912
|
+
}>, any> extends infer T_3 ? { [k_2 in keyof T_3]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
913
913
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
914
914
|
name: z.ZodLiteral<string>;
|
|
915
|
-
data: z.ZodObject<T, "strip", z.ZodTypeAny,
|
|
915
|
+
data: z.ZodObject<T, "strip", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any> extends infer T_1 ? { [k in keyof T_1]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; } : never, z.baseObjectInputType<T> extends infer T_2 ? { [k_1 in keyof T_2]: z.baseObjectInputType<T>[k_1]; } : never>;
|
|
916
916
|
authorization: z.ZodArray<z.ZodObject<{
|
|
917
917
|
actor: z.ZodString;
|
|
918
918
|
permission: z.ZodString;
|
|
@@ -923,10 +923,10 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
923
923
|
actor: string;
|
|
924
924
|
permission: string;
|
|
925
925
|
}>, "many">;
|
|
926
|
-
}>, any>[k_2]; }
|
|
926
|
+
}>, any>[k_2]; } : never, z.baseObjectInputType<{
|
|
927
927
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
928
928
|
name: z.ZodLiteral<string>;
|
|
929
|
-
data: z.ZodObject<T, "strip", z.ZodTypeAny,
|
|
929
|
+
data: z.ZodObject<T, "strip", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any> extends infer T_1 ? { [k in keyof T_1]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; } : never, z.baseObjectInputType<T> extends infer T_2 ? { [k_1 in keyof T_2]: z.baseObjectInputType<T>[k_1]; } : never>;
|
|
930
930
|
authorization: z.ZodArray<z.ZodObject<{
|
|
931
931
|
actor: z.ZodString;
|
|
932
932
|
permission: z.ZodString;
|
|
@@ -937,10 +937,10 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
937
937
|
actor: string;
|
|
938
938
|
permission: string;
|
|
939
939
|
}>, "many">;
|
|
940
|
-
}>]: z.baseObjectInputType<{
|
|
940
|
+
}> extends infer T_4 ? { [k_3 in keyof T_4]: z.baseObjectInputType<{
|
|
941
941
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
942
942
|
name: z.ZodLiteral<string>;
|
|
943
|
-
data: z.ZodObject<T, "strip", z.ZodTypeAny,
|
|
943
|
+
data: z.ZodObject<T, "strip", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any> extends infer T_1 ? { [k in keyof T_1]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; } : never, z.baseObjectInputType<T> extends infer T_2 ? { [k_1 in keyof T_2]: z.baseObjectInputType<T>[k_1]; } : never>;
|
|
944
944
|
authorization: z.ZodArray<z.ZodObject<{
|
|
945
945
|
actor: z.ZodString;
|
|
946
946
|
permission: z.ZodString;
|
|
@@ -951,7 +951,7 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
951
951
|
actor: string;
|
|
952
952
|
permission: string;
|
|
953
953
|
}>, "many">;
|
|
954
|
-
}>[
|
|
954
|
+
}>[k_3]; } : never>, z.ZodObject<{
|
|
955
955
|
account: z.ZodLiteral<"webauthn">;
|
|
956
956
|
name: z.ZodLiteral<"exec">;
|
|
957
957
|
data: z.ZodObject<{
|
|
@@ -1008,7 +1008,7 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1008
1008
|
auth_data: string;
|
|
1009
1009
|
client_json: string;
|
|
1010
1010
|
}>;
|
|
1011
|
-
trx: z.ZodObject<
|
|
1011
|
+
trx: z.ZodObject<{
|
|
1012
1012
|
expiration: z.ZodString;
|
|
1013
1013
|
ref_block_num: z.ZodNumber;
|
|
1014
1014
|
ref_block_prefix: z.ZodNumber;
|
|
@@ -1050,11 +1050,11 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1050
1050
|
hex_data?: string | undefined;
|
|
1051
1051
|
}>, "many">;
|
|
1052
1052
|
transaction_extensions: z.ZodArray<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">>, "many">;
|
|
1053
|
-
}
|
|
1053
|
+
} & {
|
|
1054
1054
|
actions: z.ZodArray<z.ZodObject<{
|
|
1055
1055
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
1056
1056
|
name: z.ZodLiteral<string>;
|
|
1057
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny,
|
|
1057
|
+
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any> extends infer T_1 ? { [k in keyof T_1]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; } : never, z.baseObjectInputType<T> extends infer T_2 ? { [k_1 in keyof T_2]: z.baseObjectInputType<T>[k_1]; } : never>]>;
|
|
1058
1058
|
authorization: z.ZodArray<z.ZodObject<{
|
|
1059
1059
|
actor: z.ZodString;
|
|
1060
1060
|
permission: z.ZodString;
|
|
@@ -1065,10 +1065,10 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1065
1065
|
actor: string;
|
|
1066
1066
|
permission: string;
|
|
1067
1067
|
}>, "many">;
|
|
1068
|
-
}, "strip", z.ZodTypeAny,
|
|
1068
|
+
}, "strip", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
1069
1069
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
1070
1070
|
name: z.ZodLiteral<string>;
|
|
1071
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny,
|
|
1071
|
+
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any> extends infer T_1 ? { [k in keyof T_1]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; } : never, z.baseObjectInputType<T> extends infer T_2 ? { [k_1 in keyof T_2]: z.baseObjectInputType<T>[k_1]; } : never>]>;
|
|
1072
1072
|
authorization: z.ZodArray<z.ZodObject<{
|
|
1073
1073
|
actor: z.ZodString;
|
|
1074
1074
|
permission: z.ZodString;
|
|
@@ -1079,10 +1079,10 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1079
1079
|
actor: string;
|
|
1080
1080
|
permission: string;
|
|
1081
1081
|
}>, "many">;
|
|
1082
|
-
}>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
1082
|
+
}>, any> extends infer T_5 ? { [k_4 in keyof T_5]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
1083
1083
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
1084
1084
|
name: z.ZodLiteral<string>;
|
|
1085
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny,
|
|
1085
|
+
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any> extends infer T_1 ? { [k in keyof T_1]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; } : never, z.baseObjectInputType<T> extends infer T_2 ? { [k_1 in keyof T_2]: z.baseObjectInputType<T>[k_1]; } : never>]>;
|
|
1086
1086
|
authorization: z.ZodArray<z.ZodObject<{
|
|
1087
1087
|
actor: z.ZodString;
|
|
1088
1088
|
permission: z.ZodString;
|
|
@@ -1093,10 +1093,10 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1093
1093
|
actor: string;
|
|
1094
1094
|
permission: string;
|
|
1095
1095
|
}>, "many">;
|
|
1096
|
-
}>, any>[
|
|
1096
|
+
}>, any>[k_4]; } : never, z.baseObjectInputType<{
|
|
1097
1097
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
1098
1098
|
name: z.ZodLiteral<string>;
|
|
1099
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny,
|
|
1099
|
+
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any> extends infer T_1 ? { [k in keyof T_1]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; } : never, z.baseObjectInputType<T> extends infer T_2 ? { [k_1 in keyof T_2]: z.baseObjectInputType<T>[k_1]; } : never>]>;
|
|
1100
1100
|
authorization: z.ZodArray<z.ZodObject<{
|
|
1101
1101
|
actor: z.ZodString;
|
|
1102
1102
|
permission: z.ZodString;
|
|
@@ -1107,10 +1107,10 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1107
1107
|
actor: string;
|
|
1108
1108
|
permission: string;
|
|
1109
1109
|
}>, "many">;
|
|
1110
|
-
}>]: z.baseObjectInputType<{
|
|
1110
|
+
}> extends infer T_6 ? { [k_5 in keyof T_6]: z.baseObjectInputType<{
|
|
1111
1111
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
1112
1112
|
name: z.ZodLiteral<string>;
|
|
1113
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny,
|
|
1113
|
+
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any> extends infer T_1 ? { [k in keyof T_1]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; } : never, z.baseObjectInputType<T> extends infer T_2 ? { [k_1 in keyof T_2]: z.baseObjectInputType<T>[k_1]; } : never>]>;
|
|
1114
1114
|
authorization: z.ZodArray<z.ZodObject<{
|
|
1115
1115
|
actor: z.ZodString;
|
|
1116
1116
|
permission: z.ZodString;
|
|
@@ -1121,8 +1121,8 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1121
1121
|
actor: string;
|
|
1122
1122
|
permission: string;
|
|
1123
1123
|
}>, "many">;
|
|
1124
|
-
}>[
|
|
1125
|
-
}
|
|
1124
|
+
}>[k_5]; } : never>, "many">;
|
|
1125
|
+
}, "strip", z.ZodTypeAny, {
|
|
1126
1126
|
expiration: string;
|
|
1127
1127
|
ref_block_num: number;
|
|
1128
1128
|
ref_block_prefix: number;
|
|
@@ -1140,10 +1140,10 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1140
1140
|
hex_data?: string | undefined;
|
|
1141
1141
|
}[];
|
|
1142
1142
|
transaction_extensions: ((string | number)[] | undefined)[];
|
|
1143
|
-
actions:
|
|
1143
|
+
actions: (z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
1144
1144
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
1145
1145
|
name: z.ZodLiteral<string>;
|
|
1146
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny,
|
|
1146
|
+
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any> extends infer T_1 ? { [k in keyof T_1]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; } : never, z.baseObjectInputType<T> extends infer T_2 ? { [k_1 in keyof T_2]: z.baseObjectInputType<T>[k_1]; } : never>]>;
|
|
1147
1147
|
authorization: z.ZodArray<z.ZodObject<{
|
|
1148
1148
|
actor: z.ZodString;
|
|
1149
1149
|
permission: z.ZodString;
|
|
@@ -1154,10 +1154,10 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1154
1154
|
actor: string;
|
|
1155
1155
|
permission: string;
|
|
1156
1156
|
}>, "many">;
|
|
1157
|
-
}>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
1157
|
+
}>, any> extends infer T_5 ? { [k_4 in keyof T_5]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
1158
1158
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
1159
1159
|
name: z.ZodLiteral<string>;
|
|
1160
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny,
|
|
1160
|
+
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any> extends infer T_1 ? { [k in keyof T_1]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; } : never, z.baseObjectInputType<T> extends infer T_2 ? { [k_1 in keyof T_2]: z.baseObjectInputType<T>[k_1]; } : never>]>;
|
|
1161
1161
|
authorization: z.ZodArray<z.ZodObject<{
|
|
1162
1162
|
actor: z.ZodString;
|
|
1163
1163
|
permission: z.ZodString;
|
|
@@ -1168,7 +1168,7 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1168
1168
|
actor: string;
|
|
1169
1169
|
permission: string;
|
|
1170
1170
|
}>, "many">;
|
|
1171
|
-
}>, any>[
|
|
1171
|
+
}>, any>[k_4]; } : never)[];
|
|
1172
1172
|
}, {
|
|
1173
1173
|
expiration: string;
|
|
1174
1174
|
ref_block_num: number;
|
|
@@ -1187,10 +1187,10 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1187
1187
|
hex_data?: string | undefined;
|
|
1188
1188
|
}[];
|
|
1189
1189
|
transaction_extensions: ((string | number)[] | undefined)[];
|
|
1190
|
-
actions:
|
|
1190
|
+
actions: (z.baseObjectInputType<{
|
|
1191
1191
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
1192
1192
|
name: z.ZodLiteral<string>;
|
|
1193
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny,
|
|
1193
|
+
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any> extends infer T_1 ? { [k in keyof T_1]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; } : never, z.baseObjectInputType<T> extends infer T_2 ? { [k_1 in keyof T_2]: z.baseObjectInputType<T>[k_1]; } : never>]>;
|
|
1194
1194
|
authorization: z.ZodArray<z.ZodObject<{
|
|
1195
1195
|
actor: z.ZodString;
|
|
1196
1196
|
permission: z.ZodString;
|
|
@@ -1201,10 +1201,10 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1201
1201
|
actor: string;
|
|
1202
1202
|
permission: string;
|
|
1203
1203
|
}>, "many">;
|
|
1204
|
-
}>]: z.baseObjectInputType<{
|
|
1204
|
+
}> extends infer T_6 ? { [k_5 in keyof T_6]: z.baseObjectInputType<{
|
|
1205
1205
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
1206
1206
|
name: z.ZodLiteral<string>;
|
|
1207
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny,
|
|
1207
|
+
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any> extends infer T_1 ? { [k in keyof T_1]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; } : never, z.baseObjectInputType<T> extends infer T_2 ? { [k_1 in keyof T_2]: z.baseObjectInputType<T>[k_1]; } : never>]>;
|
|
1208
1208
|
authorization: z.ZodArray<z.ZodObject<{
|
|
1209
1209
|
actor: z.ZodString;
|
|
1210
1210
|
permission: z.ZodString;
|
|
@@ -1215,7 +1215,7 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1215
1215
|
actor: string;
|
|
1216
1216
|
permission: string;
|
|
1217
1217
|
}>, "many">;
|
|
1218
|
-
}>[
|
|
1218
|
+
}>[k_5]; } : never)[];
|
|
1219
1219
|
}>;
|
|
1220
1220
|
}, "strip", z.ZodTypeAny, {
|
|
1221
1221
|
account: string;
|
|
@@ -1255,10 +1255,10 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1255
1255
|
hex_data?: string | undefined;
|
|
1256
1256
|
}[];
|
|
1257
1257
|
transaction_extensions: ((string | number)[] | undefined)[];
|
|
1258
|
-
actions:
|
|
1258
|
+
actions: (z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
1259
1259
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
1260
1260
|
name: z.ZodLiteral<string>;
|
|
1261
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny,
|
|
1261
|
+
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any> extends infer T_1 ? { [k in keyof T_1]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; } : never, z.baseObjectInputType<T> extends infer T_2 ? { [k_1 in keyof T_2]: z.baseObjectInputType<T>[k_1]; } : never>]>;
|
|
1262
1262
|
authorization: z.ZodArray<z.ZodObject<{
|
|
1263
1263
|
actor: z.ZodString;
|
|
1264
1264
|
permission: z.ZodString;
|
|
@@ -1269,10 +1269,10 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1269
1269
|
actor: string;
|
|
1270
1270
|
permission: string;
|
|
1271
1271
|
}>, "many">;
|
|
1272
|
-
}>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
1272
|
+
}>, any> extends infer T_5 ? { [k_4 in keyof T_5]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
1273
1273
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
1274
1274
|
name: z.ZodLiteral<string>;
|
|
1275
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny,
|
|
1275
|
+
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any> extends infer T_1 ? { [k in keyof T_1]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; } : never, z.baseObjectInputType<T> extends infer T_2 ? { [k_1 in keyof T_2]: z.baseObjectInputType<T>[k_1]; } : never>]>;
|
|
1276
1276
|
authorization: z.ZodArray<z.ZodObject<{
|
|
1277
1277
|
actor: z.ZodString;
|
|
1278
1278
|
permission: z.ZodString;
|
|
@@ -1283,7 +1283,7 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1283
1283
|
actor: string;
|
|
1284
1284
|
permission: string;
|
|
1285
1285
|
}>, "many">;
|
|
1286
|
-
}>, any>[
|
|
1286
|
+
}>, any>[k_4]; } : never)[];
|
|
1287
1287
|
};
|
|
1288
1288
|
}, {
|
|
1289
1289
|
account: string;
|
|
@@ -1323,10 +1323,10 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1323
1323
|
hex_data?: string | undefined;
|
|
1324
1324
|
}[];
|
|
1325
1325
|
transaction_extensions: ((string | number)[] | undefined)[];
|
|
1326
|
-
actions:
|
|
1326
|
+
actions: (z.baseObjectInputType<{
|
|
1327
1327
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
1328
1328
|
name: z.ZodLiteral<string>;
|
|
1329
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny,
|
|
1329
|
+
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any> extends infer T_1 ? { [k in keyof T_1]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; } : never, z.baseObjectInputType<T> extends infer T_2 ? { [k_1 in keyof T_2]: z.baseObjectInputType<T>[k_1]; } : never>]>;
|
|
1330
1330
|
authorization: z.ZodArray<z.ZodObject<{
|
|
1331
1331
|
actor: z.ZodString;
|
|
1332
1332
|
permission: z.ZodString;
|
|
@@ -1337,10 +1337,10 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1337
1337
|
actor: string;
|
|
1338
1338
|
permission: string;
|
|
1339
1339
|
}>, "many">;
|
|
1340
|
-
}>]: z.baseObjectInputType<{
|
|
1340
|
+
}> extends infer T_6 ? { [k_5 in keyof T_6]: z.baseObjectInputType<{
|
|
1341
1341
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
1342
1342
|
name: z.ZodLiteral<string>;
|
|
1343
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny,
|
|
1343
|
+
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any> extends infer T_1 ? { [k in keyof T_1]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; } : never, z.baseObjectInputType<T> extends infer T_2 ? { [k_1 in keyof T_2]: z.baseObjectInputType<T>[k_1]; } : never>]>;
|
|
1344
1344
|
authorization: z.ZodArray<z.ZodObject<{
|
|
1345
1345
|
actor: z.ZodString;
|
|
1346
1346
|
permission: z.ZodString;
|
|
@@ -1351,7 +1351,7 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1351
1351
|
actor: string;
|
|
1352
1352
|
permission: string;
|
|
1353
1353
|
}>, "many">;
|
|
1354
|
-
}>[
|
|
1354
|
+
}>[k_5]; } : never)[];
|
|
1355
1355
|
};
|
|
1356
1356
|
}>;
|
|
1357
1357
|
authorization: z.ZodArray<z.ZodObject<{
|
|
@@ -1409,10 +1409,10 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1409
1409
|
hex_data?: string | undefined;
|
|
1410
1410
|
}[];
|
|
1411
1411
|
transaction_extensions: ((string | number)[] | undefined)[];
|
|
1412
|
-
actions:
|
|
1412
|
+
actions: (z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
1413
1413
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
1414
1414
|
name: z.ZodLiteral<string>;
|
|
1415
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny,
|
|
1415
|
+
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any> extends infer T_1 ? { [k in keyof T_1]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; } : never, z.baseObjectInputType<T> extends infer T_2 ? { [k_1 in keyof T_2]: z.baseObjectInputType<T>[k_1]; } : never>]>;
|
|
1416
1416
|
authorization: z.ZodArray<z.ZodObject<{
|
|
1417
1417
|
actor: z.ZodString;
|
|
1418
1418
|
permission: z.ZodString;
|
|
@@ -1423,10 +1423,10 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1423
1423
|
actor: string;
|
|
1424
1424
|
permission: string;
|
|
1425
1425
|
}>, "many">;
|
|
1426
|
-
}>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
1426
|
+
}>, any> extends infer T_5 ? { [k_4 in keyof T_5]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
1427
1427
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
1428
1428
|
name: z.ZodLiteral<string>;
|
|
1429
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny,
|
|
1429
|
+
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any> extends infer T_1 ? { [k in keyof T_1]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; } : never, z.baseObjectInputType<T> extends infer T_2 ? { [k_1 in keyof T_2]: z.baseObjectInputType<T>[k_1]; } : never>]>;
|
|
1430
1430
|
authorization: z.ZodArray<z.ZodObject<{
|
|
1431
1431
|
actor: z.ZodString;
|
|
1432
1432
|
permission: z.ZodString;
|
|
@@ -1437,7 +1437,7 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1437
1437
|
actor: string;
|
|
1438
1438
|
permission: string;
|
|
1439
1439
|
}>, "many">;
|
|
1440
|
-
}>, any>[
|
|
1440
|
+
}>, any>[k_4]; } : never)[];
|
|
1441
1441
|
};
|
|
1442
1442
|
};
|
|
1443
1443
|
}, {
|
|
@@ -1485,10 +1485,10 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1485
1485
|
hex_data?: string | undefined;
|
|
1486
1486
|
}[];
|
|
1487
1487
|
transaction_extensions: ((string | number)[] | undefined)[];
|
|
1488
|
-
actions:
|
|
1488
|
+
actions: (z.baseObjectInputType<{
|
|
1489
1489
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
1490
1490
|
name: z.ZodLiteral<string>;
|
|
1491
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny,
|
|
1491
|
+
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any> extends infer T_1 ? { [k in keyof T_1]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; } : never, z.baseObjectInputType<T> extends infer T_2 ? { [k_1 in keyof T_2]: z.baseObjectInputType<T>[k_1]; } : never>]>;
|
|
1492
1492
|
authorization: z.ZodArray<z.ZodObject<{
|
|
1493
1493
|
actor: z.ZodString;
|
|
1494
1494
|
permission: z.ZodString;
|
|
@@ -1499,10 +1499,10 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1499
1499
|
actor: string;
|
|
1500
1500
|
permission: string;
|
|
1501
1501
|
}>, "many">;
|
|
1502
|
-
}>]: z.baseObjectInputType<{
|
|
1502
|
+
}> extends infer T_6 ? { [k_5 in keyof T_6]: z.baseObjectInputType<{
|
|
1503
1503
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
1504
1504
|
name: z.ZodLiteral<string>;
|
|
1505
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny,
|
|
1505
|
+
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any> extends infer T_1 ? { [k in keyof T_1]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; } : never, z.baseObjectInputType<T> extends infer T_2 ? { [k_1 in keyof T_2]: z.baseObjectInputType<T>[k_1]; } : never>]>;
|
|
1506
1506
|
authorization: z.ZodArray<z.ZodObject<{
|
|
1507
1507
|
actor: z.ZodString;
|
|
1508
1508
|
permission: z.ZodString;
|
|
@@ -1513,11 +1513,11 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1513
1513
|
actor: string;
|
|
1514
1514
|
permission: string;
|
|
1515
1515
|
}>, "many">;
|
|
1516
|
-
}>[
|
|
1516
|
+
}>[k_5]; } : never)[];
|
|
1517
1517
|
};
|
|
1518
1518
|
};
|
|
1519
1519
|
}>]>, "many">;
|
|
1520
|
-
}
|
|
1520
|
+
}, "strip", z.ZodTypeAny, {
|
|
1521
1521
|
expiration: string;
|
|
1522
1522
|
ref_block_num: number;
|
|
1523
1523
|
ref_block_prefix: number;
|
|
@@ -1535,10 +1535,10 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1535
1535
|
hex_data?: string | undefined;
|
|
1536
1536
|
}[];
|
|
1537
1537
|
transaction_extensions: ((string | number)[] | undefined)[];
|
|
1538
|
-
actions: (
|
|
1538
|
+
actions: ((z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
1539
1539
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
1540
1540
|
name: z.ZodLiteral<string>;
|
|
1541
|
-
data: z.ZodObject<T, "strip", z.ZodTypeAny,
|
|
1541
|
+
data: z.ZodObject<T, "strip", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any> extends infer T_1 ? { [k in keyof T_1]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; } : never, z.baseObjectInputType<T> extends infer T_2 ? { [k_1 in keyof T_2]: z.baseObjectInputType<T>[k_1]; } : never>;
|
|
1542
1542
|
authorization: z.ZodArray<z.ZodObject<{
|
|
1543
1543
|
actor: z.ZodString;
|
|
1544
1544
|
permission: z.ZodString;
|
|
@@ -1549,10 +1549,10 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1549
1549
|
actor: string;
|
|
1550
1550
|
permission: string;
|
|
1551
1551
|
}>, "many">;
|
|
1552
|
-
}>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
1552
|
+
}>, any> extends infer T_3 ? { [k_2 in keyof T_3]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
1553
1553
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
1554
1554
|
name: z.ZodLiteral<string>;
|
|
1555
|
-
data: z.ZodObject<T, "strip", z.ZodTypeAny,
|
|
1555
|
+
data: z.ZodObject<T, "strip", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any> extends infer T_1 ? { [k in keyof T_1]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; } : never, z.baseObjectInputType<T> extends infer T_2 ? { [k_1 in keyof T_2]: z.baseObjectInputType<T>[k_1]; } : never>;
|
|
1556
1556
|
authorization: z.ZodArray<z.ZodObject<{
|
|
1557
1557
|
actor: z.ZodString;
|
|
1558
1558
|
permission: z.ZodString;
|
|
@@ -1563,7 +1563,7 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1563
1563
|
actor: string;
|
|
1564
1564
|
permission: string;
|
|
1565
1565
|
}>, "many">;
|
|
1566
|
-
}>, any>[k_2]; } | {
|
|
1566
|
+
}>, any>[k_2]; } : never) | {
|
|
1567
1567
|
account: "webauthn";
|
|
1568
1568
|
name: "exec";
|
|
1569
1569
|
authorization: {
|
|
@@ -1608,10 +1608,10 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1608
1608
|
hex_data?: string | undefined;
|
|
1609
1609
|
}[];
|
|
1610
1610
|
transaction_extensions: ((string | number)[] | undefined)[];
|
|
1611
|
-
actions:
|
|
1611
|
+
actions: (z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
1612
1612
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
1613
1613
|
name: z.ZodLiteral<string>;
|
|
1614
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny,
|
|
1614
|
+
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any> extends infer T_1 ? { [k in keyof T_1]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; } : never, z.baseObjectInputType<T> extends infer T_2 ? { [k_1 in keyof T_2]: z.baseObjectInputType<T>[k_1]; } : never>]>;
|
|
1615
1615
|
authorization: z.ZodArray<z.ZodObject<{
|
|
1616
1616
|
actor: z.ZodString;
|
|
1617
1617
|
permission: z.ZodString;
|
|
@@ -1622,10 +1622,10 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1622
1622
|
actor: string;
|
|
1623
1623
|
permission: string;
|
|
1624
1624
|
}>, "many">;
|
|
1625
|
-
}>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
1625
|
+
}>, any> extends infer T_5 ? { [k_4 in keyof T_5]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
1626
1626
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
1627
1627
|
name: z.ZodLiteral<string>;
|
|
1628
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny,
|
|
1628
|
+
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any> extends infer T_1 ? { [k in keyof T_1]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; } : never, z.baseObjectInputType<T> extends infer T_2 ? { [k_1 in keyof T_2]: z.baseObjectInputType<T>[k_1]; } : never>]>;
|
|
1629
1629
|
authorization: z.ZodArray<z.ZodObject<{
|
|
1630
1630
|
actor: z.ZodString;
|
|
1631
1631
|
permission: z.ZodString;
|
|
@@ -1636,7 +1636,7 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1636
1636
|
actor: string;
|
|
1637
1637
|
permission: string;
|
|
1638
1638
|
}>, "many">;
|
|
1639
|
-
}>, any>[
|
|
1639
|
+
}>, any>[k_4]; } : never)[];
|
|
1640
1640
|
};
|
|
1641
1641
|
};
|
|
1642
1642
|
})[];
|
|
@@ -1658,10 +1658,10 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1658
1658
|
hex_data?: string | undefined;
|
|
1659
1659
|
}[];
|
|
1660
1660
|
transaction_extensions: ((string | number)[] | undefined)[];
|
|
1661
|
-
actions: (
|
|
1661
|
+
actions: ((z.baseObjectInputType<{
|
|
1662
1662
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
1663
1663
|
name: z.ZodLiteral<string>;
|
|
1664
|
-
data: z.ZodObject<T, "strip", z.ZodTypeAny,
|
|
1664
|
+
data: z.ZodObject<T, "strip", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any> extends infer T_1 ? { [k in keyof T_1]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; } : never, z.baseObjectInputType<T> extends infer T_2 ? { [k_1 in keyof T_2]: z.baseObjectInputType<T>[k_1]; } : never>;
|
|
1665
1665
|
authorization: z.ZodArray<z.ZodObject<{
|
|
1666
1666
|
actor: z.ZodString;
|
|
1667
1667
|
permission: z.ZodString;
|
|
@@ -1672,10 +1672,10 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1672
1672
|
actor: string;
|
|
1673
1673
|
permission: string;
|
|
1674
1674
|
}>, "many">;
|
|
1675
|
-
}>]: z.baseObjectInputType<{
|
|
1675
|
+
}> extends infer T_4 ? { [k_3 in keyof T_4]: z.baseObjectInputType<{
|
|
1676
1676
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
1677
1677
|
name: z.ZodLiteral<string>;
|
|
1678
|
-
data: z.ZodObject<T, "strip", z.ZodTypeAny,
|
|
1678
|
+
data: z.ZodObject<T, "strip", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any> extends infer T_1 ? { [k in keyof T_1]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; } : never, z.baseObjectInputType<T> extends infer T_2 ? { [k_1 in keyof T_2]: z.baseObjectInputType<T>[k_1]; } : never>;
|
|
1679
1679
|
authorization: z.ZodArray<z.ZodObject<{
|
|
1680
1680
|
actor: z.ZodString;
|
|
1681
1681
|
permission: z.ZodString;
|
|
@@ -1686,7 +1686,7 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1686
1686
|
actor: string;
|
|
1687
1687
|
permission: string;
|
|
1688
1688
|
}>, "many">;
|
|
1689
|
-
}>[
|
|
1689
|
+
}>[k_3]; } : never) | {
|
|
1690
1690
|
account: "webauthn";
|
|
1691
1691
|
name: "exec";
|
|
1692
1692
|
authorization: {
|
|
@@ -1731,10 +1731,10 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1731
1731
|
hex_data?: string | undefined;
|
|
1732
1732
|
}[];
|
|
1733
1733
|
transaction_extensions: ((string | number)[] | undefined)[];
|
|
1734
|
-
actions:
|
|
1734
|
+
actions: (z.baseObjectInputType<{
|
|
1735
1735
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
1736
1736
|
name: z.ZodLiteral<string>;
|
|
1737
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny,
|
|
1737
|
+
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any> extends infer T_1 ? { [k in keyof T_1]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; } : never, z.baseObjectInputType<T> extends infer T_2 ? { [k_1 in keyof T_2]: z.baseObjectInputType<T>[k_1]; } : never>]>;
|
|
1738
1738
|
authorization: z.ZodArray<z.ZodObject<{
|
|
1739
1739
|
actor: z.ZodString;
|
|
1740
1740
|
permission: z.ZodString;
|
|
@@ -1745,10 +1745,10 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1745
1745
|
actor: string;
|
|
1746
1746
|
permission: string;
|
|
1747
1747
|
}>, "many">;
|
|
1748
|
-
}>]: z.baseObjectInputType<{
|
|
1748
|
+
}> extends infer T_6 ? { [k_5 in keyof T_6]: z.baseObjectInputType<{
|
|
1749
1749
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
1750
1750
|
name: z.ZodLiteral<string>;
|
|
1751
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny,
|
|
1751
|
+
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any> extends infer T_1 ? { [k in keyof T_1]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; } : never, z.baseObjectInputType<T> extends infer T_2 ? { [k_1 in keyof T_2]: z.baseObjectInputType<T>[k_1]; } : never>]>;
|
|
1752
1752
|
authorization: z.ZodArray<z.ZodObject<{
|
|
1753
1753
|
actor: z.ZodString;
|
|
1754
1754
|
permission: z.ZodString;
|
|
@@ -1759,7 +1759,7 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1759
1759
|
actor: string;
|
|
1760
1760
|
permission: string;
|
|
1761
1761
|
}>, "many">;
|
|
1762
|
-
}>[
|
|
1762
|
+
}>[k_5]; } : never)[];
|
|
1763
1763
|
};
|
|
1764
1764
|
};
|
|
1765
1765
|
})[];
|
|
@@ -1784,11 +1784,11 @@ declare const addressParser: z.ZodObject<{
|
|
|
1784
1784
|
address: string;
|
|
1785
1785
|
address_hash: string;
|
|
1786
1786
|
}>;
|
|
1787
|
-
|
|
1788
|
-
declare const generateAddressBodyParser: z.ZodObject<
|
|
1787
|
+
type Address = z.infer<typeof addressParser>;
|
|
1788
|
+
declare const generateAddressBodyParser: z.ZodObject<{
|
|
1789
1789
|
coin: z.ZodString;
|
|
1790
1790
|
wallet: z.ZodString;
|
|
1791
|
-
}
|
|
1791
|
+
} & {
|
|
1792
1792
|
signer: z.ZodObject<{
|
|
1793
1793
|
actor: z.ZodString;
|
|
1794
1794
|
permission: z.ZodString;
|
|
@@ -1800,7 +1800,7 @@ declare const generateAddressBodyParser: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1800
1800
|
permission: string;
|
|
1801
1801
|
}>;
|
|
1802
1802
|
signatures: z.ZodArray<z.ZodString, "many">;
|
|
1803
|
-
transaction: z.ZodObject<
|
|
1803
|
+
transaction: z.ZodObject<{
|
|
1804
1804
|
expiration: z.ZodString;
|
|
1805
1805
|
ref_block_num: z.ZodNumber;
|
|
1806
1806
|
ref_block_prefix: z.ZodNumber;
|
|
@@ -1842,7 +1842,7 @@ declare const generateAddressBodyParser: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1842
1842
|
hex_data?: string | undefined;
|
|
1843
1843
|
}>, "many">;
|
|
1844
1844
|
transaction_extensions: z.ZodArray<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">>, "many">;
|
|
1845
|
-
}
|
|
1845
|
+
} & {
|
|
1846
1846
|
actions: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
1847
1847
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
1848
1848
|
name: z.ZodLiteral<string>;
|
|
@@ -1938,7 +1938,7 @@ declare const generateAddressBodyParser: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1938
1938
|
auth_data: string;
|
|
1939
1939
|
client_json: string;
|
|
1940
1940
|
}>;
|
|
1941
|
-
trx: z.ZodObject<
|
|
1941
|
+
trx: z.ZodObject<{
|
|
1942
1942
|
expiration: z.ZodString;
|
|
1943
1943
|
ref_block_num: z.ZodNumber;
|
|
1944
1944
|
ref_block_prefix: z.ZodNumber;
|
|
@@ -1980,7 +1980,7 @@ declare const generateAddressBodyParser: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1980
1980
|
hex_data?: string | undefined;
|
|
1981
1981
|
}>, "many">;
|
|
1982
1982
|
transaction_extensions: z.ZodArray<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">>, "many">;
|
|
1983
|
-
}
|
|
1983
|
+
} & {
|
|
1984
1984
|
actions: z.ZodArray<z.ZodObject<{
|
|
1985
1985
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
1986
1986
|
name: z.ZodLiteral<string>;
|
|
@@ -2020,7 +2020,7 @@ declare const generateAddressBodyParser: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2020
2020
|
[x: string]: any;
|
|
2021
2021
|
};
|
|
2022
2022
|
}>, "many">;
|
|
2023
|
-
}
|
|
2023
|
+
}, "strip", z.ZodTypeAny, {
|
|
2024
2024
|
expiration: string;
|
|
2025
2025
|
ref_block_num: number;
|
|
2026
2026
|
ref_block_prefix: number;
|
|
@@ -2307,7 +2307,7 @@ declare const generateAddressBodyParser: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2307
2307
|
};
|
|
2308
2308
|
};
|
|
2309
2309
|
}>]>, "many">;
|
|
2310
|
-
}
|
|
2310
|
+
}, "strip", z.ZodTypeAny, {
|
|
2311
2311
|
expiration: string;
|
|
2312
2312
|
ref_block_num: number;
|
|
2313
2313
|
ref_block_prefix: number;
|
|
@@ -2482,7 +2482,7 @@ declare const generateAddressBodyParser: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2482
2482
|
};
|
|
2483
2483
|
})[];
|
|
2484
2484
|
}>;
|
|
2485
|
-
}
|
|
2485
|
+
}, "strip", z.ZodTypeAny, {
|
|
2486
2486
|
signer: {
|
|
2487
2487
|
actor: string;
|
|
2488
2488
|
permission: string;
|
|
@@ -2675,7 +2675,7 @@ declare const generateAddressBodyParser: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2675
2675
|
coin: string;
|
|
2676
2676
|
wallet: string;
|
|
2677
2677
|
}>;
|
|
2678
|
-
|
|
2678
|
+
type GenerateAddressBody = z.infer<typeof generateAddressBodyParser>;
|
|
2679
2679
|
declare const generateAddressResponse: z.ZodObject<{
|
|
2680
2680
|
id: z.ZodString;
|
|
2681
2681
|
address: z.ZodString;
|
|
@@ -2695,7 +2695,7 @@ declare const generateAddressResponse: z.ZodObject<{
|
|
|
2695
2695
|
id: string;
|
|
2696
2696
|
memo?: string | undefined;
|
|
2697
2697
|
}>;
|
|
2698
|
-
|
|
2698
|
+
type GenerateAddressResponse = z.infer<typeof generateAddressResponse>;
|
|
2699
2699
|
|
|
2700
2700
|
declare const createAbstractAuthParser: (contract: string, action: string, data: z.ZodRawShape) => z.ZodObject<{
|
|
2701
2701
|
signer: z.ZodObject<{
|
|
@@ -2709,7 +2709,7 @@ declare const createAbstractAuthParser: (contract: string, action: string, data:
|
|
|
2709
2709
|
permission: string;
|
|
2710
2710
|
}>;
|
|
2711
2711
|
signatures: z.ZodArray<z.ZodString, "many">;
|
|
2712
|
-
transaction: z.ZodObject<
|
|
2712
|
+
transaction: z.ZodObject<{
|
|
2713
2713
|
expiration: z.ZodString;
|
|
2714
2714
|
ref_block_num: z.ZodNumber;
|
|
2715
2715
|
ref_block_prefix: z.ZodNumber;
|
|
@@ -2751,7 +2751,7 @@ declare const createAbstractAuthParser: (contract: string, action: string, data:
|
|
|
2751
2751
|
hex_data?: string | undefined;
|
|
2752
2752
|
}>, "many">;
|
|
2753
2753
|
transaction_extensions: z.ZodArray<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">>, "many">;
|
|
2754
|
-
}
|
|
2754
|
+
} & {
|
|
2755
2755
|
actions: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
2756
2756
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
2757
2757
|
name: z.ZodLiteral<string>;
|
|
@@ -2847,7 +2847,7 @@ declare const createAbstractAuthParser: (contract: string, action: string, data:
|
|
|
2847
2847
|
auth_data: string;
|
|
2848
2848
|
client_json: string;
|
|
2849
2849
|
}>;
|
|
2850
|
-
trx: z.ZodObject<
|
|
2850
|
+
trx: z.ZodObject<{
|
|
2851
2851
|
expiration: z.ZodString;
|
|
2852
2852
|
ref_block_num: z.ZodNumber;
|
|
2853
2853
|
ref_block_prefix: z.ZodNumber;
|
|
@@ -2889,7 +2889,7 @@ declare const createAbstractAuthParser: (contract: string, action: string, data:
|
|
|
2889
2889
|
hex_data?: string | undefined;
|
|
2890
2890
|
}>, "many">;
|
|
2891
2891
|
transaction_extensions: z.ZodArray<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">>, "many">;
|
|
2892
|
-
}
|
|
2892
|
+
} & {
|
|
2893
2893
|
actions: z.ZodArray<z.ZodObject<{
|
|
2894
2894
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
2895
2895
|
name: z.ZodLiteral<string>;
|
|
@@ -2929,7 +2929,7 @@ declare const createAbstractAuthParser: (contract: string, action: string, data:
|
|
|
2929
2929
|
[x: string]: any;
|
|
2930
2930
|
};
|
|
2931
2931
|
}>, "many">;
|
|
2932
|
-
}
|
|
2932
|
+
}, "strip", z.ZodTypeAny, {
|
|
2933
2933
|
expiration: string;
|
|
2934
2934
|
ref_block_num: number;
|
|
2935
2935
|
ref_block_prefix: number;
|
|
@@ -3216,7 +3216,7 @@ declare const createAbstractAuthParser: (contract: string, action: string, data:
|
|
|
3216
3216
|
};
|
|
3217
3217
|
};
|
|
3218
3218
|
}>]>, "many">;
|
|
3219
|
-
}
|
|
3219
|
+
}, "strip", z.ZodTypeAny, {
|
|
3220
3220
|
expiration: string;
|
|
3221
3221
|
ref_block_num: number;
|
|
3222
3222
|
ref_block_prefix: number;
|
|
@@ -3626,7 +3626,7 @@ declare const generateAuthActionsBaseParser: z.ZodObject<{
|
|
|
3626
3626
|
protonAccount: string;
|
|
3627
3627
|
};
|
|
3628
3628
|
}>;
|
|
3629
|
-
|
|
3629
|
+
type GenerateAuthBaseAction = z.infer<typeof generateAuthActionsBaseParser>;
|
|
3630
3630
|
declare const generateAuthParser: z.ZodObject<{
|
|
3631
3631
|
signer: z.ZodObject<{
|
|
3632
3632
|
actor: z.ZodString;
|
|
@@ -3639,7 +3639,7 @@ declare const generateAuthParser: z.ZodObject<{
|
|
|
3639
3639
|
permission: string;
|
|
3640
3640
|
}>;
|
|
3641
3641
|
signatures: z.ZodArray<z.ZodString, "many">;
|
|
3642
|
-
transaction: z.ZodObject<
|
|
3642
|
+
transaction: z.ZodObject<{
|
|
3643
3643
|
expiration: z.ZodString;
|
|
3644
3644
|
ref_block_num: z.ZodNumber;
|
|
3645
3645
|
ref_block_prefix: z.ZodNumber;
|
|
@@ -3681,7 +3681,7 @@ declare const generateAuthParser: z.ZodObject<{
|
|
|
3681
3681
|
hex_data?: string | undefined;
|
|
3682
3682
|
}>, "many">;
|
|
3683
3683
|
transaction_extensions: z.ZodArray<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">>, "many">;
|
|
3684
|
-
}
|
|
3684
|
+
} & {
|
|
3685
3685
|
actions: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
3686
3686
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
3687
3687
|
name: z.ZodLiteral<string>;
|
|
@@ -3777,7 +3777,7 @@ declare const generateAuthParser: z.ZodObject<{
|
|
|
3777
3777
|
auth_data: string;
|
|
3778
3778
|
client_json: string;
|
|
3779
3779
|
}>;
|
|
3780
|
-
trx: z.ZodObject<
|
|
3780
|
+
trx: z.ZodObject<{
|
|
3781
3781
|
expiration: z.ZodString;
|
|
3782
3782
|
ref_block_num: z.ZodNumber;
|
|
3783
3783
|
ref_block_prefix: z.ZodNumber;
|
|
@@ -3819,7 +3819,7 @@ declare const generateAuthParser: z.ZodObject<{
|
|
|
3819
3819
|
hex_data?: string | undefined;
|
|
3820
3820
|
}>, "many">;
|
|
3821
3821
|
transaction_extensions: z.ZodArray<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">>, "many">;
|
|
3822
|
-
}
|
|
3822
|
+
} & {
|
|
3823
3823
|
actions: z.ZodArray<z.ZodObject<{
|
|
3824
3824
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
3825
3825
|
name: z.ZodLiteral<string>;
|
|
@@ -3859,7 +3859,7 @@ declare const generateAuthParser: z.ZodObject<{
|
|
|
3859
3859
|
[x: string]: any;
|
|
3860
3860
|
};
|
|
3861
3861
|
}>, "many">;
|
|
3862
|
-
}
|
|
3862
|
+
}, "strip", z.ZodTypeAny, {
|
|
3863
3863
|
expiration: string;
|
|
3864
3864
|
ref_block_num: number;
|
|
3865
3865
|
ref_block_prefix: number;
|
|
@@ -4146,7 +4146,7 @@ declare const generateAuthParser: z.ZodObject<{
|
|
|
4146
4146
|
};
|
|
4147
4147
|
};
|
|
4148
4148
|
}>]>, "many">;
|
|
4149
|
-
}
|
|
4149
|
+
}, "strip", z.ZodTypeAny, {
|
|
4150
4150
|
expiration: string;
|
|
4151
4151
|
ref_block_num: number;
|
|
4152
4152
|
ref_block_prefix: number;
|
|
@@ -4510,7 +4510,7 @@ declare const generateAuthParser: z.ZodObject<{
|
|
|
4510
4510
|
})[];
|
|
4511
4511
|
};
|
|
4512
4512
|
}>;
|
|
4513
|
-
|
|
4513
|
+
type GenerateAuth = z.infer<typeof generateAuthParser>;
|
|
4514
4514
|
|
|
4515
4515
|
declare const accountParser: z.ZodString;
|
|
4516
4516
|
declare const authorizationParser: z.ZodObject<{
|
|
@@ -4523,7 +4523,7 @@ declare const authorizationParser: z.ZodObject<{
|
|
|
4523
4523
|
actor: string;
|
|
4524
4524
|
permission: string;
|
|
4525
4525
|
}>;
|
|
4526
|
-
|
|
4526
|
+
type Authorization = z.infer<typeof authorizationParser>;
|
|
4527
4527
|
declare const authorizationsParser: z.ZodArray<z.ZodObject<{
|
|
4528
4528
|
actor: z.ZodString;
|
|
4529
4529
|
permission: z.ZodString;
|
|
@@ -4534,7 +4534,7 @@ declare const authorizationsParser: z.ZodArray<z.ZodObject<{
|
|
|
4534
4534
|
actor: string;
|
|
4535
4535
|
permission: string;
|
|
4536
4536
|
}>, "many">;
|
|
4537
|
-
|
|
4537
|
+
type Authorizations = z.infer<typeof authorizationsParser>;
|
|
4538
4538
|
declare const ExtendedAssetParser: z.ZodObject<{
|
|
4539
4539
|
quantity: z.ZodString;
|
|
4540
4540
|
contract: z.ZodString;
|
|
@@ -4545,7 +4545,7 @@ declare const ExtendedAssetParser: z.ZodObject<{
|
|
|
4545
4545
|
quantity: string;
|
|
4546
4546
|
contract: string;
|
|
4547
4547
|
}>;
|
|
4548
|
-
|
|
4548
|
+
type ExtendedAsset = z.infer<typeof ExtendedAssetParser>;
|
|
4549
4549
|
declare const accountRamDeltaParser: z.ZodObject<{
|
|
4550
4550
|
account: z.ZodString;
|
|
4551
4551
|
delta: z.ZodString;
|
|
@@ -4556,7 +4556,7 @@ declare const accountRamDeltaParser: z.ZodObject<{
|
|
|
4556
4556
|
account: string;
|
|
4557
4557
|
delta: string;
|
|
4558
4558
|
}>;
|
|
4559
|
-
|
|
4559
|
+
type HistoryAccountRamDelta = z.infer<typeof accountRamDeltaParser>;
|
|
4560
4560
|
|
|
4561
4561
|
interface CurrencyStat {
|
|
4562
4562
|
supply: string;
|
|
@@ -4588,7 +4588,7 @@ declare const rateParser: z.ZodObject<{
|
|
|
4588
4588
|
volume: number;
|
|
4589
4589
|
timestamp: number;
|
|
4590
4590
|
}>;
|
|
4591
|
-
|
|
4591
|
+
type Rate = z.infer<typeof rateParser>;
|
|
4592
4592
|
declare const exchangeRateParser: z.ZodObject<{
|
|
4593
4593
|
contract: z.ZodString;
|
|
4594
4594
|
symbol: z.ZodString;
|
|
@@ -4640,7 +4640,7 @@ declare const exchangeRateParser: z.ZodObject<{
|
|
|
4640
4640
|
timestamp: number;
|
|
4641
4641
|
}[];
|
|
4642
4642
|
}>;
|
|
4643
|
-
|
|
4643
|
+
type ExchangeRate = z.infer<typeof exchangeRateParser>;
|
|
4644
4644
|
declare const exchangeRatesParser: z.ZodArray<z.ZodObject<{
|
|
4645
4645
|
contract: z.ZodString;
|
|
4646
4646
|
symbol: z.ZodString;
|
|
@@ -4692,7 +4692,7 @@ declare const exchangeRatesParser: z.ZodArray<z.ZodObject<{
|
|
|
4692
4692
|
timestamp: number;
|
|
4693
4693
|
}[];
|
|
4694
4694
|
}>, "many">;
|
|
4695
|
-
|
|
4695
|
+
type ExchangeRates = z.infer<typeof exchangeRatesParser>;
|
|
4696
4696
|
declare const bloksRatesParser: z.ZodArray<z.ZodObject<{
|
|
4697
4697
|
contract: z.ZodString;
|
|
4698
4698
|
symbol: z.ZodString;
|
|
@@ -4744,7 +4744,7 @@ declare const bloksRatesParser: z.ZodArray<z.ZodObject<{
|
|
|
4744
4744
|
timestamp: number;
|
|
4745
4745
|
}[];
|
|
4746
4746
|
}>, "many">;
|
|
4747
|
-
|
|
4747
|
+
type BloksRate = {
|
|
4748
4748
|
key: string;
|
|
4749
4749
|
symbol: string;
|
|
4750
4750
|
account: string;
|
|
@@ -4792,7 +4792,7 @@ declare type BloksRate = {
|
|
|
4792
4792
|
rank: number;
|
|
4793
4793
|
chain_rank: number;
|
|
4794
4794
|
};
|
|
4795
|
-
|
|
4795
|
+
type BloksRates = BloksRate[];
|
|
4796
4796
|
|
|
4797
4797
|
declare enum Type {
|
|
4798
4798
|
RECEIVE = "receive",
|
|
@@ -4820,7 +4820,7 @@ declare const depositBodyParser: z.ZodObject<{
|
|
|
4820
4820
|
hash: string;
|
|
4821
4821
|
network: string;
|
|
4822
4822
|
}>;
|
|
4823
|
-
|
|
4823
|
+
type DepositBody = z.infer<typeof depositBodyParser>;
|
|
4824
4824
|
declare const metalTransactionParser: z.ZodObject<{
|
|
4825
4825
|
id: z.ZodString;
|
|
4826
4826
|
wallet: z.ZodString;
|
|
@@ -4834,8 +4834,8 @@ declare const metalTransactionParser: z.ZodObject<{
|
|
|
4834
4834
|
blockHash: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
4835
4835
|
blockHeight: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
4836
4836
|
}, "strip", z.ZodTypeAny, {
|
|
4837
|
-
type: Type;
|
|
4838
4837
|
value: number;
|
|
4838
|
+
type: Type;
|
|
4839
4839
|
address: string;
|
|
4840
4840
|
wallet: string;
|
|
4841
4841
|
id: string;
|
|
@@ -4846,8 +4846,8 @@ declare const metalTransactionParser: z.ZodObject<{
|
|
|
4846
4846
|
blockHash?: string | null | undefined;
|
|
4847
4847
|
blockHeight?: number | null | undefined;
|
|
4848
4848
|
}, {
|
|
4849
|
-
type: Type;
|
|
4850
4849
|
value: number;
|
|
4850
|
+
type: Type;
|
|
4851
4851
|
address: string;
|
|
4852
4852
|
wallet: string;
|
|
4853
4853
|
id: string;
|
|
@@ -4858,7 +4858,7 @@ declare const metalTransactionParser: z.ZodObject<{
|
|
|
4858
4858
|
blockHash?: string | null | undefined;
|
|
4859
4859
|
blockHeight?: number | null | undefined;
|
|
4860
4860
|
}>;
|
|
4861
|
-
|
|
4861
|
+
type MetalTransaction = z.infer<typeof metalTransactionParser>;
|
|
4862
4862
|
|
|
4863
4863
|
declare const otcOrderResponseParser: z.ZodObject<{
|
|
4864
4864
|
success: z.ZodBoolean;
|
|
@@ -4873,7 +4873,7 @@ declare const otcOrderResponseParser: z.ZodObject<{
|
|
|
4873
4873
|
transaction_id: string;
|
|
4874
4874
|
errormsg?: string | undefined;
|
|
4875
4875
|
}>;
|
|
4876
|
-
|
|
4876
|
+
type OtcOrderResponse = z.infer<typeof otcOrderResponseParser>;
|
|
4877
4877
|
declare const otcQuoteBodyParser: z.ZodObject<{
|
|
4878
4878
|
baseAmount: z.ZodNumber;
|
|
4879
4879
|
baseSymbol: z.ZodString;
|
|
@@ -4887,7 +4887,7 @@ declare const otcQuoteBodyParser: z.ZodObject<{
|
|
|
4887
4887
|
baseSymbol: string;
|
|
4888
4888
|
quoteSymbol: string;
|
|
4889
4889
|
}>;
|
|
4890
|
-
|
|
4890
|
+
type OtcQuoteBody = z.infer<typeof otcQuoteBodyParser>;
|
|
4891
4891
|
declare const otcQuoteResponseParser: z.ZodObject<{
|
|
4892
4892
|
success: z.ZodBoolean;
|
|
4893
4893
|
token: z.ZodString;
|
|
@@ -4904,7 +4904,7 @@ declare const otcQuoteResponseParser: z.ZodObject<{
|
|
|
4904
4904
|
qty: number;
|
|
4905
4905
|
errormsg?: string | undefined;
|
|
4906
4906
|
}>;
|
|
4907
|
-
|
|
4907
|
+
type OtcQuoteResponse = z.infer<typeof otcQuoteResponseParser>;
|
|
4908
4908
|
|
|
4909
4909
|
declare class INode<T> {
|
|
4910
4910
|
key: string;
|
|
@@ -4973,13 +4973,13 @@ interface Pool extends Omit<RawPool, "pool1" | "pool2"> {
|
|
|
4973
4973
|
liquidityUsd: number;
|
|
4974
4974
|
liquidityApr: number;
|
|
4975
4975
|
}
|
|
4976
|
-
|
|
4976
|
+
type ExtendedToken = Coin & ExtendedAsset$1 & {
|
|
4977
4977
|
key: string;
|
|
4978
4978
|
};
|
|
4979
|
-
|
|
4979
|
+
type ExtendedTokenWithRate = ExtendedToken & {
|
|
4980
4980
|
rate: number;
|
|
4981
4981
|
};
|
|
4982
|
-
|
|
4982
|
+
type PoolTable = {
|
|
4983
4983
|
pool1: ExtendedTokenWithRate;
|
|
4984
4984
|
pool2: ExtendedTokenWithRate;
|
|
4985
4985
|
path: INode<Pool>[];
|
|
@@ -5043,7 +5043,7 @@ declare const withdrawBodyBaseAction: z.ZodObject<{
|
|
|
5043
5043
|
to: "proton.wrap";
|
|
5044
5044
|
};
|
|
5045
5045
|
}>;
|
|
5046
|
-
|
|
5046
|
+
type WithdrawBodyBaseAction = z.infer<typeof withdrawBodyBaseAction>;
|
|
5047
5047
|
declare const withdrawBodyParser: z.ZodObject<{
|
|
5048
5048
|
signer: z.ZodObject<{
|
|
5049
5049
|
actor: z.ZodString;
|
|
@@ -5056,7 +5056,7 @@ declare const withdrawBodyParser: z.ZodObject<{
|
|
|
5056
5056
|
permission: string;
|
|
5057
5057
|
}>;
|
|
5058
5058
|
signatures: z.ZodArray<z.ZodString, "many">;
|
|
5059
|
-
transaction: z.ZodObject<
|
|
5059
|
+
transaction: z.ZodObject<{
|
|
5060
5060
|
expiration: z.ZodString;
|
|
5061
5061
|
ref_block_num: z.ZodNumber;
|
|
5062
5062
|
ref_block_prefix: z.ZodNumber;
|
|
@@ -5098,7 +5098,7 @@ declare const withdrawBodyParser: z.ZodObject<{
|
|
|
5098
5098
|
hex_data?: string | undefined;
|
|
5099
5099
|
}>, "many">;
|
|
5100
5100
|
transaction_extensions: z.ZodArray<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">>, "many">;
|
|
5101
|
-
}
|
|
5101
|
+
} & {
|
|
5102
5102
|
actions: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
5103
5103
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
5104
5104
|
name: z.ZodLiteral<string>;
|
|
@@ -5211,7 +5211,7 @@ declare const withdrawBodyParser: z.ZodObject<{
|
|
|
5211
5211
|
auth_data: string;
|
|
5212
5212
|
client_json: string;
|
|
5213
5213
|
}>;
|
|
5214
|
-
trx: z.ZodObject<
|
|
5214
|
+
trx: z.ZodObject<{
|
|
5215
5215
|
expiration: z.ZodString;
|
|
5216
5216
|
ref_block_num: z.ZodNumber;
|
|
5217
5217
|
ref_block_prefix: z.ZodNumber;
|
|
@@ -5253,7 +5253,7 @@ declare const withdrawBodyParser: z.ZodObject<{
|
|
|
5253
5253
|
hex_data?: string | undefined;
|
|
5254
5254
|
}>, "many">;
|
|
5255
5255
|
transaction_extensions: z.ZodArray<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">>, "many">;
|
|
5256
|
-
}
|
|
5256
|
+
} & {
|
|
5257
5257
|
actions: z.ZodArray<z.ZodObject<{
|
|
5258
5258
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
5259
5259
|
name: z.ZodLiteral<string>;
|
|
@@ -5310,7 +5310,7 @@ declare const withdrawBodyParser: z.ZodObject<{
|
|
|
5310
5310
|
to: "proton.wrap";
|
|
5311
5311
|
};
|
|
5312
5312
|
}>, "many">;
|
|
5313
|
-
}
|
|
5313
|
+
}, "strip", z.ZodTypeAny, {
|
|
5314
5314
|
expiration: string;
|
|
5315
5315
|
ref_block_num: number;
|
|
5316
5316
|
ref_block_prefix: number;
|
|
@@ -5615,7 +5615,7 @@ declare const withdrawBodyParser: z.ZodObject<{
|
|
|
5615
5615
|
};
|
|
5616
5616
|
};
|
|
5617
5617
|
}>]>, "many">;
|
|
5618
|
-
}
|
|
5618
|
+
}, "strip", z.ZodTypeAny, {
|
|
5619
5619
|
expiration: string;
|
|
5620
5620
|
ref_block_num: number;
|
|
5621
5621
|
ref_block_prefix: number;
|
|
@@ -6009,7 +6009,7 @@ declare const withdrawBodyParser: z.ZodObject<{
|
|
|
6009
6009
|
quoteId: string;
|
|
6010
6010
|
provider?: string | undefined;
|
|
6011
6011
|
}>;
|
|
6012
|
-
|
|
6012
|
+
type WithdrawBody = z.infer<typeof withdrawBodyParser>;
|
|
6013
6013
|
declare const withdrawMetalResponseParser: z.ZodObject<{
|
|
6014
6014
|
success: z.ZodBoolean;
|
|
6015
6015
|
id: z.ZodString;
|
|
@@ -6020,7 +6020,7 @@ declare const withdrawMetalResponseParser: z.ZodObject<{
|
|
|
6020
6020
|
id: string;
|
|
6021
6021
|
success: boolean;
|
|
6022
6022
|
}>;
|
|
6023
|
-
|
|
6023
|
+
type WithdrawMetalResponse = z.infer<typeof withdrawMetalResponseParser>;
|
|
6024
6024
|
declare const withdrawalFeeQuoteParser: z.ZodObject<{
|
|
6025
6025
|
quoteId: z.ZodString;
|
|
6026
6026
|
estimatedFee: z.ZodString;
|
|
@@ -6037,7 +6037,7 @@ declare const withdrawalFeeQuoteParser: z.ZodObject<{
|
|
|
6037
6037
|
estimatedFee: string;
|
|
6038
6038
|
currency: string;
|
|
6039
6039
|
}>;
|
|
6040
|
-
|
|
6040
|
+
type WithdrawalFeeQuote = z.infer<typeof withdrawalFeeQuoteParser>;
|
|
6041
6041
|
|
|
6042
6042
|
declare const withdrawHistoryMetalSwapParser: z.ZodObject<{
|
|
6043
6043
|
id: z.ZodString;
|
|
@@ -6067,7 +6067,7 @@ declare const withdrawHistoryMetalSwapParser: z.ZodObject<{
|
|
|
6067
6067
|
withdrawalAddress: string;
|
|
6068
6068
|
withdrawalHash?: string | undefined;
|
|
6069
6069
|
}>;
|
|
6070
|
-
|
|
6070
|
+
type WithdrawHistoryMetalSwap = z.infer<typeof withdrawHistoryMetalSwapParser>;
|
|
6071
6071
|
declare const withdrawHistoryMetalResponseParser: z.ZodObject<{
|
|
6072
6072
|
swaps: z.ZodArray<z.ZodObject<{
|
|
6073
6073
|
id: z.ZodString;
|
|
@@ -6135,7 +6135,7 @@ declare const withdrawHistoryMetalResponseParser: z.ZodObject<{
|
|
|
6135
6135
|
totalPages: number;
|
|
6136
6136
|
totalElements: number;
|
|
6137
6137
|
}>;
|
|
6138
|
-
|
|
6138
|
+
type WithdrawHistoryMetalResponse = z.infer<typeof withdrawHistoryMetalResponseParser>;
|
|
6139
6139
|
|
|
6140
6140
|
declare enum Status {
|
|
6141
6141
|
PENDING = "pending",
|
|
@@ -6180,7 +6180,7 @@ declare const wrapStartParser: z.ZodObject<{
|
|
|
6180
6180
|
txid: string;
|
|
6181
6181
|
deposit_address: string;
|
|
6182
6182
|
}>;
|
|
6183
|
-
|
|
6183
|
+
type WrapStart = z.infer<typeof wrapStartParser>;
|
|
6184
6184
|
declare const wrapSetConfParser: z.ZodObject<{
|
|
6185
6185
|
wrap_hash: z.ZodString;
|
|
6186
6186
|
confirmations: z.ZodNumber;
|
|
@@ -6191,7 +6191,7 @@ declare const wrapSetConfParser: z.ZodObject<{
|
|
|
6191
6191
|
confirmations: number;
|
|
6192
6192
|
wrap_hash: string;
|
|
6193
6193
|
}>;
|
|
6194
|
-
|
|
6194
|
+
type WrapSetConf = z.infer<typeof wrapSetConfParser>;
|
|
6195
6195
|
declare const wrapParser: z.ZodObject<{
|
|
6196
6196
|
index: z.ZodNumber;
|
|
6197
6197
|
proton_account: z.ZodString;
|
|
@@ -6244,10 +6244,10 @@ declare const wrapParser: z.ZodObject<{
|
|
|
6244
6244
|
proton_account: string;
|
|
6245
6245
|
finish_txid: string;
|
|
6246
6246
|
}>;
|
|
6247
|
-
|
|
6247
|
+
type Wrap = z.infer<typeof wrapParser>;
|
|
6248
6248
|
|
|
6249
6249
|
declare const sortDirectionEnum: z.ZodEnum<["asc", "desc"]>;
|
|
6250
|
-
|
|
6250
|
+
type SortDirection = z.input<typeof sortDirectionEnum>;
|
|
6251
6251
|
/**
|
|
6252
6252
|
* OHLCV
|
|
6253
6253
|
*/
|
|
@@ -6279,7 +6279,7 @@ declare const ohlcvParser: z.ZodObject<{
|
|
|
6279
6279
|
volume_bid: number;
|
|
6280
6280
|
count: number;
|
|
6281
6281
|
}>;
|
|
6282
|
-
|
|
6282
|
+
type OHLCV = z.infer<typeof ohlcvParser>;
|
|
6283
6283
|
declare const getOhlcvParser: z.ZodObject<{
|
|
6284
6284
|
interval: z.ZodString;
|
|
6285
6285
|
from: z.ZodString;
|
|
@@ -6299,8 +6299,8 @@ declare const getOhlcvParser: z.ZodObject<{
|
|
|
6299
6299
|
interval: string;
|
|
6300
6300
|
limit?: number | undefined;
|
|
6301
6301
|
}>;
|
|
6302
|
-
|
|
6303
|
-
|
|
6302
|
+
type GetOHLCV = z.input<typeof getOhlcvParser>;
|
|
6303
|
+
type GetOHLCVParsed = z.output<typeof getOhlcvParser>;
|
|
6304
6304
|
declare const getOhlcvResponseParser: z.ZodObject<{
|
|
6305
6305
|
sync: z.ZodNumber;
|
|
6306
6306
|
data: z.ZodArray<z.ZodObject<{
|
|
@@ -6356,7 +6356,7 @@ declare const getOhlcvResponseParser: z.ZodObject<{
|
|
|
6356
6356
|
}[];
|
|
6357
6357
|
sync: number;
|
|
6358
6358
|
}>;
|
|
6359
|
-
|
|
6359
|
+
type GetOHLCVResponse = z.infer<typeof getOhlcvResponseParser>;
|
|
6360
6360
|
/**
|
|
6361
6361
|
* Order History
|
|
6362
6362
|
*/
|
|
@@ -6418,7 +6418,7 @@ declare const openOrderParser: z.ZodObject<{
|
|
|
6418
6418
|
filled_amount?: number | undefined;
|
|
6419
6419
|
filled_fee?: number | undefined;
|
|
6420
6420
|
}>;
|
|
6421
|
-
|
|
6421
|
+
type OpenOrder = z.infer<typeof openOrderParser>;
|
|
6422
6422
|
declare const orderLogParser: z.ZodObject<{
|
|
6423
6423
|
seq: z.ZodString;
|
|
6424
6424
|
block_num: z.ZodString;
|
|
@@ -6468,7 +6468,7 @@ declare const orderLogParser: z.ZodObject<{
|
|
|
6468
6468
|
quantity_change: string;
|
|
6469
6469
|
trx_id: string;
|
|
6470
6470
|
}>;
|
|
6471
|
-
|
|
6471
|
+
type OrderLog = z.infer<typeof orderLogParser>;
|
|
6472
6472
|
declare const orderHistoryParser: z.ZodObject<{
|
|
6473
6473
|
block_num: z.ZodString;
|
|
6474
6474
|
block_time: z.ZodString;
|
|
@@ -6533,7 +6533,7 @@ declare const orderHistoryParser: z.ZodObject<{
|
|
|
6533
6533
|
filled_amount?: number | undefined;
|
|
6534
6534
|
filled_fee?: number | undefined;
|
|
6535
6535
|
}>;
|
|
6536
|
-
|
|
6536
|
+
type OrderHistory = z.infer<typeof orderHistoryParser>;
|
|
6537
6537
|
declare const getOpenOrdersParser: z.ZodObject<{
|
|
6538
6538
|
account: z.ZodString;
|
|
6539
6539
|
symbol: z.ZodOptional<z.ZodString>;
|
|
@@ -6553,8 +6553,8 @@ declare const getOpenOrdersParser: z.ZodObject<{
|
|
|
6553
6553
|
offset?: number | undefined;
|
|
6554
6554
|
ordinal_order_ids?: string | string[] | undefined;
|
|
6555
6555
|
}>;
|
|
6556
|
-
|
|
6557
|
-
|
|
6556
|
+
type GetOpenOrders = z.input<typeof getOpenOrdersParser>;
|
|
6557
|
+
type GetOpenOrdersParsed = z.output<typeof getOpenOrdersParser>;
|
|
6558
6558
|
declare const getOpenOrdersResponseParser: z.ZodObject<{
|
|
6559
6559
|
sync: z.ZodNumber;
|
|
6560
6560
|
count: z.ZodNumber;
|
|
@@ -6663,7 +6663,7 @@ declare const getOpenOrdersResponseParser: z.ZodObject<{
|
|
|
6663
6663
|
count: number;
|
|
6664
6664
|
sync: number;
|
|
6665
6665
|
}>;
|
|
6666
|
-
|
|
6666
|
+
type GetOpenOrdersResponse = z.infer<typeof getOpenOrdersResponseParser>;
|
|
6667
6667
|
declare const getOrderHistoryParser: z.ZodObject<{
|
|
6668
6668
|
account: z.ZodString;
|
|
6669
6669
|
symbol: z.ZodOptional<z.ZodString>;
|
|
@@ -6689,8 +6689,8 @@ declare const getOrderHistoryParser: z.ZodObject<{
|
|
|
6689
6689
|
offset?: number | undefined;
|
|
6690
6690
|
ordinal_order_ids?: string | string[] | undefined;
|
|
6691
6691
|
}>;
|
|
6692
|
-
|
|
6693
|
-
|
|
6692
|
+
type GetOrderHistory = z.input<typeof getOrderHistoryParser>;
|
|
6693
|
+
type GetOrderHistoryParsed = z.output<typeof getOrderHistoryParser>;
|
|
6694
6694
|
declare const getOrderHistoryResponseParser: z.ZodObject<{
|
|
6695
6695
|
sync: z.ZodNumber;
|
|
6696
6696
|
count: z.ZodNumber;
|
|
@@ -6809,7 +6809,7 @@ declare const getOrderHistoryResponseParser: z.ZodObject<{
|
|
|
6809
6809
|
count: number;
|
|
6810
6810
|
sync: number;
|
|
6811
6811
|
}>;
|
|
6812
|
-
|
|
6812
|
+
type GetOrderHistoryResponse = z.infer<typeof getOrderHistoryResponseParser>;
|
|
6813
6813
|
declare const getOrderLifecycleParser: z.ZodObject<{
|
|
6814
6814
|
order_id: z.ZodOptional<z.ZodString>;
|
|
6815
6815
|
ordinal_order_id: z.ZodOptional<z.ZodString>;
|
|
@@ -6820,8 +6820,8 @@ declare const getOrderLifecycleParser: z.ZodObject<{
|
|
|
6820
6820
|
order_id?: string | undefined;
|
|
6821
6821
|
ordinal_order_id?: string | undefined;
|
|
6822
6822
|
}>;
|
|
6823
|
-
|
|
6824
|
-
|
|
6823
|
+
type GetOrderLifecycle = z.input<typeof getOrderLifecycleParser>;
|
|
6824
|
+
type GetOrderLifecycleParsed = z.output<typeof getOrderLifecycleParser>;
|
|
6825
6825
|
declare const getOrderLifecycleResponseParser: z.ZodObject<{
|
|
6826
6826
|
sync: z.ZodNumber;
|
|
6827
6827
|
data: z.ZodArray<z.ZodObject<{
|
|
@@ -6937,7 +6937,7 @@ declare const getOrderLifecycleResponseParser: z.ZodObject<{
|
|
|
6937
6937
|
}[];
|
|
6938
6938
|
sync: number;
|
|
6939
6939
|
}>;
|
|
6940
|
-
|
|
6940
|
+
type GetOrderLifecycleResponse = z.infer<typeof getOrderLifecycleResponseParser>;
|
|
6941
6941
|
/**
|
|
6942
6942
|
* Submit Order
|
|
6943
6943
|
*/
|
|
@@ -6951,7 +6951,7 @@ declare const postSubmitOrderParser: z.ZodObject<{
|
|
|
6951
6951
|
signatures: string[];
|
|
6952
6952
|
serialized_tx_hex: string;
|
|
6953
6953
|
}>;
|
|
6954
|
-
|
|
6954
|
+
type PostSubmitOrder = z.infer<typeof postSubmitOrderParser>;
|
|
6955
6955
|
declare const postSubmitOrderResponseParser: z.ZodObject<{
|
|
6956
6956
|
sync: z.ZodNumber;
|
|
6957
6957
|
data: z.ZodObject<{
|
|
@@ -7010,7 +7010,7 @@ declare const postSubmitOrderResponseParser: z.ZodObject<{
|
|
|
7010
7010
|
};
|
|
7011
7011
|
sync: number;
|
|
7012
7012
|
}>;
|
|
7013
|
-
|
|
7013
|
+
type PostSubmitOrderResponse = z.infer<typeof postSubmitOrderResponseParser>;
|
|
7014
7014
|
/**
|
|
7015
7015
|
* Serialize Order
|
|
7016
7016
|
*/
|
|
@@ -7093,7 +7093,7 @@ declare const postSerializeOrderParser: z.ZodObject<{
|
|
|
7093
7093
|
}[];
|
|
7094
7094
|
};
|
|
7095
7095
|
}>;
|
|
7096
|
-
|
|
7096
|
+
type PostSerializeOrder = z.infer<typeof postSerializeOrderParser>;
|
|
7097
7097
|
declare const postSerializeOrderResponseParser: z.ZodObject<{
|
|
7098
7098
|
data: z.ZodObject<{
|
|
7099
7099
|
serialized_tx_hex: z.ZodString;
|
|
@@ -7116,7 +7116,7 @@ declare const postSerializeOrderResponseParser: z.ZodObject<{
|
|
|
7116
7116
|
digest_hex: string;
|
|
7117
7117
|
};
|
|
7118
7118
|
}>;
|
|
7119
|
-
|
|
7119
|
+
type PostSerializeOrderResponse = z.infer<typeof postSerializeOrderResponseParser>;
|
|
7120
7120
|
/**
|
|
7121
7121
|
* Depth
|
|
7122
7122
|
*/
|
|
@@ -7136,7 +7136,7 @@ declare const depthParser: z.ZodObject<{
|
|
|
7136
7136
|
ask: number;
|
|
7137
7137
|
bid: number;
|
|
7138
7138
|
}>;
|
|
7139
|
-
|
|
7139
|
+
type Depth = z.infer<typeof depthParser>;
|
|
7140
7140
|
declare const getDepthParser: z.ZodObject<{
|
|
7141
7141
|
symbol: z.ZodString;
|
|
7142
7142
|
step: z.ZodNumber;
|
|
@@ -7150,8 +7150,8 @@ declare const getDepthParser: z.ZodObject<{
|
|
|
7150
7150
|
step: number;
|
|
7151
7151
|
limit?: number | undefined;
|
|
7152
7152
|
}>;
|
|
7153
|
-
|
|
7154
|
-
|
|
7153
|
+
type GetDepth = z.input<typeof getDepthParser>;
|
|
7154
|
+
type GetDepthParsed = z.output<typeof getDepthParser>;
|
|
7155
7155
|
declare const getDepthResponseParser: z.ZodObject<{
|
|
7156
7156
|
sync: z.ZodNumber;
|
|
7157
7157
|
data: z.ZodObject<{
|
|
@@ -7247,7 +7247,7 @@ declare const getDepthResponseParser: z.ZodObject<{
|
|
|
7247
7247
|
};
|
|
7248
7248
|
sync: number;
|
|
7249
7249
|
}>;
|
|
7250
|
-
|
|
7250
|
+
type GetDepthResponse = z.infer<typeof getDepthResponseParser>;
|
|
7251
7251
|
/**
|
|
7252
7252
|
* Daily
|
|
7253
7253
|
*/
|
|
@@ -7282,7 +7282,7 @@ declare const dailyParser: z.ZodObject<{
|
|
|
7282
7282
|
volume_ask: number;
|
|
7283
7283
|
change_percentage: number;
|
|
7284
7284
|
}>;
|
|
7285
|
-
|
|
7285
|
+
type Daily = z.infer<typeof dailyParser>;
|
|
7286
7286
|
declare const getDailyResponseParser: z.ZodObject<{
|
|
7287
7287
|
sync: z.ZodNumber;
|
|
7288
7288
|
data: z.ZodArray<z.ZodObject<{
|
|
@@ -7343,7 +7343,7 @@ declare const getDailyResponseParser: z.ZodObject<{
|
|
|
7343
7343
|
}[];
|
|
7344
7344
|
sync: number;
|
|
7345
7345
|
}>;
|
|
7346
|
-
|
|
7346
|
+
type GetDailyResponse = z.infer<typeof getDailyResponseParser>;
|
|
7347
7347
|
/**
|
|
7348
7348
|
* Markets
|
|
7349
7349
|
*/
|
|
@@ -7428,7 +7428,7 @@ declare const marketParser: z.ZodObject<{
|
|
|
7428
7428
|
multiplier: number;
|
|
7429
7429
|
};
|
|
7430
7430
|
}>;
|
|
7431
|
-
|
|
7431
|
+
type Market = z.infer<typeof marketParser>;
|
|
7432
7432
|
declare const dbMarketParser: z.ZodObject<{
|
|
7433
7433
|
market_id: z.ZodNumber;
|
|
7434
7434
|
order_min: z.ZodString;
|
|
@@ -7469,7 +7469,7 @@ declare const dbMarketParser: z.ZodObject<{
|
|
|
7469
7469
|
ask_token_s: string;
|
|
7470
7470
|
ask_token_m: string;
|
|
7471
7471
|
}>;
|
|
7472
|
-
|
|
7472
|
+
type DbMarket = z.infer<typeof dbMarketParser>;
|
|
7473
7473
|
declare const getMarketsResponseParser: z.ZodObject<{
|
|
7474
7474
|
sync: z.ZodNumber;
|
|
7475
7475
|
data: z.ZodArray<z.ZodObject<{
|
|
@@ -7600,7 +7600,7 @@ declare const getMarketsResponseParser: z.ZodObject<{
|
|
|
7600
7600
|
}[];
|
|
7601
7601
|
sync: number;
|
|
7602
7602
|
}>;
|
|
7603
|
-
|
|
7603
|
+
type GetMarketsResponse = z.infer<typeof getMarketsResponseParser>;
|
|
7604
7604
|
/**
|
|
7605
7605
|
* Trades
|
|
7606
7606
|
*/
|
|
@@ -7671,7 +7671,7 @@ declare const tradeLogParser: z.ZodObject<{
|
|
|
7671
7671
|
ask_referrer: string;
|
|
7672
7672
|
ask_referrer_fee: string;
|
|
7673
7673
|
}>;
|
|
7674
|
-
|
|
7674
|
+
type TradeLog = z.infer<typeof tradeLogParser>;
|
|
7675
7675
|
declare const tradeParser: z.ZodObject<{
|
|
7676
7676
|
block_num: z.ZodString;
|
|
7677
7677
|
block_time: z.ZodString;
|
|
@@ -7745,7 +7745,7 @@ declare const tradeParser: z.ZodObject<{
|
|
|
7745
7745
|
bid_user_ordinal_order_id: string;
|
|
7746
7746
|
ask_user_ordinal_order_id: string;
|
|
7747
7747
|
}>;
|
|
7748
|
-
|
|
7748
|
+
type Trade = z.infer<typeof tradeParser>;
|
|
7749
7749
|
declare const getTradesParser: z.ZodObject<{
|
|
7750
7750
|
symbol: z.ZodString;
|
|
7751
7751
|
offset: z.ZodDefault<z.ZodNumber>;
|
|
@@ -7759,8 +7759,8 @@ declare const getTradesParser: z.ZodObject<{
|
|
|
7759
7759
|
limit?: number | undefined;
|
|
7760
7760
|
offset?: number | undefined;
|
|
7761
7761
|
}>;
|
|
7762
|
-
|
|
7763
|
-
|
|
7762
|
+
type GetTrades = z.input<typeof getTradesParser>;
|
|
7763
|
+
type GetTradesParsed = z.output<typeof getTradesParser>;
|
|
7764
7764
|
declare const getTradesResponseParser: z.ZodObject<{
|
|
7765
7765
|
sync: z.ZodNumber;
|
|
7766
7766
|
data: z.ZodArray<z.ZodObject<{
|
|
@@ -7891,7 +7891,7 @@ declare const getTradesResponseParser: z.ZodObject<{
|
|
|
7891
7891
|
}[];
|
|
7892
7892
|
sync: number;
|
|
7893
7893
|
}>;
|
|
7894
|
-
|
|
7894
|
+
type GetTradesResponse = z.infer<typeof getTradesResponseParser>;
|
|
7895
7895
|
declare const getTradeHistoryParser: z.ZodObject<{
|
|
7896
7896
|
account: z.ZodString;
|
|
7897
7897
|
symbol: z.ZodOptional<z.ZodString>;
|
|
@@ -7911,8 +7911,8 @@ declare const getTradeHistoryParser: z.ZodObject<{
|
|
|
7911
7911
|
offset?: number | undefined;
|
|
7912
7912
|
ordinal_order_ids?: string | string[] | undefined;
|
|
7913
7913
|
}>;
|
|
7914
|
-
|
|
7915
|
-
|
|
7914
|
+
type GetTradeHistory = z.input<typeof getTradeHistoryParser>;
|
|
7915
|
+
type GetTradeHistoryParsed = z.output<typeof getTradeHistoryParser>;
|
|
7916
7916
|
declare const getTradeHistoryResponseParser: z.ZodObject<{
|
|
7917
7917
|
sync: z.ZodNumber;
|
|
7918
7918
|
count: z.ZodNumber;
|
|
@@ -8046,7 +8046,7 @@ declare const getTradeHistoryResponseParser: z.ZodObject<{
|
|
|
8046
8046
|
count: number;
|
|
8047
8047
|
sync: number;
|
|
8048
8048
|
}>;
|
|
8049
|
-
|
|
8049
|
+
type GetTradeHistoryResponse = z.infer<typeof getTradeHistoryResponseParser>;
|
|
8050
8050
|
/**
|
|
8051
8051
|
* SYNC
|
|
8052
8052
|
*/
|
|
@@ -8072,7 +8072,7 @@ declare const syncParser: z.ZodObject<{
|
|
|
8072
8072
|
is_master: number;
|
|
8073
8073
|
last_updated: string;
|
|
8074
8074
|
}>;
|
|
8075
|
-
|
|
8075
|
+
type Sync = z.infer<typeof syncParser>;
|
|
8076
8076
|
declare const getSyncResponseParser: z.ZodObject<{
|
|
8077
8077
|
dbSecondsBehind: z.ZodNumber;
|
|
8078
8078
|
chronicleSecondsBehind: z.ZodNumber;
|
|
@@ -8086,7 +8086,7 @@ declare const getSyncResponseParser: z.ZodObject<{
|
|
|
8086
8086
|
chronicleSecondsBehind: number;
|
|
8087
8087
|
maxSecondsBehind: number;
|
|
8088
8088
|
}>;
|
|
8089
|
-
|
|
8089
|
+
type GetSyncResponse = z.infer<typeof getSyncResponseParser>;
|
|
8090
8090
|
/**
|
|
8091
8091
|
* Referral Totals
|
|
8092
8092
|
*/
|
|
@@ -8112,7 +8112,7 @@ declare const refferalTotalParser: z.ZodObject<{
|
|
|
8112
8112
|
ask_fee: number;
|
|
8113
8113
|
referrer: string;
|
|
8114
8114
|
}>;
|
|
8115
|
-
|
|
8115
|
+
type ReferralTotal = z.infer<typeof refferalTotalParser>;
|
|
8116
8116
|
declare const getReferralTotalsParser: z.ZodObject<{
|
|
8117
8117
|
referrer: z.ZodString;
|
|
8118
8118
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -8120,8 +8120,8 @@ declare const getReferralTotalsParser: z.ZodObject<{
|
|
|
8120
8120
|
}, {
|
|
8121
8121
|
referrer: string;
|
|
8122
8122
|
}>;
|
|
8123
|
-
|
|
8124
|
-
|
|
8123
|
+
type GetReferralTotals = z.input<typeof getReferralTotalsParser>;
|
|
8124
|
+
type GetReferralTotalsParsed = z.output<typeof getReferralTotalsParser>;
|
|
8125
8125
|
declare const getReferralTotalsResponseParser: z.ZodObject<{
|
|
8126
8126
|
sync: z.ZodNumber;
|
|
8127
8127
|
data: z.ZodArray<z.ZodObject<{
|
|
@@ -8167,7 +8167,7 @@ declare const getReferralTotalsResponseParser: z.ZodObject<{
|
|
|
8167
8167
|
}[];
|
|
8168
8168
|
sync: number;
|
|
8169
8169
|
}>;
|
|
8170
|
-
|
|
8170
|
+
type GetReferralTotalsResponse = z.infer<typeof getReferralTotalsResponseParser>;
|
|
8171
8171
|
/**
|
|
8172
8172
|
* Referrals
|
|
8173
8173
|
*/
|
|
@@ -8178,7 +8178,7 @@ declare const refferalParser: z.ZodObject<{
|
|
|
8178
8178
|
}, {
|
|
8179
8179
|
referred_user: string;
|
|
8180
8180
|
}>;
|
|
8181
|
-
|
|
8181
|
+
type Referral = z.infer<typeof refferalParser>;
|
|
8182
8182
|
declare const getReferralsParser: z.ZodObject<{
|
|
8183
8183
|
referrer: z.ZodString;
|
|
8184
8184
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -8186,8 +8186,8 @@ declare const getReferralsParser: z.ZodObject<{
|
|
|
8186
8186
|
}, {
|
|
8187
8187
|
referrer: string;
|
|
8188
8188
|
}>;
|
|
8189
|
-
|
|
8190
|
-
|
|
8189
|
+
type GetReferrals = z.input<typeof getReferralsParser>;
|
|
8190
|
+
type GetReferralsParsed = z.output<typeof getReferralsParser>;
|
|
8191
8191
|
declare const getReferralsResponseParser: z.ZodObject<{
|
|
8192
8192
|
sync: z.ZodNumber;
|
|
8193
8193
|
data: z.ZodArray<z.ZodObject<{
|
|
@@ -8208,7 +8208,7 @@ declare const getReferralsResponseParser: z.ZodObject<{
|
|
|
8208
8208
|
}[];
|
|
8209
8209
|
sync: number;
|
|
8210
8210
|
}>;
|
|
8211
|
-
|
|
8211
|
+
type GetReferralsResponse = z.infer<typeof getReferralsResponseParser>;
|
|
8212
8212
|
/**
|
|
8213
8213
|
* Leaderboard
|
|
8214
8214
|
*/
|
|
@@ -8222,7 +8222,7 @@ declare const leaderboardParser: z.ZodObject<{
|
|
|
8222
8222
|
user: string;
|
|
8223
8223
|
total: number;
|
|
8224
8224
|
}>;
|
|
8225
|
-
|
|
8225
|
+
type Leaderboard = z.infer<typeof leaderboardParser>;
|
|
8226
8226
|
declare const getLeaderboardParser: z.ZodObject<{
|
|
8227
8227
|
market_ids: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodArray<z.ZodNumber, "many">, z.ZodNumber]>, number[], number | number[]>, number[], number | number[]>;
|
|
8228
8228
|
from: z.ZodString;
|
|
@@ -8239,8 +8239,8 @@ declare const getLeaderboardParser: z.ZodObject<{
|
|
|
8239
8239
|
market_ids: number | number[];
|
|
8240
8240
|
exclude_zero_fee?: boolean | "true" | "false" | undefined;
|
|
8241
8241
|
}>;
|
|
8242
|
-
|
|
8243
|
-
|
|
8242
|
+
type GetLeaderboard = z.input<typeof getLeaderboardParser>;
|
|
8243
|
+
type GetLeaderboardParsed = z.output<typeof getLeaderboardParser>;
|
|
8244
8244
|
declare const getLeaderboardResponseParser: z.ZodObject<{
|
|
8245
8245
|
sync: z.ZodNumber;
|
|
8246
8246
|
data: z.ZodArray<z.ZodObject<{
|
|
@@ -8266,7 +8266,7 @@ declare const getLeaderboardResponseParser: z.ZodObject<{
|
|
|
8266
8266
|
}[];
|
|
8267
8267
|
sync: number;
|
|
8268
8268
|
}>;
|
|
8269
|
-
|
|
8269
|
+
type GetLeaderboardResponse = z.infer<typeof getLeaderboardResponseParser>;
|
|
8270
8270
|
/**
|
|
8271
8271
|
* History Transaction
|
|
8272
8272
|
*/
|
|
@@ -8311,7 +8311,7 @@ declare const historyPartialParser: z.ZodObject<{
|
|
|
8311
8311
|
signatures: string[];
|
|
8312
8312
|
context_free_data: unknown[];
|
|
8313
8313
|
}>;
|
|
8314
|
-
|
|
8314
|
+
type HistoryPartial = z.infer<typeof historyPartialParser>;
|
|
8315
8315
|
declare const actParser: z.ZodObject<{
|
|
8316
8316
|
account: z.ZodString;
|
|
8317
8317
|
name: z.ZodString;
|
|
@@ -8343,7 +8343,7 @@ declare const actParser: z.ZodObject<{
|
|
|
8343
8343
|
}[];
|
|
8344
8344
|
data?: any;
|
|
8345
8345
|
}>;
|
|
8346
|
-
|
|
8346
|
+
type HistoryAct = z.infer<typeof actParser>;
|
|
8347
8347
|
declare const receiptParser: z.ZodObject<{
|
|
8348
8348
|
receiver: z.ZodString;
|
|
8349
8349
|
act_digest: z.ZodString;
|
|
@@ -8384,7 +8384,7 @@ declare const receiptParser: z.ZodObject<{
|
|
|
8384
8384
|
code_sequence: string;
|
|
8385
8385
|
abi_sequence: string;
|
|
8386
8386
|
}>;
|
|
8387
|
-
|
|
8387
|
+
type HistoryReceipt = z.infer<typeof receiptParser>;
|
|
8388
8388
|
declare const actionTraceParser: z.ZodObject<{
|
|
8389
8389
|
action_ordinal: z.ZodString;
|
|
8390
8390
|
creator_action_ordinal: z.ZodString;
|
|
@@ -8547,7 +8547,7 @@ declare const actionTraceParser: z.ZodObject<{
|
|
|
8547
8547
|
error_code: string | null;
|
|
8548
8548
|
return_value: string;
|
|
8549
8549
|
}>;
|
|
8550
|
-
|
|
8550
|
+
type HistoryActionTrace = z.infer<typeof actionTraceParser>;
|
|
8551
8551
|
declare const traceParser: z.ZodObject<{
|
|
8552
8552
|
id: z.ZodString;
|
|
8553
8553
|
status: z.ZodString;
|
|
@@ -8901,7 +8901,7 @@ declare const traceParser: z.ZodObject<{
|
|
|
8901
8901
|
context_free_data: unknown[];
|
|
8902
8902
|
};
|
|
8903
8903
|
}>;
|
|
8904
|
-
|
|
8904
|
+
type HistoryTrace = z.infer<typeof traceParser>;
|
|
8905
8905
|
declare const historyTransactionParser: z.ZodObject<{
|
|
8906
8906
|
seq: z.ZodString;
|
|
8907
8907
|
block_num: z.ZodString;
|
|
@@ -9552,7 +9552,7 @@ declare const historyTransactionParser: z.ZodObject<{
|
|
|
9552
9552
|
block_timestamp: string;
|
|
9553
9553
|
};
|
|
9554
9554
|
}>;
|
|
9555
|
-
|
|
9555
|
+
type HistoryTransaction = z.infer<typeof historyTransactionParser>;
|
|
9556
9556
|
declare const getHistoryTransactionResponseParser: z.ZodObject<{
|
|
9557
9557
|
data: z.ZodNullable<z.ZodObject<{
|
|
9558
9558
|
seq: z.ZodString;
|
|
@@ -10359,7 +10359,7 @@ declare const getHistoryTransactionResponseParser: z.ZodObject<{
|
|
|
10359
10359
|
};
|
|
10360
10360
|
} | null;
|
|
10361
10361
|
}>;
|
|
10362
|
-
|
|
10362
|
+
type GetHistoryTransactionResponse = z.input<typeof getHistoryTransactionResponseParser>;
|
|
10363
10363
|
declare const chronicleTransactionParser: z.ZodObject<{
|
|
10364
10364
|
block_num: z.ZodString;
|
|
10365
10365
|
block_timestamp: z.ZodString;
|
|
@@ -10853,7 +10853,7 @@ declare const chronicleTransactionParser: z.ZodObject<{
|
|
|
10853
10853
|
};
|
|
10854
10854
|
block_timestamp: string;
|
|
10855
10855
|
}>;
|
|
10856
|
-
|
|
10856
|
+
type ChronicleTransaction = z.infer<typeof chronicleTransactionParser>;
|
|
10857
10857
|
declare const dbHistoryTransactionParser: z.ZodObject<{
|
|
10858
10858
|
seq: z.ZodString;
|
|
10859
10859
|
block_num: z.ZodString;
|
|
@@ -10873,7 +10873,7 @@ declare const dbHistoryTransactionParser: z.ZodObject<{
|
|
|
10873
10873
|
trx_id: string;
|
|
10874
10874
|
trace?: any;
|
|
10875
10875
|
}>;
|
|
10876
|
-
|
|
10876
|
+
type DbHistoryTransaction = z.infer<typeof dbHistoryTransactionParser>;
|
|
10877
10877
|
/**
|
|
10878
10878
|
* History Actions
|
|
10879
10879
|
*/
|
|
@@ -10905,8 +10905,8 @@ declare const getHistoryActionsParser: z.ZodObject<{
|
|
|
10905
10905
|
date_to?: string | undefined;
|
|
10906
10906
|
direction?: "asc" | "desc" | undefined;
|
|
10907
10907
|
}>;
|
|
10908
|
-
|
|
10909
|
-
|
|
10908
|
+
type GetHistoryActions = z.input<typeof getHistoryActionsParser>;
|
|
10909
|
+
type GetHistoryActionsParsed = z.output<typeof getHistoryActionsParser>;
|
|
10910
10910
|
declare const historyActionParser: z.ZodObject<{
|
|
10911
10911
|
block_num: z.ZodNumber;
|
|
10912
10912
|
block_time: z.ZodString;
|
|
@@ -11163,7 +11163,7 @@ declare const historyActionParser: z.ZodObject<{
|
|
|
11163
11163
|
return_value: string;
|
|
11164
11164
|
};
|
|
11165
11165
|
}>;
|
|
11166
|
-
|
|
11166
|
+
type HistoryAction = z.infer<typeof historyActionParser>;
|
|
11167
11167
|
declare const getHistoryActionsResponseParser: z.ZodObject<{
|
|
11168
11168
|
sync: z.ZodNumber;
|
|
11169
11169
|
last_irreversible_block_num: z.ZodNumber;
|
|
@@ -11518,7 +11518,7 @@ declare const getHistoryActionsResponseParser: z.ZodObject<{
|
|
|
11518
11518
|
sync: number;
|
|
11519
11519
|
last_irreversible_block_num: number;
|
|
11520
11520
|
}>;
|
|
11521
|
-
|
|
11521
|
+
type GetHistoryActionsResponse = z.infer<typeof getHistoryActionsResponseParser>;
|
|
11522
11522
|
/**
|
|
11523
11523
|
* History transfers
|
|
11524
11524
|
*/
|
|
@@ -11565,8 +11565,8 @@ declare const getHistoryTransfersParser: z.ZodObject<{
|
|
|
11565
11565
|
global_seq_from?: string | undefined;
|
|
11566
11566
|
global_seq_to?: string | undefined;
|
|
11567
11567
|
}>;
|
|
11568
|
-
|
|
11569
|
-
|
|
11568
|
+
type GetHistoryTransfers = z.input<typeof getHistoryTransfersParser>;
|
|
11569
|
+
type GetHistoryTransfersParsed = z.output<typeof getHistoryTransfersParser>;
|
|
11570
11570
|
declare const historyTransferParser: z.ZodObject<{
|
|
11571
11571
|
block_num: z.ZodNumber;
|
|
11572
11572
|
block_time: z.ZodString;
|
|
@@ -11823,7 +11823,7 @@ declare const historyTransferParser: z.ZodObject<{
|
|
|
11823
11823
|
return_value: string;
|
|
11824
11824
|
};
|
|
11825
11825
|
}>;
|
|
11826
|
-
|
|
11826
|
+
type HistoryTransfer = z.infer<typeof historyTransferParser>;
|
|
11827
11827
|
declare const getHistoryTransfersResponseParser: z.ZodObject<{
|
|
11828
11828
|
sync: z.ZodNumber;
|
|
11829
11829
|
last_irreversible_block_num: z.ZodNumber;
|
|
@@ -12178,7 +12178,7 @@ declare const getHistoryTransfersResponseParser: z.ZodObject<{
|
|
|
12178
12178
|
sync: number;
|
|
12179
12179
|
last_irreversible_block_num: number;
|
|
12180
12180
|
}>;
|
|
12181
|
-
|
|
12181
|
+
type GetHistoryTransfersResponse = z.infer<typeof getHistoryTransfersResponseParser>;
|
|
12182
12182
|
/**
|
|
12183
12183
|
* Open orders Balances
|
|
12184
12184
|
*/
|
|
@@ -12201,7 +12201,7 @@ declare const marketOpenOrdersBalanceParser: z.ZodObject<{
|
|
|
12201
12201
|
bid_token_quantity: number;
|
|
12202
12202
|
ask_token_quantity: number;
|
|
12203
12203
|
}>;
|
|
12204
|
-
|
|
12204
|
+
type MarketOpenOrdersBalance = z.infer<typeof marketOpenOrdersBalanceParser>;
|
|
12205
12205
|
declare const getOpenOrdersBalancesResponseParser: z.ZodObject<{
|
|
12206
12206
|
sync: z.ZodNumber;
|
|
12207
12207
|
data: z.ZodArray<z.ZodObject<{
|
|
@@ -12242,7 +12242,7 @@ declare const getOpenOrdersBalancesResponseParser: z.ZodObject<{
|
|
|
12242
12242
|
}[];
|
|
12243
12243
|
sync: number;
|
|
12244
12244
|
}>;
|
|
12245
|
-
|
|
12245
|
+
type GetOpenOrdersBalancesResponse = z.infer<typeof getOpenOrdersBalancesResponseParser>;
|
|
12246
12246
|
/**
|
|
12247
12247
|
* Basic Types
|
|
12248
12248
|
*/
|
|
@@ -12282,10 +12282,10 @@ declare const TOPICS: {
|
|
|
12282
12282
|
};
|
|
12283
12283
|
};
|
|
12284
12284
|
|
|
12285
|
-
declare const loginAccountParamsV3Parser: z.ZodObject<
|
|
12285
|
+
declare const loginAccountParamsV3Parser: z.ZodObject<{
|
|
12286
12286
|
email: z.ZodOptional<z.ZodString>;
|
|
12287
12287
|
verificationCode: z.ZodOptional<z.ZodString>;
|
|
12288
|
-
}
|
|
12288
|
+
} & {
|
|
12289
12289
|
signer: z.ZodObject<{
|
|
12290
12290
|
actor: z.ZodString;
|
|
12291
12291
|
permission: z.ZodString;
|
|
@@ -12297,7 +12297,7 @@ declare const loginAccountParamsV3Parser: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
12297
12297
|
permission: string;
|
|
12298
12298
|
}>;
|
|
12299
12299
|
signatures: z.ZodArray<z.ZodString, "many">;
|
|
12300
|
-
transaction: z.ZodObject<
|
|
12300
|
+
transaction: z.ZodObject<{
|
|
12301
12301
|
expiration: z.ZodString;
|
|
12302
12302
|
ref_block_num: z.ZodNumber;
|
|
12303
12303
|
ref_block_prefix: z.ZodNumber;
|
|
@@ -12339,7 +12339,7 @@ declare const loginAccountParamsV3Parser: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
12339
12339
|
hex_data?: string | undefined;
|
|
12340
12340
|
}>, "many">;
|
|
12341
12341
|
transaction_extensions: z.ZodArray<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">>, "many">;
|
|
12342
|
-
}
|
|
12342
|
+
} & {
|
|
12343
12343
|
actions: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
12344
12344
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
12345
12345
|
name: z.ZodLiteral<string>;
|
|
@@ -12435,7 +12435,7 @@ declare const loginAccountParamsV3Parser: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
12435
12435
|
auth_data: string;
|
|
12436
12436
|
client_json: string;
|
|
12437
12437
|
}>;
|
|
12438
|
-
trx: z.ZodObject<
|
|
12438
|
+
trx: z.ZodObject<{
|
|
12439
12439
|
expiration: z.ZodString;
|
|
12440
12440
|
ref_block_num: z.ZodNumber;
|
|
12441
12441
|
ref_block_prefix: z.ZodNumber;
|
|
@@ -12477,7 +12477,7 @@ declare const loginAccountParamsV3Parser: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
12477
12477
|
hex_data?: string | undefined;
|
|
12478
12478
|
}>, "many">;
|
|
12479
12479
|
transaction_extensions: z.ZodArray<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">>, "many">;
|
|
12480
|
-
}
|
|
12480
|
+
} & {
|
|
12481
12481
|
actions: z.ZodArray<z.ZodObject<{
|
|
12482
12482
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
12483
12483
|
name: z.ZodLiteral<string>;
|
|
@@ -12517,7 +12517,7 @@ declare const loginAccountParamsV3Parser: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
12517
12517
|
[x: string]: any;
|
|
12518
12518
|
};
|
|
12519
12519
|
}>, "many">;
|
|
12520
|
-
}
|
|
12520
|
+
}, "strip", z.ZodTypeAny, {
|
|
12521
12521
|
expiration: string;
|
|
12522
12522
|
ref_block_num: number;
|
|
12523
12523
|
ref_block_prefix: number;
|
|
@@ -12804,7 +12804,7 @@ declare const loginAccountParamsV3Parser: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
12804
12804
|
};
|
|
12805
12805
|
};
|
|
12806
12806
|
}>]>, "many">;
|
|
12807
|
-
}
|
|
12807
|
+
}, "strip", z.ZodTypeAny, {
|
|
12808
12808
|
expiration: string;
|
|
12809
12809
|
ref_block_num: number;
|
|
12810
12810
|
ref_block_prefix: number;
|
|
@@ -12979,7 +12979,7 @@ declare const loginAccountParamsV3Parser: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
12979
12979
|
};
|
|
12980
12980
|
})[];
|
|
12981
12981
|
}>;
|
|
12982
|
-
}
|
|
12982
|
+
}, "strip", z.ZodTypeAny, {
|
|
12983
12983
|
signer: {
|
|
12984
12984
|
actor: string;
|
|
12985
12985
|
permission: string;
|
|
@@ -13172,7 +13172,7 @@ declare const loginAccountParamsV3Parser: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
13172
13172
|
email?: string | undefined;
|
|
13173
13173
|
verificationCode?: string | undefined;
|
|
13174
13174
|
}>;
|
|
13175
|
-
|
|
13175
|
+
type LoginAccountParamsV3 = z.infer<typeof loginAccountParamsV3Parser>;
|
|
13176
13176
|
|
|
13177
13177
|
declare const WRAP_CONTRACT = "proton.wrap";
|
|
13178
13178
|
declare const WRAP_AUTH_ACTION = "generateauth";
|
|
@@ -13267,4 +13267,4 @@ declare const isInputInvalid: (data: string, value: string | number, pool: {
|
|
|
13267
13267
|
}) => boolean;
|
|
13268
13268
|
declare const applyDiscountToFee: (fee: number, staked: number) => number;
|
|
13269
13269
|
|
|
13270
|
-
export { Address, Authorization, Authorizations, BloksRate, BloksRates, Chains, ChronicleTransaction, Coin, CoinWallet, CurrencyStat, CurrencyStats, Daily, DbHistoryTransaction, DbMarket, DepositBody, Depth, ExchangeRate, ExchangeRates, ExtendedAsset, ExtendedAssetParser, ExtendedToken, ExtendedTokenWithRate, FEE_FACTOR, GenerateAddressBody, GenerateAddressResponse, GenerateAuth, GenerateAuthBaseAction, GetDailyResponse, GetDepth, GetDepthParsed, GetDepthResponse, GetHistoryActions, GetHistoryActionsParsed, GetHistoryActionsResponse, GetHistoryTransactionResponse, GetHistoryTransfers, GetHistoryTransfersParsed, GetHistoryTransfersResponse, GetLeaderboard, GetLeaderboardParsed, GetLeaderboardResponse, GetMarketsResponse, GetOHLCV, GetOHLCVParsed, GetOHLCVResponse, GetOpenOrders, GetOpenOrdersBalancesResponse, GetOpenOrdersParsed, GetOpenOrdersResponse, GetOrderHistory, GetOrderHistoryParsed, GetOrderHistoryResponse, GetOrderLifecycle, GetOrderLifecycleParsed, GetOrderLifecycleResponse, GetReferralTotals, GetReferralTotalsParsed, GetReferralTotalsResponse, GetReferrals, GetReferralsParsed, GetReferralsResponse, GetSyncResponse, GetTradeHistory, GetTradeHistoryParsed, GetTradeHistoryResponse, GetTrades, GetTradesParsed, GetTradesResponse, Graph, HistoryAccountRamDelta, HistoryAct, HistoryAction, HistoryActionTrace, HistoryPartial, HistoryReceipt, HistoryTrace, HistoryTransaction, HistoryTransfer, ILink, INode, ITopics, Leaderboard, LoginAccountParamsV3, Market, MarketOpenOrdersBalance, MetalTransaction, Networks, OHLCV, OpenOrder, OrderHistory, OrderLog, OtcOrderResponse, OtcQuoteBody, OtcQuoteResponse, Pool, PoolTable, PostSerializeOrder, PostSerializeOrderResponse, PostSubmitOrder, PostSubmitOrderResponse, Providers, Rate, RawPool, Referral, ReferralTotal, SortDirection, Status, Sync, TOPICS, Trade, TradeLog, Type, WRAP_AUTH_ACTION, WRAP_CONTRACT, Wallet, WithdrawBody, WithdrawBodyBaseAction, WithdrawHistoryMetalResponse, WithdrawHistoryMetalSwap, WithdrawMetalResponse, WithdrawalFeeQuote, Wrap, WrapSetConf, WrapStart, accountParser, accountRamDeltaParser, actParser, actionTraceParser, addressParser, applyDiscountToFee, authorizationParser, authorizationsParser, baseActionParser, baseActionSerializedParser, bloksRatesParser, chronicleTransactionParser, compute_liquidity, compute_transfer, compute_transfer_curve, createAbstractAuthParser, dailyParser, dbHistoryTransactionParser, dbMarketParser, depositBodyParser, depthParser, exchangeRateParser, exchangeRatesParser, explorerLinkByChain, fillType, generateAddressBodyParser, generateAddressResponse, generateAuthParser, getDailyResponseParser, getDepthParser, getDepthResponseParser, getHistoryActionsParser, getHistoryActionsResponseParser, getHistoryTransactionResponseParser, getHistoryTransfersParser, getHistoryTransfersResponseParser, getLeaderboardParser, getLeaderboardResponseParser, getMarketsResponseParser, getOhlcvParser, getOhlcvResponseParser, getOpenOrdersBalancesResponseParser, getOpenOrdersParser, getOpenOrdersResponseParser, getOrderHistoryParser, getOrderHistoryResponseParser, getOrderLifecycleParser, getOrderLifecycleResponseParser, getReferralTotalsParser, getReferralTotalsResponseParser, getReferralsParser, getReferralsResponseParser, getSyncResponseParser, getTradeHistoryParser, getTradeHistoryResponseParser, getTradesParser, getTradesResponseParser, historyActionParser, historyPartialParser, historyTransactionParser, historyTransferParser, initializeCoins, initializeConstants, isInputInvalid, isSameToken, leaderboardParser, logStatus, loginAccountParamsV3Parser, marketOpenOrdersBalanceParser, marketParser, median, metalTransactionParser, ohlcvParser, openOrderParser, orderHistoryParser, orderLogParser, orderSide, orderType, otcOrderResponseParser, otcQuoteBodyParser, otcQuoteResponseParser, postSerializeOrderParser, postSerializeOrderResponseParser, postSubmitOrderParser, postSubmitOrderResponseParser, protonExplorerTxUrl, rateParser, receiptParser, refferalParser, refferalTotalParser, similarChains, singleActionTransactionParser, sortDirectionEnum, syncParser, traceParser, tradeLogParser, tradeParser, webauthActionParser, withdrawBodyParser, withdrawHistoryMetalResponseParser, withdrawHistoryMetalSwapParser, withdrawMetalResponseParser, withdrawalFeeQuoteParser, wrapParser, wrapSetConfParser, wrapStartParser };
|
|
13270
|
+
export { type Address, type Authorization, type Authorizations, type BloksRate, type BloksRates, Chains, type ChronicleTransaction, type Coin, type CoinWallet, type CurrencyStat, type CurrencyStats, type Daily, type DbHistoryTransaction, type DbMarket, type DepositBody, type Depth, type ExchangeRate, type ExchangeRates, type ExtendedAsset, ExtendedAssetParser, type ExtendedToken, type ExtendedTokenWithRate, FEE_FACTOR, type GenerateAddressBody, type GenerateAddressResponse, type GenerateAuth, type GenerateAuthBaseAction, type GetDailyResponse, type GetDepth, type GetDepthParsed, type GetDepthResponse, type GetHistoryActions, type GetHistoryActionsParsed, type GetHistoryActionsResponse, type GetHistoryTransactionResponse, type GetHistoryTransfers, type GetHistoryTransfersParsed, type GetHistoryTransfersResponse, type GetLeaderboard, type GetLeaderboardParsed, type GetLeaderboardResponse, type GetMarketsResponse, type GetOHLCV, type GetOHLCVParsed, type GetOHLCVResponse, type GetOpenOrders, type GetOpenOrdersBalancesResponse, type GetOpenOrdersParsed, type GetOpenOrdersResponse, type GetOrderHistory, type GetOrderHistoryParsed, type GetOrderHistoryResponse, type GetOrderLifecycle, type GetOrderLifecycleParsed, type GetOrderLifecycleResponse, type GetReferralTotals, type GetReferralTotalsParsed, type GetReferralTotalsResponse, type GetReferrals, type GetReferralsParsed, type GetReferralsResponse, type GetSyncResponse, type GetTradeHistory, type GetTradeHistoryParsed, type GetTradeHistoryResponse, type GetTrades, type GetTradesParsed, type GetTradesResponse, Graph, type HistoryAccountRamDelta, type HistoryAct, type HistoryAction, type HistoryActionTrace, type HistoryPartial, type HistoryReceipt, type HistoryTrace, type HistoryTransaction, type HistoryTransfer, ILink, INode, ITopics, type Leaderboard, type LoginAccountParamsV3, type Market, type MarketOpenOrdersBalance, type MetalTransaction, Networks, type OHLCV, type OpenOrder, type OrderHistory, type OrderLog, type OtcOrderResponse, type OtcQuoteBody, type OtcQuoteResponse, type Pool, type PoolTable, type PostSerializeOrder, type PostSerializeOrderResponse, type PostSubmitOrder, type PostSubmitOrderResponse, Providers, type Rate, type RawPool, type Referral, type ReferralTotal, type SortDirection, Status, type Sync, TOPICS, type Trade, type TradeLog, Type, WRAP_AUTH_ACTION, WRAP_CONTRACT, type Wallet, type WithdrawBody, type WithdrawBodyBaseAction, type WithdrawHistoryMetalResponse, type WithdrawHistoryMetalSwap, type WithdrawMetalResponse, type WithdrawalFeeQuote, type Wrap, type WrapSetConf, type WrapStart, accountParser, accountRamDeltaParser, actParser, actionTraceParser, addressParser, applyDiscountToFee, authorizationParser, authorizationsParser, baseActionParser, baseActionSerializedParser, bloksRatesParser, chronicleTransactionParser, compute_liquidity, compute_transfer, compute_transfer_curve, createAbstractAuthParser, dailyParser, dbHistoryTransactionParser, dbMarketParser, depositBodyParser, depthParser, exchangeRateParser, exchangeRatesParser, explorerLinkByChain, fillType, generateAddressBodyParser, generateAddressResponse, generateAuthParser, getDailyResponseParser, getDepthParser, getDepthResponseParser, getHistoryActionsParser, getHistoryActionsResponseParser, getHistoryTransactionResponseParser, getHistoryTransfersParser, getHistoryTransfersResponseParser, getLeaderboardParser, getLeaderboardResponseParser, getMarketsResponseParser, getOhlcvParser, getOhlcvResponseParser, getOpenOrdersBalancesResponseParser, getOpenOrdersParser, getOpenOrdersResponseParser, getOrderHistoryParser, getOrderHistoryResponseParser, getOrderLifecycleParser, getOrderLifecycleResponseParser, getReferralTotalsParser, getReferralTotalsResponseParser, getReferralsParser, getReferralsResponseParser, getSyncResponseParser, getTradeHistoryParser, getTradeHistoryResponseParser, getTradesParser, getTradesResponseParser, historyActionParser, historyPartialParser, historyTransactionParser, historyTransferParser, initializeCoins, initializeConstants, isInputInvalid, isSameToken, leaderboardParser, logStatus, loginAccountParamsV3Parser, marketOpenOrdersBalanceParser, marketParser, median, metalTransactionParser, ohlcvParser, openOrderParser, orderHistoryParser, orderLogParser, orderSide, orderType, otcOrderResponseParser, otcQuoteBodyParser, otcQuoteResponseParser, postSerializeOrderParser, postSerializeOrderResponseParser, postSubmitOrderParser, postSubmitOrderResponseParser, protonExplorerTxUrl, rateParser, receiptParser, refferalParser, refferalTotalParser, similarChains, singleActionTransactionParser, sortDirectionEnum, syncParser, traceParser, tradeLogParser, tradeParser, webauthActionParser, withdrawBodyParser, withdrawHistoryMetalResponseParser, withdrawHistoryMetalSwapParser, withdrawMetalResponseParser, withdrawalFeeQuoteParser, wrapParser, wrapSetConfParser, wrapStartParser };
|