@proton/wrap-constants 0.2.181 → 0.2.183
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +413 -551
- package/dist/index.js +51 -23
- package/dist/index.mjs +51 -23
- package/package.json +2 -2
- package/src/coins.ts +562 -546
- package/dist/coins.d.ts +0 -121
- package/dist/constants.d.ts +0 -63
- package/dist/graph.d.ts +0 -30
- package/dist/math.d.ts +0 -17
- package/dist/parsers/actions.d.ts +0 -1323
- package/dist/parsers/address.d.ts +0 -932
- package/dist/parsers/auth.d.ts +0 -1816
- package/dist/parsers/base.d.ts +0 -35
- package/dist/parsers/currency.d.ts +0 -236
- package/dist/parsers/deposit.d.ts +0 -66
- package/dist/parsers/dex.d.ts +0 -1516
- package/dist/parsers/index.d.ts +0 -13
- package/dist/parsers/login.d.ts +0 -892
- package/dist/parsers/otc.d.ts +0 -46
- package/dist/parsers/pool.d.ts +0 -52
- package/dist/parsers/withdraw.d.ts +0 -1053
- package/dist/parsers/withdrawalHistory.d.ts +0 -98
- package/dist/parsers/wrap.d.ts +0 -109
- package/dist/utils.d.ts +0 -8
- package/dist/wrap-constants.cjs.development.js +0 -2144
- package/dist/wrap-constants.cjs.development.js.map +0 -1
- package/dist/wrap-constants.cjs.production.min.js +0 -2
- package/dist/wrap-constants.cjs.production.min.js.map +0 -1
- package/dist/wrap-constants.esm.js +0 -2069
- package/dist/wrap-constants.esm.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ declare enum Chains {
|
|
|
7
7
|
BitcoinTestnet = "Bitcoin (Testnet)",
|
|
8
8
|
EthereumMainnet = "Ethereum",
|
|
9
9
|
EthereumRopsten = "Ethereum (Ropsten)",
|
|
10
|
+
EthereumSepolia = "Ethereum (Sepolia)",
|
|
10
11
|
LitecoinMainnet = "Litecoin",
|
|
11
12
|
LitecoinTestnet = "Litecoin (Testnet)",
|
|
12
13
|
BitcoinCashMainnet = "Bitcoin Cash",
|
|
@@ -46,7 +47,8 @@ declare enum Networks {
|
|
|
46
47
|
XLM = "xlm",
|
|
47
48
|
AVM = "avm",
|
|
48
49
|
EVM = "evm",
|
|
49
|
-
METALL2 = "metall2"
|
|
50
|
+
METALL2 = "metall2",
|
|
51
|
+
Sepolia = "sepolia"
|
|
50
52
|
}
|
|
51
53
|
declare const similarChains: {
|
|
52
54
|
Ethereum: Chains[];
|
|
@@ -83,20 +85,21 @@ declare enum Providers {
|
|
|
83
85
|
METAL = "metal",
|
|
84
86
|
METALL2 = "metall2"
|
|
85
87
|
}
|
|
86
|
-
|
|
88
|
+
type CoinWallet = Exclude<Coin, "wallets"> & Wallet;
|
|
87
89
|
declare const explorerLinkByChain: {
|
|
88
90
|
Bitcoin: (txid: string) => string;
|
|
89
91
|
"Bitcoin (Testnet)": (txid: string) => string;
|
|
90
92
|
Ethereum: (txid: string) => string;
|
|
91
93
|
"Ethereum (Ropsten)": (txid: string) => string;
|
|
94
|
+
"Ethereum (Sepolia)": (txid: string) => string;
|
|
92
95
|
Litecoin: (txid: string) => string;
|
|
93
96
|
"Litecoin (Testnet)": (txid: string) => string;
|
|
94
97
|
"Bitcoin Cash": (txid: string) => string;
|
|
95
98
|
"Bitcoin Cash (Testnet)": (txid: string) => string;
|
|
96
99
|
Stellar: (txid: string) => string;
|
|
97
100
|
"Stellar (Testnet)": (txid: string) => string;
|
|
98
|
-
Proton: (txid: string, traces?: boolean
|
|
99
|
-
"Proton (Testnet)": (txid: string, traces?: boolean
|
|
101
|
+
Proton: (txid: string, traces?: boolean) => string;
|
|
102
|
+
"Proton (Testnet)": (txid: string, traces?: boolean) => string;
|
|
100
103
|
Polkadot: (txid: string) => string;
|
|
101
104
|
"Binance (BEP2)": (txid: string) => string;
|
|
102
105
|
"Binance (BEP20)": (txid: string) => string;
|
|
@@ -119,7 +122,7 @@ declare const explorerLinkByChain: {
|
|
|
119
122
|
"Metal L2 (Testnet)": (txid: string) => string;
|
|
120
123
|
"Metal L2": (txid: string) => string;
|
|
121
124
|
};
|
|
122
|
-
declare const protonExplorerTxUrl: (chain: string, txId: string, traces?: boolean
|
|
125
|
+
declare const protonExplorerTxUrl: (chain: string, txId: string, traces?: boolean) => string;
|
|
123
126
|
declare const initializeCoins: (protonChain: string) => {
|
|
124
127
|
allCoins: Coin[];
|
|
125
128
|
swapCoins: Coin[];
|
|
@@ -133,7 +136,7 @@ declare const initializeCoins: (protonChain: string) => {
|
|
|
133
136
|
declare const baseActionParser: <T extends z.ZodRawShape>(contract: string, action: string, data: T) => z.ZodObject<{
|
|
134
137
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
135
138
|
name: z.ZodLiteral<string>;
|
|
136
|
-
data: z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
139
|
+
data: z.ZodObject<T, "strip", z.ZodTypeAny, { [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; }, { [k_1 in keyof z.baseObjectInputType<T>]: z.baseObjectInputType<T>[k_1]; }>;
|
|
137
140
|
authorization: z.ZodArray<z.ZodObject<{
|
|
138
141
|
actor: z.ZodString;
|
|
139
142
|
permission: z.ZodString;
|
|
@@ -144,10 +147,10 @@ declare const baseActionParser: <T extends z.ZodRawShape>(contract: string, acti
|
|
|
144
147
|
actor: string;
|
|
145
148
|
permission: string;
|
|
146
149
|
}>, "many">;
|
|
147
|
-
}, "strip", z.ZodTypeAny, { [
|
|
150
|
+
}, "strip", z.ZodTypeAny, { [k_2 in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
148
151
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
149
152
|
name: z.ZodLiteral<string>;
|
|
150
|
-
data: z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
153
|
+
data: z.ZodObject<T, "strip", z.ZodTypeAny, { [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; }, { [k_1 in keyof z.baseObjectInputType<T>]: z.baseObjectInputType<T>[k_1]; }>;
|
|
151
154
|
authorization: z.ZodArray<z.ZodObject<{
|
|
152
155
|
actor: z.ZodString;
|
|
153
156
|
permission: z.ZodString;
|
|
@@ -158,10 +161,10 @@ declare const baseActionParser: <T extends z.ZodRawShape>(contract: string, acti
|
|
|
158
161
|
actor: string;
|
|
159
162
|
permission: string;
|
|
160
163
|
}>, "many">;
|
|
161
|
-
}>,
|
|
164
|
+
}>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
162
165
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
163
166
|
name: z.ZodLiteral<string>;
|
|
164
|
-
data: z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
167
|
+
data: z.ZodObject<T, "strip", z.ZodTypeAny, { [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; }, { [k_1 in keyof z.baseObjectInputType<T>]: z.baseObjectInputType<T>[k_1]; }>;
|
|
165
168
|
authorization: z.ZodArray<z.ZodObject<{
|
|
166
169
|
actor: z.ZodString;
|
|
167
170
|
permission: z.ZodString;
|
|
@@ -172,10 +175,10 @@ declare const baseActionParser: <T extends z.ZodRawShape>(contract: string, acti
|
|
|
172
175
|
actor: string;
|
|
173
176
|
permission: string;
|
|
174
177
|
}>, "many">;
|
|
175
|
-
}>,
|
|
178
|
+
}>, any>[k_2]; }, { [k_1_1 in keyof z.baseObjectInputType<{
|
|
176
179
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
177
180
|
name: z.ZodLiteral<string>;
|
|
178
|
-
data: z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
181
|
+
data: z.ZodObject<T, "strip", z.ZodTypeAny, { [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; }, { [k_1 in keyof z.baseObjectInputType<T>]: z.baseObjectInputType<T>[k_1]; }>;
|
|
179
182
|
authorization: z.ZodArray<z.ZodObject<{
|
|
180
183
|
actor: z.ZodString;
|
|
181
184
|
permission: z.ZodString;
|
|
@@ -189,7 +192,7 @@ declare const baseActionParser: <T extends z.ZodRawShape>(contract: string, acti
|
|
|
189
192
|
}>]: z.baseObjectInputType<{
|
|
190
193
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
191
194
|
name: z.ZodLiteral<string>;
|
|
192
|
-
data: z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
195
|
+
data: z.ZodObject<T, "strip", z.ZodTypeAny, { [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; }, { [k_1 in keyof z.baseObjectInputType<T>]: z.baseObjectInputType<T>[k_1]; }>;
|
|
193
196
|
authorization: z.ZodArray<z.ZodObject<{
|
|
194
197
|
actor: z.ZodString;
|
|
195
198
|
permission: z.ZodString;
|
|
@@ -200,11 +203,11 @@ declare const baseActionParser: <T extends z.ZodRawShape>(contract: string, acti
|
|
|
200
203
|
actor: string;
|
|
201
204
|
permission: string;
|
|
202
205
|
}>, "many">;
|
|
203
|
-
}>[
|
|
206
|
+
}>[k_1_1]; }>;
|
|
204
207
|
declare const baseActionSerializedParser: <T extends z.ZodRawShape>(contract: string, action: string, data: T) => z.ZodObject<{
|
|
205
208
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
206
209
|
name: z.ZodLiteral<string>;
|
|
207
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
210
|
+
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; }, { [k_1 in keyof z.baseObjectInputType<T>]: z.baseObjectInputType<T>[k_1]; }>]>;
|
|
208
211
|
authorization: z.ZodArray<z.ZodObject<{
|
|
209
212
|
actor: z.ZodString;
|
|
210
213
|
permission: z.ZodString;
|
|
@@ -215,10 +218,10 @@ declare const baseActionSerializedParser: <T extends z.ZodRawShape>(contract: st
|
|
|
215
218
|
actor: string;
|
|
216
219
|
permission: string;
|
|
217
220
|
}>, "many">;
|
|
218
|
-
}, "strip", z.ZodTypeAny, { [
|
|
221
|
+
}, "strip", z.ZodTypeAny, { [k_2 in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
219
222
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
220
223
|
name: z.ZodLiteral<string>;
|
|
221
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
224
|
+
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; }, { [k_1 in keyof z.baseObjectInputType<T>]: z.baseObjectInputType<T>[k_1]; }>]>;
|
|
222
225
|
authorization: z.ZodArray<z.ZodObject<{
|
|
223
226
|
actor: z.ZodString;
|
|
224
227
|
permission: z.ZodString;
|
|
@@ -229,10 +232,10 @@ declare const baseActionSerializedParser: <T extends z.ZodRawShape>(contract: st
|
|
|
229
232
|
actor: string;
|
|
230
233
|
permission: string;
|
|
231
234
|
}>, "many">;
|
|
232
|
-
}>,
|
|
235
|
+
}>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
233
236
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
234
237
|
name: z.ZodLiteral<string>;
|
|
235
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
238
|
+
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; }, { [k_1 in keyof z.baseObjectInputType<T>]: z.baseObjectInputType<T>[k_1]; }>]>;
|
|
236
239
|
authorization: z.ZodArray<z.ZodObject<{
|
|
237
240
|
actor: z.ZodString;
|
|
238
241
|
permission: z.ZodString;
|
|
@@ -243,10 +246,10 @@ declare const baseActionSerializedParser: <T extends z.ZodRawShape>(contract: st
|
|
|
243
246
|
actor: string;
|
|
244
247
|
permission: string;
|
|
245
248
|
}>, "many">;
|
|
246
|
-
}>,
|
|
249
|
+
}>, any>[k_2]; }, { [k_1_1 in keyof z.baseObjectInputType<{
|
|
247
250
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
248
251
|
name: z.ZodLiteral<string>;
|
|
249
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
252
|
+
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; }, { [k_1 in keyof z.baseObjectInputType<T>]: z.baseObjectInputType<T>[k_1]; }>]>;
|
|
250
253
|
authorization: z.ZodArray<z.ZodObject<{
|
|
251
254
|
actor: z.ZodString;
|
|
252
255
|
permission: z.ZodString;
|
|
@@ -260,7 +263,7 @@ declare const baseActionSerializedParser: <T extends z.ZodRawShape>(contract: st
|
|
|
260
263
|
}>]: z.baseObjectInputType<{
|
|
261
264
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
262
265
|
name: z.ZodLiteral<string>;
|
|
263
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
266
|
+
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; }, { [k_1 in keyof z.baseObjectInputType<T>]: z.baseObjectInputType<T>[k_1]; }>]>;
|
|
264
267
|
authorization: z.ZodArray<z.ZodObject<{
|
|
265
268
|
actor: z.ZodString;
|
|
266
269
|
permission: z.ZodString;
|
|
@@ -271,7 +274,7 @@ declare const baseActionSerializedParser: <T extends z.ZodRawShape>(contract: st
|
|
|
271
274
|
actor: string;
|
|
272
275
|
permission: string;
|
|
273
276
|
}>, "many">;
|
|
274
|
-
}>[
|
|
277
|
+
}>[k_1_1]; }>;
|
|
275
278
|
declare const webauthActionParser: <T extends z.ZodRawShape>(contract: string, action: string, data: T) => z.ZodObject<{
|
|
276
279
|
account: z.ZodLiteral<"webauthn">;
|
|
277
280
|
name: z.ZodLiteral<"exec">;
|
|
@@ -329,7 +332,7 @@ declare const webauthActionParser: <T extends z.ZodRawShape>(contract: string, a
|
|
|
329
332
|
auth_data: string;
|
|
330
333
|
client_json: string;
|
|
331
334
|
}>;
|
|
332
|
-
trx: z.ZodObject<{
|
|
335
|
+
trx: z.ZodObject<z.objectUtil.extendShape<{
|
|
333
336
|
expiration: z.ZodString;
|
|
334
337
|
ref_block_num: z.ZodNumber;
|
|
335
338
|
ref_block_prefix: z.ZodNumber;
|
|
@@ -371,10 +374,11 @@ declare const webauthActionParser: <T extends z.ZodRawShape>(contract: string, a
|
|
|
371
374
|
hex_data?: string | undefined;
|
|
372
375
|
}>, "many">;
|
|
373
376
|
transaction_extensions: z.ZodArray<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">>, "many">;
|
|
377
|
+
}, {
|
|
374
378
|
actions: z.ZodArray<z.ZodObject<{
|
|
375
379
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
376
380
|
name: z.ZodLiteral<string>;
|
|
377
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
381
|
+
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; }, { [k_1 in keyof z.baseObjectInputType<T>]: z.baseObjectInputType<T>[k_1]; }>]>;
|
|
378
382
|
authorization: z.ZodArray<z.ZodObject<{
|
|
379
383
|
actor: z.ZodString;
|
|
380
384
|
permission: z.ZodString;
|
|
@@ -385,10 +389,10 @@ declare const webauthActionParser: <T extends z.ZodRawShape>(contract: string, a
|
|
|
385
389
|
actor: string;
|
|
386
390
|
permission: string;
|
|
387
391
|
}>, "many">;
|
|
388
|
-
}, "strip", z.ZodTypeAny, { [
|
|
392
|
+
}, "strip", z.ZodTypeAny, { [k_2 in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
389
393
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
390
394
|
name: z.ZodLiteral<string>;
|
|
391
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
395
|
+
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; }, { [k_1 in keyof z.baseObjectInputType<T>]: z.baseObjectInputType<T>[k_1]; }>]>;
|
|
392
396
|
authorization: z.ZodArray<z.ZodObject<{
|
|
393
397
|
actor: z.ZodString;
|
|
394
398
|
permission: z.ZodString;
|
|
@@ -399,10 +403,10 @@ declare const webauthActionParser: <T extends z.ZodRawShape>(contract: string, a
|
|
|
399
403
|
actor: string;
|
|
400
404
|
permission: string;
|
|
401
405
|
}>, "many">;
|
|
402
|
-
}>,
|
|
406
|
+
}>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
403
407
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
404
408
|
name: z.ZodLiteral<string>;
|
|
405
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
409
|
+
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; }, { [k_1 in keyof z.baseObjectInputType<T>]: z.baseObjectInputType<T>[k_1]; }>]>;
|
|
406
410
|
authorization: z.ZodArray<z.ZodObject<{
|
|
407
411
|
actor: z.ZodString;
|
|
408
412
|
permission: z.ZodString;
|
|
@@ -413,10 +417,10 @@ declare const webauthActionParser: <T extends z.ZodRawShape>(contract: string, a
|
|
|
413
417
|
actor: string;
|
|
414
418
|
permission: string;
|
|
415
419
|
}>, "many">;
|
|
416
|
-
}>,
|
|
420
|
+
}>, any>[k_2]; }, { [k_1_1 in keyof z.baseObjectInputType<{
|
|
417
421
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
418
422
|
name: z.ZodLiteral<string>;
|
|
419
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
423
|
+
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; }, { [k_1 in keyof z.baseObjectInputType<T>]: z.baseObjectInputType<T>[k_1]; }>]>;
|
|
420
424
|
authorization: z.ZodArray<z.ZodObject<{
|
|
421
425
|
actor: z.ZodString;
|
|
422
426
|
permission: z.ZodString;
|
|
@@ -430,7 +434,7 @@ declare const webauthActionParser: <T extends z.ZodRawShape>(contract: string, a
|
|
|
430
434
|
}>]: z.baseObjectInputType<{
|
|
431
435
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
432
436
|
name: z.ZodLiteral<string>;
|
|
433
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
437
|
+
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; }, { [k_1 in keyof z.baseObjectInputType<T>]: z.baseObjectInputType<T>[k_1]; }>]>;
|
|
434
438
|
authorization: z.ZodArray<z.ZodObject<{
|
|
435
439
|
actor: z.ZodString;
|
|
436
440
|
permission: z.ZodString;
|
|
@@ -441,8 +445,8 @@ declare const webauthActionParser: <T extends z.ZodRawShape>(contract: string, a
|
|
|
441
445
|
actor: string;
|
|
442
446
|
permission: string;
|
|
443
447
|
}>, "many">;
|
|
444
|
-
}>[
|
|
445
|
-
}
|
|
448
|
+
}>[k_1_1]; }>, "many">;
|
|
449
|
+
}>, "strip", z.ZodTypeAny, {
|
|
446
450
|
expiration: string;
|
|
447
451
|
ref_block_num: number;
|
|
448
452
|
ref_block_prefix: number;
|
|
@@ -460,10 +464,10 @@ declare const webauthActionParser: <T extends z.ZodRawShape>(contract: string, a
|
|
|
460
464
|
hex_data?: string | undefined;
|
|
461
465
|
}[];
|
|
462
466
|
transaction_extensions: ((string | number)[] | undefined)[];
|
|
463
|
-
actions: { [
|
|
467
|
+
actions: { [k_2 in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
464
468
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
465
469
|
name: z.ZodLiteral<string>;
|
|
466
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
470
|
+
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; }, { [k_1 in keyof z.baseObjectInputType<T>]: z.baseObjectInputType<T>[k_1]; }>]>;
|
|
467
471
|
authorization: z.ZodArray<z.ZodObject<{
|
|
468
472
|
actor: z.ZodString;
|
|
469
473
|
permission: z.ZodString;
|
|
@@ -474,10 +478,10 @@ declare const webauthActionParser: <T extends z.ZodRawShape>(contract: string, a
|
|
|
474
478
|
actor: string;
|
|
475
479
|
permission: string;
|
|
476
480
|
}>, "many">;
|
|
477
|
-
}>,
|
|
481
|
+
}>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
478
482
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
479
483
|
name: z.ZodLiteral<string>;
|
|
480
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
484
|
+
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; }, { [k_1 in keyof z.baseObjectInputType<T>]: z.baseObjectInputType<T>[k_1]; }>]>;
|
|
481
485
|
authorization: z.ZodArray<z.ZodObject<{
|
|
482
486
|
actor: z.ZodString;
|
|
483
487
|
permission: z.ZodString;
|
|
@@ -488,7 +492,7 @@ declare const webauthActionParser: <T extends z.ZodRawShape>(contract: string, a
|
|
|
488
492
|
actor: string;
|
|
489
493
|
permission: string;
|
|
490
494
|
}>, "many">;
|
|
491
|
-
}>,
|
|
495
|
+
}>, any>[k_2]; }[];
|
|
492
496
|
}, {
|
|
493
497
|
expiration: string;
|
|
494
498
|
ref_block_num: number;
|
|
@@ -507,10 +511,10 @@ declare const webauthActionParser: <T extends z.ZodRawShape>(contract: string, a
|
|
|
507
511
|
hex_data?: string | undefined;
|
|
508
512
|
}[];
|
|
509
513
|
transaction_extensions: ((string | number)[] | undefined)[];
|
|
510
|
-
actions: { [
|
|
514
|
+
actions: { [k_1_1 in keyof z.baseObjectInputType<{
|
|
511
515
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
512
516
|
name: z.ZodLiteral<string>;
|
|
513
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
517
|
+
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; }, { [k_1 in keyof z.baseObjectInputType<T>]: z.baseObjectInputType<T>[k_1]; }>]>;
|
|
514
518
|
authorization: z.ZodArray<z.ZodObject<{
|
|
515
519
|
actor: z.ZodString;
|
|
516
520
|
permission: z.ZodString;
|
|
@@ -524,7 +528,7 @@ declare const webauthActionParser: <T extends z.ZodRawShape>(contract: string, a
|
|
|
524
528
|
}>]: z.baseObjectInputType<{
|
|
525
529
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
526
530
|
name: z.ZodLiteral<string>;
|
|
527
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
531
|
+
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; }, { [k_1 in keyof z.baseObjectInputType<T>]: z.baseObjectInputType<T>[k_1]; }>]>;
|
|
528
532
|
authorization: z.ZodArray<z.ZodObject<{
|
|
529
533
|
actor: z.ZodString;
|
|
530
534
|
permission: z.ZodString;
|
|
@@ -535,7 +539,7 @@ declare const webauthActionParser: <T extends z.ZodRawShape>(contract: string, a
|
|
|
535
539
|
actor: string;
|
|
536
540
|
permission: string;
|
|
537
541
|
}>, "many">;
|
|
538
|
-
}>[
|
|
542
|
+
}>[k_1_1]; }[];
|
|
539
543
|
}>;
|
|
540
544
|
}, "strip", z.ZodTypeAny, {
|
|
541
545
|
account: string;
|
|
@@ -575,10 +579,10 @@ declare const webauthActionParser: <T extends z.ZodRawShape>(contract: string, a
|
|
|
575
579
|
hex_data?: string | undefined;
|
|
576
580
|
}[];
|
|
577
581
|
transaction_extensions: ((string | number)[] | undefined)[];
|
|
578
|
-
actions: { [
|
|
582
|
+
actions: { [k_2 in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
579
583
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
580
584
|
name: z.ZodLiteral<string>;
|
|
581
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
585
|
+
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; }, { [k_1 in keyof z.baseObjectInputType<T>]: z.baseObjectInputType<T>[k_1]; }>]>;
|
|
582
586
|
authorization: z.ZodArray<z.ZodObject<{
|
|
583
587
|
actor: z.ZodString;
|
|
584
588
|
permission: z.ZodString;
|
|
@@ -589,10 +593,10 @@ declare const webauthActionParser: <T extends z.ZodRawShape>(contract: string, a
|
|
|
589
593
|
actor: string;
|
|
590
594
|
permission: string;
|
|
591
595
|
}>, "many">;
|
|
592
|
-
}>,
|
|
596
|
+
}>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
593
597
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
594
598
|
name: z.ZodLiteral<string>;
|
|
595
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
599
|
+
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; }, { [k_1 in keyof z.baseObjectInputType<T>]: z.baseObjectInputType<T>[k_1]; }>]>;
|
|
596
600
|
authorization: z.ZodArray<z.ZodObject<{
|
|
597
601
|
actor: z.ZodString;
|
|
598
602
|
permission: z.ZodString;
|
|
@@ -603,7 +607,7 @@ declare const webauthActionParser: <T extends z.ZodRawShape>(contract: string, a
|
|
|
603
607
|
actor: string;
|
|
604
608
|
permission: string;
|
|
605
609
|
}>, "many">;
|
|
606
|
-
}>,
|
|
610
|
+
}>, any>[k_2]; }[];
|
|
607
611
|
};
|
|
608
612
|
}, {
|
|
609
613
|
account: string;
|
|
@@ -643,10 +647,10 @@ declare const webauthActionParser: <T extends z.ZodRawShape>(contract: string, a
|
|
|
643
647
|
hex_data?: string | undefined;
|
|
644
648
|
}[];
|
|
645
649
|
transaction_extensions: ((string | number)[] | undefined)[];
|
|
646
|
-
actions: { [
|
|
650
|
+
actions: { [k_1_1 in keyof z.baseObjectInputType<{
|
|
647
651
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
648
652
|
name: z.ZodLiteral<string>;
|
|
649
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
653
|
+
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; }, { [k_1 in keyof z.baseObjectInputType<T>]: z.baseObjectInputType<T>[k_1]; }>]>;
|
|
650
654
|
authorization: z.ZodArray<z.ZodObject<{
|
|
651
655
|
actor: z.ZodString;
|
|
652
656
|
permission: z.ZodString;
|
|
@@ -660,7 +664,7 @@ declare const webauthActionParser: <T extends z.ZodRawShape>(contract: string, a
|
|
|
660
664
|
}>]: z.baseObjectInputType<{
|
|
661
665
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
662
666
|
name: z.ZodLiteral<string>;
|
|
663
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
667
|
+
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; }, { [k_1 in keyof z.baseObjectInputType<T>]: z.baseObjectInputType<T>[k_1]; }>]>;
|
|
664
668
|
authorization: z.ZodArray<z.ZodObject<{
|
|
665
669
|
actor: z.ZodString;
|
|
666
670
|
permission: z.ZodString;
|
|
@@ -671,7 +675,7 @@ declare const webauthActionParser: <T extends z.ZodRawShape>(contract: string, a
|
|
|
671
675
|
actor: string;
|
|
672
676
|
permission: string;
|
|
673
677
|
}>, "many">;
|
|
674
|
-
}>[
|
|
678
|
+
}>[k_1_1]; }[];
|
|
675
679
|
};
|
|
676
680
|
}>;
|
|
677
681
|
authorization: z.ZodArray<z.ZodObject<{
|
|
@@ -729,10 +733,10 @@ declare const webauthActionParser: <T extends z.ZodRawShape>(contract: string, a
|
|
|
729
733
|
hex_data?: string | undefined;
|
|
730
734
|
}[];
|
|
731
735
|
transaction_extensions: ((string | number)[] | undefined)[];
|
|
732
|
-
actions: { [
|
|
736
|
+
actions: { [k_2 in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
733
737
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
734
738
|
name: z.ZodLiteral<string>;
|
|
735
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
739
|
+
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; }, { [k_1 in keyof z.baseObjectInputType<T>]: z.baseObjectInputType<T>[k_1]; }>]>;
|
|
736
740
|
authorization: z.ZodArray<z.ZodObject<{
|
|
737
741
|
actor: z.ZodString;
|
|
738
742
|
permission: z.ZodString;
|
|
@@ -743,10 +747,10 @@ declare const webauthActionParser: <T extends z.ZodRawShape>(contract: string, a
|
|
|
743
747
|
actor: string;
|
|
744
748
|
permission: string;
|
|
745
749
|
}>, "many">;
|
|
746
|
-
}>,
|
|
750
|
+
}>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
747
751
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
748
752
|
name: z.ZodLiteral<string>;
|
|
749
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
753
|
+
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; }, { [k_1 in keyof z.baseObjectInputType<T>]: z.baseObjectInputType<T>[k_1]; }>]>;
|
|
750
754
|
authorization: z.ZodArray<z.ZodObject<{
|
|
751
755
|
actor: z.ZodString;
|
|
752
756
|
permission: z.ZodString;
|
|
@@ -757,7 +761,7 @@ declare const webauthActionParser: <T extends z.ZodRawShape>(contract: string, a
|
|
|
757
761
|
actor: string;
|
|
758
762
|
permission: string;
|
|
759
763
|
}>, "many">;
|
|
760
|
-
}>,
|
|
764
|
+
}>, any>[k_2]; }[];
|
|
761
765
|
};
|
|
762
766
|
};
|
|
763
767
|
}, {
|
|
@@ -805,10 +809,10 @@ declare const webauthActionParser: <T extends z.ZodRawShape>(contract: string, a
|
|
|
805
809
|
hex_data?: string | undefined;
|
|
806
810
|
}[];
|
|
807
811
|
transaction_extensions: ((string | number)[] | undefined)[];
|
|
808
|
-
actions: { [
|
|
812
|
+
actions: { [k_1_1 in keyof z.baseObjectInputType<{
|
|
809
813
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
810
814
|
name: z.ZodLiteral<string>;
|
|
811
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
815
|
+
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; }, { [k_1 in keyof z.baseObjectInputType<T>]: z.baseObjectInputType<T>[k_1]; }>]>;
|
|
812
816
|
authorization: z.ZodArray<z.ZodObject<{
|
|
813
817
|
actor: z.ZodString;
|
|
814
818
|
permission: z.ZodString;
|
|
@@ -822,7 +826,7 @@ declare const webauthActionParser: <T extends z.ZodRawShape>(contract: string, a
|
|
|
822
826
|
}>]: z.baseObjectInputType<{
|
|
823
827
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
824
828
|
name: z.ZodLiteral<string>;
|
|
825
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
829
|
+
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; }, { [k_1 in keyof z.baseObjectInputType<T>]: z.baseObjectInputType<T>[k_1]; }>]>;
|
|
826
830
|
authorization: z.ZodArray<z.ZodObject<{
|
|
827
831
|
actor: z.ZodString;
|
|
828
832
|
permission: z.ZodString;
|
|
@@ -833,11 +837,11 @@ declare const webauthActionParser: <T extends z.ZodRawShape>(contract: string, a
|
|
|
833
837
|
actor: string;
|
|
834
838
|
permission: string;
|
|
835
839
|
}>, "many">;
|
|
836
|
-
}>[
|
|
840
|
+
}>[k_1_1]; }[];
|
|
837
841
|
};
|
|
838
842
|
};
|
|
839
843
|
}>;
|
|
840
|
-
declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract: string, action: string, data: T) => z.ZodObject<{
|
|
844
|
+
declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract: string, action: string, data: T) => z.ZodObject<z.objectUtil.extendShape<{
|
|
841
845
|
expiration: z.ZodString;
|
|
842
846
|
ref_block_num: z.ZodNumber;
|
|
843
847
|
ref_block_prefix: z.ZodNumber;
|
|
@@ -879,10 +883,11 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
879
883
|
hex_data?: string | undefined;
|
|
880
884
|
}>, "many">;
|
|
881
885
|
transaction_extensions: z.ZodArray<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">>, "many">;
|
|
886
|
+
}, {
|
|
882
887
|
actions: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
883
888
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
884
889
|
name: z.ZodLiteral<string>;
|
|
885
|
-
data: z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
890
|
+
data: z.ZodObject<T, "strip", z.ZodTypeAny, { [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; }, { [k_1 in keyof z.baseObjectInputType<T>]: z.baseObjectInputType<T>[k_1]; }>;
|
|
886
891
|
authorization: z.ZodArray<z.ZodObject<{
|
|
887
892
|
actor: z.ZodString;
|
|
888
893
|
permission: z.ZodString;
|
|
@@ -893,10 +898,10 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
893
898
|
actor: string;
|
|
894
899
|
permission: string;
|
|
895
900
|
}>, "many">;
|
|
896
|
-
}, "strip", z.ZodTypeAny, { [
|
|
901
|
+
}, "strip", z.ZodTypeAny, { [k_2 in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
897
902
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
898
903
|
name: z.ZodLiteral<string>;
|
|
899
|
-
data: z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
904
|
+
data: z.ZodObject<T, "strip", z.ZodTypeAny, { [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; }, { [k_1 in keyof z.baseObjectInputType<T>]: z.baseObjectInputType<T>[k_1]; }>;
|
|
900
905
|
authorization: z.ZodArray<z.ZodObject<{
|
|
901
906
|
actor: z.ZodString;
|
|
902
907
|
permission: z.ZodString;
|
|
@@ -907,10 +912,10 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
907
912
|
actor: string;
|
|
908
913
|
permission: string;
|
|
909
914
|
}>, "many">;
|
|
910
|
-
}>,
|
|
915
|
+
}>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
911
916
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
912
917
|
name: z.ZodLiteral<string>;
|
|
913
|
-
data: z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
918
|
+
data: z.ZodObject<T, "strip", z.ZodTypeAny, { [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; }, { [k_1 in keyof z.baseObjectInputType<T>]: z.baseObjectInputType<T>[k_1]; }>;
|
|
914
919
|
authorization: z.ZodArray<z.ZodObject<{
|
|
915
920
|
actor: z.ZodString;
|
|
916
921
|
permission: z.ZodString;
|
|
@@ -921,10 +926,10 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
921
926
|
actor: string;
|
|
922
927
|
permission: string;
|
|
923
928
|
}>, "many">;
|
|
924
|
-
}>,
|
|
929
|
+
}>, any>[k_2]; }, { [k_1_1 in keyof z.baseObjectInputType<{
|
|
925
930
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
926
931
|
name: z.ZodLiteral<string>;
|
|
927
|
-
data: z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
932
|
+
data: z.ZodObject<T, "strip", z.ZodTypeAny, { [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; }, { [k_1 in keyof z.baseObjectInputType<T>]: z.baseObjectInputType<T>[k_1]; }>;
|
|
928
933
|
authorization: z.ZodArray<z.ZodObject<{
|
|
929
934
|
actor: z.ZodString;
|
|
930
935
|
permission: z.ZodString;
|
|
@@ -938,7 +943,7 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
938
943
|
}>]: z.baseObjectInputType<{
|
|
939
944
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
940
945
|
name: z.ZodLiteral<string>;
|
|
941
|
-
data: z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
946
|
+
data: z.ZodObject<T, "strip", z.ZodTypeAny, { [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; }, { [k_1 in keyof z.baseObjectInputType<T>]: z.baseObjectInputType<T>[k_1]; }>;
|
|
942
947
|
authorization: z.ZodArray<z.ZodObject<{
|
|
943
948
|
actor: z.ZodString;
|
|
944
949
|
permission: z.ZodString;
|
|
@@ -949,7 +954,7 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
949
954
|
actor: string;
|
|
950
955
|
permission: string;
|
|
951
956
|
}>, "many">;
|
|
952
|
-
}>[
|
|
957
|
+
}>[k_1_1]; }>, z.ZodObject<{
|
|
953
958
|
account: z.ZodLiteral<"webauthn">;
|
|
954
959
|
name: z.ZodLiteral<"exec">;
|
|
955
960
|
data: z.ZodObject<{
|
|
@@ -1006,7 +1011,7 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1006
1011
|
auth_data: string;
|
|
1007
1012
|
client_json: string;
|
|
1008
1013
|
}>;
|
|
1009
|
-
trx: z.ZodObject<{
|
|
1014
|
+
trx: z.ZodObject<z.objectUtil.extendShape<{
|
|
1010
1015
|
expiration: z.ZodString;
|
|
1011
1016
|
ref_block_num: z.ZodNumber;
|
|
1012
1017
|
ref_block_prefix: z.ZodNumber;
|
|
@@ -1048,10 +1053,11 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1048
1053
|
hex_data?: string | undefined;
|
|
1049
1054
|
}>, "many">;
|
|
1050
1055
|
transaction_extensions: z.ZodArray<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">>, "many">;
|
|
1056
|
+
}, {
|
|
1051
1057
|
actions: z.ZodArray<z.ZodObject<{
|
|
1052
1058
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
1053
1059
|
name: z.ZodLiteral<string>;
|
|
1054
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
1060
|
+
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; }, { [k_1 in keyof z.baseObjectInputType<T>]: z.baseObjectInputType<T>[k_1]; }>]>;
|
|
1055
1061
|
authorization: z.ZodArray<z.ZodObject<{
|
|
1056
1062
|
actor: z.ZodString;
|
|
1057
1063
|
permission: z.ZodString;
|
|
@@ -1062,10 +1068,10 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1062
1068
|
actor: string;
|
|
1063
1069
|
permission: string;
|
|
1064
1070
|
}>, "many">;
|
|
1065
|
-
}, "strip", z.ZodTypeAny, { [
|
|
1071
|
+
}, "strip", z.ZodTypeAny, { [k_3 in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
1066
1072
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
1067
1073
|
name: z.ZodLiteral<string>;
|
|
1068
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
1074
|
+
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; }, { [k_1 in keyof z.baseObjectInputType<T>]: z.baseObjectInputType<T>[k_1]; }>]>;
|
|
1069
1075
|
authorization: z.ZodArray<z.ZodObject<{
|
|
1070
1076
|
actor: z.ZodString;
|
|
1071
1077
|
permission: z.ZodString;
|
|
@@ -1076,10 +1082,10 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1076
1082
|
actor: string;
|
|
1077
1083
|
permission: string;
|
|
1078
1084
|
}>, "many">;
|
|
1079
|
-
}>,
|
|
1085
|
+
}>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
1080
1086
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
1081
1087
|
name: z.ZodLiteral<string>;
|
|
1082
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
1088
|
+
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; }, { [k_1 in keyof z.baseObjectInputType<T>]: z.baseObjectInputType<T>[k_1]; }>]>;
|
|
1083
1089
|
authorization: z.ZodArray<z.ZodObject<{
|
|
1084
1090
|
actor: z.ZodString;
|
|
1085
1091
|
permission: z.ZodString;
|
|
@@ -1090,10 +1096,10 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1090
1096
|
actor: string;
|
|
1091
1097
|
permission: string;
|
|
1092
1098
|
}>, "many">;
|
|
1093
|
-
}>,
|
|
1099
|
+
}>, any>[k_3]; }, { [k_1_2 in keyof z.baseObjectInputType<{
|
|
1094
1100
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
1095
1101
|
name: z.ZodLiteral<string>;
|
|
1096
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
1102
|
+
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; }, { [k_1 in keyof z.baseObjectInputType<T>]: z.baseObjectInputType<T>[k_1]; }>]>;
|
|
1097
1103
|
authorization: z.ZodArray<z.ZodObject<{
|
|
1098
1104
|
actor: z.ZodString;
|
|
1099
1105
|
permission: z.ZodString;
|
|
@@ -1107,7 +1113,7 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1107
1113
|
}>]: z.baseObjectInputType<{
|
|
1108
1114
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
1109
1115
|
name: z.ZodLiteral<string>;
|
|
1110
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
1116
|
+
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; }, { [k_1 in keyof z.baseObjectInputType<T>]: z.baseObjectInputType<T>[k_1]; }>]>;
|
|
1111
1117
|
authorization: z.ZodArray<z.ZodObject<{
|
|
1112
1118
|
actor: z.ZodString;
|
|
1113
1119
|
permission: z.ZodString;
|
|
@@ -1118,8 +1124,8 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1118
1124
|
actor: string;
|
|
1119
1125
|
permission: string;
|
|
1120
1126
|
}>, "many">;
|
|
1121
|
-
}>[
|
|
1122
|
-
}
|
|
1127
|
+
}>[k_1_2]; }>, "many">;
|
|
1128
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1123
1129
|
expiration: string;
|
|
1124
1130
|
ref_block_num: number;
|
|
1125
1131
|
ref_block_prefix: number;
|
|
@@ -1137,10 +1143,10 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1137
1143
|
hex_data?: string | undefined;
|
|
1138
1144
|
}[];
|
|
1139
1145
|
transaction_extensions: ((string | number)[] | undefined)[];
|
|
1140
|
-
actions: { [
|
|
1146
|
+
actions: { [k_3 in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
1141
1147
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
1142
1148
|
name: z.ZodLiteral<string>;
|
|
1143
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
1149
|
+
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; }, { [k_1 in keyof z.baseObjectInputType<T>]: z.baseObjectInputType<T>[k_1]; }>]>;
|
|
1144
1150
|
authorization: z.ZodArray<z.ZodObject<{
|
|
1145
1151
|
actor: z.ZodString;
|
|
1146
1152
|
permission: z.ZodString;
|
|
@@ -1151,10 +1157,10 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1151
1157
|
actor: string;
|
|
1152
1158
|
permission: string;
|
|
1153
1159
|
}>, "many">;
|
|
1154
|
-
}>,
|
|
1160
|
+
}>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
1155
1161
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
1156
1162
|
name: z.ZodLiteral<string>;
|
|
1157
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
1163
|
+
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; }, { [k_1 in keyof z.baseObjectInputType<T>]: z.baseObjectInputType<T>[k_1]; }>]>;
|
|
1158
1164
|
authorization: z.ZodArray<z.ZodObject<{
|
|
1159
1165
|
actor: z.ZodString;
|
|
1160
1166
|
permission: z.ZodString;
|
|
@@ -1165,7 +1171,7 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1165
1171
|
actor: string;
|
|
1166
1172
|
permission: string;
|
|
1167
1173
|
}>, "many">;
|
|
1168
|
-
}>,
|
|
1174
|
+
}>, any>[k_3]; }[];
|
|
1169
1175
|
}, {
|
|
1170
1176
|
expiration: string;
|
|
1171
1177
|
ref_block_num: number;
|
|
@@ -1184,10 +1190,10 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1184
1190
|
hex_data?: string | undefined;
|
|
1185
1191
|
}[];
|
|
1186
1192
|
transaction_extensions: ((string | number)[] | undefined)[];
|
|
1187
|
-
actions: { [
|
|
1193
|
+
actions: { [k_1_2 in keyof z.baseObjectInputType<{
|
|
1188
1194
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
1189
1195
|
name: z.ZodLiteral<string>;
|
|
1190
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
1196
|
+
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; }, { [k_1 in keyof z.baseObjectInputType<T>]: z.baseObjectInputType<T>[k_1]; }>]>;
|
|
1191
1197
|
authorization: z.ZodArray<z.ZodObject<{
|
|
1192
1198
|
actor: z.ZodString;
|
|
1193
1199
|
permission: z.ZodString;
|
|
@@ -1201,7 +1207,7 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1201
1207
|
}>]: z.baseObjectInputType<{
|
|
1202
1208
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
1203
1209
|
name: z.ZodLiteral<string>;
|
|
1204
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
1210
|
+
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; }, { [k_1 in keyof z.baseObjectInputType<T>]: z.baseObjectInputType<T>[k_1]; }>]>;
|
|
1205
1211
|
authorization: z.ZodArray<z.ZodObject<{
|
|
1206
1212
|
actor: z.ZodString;
|
|
1207
1213
|
permission: z.ZodString;
|
|
@@ -1212,7 +1218,7 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1212
1218
|
actor: string;
|
|
1213
1219
|
permission: string;
|
|
1214
1220
|
}>, "many">;
|
|
1215
|
-
}>[
|
|
1221
|
+
}>[k_1_2]; }[];
|
|
1216
1222
|
}>;
|
|
1217
1223
|
}, "strip", z.ZodTypeAny, {
|
|
1218
1224
|
account: string;
|
|
@@ -1252,10 +1258,10 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1252
1258
|
hex_data?: string | undefined;
|
|
1253
1259
|
}[];
|
|
1254
1260
|
transaction_extensions: ((string | number)[] | undefined)[];
|
|
1255
|
-
actions: { [
|
|
1261
|
+
actions: { [k_3 in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
1256
1262
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
1257
1263
|
name: z.ZodLiteral<string>;
|
|
1258
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
1264
|
+
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; }, { [k_1 in keyof z.baseObjectInputType<T>]: z.baseObjectInputType<T>[k_1]; }>]>;
|
|
1259
1265
|
authorization: z.ZodArray<z.ZodObject<{
|
|
1260
1266
|
actor: z.ZodString;
|
|
1261
1267
|
permission: z.ZodString;
|
|
@@ -1266,10 +1272,10 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1266
1272
|
actor: string;
|
|
1267
1273
|
permission: string;
|
|
1268
1274
|
}>, "many">;
|
|
1269
|
-
}>,
|
|
1275
|
+
}>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
1270
1276
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
1271
1277
|
name: z.ZodLiteral<string>;
|
|
1272
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
1278
|
+
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; }, { [k_1 in keyof z.baseObjectInputType<T>]: z.baseObjectInputType<T>[k_1]; }>]>;
|
|
1273
1279
|
authorization: z.ZodArray<z.ZodObject<{
|
|
1274
1280
|
actor: z.ZodString;
|
|
1275
1281
|
permission: z.ZodString;
|
|
@@ -1280,7 +1286,7 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1280
1286
|
actor: string;
|
|
1281
1287
|
permission: string;
|
|
1282
1288
|
}>, "many">;
|
|
1283
|
-
}>,
|
|
1289
|
+
}>, any>[k_3]; }[];
|
|
1284
1290
|
};
|
|
1285
1291
|
}, {
|
|
1286
1292
|
account: string;
|
|
@@ -1320,10 +1326,10 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1320
1326
|
hex_data?: string | undefined;
|
|
1321
1327
|
}[];
|
|
1322
1328
|
transaction_extensions: ((string | number)[] | undefined)[];
|
|
1323
|
-
actions: { [
|
|
1329
|
+
actions: { [k_1_2 in keyof z.baseObjectInputType<{
|
|
1324
1330
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
1325
1331
|
name: z.ZodLiteral<string>;
|
|
1326
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
1332
|
+
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; }, { [k_1 in keyof z.baseObjectInputType<T>]: z.baseObjectInputType<T>[k_1]; }>]>;
|
|
1327
1333
|
authorization: z.ZodArray<z.ZodObject<{
|
|
1328
1334
|
actor: z.ZodString;
|
|
1329
1335
|
permission: z.ZodString;
|
|
@@ -1337,7 +1343,7 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1337
1343
|
}>]: z.baseObjectInputType<{
|
|
1338
1344
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
1339
1345
|
name: z.ZodLiteral<string>;
|
|
1340
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
1346
|
+
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; }, { [k_1 in keyof z.baseObjectInputType<T>]: z.baseObjectInputType<T>[k_1]; }>]>;
|
|
1341
1347
|
authorization: z.ZodArray<z.ZodObject<{
|
|
1342
1348
|
actor: z.ZodString;
|
|
1343
1349
|
permission: z.ZodString;
|
|
@@ -1348,7 +1354,7 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1348
1354
|
actor: string;
|
|
1349
1355
|
permission: string;
|
|
1350
1356
|
}>, "many">;
|
|
1351
|
-
}>[
|
|
1357
|
+
}>[k_1_2]; }[];
|
|
1352
1358
|
};
|
|
1353
1359
|
}>;
|
|
1354
1360
|
authorization: z.ZodArray<z.ZodObject<{
|
|
@@ -1406,10 +1412,10 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1406
1412
|
hex_data?: string | undefined;
|
|
1407
1413
|
}[];
|
|
1408
1414
|
transaction_extensions: ((string | number)[] | undefined)[];
|
|
1409
|
-
actions: { [
|
|
1415
|
+
actions: { [k_3 in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
1410
1416
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
1411
1417
|
name: z.ZodLiteral<string>;
|
|
1412
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
1418
|
+
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; }, { [k_1 in keyof z.baseObjectInputType<T>]: z.baseObjectInputType<T>[k_1]; }>]>;
|
|
1413
1419
|
authorization: z.ZodArray<z.ZodObject<{
|
|
1414
1420
|
actor: z.ZodString;
|
|
1415
1421
|
permission: z.ZodString;
|
|
@@ -1420,10 +1426,10 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1420
1426
|
actor: string;
|
|
1421
1427
|
permission: string;
|
|
1422
1428
|
}>, "many">;
|
|
1423
|
-
}>,
|
|
1429
|
+
}>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
1424
1430
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
1425
1431
|
name: z.ZodLiteral<string>;
|
|
1426
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
1432
|
+
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; }, { [k_1 in keyof z.baseObjectInputType<T>]: z.baseObjectInputType<T>[k_1]; }>]>;
|
|
1427
1433
|
authorization: z.ZodArray<z.ZodObject<{
|
|
1428
1434
|
actor: z.ZodString;
|
|
1429
1435
|
permission: z.ZodString;
|
|
@@ -1434,7 +1440,7 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1434
1440
|
actor: string;
|
|
1435
1441
|
permission: string;
|
|
1436
1442
|
}>, "many">;
|
|
1437
|
-
}>,
|
|
1443
|
+
}>, any>[k_3]; }[];
|
|
1438
1444
|
};
|
|
1439
1445
|
};
|
|
1440
1446
|
}, {
|
|
@@ -1482,10 +1488,10 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1482
1488
|
hex_data?: string | undefined;
|
|
1483
1489
|
}[];
|
|
1484
1490
|
transaction_extensions: ((string | number)[] | undefined)[];
|
|
1485
|
-
actions: { [
|
|
1491
|
+
actions: { [k_1_2 in keyof z.baseObjectInputType<{
|
|
1486
1492
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
1487
1493
|
name: z.ZodLiteral<string>;
|
|
1488
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
1494
|
+
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; }, { [k_1 in keyof z.baseObjectInputType<T>]: z.baseObjectInputType<T>[k_1]; }>]>;
|
|
1489
1495
|
authorization: z.ZodArray<z.ZodObject<{
|
|
1490
1496
|
actor: z.ZodString;
|
|
1491
1497
|
permission: z.ZodString;
|
|
@@ -1499,7 +1505,7 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1499
1505
|
}>]: z.baseObjectInputType<{
|
|
1500
1506
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
1501
1507
|
name: z.ZodLiteral<string>;
|
|
1502
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
1508
|
+
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; }, { [k_1 in keyof z.baseObjectInputType<T>]: z.baseObjectInputType<T>[k_1]; }>]>;
|
|
1503
1509
|
authorization: z.ZodArray<z.ZodObject<{
|
|
1504
1510
|
actor: z.ZodString;
|
|
1505
1511
|
permission: z.ZodString;
|
|
@@ -1510,11 +1516,11 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1510
1516
|
actor: string;
|
|
1511
1517
|
permission: string;
|
|
1512
1518
|
}>, "many">;
|
|
1513
|
-
}>[
|
|
1519
|
+
}>[k_1_2]; }[];
|
|
1514
1520
|
};
|
|
1515
1521
|
};
|
|
1516
1522
|
}>]>, "many">;
|
|
1517
|
-
}
|
|
1523
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1518
1524
|
expiration: string;
|
|
1519
1525
|
ref_block_num: number;
|
|
1520
1526
|
ref_block_prefix: number;
|
|
@@ -1532,10 +1538,10 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1532
1538
|
hex_data?: string | undefined;
|
|
1533
1539
|
}[];
|
|
1534
1540
|
transaction_extensions: ((string | number)[] | undefined)[];
|
|
1535
|
-
actions: ({ [
|
|
1541
|
+
actions: ({ [k_2 in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
1536
1542
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
1537
1543
|
name: z.ZodLiteral<string>;
|
|
1538
|
-
data: z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
1544
|
+
data: z.ZodObject<T, "strip", z.ZodTypeAny, { [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; }, { [k_1 in keyof z.baseObjectInputType<T>]: z.baseObjectInputType<T>[k_1]; }>;
|
|
1539
1545
|
authorization: z.ZodArray<z.ZodObject<{
|
|
1540
1546
|
actor: z.ZodString;
|
|
1541
1547
|
permission: z.ZodString;
|
|
@@ -1546,10 +1552,10 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1546
1552
|
actor: string;
|
|
1547
1553
|
permission: string;
|
|
1548
1554
|
}>, "many">;
|
|
1549
|
-
}>,
|
|
1555
|
+
}>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
1550
1556
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
1551
1557
|
name: z.ZodLiteral<string>;
|
|
1552
|
-
data: z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
1558
|
+
data: z.ZodObject<T, "strip", z.ZodTypeAny, { [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; }, { [k_1 in keyof z.baseObjectInputType<T>]: z.baseObjectInputType<T>[k_1]; }>;
|
|
1553
1559
|
authorization: z.ZodArray<z.ZodObject<{
|
|
1554
1560
|
actor: z.ZodString;
|
|
1555
1561
|
permission: z.ZodString;
|
|
@@ -1560,7 +1566,7 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1560
1566
|
actor: string;
|
|
1561
1567
|
permission: string;
|
|
1562
1568
|
}>, "many">;
|
|
1563
|
-
}>,
|
|
1569
|
+
}>, any>[k_2]; } | {
|
|
1564
1570
|
account: "webauthn";
|
|
1565
1571
|
name: "exec";
|
|
1566
1572
|
authorization: {
|
|
@@ -1605,10 +1611,10 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1605
1611
|
hex_data?: string | undefined;
|
|
1606
1612
|
}[];
|
|
1607
1613
|
transaction_extensions: ((string | number)[] | undefined)[];
|
|
1608
|
-
actions: { [
|
|
1614
|
+
actions: { [k_3 in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
1609
1615
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
1610
1616
|
name: z.ZodLiteral<string>;
|
|
1611
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
1617
|
+
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; }, { [k_1 in keyof z.baseObjectInputType<T>]: z.baseObjectInputType<T>[k_1]; }>]>;
|
|
1612
1618
|
authorization: z.ZodArray<z.ZodObject<{
|
|
1613
1619
|
actor: z.ZodString;
|
|
1614
1620
|
permission: z.ZodString;
|
|
@@ -1619,10 +1625,10 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1619
1625
|
actor: string;
|
|
1620
1626
|
permission: string;
|
|
1621
1627
|
}>, "many">;
|
|
1622
|
-
}>,
|
|
1628
|
+
}>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
1623
1629
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
1624
1630
|
name: z.ZodLiteral<string>;
|
|
1625
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
1631
|
+
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; }, { [k_1 in keyof z.baseObjectInputType<T>]: z.baseObjectInputType<T>[k_1]; }>]>;
|
|
1626
1632
|
authorization: z.ZodArray<z.ZodObject<{
|
|
1627
1633
|
actor: z.ZodString;
|
|
1628
1634
|
permission: z.ZodString;
|
|
@@ -1633,7 +1639,7 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1633
1639
|
actor: string;
|
|
1634
1640
|
permission: string;
|
|
1635
1641
|
}>, "many">;
|
|
1636
|
-
}>,
|
|
1642
|
+
}>, any>[k_3]; }[];
|
|
1637
1643
|
};
|
|
1638
1644
|
};
|
|
1639
1645
|
})[];
|
|
@@ -1655,10 +1661,10 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1655
1661
|
hex_data?: string | undefined;
|
|
1656
1662
|
}[];
|
|
1657
1663
|
transaction_extensions: ((string | number)[] | undefined)[];
|
|
1658
|
-
actions: ({ [
|
|
1664
|
+
actions: ({ [k_1_1 in keyof z.baseObjectInputType<{
|
|
1659
1665
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
1660
1666
|
name: z.ZodLiteral<string>;
|
|
1661
|
-
data: z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
1667
|
+
data: z.ZodObject<T, "strip", z.ZodTypeAny, { [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; }, { [k_1 in keyof z.baseObjectInputType<T>]: z.baseObjectInputType<T>[k_1]; }>;
|
|
1662
1668
|
authorization: z.ZodArray<z.ZodObject<{
|
|
1663
1669
|
actor: z.ZodString;
|
|
1664
1670
|
permission: z.ZodString;
|
|
@@ -1672,7 +1678,7 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1672
1678
|
}>]: z.baseObjectInputType<{
|
|
1673
1679
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
1674
1680
|
name: z.ZodLiteral<string>;
|
|
1675
|
-
data: z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
1681
|
+
data: z.ZodObject<T, "strip", z.ZodTypeAny, { [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; }, { [k_1 in keyof z.baseObjectInputType<T>]: z.baseObjectInputType<T>[k_1]; }>;
|
|
1676
1682
|
authorization: z.ZodArray<z.ZodObject<{
|
|
1677
1683
|
actor: z.ZodString;
|
|
1678
1684
|
permission: z.ZodString;
|
|
@@ -1683,7 +1689,7 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1683
1689
|
actor: string;
|
|
1684
1690
|
permission: string;
|
|
1685
1691
|
}>, "many">;
|
|
1686
|
-
}>[
|
|
1692
|
+
}>[k_1_1]; } | {
|
|
1687
1693
|
account: "webauthn";
|
|
1688
1694
|
name: "exec";
|
|
1689
1695
|
authorization: {
|
|
@@ -1728,10 +1734,10 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1728
1734
|
hex_data?: string | undefined;
|
|
1729
1735
|
}[];
|
|
1730
1736
|
transaction_extensions: ((string | number)[] | undefined)[];
|
|
1731
|
-
actions: { [
|
|
1737
|
+
actions: { [k_1_2 in keyof z.baseObjectInputType<{
|
|
1732
1738
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
1733
1739
|
name: z.ZodLiteral<string>;
|
|
1734
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
1740
|
+
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; }, { [k_1 in keyof z.baseObjectInputType<T>]: z.baseObjectInputType<T>[k_1]; }>]>;
|
|
1735
1741
|
authorization: z.ZodArray<z.ZodObject<{
|
|
1736
1742
|
actor: z.ZodString;
|
|
1737
1743
|
permission: z.ZodString;
|
|
@@ -1745,7 +1751,7 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1745
1751
|
}>]: z.baseObjectInputType<{
|
|
1746
1752
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
1747
1753
|
name: z.ZodLiteral<string>;
|
|
1748
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
1754
|
+
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; }, { [k_1 in keyof z.baseObjectInputType<T>]: z.baseObjectInputType<T>[k_1]; }>]>;
|
|
1749
1755
|
authorization: z.ZodArray<z.ZodObject<{
|
|
1750
1756
|
actor: z.ZodString;
|
|
1751
1757
|
permission: z.ZodString;
|
|
@@ -1756,7 +1762,7 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1756
1762
|
actor: string;
|
|
1757
1763
|
permission: string;
|
|
1758
1764
|
}>, "many">;
|
|
1759
|
-
}>[
|
|
1765
|
+
}>[k_1_2]; }[];
|
|
1760
1766
|
};
|
|
1761
1767
|
};
|
|
1762
1768
|
})[];
|
|
@@ -1781,10 +1787,11 @@ declare const addressParser: z.ZodObject<{
|
|
|
1781
1787
|
address: string;
|
|
1782
1788
|
address_hash: string;
|
|
1783
1789
|
}>;
|
|
1784
|
-
|
|
1785
|
-
declare const generateAddressBodyParser: z.ZodObject<{
|
|
1790
|
+
type Address = z.infer<typeof addressParser>;
|
|
1791
|
+
declare const generateAddressBodyParser: z.ZodObject<z.objectUtil.extendShape<{
|
|
1786
1792
|
coin: z.ZodString;
|
|
1787
1793
|
wallet: z.ZodString;
|
|
1794
|
+
}, {
|
|
1788
1795
|
signer: z.ZodObject<{
|
|
1789
1796
|
actor: z.ZodString;
|
|
1790
1797
|
permission: z.ZodString;
|
|
@@ -1796,7 +1803,7 @@ declare const generateAddressBodyParser: z.ZodObject<{
|
|
|
1796
1803
|
permission: string;
|
|
1797
1804
|
}>;
|
|
1798
1805
|
signatures: z.ZodArray<z.ZodString, "many">;
|
|
1799
|
-
transaction: z.ZodObject<{
|
|
1806
|
+
transaction: z.ZodObject<z.objectUtil.extendShape<{
|
|
1800
1807
|
expiration: z.ZodString;
|
|
1801
1808
|
ref_block_num: z.ZodNumber;
|
|
1802
1809
|
ref_block_prefix: z.ZodNumber;
|
|
@@ -1838,6 +1845,7 @@ declare const generateAddressBodyParser: z.ZodObject<{
|
|
|
1838
1845
|
hex_data?: string | undefined;
|
|
1839
1846
|
}>, "many">;
|
|
1840
1847
|
transaction_extensions: z.ZodArray<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">>, "many">;
|
|
1848
|
+
}, {
|
|
1841
1849
|
actions: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
1842
1850
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
1843
1851
|
name: z.ZodLiteral<string>;
|
|
@@ -1933,7 +1941,7 @@ declare const generateAddressBodyParser: z.ZodObject<{
|
|
|
1933
1941
|
auth_data: string;
|
|
1934
1942
|
client_json: string;
|
|
1935
1943
|
}>;
|
|
1936
|
-
trx: z.ZodObject<{
|
|
1944
|
+
trx: z.ZodObject<z.objectUtil.extendShape<{
|
|
1937
1945
|
expiration: z.ZodString;
|
|
1938
1946
|
ref_block_num: z.ZodNumber;
|
|
1939
1947
|
ref_block_prefix: z.ZodNumber;
|
|
@@ -1975,6 +1983,7 @@ declare const generateAddressBodyParser: z.ZodObject<{
|
|
|
1975
1983
|
hex_data?: string | undefined;
|
|
1976
1984
|
}>, "many">;
|
|
1977
1985
|
transaction_extensions: z.ZodArray<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">>, "many">;
|
|
1986
|
+
}, {
|
|
1978
1987
|
actions: z.ZodArray<z.ZodObject<{
|
|
1979
1988
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
1980
1989
|
name: z.ZodLiteral<string>;
|
|
@@ -2000,11 +2009,9 @@ declare const generateAddressBodyParser: z.ZodObject<{
|
|
|
2000
2009
|
actor: string;
|
|
2001
2010
|
permission: string;
|
|
2002
2011
|
}[];
|
|
2003
|
-
data:
|
|
2012
|
+
data: string | {
|
|
2004
2013
|
[x: string]: any;
|
|
2005
|
-
}
|
|
2006
|
-
[x: string]: any;
|
|
2007
|
-
} | undefined);
|
|
2014
|
+
};
|
|
2008
2015
|
}, {
|
|
2009
2016
|
account: string;
|
|
2010
2017
|
name: string;
|
|
@@ -2012,13 +2019,11 @@ declare const generateAddressBodyParser: z.ZodObject<{
|
|
|
2012
2019
|
actor: string;
|
|
2013
2020
|
permission: string;
|
|
2014
2021
|
}[];
|
|
2015
|
-
data:
|
|
2016
|
-
[x: string]: any;
|
|
2017
|
-
}) & (string | {
|
|
2022
|
+
data: string | {
|
|
2018
2023
|
[x: string]: any;
|
|
2019
|
-
}
|
|
2024
|
+
};
|
|
2020
2025
|
}>, "many">;
|
|
2021
|
-
}
|
|
2026
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2022
2027
|
expiration: string;
|
|
2023
2028
|
ref_block_num: number;
|
|
2024
2029
|
ref_block_prefix: number;
|
|
@@ -2043,11 +2048,9 @@ declare const generateAddressBodyParser: z.ZodObject<{
|
|
|
2043
2048
|
actor: string;
|
|
2044
2049
|
permission: string;
|
|
2045
2050
|
}[];
|
|
2046
|
-
data:
|
|
2051
|
+
data: string | {
|
|
2047
2052
|
[x: string]: any;
|
|
2048
|
-
}
|
|
2049
|
-
[x: string]: any;
|
|
2050
|
-
} | undefined);
|
|
2053
|
+
};
|
|
2051
2054
|
}[];
|
|
2052
2055
|
}, {
|
|
2053
2056
|
expiration: string;
|
|
@@ -2074,11 +2077,9 @@ declare const generateAddressBodyParser: z.ZodObject<{
|
|
|
2074
2077
|
actor: string;
|
|
2075
2078
|
permission: string;
|
|
2076
2079
|
}[];
|
|
2077
|
-
data:
|
|
2078
|
-
[x: string]: any;
|
|
2079
|
-
}) & (string | {
|
|
2080
|
+
data: string | {
|
|
2080
2081
|
[x: string]: any;
|
|
2081
|
-
}
|
|
2082
|
+
};
|
|
2082
2083
|
}[];
|
|
2083
2084
|
}>;
|
|
2084
2085
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2126,11 +2127,9 @@ declare const generateAddressBodyParser: z.ZodObject<{
|
|
|
2126
2127
|
actor: string;
|
|
2127
2128
|
permission: string;
|
|
2128
2129
|
}[];
|
|
2129
|
-
data:
|
|
2130
|
-
[x: string]: any;
|
|
2131
|
-
}) & (string | {
|
|
2130
|
+
data: string | {
|
|
2132
2131
|
[x: string]: any;
|
|
2133
|
-
}
|
|
2132
|
+
};
|
|
2134
2133
|
}[];
|
|
2135
2134
|
};
|
|
2136
2135
|
}, {
|
|
@@ -2178,11 +2177,9 @@ declare const generateAddressBodyParser: z.ZodObject<{
|
|
|
2178
2177
|
actor: string;
|
|
2179
2178
|
permission: string;
|
|
2180
2179
|
}[];
|
|
2181
|
-
data:
|
|
2180
|
+
data: string | {
|
|
2182
2181
|
[x: string]: any;
|
|
2183
|
-
}
|
|
2184
|
-
[x: string]: any;
|
|
2185
|
-
} | undefined);
|
|
2182
|
+
};
|
|
2186
2183
|
}[];
|
|
2187
2184
|
};
|
|
2188
2185
|
}>;
|
|
@@ -2248,11 +2245,9 @@ declare const generateAddressBodyParser: z.ZodObject<{
|
|
|
2248
2245
|
actor: string;
|
|
2249
2246
|
permission: string;
|
|
2250
2247
|
}[];
|
|
2251
|
-
data:
|
|
2252
|
-
[x: string]: any;
|
|
2253
|
-
}) & (string | {
|
|
2248
|
+
data: string | {
|
|
2254
2249
|
[x: string]: any;
|
|
2255
|
-
}
|
|
2250
|
+
};
|
|
2256
2251
|
}[];
|
|
2257
2252
|
};
|
|
2258
2253
|
};
|
|
@@ -2308,16 +2303,14 @@ declare const generateAddressBodyParser: z.ZodObject<{
|
|
|
2308
2303
|
actor: string;
|
|
2309
2304
|
permission: string;
|
|
2310
2305
|
}[];
|
|
2311
|
-
data:
|
|
2312
|
-
[x: string]: any;
|
|
2313
|
-
}) & (string | {
|
|
2306
|
+
data: string | {
|
|
2314
2307
|
[x: string]: any;
|
|
2315
|
-
}
|
|
2308
|
+
};
|
|
2316
2309
|
}[];
|
|
2317
2310
|
};
|
|
2318
2311
|
};
|
|
2319
2312
|
}>]>, "many">;
|
|
2320
|
-
}
|
|
2313
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2321
2314
|
expiration: string;
|
|
2322
2315
|
ref_block_num: number;
|
|
2323
2316
|
ref_block_prefix: number;
|
|
@@ -2397,11 +2390,9 @@ declare const generateAddressBodyParser: z.ZodObject<{
|
|
|
2397
2390
|
actor: string;
|
|
2398
2391
|
permission: string;
|
|
2399
2392
|
}[];
|
|
2400
|
-
data:
|
|
2401
|
-
[x: string]: any;
|
|
2402
|
-
}) & (string | {
|
|
2393
|
+
data: string | {
|
|
2403
2394
|
[x: string]: any;
|
|
2404
|
-
}
|
|
2395
|
+
};
|
|
2405
2396
|
}[];
|
|
2406
2397
|
};
|
|
2407
2398
|
};
|
|
@@ -2486,17 +2477,15 @@ declare const generateAddressBodyParser: z.ZodObject<{
|
|
|
2486
2477
|
actor: string;
|
|
2487
2478
|
permission: string;
|
|
2488
2479
|
}[];
|
|
2489
|
-
data:
|
|
2480
|
+
data: string | {
|
|
2490
2481
|
[x: string]: any;
|
|
2491
|
-
}
|
|
2492
|
-
[x: string]: any;
|
|
2493
|
-
} | undefined);
|
|
2482
|
+
};
|
|
2494
2483
|
}[];
|
|
2495
2484
|
};
|
|
2496
2485
|
};
|
|
2497
2486
|
})[];
|
|
2498
2487
|
}>;
|
|
2499
|
-
}
|
|
2488
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2500
2489
|
signer: {
|
|
2501
2490
|
actor: string;
|
|
2502
2491
|
permission: string;
|
|
@@ -2582,11 +2571,9 @@ declare const generateAddressBodyParser: z.ZodObject<{
|
|
|
2582
2571
|
actor: string;
|
|
2583
2572
|
permission: string;
|
|
2584
2573
|
}[];
|
|
2585
|
-
data:
|
|
2586
|
-
[x: string]: any;
|
|
2587
|
-
}) & (string | {
|
|
2574
|
+
data: string | {
|
|
2588
2575
|
[x: string]: any;
|
|
2589
|
-
}
|
|
2576
|
+
};
|
|
2590
2577
|
}[];
|
|
2591
2578
|
};
|
|
2592
2579
|
};
|
|
@@ -2680,11 +2667,9 @@ declare const generateAddressBodyParser: z.ZodObject<{
|
|
|
2680
2667
|
actor: string;
|
|
2681
2668
|
permission: string;
|
|
2682
2669
|
}[];
|
|
2683
|
-
data:
|
|
2670
|
+
data: string | {
|
|
2684
2671
|
[x: string]: any;
|
|
2685
|
-
}
|
|
2686
|
-
[x: string]: any;
|
|
2687
|
-
} | undefined);
|
|
2672
|
+
};
|
|
2688
2673
|
}[];
|
|
2689
2674
|
};
|
|
2690
2675
|
};
|
|
@@ -2693,7 +2678,7 @@ declare const generateAddressBodyParser: z.ZodObject<{
|
|
|
2693
2678
|
coin: string;
|
|
2694
2679
|
wallet: string;
|
|
2695
2680
|
}>;
|
|
2696
|
-
|
|
2681
|
+
type GenerateAddressBody = z.infer<typeof generateAddressBodyParser>;
|
|
2697
2682
|
declare const generateAddressResponse: z.ZodObject<{
|
|
2698
2683
|
id: z.ZodString;
|
|
2699
2684
|
address: z.ZodString;
|
|
@@ -2713,7 +2698,7 @@ declare const generateAddressResponse: z.ZodObject<{
|
|
|
2713
2698
|
id: string;
|
|
2714
2699
|
memo?: string | undefined;
|
|
2715
2700
|
}>;
|
|
2716
|
-
|
|
2701
|
+
type GenerateAddressResponse = z.infer<typeof generateAddressResponse>;
|
|
2717
2702
|
|
|
2718
2703
|
declare const createAbstractAuthParser: (contract: string, action: string, data: z.ZodRawShape) => z.ZodObject<{
|
|
2719
2704
|
signer: z.ZodObject<{
|
|
@@ -2727,7 +2712,7 @@ declare const createAbstractAuthParser: (contract: string, action: string, data:
|
|
|
2727
2712
|
permission: string;
|
|
2728
2713
|
}>;
|
|
2729
2714
|
signatures: z.ZodArray<z.ZodString, "many">;
|
|
2730
|
-
transaction: z.ZodObject<{
|
|
2715
|
+
transaction: z.ZodObject<z.objectUtil.extendShape<{
|
|
2731
2716
|
expiration: z.ZodString;
|
|
2732
2717
|
ref_block_num: z.ZodNumber;
|
|
2733
2718
|
ref_block_prefix: z.ZodNumber;
|
|
@@ -2769,6 +2754,7 @@ declare const createAbstractAuthParser: (contract: string, action: string, data:
|
|
|
2769
2754
|
hex_data?: string | undefined;
|
|
2770
2755
|
}>, "many">;
|
|
2771
2756
|
transaction_extensions: z.ZodArray<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">>, "many">;
|
|
2757
|
+
}, {
|
|
2772
2758
|
actions: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
2773
2759
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
2774
2760
|
name: z.ZodLiteral<string>;
|
|
@@ -2864,7 +2850,7 @@ declare const createAbstractAuthParser: (contract: string, action: string, data:
|
|
|
2864
2850
|
auth_data: string;
|
|
2865
2851
|
client_json: string;
|
|
2866
2852
|
}>;
|
|
2867
|
-
trx: z.ZodObject<{
|
|
2853
|
+
trx: z.ZodObject<z.objectUtil.extendShape<{
|
|
2868
2854
|
expiration: z.ZodString;
|
|
2869
2855
|
ref_block_num: z.ZodNumber;
|
|
2870
2856
|
ref_block_prefix: z.ZodNumber;
|
|
@@ -2906,6 +2892,7 @@ declare const createAbstractAuthParser: (contract: string, action: string, data:
|
|
|
2906
2892
|
hex_data?: string | undefined;
|
|
2907
2893
|
}>, "many">;
|
|
2908
2894
|
transaction_extensions: z.ZodArray<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">>, "many">;
|
|
2895
|
+
}, {
|
|
2909
2896
|
actions: z.ZodArray<z.ZodObject<{
|
|
2910
2897
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
2911
2898
|
name: z.ZodLiteral<string>;
|
|
@@ -2931,11 +2918,9 @@ declare const createAbstractAuthParser: (contract: string, action: string, data:
|
|
|
2931
2918
|
actor: string;
|
|
2932
2919
|
permission: string;
|
|
2933
2920
|
}[];
|
|
2934
|
-
data:
|
|
2935
|
-
[x: string]: any;
|
|
2936
|
-
}) & (string | {
|
|
2921
|
+
data: string | {
|
|
2937
2922
|
[x: string]: any;
|
|
2938
|
-
}
|
|
2923
|
+
};
|
|
2939
2924
|
}, {
|
|
2940
2925
|
account: string;
|
|
2941
2926
|
name: string;
|
|
@@ -2943,13 +2928,11 @@ declare const createAbstractAuthParser: (contract: string, action: string, data:
|
|
|
2943
2928
|
actor: string;
|
|
2944
2929
|
permission: string;
|
|
2945
2930
|
}[];
|
|
2946
|
-
data:
|
|
2947
|
-
[x: string]: any;
|
|
2948
|
-
}) & (string | {
|
|
2931
|
+
data: string | {
|
|
2949
2932
|
[x: string]: any;
|
|
2950
|
-
}
|
|
2933
|
+
};
|
|
2951
2934
|
}>, "many">;
|
|
2952
|
-
}
|
|
2935
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2953
2936
|
expiration: string;
|
|
2954
2937
|
ref_block_num: number;
|
|
2955
2938
|
ref_block_prefix: number;
|
|
@@ -2974,11 +2957,9 @@ declare const createAbstractAuthParser: (contract: string, action: string, data:
|
|
|
2974
2957
|
actor: string;
|
|
2975
2958
|
permission: string;
|
|
2976
2959
|
}[];
|
|
2977
|
-
data:
|
|
2978
|
-
[x: string]: any;
|
|
2979
|
-
}) & (string | {
|
|
2960
|
+
data: string | {
|
|
2980
2961
|
[x: string]: any;
|
|
2981
|
-
}
|
|
2962
|
+
};
|
|
2982
2963
|
}[];
|
|
2983
2964
|
}, {
|
|
2984
2965
|
expiration: string;
|
|
@@ -3005,11 +2986,9 @@ declare const createAbstractAuthParser: (contract: string, action: string, data:
|
|
|
3005
2986
|
actor: string;
|
|
3006
2987
|
permission: string;
|
|
3007
2988
|
}[];
|
|
3008
|
-
data:
|
|
2989
|
+
data: string | {
|
|
3009
2990
|
[x: string]: any;
|
|
3010
|
-
}
|
|
3011
|
-
[x: string]: any;
|
|
3012
|
-
} | undefined);
|
|
2991
|
+
};
|
|
3013
2992
|
}[];
|
|
3014
2993
|
}>;
|
|
3015
2994
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3057,11 +3036,9 @@ declare const createAbstractAuthParser: (contract: string, action: string, data:
|
|
|
3057
3036
|
actor: string;
|
|
3058
3037
|
permission: string;
|
|
3059
3038
|
}[];
|
|
3060
|
-
data:
|
|
3061
|
-
[x: string]: any;
|
|
3062
|
-
}) & (string | {
|
|
3039
|
+
data: string | {
|
|
3063
3040
|
[x: string]: any;
|
|
3064
|
-
}
|
|
3041
|
+
};
|
|
3065
3042
|
}[];
|
|
3066
3043
|
};
|
|
3067
3044
|
}, {
|
|
@@ -3109,11 +3086,9 @@ declare const createAbstractAuthParser: (contract: string, action: string, data:
|
|
|
3109
3086
|
actor: string;
|
|
3110
3087
|
permission: string;
|
|
3111
3088
|
}[];
|
|
3112
|
-
data:
|
|
3113
|
-
[x: string]: any;
|
|
3114
|
-
}) & (string | {
|
|
3089
|
+
data: string | {
|
|
3115
3090
|
[x: string]: any;
|
|
3116
|
-
}
|
|
3091
|
+
};
|
|
3117
3092
|
}[];
|
|
3118
3093
|
};
|
|
3119
3094
|
}>;
|
|
@@ -3179,11 +3154,9 @@ declare const createAbstractAuthParser: (contract: string, action: string, data:
|
|
|
3179
3154
|
actor: string;
|
|
3180
3155
|
permission: string;
|
|
3181
3156
|
}[];
|
|
3182
|
-
data:
|
|
3157
|
+
data: string | {
|
|
3183
3158
|
[x: string]: any;
|
|
3184
|
-
}
|
|
3185
|
-
[x: string]: any;
|
|
3186
|
-
} | undefined);
|
|
3159
|
+
};
|
|
3187
3160
|
}[];
|
|
3188
3161
|
};
|
|
3189
3162
|
};
|
|
@@ -3239,16 +3212,14 @@ declare const createAbstractAuthParser: (contract: string, action: string, data:
|
|
|
3239
3212
|
actor: string;
|
|
3240
3213
|
permission: string;
|
|
3241
3214
|
}[];
|
|
3242
|
-
data:
|
|
3243
|
-
[x: string]: any;
|
|
3244
|
-
}) & (string | {
|
|
3215
|
+
data: string | {
|
|
3245
3216
|
[x: string]: any;
|
|
3246
|
-
}
|
|
3217
|
+
};
|
|
3247
3218
|
}[];
|
|
3248
3219
|
};
|
|
3249
3220
|
};
|
|
3250
3221
|
}>]>, "many">;
|
|
3251
|
-
}
|
|
3222
|
+
}>, "strip", z.ZodTypeAny, {
|
|
3252
3223
|
expiration: string;
|
|
3253
3224
|
ref_block_num: number;
|
|
3254
3225
|
ref_block_prefix: number;
|
|
@@ -3328,11 +3299,9 @@ declare const createAbstractAuthParser: (contract: string, action: string, data:
|
|
|
3328
3299
|
actor: string;
|
|
3329
3300
|
permission: string;
|
|
3330
3301
|
}[];
|
|
3331
|
-
data:
|
|
3332
|
-
[x: string]: any;
|
|
3333
|
-
}) & (string | {
|
|
3302
|
+
data: string | {
|
|
3334
3303
|
[x: string]: any;
|
|
3335
|
-
}
|
|
3304
|
+
};
|
|
3336
3305
|
}[];
|
|
3337
3306
|
};
|
|
3338
3307
|
};
|
|
@@ -3417,11 +3386,9 @@ declare const createAbstractAuthParser: (contract: string, action: string, data:
|
|
|
3417
3386
|
actor: string;
|
|
3418
3387
|
permission: string;
|
|
3419
3388
|
}[];
|
|
3420
|
-
data:
|
|
3421
|
-
[x: string]: any;
|
|
3422
|
-
}) & (string | {
|
|
3389
|
+
data: string | {
|
|
3423
3390
|
[x: string]: any;
|
|
3424
|
-
}
|
|
3391
|
+
};
|
|
3425
3392
|
}[];
|
|
3426
3393
|
};
|
|
3427
3394
|
};
|
|
@@ -3513,11 +3480,9 @@ declare const createAbstractAuthParser: (contract: string, action: string, data:
|
|
|
3513
3480
|
actor: string;
|
|
3514
3481
|
permission: string;
|
|
3515
3482
|
}[];
|
|
3516
|
-
data:
|
|
3483
|
+
data: string | {
|
|
3517
3484
|
[x: string]: any;
|
|
3518
|
-
}
|
|
3519
|
-
[x: string]: any;
|
|
3520
|
-
} | undefined);
|
|
3485
|
+
};
|
|
3521
3486
|
}[];
|
|
3522
3487
|
};
|
|
3523
3488
|
};
|
|
@@ -3609,11 +3574,9 @@ declare const createAbstractAuthParser: (contract: string, action: string, data:
|
|
|
3609
3574
|
actor: string;
|
|
3610
3575
|
permission: string;
|
|
3611
3576
|
}[];
|
|
3612
|
-
data:
|
|
3613
|
-
[x: string]: any;
|
|
3614
|
-
}) & (string | {
|
|
3577
|
+
data: string | {
|
|
3615
3578
|
[x: string]: any;
|
|
3616
|
-
}
|
|
3579
|
+
};
|
|
3617
3580
|
}[];
|
|
3618
3581
|
};
|
|
3619
3582
|
};
|
|
@@ -3666,7 +3629,7 @@ declare const generateAuthActionsBaseParser: z.ZodObject<{
|
|
|
3666
3629
|
protonAccount: string;
|
|
3667
3630
|
};
|
|
3668
3631
|
}>;
|
|
3669
|
-
|
|
3632
|
+
type GenerateAuthBaseAction = z.infer<typeof generateAuthActionsBaseParser>;
|
|
3670
3633
|
declare const generateAuthParser: z.ZodObject<{
|
|
3671
3634
|
signer: z.ZodObject<{
|
|
3672
3635
|
actor: z.ZodString;
|
|
@@ -3679,7 +3642,7 @@ declare const generateAuthParser: z.ZodObject<{
|
|
|
3679
3642
|
permission: string;
|
|
3680
3643
|
}>;
|
|
3681
3644
|
signatures: z.ZodArray<z.ZodString, "many">;
|
|
3682
|
-
transaction: z.ZodObject<{
|
|
3645
|
+
transaction: z.ZodObject<z.objectUtil.extendShape<{
|
|
3683
3646
|
expiration: z.ZodString;
|
|
3684
3647
|
ref_block_num: z.ZodNumber;
|
|
3685
3648
|
ref_block_prefix: z.ZodNumber;
|
|
@@ -3721,6 +3684,7 @@ declare const generateAuthParser: z.ZodObject<{
|
|
|
3721
3684
|
hex_data?: string | undefined;
|
|
3722
3685
|
}>, "many">;
|
|
3723
3686
|
transaction_extensions: z.ZodArray<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">>, "many">;
|
|
3687
|
+
}, {
|
|
3724
3688
|
actions: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
3725
3689
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
3726
3690
|
name: z.ZodLiteral<string>;
|
|
@@ -3816,7 +3780,7 @@ declare const generateAuthParser: z.ZodObject<{
|
|
|
3816
3780
|
auth_data: string;
|
|
3817
3781
|
client_json: string;
|
|
3818
3782
|
}>;
|
|
3819
|
-
trx: z.ZodObject<{
|
|
3783
|
+
trx: z.ZodObject<z.objectUtil.extendShape<{
|
|
3820
3784
|
expiration: z.ZodString;
|
|
3821
3785
|
ref_block_num: z.ZodNumber;
|
|
3822
3786
|
ref_block_prefix: z.ZodNumber;
|
|
@@ -3858,6 +3822,7 @@ declare const generateAuthParser: z.ZodObject<{
|
|
|
3858
3822
|
hex_data?: string | undefined;
|
|
3859
3823
|
}>, "many">;
|
|
3860
3824
|
transaction_extensions: z.ZodArray<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">>, "many">;
|
|
3825
|
+
}, {
|
|
3861
3826
|
actions: z.ZodArray<z.ZodObject<{
|
|
3862
3827
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
3863
3828
|
name: z.ZodLiteral<string>;
|
|
@@ -3883,11 +3848,9 @@ declare const generateAuthParser: z.ZodObject<{
|
|
|
3883
3848
|
actor: string;
|
|
3884
3849
|
permission: string;
|
|
3885
3850
|
}[];
|
|
3886
|
-
data:
|
|
3851
|
+
data: string | {
|
|
3887
3852
|
[x: string]: any;
|
|
3888
|
-
}
|
|
3889
|
-
[x: string]: any;
|
|
3890
|
-
} | undefined);
|
|
3853
|
+
};
|
|
3891
3854
|
}, {
|
|
3892
3855
|
account: string;
|
|
3893
3856
|
name: string;
|
|
@@ -3895,13 +3858,11 @@ declare const generateAuthParser: z.ZodObject<{
|
|
|
3895
3858
|
actor: string;
|
|
3896
3859
|
permission: string;
|
|
3897
3860
|
}[];
|
|
3898
|
-
data:
|
|
3899
|
-
[x: string]: any;
|
|
3900
|
-
}) & (string | {
|
|
3861
|
+
data: string | {
|
|
3901
3862
|
[x: string]: any;
|
|
3902
|
-
}
|
|
3863
|
+
};
|
|
3903
3864
|
}>, "many">;
|
|
3904
|
-
}
|
|
3865
|
+
}>, "strip", z.ZodTypeAny, {
|
|
3905
3866
|
expiration: string;
|
|
3906
3867
|
ref_block_num: number;
|
|
3907
3868
|
ref_block_prefix: number;
|
|
@@ -3926,11 +3887,9 @@ declare const generateAuthParser: z.ZodObject<{
|
|
|
3926
3887
|
actor: string;
|
|
3927
3888
|
permission: string;
|
|
3928
3889
|
}[];
|
|
3929
|
-
data:
|
|
3890
|
+
data: string | {
|
|
3930
3891
|
[x: string]: any;
|
|
3931
|
-
}
|
|
3932
|
-
[x: string]: any;
|
|
3933
|
-
} | undefined);
|
|
3892
|
+
};
|
|
3934
3893
|
}[];
|
|
3935
3894
|
}, {
|
|
3936
3895
|
expiration: string;
|
|
@@ -3957,11 +3916,9 @@ declare const generateAuthParser: z.ZodObject<{
|
|
|
3957
3916
|
actor: string;
|
|
3958
3917
|
permission: string;
|
|
3959
3918
|
}[];
|
|
3960
|
-
data:
|
|
3961
|
-
[x: string]: any;
|
|
3962
|
-
}) & (string | {
|
|
3919
|
+
data: string | {
|
|
3963
3920
|
[x: string]: any;
|
|
3964
|
-
}
|
|
3921
|
+
};
|
|
3965
3922
|
}[];
|
|
3966
3923
|
}>;
|
|
3967
3924
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -4009,11 +3966,9 @@ declare const generateAuthParser: z.ZodObject<{
|
|
|
4009
3966
|
actor: string;
|
|
4010
3967
|
permission: string;
|
|
4011
3968
|
}[];
|
|
4012
|
-
data:
|
|
4013
|
-
[x: string]: any;
|
|
4014
|
-
}) & (string | {
|
|
3969
|
+
data: string | {
|
|
4015
3970
|
[x: string]: any;
|
|
4016
|
-
}
|
|
3971
|
+
};
|
|
4017
3972
|
}[];
|
|
4018
3973
|
};
|
|
4019
3974
|
}, {
|
|
@@ -4061,11 +4016,9 @@ declare const generateAuthParser: z.ZodObject<{
|
|
|
4061
4016
|
actor: string;
|
|
4062
4017
|
permission: string;
|
|
4063
4018
|
}[];
|
|
4064
|
-
data:
|
|
4019
|
+
data: string | {
|
|
4065
4020
|
[x: string]: any;
|
|
4066
|
-
}
|
|
4067
|
-
[x: string]: any;
|
|
4068
|
-
} | undefined);
|
|
4021
|
+
};
|
|
4069
4022
|
}[];
|
|
4070
4023
|
};
|
|
4071
4024
|
}>;
|
|
@@ -4131,11 +4084,9 @@ declare const generateAuthParser: z.ZodObject<{
|
|
|
4131
4084
|
actor: string;
|
|
4132
4085
|
permission: string;
|
|
4133
4086
|
}[];
|
|
4134
|
-
data:
|
|
4135
|
-
[x: string]: any;
|
|
4136
|
-
}) & (string | {
|
|
4087
|
+
data: string | {
|
|
4137
4088
|
[x: string]: any;
|
|
4138
|
-
}
|
|
4089
|
+
};
|
|
4139
4090
|
}[];
|
|
4140
4091
|
};
|
|
4141
4092
|
};
|
|
@@ -4191,16 +4142,14 @@ declare const generateAuthParser: z.ZodObject<{
|
|
|
4191
4142
|
actor: string;
|
|
4192
4143
|
permission: string;
|
|
4193
4144
|
}[];
|
|
4194
|
-
data:
|
|
4145
|
+
data: string | {
|
|
4195
4146
|
[x: string]: any;
|
|
4196
|
-
}
|
|
4197
|
-
[x: string]: any;
|
|
4198
|
-
} | undefined);
|
|
4147
|
+
};
|
|
4199
4148
|
}[];
|
|
4200
4149
|
};
|
|
4201
4150
|
};
|
|
4202
4151
|
}>]>, "many">;
|
|
4203
|
-
}
|
|
4152
|
+
}>, "strip", z.ZodTypeAny, {
|
|
4204
4153
|
expiration: string;
|
|
4205
4154
|
ref_block_num: number;
|
|
4206
4155
|
ref_block_prefix: number;
|
|
@@ -4280,11 +4229,9 @@ declare const generateAuthParser: z.ZodObject<{
|
|
|
4280
4229
|
actor: string;
|
|
4281
4230
|
permission: string;
|
|
4282
4231
|
}[];
|
|
4283
|
-
data:
|
|
4284
|
-
[x: string]: any;
|
|
4285
|
-
}) & (string | {
|
|
4232
|
+
data: string | {
|
|
4286
4233
|
[x: string]: any;
|
|
4287
|
-
}
|
|
4234
|
+
};
|
|
4288
4235
|
}[];
|
|
4289
4236
|
};
|
|
4290
4237
|
};
|
|
@@ -4369,11 +4316,9 @@ declare const generateAuthParser: z.ZodObject<{
|
|
|
4369
4316
|
actor: string;
|
|
4370
4317
|
permission: string;
|
|
4371
4318
|
}[];
|
|
4372
|
-
data:
|
|
4319
|
+
data: string | {
|
|
4373
4320
|
[x: string]: any;
|
|
4374
|
-
}
|
|
4375
|
-
[x: string]: any;
|
|
4376
|
-
} | undefined);
|
|
4321
|
+
};
|
|
4377
4322
|
}[];
|
|
4378
4323
|
};
|
|
4379
4324
|
};
|
|
@@ -4465,11 +4410,9 @@ declare const generateAuthParser: z.ZodObject<{
|
|
|
4465
4410
|
actor: string;
|
|
4466
4411
|
permission: string;
|
|
4467
4412
|
}[];
|
|
4468
|
-
data:
|
|
4469
|
-
[x: string]: any;
|
|
4470
|
-
}) & (string | {
|
|
4413
|
+
data: string | {
|
|
4471
4414
|
[x: string]: any;
|
|
4472
|
-
}
|
|
4415
|
+
};
|
|
4473
4416
|
}[];
|
|
4474
4417
|
};
|
|
4475
4418
|
};
|
|
@@ -4561,18 +4504,16 @@ declare const generateAuthParser: z.ZodObject<{
|
|
|
4561
4504
|
actor: string;
|
|
4562
4505
|
permission: string;
|
|
4563
4506
|
}[];
|
|
4564
|
-
data:
|
|
4507
|
+
data: string | {
|
|
4565
4508
|
[x: string]: any;
|
|
4566
|
-
}
|
|
4567
|
-
[x: string]: any;
|
|
4568
|
-
} | undefined);
|
|
4509
|
+
};
|
|
4569
4510
|
}[];
|
|
4570
4511
|
};
|
|
4571
4512
|
};
|
|
4572
4513
|
})[];
|
|
4573
4514
|
};
|
|
4574
4515
|
}>;
|
|
4575
|
-
|
|
4516
|
+
type GenerateAuth = z.infer<typeof generateAuthParser>;
|
|
4576
4517
|
|
|
4577
4518
|
declare const accountParser: z.ZodString;
|
|
4578
4519
|
declare const authorizationParser: z.ZodObject<{
|
|
@@ -4585,7 +4526,7 @@ declare const authorizationParser: z.ZodObject<{
|
|
|
4585
4526
|
actor: string;
|
|
4586
4527
|
permission: string;
|
|
4587
4528
|
}>;
|
|
4588
|
-
|
|
4529
|
+
type Authorization = z.infer<typeof authorizationParser>;
|
|
4589
4530
|
declare const authorizationsParser: z.ZodArray<z.ZodObject<{
|
|
4590
4531
|
actor: z.ZodString;
|
|
4591
4532
|
permission: z.ZodString;
|
|
@@ -4596,7 +4537,7 @@ declare const authorizationsParser: z.ZodArray<z.ZodObject<{
|
|
|
4596
4537
|
actor: string;
|
|
4597
4538
|
permission: string;
|
|
4598
4539
|
}>, "many">;
|
|
4599
|
-
|
|
4540
|
+
type Authorizations = z.infer<typeof authorizationsParser>;
|
|
4600
4541
|
declare const ExtendedAssetParser: z.ZodObject<{
|
|
4601
4542
|
quantity: z.ZodString;
|
|
4602
4543
|
contract: z.ZodString;
|
|
@@ -4607,7 +4548,7 @@ declare const ExtendedAssetParser: z.ZodObject<{
|
|
|
4607
4548
|
quantity: string;
|
|
4608
4549
|
contract: string;
|
|
4609
4550
|
}>;
|
|
4610
|
-
|
|
4551
|
+
type ExtendedAsset = z.infer<typeof ExtendedAssetParser>;
|
|
4611
4552
|
declare const accountRamDeltaParser: z.ZodObject<{
|
|
4612
4553
|
account: z.ZodString;
|
|
4613
4554
|
delta: z.ZodString;
|
|
@@ -4618,7 +4559,7 @@ declare const accountRamDeltaParser: z.ZodObject<{
|
|
|
4618
4559
|
account: string;
|
|
4619
4560
|
delta: string;
|
|
4620
4561
|
}>;
|
|
4621
|
-
|
|
4562
|
+
type HistoryAccountRamDelta = z.infer<typeof accountRamDeltaParser>;
|
|
4622
4563
|
|
|
4623
4564
|
interface CurrencyStat {
|
|
4624
4565
|
supply: string;
|
|
@@ -4650,7 +4591,7 @@ declare const rateParser: z.ZodObject<{
|
|
|
4650
4591
|
volume: number;
|
|
4651
4592
|
timestamp: number;
|
|
4652
4593
|
}>;
|
|
4653
|
-
|
|
4594
|
+
type Rate = z.infer<typeof rateParser>;
|
|
4654
4595
|
declare const exchangeRateParser: z.ZodObject<{
|
|
4655
4596
|
contract: z.ZodString;
|
|
4656
4597
|
symbol: z.ZodString;
|
|
@@ -4702,7 +4643,7 @@ declare const exchangeRateParser: z.ZodObject<{
|
|
|
4702
4643
|
timestamp: number;
|
|
4703
4644
|
}[];
|
|
4704
4645
|
}>;
|
|
4705
|
-
|
|
4646
|
+
type ExchangeRate = z.infer<typeof exchangeRateParser>;
|
|
4706
4647
|
declare const exchangeRatesParser: z.ZodArray<z.ZodObject<{
|
|
4707
4648
|
contract: z.ZodString;
|
|
4708
4649
|
symbol: z.ZodString;
|
|
@@ -4754,7 +4695,7 @@ declare const exchangeRatesParser: z.ZodArray<z.ZodObject<{
|
|
|
4754
4695
|
timestamp: number;
|
|
4755
4696
|
}[];
|
|
4756
4697
|
}>, "many">;
|
|
4757
|
-
|
|
4698
|
+
type ExchangeRates = z.infer<typeof exchangeRatesParser>;
|
|
4758
4699
|
declare const bloksRatesParser: z.ZodArray<z.ZodObject<{
|
|
4759
4700
|
contract: z.ZodString;
|
|
4760
4701
|
symbol: z.ZodString;
|
|
@@ -4806,7 +4747,7 @@ declare const bloksRatesParser: z.ZodArray<z.ZodObject<{
|
|
|
4806
4747
|
timestamp: number;
|
|
4807
4748
|
}[];
|
|
4808
4749
|
}>, "many">;
|
|
4809
|
-
|
|
4750
|
+
type BloksRate = {
|
|
4810
4751
|
key: string;
|
|
4811
4752
|
symbol: string;
|
|
4812
4753
|
account: string;
|
|
@@ -4854,7 +4795,7 @@ declare type BloksRate = {
|
|
|
4854
4795
|
rank: number;
|
|
4855
4796
|
chain_rank: number;
|
|
4856
4797
|
};
|
|
4857
|
-
|
|
4798
|
+
type BloksRates = BloksRate[];
|
|
4858
4799
|
|
|
4859
4800
|
declare enum Type {
|
|
4860
4801
|
RECEIVE = "receive",
|
|
@@ -4882,7 +4823,7 @@ declare const depositBodyParser: z.ZodObject<{
|
|
|
4882
4823
|
hash: string;
|
|
4883
4824
|
network: string;
|
|
4884
4825
|
}>;
|
|
4885
|
-
|
|
4826
|
+
type DepositBody = z.infer<typeof depositBodyParser>;
|
|
4886
4827
|
declare const metalTransactionParser: z.ZodObject<{
|
|
4887
4828
|
id: z.ZodString;
|
|
4888
4829
|
wallet: z.ZodString;
|
|
@@ -4920,7 +4861,7 @@ declare const metalTransactionParser: z.ZodObject<{
|
|
|
4920
4861
|
blockHash?: string | null | undefined;
|
|
4921
4862
|
blockHeight?: number | null | undefined;
|
|
4922
4863
|
}>;
|
|
4923
|
-
|
|
4864
|
+
type MetalTransaction = z.infer<typeof metalTransactionParser>;
|
|
4924
4865
|
|
|
4925
4866
|
declare const otcOrderResponseParser: z.ZodObject<{
|
|
4926
4867
|
success: z.ZodBoolean;
|
|
@@ -4935,7 +4876,7 @@ declare const otcOrderResponseParser: z.ZodObject<{
|
|
|
4935
4876
|
transaction_id: string;
|
|
4936
4877
|
errormsg?: string | undefined;
|
|
4937
4878
|
}>;
|
|
4938
|
-
|
|
4879
|
+
type OtcOrderResponse = z.infer<typeof otcOrderResponseParser>;
|
|
4939
4880
|
declare const otcQuoteBodyParser: z.ZodObject<{
|
|
4940
4881
|
baseAmount: z.ZodNumber;
|
|
4941
4882
|
baseSymbol: z.ZodString;
|
|
@@ -4949,7 +4890,7 @@ declare const otcQuoteBodyParser: z.ZodObject<{
|
|
|
4949
4890
|
baseSymbol: string;
|
|
4950
4891
|
quoteSymbol: string;
|
|
4951
4892
|
}>;
|
|
4952
|
-
|
|
4893
|
+
type OtcQuoteBody = z.infer<typeof otcQuoteBodyParser>;
|
|
4953
4894
|
declare const otcQuoteResponseParser: z.ZodObject<{
|
|
4954
4895
|
success: z.ZodBoolean;
|
|
4955
4896
|
token: z.ZodString;
|
|
@@ -4966,7 +4907,7 @@ declare const otcQuoteResponseParser: z.ZodObject<{
|
|
|
4966
4907
|
qty: number;
|
|
4967
4908
|
errormsg?: string | undefined;
|
|
4968
4909
|
}>;
|
|
4969
|
-
|
|
4910
|
+
type OtcQuoteResponse = z.infer<typeof otcQuoteResponseParser>;
|
|
4970
4911
|
|
|
4971
4912
|
declare class INode<T> {
|
|
4972
4913
|
key: string;
|
|
@@ -5035,13 +4976,13 @@ interface Pool extends Omit<RawPool, 'pool1' | 'pool2'> {
|
|
|
5035
4976
|
liquidityUsd: number;
|
|
5036
4977
|
liquidityApr: number;
|
|
5037
4978
|
}
|
|
5038
|
-
|
|
4979
|
+
type ExtendedToken = Coin & ExtendedAsset$1 & {
|
|
5039
4980
|
key: string;
|
|
5040
4981
|
};
|
|
5041
|
-
|
|
4982
|
+
type ExtendedTokenWithRate = ExtendedToken & {
|
|
5042
4983
|
rate: number;
|
|
5043
4984
|
};
|
|
5044
|
-
|
|
4985
|
+
type PoolTable = {
|
|
5045
4986
|
pool1: ExtendedTokenWithRate;
|
|
5046
4987
|
pool2: ExtendedTokenWithRate;
|
|
5047
4988
|
path: INode<Pool>[];
|
|
@@ -5105,7 +5046,7 @@ declare const withdrawBodyBaseAction: z.ZodObject<{
|
|
|
5105
5046
|
to: "proton.wrap";
|
|
5106
5047
|
};
|
|
5107
5048
|
}>;
|
|
5108
|
-
|
|
5049
|
+
type WithdrawBodyBaseAction = z.infer<typeof withdrawBodyBaseAction>;
|
|
5109
5050
|
declare const withdrawBodyParser: z.ZodObject<{
|
|
5110
5051
|
signer: z.ZodObject<{
|
|
5111
5052
|
actor: z.ZodString;
|
|
@@ -5118,7 +5059,7 @@ declare const withdrawBodyParser: z.ZodObject<{
|
|
|
5118
5059
|
permission: string;
|
|
5119
5060
|
}>;
|
|
5120
5061
|
signatures: z.ZodArray<z.ZodString, "many">;
|
|
5121
|
-
transaction: z.ZodObject<{
|
|
5062
|
+
transaction: z.ZodObject<z.objectUtil.extendShape<{
|
|
5122
5063
|
expiration: z.ZodString;
|
|
5123
5064
|
ref_block_num: z.ZodNumber;
|
|
5124
5065
|
ref_block_prefix: z.ZodNumber;
|
|
@@ -5160,6 +5101,7 @@ declare const withdrawBodyParser: z.ZodObject<{
|
|
|
5160
5101
|
hex_data?: string | undefined;
|
|
5161
5102
|
}>, "many">;
|
|
5162
5103
|
transaction_extensions: z.ZodArray<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">>, "many">;
|
|
5104
|
+
}, {
|
|
5163
5105
|
actions: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
5164
5106
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
5165
5107
|
name: z.ZodLiteral<string>;
|
|
@@ -5272,7 +5214,7 @@ declare const withdrawBodyParser: z.ZodObject<{
|
|
|
5272
5214
|
auth_data: string;
|
|
5273
5215
|
client_json: string;
|
|
5274
5216
|
}>;
|
|
5275
|
-
trx: z.ZodObject<{
|
|
5217
|
+
trx: z.ZodObject<z.objectUtil.extendShape<{
|
|
5276
5218
|
expiration: z.ZodString;
|
|
5277
5219
|
ref_block_num: z.ZodNumber;
|
|
5278
5220
|
ref_block_prefix: z.ZodNumber;
|
|
@@ -5314,6 +5256,7 @@ declare const withdrawBodyParser: z.ZodObject<{
|
|
|
5314
5256
|
hex_data?: string | undefined;
|
|
5315
5257
|
}>, "many">;
|
|
5316
5258
|
transaction_extensions: z.ZodArray<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">>, "many">;
|
|
5259
|
+
}, {
|
|
5317
5260
|
actions: z.ZodArray<z.ZodObject<{
|
|
5318
5261
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
5319
5262
|
name: z.ZodLiteral<string>;
|
|
@@ -5350,17 +5293,12 @@ declare const withdrawBodyParser: z.ZodObject<{
|
|
|
5350
5293
|
actor: string;
|
|
5351
5294
|
permission: string;
|
|
5352
5295
|
}[];
|
|
5353
|
-
data:
|
|
5354
|
-
quantity: string;
|
|
5355
|
-
memo: string;
|
|
5356
|
-
from: string;
|
|
5357
|
-
to: "proton.wrap";
|
|
5358
|
-
}) & (string | {
|
|
5296
|
+
data: string | {
|
|
5359
5297
|
quantity: string;
|
|
5360
5298
|
memo: string;
|
|
5361
5299
|
from: string;
|
|
5362
5300
|
to: "proton.wrap";
|
|
5363
|
-
}
|
|
5301
|
+
};
|
|
5364
5302
|
}, {
|
|
5365
5303
|
account: string;
|
|
5366
5304
|
name: string;
|
|
@@ -5368,19 +5306,14 @@ declare const withdrawBodyParser: z.ZodObject<{
|
|
|
5368
5306
|
actor: string;
|
|
5369
5307
|
permission: string;
|
|
5370
5308
|
}[];
|
|
5371
|
-
data:
|
|
5309
|
+
data: string | {
|
|
5372
5310
|
quantity: string;
|
|
5373
5311
|
memo: string;
|
|
5374
5312
|
from: string;
|
|
5375
5313
|
to: "proton.wrap";
|
|
5376
|
-
}
|
|
5377
|
-
quantity: string;
|
|
5378
|
-
memo: string;
|
|
5379
|
-
from: string;
|
|
5380
|
-
to: "proton.wrap";
|
|
5381
|
-
} | undefined);
|
|
5314
|
+
};
|
|
5382
5315
|
}>, "many">;
|
|
5383
|
-
}
|
|
5316
|
+
}>, "strip", z.ZodTypeAny, {
|
|
5384
5317
|
expiration: string;
|
|
5385
5318
|
ref_block_num: number;
|
|
5386
5319
|
ref_block_prefix: number;
|
|
@@ -5405,17 +5338,12 @@ declare const withdrawBodyParser: z.ZodObject<{
|
|
|
5405
5338
|
actor: string;
|
|
5406
5339
|
permission: string;
|
|
5407
5340
|
}[];
|
|
5408
|
-
data:
|
|
5341
|
+
data: string | {
|
|
5409
5342
|
quantity: string;
|
|
5410
5343
|
memo: string;
|
|
5411
5344
|
from: string;
|
|
5412
5345
|
to: "proton.wrap";
|
|
5413
|
-
}
|
|
5414
|
-
quantity: string;
|
|
5415
|
-
memo: string;
|
|
5416
|
-
from: string;
|
|
5417
|
-
to: "proton.wrap";
|
|
5418
|
-
} | undefined);
|
|
5346
|
+
};
|
|
5419
5347
|
}[];
|
|
5420
5348
|
}, {
|
|
5421
5349
|
expiration: string;
|
|
@@ -5442,17 +5370,12 @@ declare const withdrawBodyParser: z.ZodObject<{
|
|
|
5442
5370
|
actor: string;
|
|
5443
5371
|
permission: string;
|
|
5444
5372
|
}[];
|
|
5445
|
-
data:
|
|
5446
|
-
quantity: string;
|
|
5447
|
-
memo: string;
|
|
5448
|
-
from: string;
|
|
5449
|
-
to: "proton.wrap";
|
|
5450
|
-
}) & (string | {
|
|
5373
|
+
data: string | {
|
|
5451
5374
|
quantity: string;
|
|
5452
5375
|
memo: string;
|
|
5453
5376
|
from: string;
|
|
5454
5377
|
to: "proton.wrap";
|
|
5455
|
-
}
|
|
5378
|
+
};
|
|
5456
5379
|
}[];
|
|
5457
5380
|
}>;
|
|
5458
5381
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -5500,17 +5423,12 @@ declare const withdrawBodyParser: z.ZodObject<{
|
|
|
5500
5423
|
actor: string;
|
|
5501
5424
|
permission: string;
|
|
5502
5425
|
}[];
|
|
5503
|
-
data:
|
|
5426
|
+
data: string | {
|
|
5504
5427
|
quantity: string;
|
|
5505
5428
|
memo: string;
|
|
5506
5429
|
from: string;
|
|
5507
5430
|
to: "proton.wrap";
|
|
5508
|
-
}
|
|
5509
|
-
quantity: string;
|
|
5510
|
-
memo: string;
|
|
5511
|
-
from: string;
|
|
5512
|
-
to: "proton.wrap";
|
|
5513
|
-
} | undefined);
|
|
5431
|
+
};
|
|
5514
5432
|
}[];
|
|
5515
5433
|
};
|
|
5516
5434
|
}, {
|
|
@@ -5558,17 +5476,12 @@ declare const withdrawBodyParser: z.ZodObject<{
|
|
|
5558
5476
|
actor: string;
|
|
5559
5477
|
permission: string;
|
|
5560
5478
|
}[];
|
|
5561
|
-
data:
|
|
5562
|
-
quantity: string;
|
|
5563
|
-
memo: string;
|
|
5564
|
-
from: string;
|
|
5565
|
-
to: "proton.wrap";
|
|
5566
|
-
}) & (string | {
|
|
5479
|
+
data: string | {
|
|
5567
5480
|
quantity: string;
|
|
5568
5481
|
memo: string;
|
|
5569
5482
|
from: string;
|
|
5570
5483
|
to: "proton.wrap";
|
|
5571
|
-
}
|
|
5484
|
+
};
|
|
5572
5485
|
}[];
|
|
5573
5486
|
};
|
|
5574
5487
|
}>;
|
|
@@ -5634,17 +5547,12 @@ declare const withdrawBodyParser: z.ZodObject<{
|
|
|
5634
5547
|
actor: string;
|
|
5635
5548
|
permission: string;
|
|
5636
5549
|
}[];
|
|
5637
|
-
data:
|
|
5550
|
+
data: string | {
|
|
5638
5551
|
quantity: string;
|
|
5639
5552
|
memo: string;
|
|
5640
5553
|
from: string;
|
|
5641
5554
|
to: "proton.wrap";
|
|
5642
|
-
}
|
|
5643
|
-
quantity: string;
|
|
5644
|
-
memo: string;
|
|
5645
|
-
from: string;
|
|
5646
|
-
to: "proton.wrap";
|
|
5647
|
-
} | undefined);
|
|
5555
|
+
};
|
|
5648
5556
|
}[];
|
|
5649
5557
|
};
|
|
5650
5558
|
};
|
|
@@ -5700,22 +5608,17 @@ declare const withdrawBodyParser: z.ZodObject<{
|
|
|
5700
5608
|
actor: string;
|
|
5701
5609
|
permission: string;
|
|
5702
5610
|
}[];
|
|
5703
|
-
data:
|
|
5704
|
-
quantity: string;
|
|
5705
|
-
memo: string;
|
|
5706
|
-
from: string;
|
|
5707
|
-
to: "proton.wrap";
|
|
5708
|
-
}) & (string | {
|
|
5611
|
+
data: string | {
|
|
5709
5612
|
quantity: string;
|
|
5710
5613
|
memo: string;
|
|
5711
5614
|
from: string;
|
|
5712
5615
|
to: "proton.wrap";
|
|
5713
|
-
}
|
|
5616
|
+
};
|
|
5714
5617
|
}[];
|
|
5715
5618
|
};
|
|
5716
5619
|
};
|
|
5717
5620
|
}>]>, "many">;
|
|
5718
|
-
}
|
|
5621
|
+
}>, "strip", z.ZodTypeAny, {
|
|
5719
5622
|
expiration: string;
|
|
5720
5623
|
ref_block_num: number;
|
|
5721
5624
|
ref_block_prefix: number;
|
|
@@ -5798,17 +5701,12 @@ declare const withdrawBodyParser: z.ZodObject<{
|
|
|
5798
5701
|
actor: string;
|
|
5799
5702
|
permission: string;
|
|
5800
5703
|
}[];
|
|
5801
|
-
data:
|
|
5802
|
-
quantity: string;
|
|
5803
|
-
memo: string;
|
|
5804
|
-
from: string;
|
|
5805
|
-
to: "proton.wrap";
|
|
5806
|
-
}) & (string | {
|
|
5704
|
+
data: string | {
|
|
5807
5705
|
quantity: string;
|
|
5808
5706
|
memo: string;
|
|
5809
5707
|
from: string;
|
|
5810
5708
|
to: "proton.wrap";
|
|
5811
|
-
}
|
|
5709
|
+
};
|
|
5812
5710
|
}[];
|
|
5813
5711
|
};
|
|
5814
5712
|
};
|
|
@@ -5896,17 +5794,12 @@ declare const withdrawBodyParser: z.ZodObject<{
|
|
|
5896
5794
|
actor: string;
|
|
5897
5795
|
permission: string;
|
|
5898
5796
|
}[];
|
|
5899
|
-
data:
|
|
5797
|
+
data: string | {
|
|
5900
5798
|
quantity: string;
|
|
5901
5799
|
memo: string;
|
|
5902
5800
|
from: string;
|
|
5903
5801
|
to: "proton.wrap";
|
|
5904
|
-
}
|
|
5905
|
-
quantity: string;
|
|
5906
|
-
memo: string;
|
|
5907
|
-
from: string;
|
|
5908
|
-
to: "proton.wrap";
|
|
5909
|
-
} | undefined);
|
|
5802
|
+
};
|
|
5910
5803
|
}[];
|
|
5911
5804
|
};
|
|
5912
5805
|
};
|
|
@@ -6003,17 +5896,12 @@ declare const withdrawBodyParser: z.ZodObject<{
|
|
|
6003
5896
|
actor: string;
|
|
6004
5897
|
permission: string;
|
|
6005
5898
|
}[];
|
|
6006
|
-
data:
|
|
5899
|
+
data: string | {
|
|
6007
5900
|
quantity: string;
|
|
6008
5901
|
memo: string;
|
|
6009
5902
|
from: string;
|
|
6010
5903
|
to: "proton.wrap";
|
|
6011
|
-
}
|
|
6012
|
-
quantity: string;
|
|
6013
|
-
memo: string;
|
|
6014
|
-
from: string;
|
|
6015
|
-
to: "proton.wrap";
|
|
6016
|
-
} | undefined);
|
|
5904
|
+
};
|
|
6017
5905
|
}[];
|
|
6018
5906
|
};
|
|
6019
5907
|
};
|
|
@@ -6110,17 +5998,12 @@ declare const withdrawBodyParser: z.ZodObject<{
|
|
|
6110
5998
|
actor: string;
|
|
6111
5999
|
permission: string;
|
|
6112
6000
|
}[];
|
|
6113
|
-
data:
|
|
6114
|
-
quantity: string;
|
|
6115
|
-
memo: string;
|
|
6116
|
-
from: string;
|
|
6117
|
-
to: "proton.wrap";
|
|
6118
|
-
}) & (string | {
|
|
6001
|
+
data: string | {
|
|
6119
6002
|
quantity: string;
|
|
6120
6003
|
memo: string;
|
|
6121
6004
|
from: string;
|
|
6122
6005
|
to: "proton.wrap";
|
|
6123
|
-
}
|
|
6006
|
+
};
|
|
6124
6007
|
}[];
|
|
6125
6008
|
};
|
|
6126
6009
|
};
|
|
@@ -6129,7 +6012,7 @@ declare const withdrawBodyParser: z.ZodObject<{
|
|
|
6129
6012
|
quoteId: string;
|
|
6130
6013
|
provider?: string | undefined;
|
|
6131
6014
|
}>;
|
|
6132
|
-
|
|
6015
|
+
type WithdrawBody = z.infer<typeof withdrawBodyParser>;
|
|
6133
6016
|
declare const withdrawMetalResponseParser: z.ZodObject<{
|
|
6134
6017
|
success: z.ZodBoolean;
|
|
6135
6018
|
id: z.ZodString;
|
|
@@ -6140,7 +6023,7 @@ declare const withdrawMetalResponseParser: z.ZodObject<{
|
|
|
6140
6023
|
id: string;
|
|
6141
6024
|
success: boolean;
|
|
6142
6025
|
}>;
|
|
6143
|
-
|
|
6026
|
+
type WithdrawMetalResponse = z.infer<typeof withdrawMetalResponseParser>;
|
|
6144
6027
|
declare const withdrawalFeeQuoteParser: z.ZodObject<{
|
|
6145
6028
|
quoteId: z.ZodString;
|
|
6146
6029
|
estimatedFee: z.ZodString;
|
|
@@ -6157,7 +6040,7 @@ declare const withdrawalFeeQuoteParser: z.ZodObject<{
|
|
|
6157
6040
|
estimatedFee: string;
|
|
6158
6041
|
currency: string;
|
|
6159
6042
|
}>;
|
|
6160
|
-
|
|
6043
|
+
type WithdrawalFeeQuote = z.infer<typeof withdrawalFeeQuoteParser>;
|
|
6161
6044
|
|
|
6162
6045
|
declare const withdrawHistoryMetalSwapParser: z.ZodObject<{
|
|
6163
6046
|
id: z.ZodString;
|
|
@@ -6187,7 +6070,7 @@ declare const withdrawHistoryMetalSwapParser: z.ZodObject<{
|
|
|
6187
6070
|
withdrawalAddress: string;
|
|
6188
6071
|
withdrawalHash?: string | undefined;
|
|
6189
6072
|
}>;
|
|
6190
|
-
|
|
6073
|
+
type WithdrawHistoryMetalSwap = z.infer<typeof withdrawHistoryMetalSwapParser>;
|
|
6191
6074
|
declare const withdrawHistoryMetalResponseParser: z.ZodObject<{
|
|
6192
6075
|
swaps: z.ZodArray<z.ZodObject<{
|
|
6193
6076
|
id: z.ZodString;
|
|
@@ -6255,7 +6138,7 @@ declare const withdrawHistoryMetalResponseParser: z.ZodObject<{
|
|
|
6255
6138
|
totalPages: number;
|
|
6256
6139
|
totalElements: number;
|
|
6257
6140
|
}>;
|
|
6258
|
-
|
|
6141
|
+
type WithdrawHistoryMetalResponse = z.infer<typeof withdrawHistoryMetalResponseParser>;
|
|
6259
6142
|
|
|
6260
6143
|
declare enum Status {
|
|
6261
6144
|
PENDING = "pending",
|
|
@@ -6300,7 +6183,7 @@ declare const wrapStartParser: z.ZodObject<{
|
|
|
6300
6183
|
txid: string;
|
|
6301
6184
|
deposit_address: string;
|
|
6302
6185
|
}>;
|
|
6303
|
-
|
|
6186
|
+
type WrapStart = z.infer<typeof wrapStartParser>;
|
|
6304
6187
|
declare const wrapSetConfParser: z.ZodObject<{
|
|
6305
6188
|
wrap_hash: z.ZodString;
|
|
6306
6189
|
confirmations: z.ZodNumber;
|
|
@@ -6311,7 +6194,7 @@ declare const wrapSetConfParser: z.ZodObject<{
|
|
|
6311
6194
|
confirmations: number;
|
|
6312
6195
|
wrap_hash: string;
|
|
6313
6196
|
}>;
|
|
6314
|
-
|
|
6197
|
+
type WrapSetConf = z.infer<typeof wrapSetConfParser>;
|
|
6315
6198
|
declare const wrapParser: z.ZodObject<{
|
|
6316
6199
|
index: z.ZodNumber;
|
|
6317
6200
|
proton_account: z.ZodString;
|
|
@@ -6364,10 +6247,10 @@ declare const wrapParser: z.ZodObject<{
|
|
|
6364
6247
|
proton_account: string;
|
|
6365
6248
|
finish_txid: string;
|
|
6366
6249
|
}>;
|
|
6367
|
-
|
|
6250
|
+
type Wrap = z.infer<typeof wrapParser>;
|
|
6368
6251
|
|
|
6369
6252
|
declare const sortDirectionEnum: z.ZodEnum<["asc", "desc"]>;
|
|
6370
|
-
|
|
6253
|
+
type SortDirection = z.input<typeof sortDirectionEnum>;
|
|
6371
6254
|
/**
|
|
6372
6255
|
* OHLCV
|
|
6373
6256
|
*/
|
|
@@ -6399,7 +6282,7 @@ declare const ohlcvParser: z.ZodObject<{
|
|
|
6399
6282
|
volume_bid: number;
|
|
6400
6283
|
count: number;
|
|
6401
6284
|
}>;
|
|
6402
|
-
|
|
6285
|
+
type OHLCV = z.infer<typeof ohlcvParser>;
|
|
6403
6286
|
declare const getOhlcvParser: z.ZodObject<{
|
|
6404
6287
|
interval: z.ZodString;
|
|
6405
6288
|
from: z.ZodString;
|
|
@@ -6419,8 +6302,8 @@ declare const getOhlcvParser: z.ZodObject<{
|
|
|
6419
6302
|
interval: string;
|
|
6420
6303
|
limit?: number | undefined;
|
|
6421
6304
|
}>;
|
|
6422
|
-
|
|
6423
|
-
|
|
6305
|
+
type GetOHLCV = z.input<typeof getOhlcvParser>;
|
|
6306
|
+
type GetOHLCVParsed = z.output<typeof getOhlcvParser>;
|
|
6424
6307
|
declare const getOhlcvResponseParser: z.ZodObject<{
|
|
6425
6308
|
sync: z.ZodNumber;
|
|
6426
6309
|
data: z.ZodArray<z.ZodObject<{
|
|
@@ -6476,7 +6359,7 @@ declare const getOhlcvResponseParser: z.ZodObject<{
|
|
|
6476
6359
|
}[];
|
|
6477
6360
|
sync: number;
|
|
6478
6361
|
}>;
|
|
6479
|
-
|
|
6362
|
+
type GetOHLCVResponse = z.infer<typeof getOhlcvResponseParser>;
|
|
6480
6363
|
/**
|
|
6481
6364
|
* Order History
|
|
6482
6365
|
*/
|
|
@@ -6538,7 +6421,7 @@ declare const openOrderParser: z.ZodObject<{
|
|
|
6538
6421
|
filled_amount?: number | undefined;
|
|
6539
6422
|
filled_fee?: number | undefined;
|
|
6540
6423
|
}>;
|
|
6541
|
-
|
|
6424
|
+
type OpenOrder = z.infer<typeof openOrderParser>;
|
|
6542
6425
|
declare const orderLogParser: z.ZodObject<{
|
|
6543
6426
|
seq: z.ZodString;
|
|
6544
6427
|
block_num: z.ZodString;
|
|
@@ -6588,7 +6471,7 @@ declare const orderLogParser: z.ZodObject<{
|
|
|
6588
6471
|
quantity_change: string;
|
|
6589
6472
|
trx_id: string;
|
|
6590
6473
|
}>;
|
|
6591
|
-
|
|
6474
|
+
type OrderLog = z.infer<typeof orderLogParser>;
|
|
6592
6475
|
declare const orderHistoryParser: z.ZodObject<{
|
|
6593
6476
|
block_num: z.ZodString;
|
|
6594
6477
|
block_time: z.ZodString;
|
|
@@ -6653,7 +6536,7 @@ declare const orderHistoryParser: z.ZodObject<{
|
|
|
6653
6536
|
filled_amount?: number | undefined;
|
|
6654
6537
|
filled_fee?: number | undefined;
|
|
6655
6538
|
}>;
|
|
6656
|
-
|
|
6539
|
+
type OrderHistory = z.infer<typeof orderHistoryParser>;
|
|
6657
6540
|
declare const getOpenOrdersParser: z.ZodObject<{
|
|
6658
6541
|
account: z.ZodString;
|
|
6659
6542
|
symbol: z.ZodOptional<z.ZodString>;
|
|
@@ -6669,12 +6552,12 @@ declare const getOpenOrdersParser: z.ZodObject<{
|
|
|
6669
6552
|
}, {
|
|
6670
6553
|
account: string;
|
|
6671
6554
|
symbol?: string | undefined;
|
|
6672
|
-
offset?: number | undefined;
|
|
6673
6555
|
limit?: number | undefined;
|
|
6556
|
+
offset?: number | undefined;
|
|
6674
6557
|
ordinal_order_ids?: string | string[] | undefined;
|
|
6675
6558
|
}>;
|
|
6676
|
-
|
|
6677
|
-
|
|
6559
|
+
type GetOpenOrders = z.input<typeof getOpenOrdersParser>;
|
|
6560
|
+
type GetOpenOrdersParsed = z.output<typeof getOpenOrdersParser>;
|
|
6678
6561
|
declare const getOpenOrdersResponseParser: z.ZodObject<{
|
|
6679
6562
|
sync: z.ZodNumber;
|
|
6680
6563
|
count: z.ZodNumber;
|
|
@@ -6783,7 +6666,7 @@ declare const getOpenOrdersResponseParser: z.ZodObject<{
|
|
|
6783
6666
|
count: number;
|
|
6784
6667
|
sync: number;
|
|
6785
6668
|
}>;
|
|
6786
|
-
|
|
6669
|
+
type GetOpenOrdersResponse = z.infer<typeof getOpenOrdersResponseParser>;
|
|
6787
6670
|
declare const getOrderHistoryParser: z.ZodObject<{
|
|
6788
6671
|
account: z.ZodString;
|
|
6789
6672
|
symbol: z.ZodOptional<z.ZodString>;
|
|
@@ -6798,19 +6681,19 @@ declare const getOrderHistoryParser: z.ZodObject<{
|
|
|
6798
6681
|
offset: number;
|
|
6799
6682
|
ordinal_order_ids: string[];
|
|
6800
6683
|
symbol?: string | undefined;
|
|
6801
|
-
trx_id?: string | undefined;
|
|
6802
6684
|
status?: string | undefined;
|
|
6685
|
+
trx_id?: string | undefined;
|
|
6803
6686
|
}, {
|
|
6804
6687
|
account: string;
|
|
6805
6688
|
symbol?: string | undefined;
|
|
6806
|
-
|
|
6689
|
+
status?: string | undefined;
|
|
6807
6690
|
limit?: number | undefined;
|
|
6808
|
-
ordinal_order_ids?: string | string[] | undefined;
|
|
6809
6691
|
trx_id?: string | undefined;
|
|
6810
|
-
|
|
6692
|
+
offset?: number | undefined;
|
|
6693
|
+
ordinal_order_ids?: string | string[] | undefined;
|
|
6811
6694
|
}>;
|
|
6812
|
-
|
|
6813
|
-
|
|
6695
|
+
type GetOrderHistory = z.input<typeof getOrderHistoryParser>;
|
|
6696
|
+
type GetOrderHistoryParsed = z.output<typeof getOrderHistoryParser>;
|
|
6814
6697
|
declare const getOrderHistoryResponseParser: z.ZodObject<{
|
|
6815
6698
|
sync: z.ZodNumber;
|
|
6816
6699
|
count: z.ZodNumber;
|
|
@@ -6929,7 +6812,7 @@ declare const getOrderHistoryResponseParser: z.ZodObject<{
|
|
|
6929
6812
|
count: number;
|
|
6930
6813
|
sync: number;
|
|
6931
6814
|
}>;
|
|
6932
|
-
|
|
6815
|
+
type GetOrderHistoryResponse = z.infer<typeof getOrderHistoryResponseParser>;
|
|
6933
6816
|
declare const getOrderLifecycleParser: z.ZodObject<{
|
|
6934
6817
|
order_id: z.ZodOptional<z.ZodString>;
|
|
6935
6818
|
ordinal_order_id: z.ZodOptional<z.ZodString>;
|
|
@@ -6940,8 +6823,8 @@ declare const getOrderLifecycleParser: z.ZodObject<{
|
|
|
6940
6823
|
order_id?: string | undefined;
|
|
6941
6824
|
ordinal_order_id?: string | undefined;
|
|
6942
6825
|
}>;
|
|
6943
|
-
|
|
6944
|
-
|
|
6826
|
+
type GetOrderLifecycle = z.input<typeof getOrderLifecycleParser>;
|
|
6827
|
+
type GetOrderLifecycleParsed = z.output<typeof getOrderLifecycleParser>;
|
|
6945
6828
|
declare const getOrderLifecycleResponseParser: z.ZodObject<{
|
|
6946
6829
|
sync: z.ZodNumber;
|
|
6947
6830
|
data: z.ZodArray<z.ZodObject<{
|
|
@@ -7057,7 +6940,7 @@ declare const getOrderLifecycleResponseParser: z.ZodObject<{
|
|
|
7057
6940
|
}[];
|
|
7058
6941
|
sync: number;
|
|
7059
6942
|
}>;
|
|
7060
|
-
|
|
6943
|
+
type GetOrderLifecycleResponse = z.infer<typeof getOrderLifecycleResponseParser>;
|
|
7061
6944
|
/**
|
|
7062
6945
|
* Submit Order
|
|
7063
6946
|
*/
|
|
@@ -7071,7 +6954,7 @@ declare const postSubmitOrderParser: z.ZodObject<{
|
|
|
7071
6954
|
signatures: string[];
|
|
7072
6955
|
serialized_tx_hex: string;
|
|
7073
6956
|
}>;
|
|
7074
|
-
|
|
6957
|
+
type PostSubmitOrder = z.infer<typeof postSubmitOrderParser>;
|
|
7075
6958
|
declare const postSubmitOrderResponseParser: z.ZodObject<{
|
|
7076
6959
|
sync: z.ZodNumber;
|
|
7077
6960
|
data: z.ZodObject<{
|
|
@@ -7130,7 +7013,7 @@ declare const postSubmitOrderResponseParser: z.ZodObject<{
|
|
|
7130
7013
|
};
|
|
7131
7014
|
sync: number;
|
|
7132
7015
|
}>;
|
|
7133
|
-
|
|
7016
|
+
type PostSubmitOrderResponse = z.infer<typeof postSubmitOrderResponseParser>;
|
|
7134
7017
|
/**
|
|
7135
7018
|
* Serialize Order
|
|
7136
7019
|
*/
|
|
@@ -7213,7 +7096,7 @@ declare const postSerializeOrderParser: z.ZodObject<{
|
|
|
7213
7096
|
}[];
|
|
7214
7097
|
};
|
|
7215
7098
|
}>;
|
|
7216
|
-
|
|
7099
|
+
type PostSerializeOrder = z.infer<typeof postSerializeOrderParser>;
|
|
7217
7100
|
declare const postSerializeOrderResponseParser: z.ZodObject<{
|
|
7218
7101
|
data: z.ZodObject<{
|
|
7219
7102
|
serialized_tx_hex: z.ZodString;
|
|
@@ -7236,7 +7119,7 @@ declare const postSerializeOrderResponseParser: z.ZodObject<{
|
|
|
7236
7119
|
digest_hex: string;
|
|
7237
7120
|
};
|
|
7238
7121
|
}>;
|
|
7239
|
-
|
|
7122
|
+
type PostSerializeOrderResponse = z.infer<typeof postSerializeOrderResponseParser>;
|
|
7240
7123
|
/**
|
|
7241
7124
|
* Depth
|
|
7242
7125
|
*/
|
|
@@ -7256,7 +7139,7 @@ declare const depthParser: z.ZodObject<{
|
|
|
7256
7139
|
ask: number;
|
|
7257
7140
|
bid: number;
|
|
7258
7141
|
}>;
|
|
7259
|
-
|
|
7142
|
+
type Depth = z.infer<typeof depthParser>;
|
|
7260
7143
|
declare const getDepthParser: z.ZodObject<{
|
|
7261
7144
|
symbol: z.ZodString;
|
|
7262
7145
|
step: z.ZodNumber;
|
|
@@ -7270,8 +7153,8 @@ declare const getDepthParser: z.ZodObject<{
|
|
|
7270
7153
|
step: number;
|
|
7271
7154
|
limit?: number | undefined;
|
|
7272
7155
|
}>;
|
|
7273
|
-
|
|
7274
|
-
|
|
7156
|
+
type GetDepth = z.input<typeof getDepthParser>;
|
|
7157
|
+
type GetDepthParsed = z.output<typeof getDepthParser>;
|
|
7275
7158
|
declare const getDepthResponseParser: z.ZodObject<{
|
|
7276
7159
|
sync: z.ZodNumber;
|
|
7277
7160
|
data: z.ZodObject<{
|
|
@@ -7367,7 +7250,7 @@ declare const getDepthResponseParser: z.ZodObject<{
|
|
|
7367
7250
|
};
|
|
7368
7251
|
sync: number;
|
|
7369
7252
|
}>;
|
|
7370
|
-
|
|
7253
|
+
type GetDepthResponse = z.infer<typeof getDepthResponseParser>;
|
|
7371
7254
|
/**
|
|
7372
7255
|
* Daily
|
|
7373
7256
|
*/
|
|
@@ -7402,7 +7285,7 @@ declare const dailyParser: z.ZodObject<{
|
|
|
7402
7285
|
volume_ask: number;
|
|
7403
7286
|
change_percentage: number;
|
|
7404
7287
|
}>;
|
|
7405
|
-
|
|
7288
|
+
type Daily = z.infer<typeof dailyParser>;
|
|
7406
7289
|
declare const getDailyResponseParser: z.ZodObject<{
|
|
7407
7290
|
sync: z.ZodNumber;
|
|
7408
7291
|
data: z.ZodArray<z.ZodObject<{
|
|
@@ -7463,7 +7346,7 @@ declare const getDailyResponseParser: z.ZodObject<{
|
|
|
7463
7346
|
}[];
|
|
7464
7347
|
sync: number;
|
|
7465
7348
|
}>;
|
|
7466
|
-
|
|
7349
|
+
type GetDailyResponse = z.infer<typeof getDailyResponseParser>;
|
|
7467
7350
|
/**
|
|
7468
7351
|
* Markets
|
|
7469
7352
|
*/
|
|
@@ -7548,7 +7431,7 @@ declare const marketParser: z.ZodObject<{
|
|
|
7548
7431
|
multiplier: number;
|
|
7549
7432
|
};
|
|
7550
7433
|
}>;
|
|
7551
|
-
|
|
7434
|
+
type Market = z.infer<typeof marketParser>;
|
|
7552
7435
|
declare const dbMarketParser: z.ZodObject<{
|
|
7553
7436
|
market_id: z.ZodNumber;
|
|
7554
7437
|
order_min: z.ZodString;
|
|
@@ -7589,7 +7472,7 @@ declare const dbMarketParser: z.ZodObject<{
|
|
|
7589
7472
|
ask_token_s: string;
|
|
7590
7473
|
ask_token_m: string;
|
|
7591
7474
|
}>;
|
|
7592
|
-
|
|
7475
|
+
type DbMarket = z.infer<typeof dbMarketParser>;
|
|
7593
7476
|
declare const getMarketsResponseParser: z.ZodObject<{
|
|
7594
7477
|
sync: z.ZodNumber;
|
|
7595
7478
|
data: z.ZodArray<z.ZodObject<{
|
|
@@ -7720,7 +7603,7 @@ declare const getMarketsResponseParser: z.ZodObject<{
|
|
|
7720
7603
|
}[];
|
|
7721
7604
|
sync: number;
|
|
7722
7605
|
}>;
|
|
7723
|
-
|
|
7606
|
+
type GetMarketsResponse = z.infer<typeof getMarketsResponseParser>;
|
|
7724
7607
|
/**
|
|
7725
7608
|
* Trades
|
|
7726
7609
|
*/
|
|
@@ -7791,7 +7674,7 @@ declare const tradeLogParser: z.ZodObject<{
|
|
|
7791
7674
|
ask_referrer: string;
|
|
7792
7675
|
ask_referrer_fee: string;
|
|
7793
7676
|
}>;
|
|
7794
|
-
|
|
7677
|
+
type TradeLog = z.infer<typeof tradeLogParser>;
|
|
7795
7678
|
declare const tradeParser: z.ZodObject<{
|
|
7796
7679
|
block_num: z.ZodString;
|
|
7797
7680
|
block_time: z.ZodString;
|
|
@@ -7865,7 +7748,7 @@ declare const tradeParser: z.ZodObject<{
|
|
|
7865
7748
|
bid_user_ordinal_order_id: string;
|
|
7866
7749
|
ask_user_ordinal_order_id: string;
|
|
7867
7750
|
}>;
|
|
7868
|
-
|
|
7751
|
+
type Trade = z.infer<typeof tradeParser>;
|
|
7869
7752
|
declare const getTradesParser: z.ZodObject<{
|
|
7870
7753
|
symbol: z.ZodString;
|
|
7871
7754
|
offset: z.ZodDefault<z.ZodNumber>;
|
|
@@ -7876,11 +7759,11 @@ declare const getTradesParser: z.ZodObject<{
|
|
|
7876
7759
|
offset: number;
|
|
7877
7760
|
}, {
|
|
7878
7761
|
symbol: string;
|
|
7879
|
-
offset?: number | undefined;
|
|
7880
7762
|
limit?: number | undefined;
|
|
7763
|
+
offset?: number | undefined;
|
|
7881
7764
|
}>;
|
|
7882
|
-
|
|
7883
|
-
|
|
7765
|
+
type GetTrades = z.input<typeof getTradesParser>;
|
|
7766
|
+
type GetTradesParsed = z.output<typeof getTradesParser>;
|
|
7884
7767
|
declare const getTradesResponseParser: z.ZodObject<{
|
|
7885
7768
|
sync: z.ZodNumber;
|
|
7886
7769
|
data: z.ZodArray<z.ZodObject<{
|
|
@@ -8011,7 +7894,7 @@ declare const getTradesResponseParser: z.ZodObject<{
|
|
|
8011
7894
|
}[];
|
|
8012
7895
|
sync: number;
|
|
8013
7896
|
}>;
|
|
8014
|
-
|
|
7897
|
+
type GetTradesResponse = z.infer<typeof getTradesResponseParser>;
|
|
8015
7898
|
declare const getTradeHistoryParser: z.ZodObject<{
|
|
8016
7899
|
account: z.ZodString;
|
|
8017
7900
|
symbol: z.ZodOptional<z.ZodString>;
|
|
@@ -8027,12 +7910,12 @@ declare const getTradeHistoryParser: z.ZodObject<{
|
|
|
8027
7910
|
}, {
|
|
8028
7911
|
account: string;
|
|
8029
7912
|
symbol?: string | undefined;
|
|
7913
|
+
limit?: number | undefined;
|
|
8030
7914
|
offset?: number | undefined;
|
|
8031
7915
|
ordinal_order_ids?: string | string[] | undefined;
|
|
8032
|
-
limit?: number | undefined;
|
|
8033
7916
|
}>;
|
|
8034
|
-
|
|
8035
|
-
|
|
7917
|
+
type GetTradeHistory = z.input<typeof getTradeHistoryParser>;
|
|
7918
|
+
type GetTradeHistoryParsed = z.output<typeof getTradeHistoryParser>;
|
|
8036
7919
|
declare const getTradeHistoryResponseParser: z.ZodObject<{
|
|
8037
7920
|
sync: z.ZodNumber;
|
|
8038
7921
|
count: z.ZodNumber;
|
|
@@ -8166,7 +8049,7 @@ declare const getTradeHistoryResponseParser: z.ZodObject<{
|
|
|
8166
8049
|
count: number;
|
|
8167
8050
|
sync: number;
|
|
8168
8051
|
}>;
|
|
8169
|
-
|
|
8052
|
+
type GetTradeHistoryResponse = z.infer<typeof getTradeHistoryResponseParser>;
|
|
8170
8053
|
/**
|
|
8171
8054
|
* SYNC
|
|
8172
8055
|
*/
|
|
@@ -8192,7 +8075,7 @@ declare const syncParser: z.ZodObject<{
|
|
|
8192
8075
|
is_master: number;
|
|
8193
8076
|
last_updated: string;
|
|
8194
8077
|
}>;
|
|
8195
|
-
|
|
8078
|
+
type Sync = z.infer<typeof syncParser>;
|
|
8196
8079
|
declare const getSyncResponseParser: z.ZodObject<{
|
|
8197
8080
|
dbSecondsBehind: z.ZodNumber;
|
|
8198
8081
|
chronicleSecondsBehind: z.ZodNumber;
|
|
@@ -8206,7 +8089,7 @@ declare const getSyncResponseParser: z.ZodObject<{
|
|
|
8206
8089
|
chronicleSecondsBehind: number;
|
|
8207
8090
|
maxSecondsBehind: number;
|
|
8208
8091
|
}>;
|
|
8209
|
-
|
|
8092
|
+
type GetSyncResponse = z.infer<typeof getSyncResponseParser>;
|
|
8210
8093
|
/**
|
|
8211
8094
|
* Referral Totals
|
|
8212
8095
|
*/
|
|
@@ -8232,7 +8115,7 @@ declare const refferalTotalParser: z.ZodObject<{
|
|
|
8232
8115
|
ask_fee: number;
|
|
8233
8116
|
referrer: string;
|
|
8234
8117
|
}>;
|
|
8235
|
-
|
|
8118
|
+
type ReferralTotal = z.infer<typeof refferalTotalParser>;
|
|
8236
8119
|
declare const getReferralTotalsParser: z.ZodObject<{
|
|
8237
8120
|
referrer: z.ZodString;
|
|
8238
8121
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -8240,8 +8123,8 @@ declare const getReferralTotalsParser: z.ZodObject<{
|
|
|
8240
8123
|
}, {
|
|
8241
8124
|
referrer: string;
|
|
8242
8125
|
}>;
|
|
8243
|
-
|
|
8244
|
-
|
|
8126
|
+
type GetReferralTotals = z.input<typeof getReferralTotalsParser>;
|
|
8127
|
+
type GetReferralTotalsParsed = z.output<typeof getReferralTotalsParser>;
|
|
8245
8128
|
declare const getReferralTotalsResponseParser: z.ZodObject<{
|
|
8246
8129
|
sync: z.ZodNumber;
|
|
8247
8130
|
data: z.ZodArray<z.ZodObject<{
|
|
@@ -8287,7 +8170,7 @@ declare const getReferralTotalsResponseParser: z.ZodObject<{
|
|
|
8287
8170
|
}[];
|
|
8288
8171
|
sync: number;
|
|
8289
8172
|
}>;
|
|
8290
|
-
|
|
8173
|
+
type GetReferralTotalsResponse = z.infer<typeof getReferralTotalsResponseParser>;
|
|
8291
8174
|
/**
|
|
8292
8175
|
* Referrals
|
|
8293
8176
|
*/
|
|
@@ -8298,7 +8181,7 @@ declare const refferalParser: z.ZodObject<{
|
|
|
8298
8181
|
}, {
|
|
8299
8182
|
referred_user: string;
|
|
8300
8183
|
}>;
|
|
8301
|
-
|
|
8184
|
+
type Referral = z.infer<typeof refferalParser>;
|
|
8302
8185
|
declare const getReferralsParser: z.ZodObject<{
|
|
8303
8186
|
referrer: z.ZodString;
|
|
8304
8187
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -8306,8 +8189,8 @@ declare const getReferralsParser: z.ZodObject<{
|
|
|
8306
8189
|
}, {
|
|
8307
8190
|
referrer: string;
|
|
8308
8191
|
}>;
|
|
8309
|
-
|
|
8310
|
-
|
|
8192
|
+
type GetReferrals = z.input<typeof getReferralsParser>;
|
|
8193
|
+
type GetReferralsParsed = z.output<typeof getReferralsParser>;
|
|
8311
8194
|
declare const getReferralsResponseParser: z.ZodObject<{
|
|
8312
8195
|
sync: z.ZodNumber;
|
|
8313
8196
|
data: z.ZodArray<z.ZodObject<{
|
|
@@ -8328,7 +8211,7 @@ declare const getReferralsResponseParser: z.ZodObject<{
|
|
|
8328
8211
|
}[];
|
|
8329
8212
|
sync: number;
|
|
8330
8213
|
}>;
|
|
8331
|
-
|
|
8214
|
+
type GetReferralsResponse = z.infer<typeof getReferralsResponseParser>;
|
|
8332
8215
|
/**
|
|
8333
8216
|
* Leaderboard
|
|
8334
8217
|
*/
|
|
@@ -8342,7 +8225,7 @@ declare const leaderboardParser: z.ZodObject<{
|
|
|
8342
8225
|
user: string;
|
|
8343
8226
|
total: number;
|
|
8344
8227
|
}>;
|
|
8345
|
-
|
|
8228
|
+
type Leaderboard = z.infer<typeof leaderboardParser>;
|
|
8346
8229
|
declare const getLeaderboardParser: z.ZodObject<{
|
|
8347
8230
|
market_ids: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodArray<z.ZodNumber, "many">, z.ZodNumber]>, number[], number | number[]>, number[], number | number[]>;
|
|
8348
8231
|
from: z.ZodString;
|
|
@@ -8356,11 +8239,11 @@ declare const getLeaderboardParser: z.ZodObject<{
|
|
|
8356
8239
|
}, {
|
|
8357
8240
|
from: string;
|
|
8358
8241
|
to: string;
|
|
8359
|
-
market_ids:
|
|
8242
|
+
market_ids: number | number[];
|
|
8360
8243
|
exclude_zero_fee?: boolean | "true" | "false" | undefined;
|
|
8361
8244
|
}>;
|
|
8362
|
-
|
|
8363
|
-
|
|
8245
|
+
type GetLeaderboard = z.input<typeof getLeaderboardParser>;
|
|
8246
|
+
type GetLeaderboardParsed = z.output<typeof getLeaderboardParser>;
|
|
8364
8247
|
declare const getLeaderboardResponseParser: z.ZodObject<{
|
|
8365
8248
|
sync: z.ZodNumber;
|
|
8366
8249
|
data: z.ZodArray<z.ZodObject<{
|
|
@@ -8386,7 +8269,7 @@ declare const getLeaderboardResponseParser: z.ZodObject<{
|
|
|
8386
8269
|
}[];
|
|
8387
8270
|
sync: number;
|
|
8388
8271
|
}>;
|
|
8389
|
-
|
|
8272
|
+
type GetLeaderboardResponse = z.infer<typeof getLeaderboardResponseParser>;
|
|
8390
8273
|
/**
|
|
8391
8274
|
* History Transaction
|
|
8392
8275
|
*/
|
|
@@ -8431,7 +8314,7 @@ declare const historyPartialParser: z.ZodObject<{
|
|
|
8431
8314
|
signatures: string[];
|
|
8432
8315
|
context_free_data: unknown[];
|
|
8433
8316
|
}>;
|
|
8434
|
-
|
|
8317
|
+
type HistoryPartial = z.infer<typeof historyPartialParser>;
|
|
8435
8318
|
declare const actParser: z.ZodObject<{
|
|
8436
8319
|
account: z.ZodString;
|
|
8437
8320
|
name: z.ZodString;
|
|
@@ -8463,7 +8346,7 @@ declare const actParser: z.ZodObject<{
|
|
|
8463
8346
|
}[];
|
|
8464
8347
|
data?: any;
|
|
8465
8348
|
}>;
|
|
8466
|
-
|
|
8349
|
+
type HistoryAct = z.infer<typeof actParser>;
|
|
8467
8350
|
declare const receiptParser: z.ZodObject<{
|
|
8468
8351
|
receiver: z.ZodString;
|
|
8469
8352
|
act_digest: z.ZodString;
|
|
@@ -8504,7 +8387,7 @@ declare const receiptParser: z.ZodObject<{
|
|
|
8504
8387
|
code_sequence: string;
|
|
8505
8388
|
abi_sequence: string;
|
|
8506
8389
|
}>;
|
|
8507
|
-
|
|
8390
|
+
type HistoryReceipt = z.infer<typeof receiptParser>;
|
|
8508
8391
|
declare const actionTraceParser: z.ZodObject<{
|
|
8509
8392
|
action_ordinal: z.ZodString;
|
|
8510
8393
|
creator_action_ordinal: z.ZodString;
|
|
@@ -8667,7 +8550,7 @@ declare const actionTraceParser: z.ZodObject<{
|
|
|
8667
8550
|
error_code: string | null;
|
|
8668
8551
|
return_value: string;
|
|
8669
8552
|
}>;
|
|
8670
|
-
|
|
8553
|
+
type HistoryActionTrace = z.infer<typeof actionTraceParser>;
|
|
8671
8554
|
declare const traceParser: z.ZodObject<{
|
|
8672
8555
|
id: z.ZodString;
|
|
8673
8556
|
status: z.ZodString;
|
|
@@ -9021,7 +8904,7 @@ declare const traceParser: z.ZodObject<{
|
|
|
9021
8904
|
context_free_data: unknown[];
|
|
9022
8905
|
};
|
|
9023
8906
|
}>;
|
|
9024
|
-
|
|
8907
|
+
type HistoryTrace = z.infer<typeof traceParser>;
|
|
9025
8908
|
declare const historyTransactionParser: z.ZodObject<{
|
|
9026
8909
|
seq: z.ZodString;
|
|
9027
8910
|
block_num: z.ZodString;
|
|
@@ -9672,7 +9555,7 @@ declare const historyTransactionParser: z.ZodObject<{
|
|
|
9672
9555
|
block_timestamp: string;
|
|
9673
9556
|
};
|
|
9674
9557
|
}>;
|
|
9675
|
-
|
|
9558
|
+
type HistoryTransaction = z.infer<typeof historyTransactionParser>;
|
|
9676
9559
|
declare const getHistoryTransactionResponseParser: z.ZodObject<{
|
|
9677
9560
|
data: z.ZodNullable<z.ZodObject<{
|
|
9678
9561
|
seq: z.ZodString;
|
|
@@ -10479,7 +10362,7 @@ declare const getHistoryTransactionResponseParser: z.ZodObject<{
|
|
|
10479
10362
|
};
|
|
10480
10363
|
} | null;
|
|
10481
10364
|
}>;
|
|
10482
|
-
|
|
10365
|
+
type GetHistoryTransactionResponse = z.input<typeof getHistoryTransactionResponseParser>;
|
|
10483
10366
|
declare const chronicleTransactionParser: z.ZodObject<{
|
|
10484
10367
|
block_num: z.ZodString;
|
|
10485
10368
|
block_timestamp: z.ZodString;
|
|
@@ -10973,7 +10856,7 @@ declare const chronicleTransactionParser: z.ZodObject<{
|
|
|
10973
10856
|
};
|
|
10974
10857
|
block_timestamp: string;
|
|
10975
10858
|
}>;
|
|
10976
|
-
|
|
10859
|
+
type ChronicleTransaction = z.infer<typeof chronicleTransactionParser>;
|
|
10977
10860
|
declare const dbHistoryTransactionParser: z.ZodObject<{
|
|
10978
10861
|
seq: z.ZodString;
|
|
10979
10862
|
block_num: z.ZodString;
|
|
@@ -10993,7 +10876,7 @@ declare const dbHistoryTransactionParser: z.ZodObject<{
|
|
|
10993
10876
|
trx_id: string;
|
|
10994
10877
|
trace?: any;
|
|
10995
10878
|
}>;
|
|
10996
|
-
|
|
10879
|
+
type DbHistoryTransaction = z.infer<typeof dbHistoryTransactionParser>;
|
|
10997
10880
|
/**
|
|
10998
10881
|
* History Actions
|
|
10999
10882
|
*/
|
|
@@ -11017,16 +10900,16 @@ declare const getHistoryActionsParser: z.ZodObject<{
|
|
|
11017
10900
|
direction?: "asc" | "desc" | undefined;
|
|
11018
10901
|
}, {
|
|
11019
10902
|
account: string;
|
|
10903
|
+
limit?: number | undefined;
|
|
11020
10904
|
contract_filters?: string | string[] | undefined;
|
|
11021
10905
|
account_seq_from?: string | undefined;
|
|
11022
10906
|
account_seq_to?: string | undefined;
|
|
11023
10907
|
date_from?: string | undefined;
|
|
11024
10908
|
date_to?: string | undefined;
|
|
11025
10909
|
direction?: "asc" | "desc" | undefined;
|
|
11026
|
-
limit?: number | undefined;
|
|
11027
10910
|
}>;
|
|
11028
|
-
|
|
11029
|
-
|
|
10911
|
+
type GetHistoryActions = z.input<typeof getHistoryActionsParser>;
|
|
10912
|
+
type GetHistoryActionsParsed = z.output<typeof getHistoryActionsParser>;
|
|
11030
10913
|
declare const historyActionParser: z.ZodObject<{
|
|
11031
10914
|
block_num: z.ZodNumber;
|
|
11032
10915
|
block_time: z.ZodString;
|
|
@@ -11283,7 +11166,7 @@ declare const historyActionParser: z.ZodObject<{
|
|
|
11283
11166
|
return_value: string;
|
|
11284
11167
|
};
|
|
11285
11168
|
}>;
|
|
11286
|
-
|
|
11169
|
+
type HistoryAction = z.infer<typeof historyActionParser>;
|
|
11287
11170
|
declare const getHistoryActionsResponseParser: z.ZodObject<{
|
|
11288
11171
|
sync: z.ZodNumber;
|
|
11289
11172
|
last_irreversible_block_num: z.ZodNumber;
|
|
@@ -11638,7 +11521,7 @@ declare const getHistoryActionsResponseParser: z.ZodObject<{
|
|
|
11638
11521
|
sync: number;
|
|
11639
11522
|
last_irreversible_block_num: number;
|
|
11640
11523
|
}>;
|
|
11641
|
-
|
|
11524
|
+
type GetHistoryActionsResponse = z.infer<typeof getHistoryActionsResponseParser>;
|
|
11642
11525
|
/**
|
|
11643
11526
|
* History transfers
|
|
11644
11527
|
*/
|
|
@@ -11658,35 +11541,35 @@ declare const getHistoryTransfersParser: z.ZodObject<{
|
|
|
11658
11541
|
limit: z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, number | undefined>;
|
|
11659
11542
|
}, "strip", z.ZodTypeAny, {
|
|
11660
11543
|
limit: number;
|
|
11544
|
+
symbol?: string | undefined;
|
|
11545
|
+
contract?: string | undefined;
|
|
11546
|
+
date_from?: string | undefined;
|
|
11547
|
+
date_to?: string | undefined;
|
|
11548
|
+
direction?: "asc" | "desc" | undefined;
|
|
11661
11549
|
transfer_from?: string | undefined;
|
|
11662
11550
|
transfer_to?: string | undefined;
|
|
11663
|
-
contract?: string | undefined;
|
|
11664
|
-
symbol?: string | undefined;
|
|
11665
11551
|
amount_precision?: string | undefined;
|
|
11666
11552
|
amount_min?: string | undefined;
|
|
11667
11553
|
amount_max?: string | undefined;
|
|
11668
|
-
date_from?: string | undefined;
|
|
11669
|
-
date_to?: string | undefined;
|
|
11670
11554
|
global_seq_from?: string | undefined;
|
|
11671
11555
|
global_seq_to?: string | undefined;
|
|
11672
|
-
direction?: "asc" | "desc" | undefined;
|
|
11673
11556
|
}, {
|
|
11557
|
+
symbol?: string | undefined;
|
|
11558
|
+
contract?: string | undefined;
|
|
11559
|
+
limit?: number | undefined;
|
|
11560
|
+
date_from?: string | undefined;
|
|
11561
|
+
date_to?: string | undefined;
|
|
11562
|
+
direction?: "asc" | "desc" | undefined;
|
|
11674
11563
|
transfer_from?: string | undefined;
|
|
11675
11564
|
transfer_to?: string | undefined;
|
|
11676
|
-
contract?: string | undefined;
|
|
11677
|
-
symbol?: string | undefined;
|
|
11678
11565
|
amount_precision?: string | undefined;
|
|
11679
11566
|
amount_min?: string | undefined;
|
|
11680
11567
|
amount_max?: string | undefined;
|
|
11681
|
-
date_from?: string | undefined;
|
|
11682
|
-
date_to?: string | undefined;
|
|
11683
11568
|
global_seq_from?: string | undefined;
|
|
11684
11569
|
global_seq_to?: string | undefined;
|
|
11685
|
-
direction?: "asc" | "desc" | undefined;
|
|
11686
|
-
limit?: number | undefined;
|
|
11687
11570
|
}>;
|
|
11688
|
-
|
|
11689
|
-
|
|
11571
|
+
type GetHistoryTransfers = z.input<typeof getHistoryTransfersParser>;
|
|
11572
|
+
type GetHistoryTransfersParsed = z.output<typeof getHistoryTransfersParser>;
|
|
11690
11573
|
declare const historyTransferParser: z.ZodObject<{
|
|
11691
11574
|
block_num: z.ZodNumber;
|
|
11692
11575
|
block_time: z.ZodString;
|
|
@@ -11943,7 +11826,7 @@ declare const historyTransferParser: z.ZodObject<{
|
|
|
11943
11826
|
return_value: string;
|
|
11944
11827
|
};
|
|
11945
11828
|
}>;
|
|
11946
|
-
|
|
11829
|
+
type HistoryTransfer = z.infer<typeof historyTransferParser>;
|
|
11947
11830
|
declare const getHistoryTransfersResponseParser: z.ZodObject<{
|
|
11948
11831
|
sync: z.ZodNumber;
|
|
11949
11832
|
last_irreversible_block_num: z.ZodNumber;
|
|
@@ -12298,7 +12181,7 @@ declare const getHistoryTransfersResponseParser: z.ZodObject<{
|
|
|
12298
12181
|
sync: number;
|
|
12299
12182
|
last_irreversible_block_num: number;
|
|
12300
12183
|
}>;
|
|
12301
|
-
|
|
12184
|
+
type GetHistoryTransfersResponse = z.infer<typeof getHistoryTransfersResponseParser>;
|
|
12302
12185
|
/**
|
|
12303
12186
|
* Open orders Balances
|
|
12304
12187
|
*/
|
|
@@ -12321,7 +12204,7 @@ declare const marketOpenOrdersBalanceParser: z.ZodObject<{
|
|
|
12321
12204
|
bid_token_quantity: number;
|
|
12322
12205
|
ask_token_quantity: number;
|
|
12323
12206
|
}>;
|
|
12324
|
-
|
|
12207
|
+
type MarketOpenOrdersBalance = z.infer<typeof marketOpenOrdersBalanceParser>;
|
|
12325
12208
|
declare const getOpenOrdersBalancesResponseParser: z.ZodObject<{
|
|
12326
12209
|
sync: z.ZodNumber;
|
|
12327
12210
|
data: z.ZodArray<z.ZodObject<{
|
|
@@ -12362,7 +12245,7 @@ declare const getOpenOrdersBalancesResponseParser: z.ZodObject<{
|
|
|
12362
12245
|
}[];
|
|
12363
12246
|
sync: number;
|
|
12364
12247
|
}>;
|
|
12365
|
-
|
|
12248
|
+
type GetOpenOrdersBalancesResponse = z.infer<typeof getOpenOrdersBalancesResponseParser>;
|
|
12366
12249
|
/**
|
|
12367
12250
|
* Basic Types
|
|
12368
12251
|
*/
|
|
@@ -12402,9 +12285,10 @@ declare const TOPICS: {
|
|
|
12402
12285
|
};
|
|
12403
12286
|
};
|
|
12404
12287
|
|
|
12405
|
-
declare const loginAccountParamsV3Parser: z.ZodObject<{
|
|
12288
|
+
declare const loginAccountParamsV3Parser: z.ZodObject<z.objectUtil.extendShape<{
|
|
12406
12289
|
email: z.ZodOptional<z.ZodString>;
|
|
12407
12290
|
verificationCode: z.ZodOptional<z.ZodString>;
|
|
12291
|
+
}, {
|
|
12408
12292
|
signer: z.ZodObject<{
|
|
12409
12293
|
actor: z.ZodString;
|
|
12410
12294
|
permission: z.ZodString;
|
|
@@ -12416,7 +12300,7 @@ declare const loginAccountParamsV3Parser: z.ZodObject<{
|
|
|
12416
12300
|
permission: string;
|
|
12417
12301
|
}>;
|
|
12418
12302
|
signatures: z.ZodArray<z.ZodString, "many">;
|
|
12419
|
-
transaction: z.ZodObject<{
|
|
12303
|
+
transaction: z.ZodObject<z.objectUtil.extendShape<{
|
|
12420
12304
|
expiration: z.ZodString;
|
|
12421
12305
|
ref_block_num: z.ZodNumber;
|
|
12422
12306
|
ref_block_prefix: z.ZodNumber;
|
|
@@ -12458,6 +12342,7 @@ declare const loginAccountParamsV3Parser: z.ZodObject<{
|
|
|
12458
12342
|
hex_data?: string | undefined;
|
|
12459
12343
|
}>, "many">;
|
|
12460
12344
|
transaction_extensions: z.ZodArray<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">>, "many">;
|
|
12345
|
+
}, {
|
|
12461
12346
|
actions: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
12462
12347
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
12463
12348
|
name: z.ZodLiteral<string>;
|
|
@@ -12553,7 +12438,7 @@ declare const loginAccountParamsV3Parser: z.ZodObject<{
|
|
|
12553
12438
|
auth_data: string;
|
|
12554
12439
|
client_json: string;
|
|
12555
12440
|
}>;
|
|
12556
|
-
trx: z.ZodObject<{
|
|
12441
|
+
trx: z.ZodObject<z.objectUtil.extendShape<{
|
|
12557
12442
|
expiration: z.ZodString;
|
|
12558
12443
|
ref_block_num: z.ZodNumber;
|
|
12559
12444
|
ref_block_prefix: z.ZodNumber;
|
|
@@ -12595,6 +12480,7 @@ declare const loginAccountParamsV3Parser: z.ZodObject<{
|
|
|
12595
12480
|
hex_data?: string | undefined;
|
|
12596
12481
|
}>, "many">;
|
|
12597
12482
|
transaction_extensions: z.ZodArray<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">>, "many">;
|
|
12483
|
+
}, {
|
|
12598
12484
|
actions: z.ZodArray<z.ZodObject<{
|
|
12599
12485
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
12600
12486
|
name: z.ZodLiteral<string>;
|
|
@@ -12620,11 +12506,9 @@ declare const loginAccountParamsV3Parser: z.ZodObject<{
|
|
|
12620
12506
|
actor: string;
|
|
12621
12507
|
permission: string;
|
|
12622
12508
|
}[];
|
|
12623
|
-
data:
|
|
12509
|
+
data: string | {
|
|
12624
12510
|
[x: string]: any;
|
|
12625
|
-
}
|
|
12626
|
-
[x: string]: any;
|
|
12627
|
-
} | undefined);
|
|
12511
|
+
};
|
|
12628
12512
|
}, {
|
|
12629
12513
|
account: string;
|
|
12630
12514
|
name: string;
|
|
@@ -12632,13 +12516,11 @@ declare const loginAccountParamsV3Parser: z.ZodObject<{
|
|
|
12632
12516
|
actor: string;
|
|
12633
12517
|
permission: string;
|
|
12634
12518
|
}[];
|
|
12635
|
-
data:
|
|
12636
|
-
[x: string]: any;
|
|
12637
|
-
}) & (string | {
|
|
12519
|
+
data: string | {
|
|
12638
12520
|
[x: string]: any;
|
|
12639
|
-
}
|
|
12521
|
+
};
|
|
12640
12522
|
}>, "many">;
|
|
12641
|
-
}
|
|
12523
|
+
}>, "strip", z.ZodTypeAny, {
|
|
12642
12524
|
expiration: string;
|
|
12643
12525
|
ref_block_num: number;
|
|
12644
12526
|
ref_block_prefix: number;
|
|
@@ -12663,11 +12545,9 @@ declare const loginAccountParamsV3Parser: z.ZodObject<{
|
|
|
12663
12545
|
actor: string;
|
|
12664
12546
|
permission: string;
|
|
12665
12547
|
}[];
|
|
12666
|
-
data:
|
|
12548
|
+
data: string | {
|
|
12667
12549
|
[x: string]: any;
|
|
12668
|
-
}
|
|
12669
|
-
[x: string]: any;
|
|
12670
|
-
} | undefined);
|
|
12550
|
+
};
|
|
12671
12551
|
}[];
|
|
12672
12552
|
}, {
|
|
12673
12553
|
expiration: string;
|
|
@@ -12694,11 +12574,9 @@ declare const loginAccountParamsV3Parser: z.ZodObject<{
|
|
|
12694
12574
|
actor: string;
|
|
12695
12575
|
permission: string;
|
|
12696
12576
|
}[];
|
|
12697
|
-
data:
|
|
12698
|
-
[x: string]: any;
|
|
12699
|
-
}) & (string | {
|
|
12577
|
+
data: string | {
|
|
12700
12578
|
[x: string]: any;
|
|
12701
|
-
}
|
|
12579
|
+
};
|
|
12702
12580
|
}[];
|
|
12703
12581
|
}>;
|
|
12704
12582
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -12746,11 +12624,9 @@ declare const loginAccountParamsV3Parser: z.ZodObject<{
|
|
|
12746
12624
|
actor: string;
|
|
12747
12625
|
permission: string;
|
|
12748
12626
|
}[];
|
|
12749
|
-
data:
|
|
12627
|
+
data: string | {
|
|
12750
12628
|
[x: string]: any;
|
|
12751
|
-
}
|
|
12752
|
-
[x: string]: any;
|
|
12753
|
-
} | undefined);
|
|
12629
|
+
};
|
|
12754
12630
|
}[];
|
|
12755
12631
|
};
|
|
12756
12632
|
}, {
|
|
@@ -12798,11 +12674,9 @@ declare const loginAccountParamsV3Parser: z.ZodObject<{
|
|
|
12798
12674
|
actor: string;
|
|
12799
12675
|
permission: string;
|
|
12800
12676
|
}[];
|
|
12801
|
-
data:
|
|
12802
|
-
[x: string]: any;
|
|
12803
|
-
}) & (string | {
|
|
12677
|
+
data: string | {
|
|
12804
12678
|
[x: string]: any;
|
|
12805
|
-
}
|
|
12679
|
+
};
|
|
12806
12680
|
}[];
|
|
12807
12681
|
};
|
|
12808
12682
|
}>;
|
|
@@ -12868,11 +12742,9 @@ declare const loginAccountParamsV3Parser: z.ZodObject<{
|
|
|
12868
12742
|
actor: string;
|
|
12869
12743
|
permission: string;
|
|
12870
12744
|
}[];
|
|
12871
|
-
data:
|
|
12872
|
-
[x: string]: any;
|
|
12873
|
-
}) & (string | {
|
|
12745
|
+
data: string | {
|
|
12874
12746
|
[x: string]: any;
|
|
12875
|
-
}
|
|
12747
|
+
};
|
|
12876
12748
|
}[];
|
|
12877
12749
|
};
|
|
12878
12750
|
};
|
|
@@ -12928,16 +12800,14 @@ declare const loginAccountParamsV3Parser: z.ZodObject<{
|
|
|
12928
12800
|
actor: string;
|
|
12929
12801
|
permission: string;
|
|
12930
12802
|
}[];
|
|
12931
|
-
data:
|
|
12803
|
+
data: string | {
|
|
12932
12804
|
[x: string]: any;
|
|
12933
|
-
}
|
|
12934
|
-
[x: string]: any;
|
|
12935
|
-
} | undefined);
|
|
12805
|
+
};
|
|
12936
12806
|
}[];
|
|
12937
12807
|
};
|
|
12938
12808
|
};
|
|
12939
12809
|
}>]>, "many">;
|
|
12940
|
-
}
|
|
12810
|
+
}>, "strip", z.ZodTypeAny, {
|
|
12941
12811
|
expiration: string;
|
|
12942
12812
|
ref_block_num: number;
|
|
12943
12813
|
ref_block_prefix: number;
|
|
@@ -13017,11 +12887,9 @@ declare const loginAccountParamsV3Parser: z.ZodObject<{
|
|
|
13017
12887
|
actor: string;
|
|
13018
12888
|
permission: string;
|
|
13019
12889
|
}[];
|
|
13020
|
-
data:
|
|
12890
|
+
data: string | {
|
|
13021
12891
|
[x: string]: any;
|
|
13022
|
-
}
|
|
13023
|
-
[x: string]: any;
|
|
13024
|
-
} | undefined);
|
|
12892
|
+
};
|
|
13025
12893
|
}[];
|
|
13026
12894
|
};
|
|
13027
12895
|
};
|
|
@@ -13106,17 +12974,15 @@ declare const loginAccountParamsV3Parser: z.ZodObject<{
|
|
|
13106
12974
|
actor: string;
|
|
13107
12975
|
permission: string;
|
|
13108
12976
|
}[];
|
|
13109
|
-
data:
|
|
13110
|
-
[x: string]: any;
|
|
13111
|
-
}) & (string | {
|
|
12977
|
+
data: string | {
|
|
13112
12978
|
[x: string]: any;
|
|
13113
|
-
}
|
|
12979
|
+
};
|
|
13114
12980
|
}[];
|
|
13115
12981
|
};
|
|
13116
12982
|
};
|
|
13117
12983
|
})[];
|
|
13118
12984
|
}>;
|
|
13119
|
-
}
|
|
12985
|
+
}>, "strip", z.ZodTypeAny, {
|
|
13120
12986
|
signer: {
|
|
13121
12987
|
actor: string;
|
|
13122
12988
|
permission: string;
|
|
@@ -13202,11 +13068,9 @@ declare const loginAccountParamsV3Parser: z.ZodObject<{
|
|
|
13202
13068
|
actor: string;
|
|
13203
13069
|
permission: string;
|
|
13204
13070
|
}[];
|
|
13205
|
-
data:
|
|
13071
|
+
data: string | {
|
|
13206
13072
|
[x: string]: any;
|
|
13207
|
-
}
|
|
13208
|
-
[x: string]: any;
|
|
13209
|
-
} | undefined);
|
|
13073
|
+
};
|
|
13210
13074
|
}[];
|
|
13211
13075
|
};
|
|
13212
13076
|
};
|
|
@@ -13300,11 +13164,9 @@ declare const loginAccountParamsV3Parser: z.ZodObject<{
|
|
|
13300
13164
|
actor: string;
|
|
13301
13165
|
permission: string;
|
|
13302
13166
|
}[];
|
|
13303
|
-
data:
|
|
13304
|
-
[x: string]: any;
|
|
13305
|
-
}) & (string | {
|
|
13167
|
+
data: string | {
|
|
13306
13168
|
[x: string]: any;
|
|
13307
|
-
}
|
|
13169
|
+
};
|
|
13308
13170
|
}[];
|
|
13309
13171
|
};
|
|
13310
13172
|
};
|
|
@@ -13313,7 +13175,7 @@ declare const loginAccountParamsV3Parser: z.ZodObject<{
|
|
|
13313
13175
|
email?: string | undefined;
|
|
13314
13176
|
verificationCode?: string | undefined;
|
|
13315
13177
|
}>;
|
|
13316
|
-
|
|
13178
|
+
type LoginAccountParamsV3 = z.infer<typeof loginAccountParamsV3Parser>;
|
|
13317
13179
|
|
|
13318
13180
|
declare const WRAP_CONTRACT = "proton.wrap";
|
|
13319
13181
|
declare const WRAP_AUTH_ACTION = "generateauth";
|