@proton/wrap-constants 0.2.182 → 0.2.184
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 -554
- package/dist/index.js +50 -35
- package/dist/index.mjs +50 -35
- package/package.json +2 -2
- package/src/coins.ts +562 -560
- package/src/parsers/deposit.ts +1 -1
- 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
|
@@ -6,7 +6,7 @@ declare enum Chains {
|
|
|
6
6
|
BitcoinMainnet = "Bitcoin",
|
|
7
7
|
BitcoinTestnet = "Bitcoin (Testnet)",
|
|
8
8
|
EthereumMainnet = "Ethereum",
|
|
9
|
-
|
|
9
|
+
EthereumSepolia = "Ethereum (Sepolia)",
|
|
10
10
|
LitecoinMainnet = "Litecoin",
|
|
11
11
|
LitecoinTestnet = "Litecoin (Testnet)",
|
|
12
12
|
BitcoinCashMainnet = "Bitcoin Cash",
|
|
@@ -40,13 +40,13 @@ declare enum Chains {
|
|
|
40
40
|
declare enum Networks {
|
|
41
41
|
Mainnet = "mainnet",
|
|
42
42
|
Testnet = "testnet",
|
|
43
|
-
Ropsten = "ropsten",
|
|
44
43
|
ERC20 = "erc20",
|
|
45
44
|
BEP20 = "bep20",
|
|
46
45
|
XLM = "xlm",
|
|
47
46
|
AVM = "avm",
|
|
48
47
|
EVM = "evm",
|
|
49
|
-
METALL2 = "metall2"
|
|
48
|
+
METALL2 = "metall2",
|
|
49
|
+
Sepolia = "sepolia"
|
|
50
50
|
}
|
|
51
51
|
declare const similarChains: {
|
|
52
52
|
Ethereum: Chains[];
|
|
@@ -83,20 +83,20 @@ declare enum Providers {
|
|
|
83
83
|
METAL = "metal",
|
|
84
84
|
METALL2 = "metall2"
|
|
85
85
|
}
|
|
86
|
-
|
|
86
|
+
type CoinWallet = Exclude<Coin, "wallets"> & Wallet;
|
|
87
87
|
declare const explorerLinkByChain: {
|
|
88
88
|
Bitcoin: (txid: string) => string;
|
|
89
89
|
"Bitcoin (Testnet)": (txid: string) => string;
|
|
90
90
|
Ethereum: (txid: string) => string;
|
|
91
|
-
"Ethereum (
|
|
91
|
+
"Ethereum (Sepolia)": (txid: string) => string;
|
|
92
92
|
Litecoin: (txid: string) => string;
|
|
93
93
|
"Litecoin (Testnet)": (txid: string) => string;
|
|
94
94
|
"Bitcoin Cash": (txid: string) => string;
|
|
95
95
|
"Bitcoin Cash (Testnet)": (txid: string) => string;
|
|
96
96
|
Stellar: (txid: string) => string;
|
|
97
97
|
"Stellar (Testnet)": (txid: string) => string;
|
|
98
|
-
Proton: (txid: string, traces?: boolean
|
|
99
|
-
"Proton (Testnet)": (txid: string, traces?: boolean
|
|
98
|
+
Proton: (txid: string, traces?: boolean) => string;
|
|
99
|
+
"Proton (Testnet)": (txid: string, traces?: boolean) => string;
|
|
100
100
|
Polkadot: (txid: string) => string;
|
|
101
101
|
"Binance (BEP2)": (txid: string) => string;
|
|
102
102
|
"Binance (BEP20)": (txid: string) => string;
|
|
@@ -119,7 +119,7 @@ declare const explorerLinkByChain: {
|
|
|
119
119
|
"Metal L2 (Testnet)": (txid: string) => string;
|
|
120
120
|
"Metal L2": (txid: string) => string;
|
|
121
121
|
};
|
|
122
|
-
declare const protonExplorerTxUrl: (chain: string, txId: string, traces?: boolean
|
|
122
|
+
declare const protonExplorerTxUrl: (chain: string, txId: string, traces?: boolean) => string;
|
|
123
123
|
declare const initializeCoins: (protonChain: string) => {
|
|
124
124
|
allCoins: Coin[];
|
|
125
125
|
swapCoins: Coin[];
|
|
@@ -133,7 +133,7 @@ declare const initializeCoins: (protonChain: string) => {
|
|
|
133
133
|
declare const baseActionParser: <T extends z.ZodRawShape>(contract: string, action: string, data: T) => z.ZodObject<{
|
|
134
134
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
135
135
|
name: z.ZodLiteral<string>;
|
|
136
|
-
data: z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
136
|
+
data: z.ZodObject<T, "strip", z.ZodTypeAny, { [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
137
|
authorization: z.ZodArray<z.ZodObject<{
|
|
138
138
|
actor: z.ZodString;
|
|
139
139
|
permission: z.ZodString;
|
|
@@ -144,10 +144,10 @@ declare const baseActionParser: <T extends z.ZodRawShape>(contract: string, acti
|
|
|
144
144
|
actor: string;
|
|
145
145
|
permission: string;
|
|
146
146
|
}>, "many">;
|
|
147
|
-
}, "strip", z.ZodTypeAny, { [
|
|
147
|
+
}, "strip", z.ZodTypeAny, { [k_2 in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
148
148
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
149
149
|
name: z.ZodLiteral<string>;
|
|
150
|
-
data: z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
150
|
+
data: z.ZodObject<T, "strip", z.ZodTypeAny, { [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
151
|
authorization: z.ZodArray<z.ZodObject<{
|
|
152
152
|
actor: z.ZodString;
|
|
153
153
|
permission: z.ZodString;
|
|
@@ -158,10 +158,10 @@ declare const baseActionParser: <T extends z.ZodRawShape>(contract: string, acti
|
|
|
158
158
|
actor: string;
|
|
159
159
|
permission: string;
|
|
160
160
|
}>, "many">;
|
|
161
|
-
}>,
|
|
161
|
+
}>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
162
162
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
163
163
|
name: z.ZodLiteral<string>;
|
|
164
|
-
data: z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
164
|
+
data: z.ZodObject<T, "strip", z.ZodTypeAny, { [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
165
|
authorization: z.ZodArray<z.ZodObject<{
|
|
166
166
|
actor: z.ZodString;
|
|
167
167
|
permission: z.ZodString;
|
|
@@ -172,10 +172,10 @@ declare const baseActionParser: <T extends z.ZodRawShape>(contract: string, acti
|
|
|
172
172
|
actor: string;
|
|
173
173
|
permission: string;
|
|
174
174
|
}>, "many">;
|
|
175
|
-
}>,
|
|
175
|
+
}>, any>[k_2]; }, { [k_1_1 in keyof z.baseObjectInputType<{
|
|
176
176
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
177
177
|
name: z.ZodLiteral<string>;
|
|
178
|
-
data: z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
178
|
+
data: z.ZodObject<T, "strip", z.ZodTypeAny, { [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
179
|
authorization: z.ZodArray<z.ZodObject<{
|
|
180
180
|
actor: z.ZodString;
|
|
181
181
|
permission: z.ZodString;
|
|
@@ -189,7 +189,7 @@ declare const baseActionParser: <T extends z.ZodRawShape>(contract: string, acti
|
|
|
189
189
|
}>]: z.baseObjectInputType<{
|
|
190
190
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
191
191
|
name: z.ZodLiteral<string>;
|
|
192
|
-
data: z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
192
|
+
data: z.ZodObject<T, "strip", z.ZodTypeAny, { [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
193
|
authorization: z.ZodArray<z.ZodObject<{
|
|
194
194
|
actor: z.ZodString;
|
|
195
195
|
permission: z.ZodString;
|
|
@@ -200,11 +200,11 @@ declare const baseActionParser: <T extends z.ZodRawShape>(contract: string, acti
|
|
|
200
200
|
actor: string;
|
|
201
201
|
permission: string;
|
|
202
202
|
}>, "many">;
|
|
203
|
-
}>[
|
|
203
|
+
}>[k_1_1]; }>;
|
|
204
204
|
declare const baseActionSerializedParser: <T extends z.ZodRawShape>(contract: string, action: string, data: T) => z.ZodObject<{
|
|
205
205
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
206
206
|
name: z.ZodLiteral<string>;
|
|
207
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
207
|
+
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [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
208
|
authorization: z.ZodArray<z.ZodObject<{
|
|
209
209
|
actor: z.ZodString;
|
|
210
210
|
permission: z.ZodString;
|
|
@@ -215,10 +215,10 @@ declare const baseActionSerializedParser: <T extends z.ZodRawShape>(contract: st
|
|
|
215
215
|
actor: string;
|
|
216
216
|
permission: string;
|
|
217
217
|
}>, "many">;
|
|
218
|
-
}, "strip", z.ZodTypeAny, { [
|
|
218
|
+
}, "strip", z.ZodTypeAny, { [k_2 in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
219
219
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
220
220
|
name: z.ZodLiteral<string>;
|
|
221
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
221
|
+
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [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
222
|
authorization: z.ZodArray<z.ZodObject<{
|
|
223
223
|
actor: z.ZodString;
|
|
224
224
|
permission: z.ZodString;
|
|
@@ -229,10 +229,10 @@ declare const baseActionSerializedParser: <T extends z.ZodRawShape>(contract: st
|
|
|
229
229
|
actor: string;
|
|
230
230
|
permission: string;
|
|
231
231
|
}>, "many">;
|
|
232
|
-
}>,
|
|
232
|
+
}>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
233
233
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
234
234
|
name: z.ZodLiteral<string>;
|
|
235
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
235
|
+
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [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
236
|
authorization: z.ZodArray<z.ZodObject<{
|
|
237
237
|
actor: z.ZodString;
|
|
238
238
|
permission: z.ZodString;
|
|
@@ -243,10 +243,10 @@ declare const baseActionSerializedParser: <T extends z.ZodRawShape>(contract: st
|
|
|
243
243
|
actor: string;
|
|
244
244
|
permission: string;
|
|
245
245
|
}>, "many">;
|
|
246
|
-
}>,
|
|
246
|
+
}>, any>[k_2]; }, { [k_1_1 in keyof z.baseObjectInputType<{
|
|
247
247
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
248
248
|
name: z.ZodLiteral<string>;
|
|
249
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
249
|
+
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [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
250
|
authorization: z.ZodArray<z.ZodObject<{
|
|
251
251
|
actor: z.ZodString;
|
|
252
252
|
permission: z.ZodString;
|
|
@@ -260,7 +260,7 @@ declare const baseActionSerializedParser: <T extends z.ZodRawShape>(contract: st
|
|
|
260
260
|
}>]: z.baseObjectInputType<{
|
|
261
261
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
262
262
|
name: z.ZodLiteral<string>;
|
|
263
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
263
|
+
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [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
264
|
authorization: z.ZodArray<z.ZodObject<{
|
|
265
265
|
actor: z.ZodString;
|
|
266
266
|
permission: z.ZodString;
|
|
@@ -271,7 +271,7 @@ declare const baseActionSerializedParser: <T extends z.ZodRawShape>(contract: st
|
|
|
271
271
|
actor: string;
|
|
272
272
|
permission: string;
|
|
273
273
|
}>, "many">;
|
|
274
|
-
}>[
|
|
274
|
+
}>[k_1_1]; }>;
|
|
275
275
|
declare const webauthActionParser: <T extends z.ZodRawShape>(contract: string, action: string, data: T) => z.ZodObject<{
|
|
276
276
|
account: z.ZodLiteral<"webauthn">;
|
|
277
277
|
name: z.ZodLiteral<"exec">;
|
|
@@ -329,7 +329,7 @@ declare const webauthActionParser: <T extends z.ZodRawShape>(contract: string, a
|
|
|
329
329
|
auth_data: string;
|
|
330
330
|
client_json: string;
|
|
331
331
|
}>;
|
|
332
|
-
trx: z.ZodObject<{
|
|
332
|
+
trx: z.ZodObject<z.objectUtil.extendShape<{
|
|
333
333
|
expiration: z.ZodString;
|
|
334
334
|
ref_block_num: z.ZodNumber;
|
|
335
335
|
ref_block_prefix: z.ZodNumber;
|
|
@@ -371,10 +371,11 @@ declare const webauthActionParser: <T extends z.ZodRawShape>(contract: string, a
|
|
|
371
371
|
hex_data?: string | undefined;
|
|
372
372
|
}>, "many">;
|
|
373
373
|
transaction_extensions: z.ZodArray<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">>, "many">;
|
|
374
|
+
}, {
|
|
374
375
|
actions: z.ZodArray<z.ZodObject<{
|
|
375
376
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
376
377
|
name: z.ZodLiteral<string>;
|
|
377
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
378
|
+
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
379
|
authorization: z.ZodArray<z.ZodObject<{
|
|
379
380
|
actor: z.ZodString;
|
|
380
381
|
permission: z.ZodString;
|
|
@@ -385,10 +386,10 @@ declare const webauthActionParser: <T extends z.ZodRawShape>(contract: string, a
|
|
|
385
386
|
actor: string;
|
|
386
387
|
permission: string;
|
|
387
388
|
}>, "many">;
|
|
388
|
-
}, "strip", z.ZodTypeAny, { [
|
|
389
|
+
}, "strip", z.ZodTypeAny, { [k_2 in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
389
390
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
390
391
|
name: z.ZodLiteral<string>;
|
|
391
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
392
|
+
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
393
|
authorization: z.ZodArray<z.ZodObject<{
|
|
393
394
|
actor: z.ZodString;
|
|
394
395
|
permission: z.ZodString;
|
|
@@ -399,10 +400,10 @@ declare const webauthActionParser: <T extends z.ZodRawShape>(contract: string, a
|
|
|
399
400
|
actor: string;
|
|
400
401
|
permission: string;
|
|
401
402
|
}>, "many">;
|
|
402
|
-
}>,
|
|
403
|
+
}>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
403
404
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
404
405
|
name: z.ZodLiteral<string>;
|
|
405
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
406
|
+
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
407
|
authorization: z.ZodArray<z.ZodObject<{
|
|
407
408
|
actor: z.ZodString;
|
|
408
409
|
permission: z.ZodString;
|
|
@@ -413,10 +414,10 @@ declare const webauthActionParser: <T extends z.ZodRawShape>(contract: string, a
|
|
|
413
414
|
actor: string;
|
|
414
415
|
permission: string;
|
|
415
416
|
}>, "many">;
|
|
416
|
-
}>,
|
|
417
|
+
}>, any>[k_2]; }, { [k_1_1 in keyof z.baseObjectInputType<{
|
|
417
418
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
418
419
|
name: z.ZodLiteral<string>;
|
|
419
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
420
|
+
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
421
|
authorization: z.ZodArray<z.ZodObject<{
|
|
421
422
|
actor: z.ZodString;
|
|
422
423
|
permission: z.ZodString;
|
|
@@ -430,7 +431,7 @@ declare const webauthActionParser: <T extends z.ZodRawShape>(contract: string, a
|
|
|
430
431
|
}>]: z.baseObjectInputType<{
|
|
431
432
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
432
433
|
name: z.ZodLiteral<string>;
|
|
433
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
434
|
+
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
435
|
authorization: z.ZodArray<z.ZodObject<{
|
|
435
436
|
actor: z.ZodString;
|
|
436
437
|
permission: z.ZodString;
|
|
@@ -441,8 +442,8 @@ declare const webauthActionParser: <T extends z.ZodRawShape>(contract: string, a
|
|
|
441
442
|
actor: string;
|
|
442
443
|
permission: string;
|
|
443
444
|
}>, "many">;
|
|
444
|
-
}>[
|
|
445
|
-
}
|
|
445
|
+
}>[k_1_1]; }>, "many">;
|
|
446
|
+
}>, "strip", z.ZodTypeAny, {
|
|
446
447
|
expiration: string;
|
|
447
448
|
ref_block_num: number;
|
|
448
449
|
ref_block_prefix: number;
|
|
@@ -460,10 +461,10 @@ declare const webauthActionParser: <T extends z.ZodRawShape>(contract: string, a
|
|
|
460
461
|
hex_data?: string | undefined;
|
|
461
462
|
}[];
|
|
462
463
|
transaction_extensions: ((string | number)[] | undefined)[];
|
|
463
|
-
actions: { [
|
|
464
|
+
actions: { [k_2 in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
464
465
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
465
466
|
name: z.ZodLiteral<string>;
|
|
466
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
467
|
+
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
468
|
authorization: z.ZodArray<z.ZodObject<{
|
|
468
469
|
actor: z.ZodString;
|
|
469
470
|
permission: z.ZodString;
|
|
@@ -474,10 +475,10 @@ declare const webauthActionParser: <T extends z.ZodRawShape>(contract: string, a
|
|
|
474
475
|
actor: string;
|
|
475
476
|
permission: string;
|
|
476
477
|
}>, "many">;
|
|
477
|
-
}>,
|
|
478
|
+
}>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
478
479
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
479
480
|
name: z.ZodLiteral<string>;
|
|
480
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
481
|
+
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
482
|
authorization: z.ZodArray<z.ZodObject<{
|
|
482
483
|
actor: z.ZodString;
|
|
483
484
|
permission: z.ZodString;
|
|
@@ -488,7 +489,7 @@ declare const webauthActionParser: <T extends z.ZodRawShape>(contract: string, a
|
|
|
488
489
|
actor: string;
|
|
489
490
|
permission: string;
|
|
490
491
|
}>, "many">;
|
|
491
|
-
}>,
|
|
492
|
+
}>, any>[k_2]; }[];
|
|
492
493
|
}, {
|
|
493
494
|
expiration: string;
|
|
494
495
|
ref_block_num: number;
|
|
@@ -507,10 +508,10 @@ declare const webauthActionParser: <T extends z.ZodRawShape>(contract: string, a
|
|
|
507
508
|
hex_data?: string | undefined;
|
|
508
509
|
}[];
|
|
509
510
|
transaction_extensions: ((string | number)[] | undefined)[];
|
|
510
|
-
actions: { [
|
|
511
|
+
actions: { [k_1_1 in keyof z.baseObjectInputType<{
|
|
511
512
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
512
513
|
name: z.ZodLiteral<string>;
|
|
513
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
514
|
+
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
515
|
authorization: z.ZodArray<z.ZodObject<{
|
|
515
516
|
actor: z.ZodString;
|
|
516
517
|
permission: z.ZodString;
|
|
@@ -524,7 +525,7 @@ declare const webauthActionParser: <T extends z.ZodRawShape>(contract: string, a
|
|
|
524
525
|
}>]: z.baseObjectInputType<{
|
|
525
526
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
526
527
|
name: z.ZodLiteral<string>;
|
|
527
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
528
|
+
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
529
|
authorization: z.ZodArray<z.ZodObject<{
|
|
529
530
|
actor: z.ZodString;
|
|
530
531
|
permission: z.ZodString;
|
|
@@ -535,7 +536,7 @@ declare const webauthActionParser: <T extends z.ZodRawShape>(contract: string, a
|
|
|
535
536
|
actor: string;
|
|
536
537
|
permission: string;
|
|
537
538
|
}>, "many">;
|
|
538
|
-
}>[
|
|
539
|
+
}>[k_1_1]; }[];
|
|
539
540
|
}>;
|
|
540
541
|
}, "strip", z.ZodTypeAny, {
|
|
541
542
|
account: string;
|
|
@@ -575,10 +576,10 @@ declare const webauthActionParser: <T extends z.ZodRawShape>(contract: string, a
|
|
|
575
576
|
hex_data?: string | undefined;
|
|
576
577
|
}[];
|
|
577
578
|
transaction_extensions: ((string | number)[] | undefined)[];
|
|
578
|
-
actions: { [
|
|
579
|
+
actions: { [k_2 in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
579
580
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
580
581
|
name: z.ZodLiteral<string>;
|
|
581
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
582
|
+
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
583
|
authorization: z.ZodArray<z.ZodObject<{
|
|
583
584
|
actor: z.ZodString;
|
|
584
585
|
permission: z.ZodString;
|
|
@@ -589,10 +590,10 @@ declare const webauthActionParser: <T extends z.ZodRawShape>(contract: string, a
|
|
|
589
590
|
actor: string;
|
|
590
591
|
permission: string;
|
|
591
592
|
}>, "many">;
|
|
592
|
-
}>,
|
|
593
|
+
}>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
593
594
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
594
595
|
name: z.ZodLiteral<string>;
|
|
595
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
596
|
+
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
597
|
authorization: z.ZodArray<z.ZodObject<{
|
|
597
598
|
actor: z.ZodString;
|
|
598
599
|
permission: z.ZodString;
|
|
@@ -603,7 +604,7 @@ declare const webauthActionParser: <T extends z.ZodRawShape>(contract: string, a
|
|
|
603
604
|
actor: string;
|
|
604
605
|
permission: string;
|
|
605
606
|
}>, "many">;
|
|
606
|
-
}>,
|
|
607
|
+
}>, any>[k_2]; }[];
|
|
607
608
|
};
|
|
608
609
|
}, {
|
|
609
610
|
account: string;
|
|
@@ -643,10 +644,10 @@ declare const webauthActionParser: <T extends z.ZodRawShape>(contract: string, a
|
|
|
643
644
|
hex_data?: string | undefined;
|
|
644
645
|
}[];
|
|
645
646
|
transaction_extensions: ((string | number)[] | undefined)[];
|
|
646
|
-
actions: { [
|
|
647
|
+
actions: { [k_1_1 in keyof z.baseObjectInputType<{
|
|
647
648
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
648
649
|
name: z.ZodLiteral<string>;
|
|
649
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
650
|
+
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
651
|
authorization: z.ZodArray<z.ZodObject<{
|
|
651
652
|
actor: z.ZodString;
|
|
652
653
|
permission: z.ZodString;
|
|
@@ -660,7 +661,7 @@ declare const webauthActionParser: <T extends z.ZodRawShape>(contract: string, a
|
|
|
660
661
|
}>]: z.baseObjectInputType<{
|
|
661
662
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
662
663
|
name: z.ZodLiteral<string>;
|
|
663
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
664
|
+
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
665
|
authorization: z.ZodArray<z.ZodObject<{
|
|
665
666
|
actor: z.ZodString;
|
|
666
667
|
permission: z.ZodString;
|
|
@@ -671,7 +672,7 @@ declare const webauthActionParser: <T extends z.ZodRawShape>(contract: string, a
|
|
|
671
672
|
actor: string;
|
|
672
673
|
permission: string;
|
|
673
674
|
}>, "many">;
|
|
674
|
-
}>[
|
|
675
|
+
}>[k_1_1]; }[];
|
|
675
676
|
};
|
|
676
677
|
}>;
|
|
677
678
|
authorization: z.ZodArray<z.ZodObject<{
|
|
@@ -729,10 +730,10 @@ declare const webauthActionParser: <T extends z.ZodRawShape>(contract: string, a
|
|
|
729
730
|
hex_data?: string | undefined;
|
|
730
731
|
}[];
|
|
731
732
|
transaction_extensions: ((string | number)[] | undefined)[];
|
|
732
|
-
actions: { [
|
|
733
|
+
actions: { [k_2 in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
733
734
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
734
735
|
name: z.ZodLiteral<string>;
|
|
735
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
736
|
+
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
737
|
authorization: z.ZodArray<z.ZodObject<{
|
|
737
738
|
actor: z.ZodString;
|
|
738
739
|
permission: z.ZodString;
|
|
@@ -743,10 +744,10 @@ declare const webauthActionParser: <T extends z.ZodRawShape>(contract: string, a
|
|
|
743
744
|
actor: string;
|
|
744
745
|
permission: string;
|
|
745
746
|
}>, "many">;
|
|
746
|
-
}>,
|
|
747
|
+
}>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
747
748
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
748
749
|
name: z.ZodLiteral<string>;
|
|
749
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
750
|
+
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
751
|
authorization: z.ZodArray<z.ZodObject<{
|
|
751
752
|
actor: z.ZodString;
|
|
752
753
|
permission: z.ZodString;
|
|
@@ -757,7 +758,7 @@ declare const webauthActionParser: <T extends z.ZodRawShape>(contract: string, a
|
|
|
757
758
|
actor: string;
|
|
758
759
|
permission: string;
|
|
759
760
|
}>, "many">;
|
|
760
|
-
}>,
|
|
761
|
+
}>, any>[k_2]; }[];
|
|
761
762
|
};
|
|
762
763
|
};
|
|
763
764
|
}, {
|
|
@@ -805,10 +806,10 @@ declare const webauthActionParser: <T extends z.ZodRawShape>(contract: string, a
|
|
|
805
806
|
hex_data?: string | undefined;
|
|
806
807
|
}[];
|
|
807
808
|
transaction_extensions: ((string | number)[] | undefined)[];
|
|
808
|
-
actions: { [
|
|
809
|
+
actions: { [k_1_1 in keyof z.baseObjectInputType<{
|
|
809
810
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
810
811
|
name: z.ZodLiteral<string>;
|
|
811
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
812
|
+
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
813
|
authorization: z.ZodArray<z.ZodObject<{
|
|
813
814
|
actor: z.ZodString;
|
|
814
815
|
permission: z.ZodString;
|
|
@@ -822,7 +823,7 @@ declare const webauthActionParser: <T extends z.ZodRawShape>(contract: string, a
|
|
|
822
823
|
}>]: z.baseObjectInputType<{
|
|
823
824
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
824
825
|
name: z.ZodLiteral<string>;
|
|
825
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
826
|
+
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
827
|
authorization: z.ZodArray<z.ZodObject<{
|
|
827
828
|
actor: z.ZodString;
|
|
828
829
|
permission: z.ZodString;
|
|
@@ -833,11 +834,11 @@ declare const webauthActionParser: <T extends z.ZodRawShape>(contract: string, a
|
|
|
833
834
|
actor: string;
|
|
834
835
|
permission: string;
|
|
835
836
|
}>, "many">;
|
|
836
|
-
}>[
|
|
837
|
+
}>[k_1_1]; }[];
|
|
837
838
|
};
|
|
838
839
|
};
|
|
839
840
|
}>;
|
|
840
|
-
declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract: string, action: string, data: T) => z.ZodObject<{
|
|
841
|
+
declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract: string, action: string, data: T) => z.ZodObject<z.objectUtil.extendShape<{
|
|
841
842
|
expiration: z.ZodString;
|
|
842
843
|
ref_block_num: z.ZodNumber;
|
|
843
844
|
ref_block_prefix: z.ZodNumber;
|
|
@@ -879,10 +880,11 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
879
880
|
hex_data?: string | undefined;
|
|
880
881
|
}>, "many">;
|
|
881
882
|
transaction_extensions: z.ZodArray<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">>, "many">;
|
|
883
|
+
}, {
|
|
882
884
|
actions: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
883
885
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
884
886
|
name: z.ZodLiteral<string>;
|
|
885
|
-
data: z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
887
|
+
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
888
|
authorization: z.ZodArray<z.ZodObject<{
|
|
887
889
|
actor: z.ZodString;
|
|
888
890
|
permission: z.ZodString;
|
|
@@ -893,10 +895,10 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
893
895
|
actor: string;
|
|
894
896
|
permission: string;
|
|
895
897
|
}>, "many">;
|
|
896
|
-
}, "strip", z.ZodTypeAny, { [
|
|
898
|
+
}, "strip", z.ZodTypeAny, { [k_2 in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
897
899
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
898
900
|
name: z.ZodLiteral<string>;
|
|
899
|
-
data: z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
901
|
+
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
902
|
authorization: z.ZodArray<z.ZodObject<{
|
|
901
903
|
actor: z.ZodString;
|
|
902
904
|
permission: z.ZodString;
|
|
@@ -907,10 +909,10 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
907
909
|
actor: string;
|
|
908
910
|
permission: string;
|
|
909
911
|
}>, "many">;
|
|
910
|
-
}>,
|
|
912
|
+
}>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
911
913
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
912
914
|
name: z.ZodLiteral<string>;
|
|
913
|
-
data: z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
915
|
+
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
916
|
authorization: z.ZodArray<z.ZodObject<{
|
|
915
917
|
actor: z.ZodString;
|
|
916
918
|
permission: z.ZodString;
|
|
@@ -921,10 +923,10 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
921
923
|
actor: string;
|
|
922
924
|
permission: string;
|
|
923
925
|
}>, "many">;
|
|
924
|
-
}>,
|
|
926
|
+
}>, any>[k_2]; }, { [k_1_1 in keyof z.baseObjectInputType<{
|
|
925
927
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
926
928
|
name: z.ZodLiteral<string>;
|
|
927
|
-
data: z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
929
|
+
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
930
|
authorization: z.ZodArray<z.ZodObject<{
|
|
929
931
|
actor: z.ZodString;
|
|
930
932
|
permission: z.ZodString;
|
|
@@ -938,7 +940,7 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
938
940
|
}>]: z.baseObjectInputType<{
|
|
939
941
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
940
942
|
name: z.ZodLiteral<string>;
|
|
941
|
-
data: z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
943
|
+
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
944
|
authorization: z.ZodArray<z.ZodObject<{
|
|
943
945
|
actor: z.ZodString;
|
|
944
946
|
permission: z.ZodString;
|
|
@@ -949,7 +951,7 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
949
951
|
actor: string;
|
|
950
952
|
permission: string;
|
|
951
953
|
}>, "many">;
|
|
952
|
-
}>[
|
|
954
|
+
}>[k_1_1]; }>, z.ZodObject<{
|
|
953
955
|
account: z.ZodLiteral<"webauthn">;
|
|
954
956
|
name: z.ZodLiteral<"exec">;
|
|
955
957
|
data: z.ZodObject<{
|
|
@@ -1006,7 +1008,7 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1006
1008
|
auth_data: string;
|
|
1007
1009
|
client_json: string;
|
|
1008
1010
|
}>;
|
|
1009
|
-
trx: z.ZodObject<{
|
|
1011
|
+
trx: z.ZodObject<z.objectUtil.extendShape<{
|
|
1010
1012
|
expiration: z.ZodString;
|
|
1011
1013
|
ref_block_num: z.ZodNumber;
|
|
1012
1014
|
ref_block_prefix: z.ZodNumber;
|
|
@@ -1048,10 +1050,11 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1048
1050
|
hex_data?: string | undefined;
|
|
1049
1051
|
}>, "many">;
|
|
1050
1052
|
transaction_extensions: z.ZodArray<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">>, "many">;
|
|
1053
|
+
}, {
|
|
1051
1054
|
actions: z.ZodArray<z.ZodObject<{
|
|
1052
1055
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
1053
1056
|
name: z.ZodLiteral<string>;
|
|
1054
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
1057
|
+
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
1058
|
authorization: z.ZodArray<z.ZodObject<{
|
|
1056
1059
|
actor: z.ZodString;
|
|
1057
1060
|
permission: z.ZodString;
|
|
@@ -1062,10 +1065,10 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1062
1065
|
actor: string;
|
|
1063
1066
|
permission: string;
|
|
1064
1067
|
}>, "many">;
|
|
1065
|
-
}, "strip", z.ZodTypeAny, { [
|
|
1068
|
+
}, "strip", z.ZodTypeAny, { [k_3 in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
1066
1069
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
1067
1070
|
name: z.ZodLiteral<string>;
|
|
1068
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
1071
|
+
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
1072
|
authorization: z.ZodArray<z.ZodObject<{
|
|
1070
1073
|
actor: z.ZodString;
|
|
1071
1074
|
permission: z.ZodString;
|
|
@@ -1076,10 +1079,10 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1076
1079
|
actor: string;
|
|
1077
1080
|
permission: string;
|
|
1078
1081
|
}>, "many">;
|
|
1079
|
-
}>,
|
|
1082
|
+
}>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
1080
1083
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
1081
1084
|
name: z.ZodLiteral<string>;
|
|
1082
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
1085
|
+
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
1086
|
authorization: z.ZodArray<z.ZodObject<{
|
|
1084
1087
|
actor: z.ZodString;
|
|
1085
1088
|
permission: z.ZodString;
|
|
@@ -1090,10 +1093,10 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1090
1093
|
actor: string;
|
|
1091
1094
|
permission: string;
|
|
1092
1095
|
}>, "many">;
|
|
1093
|
-
}>,
|
|
1096
|
+
}>, any>[k_3]; }, { [k_1_2 in keyof z.baseObjectInputType<{
|
|
1094
1097
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
1095
1098
|
name: z.ZodLiteral<string>;
|
|
1096
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
1099
|
+
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
1100
|
authorization: z.ZodArray<z.ZodObject<{
|
|
1098
1101
|
actor: z.ZodString;
|
|
1099
1102
|
permission: z.ZodString;
|
|
@@ -1107,7 +1110,7 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1107
1110
|
}>]: z.baseObjectInputType<{
|
|
1108
1111
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
1109
1112
|
name: z.ZodLiteral<string>;
|
|
1110
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
1113
|
+
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
1114
|
authorization: z.ZodArray<z.ZodObject<{
|
|
1112
1115
|
actor: z.ZodString;
|
|
1113
1116
|
permission: z.ZodString;
|
|
@@ -1118,8 +1121,8 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1118
1121
|
actor: string;
|
|
1119
1122
|
permission: string;
|
|
1120
1123
|
}>, "many">;
|
|
1121
|
-
}>[
|
|
1122
|
-
}
|
|
1124
|
+
}>[k_1_2]; }>, "many">;
|
|
1125
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1123
1126
|
expiration: string;
|
|
1124
1127
|
ref_block_num: number;
|
|
1125
1128
|
ref_block_prefix: number;
|
|
@@ -1137,10 +1140,10 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1137
1140
|
hex_data?: string | undefined;
|
|
1138
1141
|
}[];
|
|
1139
1142
|
transaction_extensions: ((string | number)[] | undefined)[];
|
|
1140
|
-
actions: { [
|
|
1143
|
+
actions: { [k_3 in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
1141
1144
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
1142
1145
|
name: z.ZodLiteral<string>;
|
|
1143
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
1146
|
+
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
1147
|
authorization: z.ZodArray<z.ZodObject<{
|
|
1145
1148
|
actor: z.ZodString;
|
|
1146
1149
|
permission: z.ZodString;
|
|
@@ -1151,10 +1154,10 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1151
1154
|
actor: string;
|
|
1152
1155
|
permission: string;
|
|
1153
1156
|
}>, "many">;
|
|
1154
|
-
}>,
|
|
1157
|
+
}>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
1155
1158
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
1156
1159
|
name: z.ZodLiteral<string>;
|
|
1157
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
1160
|
+
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
1161
|
authorization: z.ZodArray<z.ZodObject<{
|
|
1159
1162
|
actor: z.ZodString;
|
|
1160
1163
|
permission: z.ZodString;
|
|
@@ -1165,7 +1168,7 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1165
1168
|
actor: string;
|
|
1166
1169
|
permission: string;
|
|
1167
1170
|
}>, "many">;
|
|
1168
|
-
}>,
|
|
1171
|
+
}>, any>[k_3]; }[];
|
|
1169
1172
|
}, {
|
|
1170
1173
|
expiration: string;
|
|
1171
1174
|
ref_block_num: number;
|
|
@@ -1184,10 +1187,10 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1184
1187
|
hex_data?: string | undefined;
|
|
1185
1188
|
}[];
|
|
1186
1189
|
transaction_extensions: ((string | number)[] | undefined)[];
|
|
1187
|
-
actions: { [
|
|
1190
|
+
actions: { [k_1_2 in keyof z.baseObjectInputType<{
|
|
1188
1191
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
1189
1192
|
name: z.ZodLiteral<string>;
|
|
1190
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
1193
|
+
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
1194
|
authorization: z.ZodArray<z.ZodObject<{
|
|
1192
1195
|
actor: z.ZodString;
|
|
1193
1196
|
permission: z.ZodString;
|
|
@@ -1201,7 +1204,7 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1201
1204
|
}>]: z.baseObjectInputType<{
|
|
1202
1205
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
1203
1206
|
name: z.ZodLiteral<string>;
|
|
1204
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
1207
|
+
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
1208
|
authorization: z.ZodArray<z.ZodObject<{
|
|
1206
1209
|
actor: z.ZodString;
|
|
1207
1210
|
permission: z.ZodString;
|
|
@@ -1212,7 +1215,7 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1212
1215
|
actor: string;
|
|
1213
1216
|
permission: string;
|
|
1214
1217
|
}>, "many">;
|
|
1215
|
-
}>[
|
|
1218
|
+
}>[k_1_2]; }[];
|
|
1216
1219
|
}>;
|
|
1217
1220
|
}, "strip", z.ZodTypeAny, {
|
|
1218
1221
|
account: string;
|
|
@@ -1252,10 +1255,10 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1252
1255
|
hex_data?: string | undefined;
|
|
1253
1256
|
}[];
|
|
1254
1257
|
transaction_extensions: ((string | number)[] | undefined)[];
|
|
1255
|
-
actions: { [
|
|
1258
|
+
actions: { [k_3 in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
1256
1259
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
1257
1260
|
name: z.ZodLiteral<string>;
|
|
1258
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
1261
|
+
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
1262
|
authorization: z.ZodArray<z.ZodObject<{
|
|
1260
1263
|
actor: z.ZodString;
|
|
1261
1264
|
permission: z.ZodString;
|
|
@@ -1266,10 +1269,10 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1266
1269
|
actor: string;
|
|
1267
1270
|
permission: string;
|
|
1268
1271
|
}>, "many">;
|
|
1269
|
-
}>,
|
|
1272
|
+
}>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
1270
1273
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
1271
1274
|
name: z.ZodLiteral<string>;
|
|
1272
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
1275
|
+
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
1276
|
authorization: z.ZodArray<z.ZodObject<{
|
|
1274
1277
|
actor: z.ZodString;
|
|
1275
1278
|
permission: z.ZodString;
|
|
@@ -1280,7 +1283,7 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1280
1283
|
actor: string;
|
|
1281
1284
|
permission: string;
|
|
1282
1285
|
}>, "many">;
|
|
1283
|
-
}>,
|
|
1286
|
+
}>, any>[k_3]; }[];
|
|
1284
1287
|
};
|
|
1285
1288
|
}, {
|
|
1286
1289
|
account: string;
|
|
@@ -1320,10 +1323,10 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1320
1323
|
hex_data?: string | undefined;
|
|
1321
1324
|
}[];
|
|
1322
1325
|
transaction_extensions: ((string | number)[] | undefined)[];
|
|
1323
|
-
actions: { [
|
|
1326
|
+
actions: { [k_1_2 in keyof z.baseObjectInputType<{
|
|
1324
1327
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
1325
1328
|
name: z.ZodLiteral<string>;
|
|
1326
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
1329
|
+
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
1330
|
authorization: z.ZodArray<z.ZodObject<{
|
|
1328
1331
|
actor: z.ZodString;
|
|
1329
1332
|
permission: z.ZodString;
|
|
@@ -1337,7 +1340,7 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1337
1340
|
}>]: z.baseObjectInputType<{
|
|
1338
1341
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
1339
1342
|
name: z.ZodLiteral<string>;
|
|
1340
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
1343
|
+
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
1344
|
authorization: z.ZodArray<z.ZodObject<{
|
|
1342
1345
|
actor: z.ZodString;
|
|
1343
1346
|
permission: z.ZodString;
|
|
@@ -1348,7 +1351,7 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1348
1351
|
actor: string;
|
|
1349
1352
|
permission: string;
|
|
1350
1353
|
}>, "many">;
|
|
1351
|
-
}>[
|
|
1354
|
+
}>[k_1_2]; }[];
|
|
1352
1355
|
};
|
|
1353
1356
|
}>;
|
|
1354
1357
|
authorization: z.ZodArray<z.ZodObject<{
|
|
@@ -1406,10 +1409,10 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1406
1409
|
hex_data?: string | undefined;
|
|
1407
1410
|
}[];
|
|
1408
1411
|
transaction_extensions: ((string | number)[] | undefined)[];
|
|
1409
|
-
actions: { [
|
|
1412
|
+
actions: { [k_3 in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
1410
1413
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
1411
1414
|
name: z.ZodLiteral<string>;
|
|
1412
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
1415
|
+
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
1416
|
authorization: z.ZodArray<z.ZodObject<{
|
|
1414
1417
|
actor: z.ZodString;
|
|
1415
1418
|
permission: z.ZodString;
|
|
@@ -1420,10 +1423,10 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1420
1423
|
actor: string;
|
|
1421
1424
|
permission: string;
|
|
1422
1425
|
}>, "many">;
|
|
1423
|
-
}>,
|
|
1426
|
+
}>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
1424
1427
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
1425
1428
|
name: z.ZodLiteral<string>;
|
|
1426
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
1429
|
+
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
1430
|
authorization: z.ZodArray<z.ZodObject<{
|
|
1428
1431
|
actor: z.ZodString;
|
|
1429
1432
|
permission: z.ZodString;
|
|
@@ -1434,7 +1437,7 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1434
1437
|
actor: string;
|
|
1435
1438
|
permission: string;
|
|
1436
1439
|
}>, "many">;
|
|
1437
|
-
}>,
|
|
1440
|
+
}>, any>[k_3]; }[];
|
|
1438
1441
|
};
|
|
1439
1442
|
};
|
|
1440
1443
|
}, {
|
|
@@ -1482,10 +1485,10 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1482
1485
|
hex_data?: string | undefined;
|
|
1483
1486
|
}[];
|
|
1484
1487
|
transaction_extensions: ((string | number)[] | undefined)[];
|
|
1485
|
-
actions: { [
|
|
1488
|
+
actions: { [k_1_2 in keyof z.baseObjectInputType<{
|
|
1486
1489
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
1487
1490
|
name: z.ZodLiteral<string>;
|
|
1488
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
1491
|
+
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
1492
|
authorization: z.ZodArray<z.ZodObject<{
|
|
1490
1493
|
actor: z.ZodString;
|
|
1491
1494
|
permission: z.ZodString;
|
|
@@ -1499,7 +1502,7 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1499
1502
|
}>]: z.baseObjectInputType<{
|
|
1500
1503
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
1501
1504
|
name: z.ZodLiteral<string>;
|
|
1502
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
1505
|
+
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
1506
|
authorization: z.ZodArray<z.ZodObject<{
|
|
1504
1507
|
actor: z.ZodString;
|
|
1505
1508
|
permission: z.ZodString;
|
|
@@ -1510,11 +1513,11 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1510
1513
|
actor: string;
|
|
1511
1514
|
permission: string;
|
|
1512
1515
|
}>, "many">;
|
|
1513
|
-
}>[
|
|
1516
|
+
}>[k_1_2]; }[];
|
|
1514
1517
|
};
|
|
1515
1518
|
};
|
|
1516
1519
|
}>]>, "many">;
|
|
1517
|
-
}
|
|
1520
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1518
1521
|
expiration: string;
|
|
1519
1522
|
ref_block_num: number;
|
|
1520
1523
|
ref_block_prefix: number;
|
|
@@ -1532,10 +1535,10 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1532
1535
|
hex_data?: string | undefined;
|
|
1533
1536
|
}[];
|
|
1534
1537
|
transaction_extensions: ((string | number)[] | undefined)[];
|
|
1535
|
-
actions: ({ [
|
|
1538
|
+
actions: ({ [k_2 in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
1536
1539
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
1537
1540
|
name: z.ZodLiteral<string>;
|
|
1538
|
-
data: z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
1541
|
+
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
1542
|
authorization: z.ZodArray<z.ZodObject<{
|
|
1540
1543
|
actor: z.ZodString;
|
|
1541
1544
|
permission: z.ZodString;
|
|
@@ -1546,10 +1549,10 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1546
1549
|
actor: string;
|
|
1547
1550
|
permission: string;
|
|
1548
1551
|
}>, "many">;
|
|
1549
|
-
}>,
|
|
1552
|
+
}>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
1550
1553
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
1551
1554
|
name: z.ZodLiteral<string>;
|
|
1552
|
-
data: z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
1555
|
+
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
1556
|
authorization: z.ZodArray<z.ZodObject<{
|
|
1554
1557
|
actor: z.ZodString;
|
|
1555
1558
|
permission: z.ZodString;
|
|
@@ -1560,7 +1563,7 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1560
1563
|
actor: string;
|
|
1561
1564
|
permission: string;
|
|
1562
1565
|
}>, "many">;
|
|
1563
|
-
}>,
|
|
1566
|
+
}>, any>[k_2]; } | {
|
|
1564
1567
|
account: "webauthn";
|
|
1565
1568
|
name: "exec";
|
|
1566
1569
|
authorization: {
|
|
@@ -1605,10 +1608,10 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1605
1608
|
hex_data?: string | undefined;
|
|
1606
1609
|
}[];
|
|
1607
1610
|
transaction_extensions: ((string | number)[] | undefined)[];
|
|
1608
|
-
actions: { [
|
|
1611
|
+
actions: { [k_3 in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
1609
1612
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
1610
1613
|
name: z.ZodLiteral<string>;
|
|
1611
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
1614
|
+
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
1615
|
authorization: z.ZodArray<z.ZodObject<{
|
|
1613
1616
|
actor: z.ZodString;
|
|
1614
1617
|
permission: z.ZodString;
|
|
@@ -1619,10 +1622,10 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1619
1622
|
actor: string;
|
|
1620
1623
|
permission: string;
|
|
1621
1624
|
}>, "many">;
|
|
1622
|
-
}>,
|
|
1625
|
+
}>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
1623
1626
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
1624
1627
|
name: z.ZodLiteral<string>;
|
|
1625
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
1628
|
+
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
1629
|
authorization: z.ZodArray<z.ZodObject<{
|
|
1627
1630
|
actor: z.ZodString;
|
|
1628
1631
|
permission: z.ZodString;
|
|
@@ -1633,7 +1636,7 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1633
1636
|
actor: string;
|
|
1634
1637
|
permission: string;
|
|
1635
1638
|
}>, "many">;
|
|
1636
|
-
}>,
|
|
1639
|
+
}>, any>[k_3]; }[];
|
|
1637
1640
|
};
|
|
1638
1641
|
};
|
|
1639
1642
|
})[];
|
|
@@ -1655,10 +1658,10 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1655
1658
|
hex_data?: string | undefined;
|
|
1656
1659
|
}[];
|
|
1657
1660
|
transaction_extensions: ((string | number)[] | undefined)[];
|
|
1658
|
-
actions: ({ [
|
|
1661
|
+
actions: ({ [k_1_1 in keyof z.baseObjectInputType<{
|
|
1659
1662
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
1660
1663
|
name: z.ZodLiteral<string>;
|
|
1661
|
-
data: z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
1664
|
+
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
1665
|
authorization: z.ZodArray<z.ZodObject<{
|
|
1663
1666
|
actor: z.ZodString;
|
|
1664
1667
|
permission: z.ZodString;
|
|
@@ -1672,7 +1675,7 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1672
1675
|
}>]: z.baseObjectInputType<{
|
|
1673
1676
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
1674
1677
|
name: z.ZodLiteral<string>;
|
|
1675
|
-
data: z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
1678
|
+
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
1679
|
authorization: z.ZodArray<z.ZodObject<{
|
|
1677
1680
|
actor: z.ZodString;
|
|
1678
1681
|
permission: z.ZodString;
|
|
@@ -1683,7 +1686,7 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1683
1686
|
actor: string;
|
|
1684
1687
|
permission: string;
|
|
1685
1688
|
}>, "many">;
|
|
1686
|
-
}>[
|
|
1689
|
+
}>[k_1_1]; } | {
|
|
1687
1690
|
account: "webauthn";
|
|
1688
1691
|
name: "exec";
|
|
1689
1692
|
authorization: {
|
|
@@ -1728,10 +1731,10 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1728
1731
|
hex_data?: string | undefined;
|
|
1729
1732
|
}[];
|
|
1730
1733
|
transaction_extensions: ((string | number)[] | undefined)[];
|
|
1731
|
-
actions: { [
|
|
1734
|
+
actions: { [k_1_2 in keyof z.baseObjectInputType<{
|
|
1732
1735
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
1733
1736
|
name: z.ZodLiteral<string>;
|
|
1734
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
1737
|
+
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
1738
|
authorization: z.ZodArray<z.ZodObject<{
|
|
1736
1739
|
actor: z.ZodString;
|
|
1737
1740
|
permission: z.ZodString;
|
|
@@ -1745,7 +1748,7 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1745
1748
|
}>]: z.baseObjectInputType<{
|
|
1746
1749
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
1747
1750
|
name: z.ZodLiteral<string>;
|
|
1748
|
-
data: z.ZodUnion<[z.ZodString, z.ZodObject<T, "strip", z.ZodTypeAny, { [
|
|
1751
|
+
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
1752
|
authorization: z.ZodArray<z.ZodObject<{
|
|
1750
1753
|
actor: z.ZodString;
|
|
1751
1754
|
permission: z.ZodString;
|
|
@@ -1756,7 +1759,7 @@ declare const singleActionTransactionParser: <T extends z.ZodRawShape>(contract:
|
|
|
1756
1759
|
actor: string;
|
|
1757
1760
|
permission: string;
|
|
1758
1761
|
}>, "many">;
|
|
1759
|
-
}>[
|
|
1762
|
+
}>[k_1_2]; }[];
|
|
1760
1763
|
};
|
|
1761
1764
|
};
|
|
1762
1765
|
})[];
|
|
@@ -1781,10 +1784,11 @@ declare const addressParser: z.ZodObject<{
|
|
|
1781
1784
|
address: string;
|
|
1782
1785
|
address_hash: string;
|
|
1783
1786
|
}>;
|
|
1784
|
-
|
|
1785
|
-
declare const generateAddressBodyParser: z.ZodObject<{
|
|
1787
|
+
type Address = z.infer<typeof addressParser>;
|
|
1788
|
+
declare const generateAddressBodyParser: z.ZodObject<z.objectUtil.extendShape<{
|
|
1786
1789
|
coin: z.ZodString;
|
|
1787
1790
|
wallet: z.ZodString;
|
|
1791
|
+
}, {
|
|
1788
1792
|
signer: z.ZodObject<{
|
|
1789
1793
|
actor: z.ZodString;
|
|
1790
1794
|
permission: z.ZodString;
|
|
@@ -1796,7 +1800,7 @@ declare const generateAddressBodyParser: z.ZodObject<{
|
|
|
1796
1800
|
permission: string;
|
|
1797
1801
|
}>;
|
|
1798
1802
|
signatures: z.ZodArray<z.ZodString, "many">;
|
|
1799
|
-
transaction: z.ZodObject<{
|
|
1803
|
+
transaction: z.ZodObject<z.objectUtil.extendShape<{
|
|
1800
1804
|
expiration: z.ZodString;
|
|
1801
1805
|
ref_block_num: z.ZodNumber;
|
|
1802
1806
|
ref_block_prefix: z.ZodNumber;
|
|
@@ -1838,6 +1842,7 @@ declare const generateAddressBodyParser: z.ZodObject<{
|
|
|
1838
1842
|
hex_data?: string | undefined;
|
|
1839
1843
|
}>, "many">;
|
|
1840
1844
|
transaction_extensions: z.ZodArray<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">>, "many">;
|
|
1845
|
+
}, {
|
|
1841
1846
|
actions: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
1842
1847
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
1843
1848
|
name: z.ZodLiteral<string>;
|
|
@@ -1933,7 +1938,7 @@ declare const generateAddressBodyParser: z.ZodObject<{
|
|
|
1933
1938
|
auth_data: string;
|
|
1934
1939
|
client_json: string;
|
|
1935
1940
|
}>;
|
|
1936
|
-
trx: z.ZodObject<{
|
|
1941
|
+
trx: z.ZodObject<z.objectUtil.extendShape<{
|
|
1937
1942
|
expiration: z.ZodString;
|
|
1938
1943
|
ref_block_num: z.ZodNumber;
|
|
1939
1944
|
ref_block_prefix: z.ZodNumber;
|
|
@@ -1975,6 +1980,7 @@ declare const generateAddressBodyParser: z.ZodObject<{
|
|
|
1975
1980
|
hex_data?: string | undefined;
|
|
1976
1981
|
}>, "many">;
|
|
1977
1982
|
transaction_extensions: z.ZodArray<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">>, "many">;
|
|
1983
|
+
}, {
|
|
1978
1984
|
actions: z.ZodArray<z.ZodObject<{
|
|
1979
1985
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
1980
1986
|
name: z.ZodLiteral<string>;
|
|
@@ -2000,11 +2006,9 @@ declare const generateAddressBodyParser: z.ZodObject<{
|
|
|
2000
2006
|
actor: string;
|
|
2001
2007
|
permission: string;
|
|
2002
2008
|
}[];
|
|
2003
|
-
data:
|
|
2009
|
+
data: string | {
|
|
2004
2010
|
[x: string]: any;
|
|
2005
|
-
}
|
|
2006
|
-
[x: string]: any;
|
|
2007
|
-
} | undefined);
|
|
2011
|
+
};
|
|
2008
2012
|
}, {
|
|
2009
2013
|
account: string;
|
|
2010
2014
|
name: string;
|
|
@@ -2012,13 +2016,11 @@ declare const generateAddressBodyParser: z.ZodObject<{
|
|
|
2012
2016
|
actor: string;
|
|
2013
2017
|
permission: string;
|
|
2014
2018
|
}[];
|
|
2015
|
-
data:
|
|
2016
|
-
[x: string]: any;
|
|
2017
|
-
}) & (string | {
|
|
2019
|
+
data: string | {
|
|
2018
2020
|
[x: string]: any;
|
|
2019
|
-
}
|
|
2021
|
+
};
|
|
2020
2022
|
}>, "many">;
|
|
2021
|
-
}
|
|
2023
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2022
2024
|
expiration: string;
|
|
2023
2025
|
ref_block_num: number;
|
|
2024
2026
|
ref_block_prefix: number;
|
|
@@ -2043,11 +2045,9 @@ declare const generateAddressBodyParser: z.ZodObject<{
|
|
|
2043
2045
|
actor: string;
|
|
2044
2046
|
permission: string;
|
|
2045
2047
|
}[];
|
|
2046
|
-
data:
|
|
2048
|
+
data: string | {
|
|
2047
2049
|
[x: string]: any;
|
|
2048
|
-
}
|
|
2049
|
-
[x: string]: any;
|
|
2050
|
-
} | undefined);
|
|
2050
|
+
};
|
|
2051
2051
|
}[];
|
|
2052
2052
|
}, {
|
|
2053
2053
|
expiration: string;
|
|
@@ -2074,11 +2074,9 @@ declare const generateAddressBodyParser: z.ZodObject<{
|
|
|
2074
2074
|
actor: string;
|
|
2075
2075
|
permission: string;
|
|
2076
2076
|
}[];
|
|
2077
|
-
data:
|
|
2078
|
-
[x: string]: any;
|
|
2079
|
-
}) & (string | {
|
|
2077
|
+
data: string | {
|
|
2080
2078
|
[x: string]: any;
|
|
2081
|
-
}
|
|
2079
|
+
};
|
|
2082
2080
|
}[];
|
|
2083
2081
|
}>;
|
|
2084
2082
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2126,11 +2124,9 @@ declare const generateAddressBodyParser: z.ZodObject<{
|
|
|
2126
2124
|
actor: string;
|
|
2127
2125
|
permission: string;
|
|
2128
2126
|
}[];
|
|
2129
|
-
data:
|
|
2130
|
-
[x: string]: any;
|
|
2131
|
-
}) & (string | {
|
|
2127
|
+
data: string | {
|
|
2132
2128
|
[x: string]: any;
|
|
2133
|
-
}
|
|
2129
|
+
};
|
|
2134
2130
|
}[];
|
|
2135
2131
|
};
|
|
2136
2132
|
}, {
|
|
@@ -2178,11 +2174,9 @@ declare const generateAddressBodyParser: z.ZodObject<{
|
|
|
2178
2174
|
actor: string;
|
|
2179
2175
|
permission: string;
|
|
2180
2176
|
}[];
|
|
2181
|
-
data:
|
|
2177
|
+
data: string | {
|
|
2182
2178
|
[x: string]: any;
|
|
2183
|
-
}
|
|
2184
|
-
[x: string]: any;
|
|
2185
|
-
} | undefined);
|
|
2179
|
+
};
|
|
2186
2180
|
}[];
|
|
2187
2181
|
};
|
|
2188
2182
|
}>;
|
|
@@ -2248,11 +2242,9 @@ declare const generateAddressBodyParser: z.ZodObject<{
|
|
|
2248
2242
|
actor: string;
|
|
2249
2243
|
permission: string;
|
|
2250
2244
|
}[];
|
|
2251
|
-
data:
|
|
2252
|
-
[x: string]: any;
|
|
2253
|
-
}) & (string | {
|
|
2245
|
+
data: string | {
|
|
2254
2246
|
[x: string]: any;
|
|
2255
|
-
}
|
|
2247
|
+
};
|
|
2256
2248
|
}[];
|
|
2257
2249
|
};
|
|
2258
2250
|
};
|
|
@@ -2308,16 +2300,14 @@ declare const generateAddressBodyParser: z.ZodObject<{
|
|
|
2308
2300
|
actor: string;
|
|
2309
2301
|
permission: string;
|
|
2310
2302
|
}[];
|
|
2311
|
-
data:
|
|
2312
|
-
[x: string]: any;
|
|
2313
|
-
}) & (string | {
|
|
2303
|
+
data: string | {
|
|
2314
2304
|
[x: string]: any;
|
|
2315
|
-
}
|
|
2305
|
+
};
|
|
2316
2306
|
}[];
|
|
2317
2307
|
};
|
|
2318
2308
|
};
|
|
2319
2309
|
}>]>, "many">;
|
|
2320
|
-
}
|
|
2310
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2321
2311
|
expiration: string;
|
|
2322
2312
|
ref_block_num: number;
|
|
2323
2313
|
ref_block_prefix: number;
|
|
@@ -2397,11 +2387,9 @@ declare const generateAddressBodyParser: z.ZodObject<{
|
|
|
2397
2387
|
actor: string;
|
|
2398
2388
|
permission: string;
|
|
2399
2389
|
}[];
|
|
2400
|
-
data:
|
|
2401
|
-
[x: string]: any;
|
|
2402
|
-
}) & (string | {
|
|
2390
|
+
data: string | {
|
|
2403
2391
|
[x: string]: any;
|
|
2404
|
-
}
|
|
2392
|
+
};
|
|
2405
2393
|
}[];
|
|
2406
2394
|
};
|
|
2407
2395
|
};
|
|
@@ -2486,17 +2474,15 @@ declare const generateAddressBodyParser: z.ZodObject<{
|
|
|
2486
2474
|
actor: string;
|
|
2487
2475
|
permission: string;
|
|
2488
2476
|
}[];
|
|
2489
|
-
data:
|
|
2477
|
+
data: string | {
|
|
2490
2478
|
[x: string]: any;
|
|
2491
|
-
}
|
|
2492
|
-
[x: string]: any;
|
|
2493
|
-
} | undefined);
|
|
2479
|
+
};
|
|
2494
2480
|
}[];
|
|
2495
2481
|
};
|
|
2496
2482
|
};
|
|
2497
2483
|
})[];
|
|
2498
2484
|
}>;
|
|
2499
|
-
}
|
|
2485
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2500
2486
|
signer: {
|
|
2501
2487
|
actor: string;
|
|
2502
2488
|
permission: string;
|
|
@@ -2582,11 +2568,9 @@ declare const generateAddressBodyParser: z.ZodObject<{
|
|
|
2582
2568
|
actor: string;
|
|
2583
2569
|
permission: string;
|
|
2584
2570
|
}[];
|
|
2585
|
-
data:
|
|
2586
|
-
[x: string]: any;
|
|
2587
|
-
}) & (string | {
|
|
2571
|
+
data: string | {
|
|
2588
2572
|
[x: string]: any;
|
|
2589
|
-
}
|
|
2573
|
+
};
|
|
2590
2574
|
}[];
|
|
2591
2575
|
};
|
|
2592
2576
|
};
|
|
@@ -2680,11 +2664,9 @@ declare const generateAddressBodyParser: z.ZodObject<{
|
|
|
2680
2664
|
actor: string;
|
|
2681
2665
|
permission: string;
|
|
2682
2666
|
}[];
|
|
2683
|
-
data:
|
|
2667
|
+
data: string | {
|
|
2684
2668
|
[x: string]: any;
|
|
2685
|
-
}
|
|
2686
|
-
[x: string]: any;
|
|
2687
|
-
} | undefined);
|
|
2669
|
+
};
|
|
2688
2670
|
}[];
|
|
2689
2671
|
};
|
|
2690
2672
|
};
|
|
@@ -2693,7 +2675,7 @@ declare const generateAddressBodyParser: z.ZodObject<{
|
|
|
2693
2675
|
coin: string;
|
|
2694
2676
|
wallet: string;
|
|
2695
2677
|
}>;
|
|
2696
|
-
|
|
2678
|
+
type GenerateAddressBody = z.infer<typeof generateAddressBodyParser>;
|
|
2697
2679
|
declare const generateAddressResponse: z.ZodObject<{
|
|
2698
2680
|
id: z.ZodString;
|
|
2699
2681
|
address: z.ZodString;
|
|
@@ -2713,7 +2695,7 @@ declare const generateAddressResponse: z.ZodObject<{
|
|
|
2713
2695
|
id: string;
|
|
2714
2696
|
memo?: string | undefined;
|
|
2715
2697
|
}>;
|
|
2716
|
-
|
|
2698
|
+
type GenerateAddressResponse = z.infer<typeof generateAddressResponse>;
|
|
2717
2699
|
|
|
2718
2700
|
declare const createAbstractAuthParser: (contract: string, action: string, data: z.ZodRawShape) => z.ZodObject<{
|
|
2719
2701
|
signer: z.ZodObject<{
|
|
@@ -2727,7 +2709,7 @@ declare const createAbstractAuthParser: (contract: string, action: string, data:
|
|
|
2727
2709
|
permission: string;
|
|
2728
2710
|
}>;
|
|
2729
2711
|
signatures: z.ZodArray<z.ZodString, "many">;
|
|
2730
|
-
transaction: z.ZodObject<{
|
|
2712
|
+
transaction: z.ZodObject<z.objectUtil.extendShape<{
|
|
2731
2713
|
expiration: z.ZodString;
|
|
2732
2714
|
ref_block_num: z.ZodNumber;
|
|
2733
2715
|
ref_block_prefix: z.ZodNumber;
|
|
@@ -2769,6 +2751,7 @@ declare const createAbstractAuthParser: (contract: string, action: string, data:
|
|
|
2769
2751
|
hex_data?: string | undefined;
|
|
2770
2752
|
}>, "many">;
|
|
2771
2753
|
transaction_extensions: z.ZodArray<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">>, "many">;
|
|
2754
|
+
}, {
|
|
2772
2755
|
actions: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
2773
2756
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
2774
2757
|
name: z.ZodLiteral<string>;
|
|
@@ -2864,7 +2847,7 @@ declare const createAbstractAuthParser: (contract: string, action: string, data:
|
|
|
2864
2847
|
auth_data: string;
|
|
2865
2848
|
client_json: string;
|
|
2866
2849
|
}>;
|
|
2867
|
-
trx: z.ZodObject<{
|
|
2850
|
+
trx: z.ZodObject<z.objectUtil.extendShape<{
|
|
2868
2851
|
expiration: z.ZodString;
|
|
2869
2852
|
ref_block_num: z.ZodNumber;
|
|
2870
2853
|
ref_block_prefix: z.ZodNumber;
|
|
@@ -2906,6 +2889,7 @@ declare const createAbstractAuthParser: (contract: string, action: string, data:
|
|
|
2906
2889
|
hex_data?: string | undefined;
|
|
2907
2890
|
}>, "many">;
|
|
2908
2891
|
transaction_extensions: z.ZodArray<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">>, "many">;
|
|
2892
|
+
}, {
|
|
2909
2893
|
actions: z.ZodArray<z.ZodObject<{
|
|
2910
2894
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
2911
2895
|
name: z.ZodLiteral<string>;
|
|
@@ -2931,11 +2915,9 @@ declare const createAbstractAuthParser: (contract: string, action: string, data:
|
|
|
2931
2915
|
actor: string;
|
|
2932
2916
|
permission: string;
|
|
2933
2917
|
}[];
|
|
2934
|
-
data:
|
|
2935
|
-
[x: string]: any;
|
|
2936
|
-
}) & (string | {
|
|
2918
|
+
data: string | {
|
|
2937
2919
|
[x: string]: any;
|
|
2938
|
-
}
|
|
2920
|
+
};
|
|
2939
2921
|
}, {
|
|
2940
2922
|
account: string;
|
|
2941
2923
|
name: string;
|
|
@@ -2943,13 +2925,11 @@ declare const createAbstractAuthParser: (contract: string, action: string, data:
|
|
|
2943
2925
|
actor: string;
|
|
2944
2926
|
permission: string;
|
|
2945
2927
|
}[];
|
|
2946
|
-
data:
|
|
2947
|
-
[x: string]: any;
|
|
2948
|
-
}) & (string | {
|
|
2928
|
+
data: string | {
|
|
2949
2929
|
[x: string]: any;
|
|
2950
|
-
}
|
|
2930
|
+
};
|
|
2951
2931
|
}>, "many">;
|
|
2952
|
-
}
|
|
2932
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2953
2933
|
expiration: string;
|
|
2954
2934
|
ref_block_num: number;
|
|
2955
2935
|
ref_block_prefix: number;
|
|
@@ -2974,11 +2954,9 @@ declare const createAbstractAuthParser: (contract: string, action: string, data:
|
|
|
2974
2954
|
actor: string;
|
|
2975
2955
|
permission: string;
|
|
2976
2956
|
}[];
|
|
2977
|
-
data:
|
|
2978
|
-
[x: string]: any;
|
|
2979
|
-
}) & (string | {
|
|
2957
|
+
data: string | {
|
|
2980
2958
|
[x: string]: any;
|
|
2981
|
-
}
|
|
2959
|
+
};
|
|
2982
2960
|
}[];
|
|
2983
2961
|
}, {
|
|
2984
2962
|
expiration: string;
|
|
@@ -3005,11 +2983,9 @@ declare const createAbstractAuthParser: (contract: string, action: string, data:
|
|
|
3005
2983
|
actor: string;
|
|
3006
2984
|
permission: string;
|
|
3007
2985
|
}[];
|
|
3008
|
-
data:
|
|
2986
|
+
data: string | {
|
|
3009
2987
|
[x: string]: any;
|
|
3010
|
-
}
|
|
3011
|
-
[x: string]: any;
|
|
3012
|
-
} | undefined);
|
|
2988
|
+
};
|
|
3013
2989
|
}[];
|
|
3014
2990
|
}>;
|
|
3015
2991
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3057,11 +3033,9 @@ declare const createAbstractAuthParser: (contract: string, action: string, data:
|
|
|
3057
3033
|
actor: string;
|
|
3058
3034
|
permission: string;
|
|
3059
3035
|
}[];
|
|
3060
|
-
data:
|
|
3061
|
-
[x: string]: any;
|
|
3062
|
-
}) & (string | {
|
|
3036
|
+
data: string | {
|
|
3063
3037
|
[x: string]: any;
|
|
3064
|
-
}
|
|
3038
|
+
};
|
|
3065
3039
|
}[];
|
|
3066
3040
|
};
|
|
3067
3041
|
}, {
|
|
@@ -3109,11 +3083,9 @@ declare const createAbstractAuthParser: (contract: string, action: string, data:
|
|
|
3109
3083
|
actor: string;
|
|
3110
3084
|
permission: string;
|
|
3111
3085
|
}[];
|
|
3112
|
-
data:
|
|
3113
|
-
[x: string]: any;
|
|
3114
|
-
}) & (string | {
|
|
3086
|
+
data: string | {
|
|
3115
3087
|
[x: string]: any;
|
|
3116
|
-
}
|
|
3088
|
+
};
|
|
3117
3089
|
}[];
|
|
3118
3090
|
};
|
|
3119
3091
|
}>;
|
|
@@ -3179,11 +3151,9 @@ declare const createAbstractAuthParser: (contract: string, action: string, data:
|
|
|
3179
3151
|
actor: string;
|
|
3180
3152
|
permission: string;
|
|
3181
3153
|
}[];
|
|
3182
|
-
data:
|
|
3154
|
+
data: string | {
|
|
3183
3155
|
[x: string]: any;
|
|
3184
|
-
}
|
|
3185
|
-
[x: string]: any;
|
|
3186
|
-
} | undefined);
|
|
3156
|
+
};
|
|
3187
3157
|
}[];
|
|
3188
3158
|
};
|
|
3189
3159
|
};
|
|
@@ -3239,16 +3209,14 @@ declare const createAbstractAuthParser: (contract: string, action: string, data:
|
|
|
3239
3209
|
actor: string;
|
|
3240
3210
|
permission: string;
|
|
3241
3211
|
}[];
|
|
3242
|
-
data:
|
|
3243
|
-
[x: string]: any;
|
|
3244
|
-
}) & (string | {
|
|
3212
|
+
data: string | {
|
|
3245
3213
|
[x: string]: any;
|
|
3246
|
-
}
|
|
3214
|
+
};
|
|
3247
3215
|
}[];
|
|
3248
3216
|
};
|
|
3249
3217
|
};
|
|
3250
3218
|
}>]>, "many">;
|
|
3251
|
-
}
|
|
3219
|
+
}>, "strip", z.ZodTypeAny, {
|
|
3252
3220
|
expiration: string;
|
|
3253
3221
|
ref_block_num: number;
|
|
3254
3222
|
ref_block_prefix: number;
|
|
@@ -3328,11 +3296,9 @@ declare const createAbstractAuthParser: (contract: string, action: string, data:
|
|
|
3328
3296
|
actor: string;
|
|
3329
3297
|
permission: string;
|
|
3330
3298
|
}[];
|
|
3331
|
-
data:
|
|
3332
|
-
[x: string]: any;
|
|
3333
|
-
}) & (string | {
|
|
3299
|
+
data: string | {
|
|
3334
3300
|
[x: string]: any;
|
|
3335
|
-
}
|
|
3301
|
+
};
|
|
3336
3302
|
}[];
|
|
3337
3303
|
};
|
|
3338
3304
|
};
|
|
@@ -3417,11 +3383,9 @@ declare const createAbstractAuthParser: (contract: string, action: string, data:
|
|
|
3417
3383
|
actor: string;
|
|
3418
3384
|
permission: string;
|
|
3419
3385
|
}[];
|
|
3420
|
-
data:
|
|
3421
|
-
[x: string]: any;
|
|
3422
|
-
}) & (string | {
|
|
3386
|
+
data: string | {
|
|
3423
3387
|
[x: string]: any;
|
|
3424
|
-
}
|
|
3388
|
+
};
|
|
3425
3389
|
}[];
|
|
3426
3390
|
};
|
|
3427
3391
|
};
|
|
@@ -3513,11 +3477,9 @@ declare const createAbstractAuthParser: (contract: string, action: string, data:
|
|
|
3513
3477
|
actor: string;
|
|
3514
3478
|
permission: string;
|
|
3515
3479
|
}[];
|
|
3516
|
-
data:
|
|
3480
|
+
data: string | {
|
|
3517
3481
|
[x: string]: any;
|
|
3518
|
-
}
|
|
3519
|
-
[x: string]: any;
|
|
3520
|
-
} | undefined);
|
|
3482
|
+
};
|
|
3521
3483
|
}[];
|
|
3522
3484
|
};
|
|
3523
3485
|
};
|
|
@@ -3609,11 +3571,9 @@ declare const createAbstractAuthParser: (contract: string, action: string, data:
|
|
|
3609
3571
|
actor: string;
|
|
3610
3572
|
permission: string;
|
|
3611
3573
|
}[];
|
|
3612
|
-
data:
|
|
3613
|
-
[x: string]: any;
|
|
3614
|
-
}) & (string | {
|
|
3574
|
+
data: string | {
|
|
3615
3575
|
[x: string]: any;
|
|
3616
|
-
}
|
|
3576
|
+
};
|
|
3617
3577
|
}[];
|
|
3618
3578
|
};
|
|
3619
3579
|
};
|
|
@@ -3666,7 +3626,7 @@ declare const generateAuthActionsBaseParser: z.ZodObject<{
|
|
|
3666
3626
|
protonAccount: string;
|
|
3667
3627
|
};
|
|
3668
3628
|
}>;
|
|
3669
|
-
|
|
3629
|
+
type GenerateAuthBaseAction = z.infer<typeof generateAuthActionsBaseParser>;
|
|
3670
3630
|
declare const generateAuthParser: z.ZodObject<{
|
|
3671
3631
|
signer: z.ZodObject<{
|
|
3672
3632
|
actor: z.ZodString;
|
|
@@ -3679,7 +3639,7 @@ declare const generateAuthParser: z.ZodObject<{
|
|
|
3679
3639
|
permission: string;
|
|
3680
3640
|
}>;
|
|
3681
3641
|
signatures: z.ZodArray<z.ZodString, "many">;
|
|
3682
|
-
transaction: z.ZodObject<{
|
|
3642
|
+
transaction: z.ZodObject<z.objectUtil.extendShape<{
|
|
3683
3643
|
expiration: z.ZodString;
|
|
3684
3644
|
ref_block_num: z.ZodNumber;
|
|
3685
3645
|
ref_block_prefix: z.ZodNumber;
|
|
@@ -3721,6 +3681,7 @@ declare const generateAuthParser: z.ZodObject<{
|
|
|
3721
3681
|
hex_data?: string | undefined;
|
|
3722
3682
|
}>, "many">;
|
|
3723
3683
|
transaction_extensions: z.ZodArray<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">>, "many">;
|
|
3684
|
+
}, {
|
|
3724
3685
|
actions: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
3725
3686
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
3726
3687
|
name: z.ZodLiteral<string>;
|
|
@@ -3816,7 +3777,7 @@ declare const generateAuthParser: z.ZodObject<{
|
|
|
3816
3777
|
auth_data: string;
|
|
3817
3778
|
client_json: string;
|
|
3818
3779
|
}>;
|
|
3819
|
-
trx: z.ZodObject<{
|
|
3780
|
+
trx: z.ZodObject<z.objectUtil.extendShape<{
|
|
3820
3781
|
expiration: z.ZodString;
|
|
3821
3782
|
ref_block_num: z.ZodNumber;
|
|
3822
3783
|
ref_block_prefix: z.ZodNumber;
|
|
@@ -3858,6 +3819,7 @@ declare const generateAuthParser: z.ZodObject<{
|
|
|
3858
3819
|
hex_data?: string | undefined;
|
|
3859
3820
|
}>, "many">;
|
|
3860
3821
|
transaction_extensions: z.ZodArray<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">>, "many">;
|
|
3822
|
+
}, {
|
|
3861
3823
|
actions: z.ZodArray<z.ZodObject<{
|
|
3862
3824
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
3863
3825
|
name: z.ZodLiteral<string>;
|
|
@@ -3883,11 +3845,9 @@ declare const generateAuthParser: z.ZodObject<{
|
|
|
3883
3845
|
actor: string;
|
|
3884
3846
|
permission: string;
|
|
3885
3847
|
}[];
|
|
3886
|
-
data:
|
|
3848
|
+
data: string | {
|
|
3887
3849
|
[x: string]: any;
|
|
3888
|
-
}
|
|
3889
|
-
[x: string]: any;
|
|
3890
|
-
} | undefined);
|
|
3850
|
+
};
|
|
3891
3851
|
}, {
|
|
3892
3852
|
account: string;
|
|
3893
3853
|
name: string;
|
|
@@ -3895,13 +3855,11 @@ declare const generateAuthParser: z.ZodObject<{
|
|
|
3895
3855
|
actor: string;
|
|
3896
3856
|
permission: string;
|
|
3897
3857
|
}[];
|
|
3898
|
-
data:
|
|
3899
|
-
[x: string]: any;
|
|
3900
|
-
}) & (string | {
|
|
3858
|
+
data: string | {
|
|
3901
3859
|
[x: string]: any;
|
|
3902
|
-
}
|
|
3860
|
+
};
|
|
3903
3861
|
}>, "many">;
|
|
3904
|
-
}
|
|
3862
|
+
}>, "strip", z.ZodTypeAny, {
|
|
3905
3863
|
expiration: string;
|
|
3906
3864
|
ref_block_num: number;
|
|
3907
3865
|
ref_block_prefix: number;
|
|
@@ -3926,11 +3884,9 @@ declare const generateAuthParser: z.ZodObject<{
|
|
|
3926
3884
|
actor: string;
|
|
3927
3885
|
permission: string;
|
|
3928
3886
|
}[];
|
|
3929
|
-
data:
|
|
3887
|
+
data: string | {
|
|
3930
3888
|
[x: string]: any;
|
|
3931
|
-
}
|
|
3932
|
-
[x: string]: any;
|
|
3933
|
-
} | undefined);
|
|
3889
|
+
};
|
|
3934
3890
|
}[];
|
|
3935
3891
|
}, {
|
|
3936
3892
|
expiration: string;
|
|
@@ -3957,11 +3913,9 @@ declare const generateAuthParser: z.ZodObject<{
|
|
|
3957
3913
|
actor: string;
|
|
3958
3914
|
permission: string;
|
|
3959
3915
|
}[];
|
|
3960
|
-
data:
|
|
3961
|
-
[x: string]: any;
|
|
3962
|
-
}) & (string | {
|
|
3916
|
+
data: string | {
|
|
3963
3917
|
[x: string]: any;
|
|
3964
|
-
}
|
|
3918
|
+
};
|
|
3965
3919
|
}[];
|
|
3966
3920
|
}>;
|
|
3967
3921
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -4009,11 +3963,9 @@ declare const generateAuthParser: z.ZodObject<{
|
|
|
4009
3963
|
actor: string;
|
|
4010
3964
|
permission: string;
|
|
4011
3965
|
}[];
|
|
4012
|
-
data:
|
|
4013
|
-
[x: string]: any;
|
|
4014
|
-
}) & (string | {
|
|
3966
|
+
data: string | {
|
|
4015
3967
|
[x: string]: any;
|
|
4016
|
-
}
|
|
3968
|
+
};
|
|
4017
3969
|
}[];
|
|
4018
3970
|
};
|
|
4019
3971
|
}, {
|
|
@@ -4061,11 +4013,9 @@ declare const generateAuthParser: z.ZodObject<{
|
|
|
4061
4013
|
actor: string;
|
|
4062
4014
|
permission: string;
|
|
4063
4015
|
}[];
|
|
4064
|
-
data:
|
|
4016
|
+
data: string | {
|
|
4065
4017
|
[x: string]: any;
|
|
4066
|
-
}
|
|
4067
|
-
[x: string]: any;
|
|
4068
|
-
} | undefined);
|
|
4018
|
+
};
|
|
4069
4019
|
}[];
|
|
4070
4020
|
};
|
|
4071
4021
|
}>;
|
|
@@ -4131,11 +4081,9 @@ declare const generateAuthParser: z.ZodObject<{
|
|
|
4131
4081
|
actor: string;
|
|
4132
4082
|
permission: string;
|
|
4133
4083
|
}[];
|
|
4134
|
-
data:
|
|
4135
|
-
[x: string]: any;
|
|
4136
|
-
}) & (string | {
|
|
4084
|
+
data: string | {
|
|
4137
4085
|
[x: string]: any;
|
|
4138
|
-
}
|
|
4086
|
+
};
|
|
4139
4087
|
}[];
|
|
4140
4088
|
};
|
|
4141
4089
|
};
|
|
@@ -4191,16 +4139,14 @@ declare const generateAuthParser: z.ZodObject<{
|
|
|
4191
4139
|
actor: string;
|
|
4192
4140
|
permission: string;
|
|
4193
4141
|
}[];
|
|
4194
|
-
data:
|
|
4142
|
+
data: string | {
|
|
4195
4143
|
[x: string]: any;
|
|
4196
|
-
}
|
|
4197
|
-
[x: string]: any;
|
|
4198
|
-
} | undefined);
|
|
4144
|
+
};
|
|
4199
4145
|
}[];
|
|
4200
4146
|
};
|
|
4201
4147
|
};
|
|
4202
4148
|
}>]>, "many">;
|
|
4203
|
-
}
|
|
4149
|
+
}>, "strip", z.ZodTypeAny, {
|
|
4204
4150
|
expiration: string;
|
|
4205
4151
|
ref_block_num: number;
|
|
4206
4152
|
ref_block_prefix: number;
|
|
@@ -4280,11 +4226,9 @@ declare const generateAuthParser: z.ZodObject<{
|
|
|
4280
4226
|
actor: string;
|
|
4281
4227
|
permission: string;
|
|
4282
4228
|
}[];
|
|
4283
|
-
data:
|
|
4284
|
-
[x: string]: any;
|
|
4285
|
-
}) & (string | {
|
|
4229
|
+
data: string | {
|
|
4286
4230
|
[x: string]: any;
|
|
4287
|
-
}
|
|
4231
|
+
};
|
|
4288
4232
|
}[];
|
|
4289
4233
|
};
|
|
4290
4234
|
};
|
|
@@ -4369,11 +4313,9 @@ declare const generateAuthParser: z.ZodObject<{
|
|
|
4369
4313
|
actor: string;
|
|
4370
4314
|
permission: string;
|
|
4371
4315
|
}[];
|
|
4372
|
-
data:
|
|
4316
|
+
data: string | {
|
|
4373
4317
|
[x: string]: any;
|
|
4374
|
-
}
|
|
4375
|
-
[x: string]: any;
|
|
4376
|
-
} | undefined);
|
|
4318
|
+
};
|
|
4377
4319
|
}[];
|
|
4378
4320
|
};
|
|
4379
4321
|
};
|
|
@@ -4465,11 +4407,9 @@ declare const generateAuthParser: z.ZodObject<{
|
|
|
4465
4407
|
actor: string;
|
|
4466
4408
|
permission: string;
|
|
4467
4409
|
}[];
|
|
4468
|
-
data:
|
|
4469
|
-
[x: string]: any;
|
|
4470
|
-
}) & (string | {
|
|
4410
|
+
data: string | {
|
|
4471
4411
|
[x: string]: any;
|
|
4472
|
-
}
|
|
4412
|
+
};
|
|
4473
4413
|
}[];
|
|
4474
4414
|
};
|
|
4475
4415
|
};
|
|
@@ -4561,18 +4501,16 @@ declare const generateAuthParser: z.ZodObject<{
|
|
|
4561
4501
|
actor: string;
|
|
4562
4502
|
permission: string;
|
|
4563
4503
|
}[];
|
|
4564
|
-
data:
|
|
4504
|
+
data: string | {
|
|
4565
4505
|
[x: string]: any;
|
|
4566
|
-
}
|
|
4567
|
-
[x: string]: any;
|
|
4568
|
-
} | undefined);
|
|
4506
|
+
};
|
|
4569
4507
|
}[];
|
|
4570
4508
|
};
|
|
4571
4509
|
};
|
|
4572
4510
|
})[];
|
|
4573
4511
|
};
|
|
4574
4512
|
}>;
|
|
4575
|
-
|
|
4513
|
+
type GenerateAuth = z.infer<typeof generateAuthParser>;
|
|
4576
4514
|
|
|
4577
4515
|
declare const accountParser: z.ZodString;
|
|
4578
4516
|
declare const authorizationParser: z.ZodObject<{
|
|
@@ -4585,7 +4523,7 @@ declare const authorizationParser: z.ZodObject<{
|
|
|
4585
4523
|
actor: string;
|
|
4586
4524
|
permission: string;
|
|
4587
4525
|
}>;
|
|
4588
|
-
|
|
4526
|
+
type Authorization = z.infer<typeof authorizationParser>;
|
|
4589
4527
|
declare const authorizationsParser: z.ZodArray<z.ZodObject<{
|
|
4590
4528
|
actor: z.ZodString;
|
|
4591
4529
|
permission: z.ZodString;
|
|
@@ -4596,7 +4534,7 @@ declare const authorizationsParser: z.ZodArray<z.ZodObject<{
|
|
|
4596
4534
|
actor: string;
|
|
4597
4535
|
permission: string;
|
|
4598
4536
|
}>, "many">;
|
|
4599
|
-
|
|
4537
|
+
type Authorizations = z.infer<typeof authorizationsParser>;
|
|
4600
4538
|
declare const ExtendedAssetParser: z.ZodObject<{
|
|
4601
4539
|
quantity: z.ZodString;
|
|
4602
4540
|
contract: z.ZodString;
|
|
@@ -4607,7 +4545,7 @@ declare const ExtendedAssetParser: z.ZodObject<{
|
|
|
4607
4545
|
quantity: string;
|
|
4608
4546
|
contract: string;
|
|
4609
4547
|
}>;
|
|
4610
|
-
|
|
4548
|
+
type ExtendedAsset = z.infer<typeof ExtendedAssetParser>;
|
|
4611
4549
|
declare const accountRamDeltaParser: z.ZodObject<{
|
|
4612
4550
|
account: z.ZodString;
|
|
4613
4551
|
delta: z.ZodString;
|
|
@@ -4618,7 +4556,7 @@ declare const accountRamDeltaParser: z.ZodObject<{
|
|
|
4618
4556
|
account: string;
|
|
4619
4557
|
delta: string;
|
|
4620
4558
|
}>;
|
|
4621
|
-
|
|
4559
|
+
type HistoryAccountRamDelta = z.infer<typeof accountRamDeltaParser>;
|
|
4622
4560
|
|
|
4623
4561
|
interface CurrencyStat {
|
|
4624
4562
|
supply: string;
|
|
@@ -4650,7 +4588,7 @@ declare const rateParser: z.ZodObject<{
|
|
|
4650
4588
|
volume: number;
|
|
4651
4589
|
timestamp: number;
|
|
4652
4590
|
}>;
|
|
4653
|
-
|
|
4591
|
+
type Rate = z.infer<typeof rateParser>;
|
|
4654
4592
|
declare const exchangeRateParser: z.ZodObject<{
|
|
4655
4593
|
contract: z.ZodString;
|
|
4656
4594
|
symbol: z.ZodString;
|
|
@@ -4702,7 +4640,7 @@ declare const exchangeRateParser: z.ZodObject<{
|
|
|
4702
4640
|
timestamp: number;
|
|
4703
4641
|
}[];
|
|
4704
4642
|
}>;
|
|
4705
|
-
|
|
4643
|
+
type ExchangeRate = z.infer<typeof exchangeRateParser>;
|
|
4706
4644
|
declare const exchangeRatesParser: z.ZodArray<z.ZodObject<{
|
|
4707
4645
|
contract: z.ZodString;
|
|
4708
4646
|
symbol: z.ZodString;
|
|
@@ -4754,7 +4692,7 @@ declare const exchangeRatesParser: z.ZodArray<z.ZodObject<{
|
|
|
4754
4692
|
timestamp: number;
|
|
4755
4693
|
}[];
|
|
4756
4694
|
}>, "many">;
|
|
4757
|
-
|
|
4695
|
+
type ExchangeRates = z.infer<typeof exchangeRatesParser>;
|
|
4758
4696
|
declare const bloksRatesParser: z.ZodArray<z.ZodObject<{
|
|
4759
4697
|
contract: z.ZodString;
|
|
4760
4698
|
symbol: z.ZodString;
|
|
@@ -4806,7 +4744,7 @@ declare const bloksRatesParser: z.ZodArray<z.ZodObject<{
|
|
|
4806
4744
|
timestamp: number;
|
|
4807
4745
|
}[];
|
|
4808
4746
|
}>, "many">;
|
|
4809
|
-
|
|
4747
|
+
type BloksRate = {
|
|
4810
4748
|
key: string;
|
|
4811
4749
|
symbol: string;
|
|
4812
4750
|
account: string;
|
|
@@ -4854,7 +4792,7 @@ declare type BloksRate = {
|
|
|
4854
4792
|
rank: number;
|
|
4855
4793
|
chain_rank: number;
|
|
4856
4794
|
};
|
|
4857
|
-
|
|
4795
|
+
type BloksRates = BloksRate[];
|
|
4858
4796
|
|
|
4859
4797
|
declare enum Type {
|
|
4860
4798
|
RECEIVE = "receive",
|
|
@@ -4882,7 +4820,7 @@ declare const depositBodyParser: z.ZodObject<{
|
|
|
4882
4820
|
hash: string;
|
|
4883
4821
|
network: string;
|
|
4884
4822
|
}>;
|
|
4885
|
-
|
|
4823
|
+
type DepositBody = z.infer<typeof depositBodyParser>;
|
|
4886
4824
|
declare const metalTransactionParser: z.ZodObject<{
|
|
4887
4825
|
id: z.ZodString;
|
|
4888
4826
|
wallet: z.ZodString;
|
|
@@ -4920,7 +4858,7 @@ declare const metalTransactionParser: z.ZodObject<{
|
|
|
4920
4858
|
blockHash?: string | null | undefined;
|
|
4921
4859
|
blockHeight?: number | null | undefined;
|
|
4922
4860
|
}>;
|
|
4923
|
-
|
|
4861
|
+
type MetalTransaction = z.infer<typeof metalTransactionParser>;
|
|
4924
4862
|
|
|
4925
4863
|
declare const otcOrderResponseParser: z.ZodObject<{
|
|
4926
4864
|
success: z.ZodBoolean;
|
|
@@ -4935,7 +4873,7 @@ declare const otcOrderResponseParser: z.ZodObject<{
|
|
|
4935
4873
|
transaction_id: string;
|
|
4936
4874
|
errormsg?: string | undefined;
|
|
4937
4875
|
}>;
|
|
4938
|
-
|
|
4876
|
+
type OtcOrderResponse = z.infer<typeof otcOrderResponseParser>;
|
|
4939
4877
|
declare const otcQuoteBodyParser: z.ZodObject<{
|
|
4940
4878
|
baseAmount: z.ZodNumber;
|
|
4941
4879
|
baseSymbol: z.ZodString;
|
|
@@ -4949,7 +4887,7 @@ declare const otcQuoteBodyParser: z.ZodObject<{
|
|
|
4949
4887
|
baseSymbol: string;
|
|
4950
4888
|
quoteSymbol: string;
|
|
4951
4889
|
}>;
|
|
4952
|
-
|
|
4890
|
+
type OtcQuoteBody = z.infer<typeof otcQuoteBodyParser>;
|
|
4953
4891
|
declare const otcQuoteResponseParser: z.ZodObject<{
|
|
4954
4892
|
success: z.ZodBoolean;
|
|
4955
4893
|
token: z.ZodString;
|
|
@@ -4966,7 +4904,7 @@ declare const otcQuoteResponseParser: z.ZodObject<{
|
|
|
4966
4904
|
qty: number;
|
|
4967
4905
|
errormsg?: string | undefined;
|
|
4968
4906
|
}>;
|
|
4969
|
-
|
|
4907
|
+
type OtcQuoteResponse = z.infer<typeof otcQuoteResponseParser>;
|
|
4970
4908
|
|
|
4971
4909
|
declare class INode<T> {
|
|
4972
4910
|
key: string;
|
|
@@ -5035,13 +4973,13 @@ interface Pool extends Omit<RawPool, 'pool1' | 'pool2'> {
|
|
|
5035
4973
|
liquidityUsd: number;
|
|
5036
4974
|
liquidityApr: number;
|
|
5037
4975
|
}
|
|
5038
|
-
|
|
4976
|
+
type ExtendedToken = Coin & ExtendedAsset$1 & {
|
|
5039
4977
|
key: string;
|
|
5040
4978
|
};
|
|
5041
|
-
|
|
4979
|
+
type ExtendedTokenWithRate = ExtendedToken & {
|
|
5042
4980
|
rate: number;
|
|
5043
4981
|
};
|
|
5044
|
-
|
|
4982
|
+
type PoolTable = {
|
|
5045
4983
|
pool1: ExtendedTokenWithRate;
|
|
5046
4984
|
pool2: ExtendedTokenWithRate;
|
|
5047
4985
|
path: INode<Pool>[];
|
|
@@ -5105,7 +5043,7 @@ declare const withdrawBodyBaseAction: z.ZodObject<{
|
|
|
5105
5043
|
to: "proton.wrap";
|
|
5106
5044
|
};
|
|
5107
5045
|
}>;
|
|
5108
|
-
|
|
5046
|
+
type WithdrawBodyBaseAction = z.infer<typeof withdrawBodyBaseAction>;
|
|
5109
5047
|
declare const withdrawBodyParser: z.ZodObject<{
|
|
5110
5048
|
signer: z.ZodObject<{
|
|
5111
5049
|
actor: z.ZodString;
|
|
@@ -5118,7 +5056,7 @@ declare const withdrawBodyParser: z.ZodObject<{
|
|
|
5118
5056
|
permission: string;
|
|
5119
5057
|
}>;
|
|
5120
5058
|
signatures: z.ZodArray<z.ZodString, "many">;
|
|
5121
|
-
transaction: z.ZodObject<{
|
|
5059
|
+
transaction: z.ZodObject<z.objectUtil.extendShape<{
|
|
5122
5060
|
expiration: z.ZodString;
|
|
5123
5061
|
ref_block_num: z.ZodNumber;
|
|
5124
5062
|
ref_block_prefix: z.ZodNumber;
|
|
@@ -5160,6 +5098,7 @@ declare const withdrawBodyParser: z.ZodObject<{
|
|
|
5160
5098
|
hex_data?: string | undefined;
|
|
5161
5099
|
}>, "many">;
|
|
5162
5100
|
transaction_extensions: z.ZodArray<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">>, "many">;
|
|
5101
|
+
}, {
|
|
5163
5102
|
actions: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
5164
5103
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
5165
5104
|
name: z.ZodLiteral<string>;
|
|
@@ -5272,7 +5211,7 @@ declare const withdrawBodyParser: z.ZodObject<{
|
|
|
5272
5211
|
auth_data: string;
|
|
5273
5212
|
client_json: string;
|
|
5274
5213
|
}>;
|
|
5275
|
-
trx: z.ZodObject<{
|
|
5214
|
+
trx: z.ZodObject<z.objectUtil.extendShape<{
|
|
5276
5215
|
expiration: z.ZodString;
|
|
5277
5216
|
ref_block_num: z.ZodNumber;
|
|
5278
5217
|
ref_block_prefix: z.ZodNumber;
|
|
@@ -5314,6 +5253,7 @@ declare const withdrawBodyParser: z.ZodObject<{
|
|
|
5314
5253
|
hex_data?: string | undefined;
|
|
5315
5254
|
}>, "many">;
|
|
5316
5255
|
transaction_extensions: z.ZodArray<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">>, "many">;
|
|
5256
|
+
}, {
|
|
5317
5257
|
actions: z.ZodArray<z.ZodObject<{
|
|
5318
5258
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
5319
5259
|
name: z.ZodLiteral<string>;
|
|
@@ -5350,17 +5290,12 @@ declare const withdrawBodyParser: z.ZodObject<{
|
|
|
5350
5290
|
actor: string;
|
|
5351
5291
|
permission: string;
|
|
5352
5292
|
}[];
|
|
5353
|
-
data:
|
|
5354
|
-
quantity: string;
|
|
5355
|
-
memo: string;
|
|
5356
|
-
from: string;
|
|
5357
|
-
to: "proton.wrap";
|
|
5358
|
-
}) & (string | {
|
|
5293
|
+
data: string | {
|
|
5359
5294
|
quantity: string;
|
|
5360
5295
|
memo: string;
|
|
5361
5296
|
from: string;
|
|
5362
5297
|
to: "proton.wrap";
|
|
5363
|
-
}
|
|
5298
|
+
};
|
|
5364
5299
|
}, {
|
|
5365
5300
|
account: string;
|
|
5366
5301
|
name: string;
|
|
@@ -5368,19 +5303,14 @@ declare const withdrawBodyParser: z.ZodObject<{
|
|
|
5368
5303
|
actor: string;
|
|
5369
5304
|
permission: string;
|
|
5370
5305
|
}[];
|
|
5371
|
-
data:
|
|
5306
|
+
data: string | {
|
|
5372
5307
|
quantity: string;
|
|
5373
5308
|
memo: string;
|
|
5374
5309
|
from: string;
|
|
5375
5310
|
to: "proton.wrap";
|
|
5376
|
-
}
|
|
5377
|
-
quantity: string;
|
|
5378
|
-
memo: string;
|
|
5379
|
-
from: string;
|
|
5380
|
-
to: "proton.wrap";
|
|
5381
|
-
} | undefined);
|
|
5311
|
+
};
|
|
5382
5312
|
}>, "many">;
|
|
5383
|
-
}
|
|
5313
|
+
}>, "strip", z.ZodTypeAny, {
|
|
5384
5314
|
expiration: string;
|
|
5385
5315
|
ref_block_num: number;
|
|
5386
5316
|
ref_block_prefix: number;
|
|
@@ -5405,17 +5335,12 @@ declare const withdrawBodyParser: z.ZodObject<{
|
|
|
5405
5335
|
actor: string;
|
|
5406
5336
|
permission: string;
|
|
5407
5337
|
}[];
|
|
5408
|
-
data:
|
|
5338
|
+
data: string | {
|
|
5409
5339
|
quantity: string;
|
|
5410
5340
|
memo: string;
|
|
5411
5341
|
from: string;
|
|
5412
5342
|
to: "proton.wrap";
|
|
5413
|
-
}
|
|
5414
|
-
quantity: string;
|
|
5415
|
-
memo: string;
|
|
5416
|
-
from: string;
|
|
5417
|
-
to: "proton.wrap";
|
|
5418
|
-
} | undefined);
|
|
5343
|
+
};
|
|
5419
5344
|
}[];
|
|
5420
5345
|
}, {
|
|
5421
5346
|
expiration: string;
|
|
@@ -5442,17 +5367,12 @@ declare const withdrawBodyParser: z.ZodObject<{
|
|
|
5442
5367
|
actor: string;
|
|
5443
5368
|
permission: string;
|
|
5444
5369
|
}[];
|
|
5445
|
-
data:
|
|
5446
|
-
quantity: string;
|
|
5447
|
-
memo: string;
|
|
5448
|
-
from: string;
|
|
5449
|
-
to: "proton.wrap";
|
|
5450
|
-
}) & (string | {
|
|
5370
|
+
data: string | {
|
|
5451
5371
|
quantity: string;
|
|
5452
5372
|
memo: string;
|
|
5453
5373
|
from: string;
|
|
5454
5374
|
to: "proton.wrap";
|
|
5455
|
-
}
|
|
5375
|
+
};
|
|
5456
5376
|
}[];
|
|
5457
5377
|
}>;
|
|
5458
5378
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -5500,17 +5420,12 @@ declare const withdrawBodyParser: z.ZodObject<{
|
|
|
5500
5420
|
actor: string;
|
|
5501
5421
|
permission: string;
|
|
5502
5422
|
}[];
|
|
5503
|
-
data:
|
|
5423
|
+
data: string | {
|
|
5504
5424
|
quantity: string;
|
|
5505
5425
|
memo: string;
|
|
5506
5426
|
from: string;
|
|
5507
5427
|
to: "proton.wrap";
|
|
5508
|
-
}
|
|
5509
|
-
quantity: string;
|
|
5510
|
-
memo: string;
|
|
5511
|
-
from: string;
|
|
5512
|
-
to: "proton.wrap";
|
|
5513
|
-
} | undefined);
|
|
5428
|
+
};
|
|
5514
5429
|
}[];
|
|
5515
5430
|
};
|
|
5516
5431
|
}, {
|
|
@@ -5558,17 +5473,12 @@ declare const withdrawBodyParser: z.ZodObject<{
|
|
|
5558
5473
|
actor: string;
|
|
5559
5474
|
permission: string;
|
|
5560
5475
|
}[];
|
|
5561
|
-
data:
|
|
5562
|
-
quantity: string;
|
|
5563
|
-
memo: string;
|
|
5564
|
-
from: string;
|
|
5565
|
-
to: "proton.wrap";
|
|
5566
|
-
}) & (string | {
|
|
5476
|
+
data: string | {
|
|
5567
5477
|
quantity: string;
|
|
5568
5478
|
memo: string;
|
|
5569
5479
|
from: string;
|
|
5570
5480
|
to: "proton.wrap";
|
|
5571
|
-
}
|
|
5481
|
+
};
|
|
5572
5482
|
}[];
|
|
5573
5483
|
};
|
|
5574
5484
|
}>;
|
|
@@ -5634,17 +5544,12 @@ declare const withdrawBodyParser: z.ZodObject<{
|
|
|
5634
5544
|
actor: string;
|
|
5635
5545
|
permission: string;
|
|
5636
5546
|
}[];
|
|
5637
|
-
data:
|
|
5547
|
+
data: string | {
|
|
5638
5548
|
quantity: string;
|
|
5639
5549
|
memo: string;
|
|
5640
5550
|
from: string;
|
|
5641
5551
|
to: "proton.wrap";
|
|
5642
|
-
}
|
|
5643
|
-
quantity: string;
|
|
5644
|
-
memo: string;
|
|
5645
|
-
from: string;
|
|
5646
|
-
to: "proton.wrap";
|
|
5647
|
-
} | undefined);
|
|
5552
|
+
};
|
|
5648
5553
|
}[];
|
|
5649
5554
|
};
|
|
5650
5555
|
};
|
|
@@ -5700,22 +5605,17 @@ declare const withdrawBodyParser: z.ZodObject<{
|
|
|
5700
5605
|
actor: string;
|
|
5701
5606
|
permission: string;
|
|
5702
5607
|
}[];
|
|
5703
|
-
data:
|
|
5704
|
-
quantity: string;
|
|
5705
|
-
memo: string;
|
|
5706
|
-
from: string;
|
|
5707
|
-
to: "proton.wrap";
|
|
5708
|
-
}) & (string | {
|
|
5608
|
+
data: string | {
|
|
5709
5609
|
quantity: string;
|
|
5710
5610
|
memo: string;
|
|
5711
5611
|
from: string;
|
|
5712
5612
|
to: "proton.wrap";
|
|
5713
|
-
}
|
|
5613
|
+
};
|
|
5714
5614
|
}[];
|
|
5715
5615
|
};
|
|
5716
5616
|
};
|
|
5717
5617
|
}>]>, "many">;
|
|
5718
|
-
}
|
|
5618
|
+
}>, "strip", z.ZodTypeAny, {
|
|
5719
5619
|
expiration: string;
|
|
5720
5620
|
ref_block_num: number;
|
|
5721
5621
|
ref_block_prefix: number;
|
|
@@ -5798,17 +5698,12 @@ declare const withdrawBodyParser: z.ZodObject<{
|
|
|
5798
5698
|
actor: string;
|
|
5799
5699
|
permission: string;
|
|
5800
5700
|
}[];
|
|
5801
|
-
data:
|
|
5802
|
-
quantity: string;
|
|
5803
|
-
memo: string;
|
|
5804
|
-
from: string;
|
|
5805
|
-
to: "proton.wrap";
|
|
5806
|
-
}) & (string | {
|
|
5701
|
+
data: string | {
|
|
5807
5702
|
quantity: string;
|
|
5808
5703
|
memo: string;
|
|
5809
5704
|
from: string;
|
|
5810
5705
|
to: "proton.wrap";
|
|
5811
|
-
}
|
|
5706
|
+
};
|
|
5812
5707
|
}[];
|
|
5813
5708
|
};
|
|
5814
5709
|
};
|
|
@@ -5896,17 +5791,12 @@ declare const withdrawBodyParser: z.ZodObject<{
|
|
|
5896
5791
|
actor: string;
|
|
5897
5792
|
permission: string;
|
|
5898
5793
|
}[];
|
|
5899
|
-
data:
|
|
5794
|
+
data: string | {
|
|
5900
5795
|
quantity: string;
|
|
5901
5796
|
memo: string;
|
|
5902
5797
|
from: string;
|
|
5903
5798
|
to: "proton.wrap";
|
|
5904
|
-
}
|
|
5905
|
-
quantity: string;
|
|
5906
|
-
memo: string;
|
|
5907
|
-
from: string;
|
|
5908
|
-
to: "proton.wrap";
|
|
5909
|
-
} | undefined);
|
|
5799
|
+
};
|
|
5910
5800
|
}[];
|
|
5911
5801
|
};
|
|
5912
5802
|
};
|
|
@@ -6003,17 +5893,12 @@ declare const withdrawBodyParser: z.ZodObject<{
|
|
|
6003
5893
|
actor: string;
|
|
6004
5894
|
permission: string;
|
|
6005
5895
|
}[];
|
|
6006
|
-
data:
|
|
5896
|
+
data: string | {
|
|
6007
5897
|
quantity: string;
|
|
6008
5898
|
memo: string;
|
|
6009
5899
|
from: string;
|
|
6010
5900
|
to: "proton.wrap";
|
|
6011
|
-
}
|
|
6012
|
-
quantity: string;
|
|
6013
|
-
memo: string;
|
|
6014
|
-
from: string;
|
|
6015
|
-
to: "proton.wrap";
|
|
6016
|
-
} | undefined);
|
|
5901
|
+
};
|
|
6017
5902
|
}[];
|
|
6018
5903
|
};
|
|
6019
5904
|
};
|
|
@@ -6110,17 +5995,12 @@ declare const withdrawBodyParser: z.ZodObject<{
|
|
|
6110
5995
|
actor: string;
|
|
6111
5996
|
permission: string;
|
|
6112
5997
|
}[];
|
|
6113
|
-
data:
|
|
6114
|
-
quantity: string;
|
|
6115
|
-
memo: string;
|
|
6116
|
-
from: string;
|
|
6117
|
-
to: "proton.wrap";
|
|
6118
|
-
}) & (string | {
|
|
5998
|
+
data: string | {
|
|
6119
5999
|
quantity: string;
|
|
6120
6000
|
memo: string;
|
|
6121
6001
|
from: string;
|
|
6122
6002
|
to: "proton.wrap";
|
|
6123
|
-
}
|
|
6003
|
+
};
|
|
6124
6004
|
}[];
|
|
6125
6005
|
};
|
|
6126
6006
|
};
|
|
@@ -6129,7 +6009,7 @@ declare const withdrawBodyParser: z.ZodObject<{
|
|
|
6129
6009
|
quoteId: string;
|
|
6130
6010
|
provider?: string | undefined;
|
|
6131
6011
|
}>;
|
|
6132
|
-
|
|
6012
|
+
type WithdrawBody = z.infer<typeof withdrawBodyParser>;
|
|
6133
6013
|
declare const withdrawMetalResponseParser: z.ZodObject<{
|
|
6134
6014
|
success: z.ZodBoolean;
|
|
6135
6015
|
id: z.ZodString;
|
|
@@ -6140,7 +6020,7 @@ declare const withdrawMetalResponseParser: z.ZodObject<{
|
|
|
6140
6020
|
id: string;
|
|
6141
6021
|
success: boolean;
|
|
6142
6022
|
}>;
|
|
6143
|
-
|
|
6023
|
+
type WithdrawMetalResponse = z.infer<typeof withdrawMetalResponseParser>;
|
|
6144
6024
|
declare const withdrawalFeeQuoteParser: z.ZodObject<{
|
|
6145
6025
|
quoteId: z.ZodString;
|
|
6146
6026
|
estimatedFee: z.ZodString;
|
|
@@ -6157,7 +6037,7 @@ declare const withdrawalFeeQuoteParser: z.ZodObject<{
|
|
|
6157
6037
|
estimatedFee: string;
|
|
6158
6038
|
currency: string;
|
|
6159
6039
|
}>;
|
|
6160
|
-
|
|
6040
|
+
type WithdrawalFeeQuote = z.infer<typeof withdrawalFeeQuoteParser>;
|
|
6161
6041
|
|
|
6162
6042
|
declare const withdrawHistoryMetalSwapParser: z.ZodObject<{
|
|
6163
6043
|
id: z.ZodString;
|
|
@@ -6187,7 +6067,7 @@ declare const withdrawHistoryMetalSwapParser: z.ZodObject<{
|
|
|
6187
6067
|
withdrawalAddress: string;
|
|
6188
6068
|
withdrawalHash?: string | undefined;
|
|
6189
6069
|
}>;
|
|
6190
|
-
|
|
6070
|
+
type WithdrawHistoryMetalSwap = z.infer<typeof withdrawHistoryMetalSwapParser>;
|
|
6191
6071
|
declare const withdrawHistoryMetalResponseParser: z.ZodObject<{
|
|
6192
6072
|
swaps: z.ZodArray<z.ZodObject<{
|
|
6193
6073
|
id: z.ZodString;
|
|
@@ -6255,7 +6135,7 @@ declare const withdrawHistoryMetalResponseParser: z.ZodObject<{
|
|
|
6255
6135
|
totalPages: number;
|
|
6256
6136
|
totalElements: number;
|
|
6257
6137
|
}>;
|
|
6258
|
-
|
|
6138
|
+
type WithdrawHistoryMetalResponse = z.infer<typeof withdrawHistoryMetalResponseParser>;
|
|
6259
6139
|
|
|
6260
6140
|
declare enum Status {
|
|
6261
6141
|
PENDING = "pending",
|
|
@@ -6300,7 +6180,7 @@ declare const wrapStartParser: z.ZodObject<{
|
|
|
6300
6180
|
txid: string;
|
|
6301
6181
|
deposit_address: string;
|
|
6302
6182
|
}>;
|
|
6303
|
-
|
|
6183
|
+
type WrapStart = z.infer<typeof wrapStartParser>;
|
|
6304
6184
|
declare const wrapSetConfParser: z.ZodObject<{
|
|
6305
6185
|
wrap_hash: z.ZodString;
|
|
6306
6186
|
confirmations: z.ZodNumber;
|
|
@@ -6311,7 +6191,7 @@ declare const wrapSetConfParser: z.ZodObject<{
|
|
|
6311
6191
|
confirmations: number;
|
|
6312
6192
|
wrap_hash: string;
|
|
6313
6193
|
}>;
|
|
6314
|
-
|
|
6194
|
+
type WrapSetConf = z.infer<typeof wrapSetConfParser>;
|
|
6315
6195
|
declare const wrapParser: z.ZodObject<{
|
|
6316
6196
|
index: z.ZodNumber;
|
|
6317
6197
|
proton_account: z.ZodString;
|
|
@@ -6364,10 +6244,10 @@ declare const wrapParser: z.ZodObject<{
|
|
|
6364
6244
|
proton_account: string;
|
|
6365
6245
|
finish_txid: string;
|
|
6366
6246
|
}>;
|
|
6367
|
-
|
|
6247
|
+
type Wrap = z.infer<typeof wrapParser>;
|
|
6368
6248
|
|
|
6369
6249
|
declare const sortDirectionEnum: z.ZodEnum<["asc", "desc"]>;
|
|
6370
|
-
|
|
6250
|
+
type SortDirection = z.input<typeof sortDirectionEnum>;
|
|
6371
6251
|
/**
|
|
6372
6252
|
* OHLCV
|
|
6373
6253
|
*/
|
|
@@ -6399,7 +6279,7 @@ declare const ohlcvParser: z.ZodObject<{
|
|
|
6399
6279
|
volume_bid: number;
|
|
6400
6280
|
count: number;
|
|
6401
6281
|
}>;
|
|
6402
|
-
|
|
6282
|
+
type OHLCV = z.infer<typeof ohlcvParser>;
|
|
6403
6283
|
declare const getOhlcvParser: z.ZodObject<{
|
|
6404
6284
|
interval: z.ZodString;
|
|
6405
6285
|
from: z.ZodString;
|
|
@@ -6419,8 +6299,8 @@ declare const getOhlcvParser: z.ZodObject<{
|
|
|
6419
6299
|
interval: string;
|
|
6420
6300
|
limit?: number | undefined;
|
|
6421
6301
|
}>;
|
|
6422
|
-
|
|
6423
|
-
|
|
6302
|
+
type GetOHLCV = z.input<typeof getOhlcvParser>;
|
|
6303
|
+
type GetOHLCVParsed = z.output<typeof getOhlcvParser>;
|
|
6424
6304
|
declare const getOhlcvResponseParser: z.ZodObject<{
|
|
6425
6305
|
sync: z.ZodNumber;
|
|
6426
6306
|
data: z.ZodArray<z.ZodObject<{
|
|
@@ -6476,7 +6356,7 @@ declare const getOhlcvResponseParser: z.ZodObject<{
|
|
|
6476
6356
|
}[];
|
|
6477
6357
|
sync: number;
|
|
6478
6358
|
}>;
|
|
6479
|
-
|
|
6359
|
+
type GetOHLCVResponse = z.infer<typeof getOhlcvResponseParser>;
|
|
6480
6360
|
/**
|
|
6481
6361
|
* Order History
|
|
6482
6362
|
*/
|
|
@@ -6538,7 +6418,7 @@ declare const openOrderParser: z.ZodObject<{
|
|
|
6538
6418
|
filled_amount?: number | undefined;
|
|
6539
6419
|
filled_fee?: number | undefined;
|
|
6540
6420
|
}>;
|
|
6541
|
-
|
|
6421
|
+
type OpenOrder = z.infer<typeof openOrderParser>;
|
|
6542
6422
|
declare const orderLogParser: z.ZodObject<{
|
|
6543
6423
|
seq: z.ZodString;
|
|
6544
6424
|
block_num: z.ZodString;
|
|
@@ -6588,7 +6468,7 @@ declare const orderLogParser: z.ZodObject<{
|
|
|
6588
6468
|
quantity_change: string;
|
|
6589
6469
|
trx_id: string;
|
|
6590
6470
|
}>;
|
|
6591
|
-
|
|
6471
|
+
type OrderLog = z.infer<typeof orderLogParser>;
|
|
6592
6472
|
declare const orderHistoryParser: z.ZodObject<{
|
|
6593
6473
|
block_num: z.ZodString;
|
|
6594
6474
|
block_time: z.ZodString;
|
|
@@ -6653,7 +6533,7 @@ declare const orderHistoryParser: z.ZodObject<{
|
|
|
6653
6533
|
filled_amount?: number | undefined;
|
|
6654
6534
|
filled_fee?: number | undefined;
|
|
6655
6535
|
}>;
|
|
6656
|
-
|
|
6536
|
+
type OrderHistory = z.infer<typeof orderHistoryParser>;
|
|
6657
6537
|
declare const getOpenOrdersParser: z.ZodObject<{
|
|
6658
6538
|
account: z.ZodString;
|
|
6659
6539
|
symbol: z.ZodOptional<z.ZodString>;
|
|
@@ -6669,12 +6549,12 @@ declare const getOpenOrdersParser: z.ZodObject<{
|
|
|
6669
6549
|
}, {
|
|
6670
6550
|
account: string;
|
|
6671
6551
|
symbol?: string | undefined;
|
|
6672
|
-
offset?: number | undefined;
|
|
6673
6552
|
limit?: number | undefined;
|
|
6553
|
+
offset?: number | undefined;
|
|
6674
6554
|
ordinal_order_ids?: string | string[] | undefined;
|
|
6675
6555
|
}>;
|
|
6676
|
-
|
|
6677
|
-
|
|
6556
|
+
type GetOpenOrders = z.input<typeof getOpenOrdersParser>;
|
|
6557
|
+
type GetOpenOrdersParsed = z.output<typeof getOpenOrdersParser>;
|
|
6678
6558
|
declare const getOpenOrdersResponseParser: z.ZodObject<{
|
|
6679
6559
|
sync: z.ZodNumber;
|
|
6680
6560
|
count: z.ZodNumber;
|
|
@@ -6783,7 +6663,7 @@ declare const getOpenOrdersResponseParser: z.ZodObject<{
|
|
|
6783
6663
|
count: number;
|
|
6784
6664
|
sync: number;
|
|
6785
6665
|
}>;
|
|
6786
|
-
|
|
6666
|
+
type GetOpenOrdersResponse = z.infer<typeof getOpenOrdersResponseParser>;
|
|
6787
6667
|
declare const getOrderHistoryParser: z.ZodObject<{
|
|
6788
6668
|
account: z.ZodString;
|
|
6789
6669
|
symbol: z.ZodOptional<z.ZodString>;
|
|
@@ -6798,19 +6678,19 @@ declare const getOrderHistoryParser: z.ZodObject<{
|
|
|
6798
6678
|
offset: number;
|
|
6799
6679
|
ordinal_order_ids: string[];
|
|
6800
6680
|
symbol?: string | undefined;
|
|
6801
|
-
trx_id?: string | undefined;
|
|
6802
6681
|
status?: string | undefined;
|
|
6682
|
+
trx_id?: string | undefined;
|
|
6803
6683
|
}, {
|
|
6804
6684
|
account: string;
|
|
6805
6685
|
symbol?: string | undefined;
|
|
6806
|
-
|
|
6686
|
+
status?: string | undefined;
|
|
6807
6687
|
limit?: number | undefined;
|
|
6808
|
-
ordinal_order_ids?: string | string[] | undefined;
|
|
6809
6688
|
trx_id?: string | undefined;
|
|
6810
|
-
|
|
6689
|
+
offset?: number | undefined;
|
|
6690
|
+
ordinal_order_ids?: string | string[] | undefined;
|
|
6811
6691
|
}>;
|
|
6812
|
-
|
|
6813
|
-
|
|
6692
|
+
type GetOrderHistory = z.input<typeof getOrderHistoryParser>;
|
|
6693
|
+
type GetOrderHistoryParsed = z.output<typeof getOrderHistoryParser>;
|
|
6814
6694
|
declare const getOrderHistoryResponseParser: z.ZodObject<{
|
|
6815
6695
|
sync: z.ZodNumber;
|
|
6816
6696
|
count: z.ZodNumber;
|
|
@@ -6929,7 +6809,7 @@ declare const getOrderHistoryResponseParser: z.ZodObject<{
|
|
|
6929
6809
|
count: number;
|
|
6930
6810
|
sync: number;
|
|
6931
6811
|
}>;
|
|
6932
|
-
|
|
6812
|
+
type GetOrderHistoryResponse = z.infer<typeof getOrderHistoryResponseParser>;
|
|
6933
6813
|
declare const getOrderLifecycleParser: z.ZodObject<{
|
|
6934
6814
|
order_id: z.ZodOptional<z.ZodString>;
|
|
6935
6815
|
ordinal_order_id: z.ZodOptional<z.ZodString>;
|
|
@@ -6940,8 +6820,8 @@ declare const getOrderLifecycleParser: z.ZodObject<{
|
|
|
6940
6820
|
order_id?: string | undefined;
|
|
6941
6821
|
ordinal_order_id?: string | undefined;
|
|
6942
6822
|
}>;
|
|
6943
|
-
|
|
6944
|
-
|
|
6823
|
+
type GetOrderLifecycle = z.input<typeof getOrderLifecycleParser>;
|
|
6824
|
+
type GetOrderLifecycleParsed = z.output<typeof getOrderLifecycleParser>;
|
|
6945
6825
|
declare const getOrderLifecycleResponseParser: z.ZodObject<{
|
|
6946
6826
|
sync: z.ZodNumber;
|
|
6947
6827
|
data: z.ZodArray<z.ZodObject<{
|
|
@@ -7057,7 +6937,7 @@ declare const getOrderLifecycleResponseParser: z.ZodObject<{
|
|
|
7057
6937
|
}[];
|
|
7058
6938
|
sync: number;
|
|
7059
6939
|
}>;
|
|
7060
|
-
|
|
6940
|
+
type GetOrderLifecycleResponse = z.infer<typeof getOrderLifecycleResponseParser>;
|
|
7061
6941
|
/**
|
|
7062
6942
|
* Submit Order
|
|
7063
6943
|
*/
|
|
@@ -7071,7 +6951,7 @@ declare const postSubmitOrderParser: z.ZodObject<{
|
|
|
7071
6951
|
signatures: string[];
|
|
7072
6952
|
serialized_tx_hex: string;
|
|
7073
6953
|
}>;
|
|
7074
|
-
|
|
6954
|
+
type PostSubmitOrder = z.infer<typeof postSubmitOrderParser>;
|
|
7075
6955
|
declare const postSubmitOrderResponseParser: z.ZodObject<{
|
|
7076
6956
|
sync: z.ZodNumber;
|
|
7077
6957
|
data: z.ZodObject<{
|
|
@@ -7130,7 +7010,7 @@ declare const postSubmitOrderResponseParser: z.ZodObject<{
|
|
|
7130
7010
|
};
|
|
7131
7011
|
sync: number;
|
|
7132
7012
|
}>;
|
|
7133
|
-
|
|
7013
|
+
type PostSubmitOrderResponse = z.infer<typeof postSubmitOrderResponseParser>;
|
|
7134
7014
|
/**
|
|
7135
7015
|
* Serialize Order
|
|
7136
7016
|
*/
|
|
@@ -7213,7 +7093,7 @@ declare const postSerializeOrderParser: z.ZodObject<{
|
|
|
7213
7093
|
}[];
|
|
7214
7094
|
};
|
|
7215
7095
|
}>;
|
|
7216
|
-
|
|
7096
|
+
type PostSerializeOrder = z.infer<typeof postSerializeOrderParser>;
|
|
7217
7097
|
declare const postSerializeOrderResponseParser: z.ZodObject<{
|
|
7218
7098
|
data: z.ZodObject<{
|
|
7219
7099
|
serialized_tx_hex: z.ZodString;
|
|
@@ -7236,7 +7116,7 @@ declare const postSerializeOrderResponseParser: z.ZodObject<{
|
|
|
7236
7116
|
digest_hex: string;
|
|
7237
7117
|
};
|
|
7238
7118
|
}>;
|
|
7239
|
-
|
|
7119
|
+
type PostSerializeOrderResponse = z.infer<typeof postSerializeOrderResponseParser>;
|
|
7240
7120
|
/**
|
|
7241
7121
|
* Depth
|
|
7242
7122
|
*/
|
|
@@ -7256,7 +7136,7 @@ declare const depthParser: z.ZodObject<{
|
|
|
7256
7136
|
ask: number;
|
|
7257
7137
|
bid: number;
|
|
7258
7138
|
}>;
|
|
7259
|
-
|
|
7139
|
+
type Depth = z.infer<typeof depthParser>;
|
|
7260
7140
|
declare const getDepthParser: z.ZodObject<{
|
|
7261
7141
|
symbol: z.ZodString;
|
|
7262
7142
|
step: z.ZodNumber;
|
|
@@ -7270,8 +7150,8 @@ declare const getDepthParser: z.ZodObject<{
|
|
|
7270
7150
|
step: number;
|
|
7271
7151
|
limit?: number | undefined;
|
|
7272
7152
|
}>;
|
|
7273
|
-
|
|
7274
|
-
|
|
7153
|
+
type GetDepth = z.input<typeof getDepthParser>;
|
|
7154
|
+
type GetDepthParsed = z.output<typeof getDepthParser>;
|
|
7275
7155
|
declare const getDepthResponseParser: z.ZodObject<{
|
|
7276
7156
|
sync: z.ZodNumber;
|
|
7277
7157
|
data: z.ZodObject<{
|
|
@@ -7367,7 +7247,7 @@ declare const getDepthResponseParser: z.ZodObject<{
|
|
|
7367
7247
|
};
|
|
7368
7248
|
sync: number;
|
|
7369
7249
|
}>;
|
|
7370
|
-
|
|
7250
|
+
type GetDepthResponse = z.infer<typeof getDepthResponseParser>;
|
|
7371
7251
|
/**
|
|
7372
7252
|
* Daily
|
|
7373
7253
|
*/
|
|
@@ -7402,7 +7282,7 @@ declare const dailyParser: z.ZodObject<{
|
|
|
7402
7282
|
volume_ask: number;
|
|
7403
7283
|
change_percentage: number;
|
|
7404
7284
|
}>;
|
|
7405
|
-
|
|
7285
|
+
type Daily = z.infer<typeof dailyParser>;
|
|
7406
7286
|
declare const getDailyResponseParser: z.ZodObject<{
|
|
7407
7287
|
sync: z.ZodNumber;
|
|
7408
7288
|
data: z.ZodArray<z.ZodObject<{
|
|
@@ -7463,7 +7343,7 @@ declare const getDailyResponseParser: z.ZodObject<{
|
|
|
7463
7343
|
}[];
|
|
7464
7344
|
sync: number;
|
|
7465
7345
|
}>;
|
|
7466
|
-
|
|
7346
|
+
type GetDailyResponse = z.infer<typeof getDailyResponseParser>;
|
|
7467
7347
|
/**
|
|
7468
7348
|
* Markets
|
|
7469
7349
|
*/
|
|
@@ -7548,7 +7428,7 @@ declare const marketParser: z.ZodObject<{
|
|
|
7548
7428
|
multiplier: number;
|
|
7549
7429
|
};
|
|
7550
7430
|
}>;
|
|
7551
|
-
|
|
7431
|
+
type Market = z.infer<typeof marketParser>;
|
|
7552
7432
|
declare const dbMarketParser: z.ZodObject<{
|
|
7553
7433
|
market_id: z.ZodNumber;
|
|
7554
7434
|
order_min: z.ZodString;
|
|
@@ -7589,7 +7469,7 @@ declare const dbMarketParser: z.ZodObject<{
|
|
|
7589
7469
|
ask_token_s: string;
|
|
7590
7470
|
ask_token_m: string;
|
|
7591
7471
|
}>;
|
|
7592
|
-
|
|
7472
|
+
type DbMarket = z.infer<typeof dbMarketParser>;
|
|
7593
7473
|
declare const getMarketsResponseParser: z.ZodObject<{
|
|
7594
7474
|
sync: z.ZodNumber;
|
|
7595
7475
|
data: z.ZodArray<z.ZodObject<{
|
|
@@ -7720,7 +7600,7 @@ declare const getMarketsResponseParser: z.ZodObject<{
|
|
|
7720
7600
|
}[];
|
|
7721
7601
|
sync: number;
|
|
7722
7602
|
}>;
|
|
7723
|
-
|
|
7603
|
+
type GetMarketsResponse = z.infer<typeof getMarketsResponseParser>;
|
|
7724
7604
|
/**
|
|
7725
7605
|
* Trades
|
|
7726
7606
|
*/
|
|
@@ -7791,7 +7671,7 @@ declare const tradeLogParser: z.ZodObject<{
|
|
|
7791
7671
|
ask_referrer: string;
|
|
7792
7672
|
ask_referrer_fee: string;
|
|
7793
7673
|
}>;
|
|
7794
|
-
|
|
7674
|
+
type TradeLog = z.infer<typeof tradeLogParser>;
|
|
7795
7675
|
declare const tradeParser: z.ZodObject<{
|
|
7796
7676
|
block_num: z.ZodString;
|
|
7797
7677
|
block_time: z.ZodString;
|
|
@@ -7865,7 +7745,7 @@ declare const tradeParser: z.ZodObject<{
|
|
|
7865
7745
|
bid_user_ordinal_order_id: string;
|
|
7866
7746
|
ask_user_ordinal_order_id: string;
|
|
7867
7747
|
}>;
|
|
7868
|
-
|
|
7748
|
+
type Trade = z.infer<typeof tradeParser>;
|
|
7869
7749
|
declare const getTradesParser: z.ZodObject<{
|
|
7870
7750
|
symbol: z.ZodString;
|
|
7871
7751
|
offset: z.ZodDefault<z.ZodNumber>;
|
|
@@ -7876,11 +7756,11 @@ declare const getTradesParser: z.ZodObject<{
|
|
|
7876
7756
|
offset: number;
|
|
7877
7757
|
}, {
|
|
7878
7758
|
symbol: string;
|
|
7879
|
-
offset?: number | undefined;
|
|
7880
7759
|
limit?: number | undefined;
|
|
7760
|
+
offset?: number | undefined;
|
|
7881
7761
|
}>;
|
|
7882
|
-
|
|
7883
|
-
|
|
7762
|
+
type GetTrades = z.input<typeof getTradesParser>;
|
|
7763
|
+
type GetTradesParsed = z.output<typeof getTradesParser>;
|
|
7884
7764
|
declare const getTradesResponseParser: z.ZodObject<{
|
|
7885
7765
|
sync: z.ZodNumber;
|
|
7886
7766
|
data: z.ZodArray<z.ZodObject<{
|
|
@@ -8011,7 +7891,7 @@ declare const getTradesResponseParser: z.ZodObject<{
|
|
|
8011
7891
|
}[];
|
|
8012
7892
|
sync: number;
|
|
8013
7893
|
}>;
|
|
8014
|
-
|
|
7894
|
+
type GetTradesResponse = z.infer<typeof getTradesResponseParser>;
|
|
8015
7895
|
declare const getTradeHistoryParser: z.ZodObject<{
|
|
8016
7896
|
account: z.ZodString;
|
|
8017
7897
|
symbol: z.ZodOptional<z.ZodString>;
|
|
@@ -8027,12 +7907,12 @@ declare const getTradeHistoryParser: z.ZodObject<{
|
|
|
8027
7907
|
}, {
|
|
8028
7908
|
account: string;
|
|
8029
7909
|
symbol?: string | undefined;
|
|
7910
|
+
limit?: number | undefined;
|
|
8030
7911
|
offset?: number | undefined;
|
|
8031
7912
|
ordinal_order_ids?: string | string[] | undefined;
|
|
8032
|
-
limit?: number | undefined;
|
|
8033
7913
|
}>;
|
|
8034
|
-
|
|
8035
|
-
|
|
7914
|
+
type GetTradeHistory = z.input<typeof getTradeHistoryParser>;
|
|
7915
|
+
type GetTradeHistoryParsed = z.output<typeof getTradeHistoryParser>;
|
|
8036
7916
|
declare const getTradeHistoryResponseParser: z.ZodObject<{
|
|
8037
7917
|
sync: z.ZodNumber;
|
|
8038
7918
|
count: z.ZodNumber;
|
|
@@ -8166,7 +8046,7 @@ declare const getTradeHistoryResponseParser: z.ZodObject<{
|
|
|
8166
8046
|
count: number;
|
|
8167
8047
|
sync: number;
|
|
8168
8048
|
}>;
|
|
8169
|
-
|
|
8049
|
+
type GetTradeHistoryResponse = z.infer<typeof getTradeHistoryResponseParser>;
|
|
8170
8050
|
/**
|
|
8171
8051
|
* SYNC
|
|
8172
8052
|
*/
|
|
@@ -8192,7 +8072,7 @@ declare const syncParser: z.ZodObject<{
|
|
|
8192
8072
|
is_master: number;
|
|
8193
8073
|
last_updated: string;
|
|
8194
8074
|
}>;
|
|
8195
|
-
|
|
8075
|
+
type Sync = z.infer<typeof syncParser>;
|
|
8196
8076
|
declare const getSyncResponseParser: z.ZodObject<{
|
|
8197
8077
|
dbSecondsBehind: z.ZodNumber;
|
|
8198
8078
|
chronicleSecondsBehind: z.ZodNumber;
|
|
@@ -8206,7 +8086,7 @@ declare const getSyncResponseParser: z.ZodObject<{
|
|
|
8206
8086
|
chronicleSecondsBehind: number;
|
|
8207
8087
|
maxSecondsBehind: number;
|
|
8208
8088
|
}>;
|
|
8209
|
-
|
|
8089
|
+
type GetSyncResponse = z.infer<typeof getSyncResponseParser>;
|
|
8210
8090
|
/**
|
|
8211
8091
|
* Referral Totals
|
|
8212
8092
|
*/
|
|
@@ -8232,7 +8112,7 @@ declare const refferalTotalParser: z.ZodObject<{
|
|
|
8232
8112
|
ask_fee: number;
|
|
8233
8113
|
referrer: string;
|
|
8234
8114
|
}>;
|
|
8235
|
-
|
|
8115
|
+
type ReferralTotal = z.infer<typeof refferalTotalParser>;
|
|
8236
8116
|
declare const getReferralTotalsParser: z.ZodObject<{
|
|
8237
8117
|
referrer: z.ZodString;
|
|
8238
8118
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -8240,8 +8120,8 @@ declare const getReferralTotalsParser: z.ZodObject<{
|
|
|
8240
8120
|
}, {
|
|
8241
8121
|
referrer: string;
|
|
8242
8122
|
}>;
|
|
8243
|
-
|
|
8244
|
-
|
|
8123
|
+
type GetReferralTotals = z.input<typeof getReferralTotalsParser>;
|
|
8124
|
+
type GetReferralTotalsParsed = z.output<typeof getReferralTotalsParser>;
|
|
8245
8125
|
declare const getReferralTotalsResponseParser: z.ZodObject<{
|
|
8246
8126
|
sync: z.ZodNumber;
|
|
8247
8127
|
data: z.ZodArray<z.ZodObject<{
|
|
@@ -8287,7 +8167,7 @@ declare const getReferralTotalsResponseParser: z.ZodObject<{
|
|
|
8287
8167
|
}[];
|
|
8288
8168
|
sync: number;
|
|
8289
8169
|
}>;
|
|
8290
|
-
|
|
8170
|
+
type GetReferralTotalsResponse = z.infer<typeof getReferralTotalsResponseParser>;
|
|
8291
8171
|
/**
|
|
8292
8172
|
* Referrals
|
|
8293
8173
|
*/
|
|
@@ -8298,7 +8178,7 @@ declare const refferalParser: z.ZodObject<{
|
|
|
8298
8178
|
}, {
|
|
8299
8179
|
referred_user: string;
|
|
8300
8180
|
}>;
|
|
8301
|
-
|
|
8181
|
+
type Referral = z.infer<typeof refferalParser>;
|
|
8302
8182
|
declare const getReferralsParser: z.ZodObject<{
|
|
8303
8183
|
referrer: z.ZodString;
|
|
8304
8184
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -8306,8 +8186,8 @@ declare const getReferralsParser: z.ZodObject<{
|
|
|
8306
8186
|
}, {
|
|
8307
8187
|
referrer: string;
|
|
8308
8188
|
}>;
|
|
8309
|
-
|
|
8310
|
-
|
|
8189
|
+
type GetReferrals = z.input<typeof getReferralsParser>;
|
|
8190
|
+
type GetReferralsParsed = z.output<typeof getReferralsParser>;
|
|
8311
8191
|
declare const getReferralsResponseParser: z.ZodObject<{
|
|
8312
8192
|
sync: z.ZodNumber;
|
|
8313
8193
|
data: z.ZodArray<z.ZodObject<{
|
|
@@ -8328,7 +8208,7 @@ declare const getReferralsResponseParser: z.ZodObject<{
|
|
|
8328
8208
|
}[];
|
|
8329
8209
|
sync: number;
|
|
8330
8210
|
}>;
|
|
8331
|
-
|
|
8211
|
+
type GetReferralsResponse = z.infer<typeof getReferralsResponseParser>;
|
|
8332
8212
|
/**
|
|
8333
8213
|
* Leaderboard
|
|
8334
8214
|
*/
|
|
@@ -8342,7 +8222,7 @@ declare const leaderboardParser: z.ZodObject<{
|
|
|
8342
8222
|
user: string;
|
|
8343
8223
|
total: number;
|
|
8344
8224
|
}>;
|
|
8345
|
-
|
|
8225
|
+
type Leaderboard = z.infer<typeof leaderboardParser>;
|
|
8346
8226
|
declare const getLeaderboardParser: z.ZodObject<{
|
|
8347
8227
|
market_ids: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodArray<z.ZodNumber, "many">, z.ZodNumber]>, number[], number | number[]>, number[], number | number[]>;
|
|
8348
8228
|
from: z.ZodString;
|
|
@@ -8356,11 +8236,11 @@ declare const getLeaderboardParser: z.ZodObject<{
|
|
|
8356
8236
|
}, {
|
|
8357
8237
|
from: string;
|
|
8358
8238
|
to: string;
|
|
8359
|
-
market_ids:
|
|
8239
|
+
market_ids: number | number[];
|
|
8360
8240
|
exclude_zero_fee?: boolean | "true" | "false" | undefined;
|
|
8361
8241
|
}>;
|
|
8362
|
-
|
|
8363
|
-
|
|
8242
|
+
type GetLeaderboard = z.input<typeof getLeaderboardParser>;
|
|
8243
|
+
type GetLeaderboardParsed = z.output<typeof getLeaderboardParser>;
|
|
8364
8244
|
declare const getLeaderboardResponseParser: z.ZodObject<{
|
|
8365
8245
|
sync: z.ZodNumber;
|
|
8366
8246
|
data: z.ZodArray<z.ZodObject<{
|
|
@@ -8386,7 +8266,7 @@ declare const getLeaderboardResponseParser: z.ZodObject<{
|
|
|
8386
8266
|
}[];
|
|
8387
8267
|
sync: number;
|
|
8388
8268
|
}>;
|
|
8389
|
-
|
|
8269
|
+
type GetLeaderboardResponse = z.infer<typeof getLeaderboardResponseParser>;
|
|
8390
8270
|
/**
|
|
8391
8271
|
* History Transaction
|
|
8392
8272
|
*/
|
|
@@ -8431,7 +8311,7 @@ declare const historyPartialParser: z.ZodObject<{
|
|
|
8431
8311
|
signatures: string[];
|
|
8432
8312
|
context_free_data: unknown[];
|
|
8433
8313
|
}>;
|
|
8434
|
-
|
|
8314
|
+
type HistoryPartial = z.infer<typeof historyPartialParser>;
|
|
8435
8315
|
declare const actParser: z.ZodObject<{
|
|
8436
8316
|
account: z.ZodString;
|
|
8437
8317
|
name: z.ZodString;
|
|
@@ -8463,7 +8343,7 @@ declare const actParser: z.ZodObject<{
|
|
|
8463
8343
|
}[];
|
|
8464
8344
|
data?: any;
|
|
8465
8345
|
}>;
|
|
8466
|
-
|
|
8346
|
+
type HistoryAct = z.infer<typeof actParser>;
|
|
8467
8347
|
declare const receiptParser: z.ZodObject<{
|
|
8468
8348
|
receiver: z.ZodString;
|
|
8469
8349
|
act_digest: z.ZodString;
|
|
@@ -8504,7 +8384,7 @@ declare const receiptParser: z.ZodObject<{
|
|
|
8504
8384
|
code_sequence: string;
|
|
8505
8385
|
abi_sequence: string;
|
|
8506
8386
|
}>;
|
|
8507
|
-
|
|
8387
|
+
type HistoryReceipt = z.infer<typeof receiptParser>;
|
|
8508
8388
|
declare const actionTraceParser: z.ZodObject<{
|
|
8509
8389
|
action_ordinal: z.ZodString;
|
|
8510
8390
|
creator_action_ordinal: z.ZodString;
|
|
@@ -8667,7 +8547,7 @@ declare const actionTraceParser: z.ZodObject<{
|
|
|
8667
8547
|
error_code: string | null;
|
|
8668
8548
|
return_value: string;
|
|
8669
8549
|
}>;
|
|
8670
|
-
|
|
8550
|
+
type HistoryActionTrace = z.infer<typeof actionTraceParser>;
|
|
8671
8551
|
declare const traceParser: z.ZodObject<{
|
|
8672
8552
|
id: z.ZodString;
|
|
8673
8553
|
status: z.ZodString;
|
|
@@ -9021,7 +8901,7 @@ declare const traceParser: z.ZodObject<{
|
|
|
9021
8901
|
context_free_data: unknown[];
|
|
9022
8902
|
};
|
|
9023
8903
|
}>;
|
|
9024
|
-
|
|
8904
|
+
type HistoryTrace = z.infer<typeof traceParser>;
|
|
9025
8905
|
declare const historyTransactionParser: z.ZodObject<{
|
|
9026
8906
|
seq: z.ZodString;
|
|
9027
8907
|
block_num: z.ZodString;
|
|
@@ -9672,7 +9552,7 @@ declare const historyTransactionParser: z.ZodObject<{
|
|
|
9672
9552
|
block_timestamp: string;
|
|
9673
9553
|
};
|
|
9674
9554
|
}>;
|
|
9675
|
-
|
|
9555
|
+
type HistoryTransaction = z.infer<typeof historyTransactionParser>;
|
|
9676
9556
|
declare const getHistoryTransactionResponseParser: z.ZodObject<{
|
|
9677
9557
|
data: z.ZodNullable<z.ZodObject<{
|
|
9678
9558
|
seq: z.ZodString;
|
|
@@ -10479,7 +10359,7 @@ declare const getHistoryTransactionResponseParser: z.ZodObject<{
|
|
|
10479
10359
|
};
|
|
10480
10360
|
} | null;
|
|
10481
10361
|
}>;
|
|
10482
|
-
|
|
10362
|
+
type GetHistoryTransactionResponse = z.input<typeof getHistoryTransactionResponseParser>;
|
|
10483
10363
|
declare const chronicleTransactionParser: z.ZodObject<{
|
|
10484
10364
|
block_num: z.ZodString;
|
|
10485
10365
|
block_timestamp: z.ZodString;
|
|
@@ -10973,7 +10853,7 @@ declare const chronicleTransactionParser: z.ZodObject<{
|
|
|
10973
10853
|
};
|
|
10974
10854
|
block_timestamp: string;
|
|
10975
10855
|
}>;
|
|
10976
|
-
|
|
10856
|
+
type ChronicleTransaction = z.infer<typeof chronicleTransactionParser>;
|
|
10977
10857
|
declare const dbHistoryTransactionParser: z.ZodObject<{
|
|
10978
10858
|
seq: z.ZodString;
|
|
10979
10859
|
block_num: z.ZodString;
|
|
@@ -10993,7 +10873,7 @@ declare const dbHistoryTransactionParser: z.ZodObject<{
|
|
|
10993
10873
|
trx_id: string;
|
|
10994
10874
|
trace?: any;
|
|
10995
10875
|
}>;
|
|
10996
|
-
|
|
10876
|
+
type DbHistoryTransaction = z.infer<typeof dbHistoryTransactionParser>;
|
|
10997
10877
|
/**
|
|
10998
10878
|
* History Actions
|
|
10999
10879
|
*/
|
|
@@ -11017,16 +10897,16 @@ declare const getHistoryActionsParser: z.ZodObject<{
|
|
|
11017
10897
|
direction?: "asc" | "desc" | undefined;
|
|
11018
10898
|
}, {
|
|
11019
10899
|
account: string;
|
|
10900
|
+
limit?: number | undefined;
|
|
11020
10901
|
contract_filters?: string | string[] | undefined;
|
|
11021
10902
|
account_seq_from?: string | undefined;
|
|
11022
10903
|
account_seq_to?: string | undefined;
|
|
11023
10904
|
date_from?: string | undefined;
|
|
11024
10905
|
date_to?: string | undefined;
|
|
11025
10906
|
direction?: "asc" | "desc" | undefined;
|
|
11026
|
-
limit?: number | undefined;
|
|
11027
10907
|
}>;
|
|
11028
|
-
|
|
11029
|
-
|
|
10908
|
+
type GetHistoryActions = z.input<typeof getHistoryActionsParser>;
|
|
10909
|
+
type GetHistoryActionsParsed = z.output<typeof getHistoryActionsParser>;
|
|
11030
10910
|
declare const historyActionParser: z.ZodObject<{
|
|
11031
10911
|
block_num: z.ZodNumber;
|
|
11032
10912
|
block_time: z.ZodString;
|
|
@@ -11283,7 +11163,7 @@ declare const historyActionParser: z.ZodObject<{
|
|
|
11283
11163
|
return_value: string;
|
|
11284
11164
|
};
|
|
11285
11165
|
}>;
|
|
11286
|
-
|
|
11166
|
+
type HistoryAction = z.infer<typeof historyActionParser>;
|
|
11287
11167
|
declare const getHistoryActionsResponseParser: z.ZodObject<{
|
|
11288
11168
|
sync: z.ZodNumber;
|
|
11289
11169
|
last_irreversible_block_num: z.ZodNumber;
|
|
@@ -11638,7 +11518,7 @@ declare const getHistoryActionsResponseParser: z.ZodObject<{
|
|
|
11638
11518
|
sync: number;
|
|
11639
11519
|
last_irreversible_block_num: number;
|
|
11640
11520
|
}>;
|
|
11641
|
-
|
|
11521
|
+
type GetHistoryActionsResponse = z.infer<typeof getHistoryActionsResponseParser>;
|
|
11642
11522
|
/**
|
|
11643
11523
|
* History transfers
|
|
11644
11524
|
*/
|
|
@@ -11658,35 +11538,35 @@ declare const getHistoryTransfersParser: z.ZodObject<{
|
|
|
11658
11538
|
limit: z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, number | undefined>;
|
|
11659
11539
|
}, "strip", z.ZodTypeAny, {
|
|
11660
11540
|
limit: number;
|
|
11541
|
+
symbol?: string | undefined;
|
|
11542
|
+
contract?: string | undefined;
|
|
11543
|
+
date_from?: string | undefined;
|
|
11544
|
+
date_to?: string | undefined;
|
|
11545
|
+
direction?: "asc" | "desc" | undefined;
|
|
11661
11546
|
transfer_from?: string | undefined;
|
|
11662
11547
|
transfer_to?: string | undefined;
|
|
11663
|
-
contract?: string | undefined;
|
|
11664
|
-
symbol?: string | undefined;
|
|
11665
11548
|
amount_precision?: string | undefined;
|
|
11666
11549
|
amount_min?: string | undefined;
|
|
11667
11550
|
amount_max?: string | undefined;
|
|
11668
|
-
date_from?: string | undefined;
|
|
11669
|
-
date_to?: string | undefined;
|
|
11670
11551
|
global_seq_from?: string | undefined;
|
|
11671
11552
|
global_seq_to?: string | undefined;
|
|
11672
|
-
direction?: "asc" | "desc" | undefined;
|
|
11673
11553
|
}, {
|
|
11554
|
+
symbol?: string | undefined;
|
|
11555
|
+
contract?: string | undefined;
|
|
11556
|
+
limit?: number | undefined;
|
|
11557
|
+
date_from?: string | undefined;
|
|
11558
|
+
date_to?: string | undefined;
|
|
11559
|
+
direction?: "asc" | "desc" | undefined;
|
|
11674
11560
|
transfer_from?: string | undefined;
|
|
11675
11561
|
transfer_to?: string | undefined;
|
|
11676
|
-
contract?: string | undefined;
|
|
11677
|
-
symbol?: string | undefined;
|
|
11678
11562
|
amount_precision?: string | undefined;
|
|
11679
11563
|
amount_min?: string | undefined;
|
|
11680
11564
|
amount_max?: string | undefined;
|
|
11681
|
-
date_from?: string | undefined;
|
|
11682
|
-
date_to?: string | undefined;
|
|
11683
11565
|
global_seq_from?: string | undefined;
|
|
11684
11566
|
global_seq_to?: string | undefined;
|
|
11685
|
-
direction?: "asc" | "desc" | undefined;
|
|
11686
|
-
limit?: number | undefined;
|
|
11687
11567
|
}>;
|
|
11688
|
-
|
|
11689
|
-
|
|
11568
|
+
type GetHistoryTransfers = z.input<typeof getHistoryTransfersParser>;
|
|
11569
|
+
type GetHistoryTransfersParsed = z.output<typeof getHistoryTransfersParser>;
|
|
11690
11570
|
declare const historyTransferParser: z.ZodObject<{
|
|
11691
11571
|
block_num: z.ZodNumber;
|
|
11692
11572
|
block_time: z.ZodString;
|
|
@@ -11943,7 +11823,7 @@ declare const historyTransferParser: z.ZodObject<{
|
|
|
11943
11823
|
return_value: string;
|
|
11944
11824
|
};
|
|
11945
11825
|
}>;
|
|
11946
|
-
|
|
11826
|
+
type HistoryTransfer = z.infer<typeof historyTransferParser>;
|
|
11947
11827
|
declare const getHistoryTransfersResponseParser: z.ZodObject<{
|
|
11948
11828
|
sync: z.ZodNumber;
|
|
11949
11829
|
last_irreversible_block_num: z.ZodNumber;
|
|
@@ -12298,7 +12178,7 @@ declare const getHistoryTransfersResponseParser: z.ZodObject<{
|
|
|
12298
12178
|
sync: number;
|
|
12299
12179
|
last_irreversible_block_num: number;
|
|
12300
12180
|
}>;
|
|
12301
|
-
|
|
12181
|
+
type GetHistoryTransfersResponse = z.infer<typeof getHistoryTransfersResponseParser>;
|
|
12302
12182
|
/**
|
|
12303
12183
|
* Open orders Balances
|
|
12304
12184
|
*/
|
|
@@ -12321,7 +12201,7 @@ declare const marketOpenOrdersBalanceParser: z.ZodObject<{
|
|
|
12321
12201
|
bid_token_quantity: number;
|
|
12322
12202
|
ask_token_quantity: number;
|
|
12323
12203
|
}>;
|
|
12324
|
-
|
|
12204
|
+
type MarketOpenOrdersBalance = z.infer<typeof marketOpenOrdersBalanceParser>;
|
|
12325
12205
|
declare const getOpenOrdersBalancesResponseParser: z.ZodObject<{
|
|
12326
12206
|
sync: z.ZodNumber;
|
|
12327
12207
|
data: z.ZodArray<z.ZodObject<{
|
|
@@ -12362,7 +12242,7 @@ declare const getOpenOrdersBalancesResponseParser: z.ZodObject<{
|
|
|
12362
12242
|
}[];
|
|
12363
12243
|
sync: number;
|
|
12364
12244
|
}>;
|
|
12365
|
-
|
|
12245
|
+
type GetOpenOrdersBalancesResponse = z.infer<typeof getOpenOrdersBalancesResponseParser>;
|
|
12366
12246
|
/**
|
|
12367
12247
|
* Basic Types
|
|
12368
12248
|
*/
|
|
@@ -12402,9 +12282,10 @@ declare const TOPICS: {
|
|
|
12402
12282
|
};
|
|
12403
12283
|
};
|
|
12404
12284
|
|
|
12405
|
-
declare const loginAccountParamsV3Parser: z.ZodObject<{
|
|
12285
|
+
declare const loginAccountParamsV3Parser: z.ZodObject<z.objectUtil.extendShape<{
|
|
12406
12286
|
email: z.ZodOptional<z.ZodString>;
|
|
12407
12287
|
verificationCode: z.ZodOptional<z.ZodString>;
|
|
12288
|
+
}, {
|
|
12408
12289
|
signer: z.ZodObject<{
|
|
12409
12290
|
actor: z.ZodString;
|
|
12410
12291
|
permission: z.ZodString;
|
|
@@ -12416,7 +12297,7 @@ declare const loginAccountParamsV3Parser: z.ZodObject<{
|
|
|
12416
12297
|
permission: string;
|
|
12417
12298
|
}>;
|
|
12418
12299
|
signatures: z.ZodArray<z.ZodString, "many">;
|
|
12419
|
-
transaction: z.ZodObject<{
|
|
12300
|
+
transaction: z.ZodObject<z.objectUtil.extendShape<{
|
|
12420
12301
|
expiration: z.ZodString;
|
|
12421
12302
|
ref_block_num: z.ZodNumber;
|
|
12422
12303
|
ref_block_prefix: z.ZodNumber;
|
|
@@ -12458,6 +12339,7 @@ declare const loginAccountParamsV3Parser: z.ZodObject<{
|
|
|
12458
12339
|
hex_data?: string | undefined;
|
|
12459
12340
|
}>, "many">;
|
|
12460
12341
|
transaction_extensions: z.ZodArray<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">>, "many">;
|
|
12342
|
+
}, {
|
|
12461
12343
|
actions: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
12462
12344
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
12463
12345
|
name: z.ZodLiteral<string>;
|
|
@@ -12553,7 +12435,7 @@ declare const loginAccountParamsV3Parser: z.ZodObject<{
|
|
|
12553
12435
|
auth_data: string;
|
|
12554
12436
|
client_json: string;
|
|
12555
12437
|
}>;
|
|
12556
|
-
trx: z.ZodObject<{
|
|
12438
|
+
trx: z.ZodObject<z.objectUtil.extendShape<{
|
|
12557
12439
|
expiration: z.ZodString;
|
|
12558
12440
|
ref_block_num: z.ZodNumber;
|
|
12559
12441
|
ref_block_prefix: z.ZodNumber;
|
|
@@ -12595,6 +12477,7 @@ declare const loginAccountParamsV3Parser: z.ZodObject<{
|
|
|
12595
12477
|
hex_data?: string | undefined;
|
|
12596
12478
|
}>, "many">;
|
|
12597
12479
|
transaction_extensions: z.ZodArray<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">>, "many">;
|
|
12480
|
+
}, {
|
|
12598
12481
|
actions: z.ZodArray<z.ZodObject<{
|
|
12599
12482
|
account: z.ZodString | z.ZodLiteral<string>;
|
|
12600
12483
|
name: z.ZodLiteral<string>;
|
|
@@ -12620,11 +12503,9 @@ declare const loginAccountParamsV3Parser: z.ZodObject<{
|
|
|
12620
12503
|
actor: string;
|
|
12621
12504
|
permission: string;
|
|
12622
12505
|
}[];
|
|
12623
|
-
data:
|
|
12506
|
+
data: string | {
|
|
12624
12507
|
[x: string]: any;
|
|
12625
|
-
}
|
|
12626
|
-
[x: string]: any;
|
|
12627
|
-
} | undefined);
|
|
12508
|
+
};
|
|
12628
12509
|
}, {
|
|
12629
12510
|
account: string;
|
|
12630
12511
|
name: string;
|
|
@@ -12632,13 +12513,11 @@ declare const loginAccountParamsV3Parser: z.ZodObject<{
|
|
|
12632
12513
|
actor: string;
|
|
12633
12514
|
permission: string;
|
|
12634
12515
|
}[];
|
|
12635
|
-
data:
|
|
12636
|
-
[x: string]: any;
|
|
12637
|
-
}) & (string | {
|
|
12516
|
+
data: string | {
|
|
12638
12517
|
[x: string]: any;
|
|
12639
|
-
}
|
|
12518
|
+
};
|
|
12640
12519
|
}>, "many">;
|
|
12641
|
-
}
|
|
12520
|
+
}>, "strip", z.ZodTypeAny, {
|
|
12642
12521
|
expiration: string;
|
|
12643
12522
|
ref_block_num: number;
|
|
12644
12523
|
ref_block_prefix: number;
|
|
@@ -12663,11 +12542,9 @@ declare const loginAccountParamsV3Parser: z.ZodObject<{
|
|
|
12663
12542
|
actor: string;
|
|
12664
12543
|
permission: string;
|
|
12665
12544
|
}[];
|
|
12666
|
-
data:
|
|
12545
|
+
data: string | {
|
|
12667
12546
|
[x: string]: any;
|
|
12668
|
-
}
|
|
12669
|
-
[x: string]: any;
|
|
12670
|
-
} | undefined);
|
|
12547
|
+
};
|
|
12671
12548
|
}[];
|
|
12672
12549
|
}, {
|
|
12673
12550
|
expiration: string;
|
|
@@ -12694,11 +12571,9 @@ declare const loginAccountParamsV3Parser: z.ZodObject<{
|
|
|
12694
12571
|
actor: string;
|
|
12695
12572
|
permission: string;
|
|
12696
12573
|
}[];
|
|
12697
|
-
data:
|
|
12698
|
-
[x: string]: any;
|
|
12699
|
-
}) & (string | {
|
|
12574
|
+
data: string | {
|
|
12700
12575
|
[x: string]: any;
|
|
12701
|
-
}
|
|
12576
|
+
};
|
|
12702
12577
|
}[];
|
|
12703
12578
|
}>;
|
|
12704
12579
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -12746,11 +12621,9 @@ declare const loginAccountParamsV3Parser: z.ZodObject<{
|
|
|
12746
12621
|
actor: string;
|
|
12747
12622
|
permission: string;
|
|
12748
12623
|
}[];
|
|
12749
|
-
data:
|
|
12624
|
+
data: string | {
|
|
12750
12625
|
[x: string]: any;
|
|
12751
|
-
}
|
|
12752
|
-
[x: string]: any;
|
|
12753
|
-
} | undefined);
|
|
12626
|
+
};
|
|
12754
12627
|
}[];
|
|
12755
12628
|
};
|
|
12756
12629
|
}, {
|
|
@@ -12798,11 +12671,9 @@ declare const loginAccountParamsV3Parser: z.ZodObject<{
|
|
|
12798
12671
|
actor: string;
|
|
12799
12672
|
permission: string;
|
|
12800
12673
|
}[];
|
|
12801
|
-
data:
|
|
12802
|
-
[x: string]: any;
|
|
12803
|
-
}) & (string | {
|
|
12674
|
+
data: string | {
|
|
12804
12675
|
[x: string]: any;
|
|
12805
|
-
}
|
|
12676
|
+
};
|
|
12806
12677
|
}[];
|
|
12807
12678
|
};
|
|
12808
12679
|
}>;
|
|
@@ -12868,11 +12739,9 @@ declare const loginAccountParamsV3Parser: z.ZodObject<{
|
|
|
12868
12739
|
actor: string;
|
|
12869
12740
|
permission: string;
|
|
12870
12741
|
}[];
|
|
12871
|
-
data:
|
|
12872
|
-
[x: string]: any;
|
|
12873
|
-
}) & (string | {
|
|
12742
|
+
data: string | {
|
|
12874
12743
|
[x: string]: any;
|
|
12875
|
-
}
|
|
12744
|
+
};
|
|
12876
12745
|
}[];
|
|
12877
12746
|
};
|
|
12878
12747
|
};
|
|
@@ -12928,16 +12797,14 @@ declare const loginAccountParamsV3Parser: z.ZodObject<{
|
|
|
12928
12797
|
actor: string;
|
|
12929
12798
|
permission: string;
|
|
12930
12799
|
}[];
|
|
12931
|
-
data:
|
|
12800
|
+
data: string | {
|
|
12932
12801
|
[x: string]: any;
|
|
12933
|
-
}
|
|
12934
|
-
[x: string]: any;
|
|
12935
|
-
} | undefined);
|
|
12802
|
+
};
|
|
12936
12803
|
}[];
|
|
12937
12804
|
};
|
|
12938
12805
|
};
|
|
12939
12806
|
}>]>, "many">;
|
|
12940
|
-
}
|
|
12807
|
+
}>, "strip", z.ZodTypeAny, {
|
|
12941
12808
|
expiration: string;
|
|
12942
12809
|
ref_block_num: number;
|
|
12943
12810
|
ref_block_prefix: number;
|
|
@@ -13017,11 +12884,9 @@ declare const loginAccountParamsV3Parser: z.ZodObject<{
|
|
|
13017
12884
|
actor: string;
|
|
13018
12885
|
permission: string;
|
|
13019
12886
|
}[];
|
|
13020
|
-
data:
|
|
12887
|
+
data: string | {
|
|
13021
12888
|
[x: string]: any;
|
|
13022
|
-
}
|
|
13023
|
-
[x: string]: any;
|
|
13024
|
-
} | undefined);
|
|
12889
|
+
};
|
|
13025
12890
|
}[];
|
|
13026
12891
|
};
|
|
13027
12892
|
};
|
|
@@ -13106,17 +12971,15 @@ declare const loginAccountParamsV3Parser: z.ZodObject<{
|
|
|
13106
12971
|
actor: string;
|
|
13107
12972
|
permission: string;
|
|
13108
12973
|
}[];
|
|
13109
|
-
data:
|
|
13110
|
-
[x: string]: any;
|
|
13111
|
-
}) & (string | {
|
|
12974
|
+
data: string | {
|
|
13112
12975
|
[x: string]: any;
|
|
13113
|
-
}
|
|
12976
|
+
};
|
|
13114
12977
|
}[];
|
|
13115
12978
|
};
|
|
13116
12979
|
};
|
|
13117
12980
|
})[];
|
|
13118
12981
|
}>;
|
|
13119
|
-
}
|
|
12982
|
+
}>, "strip", z.ZodTypeAny, {
|
|
13120
12983
|
signer: {
|
|
13121
12984
|
actor: string;
|
|
13122
12985
|
permission: string;
|
|
@@ -13202,11 +13065,9 @@ declare const loginAccountParamsV3Parser: z.ZodObject<{
|
|
|
13202
13065
|
actor: string;
|
|
13203
13066
|
permission: string;
|
|
13204
13067
|
}[];
|
|
13205
|
-
data:
|
|
13068
|
+
data: string | {
|
|
13206
13069
|
[x: string]: any;
|
|
13207
|
-
}
|
|
13208
|
-
[x: string]: any;
|
|
13209
|
-
} | undefined);
|
|
13070
|
+
};
|
|
13210
13071
|
}[];
|
|
13211
13072
|
};
|
|
13212
13073
|
};
|
|
@@ -13300,11 +13161,9 @@ declare const loginAccountParamsV3Parser: z.ZodObject<{
|
|
|
13300
13161
|
actor: string;
|
|
13301
13162
|
permission: string;
|
|
13302
13163
|
}[];
|
|
13303
|
-
data:
|
|
13304
|
-
[x: string]: any;
|
|
13305
|
-
}) & (string | {
|
|
13164
|
+
data: string | {
|
|
13306
13165
|
[x: string]: any;
|
|
13307
|
-
}
|
|
13166
|
+
};
|
|
13308
13167
|
}[];
|
|
13309
13168
|
};
|
|
13310
13169
|
};
|
|
@@ -13313,7 +13172,7 @@ declare const loginAccountParamsV3Parser: z.ZodObject<{
|
|
|
13313
13172
|
email?: string | undefined;
|
|
13314
13173
|
verificationCode?: string | undefined;
|
|
13315
13174
|
}>;
|
|
13316
|
-
|
|
13175
|
+
type LoginAccountParamsV3 = z.infer<typeof loginAccountParamsV3Parser>;
|
|
13317
13176
|
|
|
13318
13177
|
declare const WRAP_CONTRACT = "proton.wrap";
|
|
13319
13178
|
declare const WRAP_AUTH_ACTION = "generateauth";
|