@keetanetwork/anchor 0.0.7 → 0.0.9

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.
@@ -0,0 +1,2776 @@
1
+ import * as __typia_transform__assertGuard from "typia/lib/internal/_assertGuard.js";
2
+ import * as __typia_transform__accessExpressionAsString from "typia/lib/internal/_accessExpressionAsString.js";
3
+ import { lib as KeetaNetLib } from '@keetanetwork/keetanet-client';
4
+ import * as CurrencyInfo from '@keetanetwork/currency-info';
5
+ import { createAssert, createAssertEquals, createIs } from 'typia';
6
+ ;
7
+ ;
8
+ // Example Asset Paths
9
+ // paths: [
10
+ // {
11
+ // pair: [
12
+ // { location: 'chain:keeta:123', id: 'keeta_KT1EXmXoG7fV8b2c5rYkUu4j3t6b3v6v5X8m', rails: { common: [ 'KEETA_SEND' ] } },
13
+ // { location: 'chain:evm:100', id: '0xc0634090F2Fe6c6d75e61Be2b949464aBB498973', rails: { common: [ 'EVM_SEND' ], inbound: [ 'EVM_CALL' ] } }
14
+ // ]
15
+ // },
16
+ // {
17
+ // pair: [
18
+ // { location: 'chain:keeta:123', id: 'keeta_USDCPUB', rails: ['KEETA_SEND'] },
19
+ // { location: 'bank-account:US', id: 'USD', rails: { common: ['ACH_SEND'], inbound: ['ACH_DEBIT'] } }
20
+ // ]
21
+ // },
22
+ // {
23
+ // pair: [
24
+ // { location: 'bank-account:EU', id: 'EUR', rails: { inbound: [ 'WIRE_SEND' }] },
25
+ // { location: 'chain:keeta:123', id: 'keeta_EURCPUB', rails: { outbound: [ 'KEETA_SEND' ]} }
26
+ // ]
27
+ // }
28
+ // ];
29
+ export function convertAssetLocationToString(input) {
30
+ if (typeof input === 'string') {
31
+ return (input);
32
+ }
33
+ if (input.type === 'chain') {
34
+ if (input.chain.type === 'keeta') {
35
+ return (`chain:keeta:${input.chain.networkId}`);
36
+ }
37
+ else if (input.chain.type === 'evm') {
38
+ return (`chain:evm:${input.chain.chainId}`);
39
+ }
40
+ }
41
+ else if (input.type === 'bank-account') {
42
+ throw (new Error('Cannot convert bank-account AssetLocation to string'));
43
+ }
44
+ throw (new Error(`Invalid AssetLocation type: ${JSON.stringify(input)}`));
45
+ }
46
+ export function toAssetLocationFromString(input) {
47
+ const parts = input.split(':');
48
+ if (parts.length === 3 && parts[0] === 'chain') {
49
+ const chainType = parts[1];
50
+ if (!parts[2] || typeof parts[2] !== 'string') {
51
+ throw (new Error('Invalid chain id in AssetLocation string'));
52
+ }
53
+ const chainId = BigInt(parts[2]);
54
+ return ({
55
+ type: 'chain',
56
+ chain: (() => {
57
+ if (chainType === 'keeta') {
58
+ return ({
59
+ type: 'keeta',
60
+ networkId: chainId
61
+ });
62
+ }
63
+ else if (chainType === 'evm') {
64
+ return ({
65
+ type: 'evm',
66
+ chainId: chainId
67
+ });
68
+ }
69
+ else {
70
+ throw (new Error(`Invalid chain type in AssetLocation string: ${chainType}`));
71
+ }
72
+ })()
73
+ });
74
+ }
75
+ throw (new Error('unsupported AssetLocation string format'));
76
+ }
77
+ export function convertAssetLocationInputToCanonical(input) {
78
+ if (typeof input === 'string') {
79
+ return (input);
80
+ }
81
+ else if (typeof input === 'object' && input !== null) {
82
+ return (convertAssetLocationToString(input));
83
+ }
84
+ throw (new Error(`Invalid AssetLocationInput type: ${typeof input}`));
85
+ }
86
+ export function toAssetLocation(input) {
87
+ if (typeof input === 'string') {
88
+ return (toAssetLocationFromString(input));
89
+ }
90
+ else {
91
+ return (input);
92
+ }
93
+ }
94
+ export function convertAssetSearchInputToCanonical(input) {
95
+ if (input instanceof CurrencyInfo.Currency || CurrencyInfo.Currency.isCurrencyCode(input) || CurrencyInfo.Currency.isISOCurrencyNumber(input)) {
96
+ if (CurrencyInfo.Currency.isCurrencyCode(input)) {
97
+ return (input);
98
+ }
99
+ else if (CurrencyInfo.Currency.isISOCurrencyNumber(input)) {
100
+ input = new CurrencyInfo.Currency(input);
101
+ }
102
+ return (input.code);
103
+ }
104
+ else {
105
+ if (typeof input === 'string') {
106
+ return (input);
107
+ }
108
+ input.assertKeyType(KeetaNetLib.Account.AccountKeyAlgorithm.TOKEN);
109
+ return (input.publicKeyString.get());
110
+ }
111
+ }
112
+ export const assertKeetaSupportedAssets = (() => { const _io0 = input => "string" === typeof input.asset && (RegExp(/^keeta_am(.*)/).test(input.asset) || RegExp(/^keeta_an(.*)/).test(input.asset) || RegExp(/^keeta_ao(.*)/).test(input.asset) || RegExp(/^keeta_ap(.*)/).test(input.asset) || RegExp(/^tyblocks_am(.*)/).test(input.asset) || RegExp(/^tyblocks_an(.*)/).test(input.asset) || RegExp(/^tyblocks_ao(.*)/).test(input.asset) || RegExp(/^tyblocks_ap(.*)/).test(input.asset)) && (Array.isArray(input.paths) && input.paths.every(elem => "object" === typeof elem && null !== elem && _io1(elem))); const _io1 = input => Array.isArray(input.pair) && (input.pair.length === 2 && ("object" === typeof input.pair[0] && null !== input.pair[0] && _io2(input.pair[0])) && ("object" === typeof input.pair[1] && null !== input.pair[1] && _io2(input.pair[1]))) && (undefined === input.kycProviders || Array.isArray(input.kycProviders) && input.kycProviders.every(elem => "string" === typeof elem)); const _io2 = input => "object" === typeof input.rails && null !== input.rails && false === Array.isArray(input.rails) && _iu0(input.rails) && (undefined === input.location || "string" === typeof input.location && (RegExp(/^chain:keeta:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location) || RegExp(/^chain:evm:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location))) && "string" === typeof input.id; const _io3 = input => Array.isArray(input.inbound) && input.inbound.every(elem => "ACH_SEND" === elem || "ACH_DEBIT" === elem || "KEETA_SEND" === elem || "EVM_SEND" === elem || "EVM_CALL" === elem) && (undefined === input.outbound || Array.isArray(input.outbound) && input.outbound.every(elem => "ACH_SEND" === elem || "ACH_DEBIT" === elem || "KEETA_SEND" === elem || "EVM_SEND" === elem || "EVM_CALL" === elem)) && (undefined === input.common || Array.isArray(input.common) && input.common.every(elem => "ACH_SEND" === elem || "ACH_DEBIT" === elem || "KEETA_SEND" === elem || "EVM_SEND" === elem || "EVM_CALL" === elem)); const _io4 = input => (undefined === input.inbound || Array.isArray(input.inbound) && input.inbound.every(elem => "ACH_SEND" === elem || "ACH_DEBIT" === elem || "KEETA_SEND" === elem || "EVM_SEND" === elem || "EVM_CALL" === elem)) && (Array.isArray(input.outbound) && input.outbound.every(elem => "ACH_SEND" === elem || "ACH_DEBIT" === elem || "KEETA_SEND" === elem || "EVM_SEND" === elem || "EVM_CALL" === elem)) && (undefined === input.common || Array.isArray(input.common) && input.common.every(elem => "ACH_SEND" === elem || "ACH_DEBIT" === elem || "KEETA_SEND" === elem || "EVM_SEND" === elem || "EVM_CALL" === elem)); const _io5 = input => null !== input.inbound && undefined === input.inbound && (null !== input.outbound && undefined === input.outbound) && (undefined === input.common || Array.isArray(input.common) && input.common.every(elem => "ACH_SEND" === elem || "ACH_DEBIT" === elem || "KEETA_SEND" === elem || "EVM_SEND" === elem || "EVM_CALL" === elem)); const _iu0 = input => (() => {
113
+ if (_io5(input))
114
+ return _io5(input);
115
+ if (_io4(input))
116
+ return _io4(input);
117
+ if (_io3(input))
118
+ return _io3(input);
119
+ return false;
120
+ })(); const _ao0 = (input, _path, _exceptionable = true) => ("string" === typeof input.asset && (RegExp(/^keeta_am(.*)/).test(input.asset) || RegExp(/^keeta_an(.*)/).test(input.asset) || RegExp(/^keeta_ao(.*)/).test(input.asset) || RegExp(/^keeta_ap(.*)/).test(input.asset) || RegExp(/^tyblocks_am(.*)/).test(input.asset) || RegExp(/^tyblocks_an(.*)/).test(input.asset) || RegExp(/^tyblocks_ao(.*)/).test(input.asset) || RegExp(/^tyblocks_ap(.*)/).test(input.asset)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
121
+ method: "createAssert",
122
+ path: _path + ".asset",
123
+ expected: "(`keeta_am${string}` | `keeta_an${string}` | `keeta_ao${string}` | `keeta_ap${string}` | `tyblocks_am${string}` | `tyblocks_an${string}` | `tyblocks_ao${string}` | `tyblocks_ap${string}`)",
124
+ value: input.asset
125
+ }, _errorFactory)) && ((Array.isArray(input.paths) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
126
+ method: "createAssert",
127
+ path: _path + ".paths",
128
+ expected: "Array<AssetPath>",
129
+ value: input.paths
130
+ }, _errorFactory)) && input.paths.every((elem, _index12) => ("object" === typeof elem && null !== elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
131
+ method: "createAssert",
132
+ path: _path + ".paths[" + _index12 + "]",
133
+ expected: "AssetPath",
134
+ value: elem
135
+ }, _errorFactory)) && _ao1(elem, _path + ".paths[" + _index12 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
136
+ method: "createAssert",
137
+ path: _path + ".paths[" + _index12 + "]",
138
+ expected: "AssetPath",
139
+ value: elem
140
+ }, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
141
+ method: "createAssert",
142
+ path: _path + ".paths",
143
+ expected: "Array<AssetPath>",
144
+ value: input.paths
145
+ }, _errorFactory)); const _ao1 = (input, _path, _exceptionable = true) => ((Array.isArray(input.pair) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
146
+ method: "createAssert",
147
+ path: _path + ".pair",
148
+ expected: "[AssetWithRails, AssetWithRails]",
149
+ value: input.pair
150
+ }, _errorFactory)) && ((input.pair.length === 2 || __typia_transform__assertGuard._assertGuard(_exceptionable, {
151
+ method: "createAssert",
152
+ path: _path + ".pair",
153
+ expected: "[AssetWithRails, AssetWithRails]",
154
+ value: input.pair
155
+ }, _errorFactory)) && (("object" === typeof input.pair[0] && null !== input.pair[0] || __typia_transform__assertGuard._assertGuard(_exceptionable, {
156
+ method: "createAssert",
157
+ path: _path + ".pair[0]",
158
+ expected: "AssetWithRails",
159
+ value: input.pair[0]
160
+ }, _errorFactory)) && _ao2(input.pair[0], _path + ".pair[0]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
161
+ method: "createAssert",
162
+ path: _path + ".pair[0]",
163
+ expected: "AssetWithRails",
164
+ value: input.pair[0]
165
+ }, _errorFactory)) && (("object" === typeof input.pair[1] && null !== input.pair[1] || __typia_transform__assertGuard._assertGuard(_exceptionable, {
166
+ method: "createAssert",
167
+ path: _path + ".pair[1]",
168
+ expected: "AssetWithRails",
169
+ value: input.pair[1]
170
+ }, _errorFactory)) && _ao2(input.pair[1], _path + ".pair[1]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
171
+ method: "createAssert",
172
+ path: _path + ".pair[1]",
173
+ expected: "AssetWithRails",
174
+ value: input.pair[1]
175
+ }, _errorFactory))) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
176
+ method: "createAssert",
177
+ path: _path + ".pair",
178
+ expected: "[AssetWithRails, AssetWithRails]",
179
+ value: input.pair
180
+ }, _errorFactory)) && (undefined === input.kycProviders || (Array.isArray(input.kycProviders) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
181
+ method: "createAssert",
182
+ path: _path + ".kycProviders",
183
+ expected: "(Array<string> | undefined)",
184
+ value: input.kycProviders
185
+ }, _errorFactory)) && input.kycProviders.every((elem, _index13) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
186
+ method: "createAssert",
187
+ path: _path + ".kycProviders[" + _index13 + "]",
188
+ expected: "string",
189
+ value: elem
190
+ }, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
191
+ method: "createAssert",
192
+ path: _path + ".kycProviders",
193
+ expected: "(Array<string> | undefined)",
194
+ value: input.kycProviders
195
+ }, _errorFactory)); const _ao2 = (input, _path, _exceptionable = true) => (("object" === typeof input.rails && null !== input.rails && false === Array.isArray(input.rails) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
196
+ method: "createAssert",
197
+ path: _path + ".rails",
198
+ expected: "({ inbound: Rail[]; outbound?: Rail[]; } & { common?: Rail[]; } | { inbound?: Rail[]; outbound: Rail[]; } & { common?: Rail[]; } | { inbound?: never; outbound?: never; } & { common?: Rail[]; })",
199
+ value: input.rails
200
+ }, _errorFactory)) && _au0(input.rails, _path + ".rails", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
201
+ method: "createAssert",
202
+ path: _path + ".rails",
203
+ expected: "({ inbound: Rail[]; outbound?: Rail[]; } & { common?: Rail[]; } | { inbound?: Rail[]; outbound: Rail[]; } & { common?: Rail[]; } | { inbound?: never; outbound?: never; } & { common?: Rail[]; })",
204
+ value: input.rails
205
+ }, _errorFactory)) && (undefined === input.location || "string" === typeof input.location && (RegExp(/^chain:keeta:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location) || RegExp(/^chain:evm:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
206
+ method: "createAssert",
207
+ path: _path + ".location",
208
+ expected: "(`chain:evm:${bigint}` | `chain:keeta:${bigint}` | undefined)",
209
+ value: input.location
210
+ }, _errorFactory)) && ("string" === typeof input.id || __typia_transform__assertGuard._assertGuard(_exceptionable, {
211
+ method: "createAssert",
212
+ path: _path + ".id",
213
+ expected: "string",
214
+ value: input.id
215
+ }, _errorFactory)); const _ao3 = (input, _path, _exceptionable = true) => ((Array.isArray(input.inbound) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
216
+ method: "createAssert",
217
+ path: _path + ".inbound",
218
+ expected: "Array<Rail>",
219
+ value: input.inbound
220
+ }, _errorFactory)) && input.inbound.every((elem, _index14) => "ACH_SEND" === elem || "ACH_DEBIT" === elem || "KEETA_SEND" === elem || "EVM_SEND" === elem || "EVM_CALL" === elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
221
+ method: "createAssert",
222
+ path: _path + ".inbound[" + _index14 + "]",
223
+ expected: "(\"ACH_DEBIT\" | \"ACH_SEND\" | \"EVM_CALL\" | \"EVM_SEND\" | \"KEETA_SEND\")",
224
+ value: elem
225
+ }, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
226
+ method: "createAssert",
227
+ path: _path + ".inbound",
228
+ expected: "Array<Rail>",
229
+ value: input.inbound
230
+ }, _errorFactory)) && (undefined === input.outbound || (Array.isArray(input.outbound) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
231
+ method: "createAssert",
232
+ path: _path + ".outbound",
233
+ expected: "(Array<Rail> | undefined)",
234
+ value: input.outbound
235
+ }, _errorFactory)) && input.outbound.every((elem, _index15) => "ACH_SEND" === elem || "ACH_DEBIT" === elem || "KEETA_SEND" === elem || "EVM_SEND" === elem || "EVM_CALL" === elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
236
+ method: "createAssert",
237
+ path: _path + ".outbound[" + _index15 + "]",
238
+ expected: "(\"ACH_DEBIT\" | \"ACH_SEND\" | \"EVM_CALL\" | \"EVM_SEND\" | \"KEETA_SEND\")",
239
+ value: elem
240
+ }, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
241
+ method: "createAssert",
242
+ path: _path + ".outbound",
243
+ expected: "(Array<Rail> | undefined)",
244
+ value: input.outbound
245
+ }, _errorFactory)) && (undefined === input.common || (Array.isArray(input.common) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
246
+ method: "createAssert",
247
+ path: _path + ".common",
248
+ expected: "(Array<Rail> | undefined)",
249
+ value: input.common
250
+ }, _errorFactory)) && input.common.every((elem, _index16) => "ACH_SEND" === elem || "ACH_DEBIT" === elem || "KEETA_SEND" === elem || "EVM_SEND" === elem || "EVM_CALL" === elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
251
+ method: "createAssert",
252
+ path: _path + ".common[" + _index16 + "]",
253
+ expected: "(\"ACH_DEBIT\" | \"ACH_SEND\" | \"EVM_CALL\" | \"EVM_SEND\" | \"KEETA_SEND\")",
254
+ value: elem
255
+ }, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
256
+ method: "createAssert",
257
+ path: _path + ".common",
258
+ expected: "(Array<Rail> | undefined)",
259
+ value: input.common
260
+ }, _errorFactory)); const _ao4 = (input, _path, _exceptionable = true) => (undefined === input.inbound || (Array.isArray(input.inbound) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
261
+ method: "createAssert",
262
+ path: _path + ".inbound",
263
+ expected: "(Array<Rail> | undefined)",
264
+ value: input.inbound
265
+ }, _errorFactory)) && input.inbound.every((elem, _index17) => "ACH_SEND" === elem || "ACH_DEBIT" === elem || "KEETA_SEND" === elem || "EVM_SEND" === elem || "EVM_CALL" === elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
266
+ method: "createAssert",
267
+ path: _path + ".inbound[" + _index17 + "]",
268
+ expected: "(\"ACH_DEBIT\" | \"ACH_SEND\" | \"EVM_CALL\" | \"EVM_SEND\" | \"KEETA_SEND\")",
269
+ value: elem
270
+ }, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
271
+ method: "createAssert",
272
+ path: _path + ".inbound",
273
+ expected: "(Array<Rail> | undefined)",
274
+ value: input.inbound
275
+ }, _errorFactory)) && ((Array.isArray(input.outbound) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
276
+ method: "createAssert",
277
+ path: _path + ".outbound",
278
+ expected: "Array<Rail>",
279
+ value: input.outbound
280
+ }, _errorFactory)) && input.outbound.every((elem, _index18) => "ACH_SEND" === elem || "ACH_DEBIT" === elem || "KEETA_SEND" === elem || "EVM_SEND" === elem || "EVM_CALL" === elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
281
+ method: "createAssert",
282
+ path: _path + ".outbound[" + _index18 + "]",
283
+ expected: "(\"ACH_DEBIT\" | \"ACH_SEND\" | \"EVM_CALL\" | \"EVM_SEND\" | \"KEETA_SEND\")",
284
+ value: elem
285
+ }, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
286
+ method: "createAssert",
287
+ path: _path + ".outbound",
288
+ expected: "Array<Rail>",
289
+ value: input.outbound
290
+ }, _errorFactory)) && (undefined === input.common || (Array.isArray(input.common) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
291
+ method: "createAssert",
292
+ path: _path + ".common",
293
+ expected: "(Array<Rail> | undefined)",
294
+ value: input.common
295
+ }, _errorFactory)) && input.common.every((elem, _index19) => "ACH_SEND" === elem || "ACH_DEBIT" === elem || "KEETA_SEND" === elem || "EVM_SEND" === elem || "EVM_CALL" === elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
296
+ method: "createAssert",
297
+ path: _path + ".common[" + _index19 + "]",
298
+ expected: "(\"ACH_DEBIT\" | \"ACH_SEND\" | \"EVM_CALL\" | \"EVM_SEND\" | \"KEETA_SEND\")",
299
+ value: elem
300
+ }, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
301
+ method: "createAssert",
302
+ path: _path + ".common",
303
+ expected: "(Array<Rail> | undefined)",
304
+ value: input.common
305
+ }, _errorFactory)); const _ao5 = (input, _path, _exceptionable = true) => (null !== input.inbound || __typia_transform__assertGuard._assertGuard(_exceptionable, {
306
+ method: "createAssert",
307
+ path: _path + ".inbound",
308
+ expected: "undefined",
309
+ value: input.inbound
310
+ }, _errorFactory)) && (undefined === input.inbound || __typia_transform__assertGuard._assertGuard(_exceptionable, {
311
+ method: "createAssert",
312
+ path: _path + ".inbound",
313
+ expected: "undefined",
314
+ value: input.inbound
315
+ }, _errorFactory)) && ((null !== input.outbound || __typia_transform__assertGuard._assertGuard(_exceptionable, {
316
+ method: "createAssert",
317
+ path: _path + ".outbound",
318
+ expected: "undefined",
319
+ value: input.outbound
320
+ }, _errorFactory)) && (undefined === input.outbound || __typia_transform__assertGuard._assertGuard(_exceptionable, {
321
+ method: "createAssert",
322
+ path: _path + ".outbound",
323
+ expected: "undefined",
324
+ value: input.outbound
325
+ }, _errorFactory))) && (undefined === input.common || (Array.isArray(input.common) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
326
+ method: "createAssert",
327
+ path: _path + ".common",
328
+ expected: "(Array<Rail> | undefined)",
329
+ value: input.common
330
+ }, _errorFactory)) && input.common.every((elem, _index20) => "ACH_SEND" === elem || "ACH_DEBIT" === elem || "KEETA_SEND" === elem || "EVM_SEND" === elem || "EVM_CALL" === elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
331
+ method: "createAssert",
332
+ path: _path + ".common[" + _index20 + "]",
333
+ expected: "(\"ACH_DEBIT\" | \"ACH_SEND\" | \"EVM_CALL\" | \"EVM_SEND\" | \"KEETA_SEND\")",
334
+ value: elem
335
+ }, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
336
+ method: "createAssert",
337
+ path: _path + ".common",
338
+ expected: "(Array<Rail> | undefined)",
339
+ value: input.common
340
+ }, _errorFactory)); const _au0 = (input, _path, _exceptionable = true) => _ao5(input, _path, false && _exceptionable) || _ao4(input, _path, false && _exceptionable) || _ao3(input, _path, false && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
341
+ method: "createAssert",
342
+ path: _path,
343
+ expected: "({ inbound?: never; outbound?: never; } & { common?: Rail[]; } | { inbound?: Rail[]; outbound: Rail[]; } & { common?: Rail[]; } | { inbound: Rail[]; outbound?: Rail[]; } & { common?: Rail[]; })",
344
+ value: input
345
+ }, _errorFactory); const __is = input => Array.isArray(input) && input.every(elem => "object" === typeof elem && null !== elem && _io0(elem)); let _errorFactory; return (input, errorFactory) => {
346
+ if (false === __is(input)) {
347
+ _errorFactory = errorFactory;
348
+ ((input, _path, _exceptionable = true) => (Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
349
+ method: "createAssert",
350
+ path: _path + "",
351
+ expected: "Array<SupportedAssets>",
352
+ value: input
353
+ }, _errorFactory)) && input.every((elem, _index11) => ("object" === typeof elem && null !== elem || __typia_transform__assertGuard._assertGuard(true, {
354
+ method: "createAssert",
355
+ path: _path + "[" + _index11 + "]",
356
+ expected: "SupportedAssets",
357
+ value: elem
358
+ }, _errorFactory)) && _ao0(elem, _path + "[" + _index11 + "]", true) || __typia_transform__assertGuard._assertGuard(true, {
359
+ method: "createAssert",
360
+ path: _path + "[" + _index11 + "]",
361
+ expected: "SupportedAssets",
362
+ value: elem
363
+ }, _errorFactory)) || __typia_transform__assertGuard._assertGuard(true, {
364
+ method: "createAssert",
365
+ path: _path + "",
366
+ expected: "Array<SupportedAssets>",
367
+ value: input
368
+ }, _errorFactory))(input, "$input", true);
369
+ }
370
+ return input;
371
+ }; })();
372
+ export const assertKeetaAssetMovementAnchorCreatePersistentForwardingRequest = (() => { const _iv1 = new Set(["ALL", "AFN", "EUR", "DZD", "USD", "AOA", "XCD", "ARS", "AMD", "AWG", "AUD", "AZN", "BSD", "BHD", "BDT", "BBD", "BYN", "BZD", "XOF", "BMD", "INR", "BTN", "BOB", "BOV", "BAM", "BWP", "NOK", "BRL", "BND", "BGN", "BIF", "CVE", "KHR", "XAF", "CAD", "KYD", "CLP", "CLF", "CNY", "COP", "COU", "KMF", "CDF", "NZD", "CRC", "CUP", "CUC", "ANG", "CZK", "DKK", "DJF", "DOP", "EGP", "SVC", "ERN", "SZL", "ETB", "FKP", "FJD", "XPF", "GMD", "GEL", "GHS", "GIP", "GTQ", "GBP", "GNF", "GYD", "HTG", "HNL", "HKD", "HUF", "ISK", "IDR", "IRR", "IQD", "ILS", "JMD", "JPY", "JOD", "KZT", "KES", "KPW", "KRW", "KWD", "KGS", "LAK", "LBP", "LSL", "ZAR", "LRD", "LYD", "CHF", "MOP", "MKD", "MGA", "MWK", "MYR", "MVR", "MRU", "MUR", "MXN", "MXV", "MDL", "MNT", "MAD", "MZN", "MMK", "NAD", "NPR", "NIO", "NGN", "OMR", "PKR", "PAB", "PGK", "PYG", "PEN", "PHP", "PLN", "QAR", "RON", "RUB", "RWF", "SHP", "WST", "STN", "SAR", "RSD", "SCR", "SLL", "SLE", "SGD", "SBD", "SOS", "SSP", "LKR", "SDG", "SRD", "SEK", "CHE", "CHW", "SYP", "TWD", "TJS", "TZS", "THB", "TOP", "TTD", "TND", "TRY", "TMT", "UGX", "UAH", "AED", "USN", "UYU", "UYI", "UYW", "UZS", "VUV", "VES", "VED", "VND", "YER", "ZMW", "ZWL"]); const _iv2 = new Set(["971", "978", "8", "12", "840", "973", "951", "32", "51", "533", "36", "944", "44", "48", "50", "52", "933", "84", "952", "60", "356", "64", "68", "984", "977", "72", "578", "986", "96", "975", "108", "132", "116", "950", "124", "136", "152", "990", "156", "170", "970", "174", "976", "554", "188", "192", "931", "532", "203", "208", "262", "214", "818", "222", "232", "748", "230", "238", "242", "953", "270", "981", "936", "292", "320", "826", "324", "328", "332", "340", "344", "348", "352", "360", "364", "368", "376", "388", "392", "400", "398", "404", "408", "410", "414", "417", "418", "422", "426", "710", "430", "434", "756", "446", "807", "969", "454", "458", "462", "929", "480", "484", "979", "498", "496", "504", "943", "104", "516", "524", "558", "566", "512", "586", "590", "598", "600", "604", "608", "985", "634", "946", "643", "646", "654", "882", "930", "682", "941", "690", "694", "925", "702", "90", "706", "728", "144", "938", "968", "752", "947", "948", "760", "901", "972", "834", "764", "776", "780", "788", "949", "934", "800", "980", "784", "997", "858", "940", "927", "860", "548", "928", "926", "704", "886", "967", "932"]); const _av3 = new Set(["ALL", "AFN", "EUR", "DZD", "USD", "AOA", "XCD", "ARS", "AMD", "AWG", "AUD", "AZN", "BSD", "BHD", "BDT", "BBD", "BYN", "BZD", "XOF", "BMD", "INR", "BTN", "BOB", "BOV", "BAM", "BWP", "NOK", "BRL", "BND", "BGN", "BIF", "CVE", "KHR", "XAF", "CAD", "KYD", "CLP", "CLF", "CNY", "COP", "COU", "KMF", "CDF", "NZD", "CRC", "CUP", "CUC", "ANG", "CZK", "DKK", "DJF", "DOP", "EGP", "SVC", "ERN", "SZL", "ETB", "FKP", "FJD", "XPF", "GMD", "GEL", "GHS", "GIP", "GTQ", "GBP", "GNF", "GYD", "HTG", "HNL", "HKD", "HUF", "ISK", "IDR", "IRR", "IQD", "ILS", "JMD", "JPY", "JOD", "KZT", "KES", "KPW", "KRW", "KWD", "KGS", "LAK", "LBP", "LSL", "ZAR", "LRD", "LYD", "CHF", "MOP", "MKD", "MGA", "MWK", "MYR", "MVR", "MRU", "MUR", "MXN", "MXV", "MDL", "MNT", "MAD", "MZN", "MMK", "NAD", "NPR", "NIO", "NGN", "OMR", "PKR", "PAB", "PGK", "PYG", "PEN", "PHP", "PLN", "QAR", "RON", "RUB", "RWF", "SHP", "WST", "STN", "SAR", "RSD", "SCR", "SLL", "SLE", "SGD", "SBD", "SOS", "SSP", "LKR", "SDG", "SRD", "SEK", "CHE", "CHW", "SYP", "TWD", "TJS", "TZS", "THB", "TOP", "TTD", "TND", "TRY", "TMT", "UGX", "UAH", "AED", "USN", "UYU", "UYI", "UYW", "UZS", "VUV", "VES", "VED", "VND", "YER", "ZMW", "ZWL"]); const _av4 = new Set(["971", "978", "8", "12", "840", "973", "951", "32", "51", "533", "36", "944", "44", "48", "50", "52", "933", "84", "952", "60", "356", "64", "68", "984", "977", "72", "578", "986", "96", "975", "108", "132", "116", "950", "124", "136", "152", "990", "156", "170", "970", "174", "976", "554", "188", "192", "931", "532", "203", "208", "262", "214", "818", "222", "232", "748", "230", "238", "242", "953", "270", "981", "936", "292", "320", "826", "324", "328", "332", "340", "344", "348", "352", "360", "364", "368", "376", "388", "392", "400", "398", "404", "408", "410", "414", "417", "418", "422", "426", "710", "430", "434", "756", "446", "807", "969", "454", "458", "462", "929", "480", "484", "979", "498", "496", "504", "943", "104", "516", "524", "558", "566", "512", "586", "590", "598", "600", "604", "608", "985", "634", "946", "643", "646", "654", "882", "930", "682", "941", "690", "694", "925", "702", "90", "706", "728", "144", "938", "968", "752", "947", "948", "760", "901", "972", "834", "764", "776", "780", "788", "949", "934", "800", "980", "784", "997", "858", "940", "927", "860", "548", "928", "926", "704", "886", "967", "932"]); const _io0 = input => null !== input.asset && undefined !== input.asset && ("string" === typeof input.asset && (RegExp(/^keeta_am(.*)/).test(input.asset) || RegExp(/^keeta_an(.*)/).test(input.asset) || RegExp(/^keeta_ao(.*)/).test(input.asset) || RegExp(/^keeta_ap(.*)/).test(input.asset) || RegExp(/^tyblocks_am(.*)/).test(input.asset) || RegExp(/^tyblocks_an(.*)/).test(input.asset) || RegExp(/^tyblocks_ao(.*)/).test(input.asset) || RegExp(/^tyblocks_ap(.*)/).test(input.asset)) || "object" === typeof input.asset && null !== input.asset && _iu0(input.asset)) && (null !== input.destinationLocation && undefined !== input.destinationLocation && ("string" === typeof input.destinationLocation && (RegExp(/^chain:keeta:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.destinationLocation) || RegExp(/^chain:evm:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.destinationLocation)) || "object" === typeof input.destinationLocation && null !== input.destinationLocation && _iu1(input.destinationLocation))) && "string" === typeof input.destinationAddress && (null !== input.sourceLocation && undefined !== input.sourceLocation && ("string" === typeof input.sourceLocation && (RegExp(/^chain:keeta:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.sourceLocation) || RegExp(/^chain:evm:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.sourceLocation)) || "object" === typeof input.sourceLocation && null !== input.sourceLocation && _iu1(input.sourceLocation))); const _io1 = input => true && true === _iv1.has(input.code) && "string" === typeof input.name && "string" === typeof input.precision && true === _iv2.has(input.isoNumber); const _io2 = input => true; const _io3 = input => "chain" === input.type && ("object" === typeof input.chain && null !== input.chain && _iu2(input.chain)); const _io4 = input => "keeta" === input.type && "bigint" === typeof input.networkId; const _io5 = input => "evm" === input.type && "bigint" === typeof input.chainId; const _io6 = input => "bank-account" === input.type && (null !== input.workInProgress && undefined === input.workInProgress); const _iu0 = input => (() => {
373
+ if (undefined !== input.code)
374
+ return _io1(input);
375
+ else
376
+ return _io2(input);
377
+ })(); const _iu1 = input => (() => {
378
+ if ("chain" === input.type)
379
+ return _io3(input);
380
+ else if ("bank-account" === input.type)
381
+ return _io6(input);
382
+ else
383
+ return false;
384
+ })(); const _iu2 = input => (() => {
385
+ if ("keeta" === input.type)
386
+ return _io4(input);
387
+ else if ("evm" === input.type)
388
+ return _io5(input);
389
+ else
390
+ return false;
391
+ })(); const _ao0 = (input, _path, _exceptionable = true) => (null !== input.asset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
392
+ method: "createAssert",
393
+ path: _path + ".asset",
394
+ expected: "(Currency | TokenAddress | `keeta_am${string}` | `keeta_an${string}` | `keeta_ao${string}` | `keeta_ap${string}` | `tyblocks_am${string}` | `tyblocks_an${string}` | `tyblocks_ao${string}` | `tyblocks_ap${string}`)",
395
+ value: input.asset
396
+ }, _errorFactory)) && (undefined !== input.asset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
397
+ method: "createAssert",
398
+ path: _path + ".asset",
399
+ expected: "(Currency | TokenAddress | `keeta_am${string}` | `keeta_an${string}` | `keeta_ao${string}` | `keeta_ap${string}` | `tyblocks_am${string}` | `tyblocks_an${string}` | `tyblocks_ao${string}` | `tyblocks_ap${string}`)",
400
+ value: input.asset
401
+ }, _errorFactory)) && ("string" === typeof input.asset && (RegExp(/^keeta_am(.*)/).test(input.asset) || RegExp(/^keeta_an(.*)/).test(input.asset) || RegExp(/^keeta_ao(.*)/).test(input.asset) || RegExp(/^keeta_ap(.*)/).test(input.asset) || RegExp(/^tyblocks_am(.*)/).test(input.asset) || RegExp(/^tyblocks_an(.*)/).test(input.asset) || RegExp(/^tyblocks_ao(.*)/).test(input.asset) || RegExp(/^tyblocks_ap(.*)/).test(input.asset)) || ("object" === typeof input.asset && null !== input.asset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
402
+ method: "createAssert",
403
+ path: _path + ".asset",
404
+ expected: "(Currency | TokenAddress | `keeta_am${string}` | `keeta_an${string}` | `keeta_ao${string}` | `keeta_ap${string}` | `tyblocks_am${string}` | `tyblocks_an${string}` | `tyblocks_ao${string}` | `tyblocks_ap${string}`)",
405
+ value: input.asset
406
+ }, _errorFactory)) && _au0(input.asset, _path + ".asset", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
407
+ method: "createAssert",
408
+ path: _path + ".asset",
409
+ expected: "(Currency | TokenAddress | `keeta_am${string}` | `keeta_an${string}` | `keeta_ao${string}` | `keeta_ap${string}` | `tyblocks_am${string}` | `tyblocks_an${string}` | `tyblocks_ao${string}` | `tyblocks_ap${string}`)",
410
+ value: input.asset
411
+ }, _errorFactory)) && ((null !== input.destinationLocation || __typia_transform__assertGuard._assertGuard(_exceptionable, {
412
+ method: "createAssert",
413
+ path: _path + ".destinationLocation",
414
+ expected: "(__type | __type.o3 | `chain:evm:${bigint}` | `chain:keeta:${bigint}`)",
415
+ value: input.destinationLocation
416
+ }, _errorFactory)) && (undefined !== input.destinationLocation || __typia_transform__assertGuard._assertGuard(_exceptionable, {
417
+ method: "createAssert",
418
+ path: _path + ".destinationLocation",
419
+ expected: "(__type | __type.o3 | `chain:evm:${bigint}` | `chain:keeta:${bigint}`)",
420
+ value: input.destinationLocation
421
+ }, _errorFactory)) && ("string" === typeof input.destinationLocation && (RegExp(/^chain:keeta:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.destinationLocation) || RegExp(/^chain:evm:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.destinationLocation)) || ("object" === typeof input.destinationLocation && null !== input.destinationLocation || __typia_transform__assertGuard._assertGuard(_exceptionable, {
422
+ method: "createAssert",
423
+ path: _path + ".destinationLocation",
424
+ expected: "(__type | __type.o3 | `chain:evm:${bigint}` | `chain:keeta:${bigint}`)",
425
+ value: input.destinationLocation
426
+ }, _errorFactory)) && _au1(input.destinationLocation, _path + ".destinationLocation", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
427
+ method: "createAssert",
428
+ path: _path + ".destinationLocation",
429
+ expected: "(__type | __type.o3 | `chain:evm:${bigint}` | `chain:keeta:${bigint}`)",
430
+ value: input.destinationLocation
431
+ }, _errorFactory))) && ("string" === typeof input.destinationAddress || __typia_transform__assertGuard._assertGuard(_exceptionable, {
432
+ method: "createAssert",
433
+ path: _path + ".destinationAddress",
434
+ expected: "string",
435
+ value: input.destinationAddress
436
+ }, _errorFactory)) && ((null !== input.sourceLocation || __typia_transform__assertGuard._assertGuard(_exceptionable, {
437
+ method: "createAssert",
438
+ path: _path + ".sourceLocation",
439
+ expected: "(__type | __type.o3 | `chain:evm:${bigint}` | `chain:keeta:${bigint}`)",
440
+ value: input.sourceLocation
441
+ }, _errorFactory)) && (undefined !== input.sourceLocation || __typia_transform__assertGuard._assertGuard(_exceptionable, {
442
+ method: "createAssert",
443
+ path: _path + ".sourceLocation",
444
+ expected: "(__type | __type.o3 | `chain:evm:${bigint}` | `chain:keeta:${bigint}`)",
445
+ value: input.sourceLocation
446
+ }, _errorFactory)) && ("string" === typeof input.sourceLocation && (RegExp(/^chain:keeta:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.sourceLocation) || RegExp(/^chain:evm:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.sourceLocation)) || ("object" === typeof input.sourceLocation && null !== input.sourceLocation || __typia_transform__assertGuard._assertGuard(_exceptionable, {
447
+ method: "createAssert",
448
+ path: _path + ".sourceLocation",
449
+ expected: "(__type | __type.o3 | `chain:evm:${bigint}` | `chain:keeta:${bigint}`)",
450
+ value: input.sourceLocation
451
+ }, _errorFactory)) && _au1(input.sourceLocation, _path + ".sourceLocation", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
452
+ method: "createAssert",
453
+ path: _path + ".sourceLocation",
454
+ expected: "(__type | __type.o3 | `chain:evm:${bigint}` | `chain:keeta:${bigint}`)",
455
+ value: input.sourceLocation
456
+ }, _errorFactory))); const _ao1 = (input, _path, _exceptionable = true) => true && (true === _av3.has(input.code) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
457
+ method: "createAssert",
458
+ path: _path + ".code",
459
+ expected: "(\"AED\" | \"AFN\" | \"ALL\" | \"AMD\" | \"ANG\" | \"AOA\" | \"ARS\" | \"AUD\" | \"AWG\" | \"AZN\" | \"BAM\" | \"BBD\" | \"BDT\" | \"BGN\" | \"BHD\" | \"BIF\" | \"BMD\" | \"BND\" | \"BOB\" | \"BOV\" | \"BRL\" | \"BSD\" | \"BTN\" | \"BWP\" | \"BYN\" | \"BZD\" | \"CAD\" | \"CDF\" | \"CHE\" | \"CHF\" | \"CHW\" | \"CLF\" | \"CLP\" | \"CNY\" | \"COP\" | \"COU\" | \"CRC\" | \"CUC\" | \"CUP\" | \"CVE\" | \"CZK\" | \"DJF\" | \"DKK\" | \"DOP\" | \"DZD\" | \"EGP\" | \"ERN\" | \"ETB\" | \"EUR\" | \"FJD\" | \"FKP\" | \"GBP\" | \"GEL\" | \"GHS\" | \"GIP\" | \"GMD\" | \"GNF\" | \"GTQ\" | \"GYD\" | \"HKD\" | \"HNL\" | \"HTG\" | \"HUF\" | \"IDR\" | \"ILS\" | \"INR\" | \"IQD\" | \"IRR\" | \"ISK\" | \"JMD\" | \"JOD\" | \"JPY\" | \"KES\" | \"KGS\" | \"KHR\" | \"KMF\" | \"KPW\" | \"KRW\" | \"KWD\" | \"KYD\" | \"KZT\" | \"LAK\" | \"LBP\" | \"LKR\" | \"LRD\" | \"LSL\" | \"LYD\" | \"MAD\" | \"MDL\" | \"MGA\" | \"MKD\" | \"MMK\" | \"MNT\" | \"MOP\" | \"MRU\" | \"MUR\" | \"MVR\" | \"MWK\" | \"MXN\" | \"MXV\" | \"MYR\" | \"MZN\" | \"NAD\" | \"NGN\" | \"NIO\" | \"NOK\" | \"NPR\" | \"NZD\" | \"OMR\" | \"PAB\" | \"PEN\" | \"PGK\" | \"PHP\" | \"PKR\" | \"PLN\" | \"PYG\" | \"QAR\" | \"RON\" | \"RSD\" | \"RUB\" | \"RWF\" | \"SAR\" | \"SBD\" | \"SCR\" | \"SDG\" | \"SEK\" | \"SGD\" | \"SHP\" | \"SLE\" | \"SLL\" | \"SOS\" | \"SRD\" | \"SSP\" | \"STN\" | \"SVC\" | \"SYP\" | \"SZL\" | \"THB\" | \"TJS\" | \"TMT\" | \"TND\" | \"TOP\" | \"TRY\" | \"TTD\" | \"TWD\" | \"TZS\" | \"UAH\" | \"UGX\" | \"USD\" | \"USN\" | \"UYI\" | \"UYU\" | \"UYW\" | \"UZS\" | \"VED\" | \"VES\" | \"VND\" | \"VUV\" | \"WST\" | \"XAF\" | \"XCD\" | \"XOF\" | \"XPF\" | \"YER\" | \"ZAR\" | \"ZMW\" | \"ZWL\")",
460
+ value: input.code
461
+ }, _errorFactory)) && ("string" === typeof input.name || __typia_transform__assertGuard._assertGuard(_exceptionable, {
462
+ method: "createAssert",
463
+ path: _path + ".name",
464
+ expected: "string",
465
+ value: input.name
466
+ }, _errorFactory)) && ("string" === typeof input.precision || __typia_transform__assertGuard._assertGuard(_exceptionable, {
467
+ method: "createAssert",
468
+ path: _path + ".precision",
469
+ expected: "string",
470
+ value: input.precision
471
+ }, _errorFactory)) && (true === _av4.has(input.isoNumber) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
472
+ method: "createAssert",
473
+ path: _path + ".isoNumber",
474
+ expected: "(\"104\" | \"108\" | \"116\" | \"12\" | \"124\" | \"132\" | \"136\" | \"144\" | \"152\" | \"156\" | \"170\" | \"174\" | \"188\" | \"192\" | \"203\" | \"208\" | \"214\" | \"222\" | \"230\" | \"232\" | \"238\" | \"242\" | \"262\" | \"270\" | \"292\" | \"32\" | \"320\" | \"324\" | \"328\" | \"332\" | \"340\" | \"344\" | \"348\" | \"352\" | \"356\" | \"36\" | \"360\" | \"364\" | \"368\" | \"376\" | \"388\" | \"392\" | \"398\" | \"400\" | \"404\" | \"408\" | \"410\" | \"414\" | \"417\" | \"418\" | \"422\" | \"426\" | \"430\" | \"434\" | \"44\" | \"446\" | \"454\" | \"458\" | \"462\" | \"48\" | \"480\" | \"484\" | \"496\" | \"498\" | \"50\" | \"504\" | \"51\" | \"512\" | \"516\" | \"52\" | \"524\" | \"532\" | \"533\" | \"548\" | \"554\" | \"558\" | \"566\" | \"578\" | \"586\" | \"590\" | \"598\" | \"60\" | \"600\" | \"604\" | \"608\" | \"634\" | \"64\" | \"643\" | \"646\" | \"654\" | \"68\" | \"682\" | \"690\" | \"694\" | \"702\" | \"704\" | \"706\" | \"710\" | \"72\" | \"728\" | \"748\" | \"752\" | \"756\" | \"760\" | \"764\" | \"776\" | \"780\" | \"784\" | \"788\" | \"8\" | \"800\" | \"807\" | \"818\" | \"826\" | \"834\" | \"84\" | \"840\" | \"858\" | \"860\" | \"882\" | \"886\" | \"90\" | \"901\" | \"925\" | \"926\" | \"927\" | \"928\" | \"929\" | \"930\" | \"931\" | \"932\" | \"933\" | \"934\" | \"936\" | \"938\" | \"940\" | \"941\" | \"943\" | \"944\" | \"946\" | \"947\" | \"948\" | \"949\" | \"950\" | \"951\" | \"952\" | \"953\" | \"96\" | \"967\" | \"968\" | \"969\" | \"970\" | \"971\" | \"972\" | \"973\" | \"975\" | \"976\" | \"977\" | \"978\" | \"979\" | \"980\" | \"981\" | \"984\" | \"985\" | \"986\" | \"990\" | \"997\")",
475
+ value: input.isoNumber
476
+ }, _errorFactory)); const _ao2 = (input, _path, _exceptionable = true) => true; const _ao3 = (input, _path, _exceptionable = true) => ("chain" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
477
+ method: "createAssert",
478
+ path: _path + ".type",
479
+ expected: "\"chain\"",
480
+ value: input.type
481
+ }, _errorFactory)) && (("object" === typeof input.chain && null !== input.chain || __typia_transform__assertGuard._assertGuard(_exceptionable, {
482
+ method: "createAssert",
483
+ path: _path + ".chain",
484
+ expected: "(__type.o1 | __type.o2)",
485
+ value: input.chain
486
+ }, _errorFactory)) && _au2(input.chain, _path + ".chain", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
487
+ method: "createAssert",
488
+ path: _path + ".chain",
489
+ expected: "(__type.o1 | __type.o2)",
490
+ value: input.chain
491
+ }, _errorFactory)); const _ao4 = (input, _path, _exceptionable = true) => ("keeta" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
492
+ method: "createAssert",
493
+ path: _path + ".type",
494
+ expected: "\"keeta\"",
495
+ value: input.type
496
+ }, _errorFactory)) && ("bigint" === typeof input.networkId || __typia_transform__assertGuard._assertGuard(_exceptionable, {
497
+ method: "createAssert",
498
+ path: _path + ".networkId",
499
+ expected: "bigint",
500
+ value: input.networkId
501
+ }, _errorFactory)); const _ao5 = (input, _path, _exceptionable = true) => ("evm" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
502
+ method: "createAssert",
503
+ path: _path + ".type",
504
+ expected: "\"evm\"",
505
+ value: input.type
506
+ }, _errorFactory)) && ("bigint" === typeof input.chainId || __typia_transform__assertGuard._assertGuard(_exceptionable, {
507
+ method: "createAssert",
508
+ path: _path + ".chainId",
509
+ expected: "bigint",
510
+ value: input.chainId
511
+ }, _errorFactory)); const _ao6 = (input, _path, _exceptionable = true) => ("bank-account" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
512
+ method: "createAssert",
513
+ path: _path + ".type",
514
+ expected: "\"bank-account\"",
515
+ value: input.type
516
+ }, _errorFactory)) && ((null !== input.workInProgress || __typia_transform__assertGuard._assertGuard(_exceptionable, {
517
+ method: "createAssert",
518
+ path: _path + ".workInProgress",
519
+ expected: "undefined",
520
+ value: input.workInProgress
521
+ }, _errorFactory)) && (undefined === input.workInProgress || __typia_transform__assertGuard._assertGuard(_exceptionable, {
522
+ method: "createAssert",
523
+ path: _path + ".workInProgress",
524
+ expected: "undefined",
525
+ value: input.workInProgress
526
+ }, _errorFactory))); const _au0 = (input, _path, _exceptionable = true) => (() => {
527
+ if (undefined !== input.code)
528
+ return _ao1(input, _path, true && _exceptionable);
529
+ else
530
+ return _ao2(input, _path, true && _exceptionable);
531
+ })(); const _au1 = (input, _path, _exceptionable = true) => (() => {
532
+ if ("chain" === input.type)
533
+ return _ao3(input, _path, true && _exceptionable);
534
+ else if ("bank-account" === input.type)
535
+ return _ao6(input, _path, true && _exceptionable);
536
+ else
537
+ return __typia_transform__assertGuard._assertGuard(_exceptionable, {
538
+ method: "createAssert",
539
+ path: _path,
540
+ expected: "(__type | __type.o3)",
541
+ value: input
542
+ }, _errorFactory);
543
+ })(); const _au2 = (input, _path, _exceptionable = true) => (() => {
544
+ if ("keeta" === input.type)
545
+ return _ao4(input, _path, true && _exceptionable);
546
+ else if ("evm" === input.type)
547
+ return _ao5(input, _path, true && _exceptionable);
548
+ else
549
+ return __typia_transform__assertGuard._assertGuard(_exceptionable, {
550
+ method: "createAssert",
551
+ path: _path,
552
+ expected: "(__type.o1 | __type.o2)",
553
+ value: input
554
+ }, _errorFactory);
555
+ })(); const __is = input => "object" === typeof input && null !== input && _io0(input); let _errorFactory; return (input, errorFactory) => {
556
+ if (false === __is(input)) {
557
+ _errorFactory = errorFactory;
558
+ ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || __typia_transform__assertGuard._assertGuard(true, {
559
+ method: "createAssert",
560
+ path: _path + "",
561
+ expected: "KeetaAssetMovementAnchorCreatePersistentForwardingRequest",
562
+ value: input
563
+ }, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
564
+ method: "createAssert",
565
+ path: _path + "",
566
+ expected: "KeetaAssetMovementAnchorCreatePersistentForwardingRequest",
567
+ value: input
568
+ }, _errorFactory))(input, "$input", true);
569
+ }
570
+ return input;
571
+ }; })();
572
+ export const assertKeetaAssetMovementAnchorCreatePersistentForwardingResponse = (() => { const _io0 = (input, _exceptionable = true) => true === input.ok && "string" === typeof input.address && (2 === Object.keys(input).length || Object.keys(input).every(key => {
573
+ if (["ok", "address"].some(prop => key === prop))
574
+ return true;
575
+ const value = input[key];
576
+ if (undefined === value)
577
+ return true;
578
+ return false;
579
+ })); const _io1 = (input, _exceptionable = true) => false === input.ok && "string" === typeof input.error && (2 === Object.keys(input).length || Object.keys(input).every(key => {
580
+ if (["ok", "error"].some(prop => key === prop))
581
+ return true;
582
+ const value = input[key];
583
+ if (undefined === value)
584
+ return true;
585
+ return false;
586
+ })); const _iu0 = (input, _exceptionable = true) => (() => {
587
+ if (true === input.ok)
588
+ return _io0(input, true && _exceptionable);
589
+ else if (false === input.ok)
590
+ return _io1(input, true && _exceptionable);
591
+ else
592
+ return false;
593
+ })(); const _ao0 = (input, _path, _exceptionable = true) => (true === input.ok || __typia_transform__assertGuard._assertGuard(_exceptionable, {
594
+ method: "createAssertEquals",
595
+ path: _path + ".ok",
596
+ expected: "true",
597
+ value: input.ok
598
+ }, _errorFactory)) && ("string" === typeof input.address || __typia_transform__assertGuard._assertGuard(_exceptionable, {
599
+ method: "createAssertEquals",
600
+ path: _path + ".address",
601
+ expected: "string",
602
+ value: input.address
603
+ }, _errorFactory)) && (2 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).every(key => {
604
+ if (["ok", "address"].some(prop => key === prop))
605
+ return true;
606
+ const value = input[key];
607
+ if (undefined === value)
608
+ return true;
609
+ return __typia_transform__assertGuard._assertGuard(_exceptionable, {
610
+ method: "createAssertEquals",
611
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
612
+ expected: "undefined",
613
+ value: value
614
+ }, _errorFactory);
615
+ }))); const _ao1 = (input, _path, _exceptionable = true) => (false === input.ok || __typia_transform__assertGuard._assertGuard(_exceptionable, {
616
+ method: "createAssertEquals",
617
+ path: _path + ".ok",
618
+ expected: "false",
619
+ value: input.ok
620
+ }, _errorFactory)) && ("string" === typeof input.error || __typia_transform__assertGuard._assertGuard(_exceptionable, {
621
+ method: "createAssertEquals",
622
+ path: _path + ".error",
623
+ expected: "string",
624
+ value: input.error
625
+ }, _errorFactory)) && (2 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).every(key => {
626
+ if (["ok", "error"].some(prop => key === prop))
627
+ return true;
628
+ const value = input[key];
629
+ if (undefined === value)
630
+ return true;
631
+ return __typia_transform__assertGuard._assertGuard(_exceptionable, {
632
+ method: "createAssertEquals",
633
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
634
+ expected: "undefined",
635
+ value: value
636
+ }, _errorFactory);
637
+ }))); const _au0 = (input, _path, _exceptionable = true) => (() => {
638
+ if (true === input.ok)
639
+ return _ao0(input, _path, true && _exceptionable);
640
+ else if (false === input.ok)
641
+ return _ao1(input, _path, true && _exceptionable);
642
+ else
643
+ return __typia_transform__assertGuard._assertGuard(_exceptionable, {
644
+ method: "createAssertEquals",
645
+ path: _path,
646
+ expected: "(__type | __type.o1)",
647
+ value: input
648
+ }, _errorFactory);
649
+ })(); const __is = (input, _exceptionable = true) => "object" === typeof input && null !== input && _iu0(input, true); let _errorFactory; return (input, errorFactory) => {
650
+ if (false === __is(input)) {
651
+ _errorFactory = errorFactory;
652
+ ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || __typia_transform__assertGuard._assertGuard(true, {
653
+ method: "createAssertEquals",
654
+ path: _path + "",
655
+ expected: "(__type | __type.o1)",
656
+ value: input
657
+ }, _errorFactory)) && _au0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
658
+ method: "createAssertEquals",
659
+ path: _path + "",
660
+ expected: "(__type | __type.o1)",
661
+ value: input
662
+ }, _errorFactory))(input, "$input", true);
663
+ }
664
+ return input;
665
+ }; })();
666
+ export const assertKeetaAssetMovementAnchorInitiateTransferRequest = (() => { const _iv1 = new Set(["ALL", "AFN", "EUR", "DZD", "USD", "AOA", "XCD", "ARS", "AMD", "AWG", "AUD", "AZN", "BSD", "BHD", "BDT", "BBD", "BYN", "BZD", "XOF", "BMD", "INR", "BTN", "BOB", "BOV", "BAM", "BWP", "NOK", "BRL", "BND", "BGN", "BIF", "CVE", "KHR", "XAF", "CAD", "KYD", "CLP", "CLF", "CNY", "COP", "COU", "KMF", "CDF", "NZD", "CRC", "CUP", "CUC", "ANG", "CZK", "DKK", "DJF", "DOP", "EGP", "SVC", "ERN", "SZL", "ETB", "FKP", "FJD", "XPF", "GMD", "GEL", "GHS", "GIP", "GTQ", "GBP", "GNF", "GYD", "HTG", "HNL", "HKD", "HUF", "ISK", "IDR", "IRR", "IQD", "ILS", "JMD", "JPY", "JOD", "KZT", "KES", "KPW", "KRW", "KWD", "KGS", "LAK", "LBP", "LSL", "ZAR", "LRD", "LYD", "CHF", "MOP", "MKD", "MGA", "MWK", "MYR", "MVR", "MRU", "MUR", "MXN", "MXV", "MDL", "MNT", "MAD", "MZN", "MMK", "NAD", "NPR", "NIO", "NGN", "OMR", "PKR", "PAB", "PGK", "PYG", "PEN", "PHP", "PLN", "QAR", "RON", "RUB", "RWF", "SHP", "WST", "STN", "SAR", "RSD", "SCR", "SLL", "SLE", "SGD", "SBD", "SOS", "SSP", "LKR", "SDG", "SRD", "SEK", "CHE", "CHW", "SYP", "TWD", "TJS", "TZS", "THB", "TOP", "TTD", "TND", "TRY", "TMT", "UGX", "UAH", "AED", "USN", "UYU", "UYI", "UYW", "UZS", "VUV", "VES", "VED", "VND", "YER", "ZMW", "ZWL"]); const _iv2 = new Set(["971", "978", "8", "12", "840", "973", "951", "32", "51", "533", "36", "944", "44", "48", "50", "52", "933", "84", "952", "60", "356", "64", "68", "984", "977", "72", "578", "986", "96", "975", "108", "132", "116", "950", "124", "136", "152", "990", "156", "170", "970", "174", "976", "554", "188", "192", "931", "532", "203", "208", "262", "214", "818", "222", "232", "748", "230", "238", "242", "953", "270", "981", "936", "292", "320", "826", "324", "328", "332", "340", "344", "348", "352", "360", "364", "368", "376", "388", "392", "400", "398", "404", "408", "410", "414", "417", "418", "422", "426", "710", "430", "434", "756", "446", "807", "969", "454", "458", "462", "929", "480", "484", "979", "498", "496", "504", "943", "104", "516", "524", "558", "566", "512", "586", "590", "598", "600", "604", "608", "985", "634", "946", "643", "646", "654", "882", "930", "682", "941", "690", "694", "925", "702", "90", "706", "728", "144", "938", "968", "752", "947", "948", "760", "901", "972", "834", "764", "776", "780", "788", "949", "934", "800", "980", "784", "997", "858", "940", "927", "860", "548", "928", "926", "704", "886", "967", "932"]); const _av3 = new Set(["ALL", "AFN", "EUR", "DZD", "USD", "AOA", "XCD", "ARS", "AMD", "AWG", "AUD", "AZN", "BSD", "BHD", "BDT", "BBD", "BYN", "BZD", "XOF", "BMD", "INR", "BTN", "BOB", "BOV", "BAM", "BWP", "NOK", "BRL", "BND", "BGN", "BIF", "CVE", "KHR", "XAF", "CAD", "KYD", "CLP", "CLF", "CNY", "COP", "COU", "KMF", "CDF", "NZD", "CRC", "CUP", "CUC", "ANG", "CZK", "DKK", "DJF", "DOP", "EGP", "SVC", "ERN", "SZL", "ETB", "FKP", "FJD", "XPF", "GMD", "GEL", "GHS", "GIP", "GTQ", "GBP", "GNF", "GYD", "HTG", "HNL", "HKD", "HUF", "ISK", "IDR", "IRR", "IQD", "ILS", "JMD", "JPY", "JOD", "KZT", "KES", "KPW", "KRW", "KWD", "KGS", "LAK", "LBP", "LSL", "ZAR", "LRD", "LYD", "CHF", "MOP", "MKD", "MGA", "MWK", "MYR", "MVR", "MRU", "MUR", "MXN", "MXV", "MDL", "MNT", "MAD", "MZN", "MMK", "NAD", "NPR", "NIO", "NGN", "OMR", "PKR", "PAB", "PGK", "PYG", "PEN", "PHP", "PLN", "QAR", "RON", "RUB", "RWF", "SHP", "WST", "STN", "SAR", "RSD", "SCR", "SLL", "SLE", "SGD", "SBD", "SOS", "SSP", "LKR", "SDG", "SRD", "SEK", "CHE", "CHW", "SYP", "TWD", "TJS", "TZS", "THB", "TOP", "TTD", "TND", "TRY", "TMT", "UGX", "UAH", "AED", "USN", "UYU", "UYI", "UYW", "UZS", "VUV", "VES", "VED", "VND", "YER", "ZMW", "ZWL"]); const _av4 = new Set(["971", "978", "8", "12", "840", "973", "951", "32", "51", "533", "36", "944", "44", "48", "50", "52", "933", "84", "952", "60", "356", "64", "68", "984", "977", "72", "578", "986", "96", "975", "108", "132", "116", "950", "124", "136", "152", "990", "156", "170", "970", "174", "976", "554", "188", "192", "931", "532", "203", "208", "262", "214", "818", "222", "232", "748", "230", "238", "242", "953", "270", "981", "936", "292", "320", "826", "324", "328", "332", "340", "344", "348", "352", "360", "364", "368", "376", "388", "392", "400", "398", "404", "408", "410", "414", "417", "418", "422", "426", "710", "430", "434", "756", "446", "807", "969", "454", "458", "462", "929", "480", "484", "979", "498", "496", "504", "943", "104", "516", "524", "558", "566", "512", "586", "590", "598", "600", "604", "608", "985", "634", "946", "643", "646", "654", "882", "930", "682", "941", "690", "694", "925", "702", "90", "706", "728", "144", "938", "968", "752", "947", "948", "760", "901", "972", "834", "764", "776", "780", "788", "949", "934", "800", "980", "784", "997", "858", "940", "927", "860", "548", "928", "926", "704", "886", "967", "932"]); const _io0 = input => null !== input.asset && undefined !== input.asset && ("string" === typeof input.asset && (RegExp(/^keeta_am(.*)/).test(input.asset) || RegExp(/^keeta_an(.*)/).test(input.asset) || RegExp(/^keeta_ao(.*)/).test(input.asset) || RegExp(/^keeta_ap(.*)/).test(input.asset) || RegExp(/^tyblocks_am(.*)/).test(input.asset) || RegExp(/^tyblocks_an(.*)/).test(input.asset) || RegExp(/^tyblocks_ao(.*)/).test(input.asset) || RegExp(/^tyblocks_ap(.*)/).test(input.asset)) || "object" === typeof input.asset && null !== input.asset && _iu0(input.asset)) && ("object" === typeof input.from && null !== input.from && _io3(input.from)) && ("object" === typeof input.to && null !== input.to && _io8(input.to)) && "string" === typeof input.value && (undefined === input.allowedRails || Array.isArray(input.allowedRails)); const _io1 = input => true && true === _iv1.has(input.code) && "string" === typeof input.name && "string" === typeof input.precision && true === _iv2.has(input.isoNumber); const _io2 = input => true; const _io3 = input => null !== input.location && undefined !== input.location && ("string" === typeof input.location && (RegExp(/^chain:keeta:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location) || RegExp(/^chain:evm:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location)) || "object" === typeof input.location && null !== input.location && _iu1(input.location)); const _io4 = input => "chain" === input.type && ("object" === typeof input.chain && null !== input.chain && _iu2(input.chain)); const _io5 = input => "keeta" === input.type && "bigint" === typeof input.networkId; const _io6 = input => "evm" === input.type && "bigint" === typeof input.chainId; const _io7 = input => "bank-account" === input.type && (null !== input.workInProgress && undefined === input.workInProgress); const _io8 = input => null !== input.location && undefined !== input.location && ("string" === typeof input.location && (RegExp(/^chain:keeta:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location) || RegExp(/^chain:evm:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location)) || "object" === typeof input.location && null !== input.location && _iu1(input.location)) && "string" === typeof input.recipient; const _iu0 = input => (() => {
667
+ if (undefined !== input.code)
668
+ return _io1(input);
669
+ else
670
+ return _io2(input);
671
+ })(); const _iu1 = input => (() => {
672
+ if ("chain" === input.type)
673
+ return _io4(input);
674
+ else if ("bank-account" === input.type)
675
+ return _io7(input);
676
+ else
677
+ return false;
678
+ })(); const _iu2 = input => (() => {
679
+ if ("keeta" === input.type)
680
+ return _io5(input);
681
+ else if ("evm" === input.type)
682
+ return _io6(input);
683
+ else
684
+ return false;
685
+ })(); const _ao0 = (input, _path, _exceptionable = true) => (null !== input.asset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
686
+ method: "createAssert",
687
+ path: _path + ".asset",
688
+ expected: "(Currency | TokenAddress | `keeta_am${string}` | `keeta_an${string}` | `keeta_ao${string}` | `keeta_ap${string}` | `tyblocks_am${string}` | `tyblocks_an${string}` | `tyblocks_ao${string}` | `tyblocks_ap${string}`)",
689
+ value: input.asset
690
+ }, _errorFactory)) && (undefined !== input.asset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
691
+ method: "createAssert",
692
+ path: _path + ".asset",
693
+ expected: "(Currency | TokenAddress | `keeta_am${string}` | `keeta_an${string}` | `keeta_ao${string}` | `keeta_ap${string}` | `tyblocks_am${string}` | `tyblocks_an${string}` | `tyblocks_ao${string}` | `tyblocks_ap${string}`)",
694
+ value: input.asset
695
+ }, _errorFactory)) && ("string" === typeof input.asset && (RegExp(/^keeta_am(.*)/).test(input.asset) || RegExp(/^keeta_an(.*)/).test(input.asset) || RegExp(/^keeta_ao(.*)/).test(input.asset) || RegExp(/^keeta_ap(.*)/).test(input.asset) || RegExp(/^tyblocks_am(.*)/).test(input.asset) || RegExp(/^tyblocks_an(.*)/).test(input.asset) || RegExp(/^tyblocks_ao(.*)/).test(input.asset) || RegExp(/^tyblocks_ap(.*)/).test(input.asset)) || ("object" === typeof input.asset && null !== input.asset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
696
+ method: "createAssert",
697
+ path: _path + ".asset",
698
+ expected: "(Currency | TokenAddress | `keeta_am${string}` | `keeta_an${string}` | `keeta_ao${string}` | `keeta_ap${string}` | `tyblocks_am${string}` | `tyblocks_an${string}` | `tyblocks_ao${string}` | `tyblocks_ap${string}`)",
699
+ value: input.asset
700
+ }, _errorFactory)) && _au0(input.asset, _path + ".asset", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
701
+ method: "createAssert",
702
+ path: _path + ".asset",
703
+ expected: "(Currency | TokenAddress | `keeta_am${string}` | `keeta_an${string}` | `keeta_ao${string}` | `keeta_ap${string}` | `tyblocks_am${string}` | `tyblocks_an${string}` | `tyblocks_ao${string}` | `tyblocks_ap${string}`)",
704
+ value: input.asset
705
+ }, _errorFactory)) && (("object" === typeof input.from && null !== input.from || __typia_transform__assertGuard._assertGuard(_exceptionable, {
706
+ method: "createAssert",
707
+ path: _path + ".from",
708
+ expected: "__type",
709
+ value: input.from
710
+ }, _errorFactory)) && _ao3(input.from, _path + ".from", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
711
+ method: "createAssert",
712
+ path: _path + ".from",
713
+ expected: "__type",
714
+ value: input.from
715
+ }, _errorFactory)) && (("object" === typeof input.to && null !== input.to || __typia_transform__assertGuard._assertGuard(_exceptionable, {
716
+ method: "createAssert",
717
+ path: _path + ".to",
718
+ expected: "__type.o5",
719
+ value: input.to
720
+ }, _errorFactory)) && _ao8(input.to, _path + ".to", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
721
+ method: "createAssert",
722
+ path: _path + ".to",
723
+ expected: "__type.o5",
724
+ value: input.to
725
+ }, _errorFactory)) && ("string" === typeof input.value || __typia_transform__assertGuard._assertGuard(_exceptionable, {
726
+ method: "createAssert",
727
+ path: _path + ".value",
728
+ expected: "string",
729
+ value: input.value
730
+ }, _errorFactory)) && (undefined === input.allowedRails || Array.isArray(input.allowedRails) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
731
+ method: "createAssert",
732
+ path: _path + ".allowedRails",
733
+ expected: "(Array<unknown> | undefined)",
734
+ value: input.allowedRails
735
+ }, _errorFactory)); const _ao1 = (input, _path, _exceptionable = true) => true && (true === _av3.has(input.code) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
736
+ method: "createAssert",
737
+ path: _path + ".code",
738
+ expected: "(\"AED\" | \"AFN\" | \"ALL\" | \"AMD\" | \"ANG\" | \"AOA\" | \"ARS\" | \"AUD\" | \"AWG\" | \"AZN\" | \"BAM\" | \"BBD\" | \"BDT\" | \"BGN\" | \"BHD\" | \"BIF\" | \"BMD\" | \"BND\" | \"BOB\" | \"BOV\" | \"BRL\" | \"BSD\" | \"BTN\" | \"BWP\" | \"BYN\" | \"BZD\" | \"CAD\" | \"CDF\" | \"CHE\" | \"CHF\" | \"CHW\" | \"CLF\" | \"CLP\" | \"CNY\" | \"COP\" | \"COU\" | \"CRC\" | \"CUC\" | \"CUP\" | \"CVE\" | \"CZK\" | \"DJF\" | \"DKK\" | \"DOP\" | \"DZD\" | \"EGP\" | \"ERN\" | \"ETB\" | \"EUR\" | \"FJD\" | \"FKP\" | \"GBP\" | \"GEL\" | \"GHS\" | \"GIP\" | \"GMD\" | \"GNF\" | \"GTQ\" | \"GYD\" | \"HKD\" | \"HNL\" | \"HTG\" | \"HUF\" | \"IDR\" | \"ILS\" | \"INR\" | \"IQD\" | \"IRR\" | \"ISK\" | \"JMD\" | \"JOD\" | \"JPY\" | \"KES\" | \"KGS\" | \"KHR\" | \"KMF\" | \"KPW\" | \"KRW\" | \"KWD\" | \"KYD\" | \"KZT\" | \"LAK\" | \"LBP\" | \"LKR\" | \"LRD\" | \"LSL\" | \"LYD\" | \"MAD\" | \"MDL\" | \"MGA\" | \"MKD\" | \"MMK\" | \"MNT\" | \"MOP\" | \"MRU\" | \"MUR\" | \"MVR\" | \"MWK\" | \"MXN\" | \"MXV\" | \"MYR\" | \"MZN\" | \"NAD\" | \"NGN\" | \"NIO\" | \"NOK\" | \"NPR\" | \"NZD\" | \"OMR\" | \"PAB\" | \"PEN\" | \"PGK\" | \"PHP\" | \"PKR\" | \"PLN\" | \"PYG\" | \"QAR\" | \"RON\" | \"RSD\" | \"RUB\" | \"RWF\" | \"SAR\" | \"SBD\" | \"SCR\" | \"SDG\" | \"SEK\" | \"SGD\" | \"SHP\" | \"SLE\" | \"SLL\" | \"SOS\" | \"SRD\" | \"SSP\" | \"STN\" | \"SVC\" | \"SYP\" | \"SZL\" | \"THB\" | \"TJS\" | \"TMT\" | \"TND\" | \"TOP\" | \"TRY\" | \"TTD\" | \"TWD\" | \"TZS\" | \"UAH\" | \"UGX\" | \"USD\" | \"USN\" | \"UYI\" | \"UYU\" | \"UYW\" | \"UZS\" | \"VED\" | \"VES\" | \"VND\" | \"VUV\" | \"WST\" | \"XAF\" | \"XCD\" | \"XOF\" | \"XPF\" | \"YER\" | \"ZAR\" | \"ZMW\" | \"ZWL\")",
739
+ value: input.code
740
+ }, _errorFactory)) && ("string" === typeof input.name || __typia_transform__assertGuard._assertGuard(_exceptionable, {
741
+ method: "createAssert",
742
+ path: _path + ".name",
743
+ expected: "string",
744
+ value: input.name
745
+ }, _errorFactory)) && ("string" === typeof input.precision || __typia_transform__assertGuard._assertGuard(_exceptionable, {
746
+ method: "createAssert",
747
+ path: _path + ".precision",
748
+ expected: "string",
749
+ value: input.precision
750
+ }, _errorFactory)) && (true === _av4.has(input.isoNumber) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
751
+ method: "createAssert",
752
+ path: _path + ".isoNumber",
753
+ expected: "(\"104\" | \"108\" | \"116\" | \"12\" | \"124\" | \"132\" | \"136\" | \"144\" | \"152\" | \"156\" | \"170\" | \"174\" | \"188\" | \"192\" | \"203\" | \"208\" | \"214\" | \"222\" | \"230\" | \"232\" | \"238\" | \"242\" | \"262\" | \"270\" | \"292\" | \"32\" | \"320\" | \"324\" | \"328\" | \"332\" | \"340\" | \"344\" | \"348\" | \"352\" | \"356\" | \"36\" | \"360\" | \"364\" | \"368\" | \"376\" | \"388\" | \"392\" | \"398\" | \"400\" | \"404\" | \"408\" | \"410\" | \"414\" | \"417\" | \"418\" | \"422\" | \"426\" | \"430\" | \"434\" | \"44\" | \"446\" | \"454\" | \"458\" | \"462\" | \"48\" | \"480\" | \"484\" | \"496\" | \"498\" | \"50\" | \"504\" | \"51\" | \"512\" | \"516\" | \"52\" | \"524\" | \"532\" | \"533\" | \"548\" | \"554\" | \"558\" | \"566\" | \"578\" | \"586\" | \"590\" | \"598\" | \"60\" | \"600\" | \"604\" | \"608\" | \"634\" | \"64\" | \"643\" | \"646\" | \"654\" | \"68\" | \"682\" | \"690\" | \"694\" | \"702\" | \"704\" | \"706\" | \"710\" | \"72\" | \"728\" | \"748\" | \"752\" | \"756\" | \"760\" | \"764\" | \"776\" | \"780\" | \"784\" | \"788\" | \"8\" | \"800\" | \"807\" | \"818\" | \"826\" | \"834\" | \"84\" | \"840\" | \"858\" | \"860\" | \"882\" | \"886\" | \"90\" | \"901\" | \"925\" | \"926\" | \"927\" | \"928\" | \"929\" | \"930\" | \"931\" | \"932\" | \"933\" | \"934\" | \"936\" | \"938\" | \"940\" | \"941\" | \"943\" | \"944\" | \"946\" | \"947\" | \"948\" | \"949\" | \"950\" | \"951\" | \"952\" | \"953\" | \"96\" | \"967\" | \"968\" | \"969\" | \"970\" | \"971\" | \"972\" | \"973\" | \"975\" | \"976\" | \"977\" | \"978\" | \"979\" | \"980\" | \"981\" | \"984\" | \"985\" | \"986\" | \"990\" | \"997\")",
754
+ value: input.isoNumber
755
+ }, _errorFactory)); const _ao2 = (input, _path, _exceptionable = true) => true; const _ao3 = (input, _path, _exceptionable = true) => (null !== input.location || __typia_transform__assertGuard._assertGuard(_exceptionable, {
756
+ method: "createAssert",
757
+ path: _path + ".location",
758
+ expected: "(__type.o1 | __type.o4 | `chain:evm:${bigint}` | `chain:keeta:${bigint}`)",
759
+ value: input.location
760
+ }, _errorFactory)) && (undefined !== input.location || __typia_transform__assertGuard._assertGuard(_exceptionable, {
761
+ method: "createAssert",
762
+ path: _path + ".location",
763
+ expected: "(__type.o1 | __type.o4 | `chain:evm:${bigint}` | `chain:keeta:${bigint}`)",
764
+ value: input.location
765
+ }, _errorFactory)) && ("string" === typeof input.location && (RegExp(/^chain:keeta:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location) || RegExp(/^chain:evm:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location)) || ("object" === typeof input.location && null !== input.location || __typia_transform__assertGuard._assertGuard(_exceptionable, {
766
+ method: "createAssert",
767
+ path: _path + ".location",
768
+ expected: "(__type.o1 | __type.o4 | `chain:evm:${bigint}` | `chain:keeta:${bigint}`)",
769
+ value: input.location
770
+ }, _errorFactory)) && _au1(input.location, _path + ".location", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
771
+ method: "createAssert",
772
+ path: _path + ".location",
773
+ expected: "(__type.o1 | __type.o4 | `chain:evm:${bigint}` | `chain:keeta:${bigint}`)",
774
+ value: input.location
775
+ }, _errorFactory)); const _ao4 = (input, _path, _exceptionable = true) => ("chain" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
776
+ method: "createAssert",
777
+ path: _path + ".type",
778
+ expected: "\"chain\"",
779
+ value: input.type
780
+ }, _errorFactory)) && (("object" === typeof input.chain && null !== input.chain || __typia_transform__assertGuard._assertGuard(_exceptionable, {
781
+ method: "createAssert",
782
+ path: _path + ".chain",
783
+ expected: "(__type.o2 | __type.o3)",
784
+ value: input.chain
785
+ }, _errorFactory)) && _au2(input.chain, _path + ".chain", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
786
+ method: "createAssert",
787
+ path: _path + ".chain",
788
+ expected: "(__type.o2 | __type.o3)",
789
+ value: input.chain
790
+ }, _errorFactory)); const _ao5 = (input, _path, _exceptionable = true) => ("keeta" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
791
+ method: "createAssert",
792
+ path: _path + ".type",
793
+ expected: "\"keeta\"",
794
+ value: input.type
795
+ }, _errorFactory)) && ("bigint" === typeof input.networkId || __typia_transform__assertGuard._assertGuard(_exceptionable, {
796
+ method: "createAssert",
797
+ path: _path + ".networkId",
798
+ expected: "bigint",
799
+ value: input.networkId
800
+ }, _errorFactory)); const _ao6 = (input, _path, _exceptionable = true) => ("evm" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
801
+ method: "createAssert",
802
+ path: _path + ".type",
803
+ expected: "\"evm\"",
804
+ value: input.type
805
+ }, _errorFactory)) && ("bigint" === typeof input.chainId || __typia_transform__assertGuard._assertGuard(_exceptionable, {
806
+ method: "createAssert",
807
+ path: _path + ".chainId",
808
+ expected: "bigint",
809
+ value: input.chainId
810
+ }, _errorFactory)); const _ao7 = (input, _path, _exceptionable = true) => ("bank-account" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
811
+ method: "createAssert",
812
+ path: _path + ".type",
813
+ expected: "\"bank-account\"",
814
+ value: input.type
815
+ }, _errorFactory)) && ((null !== input.workInProgress || __typia_transform__assertGuard._assertGuard(_exceptionable, {
816
+ method: "createAssert",
817
+ path: _path + ".workInProgress",
818
+ expected: "undefined",
819
+ value: input.workInProgress
820
+ }, _errorFactory)) && (undefined === input.workInProgress || __typia_transform__assertGuard._assertGuard(_exceptionable, {
821
+ method: "createAssert",
822
+ path: _path + ".workInProgress",
823
+ expected: "undefined",
824
+ value: input.workInProgress
825
+ }, _errorFactory))); const _ao8 = (input, _path, _exceptionable = true) => (null !== input.location || __typia_transform__assertGuard._assertGuard(_exceptionable, {
826
+ method: "createAssert",
827
+ path: _path + ".location",
828
+ expected: "(__type.o1 | __type.o4 | `chain:evm:${bigint}` | `chain:keeta:${bigint}`)",
829
+ value: input.location
830
+ }, _errorFactory)) && (undefined !== input.location || __typia_transform__assertGuard._assertGuard(_exceptionable, {
831
+ method: "createAssert",
832
+ path: _path + ".location",
833
+ expected: "(__type.o1 | __type.o4 | `chain:evm:${bigint}` | `chain:keeta:${bigint}`)",
834
+ value: input.location
835
+ }, _errorFactory)) && ("string" === typeof input.location && (RegExp(/^chain:keeta:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location) || RegExp(/^chain:evm:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location)) || ("object" === typeof input.location && null !== input.location || __typia_transform__assertGuard._assertGuard(_exceptionable, {
836
+ method: "createAssert",
837
+ path: _path + ".location",
838
+ expected: "(__type.o1 | __type.o4 | `chain:evm:${bigint}` | `chain:keeta:${bigint}`)",
839
+ value: input.location
840
+ }, _errorFactory)) && _au1(input.location, _path + ".location", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
841
+ method: "createAssert",
842
+ path: _path + ".location",
843
+ expected: "(__type.o1 | __type.o4 | `chain:evm:${bigint}` | `chain:keeta:${bigint}`)",
844
+ value: input.location
845
+ }, _errorFactory)) && ("string" === typeof input.recipient || __typia_transform__assertGuard._assertGuard(_exceptionable, {
846
+ method: "createAssert",
847
+ path: _path + ".recipient",
848
+ expected: "string",
849
+ value: input.recipient
850
+ }, _errorFactory)); const _au0 = (input, _path, _exceptionable = true) => (() => {
851
+ if (undefined !== input.code)
852
+ return _ao1(input, _path, true && _exceptionable);
853
+ else
854
+ return _ao2(input, _path, true && _exceptionable);
855
+ })(); const _au1 = (input, _path, _exceptionable = true) => (() => {
856
+ if ("chain" === input.type)
857
+ return _ao4(input, _path, true && _exceptionable);
858
+ else if ("bank-account" === input.type)
859
+ return _ao7(input, _path, true && _exceptionable);
860
+ else
861
+ return __typia_transform__assertGuard._assertGuard(_exceptionable, {
862
+ method: "createAssert",
863
+ path: _path,
864
+ expected: "(__type.o1 | __type.o4)",
865
+ value: input
866
+ }, _errorFactory);
867
+ })(); const _au2 = (input, _path, _exceptionable = true) => (() => {
868
+ if ("keeta" === input.type)
869
+ return _ao5(input, _path, true && _exceptionable);
870
+ else if ("evm" === input.type)
871
+ return _ao6(input, _path, true && _exceptionable);
872
+ else
873
+ return __typia_transform__assertGuard._assertGuard(_exceptionable, {
874
+ method: "createAssert",
875
+ path: _path,
876
+ expected: "(__type.o2 | __type.o3)",
877
+ value: input
878
+ }, _errorFactory);
879
+ })(); const __is = input => "object" === typeof input && null !== input && _io0(input); let _errorFactory; return (input, errorFactory) => {
880
+ if (false === __is(input)) {
881
+ _errorFactory = errorFactory;
882
+ ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || __typia_transform__assertGuard._assertGuard(true, {
883
+ method: "createAssert",
884
+ path: _path + "",
885
+ expected: "KeetaAssetMovementAnchorInitiateTransferRequest",
886
+ value: input
887
+ }, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
888
+ method: "createAssert",
889
+ path: _path + "",
890
+ expected: "KeetaAssetMovementAnchorInitiateTransferRequest",
891
+ value: input
892
+ }, _errorFactory))(input, "$input", true);
893
+ }
894
+ return input;
895
+ }; })();
896
+ export const assertKeetaAssetMovementAnchorInitiateTransferResponse = (() => { const _io0 = (input, _exceptionable = true) => true === input.ok && "string" === typeof input.id && (Array.isArray(input.instructionChoices) && input.instructionChoices.every((elem, _index1) => "object" === typeof elem && null !== elem && _iu0(elem, true && _exceptionable))) && (3 === Object.keys(input).length || Object.keys(input).every(key => {
897
+ if (["ok", "id", "instructionChoices"].some(prop => key === prop))
898
+ return true;
899
+ const value = input[key];
900
+ if (undefined === value)
901
+ return true;
902
+ return false;
903
+ })); const _io1 = (input, _exceptionable = true) => "KEETA_SEND" === input.type && (null !== input.location && undefined !== input.location && ("string" === typeof input.location && (RegExp(/^chain:keeta:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location) || RegExp(/^chain:evm:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location)) || "object" === typeof input.location && null !== input.location && _iu1(input.location, true && _exceptionable))) && "string" === typeof input.sendToAddress && "string" === typeof input.value && "string" === typeof input.tokenAddress && (undefined === input.external || "string" === typeof input.external) && "string" === typeof input.assetFee && (6 === Object.keys(input).length || Object.keys(input).every(key => {
904
+ if (["type", "location", "sendToAddress", "value", "tokenAddress", "external", "assetFee"].some(prop => key === prop))
905
+ return true;
906
+ const value = input[key];
907
+ if (undefined === value)
908
+ return true;
909
+ return false;
910
+ })); const _io2 = (input, _exceptionable = true) => "chain" === input.type && ("object" === typeof input.chain && null !== input.chain && _iu2(input.chain, true && _exceptionable)) && (2 === Object.keys(input).length || Object.keys(input).every(key => {
911
+ if (["type", "chain"].some(prop => key === prop))
912
+ return true;
913
+ const value = input[key];
914
+ if (undefined === value)
915
+ return true;
916
+ return false;
917
+ })); const _io3 = (input, _exceptionable = true) => "keeta" === input.type && "bigint" === typeof input.networkId && (2 === Object.keys(input).length || Object.keys(input).every(key => {
918
+ if (["type", "networkId"].some(prop => key === prop))
919
+ return true;
920
+ const value = input[key];
921
+ if (undefined === value)
922
+ return true;
923
+ return false;
924
+ })); const _io4 = (input, _exceptionable = true) => "evm" === input.type && "bigint" === typeof input.chainId && (2 === Object.keys(input).length || Object.keys(input).every(key => {
925
+ if (["type", "chainId"].some(prop => key === prop))
926
+ return true;
927
+ const value = input[key];
928
+ if (undefined === value)
929
+ return true;
930
+ return false;
931
+ })); const _io5 = (input, _exceptionable = true) => "bank-account" === input.type && (null !== input.workInProgress && undefined === input.workInProgress) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
932
+ if (["type", "workInProgress"].some(prop => key === prop))
933
+ return true;
934
+ const value = input[key];
935
+ if (undefined === value)
936
+ return true;
937
+ return false;
938
+ })); const _io6 = (input, _exceptionable = true) => "EVM_SEND" === input.type && (null !== input.location && undefined !== input.location && ("string" === typeof input.location && (RegExp(/^chain:keeta:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location) || RegExp(/^chain:evm:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location)) || "object" === typeof input.location && null !== input.location && _iu1(input.location, true && _exceptionable))) && "string" === typeof input.sendToAddress && "string" === typeof input.value && ("string" === typeof input.tokenAddress && RegExp(/^0x(.*)/).test(input.tokenAddress)) && "string" === typeof input.assetFee && (6 === Object.keys(input).length || Object.keys(input).every(key => {
939
+ if (["type", "location", "sendToAddress", "value", "tokenAddress", "assetFee"].some(prop => key === prop))
940
+ return true;
941
+ const value = input[key];
942
+ if (undefined === value)
943
+ return true;
944
+ return false;
945
+ })); const _io7 = (input, _exceptionable = true) => "EVM_CALL" === input.type && (null !== input.location && undefined !== input.location && ("string" === typeof input.location && (RegExp(/^chain:keeta:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location) || RegExp(/^chain:evm:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location)) || "object" === typeof input.location && null !== input.location && _iu1(input.location, true && _exceptionable))) && "string" === typeof input.contractAddress && "string" === typeof input.contractMethodName && (Array.isArray(input.contractMethodArgs) && input.contractMethodArgs.every((elem, _index2) => "string" === typeof elem)) && "string" === typeof input.assetFee && (6 === Object.keys(input).length || Object.keys(input).every(key => {
946
+ if (["type", "location", "contractAddress", "contractMethodName", "contractMethodArgs", "assetFee"].some(prop => key === prop))
947
+ return true;
948
+ const value = input[key];
949
+ if (undefined === value)
950
+ return true;
951
+ return false;
952
+ })); const _io8 = (input, _exceptionable = true) => false === input.ok && "string" === typeof input.error && (2 === Object.keys(input).length || Object.keys(input).every(key => {
953
+ if (["ok", "error"].some(prop => key === prop))
954
+ return true;
955
+ const value = input[key];
956
+ if (undefined === value)
957
+ return true;
958
+ return false;
959
+ })); const _iu0 = (input, _exceptionable = true) => (() => {
960
+ if ("KEETA_SEND" === input.type)
961
+ return _io1(input, true && _exceptionable);
962
+ else if ("EVM_SEND" === input.type)
963
+ return _io6(input, true && _exceptionable);
964
+ else if ("EVM_CALL" === input.type)
965
+ return _io7(input, true && _exceptionable);
966
+ else
967
+ return false;
968
+ })(); const _iu1 = (input, _exceptionable = true) => (() => {
969
+ if ("chain" === input.type)
970
+ return _io2(input, true && _exceptionable);
971
+ else if ("bank-account" === input.type)
972
+ return _io5(input, true && _exceptionable);
973
+ else
974
+ return false;
975
+ })(); const _iu2 = (input, _exceptionable = true) => (() => {
976
+ if ("keeta" === input.type)
977
+ return _io3(input, true && _exceptionable);
978
+ else if ("evm" === input.type)
979
+ return _io4(input, true && _exceptionable);
980
+ else
981
+ return false;
982
+ })(); const _iu3 = (input, _exceptionable = true) => (() => {
983
+ if (true === input.ok)
984
+ return _io0(input, true && _exceptionable);
985
+ else if (false === input.ok)
986
+ return _io8(input, true && _exceptionable);
987
+ else
988
+ return false;
989
+ })(); const _ao0 = (input, _path, _exceptionable = true) => (true === input.ok || __typia_transform__assertGuard._assertGuard(_exceptionable, {
990
+ method: "createAssertEquals",
991
+ path: _path + ".ok",
992
+ expected: "true",
993
+ value: input.ok
994
+ }, _errorFactory)) && ("string" === typeof input.id || __typia_transform__assertGuard._assertGuard(_exceptionable, {
995
+ method: "createAssertEquals",
996
+ path: _path + ".id",
997
+ expected: "string",
998
+ value: input.id
999
+ }, _errorFactory)) && ((Array.isArray(input.instructionChoices) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1000
+ method: "createAssertEquals",
1001
+ path: _path + ".instructionChoices",
1002
+ expected: "Array<AssetTransferInstructions>",
1003
+ value: input.instructionChoices
1004
+ }, _errorFactory)) && input.instructionChoices.every((elem, _index3) => ("object" === typeof elem && null !== elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1005
+ method: "createAssertEquals",
1006
+ path: _path + ".instructionChoices[" + _index3 + "]",
1007
+ expected: "({ type: \"EVM_CALL\"; location: AssetLocationLike; contractAddress: string; contractMethodName: string; contractMethodArgs: string[]; } & { assetFee: string; } | { type: \"EVM_SEND\"; location: AssetLocationLike; sendToAddress: string; value: string; tokenAddress: `0x${string}`; } & { assetFee: string; } | { type: \"KEETA_SEND\"; location: AssetLocationLike; sendToAddress: string; value: string; tokenAddress: string; external?: string; } & { assetFee: string; })",
1008
+ value: elem
1009
+ }, _errorFactory)) && _au0(elem, _path + ".instructionChoices[" + _index3 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1010
+ method: "createAssertEquals",
1011
+ path: _path + ".instructionChoices[" + _index3 + "]",
1012
+ expected: "({ type: \"EVM_CALL\"; location: AssetLocationLike; contractAddress: string; contractMethodName: string; contractMethodArgs: string[]; } & { assetFee: string; } | { type: \"EVM_SEND\"; location: AssetLocationLike; sendToAddress: string; value: string; tokenAddress: `0x${string}`; } & { assetFee: string; } | { type: \"KEETA_SEND\"; location: AssetLocationLike; sendToAddress: string; value: string; tokenAddress: string; external?: string; } & { assetFee: string; })",
1013
+ value: elem
1014
+ }, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1015
+ method: "createAssertEquals",
1016
+ path: _path + ".instructionChoices",
1017
+ expected: "Array<AssetTransferInstructions>",
1018
+ value: input.instructionChoices
1019
+ }, _errorFactory)) && (3 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).every(key => {
1020
+ if (["ok", "id", "instructionChoices"].some(prop => key === prop))
1021
+ return true;
1022
+ const value = input[key];
1023
+ if (undefined === value)
1024
+ return true;
1025
+ return __typia_transform__assertGuard._assertGuard(_exceptionable, {
1026
+ method: "createAssertEquals",
1027
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
1028
+ expected: "undefined",
1029
+ value: value
1030
+ }, _errorFactory);
1031
+ }))); const _ao1 = (input, _path, _exceptionable = true) => ("KEETA_SEND" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1032
+ method: "createAssertEquals",
1033
+ path: _path + ".type",
1034
+ expected: "\"KEETA_SEND\"",
1035
+ value: input.type
1036
+ }, _errorFactory)) && ((null !== input.location || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1037
+ method: "createAssertEquals",
1038
+ path: _path + ".location",
1039
+ expected: "(__type.o2 | __type.o5 | `chain:evm:${bigint}` | `chain:keeta:${bigint}`)",
1040
+ value: input.location
1041
+ }, _errorFactory)) && (undefined !== input.location || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1042
+ method: "createAssertEquals",
1043
+ path: _path + ".location",
1044
+ expected: "(__type.o2 | __type.o5 | `chain:evm:${bigint}` | `chain:keeta:${bigint}`)",
1045
+ value: input.location
1046
+ }, _errorFactory)) && ("string" === typeof input.location && (RegExp(/^chain:keeta:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location) || RegExp(/^chain:evm:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location)) || ("object" === typeof input.location && null !== input.location || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1047
+ method: "createAssertEquals",
1048
+ path: _path + ".location",
1049
+ expected: "(__type.o2 | __type.o5 | `chain:evm:${bigint}` | `chain:keeta:${bigint}`)",
1050
+ value: input.location
1051
+ }, _errorFactory)) && _au1(input.location, _path + ".location", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1052
+ method: "createAssertEquals",
1053
+ path: _path + ".location",
1054
+ expected: "(__type.o2 | __type.o5 | `chain:evm:${bigint}` | `chain:keeta:${bigint}`)",
1055
+ value: input.location
1056
+ }, _errorFactory))) && ("string" === typeof input.sendToAddress || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1057
+ method: "createAssertEquals",
1058
+ path: _path + ".sendToAddress",
1059
+ expected: "string",
1060
+ value: input.sendToAddress
1061
+ }, _errorFactory)) && ("string" === typeof input.value || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1062
+ method: "createAssertEquals",
1063
+ path: _path + ".value",
1064
+ expected: "string",
1065
+ value: input.value
1066
+ }, _errorFactory)) && ("string" === typeof input.tokenAddress || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1067
+ method: "createAssertEquals",
1068
+ path: _path + ".tokenAddress",
1069
+ expected: "string",
1070
+ value: input.tokenAddress
1071
+ }, _errorFactory)) && (undefined === input.external || "string" === typeof input.external || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1072
+ method: "createAssertEquals",
1073
+ path: _path + ".external",
1074
+ expected: "(string | undefined)",
1075
+ value: input.external
1076
+ }, _errorFactory)) && ("string" === typeof input.assetFee || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1077
+ method: "createAssertEquals",
1078
+ path: _path + ".assetFee",
1079
+ expected: "string",
1080
+ value: input.assetFee
1081
+ }, _errorFactory)) && (6 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).every(key => {
1082
+ if (["type", "location", "sendToAddress", "value", "tokenAddress", "external", "assetFee"].some(prop => key === prop))
1083
+ return true;
1084
+ const value = input[key];
1085
+ if (undefined === value)
1086
+ return true;
1087
+ return __typia_transform__assertGuard._assertGuard(_exceptionable, {
1088
+ method: "createAssertEquals",
1089
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
1090
+ expected: "undefined",
1091
+ value: value
1092
+ }, _errorFactory);
1093
+ }))); const _ao2 = (input, _path, _exceptionable = true) => ("chain" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1094
+ method: "createAssertEquals",
1095
+ path: _path + ".type",
1096
+ expected: "\"chain\"",
1097
+ value: input.type
1098
+ }, _errorFactory)) && (("object" === typeof input.chain && null !== input.chain || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1099
+ method: "createAssertEquals",
1100
+ path: _path + ".chain",
1101
+ expected: "(__type.o3 | __type.o4)",
1102
+ value: input.chain
1103
+ }, _errorFactory)) && _au2(input.chain, _path + ".chain", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1104
+ method: "createAssertEquals",
1105
+ path: _path + ".chain",
1106
+ expected: "(__type.o3 | __type.o4)",
1107
+ value: input.chain
1108
+ }, _errorFactory)) && (2 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).every(key => {
1109
+ if (["type", "chain"].some(prop => key === prop))
1110
+ return true;
1111
+ const value = input[key];
1112
+ if (undefined === value)
1113
+ return true;
1114
+ return __typia_transform__assertGuard._assertGuard(_exceptionable, {
1115
+ method: "createAssertEquals",
1116
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
1117
+ expected: "undefined",
1118
+ value: value
1119
+ }, _errorFactory);
1120
+ }))); const _ao3 = (input, _path, _exceptionable = true) => ("keeta" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1121
+ method: "createAssertEquals",
1122
+ path: _path + ".type",
1123
+ expected: "\"keeta\"",
1124
+ value: input.type
1125
+ }, _errorFactory)) && ("bigint" === typeof input.networkId || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1126
+ method: "createAssertEquals",
1127
+ path: _path + ".networkId",
1128
+ expected: "bigint",
1129
+ value: input.networkId
1130
+ }, _errorFactory)) && (2 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).every(key => {
1131
+ if (["type", "networkId"].some(prop => key === prop))
1132
+ return true;
1133
+ const value = input[key];
1134
+ if (undefined === value)
1135
+ return true;
1136
+ return __typia_transform__assertGuard._assertGuard(_exceptionable, {
1137
+ method: "createAssertEquals",
1138
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
1139
+ expected: "undefined",
1140
+ value: value
1141
+ }, _errorFactory);
1142
+ }))); const _ao4 = (input, _path, _exceptionable = true) => ("evm" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1143
+ method: "createAssertEquals",
1144
+ path: _path + ".type",
1145
+ expected: "\"evm\"",
1146
+ value: input.type
1147
+ }, _errorFactory)) && ("bigint" === typeof input.chainId || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1148
+ method: "createAssertEquals",
1149
+ path: _path + ".chainId",
1150
+ expected: "bigint",
1151
+ value: input.chainId
1152
+ }, _errorFactory)) && (2 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).every(key => {
1153
+ if (["type", "chainId"].some(prop => key === prop))
1154
+ return true;
1155
+ const value = input[key];
1156
+ if (undefined === value)
1157
+ return true;
1158
+ return __typia_transform__assertGuard._assertGuard(_exceptionable, {
1159
+ method: "createAssertEquals",
1160
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
1161
+ expected: "undefined",
1162
+ value: value
1163
+ }, _errorFactory);
1164
+ }))); const _ao5 = (input, _path, _exceptionable = true) => ("bank-account" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1165
+ method: "createAssertEquals",
1166
+ path: _path + ".type",
1167
+ expected: "\"bank-account\"",
1168
+ value: input.type
1169
+ }, _errorFactory)) && ((null !== input.workInProgress || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1170
+ method: "createAssertEquals",
1171
+ path: _path + ".workInProgress",
1172
+ expected: "undefined",
1173
+ value: input.workInProgress
1174
+ }, _errorFactory)) && (undefined === input.workInProgress || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1175
+ method: "createAssertEquals",
1176
+ path: _path + ".workInProgress",
1177
+ expected: "undefined",
1178
+ value: input.workInProgress
1179
+ }, _errorFactory))) && (1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).every(key => {
1180
+ if (["type", "workInProgress"].some(prop => key === prop))
1181
+ return true;
1182
+ const value = input[key];
1183
+ if (undefined === value)
1184
+ return true;
1185
+ return __typia_transform__assertGuard._assertGuard(_exceptionable, {
1186
+ method: "createAssertEquals",
1187
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
1188
+ expected: "undefined",
1189
+ value: value
1190
+ }, _errorFactory);
1191
+ }))); const _ao6 = (input, _path, _exceptionable = true) => ("EVM_SEND" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1192
+ method: "createAssertEquals",
1193
+ path: _path + ".type",
1194
+ expected: "\"EVM_SEND\"",
1195
+ value: input.type
1196
+ }, _errorFactory)) && ((null !== input.location || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1197
+ method: "createAssertEquals",
1198
+ path: _path + ".location",
1199
+ expected: "(__type.o2 | __type.o5 | `chain:evm:${bigint}` | `chain:keeta:${bigint}`)",
1200
+ value: input.location
1201
+ }, _errorFactory)) && (undefined !== input.location || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1202
+ method: "createAssertEquals",
1203
+ path: _path + ".location",
1204
+ expected: "(__type.o2 | __type.o5 | `chain:evm:${bigint}` | `chain:keeta:${bigint}`)",
1205
+ value: input.location
1206
+ }, _errorFactory)) && ("string" === typeof input.location && (RegExp(/^chain:keeta:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location) || RegExp(/^chain:evm:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location)) || ("object" === typeof input.location && null !== input.location || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1207
+ method: "createAssertEquals",
1208
+ path: _path + ".location",
1209
+ expected: "(__type.o2 | __type.o5 | `chain:evm:${bigint}` | `chain:keeta:${bigint}`)",
1210
+ value: input.location
1211
+ }, _errorFactory)) && _au1(input.location, _path + ".location", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1212
+ method: "createAssertEquals",
1213
+ path: _path + ".location",
1214
+ expected: "(__type.o2 | __type.o5 | `chain:evm:${bigint}` | `chain:keeta:${bigint}`)",
1215
+ value: input.location
1216
+ }, _errorFactory))) && ("string" === typeof input.sendToAddress || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1217
+ method: "createAssertEquals",
1218
+ path: _path + ".sendToAddress",
1219
+ expected: "string",
1220
+ value: input.sendToAddress
1221
+ }, _errorFactory)) && ("string" === typeof input.value || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1222
+ method: "createAssertEquals",
1223
+ path: _path + ".value",
1224
+ expected: "string",
1225
+ value: input.value
1226
+ }, _errorFactory)) && ("string" === typeof input.tokenAddress && RegExp(/^0x(.*)/).test(input.tokenAddress) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1227
+ method: "createAssertEquals",
1228
+ path: _path + ".tokenAddress",
1229
+ expected: "`0x${string}`",
1230
+ value: input.tokenAddress
1231
+ }, _errorFactory)) && ("string" === typeof input.assetFee || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1232
+ method: "createAssertEquals",
1233
+ path: _path + ".assetFee",
1234
+ expected: "string",
1235
+ value: input.assetFee
1236
+ }, _errorFactory)) && (6 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).every(key => {
1237
+ if (["type", "location", "sendToAddress", "value", "tokenAddress", "assetFee"].some(prop => key === prop))
1238
+ return true;
1239
+ const value = input[key];
1240
+ if (undefined === value)
1241
+ return true;
1242
+ return __typia_transform__assertGuard._assertGuard(_exceptionable, {
1243
+ method: "createAssertEquals",
1244
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
1245
+ expected: "undefined",
1246
+ value: value
1247
+ }, _errorFactory);
1248
+ }))); const _ao7 = (input, _path, _exceptionable = true) => ("EVM_CALL" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1249
+ method: "createAssertEquals",
1250
+ path: _path + ".type",
1251
+ expected: "\"EVM_CALL\"",
1252
+ value: input.type
1253
+ }, _errorFactory)) && ((null !== input.location || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1254
+ method: "createAssertEquals",
1255
+ path: _path + ".location",
1256
+ expected: "(__type.o2 | __type.o5 | `chain:evm:${bigint}` | `chain:keeta:${bigint}`)",
1257
+ value: input.location
1258
+ }, _errorFactory)) && (undefined !== input.location || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1259
+ method: "createAssertEquals",
1260
+ path: _path + ".location",
1261
+ expected: "(__type.o2 | __type.o5 | `chain:evm:${bigint}` | `chain:keeta:${bigint}`)",
1262
+ value: input.location
1263
+ }, _errorFactory)) && ("string" === typeof input.location && (RegExp(/^chain:keeta:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location) || RegExp(/^chain:evm:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location)) || ("object" === typeof input.location && null !== input.location || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1264
+ method: "createAssertEquals",
1265
+ path: _path + ".location",
1266
+ expected: "(__type.o2 | __type.o5 | `chain:evm:${bigint}` | `chain:keeta:${bigint}`)",
1267
+ value: input.location
1268
+ }, _errorFactory)) && _au1(input.location, _path + ".location", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1269
+ method: "createAssertEquals",
1270
+ path: _path + ".location",
1271
+ expected: "(__type.o2 | __type.o5 | `chain:evm:${bigint}` | `chain:keeta:${bigint}`)",
1272
+ value: input.location
1273
+ }, _errorFactory))) && ("string" === typeof input.contractAddress || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1274
+ method: "createAssertEquals",
1275
+ path: _path + ".contractAddress",
1276
+ expected: "string",
1277
+ value: input.contractAddress
1278
+ }, _errorFactory)) && ("string" === typeof input.contractMethodName || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1279
+ method: "createAssertEquals",
1280
+ path: _path + ".contractMethodName",
1281
+ expected: "string",
1282
+ value: input.contractMethodName
1283
+ }, _errorFactory)) && ((Array.isArray(input.contractMethodArgs) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1284
+ method: "createAssertEquals",
1285
+ path: _path + ".contractMethodArgs",
1286
+ expected: "Array<string>",
1287
+ value: input.contractMethodArgs
1288
+ }, _errorFactory)) && input.contractMethodArgs.every((elem, _index4) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1289
+ method: "createAssertEquals",
1290
+ path: _path + ".contractMethodArgs[" + _index4 + "]",
1291
+ expected: "string",
1292
+ value: elem
1293
+ }, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1294
+ method: "createAssertEquals",
1295
+ path: _path + ".contractMethodArgs",
1296
+ expected: "Array<string>",
1297
+ value: input.contractMethodArgs
1298
+ }, _errorFactory)) && ("string" === typeof input.assetFee || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1299
+ method: "createAssertEquals",
1300
+ path: _path + ".assetFee",
1301
+ expected: "string",
1302
+ value: input.assetFee
1303
+ }, _errorFactory)) && (6 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).every(key => {
1304
+ if (["type", "location", "contractAddress", "contractMethodName", "contractMethodArgs", "assetFee"].some(prop => key === prop))
1305
+ return true;
1306
+ const value = input[key];
1307
+ if (undefined === value)
1308
+ return true;
1309
+ return __typia_transform__assertGuard._assertGuard(_exceptionable, {
1310
+ method: "createAssertEquals",
1311
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
1312
+ expected: "undefined",
1313
+ value: value
1314
+ }, _errorFactory);
1315
+ }))); const _ao8 = (input, _path, _exceptionable = true) => (false === input.ok || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1316
+ method: "createAssertEquals",
1317
+ path: _path + ".ok",
1318
+ expected: "false",
1319
+ value: input.ok
1320
+ }, _errorFactory)) && ("string" === typeof input.error || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1321
+ method: "createAssertEquals",
1322
+ path: _path + ".error",
1323
+ expected: "string",
1324
+ value: input.error
1325
+ }, _errorFactory)) && (2 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).every(key => {
1326
+ if (["ok", "error"].some(prop => key === prop))
1327
+ return true;
1328
+ const value = input[key];
1329
+ if (undefined === value)
1330
+ return true;
1331
+ return __typia_transform__assertGuard._assertGuard(_exceptionable, {
1332
+ method: "createAssertEquals",
1333
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
1334
+ expected: "undefined",
1335
+ value: value
1336
+ }, _errorFactory);
1337
+ }))); const _au0 = (input, _path, _exceptionable = true) => (() => {
1338
+ if ("KEETA_SEND" === input.type)
1339
+ return _ao1(input, _path, true && _exceptionable);
1340
+ else if ("EVM_SEND" === input.type)
1341
+ return _ao6(input, _path, true && _exceptionable);
1342
+ else if ("EVM_CALL" === input.type)
1343
+ return _ao7(input, _path, true && _exceptionable);
1344
+ else
1345
+ return __typia_transform__assertGuard._assertGuard(_exceptionable, {
1346
+ method: "createAssertEquals",
1347
+ path: _path,
1348
+ expected: "({ type: \"KEETA_SEND\"; location: AssetLocationLike; sendToAddress: string; value: string; tokenAddress: string; external?: string; } & { assetFee: string; } | { type: \"EVM_SEND\"; location: AssetLocationLike; sendToAddress: string; value: string; tokenAddress: `0x${string}`; } & { assetFee: string; } | { type: \"EVM_CALL\"; location: AssetLocationLike; contractAddress: string; contractMethodName: string; contractMethodArgs: string[]; } & { assetFee: string; })",
1349
+ value: input
1350
+ }, _errorFactory);
1351
+ })(); const _au1 = (input, _path, _exceptionable = true) => (() => {
1352
+ if ("chain" === input.type)
1353
+ return _ao2(input, _path, true && _exceptionable);
1354
+ else if ("bank-account" === input.type)
1355
+ return _ao5(input, _path, true && _exceptionable);
1356
+ else
1357
+ return __typia_transform__assertGuard._assertGuard(_exceptionable, {
1358
+ method: "createAssertEquals",
1359
+ path: _path,
1360
+ expected: "(__type.o2 | __type.o5)",
1361
+ value: input
1362
+ }, _errorFactory);
1363
+ })(); const _au2 = (input, _path, _exceptionable = true) => (() => {
1364
+ if ("keeta" === input.type)
1365
+ return _ao3(input, _path, true && _exceptionable);
1366
+ else if ("evm" === input.type)
1367
+ return _ao4(input, _path, true && _exceptionable);
1368
+ else
1369
+ return __typia_transform__assertGuard._assertGuard(_exceptionable, {
1370
+ method: "createAssertEquals",
1371
+ path: _path,
1372
+ expected: "(__type.o3 | __type.o4)",
1373
+ value: input
1374
+ }, _errorFactory);
1375
+ })(); const _au3 = (input, _path, _exceptionable = true) => (() => {
1376
+ if (true === input.ok)
1377
+ return _ao0(input, _path, true && _exceptionable);
1378
+ else if (false === input.ok)
1379
+ return _ao8(input, _path, true && _exceptionable);
1380
+ else
1381
+ return __typia_transform__assertGuard._assertGuard(_exceptionable, {
1382
+ method: "createAssertEquals",
1383
+ path: _path,
1384
+ expected: "(__type | __type.o9)",
1385
+ value: input
1386
+ }, _errorFactory);
1387
+ })(); const __is = (input, _exceptionable = true) => "object" === typeof input && null !== input && _iu3(input, true); let _errorFactory; return (input, errorFactory) => {
1388
+ if (false === __is(input)) {
1389
+ _errorFactory = errorFactory;
1390
+ ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || __typia_transform__assertGuard._assertGuard(true, {
1391
+ method: "createAssertEquals",
1392
+ path: _path + "",
1393
+ expected: "(__type | __type.o9)",
1394
+ value: input
1395
+ }, _errorFactory)) && _au3(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
1396
+ method: "createAssertEquals",
1397
+ path: _path + "",
1398
+ expected: "(__type | __type.o9)",
1399
+ value: input
1400
+ }, _errorFactory))(input, "$input", true);
1401
+ }
1402
+ return input;
1403
+ }; })();
1404
+ export const assertKeetaAssetMovementAnchorGetTransferStatusRequest = (() => { const _io0 = input => "string" === typeof input.id; const _ao0 = (input, _path, _exceptionable = true) => "string" === typeof input.id || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1405
+ method: "createAssert",
1406
+ path: _path + ".id",
1407
+ expected: "string",
1408
+ value: input.id
1409
+ }, _errorFactory); const __is = input => "object" === typeof input && null !== input && _io0(input); let _errorFactory; return (input, errorFactory) => {
1410
+ if (false === __is(input)) {
1411
+ _errorFactory = errorFactory;
1412
+ ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || __typia_transform__assertGuard._assertGuard(true, {
1413
+ method: "createAssert",
1414
+ path: _path + "",
1415
+ expected: "KeetaAssetMovementAnchorGetTransferStatusRequest",
1416
+ value: input
1417
+ }, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
1418
+ method: "createAssert",
1419
+ path: _path + "",
1420
+ expected: "KeetaAssetMovementAnchorGetTransferStatusRequest",
1421
+ value: input
1422
+ }, _errorFactory))(input, "$input", true);
1423
+ }
1424
+ return input;
1425
+ }; })();
1426
+ export const assertKeetaAssetMovementAnchorGetTransferStatusResponse = (() => { const _iv1 = new Set(["ALL", "AFN", "EUR", "DZD", "USD", "AOA", "XCD", "ARS", "AMD", "AWG", "AUD", "AZN", "BSD", "BHD", "BDT", "BBD", "BYN", "BZD", "XOF", "BMD", "INR", "BTN", "BOB", "BOV", "BAM", "BWP", "NOK", "BRL", "BND", "BGN", "BIF", "CVE", "KHR", "XAF", "CAD", "KYD", "CLP", "CLF", "CNY", "COP", "COU", "KMF", "CDF", "NZD", "CRC", "CUP", "CUC", "ANG", "CZK", "DKK", "DJF", "DOP", "EGP", "SVC", "ERN", "SZL", "ETB", "FKP", "FJD", "XPF", "GMD", "GEL", "GHS", "GIP", "GTQ", "GBP", "GNF", "GYD", "HTG", "HNL", "HKD", "HUF", "ISK", "IDR", "IRR", "IQD", "ILS", "JMD", "JPY", "JOD", "KZT", "KES", "KPW", "KRW", "KWD", "KGS", "LAK", "LBP", "LSL", "ZAR", "LRD", "LYD", "CHF", "MOP", "MKD", "MGA", "MWK", "MYR", "MVR", "MRU", "MUR", "MXN", "MXV", "MDL", "MNT", "MAD", "MZN", "MMK", "NAD", "NPR", "NIO", "NGN", "OMR", "PKR", "PAB", "PGK", "PYG", "PEN", "PHP", "PLN", "QAR", "RON", "RUB", "RWF", "SHP", "WST", "STN", "SAR", "RSD", "SCR", "SLL", "SLE", "SGD", "SBD", "SOS", "SSP", "LKR", "SDG", "SRD", "SEK", "CHE", "CHW", "SYP", "TWD", "TJS", "TZS", "THB", "TOP", "TTD", "TND", "TRY", "TMT", "UGX", "UAH", "AED", "USN", "UYU", "UYI", "UYW", "UZS", "VUV", "VES", "VED", "VND", "YER", "ZMW", "ZWL"]); const _iv2 = new Set(["971", "978", "8", "12", "840", "973", "951", "32", "51", "533", "36", "944", "44", "48", "50", "52", "933", "84", "952", "60", "356", "64", "68", "984", "977", "72", "578", "986", "96", "975", "108", "132", "116", "950", "124", "136", "152", "990", "156", "170", "970", "174", "976", "554", "188", "192", "931", "532", "203", "208", "262", "214", "818", "222", "232", "748", "230", "238", "242", "953", "270", "981", "936", "292", "320", "826", "324", "328", "332", "340", "344", "348", "352", "360", "364", "368", "376", "388", "392", "400", "398", "404", "408", "410", "414", "417", "418", "422", "426", "710", "430", "434", "756", "446", "807", "969", "454", "458", "462", "929", "480", "484", "979", "498", "496", "504", "943", "104", "516", "524", "558", "566", "512", "586", "590", "598", "600", "604", "608", "985", "634", "946", "643", "646", "654", "882", "930", "682", "941", "690", "694", "925", "702", "90", "706", "728", "144", "938", "968", "752", "947", "948", "760", "901", "972", "834", "764", "776", "780", "788", "949", "934", "800", "980", "784", "997", "858", "940", "927", "860", "548", "928", "926", "704", "886", "967", "932"]); const _av3 = new Set(["ALL", "AFN", "EUR", "DZD", "USD", "AOA", "XCD", "ARS", "AMD", "AWG", "AUD", "AZN", "BSD", "BHD", "BDT", "BBD", "BYN", "BZD", "XOF", "BMD", "INR", "BTN", "BOB", "BOV", "BAM", "BWP", "NOK", "BRL", "BND", "BGN", "BIF", "CVE", "KHR", "XAF", "CAD", "KYD", "CLP", "CLF", "CNY", "COP", "COU", "KMF", "CDF", "NZD", "CRC", "CUP", "CUC", "ANG", "CZK", "DKK", "DJF", "DOP", "EGP", "SVC", "ERN", "SZL", "ETB", "FKP", "FJD", "XPF", "GMD", "GEL", "GHS", "GIP", "GTQ", "GBP", "GNF", "GYD", "HTG", "HNL", "HKD", "HUF", "ISK", "IDR", "IRR", "IQD", "ILS", "JMD", "JPY", "JOD", "KZT", "KES", "KPW", "KRW", "KWD", "KGS", "LAK", "LBP", "LSL", "ZAR", "LRD", "LYD", "CHF", "MOP", "MKD", "MGA", "MWK", "MYR", "MVR", "MRU", "MUR", "MXN", "MXV", "MDL", "MNT", "MAD", "MZN", "MMK", "NAD", "NPR", "NIO", "NGN", "OMR", "PKR", "PAB", "PGK", "PYG", "PEN", "PHP", "PLN", "QAR", "RON", "RUB", "RWF", "SHP", "WST", "STN", "SAR", "RSD", "SCR", "SLL", "SLE", "SGD", "SBD", "SOS", "SSP", "LKR", "SDG", "SRD", "SEK", "CHE", "CHW", "SYP", "TWD", "TJS", "TZS", "THB", "TOP", "TTD", "TND", "TRY", "TMT", "UGX", "UAH", "AED", "USN", "UYU", "UYI", "UYW", "UZS", "VUV", "VES", "VED", "VND", "YER", "ZMW", "ZWL"]); const _av4 = new Set(["971", "978", "8", "12", "840", "973", "951", "32", "51", "533", "36", "944", "44", "48", "50", "52", "933", "84", "952", "60", "356", "64", "68", "984", "977", "72", "578", "986", "96", "975", "108", "132", "116", "950", "124", "136", "152", "990", "156", "170", "970", "174", "976", "554", "188", "192", "931", "532", "203", "208", "262", "214", "818", "222", "232", "748", "230", "238", "242", "953", "270", "981", "936", "292", "320", "826", "324", "328", "332", "340", "344", "348", "352", "360", "364", "368", "376", "388", "392", "400", "398", "404", "408", "410", "414", "417", "418", "422", "426", "710", "430", "434", "756", "446", "807", "969", "454", "458", "462", "929", "480", "484", "979", "498", "496", "504", "943", "104", "516", "524", "558", "566", "512", "586", "590", "598", "600", "604", "608", "985", "634", "946", "643", "646", "654", "882", "930", "682", "941", "690", "694", "925", "702", "90", "706", "728", "144", "938", "968", "752", "947", "948", "760", "901", "972", "834", "764", "776", "780", "788", "949", "934", "800", "980", "784", "997", "858", "940", "927", "860", "548", "928", "926", "704", "886", "967", "932"]); const _io0 = (input, _exceptionable = true) => true === input.ok && ("object" === typeof input.transaction && null !== input.transaction && _io1(input.transaction, true && _exceptionable)) && (2 === Object.keys(input).length || Object.keys(input).every(key => {
1427
+ if (["ok", "transaction"].some(prop => key === prop))
1428
+ return true;
1429
+ const value = input[key];
1430
+ if (undefined === value)
1431
+ return true;
1432
+ return false;
1433
+ })); const _io1 = (input, _exceptionable = true) => "string" === typeof input.id && "string" === typeof input.status && (null !== input.asset && undefined !== input.asset && ("string" === typeof input.asset && (RegExp(/^keeta_am(.*)/).test(input.asset) || RegExp(/^keeta_an(.*)/).test(input.asset) || RegExp(/^keeta_ao(.*)/).test(input.asset) || RegExp(/^keeta_ap(.*)/).test(input.asset) || RegExp(/^tyblocks_am(.*)/).test(input.asset) || RegExp(/^tyblocks_an(.*)/).test(input.asset) || RegExp(/^tyblocks_ao(.*)/).test(input.asset) || RegExp(/^tyblocks_ap(.*)/).test(input.asset)) || "object" === typeof input.asset && null !== input.asset && _iu0(input.asset, true && _exceptionable))) && ("object" === typeof input.from && null !== input.from && _io4(input.from, true && _exceptionable)) && ("object" === typeof input.to && null !== input.to && _io7(input.to, true && _exceptionable)) && (null === input.fee || "object" === typeof input.fee && null !== input.fee && _io9(input.fee, true && _exceptionable)) && "string" === typeof input.createdAt && "string" === typeof input.updatedAt && (8 === Object.keys(input).length || Object.keys(input).every(key => {
1434
+ if (["id", "status", "asset", "from", "to", "fee", "createdAt", "updatedAt"].some(prop => key === prop))
1435
+ return true;
1436
+ const value = input[key];
1437
+ if (undefined === value)
1438
+ return true;
1439
+ return false;
1440
+ })); const _io2 = (input, _exceptionable = true) => true && true === _iv1.has(input.code) && "string" === typeof input.name && "string" === typeof input.precision && true === _iv2.has(input.isoNumber) && (5 === Object.keys(input).length || Object.keys(input).every(key => {
1441
+ if (["#private", "code", "name", "precision", "isoNumber"].some(prop => key === prop))
1442
+ return true;
1443
+ const value = input[key];
1444
+ if (undefined === value)
1445
+ return true;
1446
+ return false;
1447
+ })); const _io3 = (input, _exceptionable = true) => true && (1 === Object.keys(input).length || Object.keys(input).every(key => {
1448
+ if (["#private"].some(prop => key === prop))
1449
+ return true;
1450
+ const value = input[key];
1451
+ if (undefined === value)
1452
+ return true;
1453
+ return false;
1454
+ })); const _io4 = (input, _exceptionable = true) => "string" === typeof input.location && (RegExp(/^chain:keeta:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location) || RegExp(/^chain:evm:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location)) && "string" === typeof input.value && ("object" === typeof input.transactions && null !== input.transactions && _io5(input.transactions, true && _exceptionable)) && (3 === Object.keys(input).length || Object.keys(input).every(key => {
1455
+ if (["location", "value", "transactions"].some(prop => key === prop))
1456
+ return true;
1457
+ const value = input[key];
1458
+ if (undefined === value)
1459
+ return true;
1460
+ return false;
1461
+ })); const _io5 = (input, _exceptionable = true) => (null === input.persistentForwarding || "object" === typeof input.persistentForwarding && null !== input.persistentForwarding && _io6(input.persistentForwarding, true && _exceptionable)) && (null === input.deposit || "object" === typeof input.deposit && null !== input.deposit && _io6(input.deposit, true && _exceptionable)) && (null === input.finalization || "object" === typeof input.finalization && null !== input.finalization && _io6(input.finalization, true && _exceptionable)) && (3 === Object.keys(input).length || Object.keys(input).every(key => {
1462
+ if (["persistentForwarding", "deposit", "finalization"].some(prop => key === prop))
1463
+ return true;
1464
+ const value = input[key];
1465
+ if (undefined === value)
1466
+ return true;
1467
+ return false;
1468
+ })); const _io6 = (input, _exceptionable = true) => "string" === typeof input.id && "string" === typeof input.nonce && (2 === Object.keys(input).length || Object.keys(input).every(key => {
1469
+ if (["id", "nonce"].some(prop => key === prop))
1470
+ return true;
1471
+ const value = input[key];
1472
+ if (undefined === value)
1473
+ return true;
1474
+ return false;
1475
+ })); const _io7 = (input, _exceptionable = true) => "string" === typeof input.location && (RegExp(/^chain:keeta:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location) || RegExp(/^chain:evm:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location)) && "string" === typeof input.value && ("object" === typeof input.transactions && null !== input.transactions && _io8(input.transactions, true && _exceptionable)) && (3 === Object.keys(input).length || Object.keys(input).every(key => {
1476
+ if (["location", "value", "transactions"].some(prop => key === prop))
1477
+ return true;
1478
+ const value = input[key];
1479
+ if (undefined === value)
1480
+ return true;
1481
+ return false;
1482
+ })); const _io8 = (input, _exceptionable = true) => (null === input.withdraw || "object" === typeof input.withdraw && null !== input.withdraw && _io6(input.withdraw, true && _exceptionable)) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
1483
+ if (["withdraw"].some(prop => key === prop))
1484
+ return true;
1485
+ const value = input[key];
1486
+ if (undefined === value)
1487
+ return true;
1488
+ return false;
1489
+ })); const _io9 = (input, _exceptionable = true) => null !== input.asset && undefined !== input.asset && ("string" === typeof input.asset && (RegExp(/^keeta_am(.*)/).test(input.asset) || RegExp(/^keeta_an(.*)/).test(input.asset) || RegExp(/^keeta_ao(.*)/).test(input.asset) || RegExp(/^keeta_ap(.*)/).test(input.asset) || RegExp(/^tyblocks_am(.*)/).test(input.asset) || RegExp(/^tyblocks_an(.*)/).test(input.asset) || RegExp(/^tyblocks_ao(.*)/).test(input.asset) || RegExp(/^tyblocks_ap(.*)/).test(input.asset)) || "object" === typeof input.asset && null !== input.asset && _iu0(input.asset, true && _exceptionable)) && "string" === typeof input.value && (2 === Object.keys(input).length || Object.keys(input).every(key => {
1490
+ if (["asset", "value"].some(prop => key === prop))
1491
+ return true;
1492
+ const value = input[key];
1493
+ if (undefined === value)
1494
+ return true;
1495
+ return false;
1496
+ })); const _io10 = (input, _exceptionable = true) => false === input.ok && "string" === typeof input.error && (2 === Object.keys(input).length || Object.keys(input).every(key => {
1497
+ if (["ok", "error"].some(prop => key === prop))
1498
+ return true;
1499
+ const value = input[key];
1500
+ if (undefined === value)
1501
+ return true;
1502
+ return false;
1503
+ })); const _iu0 = (input, _exceptionable = true) => (() => {
1504
+ if (undefined !== input.code)
1505
+ return _io2(input, true && _exceptionable);
1506
+ else
1507
+ return _io3(input, true && _exceptionable);
1508
+ })(); const _iu1 = (input, _exceptionable = true) => (() => {
1509
+ if (true === input.ok)
1510
+ return _io0(input, true && _exceptionable);
1511
+ else if (false === input.ok)
1512
+ return _io10(input, true && _exceptionable);
1513
+ else
1514
+ return false;
1515
+ })(); const _ao0 = (input, _path, _exceptionable = true) => (true === input.ok || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1516
+ method: "createAssertEquals",
1517
+ path: _path + ".ok",
1518
+ expected: "true",
1519
+ value: input.ok
1520
+ }, _errorFactory)) && (("object" === typeof input.transaction && null !== input.transaction || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1521
+ method: "createAssertEquals",
1522
+ path: _path + ".transaction",
1523
+ expected: "KeetaAssetMovementTransaction",
1524
+ value: input.transaction
1525
+ }, _errorFactory)) && _ao1(input.transaction, _path + ".transaction", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1526
+ method: "createAssertEquals",
1527
+ path: _path + ".transaction",
1528
+ expected: "KeetaAssetMovementTransaction",
1529
+ value: input.transaction
1530
+ }, _errorFactory)) && (2 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).every(key => {
1531
+ if (["ok", "transaction"].some(prop => key === prop))
1532
+ return true;
1533
+ const value = input[key];
1534
+ if (undefined === value)
1535
+ return true;
1536
+ return __typia_transform__assertGuard._assertGuard(_exceptionable, {
1537
+ method: "createAssertEquals",
1538
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
1539
+ expected: "undefined",
1540
+ value: value
1541
+ }, _errorFactory);
1542
+ }))); const _ao1 = (input, _path, _exceptionable = true) => ("string" === typeof input.id || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1543
+ method: "createAssertEquals",
1544
+ path: _path + ".id",
1545
+ expected: "string",
1546
+ value: input.id
1547
+ }, _errorFactory)) && ("string" === typeof input.status || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1548
+ method: "createAssertEquals",
1549
+ path: _path + ".status",
1550
+ expected: "string",
1551
+ value: input.status
1552
+ }, _errorFactory)) && ((null !== input.asset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1553
+ method: "createAssertEquals",
1554
+ path: _path + ".asset",
1555
+ expected: "(Currency | TokenAddress | `keeta_am${string}` | `keeta_an${string}` | `keeta_ao${string}` | `keeta_ap${string}` | `tyblocks_am${string}` | `tyblocks_an${string}` | `tyblocks_ao${string}` | `tyblocks_ap${string}`)",
1556
+ value: input.asset
1557
+ }, _errorFactory)) && (undefined !== input.asset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1558
+ method: "createAssertEquals",
1559
+ path: _path + ".asset",
1560
+ expected: "(Currency | TokenAddress | `keeta_am${string}` | `keeta_an${string}` | `keeta_ao${string}` | `keeta_ap${string}` | `tyblocks_am${string}` | `tyblocks_an${string}` | `tyblocks_ao${string}` | `tyblocks_ap${string}`)",
1561
+ value: input.asset
1562
+ }, _errorFactory)) && ("string" === typeof input.asset && (RegExp(/^keeta_am(.*)/).test(input.asset) || RegExp(/^keeta_an(.*)/).test(input.asset) || RegExp(/^keeta_ao(.*)/).test(input.asset) || RegExp(/^keeta_ap(.*)/).test(input.asset) || RegExp(/^tyblocks_am(.*)/).test(input.asset) || RegExp(/^tyblocks_an(.*)/).test(input.asset) || RegExp(/^tyblocks_ao(.*)/).test(input.asset) || RegExp(/^tyblocks_ap(.*)/).test(input.asset)) || ("object" === typeof input.asset && null !== input.asset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1563
+ method: "createAssertEquals",
1564
+ path: _path + ".asset",
1565
+ expected: "(Currency | TokenAddress | `keeta_am${string}` | `keeta_an${string}` | `keeta_ao${string}` | `keeta_ap${string}` | `tyblocks_am${string}` | `tyblocks_an${string}` | `tyblocks_ao${string}` | `tyblocks_ap${string}`)",
1566
+ value: input.asset
1567
+ }, _errorFactory)) && _au0(input.asset, _path + ".asset", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1568
+ method: "createAssertEquals",
1569
+ path: _path + ".asset",
1570
+ expected: "(Currency | TokenAddress | `keeta_am${string}` | `keeta_an${string}` | `keeta_ao${string}` | `keeta_ap${string}` | `tyblocks_am${string}` | `tyblocks_an${string}` | `tyblocks_ao${string}` | `tyblocks_ap${string}`)",
1571
+ value: input.asset
1572
+ }, _errorFactory))) && (("object" === typeof input.from && null !== input.from || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1573
+ method: "createAssertEquals",
1574
+ path: _path + ".from",
1575
+ expected: "__type.o1",
1576
+ value: input.from
1577
+ }, _errorFactory)) && _ao4(input.from, _path + ".from", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1578
+ method: "createAssertEquals",
1579
+ path: _path + ".from",
1580
+ expected: "__type.o1",
1581
+ value: input.from
1582
+ }, _errorFactory)) && (("object" === typeof input.to && null !== input.to || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1583
+ method: "createAssertEquals",
1584
+ path: _path + ".to",
1585
+ expected: "__type.o2",
1586
+ value: input.to
1587
+ }, _errorFactory)) && _ao7(input.to, _path + ".to", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1588
+ method: "createAssertEquals",
1589
+ path: _path + ".to",
1590
+ expected: "__type.o2",
1591
+ value: input.to
1592
+ }, _errorFactory)) && (null === input.fee || ("object" === typeof input.fee && null !== input.fee || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1593
+ method: "createAssertEquals",
1594
+ path: _path + ".fee",
1595
+ expected: "(__type.o3 | null)",
1596
+ value: input.fee
1597
+ }, _errorFactory)) && _ao9(input.fee, _path + ".fee", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1598
+ method: "createAssertEquals",
1599
+ path: _path + ".fee",
1600
+ expected: "(__type.o3 | null)",
1601
+ value: input.fee
1602
+ }, _errorFactory)) && ("string" === typeof input.createdAt || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1603
+ method: "createAssertEquals",
1604
+ path: _path + ".createdAt",
1605
+ expected: "string",
1606
+ value: input.createdAt
1607
+ }, _errorFactory)) && ("string" === typeof input.updatedAt || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1608
+ method: "createAssertEquals",
1609
+ path: _path + ".updatedAt",
1610
+ expected: "string",
1611
+ value: input.updatedAt
1612
+ }, _errorFactory)) && (8 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).every(key => {
1613
+ if (["id", "status", "asset", "from", "to", "fee", "createdAt", "updatedAt"].some(prop => key === prop))
1614
+ return true;
1615
+ const value = input[key];
1616
+ if (undefined === value)
1617
+ return true;
1618
+ return __typia_transform__assertGuard._assertGuard(_exceptionable, {
1619
+ method: "createAssertEquals",
1620
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
1621
+ expected: "undefined",
1622
+ value: value
1623
+ }, _errorFactory);
1624
+ }))); const _ao2 = (input, _path, _exceptionable = true) => true && (true === _av3.has(input.code) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1625
+ method: "createAssertEquals",
1626
+ path: _path + ".code",
1627
+ expected: "(\"AED\" | \"AFN\" | \"ALL\" | \"AMD\" | \"ANG\" | \"AOA\" | \"ARS\" | \"AUD\" | \"AWG\" | \"AZN\" | \"BAM\" | \"BBD\" | \"BDT\" | \"BGN\" | \"BHD\" | \"BIF\" | \"BMD\" | \"BND\" | \"BOB\" | \"BOV\" | \"BRL\" | \"BSD\" | \"BTN\" | \"BWP\" | \"BYN\" | \"BZD\" | \"CAD\" | \"CDF\" | \"CHE\" | \"CHF\" | \"CHW\" | \"CLF\" | \"CLP\" | \"CNY\" | \"COP\" | \"COU\" | \"CRC\" | \"CUC\" | \"CUP\" | \"CVE\" | \"CZK\" | \"DJF\" | \"DKK\" | \"DOP\" | \"DZD\" | \"EGP\" | \"ERN\" | \"ETB\" | \"EUR\" | \"FJD\" | \"FKP\" | \"GBP\" | \"GEL\" | \"GHS\" | \"GIP\" | \"GMD\" | \"GNF\" | \"GTQ\" | \"GYD\" | \"HKD\" | \"HNL\" | \"HTG\" | \"HUF\" | \"IDR\" | \"ILS\" | \"INR\" | \"IQD\" | \"IRR\" | \"ISK\" | \"JMD\" | \"JOD\" | \"JPY\" | \"KES\" | \"KGS\" | \"KHR\" | \"KMF\" | \"KPW\" | \"KRW\" | \"KWD\" | \"KYD\" | \"KZT\" | \"LAK\" | \"LBP\" | \"LKR\" | \"LRD\" | \"LSL\" | \"LYD\" | \"MAD\" | \"MDL\" | \"MGA\" | \"MKD\" | \"MMK\" | \"MNT\" | \"MOP\" | \"MRU\" | \"MUR\" | \"MVR\" | \"MWK\" | \"MXN\" | \"MXV\" | \"MYR\" | \"MZN\" | \"NAD\" | \"NGN\" | \"NIO\" | \"NOK\" | \"NPR\" | \"NZD\" | \"OMR\" | \"PAB\" | \"PEN\" | \"PGK\" | \"PHP\" | \"PKR\" | \"PLN\" | \"PYG\" | \"QAR\" | \"RON\" | \"RSD\" | \"RUB\" | \"RWF\" | \"SAR\" | \"SBD\" | \"SCR\" | \"SDG\" | \"SEK\" | \"SGD\" | \"SHP\" | \"SLE\" | \"SLL\" | \"SOS\" | \"SRD\" | \"SSP\" | \"STN\" | \"SVC\" | \"SYP\" | \"SZL\" | \"THB\" | \"TJS\" | \"TMT\" | \"TND\" | \"TOP\" | \"TRY\" | \"TTD\" | \"TWD\" | \"TZS\" | \"UAH\" | \"UGX\" | \"USD\" | \"USN\" | \"UYI\" | \"UYU\" | \"UYW\" | \"UZS\" | \"VED\" | \"VES\" | \"VND\" | \"VUV\" | \"WST\" | \"XAF\" | \"XCD\" | \"XOF\" | \"XPF\" | \"YER\" | \"ZAR\" | \"ZMW\" | \"ZWL\")",
1628
+ value: input.code
1629
+ }, _errorFactory)) && ("string" === typeof input.name || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1630
+ method: "createAssertEquals",
1631
+ path: _path + ".name",
1632
+ expected: "string",
1633
+ value: input.name
1634
+ }, _errorFactory)) && ("string" === typeof input.precision || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1635
+ method: "createAssertEquals",
1636
+ path: _path + ".precision",
1637
+ expected: "string",
1638
+ value: input.precision
1639
+ }, _errorFactory)) && (true === _av4.has(input.isoNumber) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1640
+ method: "createAssertEquals",
1641
+ path: _path + ".isoNumber",
1642
+ expected: "(\"104\" | \"108\" | \"116\" | \"12\" | \"124\" | \"132\" | \"136\" | \"144\" | \"152\" | \"156\" | \"170\" | \"174\" | \"188\" | \"192\" | \"203\" | \"208\" | \"214\" | \"222\" | \"230\" | \"232\" | \"238\" | \"242\" | \"262\" | \"270\" | \"292\" | \"32\" | \"320\" | \"324\" | \"328\" | \"332\" | \"340\" | \"344\" | \"348\" | \"352\" | \"356\" | \"36\" | \"360\" | \"364\" | \"368\" | \"376\" | \"388\" | \"392\" | \"398\" | \"400\" | \"404\" | \"408\" | \"410\" | \"414\" | \"417\" | \"418\" | \"422\" | \"426\" | \"430\" | \"434\" | \"44\" | \"446\" | \"454\" | \"458\" | \"462\" | \"48\" | \"480\" | \"484\" | \"496\" | \"498\" | \"50\" | \"504\" | \"51\" | \"512\" | \"516\" | \"52\" | \"524\" | \"532\" | \"533\" | \"548\" | \"554\" | \"558\" | \"566\" | \"578\" | \"586\" | \"590\" | \"598\" | \"60\" | \"600\" | \"604\" | \"608\" | \"634\" | \"64\" | \"643\" | \"646\" | \"654\" | \"68\" | \"682\" | \"690\" | \"694\" | \"702\" | \"704\" | \"706\" | \"710\" | \"72\" | \"728\" | \"748\" | \"752\" | \"756\" | \"760\" | \"764\" | \"776\" | \"780\" | \"784\" | \"788\" | \"8\" | \"800\" | \"807\" | \"818\" | \"826\" | \"834\" | \"84\" | \"840\" | \"858\" | \"860\" | \"882\" | \"886\" | \"90\" | \"901\" | \"925\" | \"926\" | \"927\" | \"928\" | \"929\" | \"930\" | \"931\" | \"932\" | \"933\" | \"934\" | \"936\" | \"938\" | \"940\" | \"941\" | \"943\" | \"944\" | \"946\" | \"947\" | \"948\" | \"949\" | \"950\" | \"951\" | \"952\" | \"953\" | \"96\" | \"967\" | \"968\" | \"969\" | \"970\" | \"971\" | \"972\" | \"973\" | \"975\" | \"976\" | \"977\" | \"978\" | \"979\" | \"980\" | \"981\" | \"984\" | \"985\" | \"986\" | \"990\" | \"997\")",
1643
+ value: input.isoNumber
1644
+ }, _errorFactory)) && (5 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).every(key => {
1645
+ if (["#private", "code", "name", "precision", "isoNumber"].some(prop => key === prop))
1646
+ return true;
1647
+ const value = input[key];
1648
+ if (undefined === value)
1649
+ return true;
1650
+ return __typia_transform__assertGuard._assertGuard(_exceptionable, {
1651
+ method: "createAssertEquals",
1652
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
1653
+ expected: "undefined",
1654
+ value: value
1655
+ }, _errorFactory);
1656
+ }))); const _ao3 = (input, _path, _exceptionable = true) => true && (1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).every(key => {
1657
+ if (["#private"].some(prop => key === prop))
1658
+ return true;
1659
+ const value = input[key];
1660
+ if (undefined === value)
1661
+ return true;
1662
+ return __typia_transform__assertGuard._assertGuard(_exceptionable, {
1663
+ method: "createAssertEquals",
1664
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
1665
+ expected: "undefined",
1666
+ value: value
1667
+ }, _errorFactory);
1668
+ }))); const _ao4 = (input, _path, _exceptionable = true) => ("string" === typeof input.location && (RegExp(/^chain:keeta:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location) || RegExp(/^chain:evm:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1669
+ method: "createAssertEquals",
1670
+ path: _path + ".location",
1671
+ expected: "(`chain:evm:${bigint}` | `chain:keeta:${bigint}`)",
1672
+ value: input.location
1673
+ }, _errorFactory)) && ("string" === typeof input.value || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1674
+ method: "createAssertEquals",
1675
+ path: _path + ".value",
1676
+ expected: "string",
1677
+ value: input.value
1678
+ }, _errorFactory)) && (("object" === typeof input.transactions && null !== input.transactions || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1679
+ method: "createAssertEquals",
1680
+ path: _path + ".transactions",
1681
+ expected: "TransactionIds<\"persistentForwarding\" | \"deposit\" | \"finalization\">",
1682
+ value: input.transactions
1683
+ }, _errorFactory)) && _ao5(input.transactions, _path + ".transactions", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1684
+ method: "createAssertEquals",
1685
+ path: _path + ".transactions",
1686
+ expected: "TransactionIds<\"persistentForwarding\" | \"deposit\" | \"finalization\">",
1687
+ value: input.transactions
1688
+ }, _errorFactory)) && (3 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).every(key => {
1689
+ if (["location", "value", "transactions"].some(prop => key === prop))
1690
+ return true;
1691
+ const value = input[key];
1692
+ if (undefined === value)
1693
+ return true;
1694
+ return __typia_transform__assertGuard._assertGuard(_exceptionable, {
1695
+ method: "createAssertEquals",
1696
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
1697
+ expected: "undefined",
1698
+ value: value
1699
+ }, _errorFactory);
1700
+ }))); const _ao5 = (input, _path, _exceptionable = true) => (null === input.persistentForwarding || ("object" === typeof input.persistentForwarding && null !== input.persistentForwarding || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1701
+ method: "createAssertEquals",
1702
+ path: _path + ".persistentForwarding",
1703
+ expected: "(TransactionId | null)",
1704
+ value: input.persistentForwarding
1705
+ }, _errorFactory)) && _ao6(input.persistentForwarding, _path + ".persistentForwarding", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1706
+ method: "createAssertEquals",
1707
+ path: _path + ".persistentForwarding",
1708
+ expected: "(TransactionId | null)",
1709
+ value: input.persistentForwarding
1710
+ }, _errorFactory)) && (null === input.deposit || ("object" === typeof input.deposit && null !== input.deposit || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1711
+ method: "createAssertEquals",
1712
+ path: _path + ".deposit",
1713
+ expected: "(TransactionId | null)",
1714
+ value: input.deposit
1715
+ }, _errorFactory)) && _ao6(input.deposit, _path + ".deposit", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1716
+ method: "createAssertEquals",
1717
+ path: _path + ".deposit",
1718
+ expected: "(TransactionId | null)",
1719
+ value: input.deposit
1720
+ }, _errorFactory)) && (null === input.finalization || ("object" === typeof input.finalization && null !== input.finalization || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1721
+ method: "createAssertEquals",
1722
+ path: _path + ".finalization",
1723
+ expected: "(TransactionId | null)",
1724
+ value: input.finalization
1725
+ }, _errorFactory)) && _ao6(input.finalization, _path + ".finalization", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1726
+ method: "createAssertEquals",
1727
+ path: _path + ".finalization",
1728
+ expected: "(TransactionId | null)",
1729
+ value: input.finalization
1730
+ }, _errorFactory)) && (3 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).every(key => {
1731
+ if (["persistentForwarding", "deposit", "finalization"].some(prop => key === prop))
1732
+ return true;
1733
+ const value = input[key];
1734
+ if (undefined === value)
1735
+ return true;
1736
+ return __typia_transform__assertGuard._assertGuard(_exceptionable, {
1737
+ method: "createAssertEquals",
1738
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
1739
+ expected: "undefined",
1740
+ value: value
1741
+ }, _errorFactory);
1742
+ }))); const _ao6 = (input, _path, _exceptionable = true) => ("string" === typeof input.id || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1743
+ method: "createAssertEquals",
1744
+ path: _path + ".id",
1745
+ expected: "string",
1746
+ value: input.id
1747
+ }, _errorFactory)) && ("string" === typeof input.nonce || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1748
+ method: "createAssertEquals",
1749
+ path: _path + ".nonce",
1750
+ expected: "string",
1751
+ value: input.nonce
1752
+ }, _errorFactory)) && (2 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).every(key => {
1753
+ if (["id", "nonce"].some(prop => key === prop))
1754
+ return true;
1755
+ const value = input[key];
1756
+ if (undefined === value)
1757
+ return true;
1758
+ return __typia_transform__assertGuard._assertGuard(_exceptionable, {
1759
+ method: "createAssertEquals",
1760
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
1761
+ expected: "undefined",
1762
+ value: value
1763
+ }, _errorFactory);
1764
+ }))); const _ao7 = (input, _path, _exceptionable = true) => ("string" === typeof input.location && (RegExp(/^chain:keeta:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location) || RegExp(/^chain:evm:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1765
+ method: "createAssertEquals",
1766
+ path: _path + ".location",
1767
+ expected: "(`chain:evm:${bigint}` | `chain:keeta:${bigint}`)",
1768
+ value: input.location
1769
+ }, _errorFactory)) && ("string" === typeof input.value || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1770
+ method: "createAssertEquals",
1771
+ path: _path + ".value",
1772
+ expected: "string",
1773
+ value: input.value
1774
+ }, _errorFactory)) && (("object" === typeof input.transactions && null !== input.transactions || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1775
+ method: "createAssertEquals",
1776
+ path: _path + ".transactions",
1777
+ expected: "TransactionIds<\"withdraw\">",
1778
+ value: input.transactions
1779
+ }, _errorFactory)) && _ao8(input.transactions, _path + ".transactions", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1780
+ method: "createAssertEquals",
1781
+ path: _path + ".transactions",
1782
+ expected: "TransactionIds<\"withdraw\">",
1783
+ value: input.transactions
1784
+ }, _errorFactory)) && (3 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).every(key => {
1785
+ if (["location", "value", "transactions"].some(prop => key === prop))
1786
+ return true;
1787
+ const value = input[key];
1788
+ if (undefined === value)
1789
+ return true;
1790
+ return __typia_transform__assertGuard._assertGuard(_exceptionable, {
1791
+ method: "createAssertEquals",
1792
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
1793
+ expected: "undefined",
1794
+ value: value
1795
+ }, _errorFactory);
1796
+ }))); const _ao8 = (input, _path, _exceptionable = true) => (null === input.withdraw || ("object" === typeof input.withdraw && null !== input.withdraw || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1797
+ method: "createAssertEquals",
1798
+ path: _path + ".withdraw",
1799
+ expected: "(TransactionId | null)",
1800
+ value: input.withdraw
1801
+ }, _errorFactory)) && _ao6(input.withdraw, _path + ".withdraw", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1802
+ method: "createAssertEquals",
1803
+ path: _path + ".withdraw",
1804
+ expected: "(TransactionId | null)",
1805
+ value: input.withdraw
1806
+ }, _errorFactory)) && (1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).every(key => {
1807
+ if (["withdraw"].some(prop => key === prop))
1808
+ return true;
1809
+ const value = input[key];
1810
+ if (undefined === value)
1811
+ return true;
1812
+ return __typia_transform__assertGuard._assertGuard(_exceptionable, {
1813
+ method: "createAssertEquals",
1814
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
1815
+ expected: "undefined",
1816
+ value: value
1817
+ }, _errorFactory);
1818
+ }))); const _ao9 = (input, _path, _exceptionable = true) => (null !== input.asset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1819
+ method: "createAssertEquals",
1820
+ path: _path + ".asset",
1821
+ expected: "(Currency | TokenAddress | `keeta_am${string}` | `keeta_an${string}` | `keeta_ao${string}` | `keeta_ap${string}` | `tyblocks_am${string}` | `tyblocks_an${string}` | `tyblocks_ao${string}` | `tyblocks_ap${string}`)",
1822
+ value: input.asset
1823
+ }, _errorFactory)) && (undefined !== input.asset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1824
+ method: "createAssertEquals",
1825
+ path: _path + ".asset",
1826
+ expected: "(Currency | TokenAddress | `keeta_am${string}` | `keeta_an${string}` | `keeta_ao${string}` | `keeta_ap${string}` | `tyblocks_am${string}` | `tyblocks_an${string}` | `tyblocks_ao${string}` | `tyblocks_ap${string}`)",
1827
+ value: input.asset
1828
+ }, _errorFactory)) && ("string" === typeof input.asset && (RegExp(/^keeta_am(.*)/).test(input.asset) || RegExp(/^keeta_an(.*)/).test(input.asset) || RegExp(/^keeta_ao(.*)/).test(input.asset) || RegExp(/^keeta_ap(.*)/).test(input.asset) || RegExp(/^tyblocks_am(.*)/).test(input.asset) || RegExp(/^tyblocks_an(.*)/).test(input.asset) || RegExp(/^tyblocks_ao(.*)/).test(input.asset) || RegExp(/^tyblocks_ap(.*)/).test(input.asset)) || ("object" === typeof input.asset && null !== input.asset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1829
+ method: "createAssertEquals",
1830
+ path: _path + ".asset",
1831
+ expected: "(Currency | TokenAddress | `keeta_am${string}` | `keeta_an${string}` | `keeta_ao${string}` | `keeta_ap${string}` | `tyblocks_am${string}` | `tyblocks_an${string}` | `tyblocks_ao${string}` | `tyblocks_ap${string}`)",
1832
+ value: input.asset
1833
+ }, _errorFactory)) && _au0(input.asset, _path + ".asset", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1834
+ method: "createAssertEquals",
1835
+ path: _path + ".asset",
1836
+ expected: "(Currency | TokenAddress | `keeta_am${string}` | `keeta_an${string}` | `keeta_ao${string}` | `keeta_ap${string}` | `tyblocks_am${string}` | `tyblocks_an${string}` | `tyblocks_ao${string}` | `tyblocks_ap${string}`)",
1837
+ value: input.asset
1838
+ }, _errorFactory)) && ("string" === typeof input.value || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1839
+ method: "createAssertEquals",
1840
+ path: _path + ".value",
1841
+ expected: "string",
1842
+ value: input.value
1843
+ }, _errorFactory)) && (2 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).every(key => {
1844
+ if (["asset", "value"].some(prop => key === prop))
1845
+ return true;
1846
+ const value = input[key];
1847
+ if (undefined === value)
1848
+ return true;
1849
+ return __typia_transform__assertGuard._assertGuard(_exceptionable, {
1850
+ method: "createAssertEquals",
1851
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
1852
+ expected: "undefined",
1853
+ value: value
1854
+ }, _errorFactory);
1855
+ }))); const _ao10 = (input, _path, _exceptionable = true) => (false === input.ok || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1856
+ method: "createAssertEquals",
1857
+ path: _path + ".ok",
1858
+ expected: "false",
1859
+ value: input.ok
1860
+ }, _errorFactory)) && ("string" === typeof input.error || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1861
+ method: "createAssertEquals",
1862
+ path: _path + ".error",
1863
+ expected: "string",
1864
+ value: input.error
1865
+ }, _errorFactory)) && (2 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).every(key => {
1866
+ if (["ok", "error"].some(prop => key === prop))
1867
+ return true;
1868
+ const value = input[key];
1869
+ if (undefined === value)
1870
+ return true;
1871
+ return __typia_transform__assertGuard._assertGuard(_exceptionable, {
1872
+ method: "createAssertEquals",
1873
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
1874
+ expected: "undefined",
1875
+ value: value
1876
+ }, _errorFactory);
1877
+ }))); const _au0 = (input, _path, _exceptionable = true) => (() => {
1878
+ if (undefined !== input.code)
1879
+ return _ao2(input, _path, true && _exceptionable);
1880
+ else
1881
+ return _ao3(input, _path, true && _exceptionable);
1882
+ })(); const _au1 = (input, _path, _exceptionable = true) => (() => {
1883
+ if (true === input.ok)
1884
+ return _ao0(input, _path, true && _exceptionable);
1885
+ else if (false === input.ok)
1886
+ return _ao10(input, _path, true && _exceptionable);
1887
+ else
1888
+ return __typia_transform__assertGuard._assertGuard(_exceptionable, {
1889
+ method: "createAssertEquals",
1890
+ path: _path,
1891
+ expected: "(__type | __type.o4)",
1892
+ value: input
1893
+ }, _errorFactory);
1894
+ })(); const __is = (input, _exceptionable = true) => "object" === typeof input && null !== input && _iu1(input, true); let _errorFactory; return (input, errorFactory) => {
1895
+ if (false === __is(input)) {
1896
+ _errorFactory = errorFactory;
1897
+ ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || __typia_transform__assertGuard._assertGuard(true, {
1898
+ method: "createAssertEquals",
1899
+ path: _path + "",
1900
+ expected: "(__type | __type.o4)",
1901
+ value: input
1902
+ }, _errorFactory)) && _au1(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
1903
+ method: "createAssertEquals",
1904
+ path: _path + "",
1905
+ expected: "(__type | __type.o4)",
1906
+ value: input
1907
+ }, _errorFactory))(input, "$input", true);
1908
+ }
1909
+ return input;
1910
+ }; })();
1911
+ export const assertKeetaAssetMovementAnchorlistTransactionsRequest = (() => { const _iv2 = new Set(["ALL", "AFN", "EUR", "DZD", "USD", "AOA", "XCD", "ARS", "AMD", "AWG", "AUD", "AZN", "BSD", "BHD", "BDT", "BBD", "BYN", "BZD", "XOF", "BMD", "INR", "BTN", "BOB", "BOV", "BAM", "BWP", "NOK", "BRL", "BND", "BGN", "BIF", "CVE", "KHR", "XAF", "CAD", "KYD", "CLP", "CLF", "CNY", "COP", "COU", "KMF", "CDF", "NZD", "CRC", "CUP", "CUC", "ANG", "CZK", "DKK", "DJF", "DOP", "EGP", "SVC", "ERN", "SZL", "ETB", "FKP", "FJD", "XPF", "GMD", "GEL", "GHS", "GIP", "GTQ", "GBP", "GNF", "GYD", "HTG", "HNL", "HKD", "HUF", "ISK", "IDR", "IRR", "IQD", "ILS", "JMD", "JPY", "JOD", "KZT", "KES", "KPW", "KRW", "KWD", "KGS", "LAK", "LBP", "LSL", "ZAR", "LRD", "LYD", "CHF", "MOP", "MKD", "MGA", "MWK", "MYR", "MVR", "MRU", "MUR", "MXN", "MXV", "MDL", "MNT", "MAD", "MZN", "MMK", "NAD", "NPR", "NIO", "NGN", "OMR", "PKR", "PAB", "PGK", "PYG", "PEN", "PHP", "PLN", "QAR", "RON", "RUB", "RWF", "SHP", "WST", "STN", "SAR", "RSD", "SCR", "SLL", "SLE", "SGD", "SBD", "SOS", "SSP", "LKR", "SDG", "SRD", "SEK", "CHE", "CHW", "SYP", "TWD", "TJS", "TZS", "THB", "TOP", "TTD", "TND", "TRY", "TMT", "UGX", "UAH", "AED", "USN", "UYU", "UYI", "UYW", "UZS", "VUV", "VES", "VED", "VND", "YER", "ZMW", "ZWL"]); const _iv3 = new Set(["971", "978", "8", "12", "840", "973", "951", "32", "51", "533", "36", "944", "44", "48", "50", "52", "933", "84", "952", "60", "356", "64", "68", "984", "977", "72", "578", "986", "96", "975", "108", "132", "116", "950", "124", "136", "152", "990", "156", "170", "970", "174", "976", "554", "188", "192", "931", "532", "203", "208", "262", "214", "818", "222", "232", "748", "230", "238", "242", "953", "270", "981", "936", "292", "320", "826", "324", "328", "332", "340", "344", "348", "352", "360", "364", "368", "376", "388", "392", "400", "398", "404", "408", "410", "414", "417", "418", "422", "426", "710", "430", "434", "756", "446", "807", "969", "454", "458", "462", "929", "480", "484", "979", "498", "496", "504", "943", "104", "516", "524", "558", "566", "512", "586", "590", "598", "600", "604", "608", "985", "634", "946", "643", "646", "654", "882", "930", "682", "941", "690", "694", "925", "702", "90", "706", "728", "144", "938", "968", "752", "947", "948", "760", "901", "972", "834", "764", "776", "780", "788", "949", "934", "800", "980", "784", "997", "858", "940", "927", "860", "548", "928", "926", "704", "886", "967", "932"]); const _av5 = new Set(["ALL", "AFN", "EUR", "DZD", "USD", "AOA", "XCD", "ARS", "AMD", "AWG", "AUD", "AZN", "BSD", "BHD", "BDT", "BBD", "BYN", "BZD", "XOF", "BMD", "INR", "BTN", "BOB", "BOV", "BAM", "BWP", "NOK", "BRL", "BND", "BGN", "BIF", "CVE", "KHR", "XAF", "CAD", "KYD", "CLP", "CLF", "CNY", "COP", "COU", "KMF", "CDF", "NZD", "CRC", "CUP", "CUC", "ANG", "CZK", "DKK", "DJF", "DOP", "EGP", "SVC", "ERN", "SZL", "ETB", "FKP", "FJD", "XPF", "GMD", "GEL", "GHS", "GIP", "GTQ", "GBP", "GNF", "GYD", "HTG", "HNL", "HKD", "HUF", "ISK", "IDR", "IRR", "IQD", "ILS", "JMD", "JPY", "JOD", "KZT", "KES", "KPW", "KRW", "KWD", "KGS", "LAK", "LBP", "LSL", "ZAR", "LRD", "LYD", "CHF", "MOP", "MKD", "MGA", "MWK", "MYR", "MVR", "MRU", "MUR", "MXN", "MXV", "MDL", "MNT", "MAD", "MZN", "MMK", "NAD", "NPR", "NIO", "NGN", "OMR", "PKR", "PAB", "PGK", "PYG", "PEN", "PHP", "PLN", "QAR", "RON", "RUB", "RWF", "SHP", "WST", "STN", "SAR", "RSD", "SCR", "SLL", "SLE", "SGD", "SBD", "SOS", "SSP", "LKR", "SDG", "SRD", "SEK", "CHE", "CHW", "SYP", "TWD", "TJS", "TZS", "THB", "TOP", "TTD", "TND", "TRY", "TMT", "UGX", "UAH", "AED", "USN", "UYU", "UYI", "UYW", "UZS", "VUV", "VES", "VED", "VND", "YER", "ZMW", "ZWL"]); const _av6 = new Set(["971", "978", "8", "12", "840", "973", "951", "32", "51", "533", "36", "944", "44", "48", "50", "52", "933", "84", "952", "60", "356", "64", "68", "984", "977", "72", "578", "986", "96", "975", "108", "132", "116", "950", "124", "136", "152", "990", "156", "170", "970", "174", "976", "554", "188", "192", "931", "532", "203", "208", "262", "214", "818", "222", "232", "748", "230", "238", "242", "953", "270", "981", "936", "292", "320", "826", "324", "328", "332", "340", "344", "348", "352", "360", "364", "368", "376", "388", "392", "400", "398", "404", "408", "410", "414", "417", "418", "422", "426", "710", "430", "434", "756", "446", "807", "969", "454", "458", "462", "929", "480", "484", "979", "498", "496", "504", "943", "104", "516", "524", "558", "566", "512", "586", "590", "598", "600", "604", "608", "985", "634", "946", "643", "646", "654", "882", "930", "682", "941", "690", "694", "925", "702", "90", "706", "728", "144", "938", "968", "752", "947", "948", "760", "901", "972", "834", "764", "776", "780", "788", "949", "934", "800", "980", "784", "997", "858", "940", "927", "860", "548", "928", "926", "704", "886", "967", "932"]); const _io0 = input => (undefined === input.persistentAddresses || Array.isArray(input.persistentAddresses) && input.persistentAddresses.every(elem => "object" === typeof elem && null !== elem && _io1(elem))) && (undefined === input.from || "object" === typeof input.from && null !== input.from && _io6(input.from)) && (undefined === input.to || "object" === typeof input.to && null !== input.to && _io9(input.to)) && (undefined === input.pagination || "object" === typeof input.pagination && null !== input.pagination && false === Array.isArray(input.pagination) && _io10(input.pagination)); const _io1 = input => null !== input.location && undefined !== input.location && ("string" === typeof input.location && (RegExp(/^chain:keeta:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location) || RegExp(/^chain:evm:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location)) || "object" === typeof input.location && null !== input.location && _iu0(input.location)) && "string" === typeof input.persistentAddress; const _io2 = input => "chain" === input.type && ("object" === typeof input.chain && null !== input.chain && _iu1(input.chain)); const _io3 = input => "keeta" === input.type && "bigint" === typeof input.networkId; const _io4 = input => "evm" === input.type && "bigint" === typeof input.chainId; const _io5 = input => "bank-account" === input.type && (null !== input.workInProgress && undefined === input.workInProgress); const _io6 = input => null !== input.location && undefined !== input.location && ("string" === typeof input.location && (RegExp(/^chain:keeta:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location) || RegExp(/^chain:evm:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location)) || "object" === typeof input.location && null !== input.location && _iu0(input.location)) && (undefined === input.userAddress || "string" === typeof input.userAddress) && (null !== input.asset && (undefined === input.asset || "string" === typeof input.asset && (RegExp(/^keeta_am(.*)/).test(input.asset) || RegExp(/^keeta_an(.*)/).test(input.asset) || RegExp(/^keeta_ao(.*)/).test(input.asset) || RegExp(/^keeta_ap(.*)/).test(input.asset) || RegExp(/^tyblocks_am(.*)/).test(input.asset) || RegExp(/^tyblocks_an(.*)/).test(input.asset) || RegExp(/^tyblocks_ao(.*)/).test(input.asset) || RegExp(/^tyblocks_ap(.*)/).test(input.asset)) || "object" === typeof input.asset && null !== input.asset && _iu2(input.asset))); const _io7 = input => true && true === _iv2.has(input.code) && "string" === typeof input.name && "string" === typeof input.precision && true === _iv3.has(input.isoNumber); const _io8 = input => true; const _io9 = input => null !== input.location && undefined !== input.location && ("string" === typeof input.location && (RegExp(/^chain:keeta:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location) || RegExp(/^chain:evm:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location)) || "object" === typeof input.location && null !== input.location && _iu0(input.location)) && (undefined === input.userAddress || "string" === typeof input.userAddress) && (null !== input.asset && (undefined === input.asset || "string" === typeof input.asset && (RegExp(/^keeta_am(.*)/).test(input.asset) || RegExp(/^keeta_an(.*)/).test(input.asset) || RegExp(/^keeta_ao(.*)/).test(input.asset) || RegExp(/^keeta_ap(.*)/).test(input.asset) || RegExp(/^tyblocks_am(.*)/).test(input.asset) || RegExp(/^tyblocks_an(.*)/).test(input.asset) || RegExp(/^tyblocks_ao(.*)/).test(input.asset) || RegExp(/^tyblocks_ap(.*)/).test(input.asset)) || "object" === typeof input.asset && null !== input.asset && _iu2(input.asset))); const _io10 = input => (undefined === input.limit || "number" === typeof input.limit) && (undefined === input.offset || "number" === typeof input.offset); const _iu0 = input => (() => {
1912
+ if ("chain" === input.type)
1913
+ return _io2(input);
1914
+ else if ("bank-account" === input.type)
1915
+ return _io5(input);
1916
+ else
1917
+ return false;
1918
+ })(); const _iu1 = input => (() => {
1919
+ if ("keeta" === input.type)
1920
+ return _io3(input);
1921
+ else if ("evm" === input.type)
1922
+ return _io4(input);
1923
+ else
1924
+ return false;
1925
+ })(); const _iu2 = input => (() => {
1926
+ if (undefined !== input.code)
1927
+ return _io7(input);
1928
+ else
1929
+ return _io8(input);
1930
+ })(); const _ao0 = (input, _path, _exceptionable = true) => (undefined === input.persistentAddresses || (Array.isArray(input.persistentAddresses) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1931
+ method: "createAssert",
1932
+ path: _path + ".persistentAddresses",
1933
+ expected: "(Array<__type> | undefined)",
1934
+ value: input.persistentAddresses
1935
+ }, _errorFactory)) && input.persistentAddresses.every((elem, _index4) => ("object" === typeof elem && null !== elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1936
+ method: "createAssert",
1937
+ path: _path + ".persistentAddresses[" + _index4 + "]",
1938
+ expected: "__type",
1939
+ value: elem
1940
+ }, _errorFactory)) && _ao1(elem, _path + ".persistentAddresses[" + _index4 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1941
+ method: "createAssert",
1942
+ path: _path + ".persistentAddresses[" + _index4 + "]",
1943
+ expected: "__type",
1944
+ value: elem
1945
+ }, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1946
+ method: "createAssert",
1947
+ path: _path + ".persistentAddresses",
1948
+ expected: "(Array<__type> | undefined)",
1949
+ value: input.persistentAddresses
1950
+ }, _errorFactory)) && (undefined === input.from || ("object" === typeof input.from && null !== input.from || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1951
+ method: "createAssert",
1952
+ path: _path + ".from",
1953
+ expected: "(__type.o5 | undefined)",
1954
+ value: input.from
1955
+ }, _errorFactory)) && _ao6(input.from, _path + ".from", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1956
+ method: "createAssert",
1957
+ path: _path + ".from",
1958
+ expected: "(__type.o5 | undefined)",
1959
+ value: input.from
1960
+ }, _errorFactory)) && (undefined === input.to || ("object" === typeof input.to && null !== input.to || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1961
+ method: "createAssert",
1962
+ path: _path + ".to",
1963
+ expected: "(__type.o6 | undefined)",
1964
+ value: input.to
1965
+ }, _errorFactory)) && _ao9(input.to, _path + ".to", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1966
+ method: "createAssert",
1967
+ path: _path + ".to",
1968
+ expected: "(__type.o6 | undefined)",
1969
+ value: input.to
1970
+ }, _errorFactory)) && (undefined === input.pagination || ("object" === typeof input.pagination && null !== input.pagination && false === Array.isArray(input.pagination) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1971
+ method: "createAssert",
1972
+ path: _path + ".pagination",
1973
+ expected: "(PaginationQuery | undefined)",
1974
+ value: input.pagination
1975
+ }, _errorFactory)) && _ao10(input.pagination, _path + ".pagination", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1976
+ method: "createAssert",
1977
+ path: _path + ".pagination",
1978
+ expected: "(PaginationQuery | undefined)",
1979
+ value: input.pagination
1980
+ }, _errorFactory)); const _ao1 = (input, _path, _exceptionable = true) => (null !== input.location || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1981
+ method: "createAssert",
1982
+ path: _path + ".location",
1983
+ expected: "(__type.o1 | __type.o4 | `chain:evm:${bigint}` | `chain:keeta:${bigint}`)",
1984
+ value: input.location
1985
+ }, _errorFactory)) && (undefined !== input.location || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1986
+ method: "createAssert",
1987
+ path: _path + ".location",
1988
+ expected: "(__type.o1 | __type.o4 | `chain:evm:${bigint}` | `chain:keeta:${bigint}`)",
1989
+ value: input.location
1990
+ }, _errorFactory)) && ("string" === typeof input.location && (RegExp(/^chain:keeta:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location) || RegExp(/^chain:evm:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location)) || ("object" === typeof input.location && null !== input.location || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1991
+ method: "createAssert",
1992
+ path: _path + ".location",
1993
+ expected: "(__type.o1 | __type.o4 | `chain:evm:${bigint}` | `chain:keeta:${bigint}`)",
1994
+ value: input.location
1995
+ }, _errorFactory)) && _au0(input.location, _path + ".location", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1996
+ method: "createAssert",
1997
+ path: _path + ".location",
1998
+ expected: "(__type.o1 | __type.o4 | `chain:evm:${bigint}` | `chain:keeta:${bigint}`)",
1999
+ value: input.location
2000
+ }, _errorFactory)) && ("string" === typeof input.persistentAddress || __typia_transform__assertGuard._assertGuard(_exceptionable, {
2001
+ method: "createAssert",
2002
+ path: _path + ".persistentAddress",
2003
+ expected: "string",
2004
+ value: input.persistentAddress
2005
+ }, _errorFactory)); const _ao2 = (input, _path, _exceptionable = true) => ("chain" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
2006
+ method: "createAssert",
2007
+ path: _path + ".type",
2008
+ expected: "\"chain\"",
2009
+ value: input.type
2010
+ }, _errorFactory)) && (("object" === typeof input.chain && null !== input.chain || __typia_transform__assertGuard._assertGuard(_exceptionable, {
2011
+ method: "createAssert",
2012
+ path: _path + ".chain",
2013
+ expected: "(__type.o2 | __type.o3)",
2014
+ value: input.chain
2015
+ }, _errorFactory)) && _au1(input.chain, _path + ".chain", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
2016
+ method: "createAssert",
2017
+ path: _path + ".chain",
2018
+ expected: "(__type.o2 | __type.o3)",
2019
+ value: input.chain
2020
+ }, _errorFactory)); const _ao3 = (input, _path, _exceptionable = true) => ("keeta" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
2021
+ method: "createAssert",
2022
+ path: _path + ".type",
2023
+ expected: "\"keeta\"",
2024
+ value: input.type
2025
+ }, _errorFactory)) && ("bigint" === typeof input.networkId || __typia_transform__assertGuard._assertGuard(_exceptionable, {
2026
+ method: "createAssert",
2027
+ path: _path + ".networkId",
2028
+ expected: "bigint",
2029
+ value: input.networkId
2030
+ }, _errorFactory)); const _ao4 = (input, _path, _exceptionable = true) => ("evm" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
2031
+ method: "createAssert",
2032
+ path: _path + ".type",
2033
+ expected: "\"evm\"",
2034
+ value: input.type
2035
+ }, _errorFactory)) && ("bigint" === typeof input.chainId || __typia_transform__assertGuard._assertGuard(_exceptionable, {
2036
+ method: "createAssert",
2037
+ path: _path + ".chainId",
2038
+ expected: "bigint",
2039
+ value: input.chainId
2040
+ }, _errorFactory)); const _ao5 = (input, _path, _exceptionable = true) => ("bank-account" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
2041
+ method: "createAssert",
2042
+ path: _path + ".type",
2043
+ expected: "\"bank-account\"",
2044
+ value: input.type
2045
+ }, _errorFactory)) && ((null !== input.workInProgress || __typia_transform__assertGuard._assertGuard(_exceptionable, {
2046
+ method: "createAssert",
2047
+ path: _path + ".workInProgress",
2048
+ expected: "undefined",
2049
+ value: input.workInProgress
2050
+ }, _errorFactory)) && (undefined === input.workInProgress || __typia_transform__assertGuard._assertGuard(_exceptionable, {
2051
+ method: "createAssert",
2052
+ path: _path + ".workInProgress",
2053
+ expected: "undefined",
2054
+ value: input.workInProgress
2055
+ }, _errorFactory))); const _ao6 = (input, _path, _exceptionable = true) => (null !== input.location || __typia_transform__assertGuard._assertGuard(_exceptionable, {
2056
+ method: "createAssert",
2057
+ path: _path + ".location",
2058
+ expected: "(__type.o1 | __type.o4 | `chain:evm:${bigint}` | `chain:keeta:${bigint}`)",
2059
+ value: input.location
2060
+ }, _errorFactory)) && (undefined !== input.location || __typia_transform__assertGuard._assertGuard(_exceptionable, {
2061
+ method: "createAssert",
2062
+ path: _path + ".location",
2063
+ expected: "(__type.o1 | __type.o4 | `chain:evm:${bigint}` | `chain:keeta:${bigint}`)",
2064
+ value: input.location
2065
+ }, _errorFactory)) && ("string" === typeof input.location && (RegExp(/^chain:keeta:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location) || RegExp(/^chain:evm:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location)) || ("object" === typeof input.location && null !== input.location || __typia_transform__assertGuard._assertGuard(_exceptionable, {
2066
+ method: "createAssert",
2067
+ path: _path + ".location",
2068
+ expected: "(__type.o1 | __type.o4 | `chain:evm:${bigint}` | `chain:keeta:${bigint}`)",
2069
+ value: input.location
2070
+ }, _errorFactory)) && _au0(input.location, _path + ".location", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
2071
+ method: "createAssert",
2072
+ path: _path + ".location",
2073
+ expected: "(__type.o1 | __type.o4 | `chain:evm:${bigint}` | `chain:keeta:${bigint}`)",
2074
+ value: input.location
2075
+ }, _errorFactory)) && (undefined === input.userAddress || "string" === typeof input.userAddress || __typia_transform__assertGuard._assertGuard(_exceptionable, {
2076
+ method: "createAssert",
2077
+ path: _path + ".userAddress",
2078
+ expected: "(string | undefined)",
2079
+ value: input.userAddress
2080
+ }, _errorFactory)) && ((null !== input.asset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
2081
+ method: "createAssert",
2082
+ path: _path + ".asset",
2083
+ expected: "(Currency | TokenAddress | `keeta_am${string}` | `keeta_an${string}` | `keeta_ao${string}` | `keeta_ap${string}` | `tyblocks_am${string}` | `tyblocks_an${string}` | `tyblocks_ao${string}` | `tyblocks_ap${string}` | undefined)",
2084
+ value: input.asset
2085
+ }, _errorFactory)) && (undefined === input.asset || "string" === typeof input.asset && (RegExp(/^keeta_am(.*)/).test(input.asset) || RegExp(/^keeta_an(.*)/).test(input.asset) || RegExp(/^keeta_ao(.*)/).test(input.asset) || RegExp(/^keeta_ap(.*)/).test(input.asset) || RegExp(/^tyblocks_am(.*)/).test(input.asset) || RegExp(/^tyblocks_an(.*)/).test(input.asset) || RegExp(/^tyblocks_ao(.*)/).test(input.asset) || RegExp(/^tyblocks_ap(.*)/).test(input.asset)) || ("object" === typeof input.asset && null !== input.asset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
2086
+ method: "createAssert",
2087
+ path: _path + ".asset",
2088
+ expected: "(Currency | TokenAddress | `keeta_am${string}` | `keeta_an${string}` | `keeta_ao${string}` | `keeta_ap${string}` | `tyblocks_am${string}` | `tyblocks_an${string}` | `tyblocks_ao${string}` | `tyblocks_ap${string}` | undefined)",
2089
+ value: input.asset
2090
+ }, _errorFactory)) && _au2(input.asset, _path + ".asset", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
2091
+ method: "createAssert",
2092
+ path: _path + ".asset",
2093
+ expected: "(Currency | TokenAddress | `keeta_am${string}` | `keeta_an${string}` | `keeta_ao${string}` | `keeta_ap${string}` | `tyblocks_am${string}` | `tyblocks_an${string}` | `tyblocks_ao${string}` | `tyblocks_ap${string}` | undefined)",
2094
+ value: input.asset
2095
+ }, _errorFactory))); const _ao7 = (input, _path, _exceptionable = true) => true && (true === _av5.has(input.code) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
2096
+ method: "createAssert",
2097
+ path: _path + ".code",
2098
+ expected: "(\"AED\" | \"AFN\" | \"ALL\" | \"AMD\" | \"ANG\" | \"AOA\" | \"ARS\" | \"AUD\" | \"AWG\" | \"AZN\" | \"BAM\" | \"BBD\" | \"BDT\" | \"BGN\" | \"BHD\" | \"BIF\" | \"BMD\" | \"BND\" | \"BOB\" | \"BOV\" | \"BRL\" | \"BSD\" | \"BTN\" | \"BWP\" | \"BYN\" | \"BZD\" | \"CAD\" | \"CDF\" | \"CHE\" | \"CHF\" | \"CHW\" | \"CLF\" | \"CLP\" | \"CNY\" | \"COP\" | \"COU\" | \"CRC\" | \"CUC\" | \"CUP\" | \"CVE\" | \"CZK\" | \"DJF\" | \"DKK\" | \"DOP\" | \"DZD\" | \"EGP\" | \"ERN\" | \"ETB\" | \"EUR\" | \"FJD\" | \"FKP\" | \"GBP\" | \"GEL\" | \"GHS\" | \"GIP\" | \"GMD\" | \"GNF\" | \"GTQ\" | \"GYD\" | \"HKD\" | \"HNL\" | \"HTG\" | \"HUF\" | \"IDR\" | \"ILS\" | \"INR\" | \"IQD\" | \"IRR\" | \"ISK\" | \"JMD\" | \"JOD\" | \"JPY\" | \"KES\" | \"KGS\" | \"KHR\" | \"KMF\" | \"KPW\" | \"KRW\" | \"KWD\" | \"KYD\" | \"KZT\" | \"LAK\" | \"LBP\" | \"LKR\" | \"LRD\" | \"LSL\" | \"LYD\" | \"MAD\" | \"MDL\" | \"MGA\" | \"MKD\" | \"MMK\" | \"MNT\" | \"MOP\" | \"MRU\" | \"MUR\" | \"MVR\" | \"MWK\" | \"MXN\" | \"MXV\" | \"MYR\" | \"MZN\" | \"NAD\" | \"NGN\" | \"NIO\" | \"NOK\" | \"NPR\" | \"NZD\" | \"OMR\" | \"PAB\" | \"PEN\" | \"PGK\" | \"PHP\" | \"PKR\" | \"PLN\" | \"PYG\" | \"QAR\" | \"RON\" | \"RSD\" | \"RUB\" | \"RWF\" | \"SAR\" | \"SBD\" | \"SCR\" | \"SDG\" | \"SEK\" | \"SGD\" | \"SHP\" | \"SLE\" | \"SLL\" | \"SOS\" | \"SRD\" | \"SSP\" | \"STN\" | \"SVC\" | \"SYP\" | \"SZL\" | \"THB\" | \"TJS\" | \"TMT\" | \"TND\" | \"TOP\" | \"TRY\" | \"TTD\" | \"TWD\" | \"TZS\" | \"UAH\" | \"UGX\" | \"USD\" | \"USN\" | \"UYI\" | \"UYU\" | \"UYW\" | \"UZS\" | \"VED\" | \"VES\" | \"VND\" | \"VUV\" | \"WST\" | \"XAF\" | \"XCD\" | \"XOF\" | \"XPF\" | \"YER\" | \"ZAR\" | \"ZMW\" | \"ZWL\")",
2099
+ value: input.code
2100
+ }, _errorFactory)) && ("string" === typeof input.name || __typia_transform__assertGuard._assertGuard(_exceptionable, {
2101
+ method: "createAssert",
2102
+ path: _path + ".name",
2103
+ expected: "string",
2104
+ value: input.name
2105
+ }, _errorFactory)) && ("string" === typeof input.precision || __typia_transform__assertGuard._assertGuard(_exceptionable, {
2106
+ method: "createAssert",
2107
+ path: _path + ".precision",
2108
+ expected: "string",
2109
+ value: input.precision
2110
+ }, _errorFactory)) && (true === _av6.has(input.isoNumber) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
2111
+ method: "createAssert",
2112
+ path: _path + ".isoNumber",
2113
+ expected: "(\"104\" | \"108\" | \"116\" | \"12\" | \"124\" | \"132\" | \"136\" | \"144\" | \"152\" | \"156\" | \"170\" | \"174\" | \"188\" | \"192\" | \"203\" | \"208\" | \"214\" | \"222\" | \"230\" | \"232\" | \"238\" | \"242\" | \"262\" | \"270\" | \"292\" | \"32\" | \"320\" | \"324\" | \"328\" | \"332\" | \"340\" | \"344\" | \"348\" | \"352\" | \"356\" | \"36\" | \"360\" | \"364\" | \"368\" | \"376\" | \"388\" | \"392\" | \"398\" | \"400\" | \"404\" | \"408\" | \"410\" | \"414\" | \"417\" | \"418\" | \"422\" | \"426\" | \"430\" | \"434\" | \"44\" | \"446\" | \"454\" | \"458\" | \"462\" | \"48\" | \"480\" | \"484\" | \"496\" | \"498\" | \"50\" | \"504\" | \"51\" | \"512\" | \"516\" | \"52\" | \"524\" | \"532\" | \"533\" | \"548\" | \"554\" | \"558\" | \"566\" | \"578\" | \"586\" | \"590\" | \"598\" | \"60\" | \"600\" | \"604\" | \"608\" | \"634\" | \"64\" | \"643\" | \"646\" | \"654\" | \"68\" | \"682\" | \"690\" | \"694\" | \"702\" | \"704\" | \"706\" | \"710\" | \"72\" | \"728\" | \"748\" | \"752\" | \"756\" | \"760\" | \"764\" | \"776\" | \"780\" | \"784\" | \"788\" | \"8\" | \"800\" | \"807\" | \"818\" | \"826\" | \"834\" | \"84\" | \"840\" | \"858\" | \"860\" | \"882\" | \"886\" | \"90\" | \"901\" | \"925\" | \"926\" | \"927\" | \"928\" | \"929\" | \"930\" | \"931\" | \"932\" | \"933\" | \"934\" | \"936\" | \"938\" | \"940\" | \"941\" | \"943\" | \"944\" | \"946\" | \"947\" | \"948\" | \"949\" | \"950\" | \"951\" | \"952\" | \"953\" | \"96\" | \"967\" | \"968\" | \"969\" | \"970\" | \"971\" | \"972\" | \"973\" | \"975\" | \"976\" | \"977\" | \"978\" | \"979\" | \"980\" | \"981\" | \"984\" | \"985\" | \"986\" | \"990\" | \"997\")",
2114
+ value: input.isoNumber
2115
+ }, _errorFactory)); const _ao8 = (input, _path, _exceptionable = true) => true; const _ao9 = (input, _path, _exceptionable = true) => (null !== input.location || __typia_transform__assertGuard._assertGuard(_exceptionable, {
2116
+ method: "createAssert",
2117
+ path: _path + ".location",
2118
+ expected: "(__type.o1 | __type.o4 | `chain:evm:${bigint}` | `chain:keeta:${bigint}`)",
2119
+ value: input.location
2120
+ }, _errorFactory)) && (undefined !== input.location || __typia_transform__assertGuard._assertGuard(_exceptionable, {
2121
+ method: "createAssert",
2122
+ path: _path + ".location",
2123
+ expected: "(__type.o1 | __type.o4 | `chain:evm:${bigint}` | `chain:keeta:${bigint}`)",
2124
+ value: input.location
2125
+ }, _errorFactory)) && ("string" === typeof input.location && (RegExp(/^chain:keeta:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location) || RegExp(/^chain:evm:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location)) || ("object" === typeof input.location && null !== input.location || __typia_transform__assertGuard._assertGuard(_exceptionable, {
2126
+ method: "createAssert",
2127
+ path: _path + ".location",
2128
+ expected: "(__type.o1 | __type.o4 | `chain:evm:${bigint}` | `chain:keeta:${bigint}`)",
2129
+ value: input.location
2130
+ }, _errorFactory)) && _au0(input.location, _path + ".location", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
2131
+ method: "createAssert",
2132
+ path: _path + ".location",
2133
+ expected: "(__type.o1 | __type.o4 | `chain:evm:${bigint}` | `chain:keeta:${bigint}`)",
2134
+ value: input.location
2135
+ }, _errorFactory)) && (undefined === input.userAddress || "string" === typeof input.userAddress || __typia_transform__assertGuard._assertGuard(_exceptionable, {
2136
+ method: "createAssert",
2137
+ path: _path + ".userAddress",
2138
+ expected: "(string | undefined)",
2139
+ value: input.userAddress
2140
+ }, _errorFactory)) && ((null !== input.asset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
2141
+ method: "createAssert",
2142
+ path: _path + ".asset",
2143
+ expected: "(Currency | TokenAddress | `keeta_am${string}` | `keeta_an${string}` | `keeta_ao${string}` | `keeta_ap${string}` | `tyblocks_am${string}` | `tyblocks_an${string}` | `tyblocks_ao${string}` | `tyblocks_ap${string}` | undefined)",
2144
+ value: input.asset
2145
+ }, _errorFactory)) && (undefined === input.asset || "string" === typeof input.asset && (RegExp(/^keeta_am(.*)/).test(input.asset) || RegExp(/^keeta_an(.*)/).test(input.asset) || RegExp(/^keeta_ao(.*)/).test(input.asset) || RegExp(/^keeta_ap(.*)/).test(input.asset) || RegExp(/^tyblocks_am(.*)/).test(input.asset) || RegExp(/^tyblocks_an(.*)/).test(input.asset) || RegExp(/^tyblocks_ao(.*)/).test(input.asset) || RegExp(/^tyblocks_ap(.*)/).test(input.asset)) || ("object" === typeof input.asset && null !== input.asset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
2146
+ method: "createAssert",
2147
+ path: _path + ".asset",
2148
+ expected: "(Currency | TokenAddress | `keeta_am${string}` | `keeta_an${string}` | `keeta_ao${string}` | `keeta_ap${string}` | `tyblocks_am${string}` | `tyblocks_an${string}` | `tyblocks_ao${string}` | `tyblocks_ap${string}` | undefined)",
2149
+ value: input.asset
2150
+ }, _errorFactory)) && _au2(input.asset, _path + ".asset", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
2151
+ method: "createAssert",
2152
+ path: _path + ".asset",
2153
+ expected: "(Currency | TokenAddress | `keeta_am${string}` | `keeta_an${string}` | `keeta_ao${string}` | `keeta_ap${string}` | `tyblocks_am${string}` | `tyblocks_an${string}` | `tyblocks_ao${string}` | `tyblocks_ap${string}` | undefined)",
2154
+ value: input.asset
2155
+ }, _errorFactory))); const _ao10 = (input, _path, _exceptionable = true) => (undefined === input.limit || "number" === typeof input.limit || __typia_transform__assertGuard._assertGuard(_exceptionable, {
2156
+ method: "createAssert",
2157
+ path: _path + ".limit",
2158
+ expected: "(number | undefined)",
2159
+ value: input.limit
2160
+ }, _errorFactory)) && (undefined === input.offset || "number" === typeof input.offset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
2161
+ method: "createAssert",
2162
+ path: _path + ".offset",
2163
+ expected: "(number | undefined)",
2164
+ value: input.offset
2165
+ }, _errorFactory)); const _au0 = (input, _path, _exceptionable = true) => (() => {
2166
+ if ("chain" === input.type)
2167
+ return _ao2(input, _path, true && _exceptionable);
2168
+ else if ("bank-account" === input.type)
2169
+ return _ao5(input, _path, true && _exceptionable);
2170
+ else
2171
+ return __typia_transform__assertGuard._assertGuard(_exceptionable, {
2172
+ method: "createAssert",
2173
+ path: _path,
2174
+ expected: "(__type.o1 | __type.o4)",
2175
+ value: input
2176
+ }, _errorFactory);
2177
+ })(); const _au1 = (input, _path, _exceptionable = true) => (() => {
2178
+ if ("keeta" === input.type)
2179
+ return _ao3(input, _path, true && _exceptionable);
2180
+ else if ("evm" === input.type)
2181
+ return _ao4(input, _path, true && _exceptionable);
2182
+ else
2183
+ return __typia_transform__assertGuard._assertGuard(_exceptionable, {
2184
+ method: "createAssert",
2185
+ path: _path,
2186
+ expected: "(__type.o2 | __type.o3)",
2187
+ value: input
2188
+ }, _errorFactory);
2189
+ })(); const _au2 = (input, _path, _exceptionable = true) => (() => {
2190
+ if (undefined !== input.code)
2191
+ return _ao7(input, _path, true && _exceptionable);
2192
+ else
2193
+ return _ao8(input, _path, true && _exceptionable);
2194
+ })(); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let _errorFactory; return (input, errorFactory) => {
2195
+ if (false === __is(input)) {
2196
+ _errorFactory = errorFactory;
2197
+ ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
2198
+ method: "createAssert",
2199
+ path: _path + "",
2200
+ expected: "KeetaAssetMovementAnchorlistTransactionsRequest",
2201
+ value: input
2202
+ }, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
2203
+ method: "createAssert",
2204
+ path: _path + "",
2205
+ expected: "KeetaAssetMovementAnchorlistTransactionsRequest",
2206
+ value: input
2207
+ }, _errorFactory))(input, "$input", true);
2208
+ }
2209
+ return input;
2210
+ }; })();
2211
+ export const assertKeetaAssetMovementAnchorlistPersistentForwardingTransactionsResponse = (() => { const _iv2 = new Set(["ALL", "AFN", "EUR", "DZD", "USD", "AOA", "XCD", "ARS", "AMD", "AWG", "AUD", "AZN", "BSD", "BHD", "BDT", "BBD", "BYN", "BZD", "XOF", "BMD", "INR", "BTN", "BOB", "BOV", "BAM", "BWP", "NOK", "BRL", "BND", "BGN", "BIF", "CVE", "KHR", "XAF", "CAD", "KYD", "CLP", "CLF", "CNY", "COP", "COU", "KMF", "CDF", "NZD", "CRC", "CUP", "CUC", "ANG", "CZK", "DKK", "DJF", "DOP", "EGP", "SVC", "ERN", "SZL", "ETB", "FKP", "FJD", "XPF", "GMD", "GEL", "GHS", "GIP", "GTQ", "GBP", "GNF", "GYD", "HTG", "HNL", "HKD", "HUF", "ISK", "IDR", "IRR", "IQD", "ILS", "JMD", "JPY", "JOD", "KZT", "KES", "KPW", "KRW", "KWD", "KGS", "LAK", "LBP", "LSL", "ZAR", "LRD", "LYD", "CHF", "MOP", "MKD", "MGA", "MWK", "MYR", "MVR", "MRU", "MUR", "MXN", "MXV", "MDL", "MNT", "MAD", "MZN", "MMK", "NAD", "NPR", "NIO", "NGN", "OMR", "PKR", "PAB", "PGK", "PYG", "PEN", "PHP", "PLN", "QAR", "RON", "RUB", "RWF", "SHP", "WST", "STN", "SAR", "RSD", "SCR", "SLL", "SLE", "SGD", "SBD", "SOS", "SSP", "LKR", "SDG", "SRD", "SEK", "CHE", "CHW", "SYP", "TWD", "TJS", "TZS", "THB", "TOP", "TTD", "TND", "TRY", "TMT", "UGX", "UAH", "AED", "USN", "UYU", "UYI", "UYW", "UZS", "VUV", "VES", "VED", "VND", "YER", "ZMW", "ZWL"]); const _iv3 = new Set(["971", "978", "8", "12", "840", "973", "951", "32", "51", "533", "36", "944", "44", "48", "50", "52", "933", "84", "952", "60", "356", "64", "68", "984", "977", "72", "578", "986", "96", "975", "108", "132", "116", "950", "124", "136", "152", "990", "156", "170", "970", "174", "976", "554", "188", "192", "931", "532", "203", "208", "262", "214", "818", "222", "232", "748", "230", "238", "242", "953", "270", "981", "936", "292", "320", "826", "324", "328", "332", "340", "344", "348", "352", "360", "364", "368", "376", "388", "392", "400", "398", "404", "408", "410", "414", "417", "418", "422", "426", "710", "430", "434", "756", "446", "807", "969", "454", "458", "462", "929", "480", "484", "979", "498", "496", "504", "943", "104", "516", "524", "558", "566", "512", "586", "590", "598", "600", "604", "608", "985", "634", "946", "643", "646", "654", "882", "930", "682", "941", "690", "694", "925", "702", "90", "706", "728", "144", "938", "968", "752", "947", "948", "760", "901", "972", "834", "764", "776", "780", "788", "949", "934", "800", "980", "784", "997", "858", "940", "927", "860", "548", "928", "926", "704", "886", "967", "932"]); const _av5 = new Set(["ALL", "AFN", "EUR", "DZD", "USD", "AOA", "XCD", "ARS", "AMD", "AWG", "AUD", "AZN", "BSD", "BHD", "BDT", "BBD", "BYN", "BZD", "XOF", "BMD", "INR", "BTN", "BOB", "BOV", "BAM", "BWP", "NOK", "BRL", "BND", "BGN", "BIF", "CVE", "KHR", "XAF", "CAD", "KYD", "CLP", "CLF", "CNY", "COP", "COU", "KMF", "CDF", "NZD", "CRC", "CUP", "CUC", "ANG", "CZK", "DKK", "DJF", "DOP", "EGP", "SVC", "ERN", "SZL", "ETB", "FKP", "FJD", "XPF", "GMD", "GEL", "GHS", "GIP", "GTQ", "GBP", "GNF", "GYD", "HTG", "HNL", "HKD", "HUF", "ISK", "IDR", "IRR", "IQD", "ILS", "JMD", "JPY", "JOD", "KZT", "KES", "KPW", "KRW", "KWD", "KGS", "LAK", "LBP", "LSL", "ZAR", "LRD", "LYD", "CHF", "MOP", "MKD", "MGA", "MWK", "MYR", "MVR", "MRU", "MUR", "MXN", "MXV", "MDL", "MNT", "MAD", "MZN", "MMK", "NAD", "NPR", "NIO", "NGN", "OMR", "PKR", "PAB", "PGK", "PYG", "PEN", "PHP", "PLN", "QAR", "RON", "RUB", "RWF", "SHP", "WST", "STN", "SAR", "RSD", "SCR", "SLL", "SLE", "SGD", "SBD", "SOS", "SSP", "LKR", "SDG", "SRD", "SEK", "CHE", "CHW", "SYP", "TWD", "TJS", "TZS", "THB", "TOP", "TTD", "TND", "TRY", "TMT", "UGX", "UAH", "AED", "USN", "UYU", "UYI", "UYW", "UZS", "VUV", "VES", "VED", "VND", "YER", "ZMW", "ZWL"]); const _av6 = new Set(["971", "978", "8", "12", "840", "973", "951", "32", "51", "533", "36", "944", "44", "48", "50", "52", "933", "84", "952", "60", "356", "64", "68", "984", "977", "72", "578", "986", "96", "975", "108", "132", "116", "950", "124", "136", "152", "990", "156", "170", "970", "174", "976", "554", "188", "192", "931", "532", "203", "208", "262", "214", "818", "222", "232", "748", "230", "238", "242", "953", "270", "981", "936", "292", "320", "826", "324", "328", "332", "340", "344", "348", "352", "360", "364", "368", "376", "388", "392", "400", "398", "404", "408", "410", "414", "417", "418", "422", "426", "710", "430", "434", "756", "446", "807", "969", "454", "458", "462", "929", "480", "484", "979", "498", "496", "504", "943", "104", "516", "524", "558", "566", "512", "586", "590", "598", "600", "604", "608", "985", "634", "946", "643", "646", "654", "882", "930", "682", "941", "690", "694", "925", "702", "90", "706", "728", "144", "938", "968", "752", "947", "948", "760", "901", "972", "834", "764", "776", "780", "788", "949", "934", "800", "980", "784", "997", "858", "940", "927", "860", "548", "928", "926", "704", "886", "967", "932"]); const _io0 = (input, _exceptionable = true) => true === input.ok && (Array.isArray(input.transactions) && input.transactions.every((elem, _index1) => "object" === typeof elem && null !== elem && _io1(elem, true && _exceptionable))) && "string" === typeof input.total && (3 === Object.keys(input).length || Object.keys(input).every(key => {
2212
+ if (["ok", "transactions", "total"].some(prop => key === prop))
2213
+ return true;
2214
+ const value = input[key];
2215
+ if (undefined === value)
2216
+ return true;
2217
+ return false;
2218
+ })); const _io1 = (input, _exceptionable = true) => "string" === typeof input.id && "string" === typeof input.status && (null !== input.asset && undefined !== input.asset && ("string" === typeof input.asset && (RegExp(/^keeta_am(.*)/).test(input.asset) || RegExp(/^keeta_an(.*)/).test(input.asset) || RegExp(/^keeta_ao(.*)/).test(input.asset) || RegExp(/^keeta_ap(.*)/).test(input.asset) || RegExp(/^tyblocks_am(.*)/).test(input.asset) || RegExp(/^tyblocks_an(.*)/).test(input.asset) || RegExp(/^tyblocks_ao(.*)/).test(input.asset) || RegExp(/^tyblocks_ap(.*)/).test(input.asset)) || "object" === typeof input.asset && null !== input.asset && _iu0(input.asset, true && _exceptionable))) && ("object" === typeof input.from && null !== input.from && _io4(input.from, true && _exceptionable)) && ("object" === typeof input.to && null !== input.to && _io7(input.to, true && _exceptionable)) && (null === input.fee || "object" === typeof input.fee && null !== input.fee && _io9(input.fee, true && _exceptionable)) && "string" === typeof input.createdAt && "string" === typeof input.updatedAt && (8 === Object.keys(input).length || Object.keys(input).every(key => {
2219
+ if (["id", "status", "asset", "from", "to", "fee", "createdAt", "updatedAt"].some(prop => key === prop))
2220
+ return true;
2221
+ const value = input[key];
2222
+ if (undefined === value)
2223
+ return true;
2224
+ return false;
2225
+ })); const _io2 = (input, _exceptionable = true) => true && true === _iv2.has(input.code) && "string" === typeof input.name && "string" === typeof input.precision && true === _iv3.has(input.isoNumber) && (5 === Object.keys(input).length || Object.keys(input).every(key => {
2226
+ if (["#private", "code", "name", "precision", "isoNumber"].some(prop => key === prop))
2227
+ return true;
2228
+ const value = input[key];
2229
+ if (undefined === value)
2230
+ return true;
2231
+ return false;
2232
+ })); const _io3 = (input, _exceptionable = true) => true && (1 === Object.keys(input).length || Object.keys(input).every(key => {
2233
+ if (["#private"].some(prop => key === prop))
2234
+ return true;
2235
+ const value = input[key];
2236
+ if (undefined === value)
2237
+ return true;
2238
+ return false;
2239
+ })); const _io4 = (input, _exceptionable = true) => "string" === typeof input.location && (RegExp(/^chain:keeta:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location) || RegExp(/^chain:evm:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location)) && "string" === typeof input.value && ("object" === typeof input.transactions && null !== input.transactions && _io5(input.transactions, true && _exceptionable)) && (3 === Object.keys(input).length || Object.keys(input).every(key => {
2240
+ if (["location", "value", "transactions"].some(prop => key === prop))
2241
+ return true;
2242
+ const value = input[key];
2243
+ if (undefined === value)
2244
+ return true;
2245
+ return false;
2246
+ })); const _io5 = (input, _exceptionable = true) => (null === input.persistentForwarding || "object" === typeof input.persistentForwarding && null !== input.persistentForwarding && _io6(input.persistentForwarding, true && _exceptionable)) && (null === input.deposit || "object" === typeof input.deposit && null !== input.deposit && _io6(input.deposit, true && _exceptionable)) && (null === input.finalization || "object" === typeof input.finalization && null !== input.finalization && _io6(input.finalization, true && _exceptionable)) && (3 === Object.keys(input).length || Object.keys(input).every(key => {
2247
+ if (["persistentForwarding", "deposit", "finalization"].some(prop => key === prop))
2248
+ return true;
2249
+ const value = input[key];
2250
+ if (undefined === value)
2251
+ return true;
2252
+ return false;
2253
+ })); const _io6 = (input, _exceptionable = true) => "string" === typeof input.id && "string" === typeof input.nonce && (2 === Object.keys(input).length || Object.keys(input).every(key => {
2254
+ if (["id", "nonce"].some(prop => key === prop))
2255
+ return true;
2256
+ const value = input[key];
2257
+ if (undefined === value)
2258
+ return true;
2259
+ return false;
2260
+ })); const _io7 = (input, _exceptionable = true) => "string" === typeof input.location && (RegExp(/^chain:keeta:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location) || RegExp(/^chain:evm:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location)) && "string" === typeof input.value && ("object" === typeof input.transactions && null !== input.transactions && _io8(input.transactions, true && _exceptionable)) && (3 === Object.keys(input).length || Object.keys(input).every(key => {
2261
+ if (["location", "value", "transactions"].some(prop => key === prop))
2262
+ return true;
2263
+ const value = input[key];
2264
+ if (undefined === value)
2265
+ return true;
2266
+ return false;
2267
+ })); const _io8 = (input, _exceptionable = true) => (null === input.withdraw || "object" === typeof input.withdraw && null !== input.withdraw && _io6(input.withdraw, true && _exceptionable)) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
2268
+ if (["withdraw"].some(prop => key === prop))
2269
+ return true;
2270
+ const value = input[key];
2271
+ if (undefined === value)
2272
+ return true;
2273
+ return false;
2274
+ })); const _io9 = (input, _exceptionable = true) => null !== input.asset && undefined !== input.asset && ("string" === typeof input.asset && (RegExp(/^keeta_am(.*)/).test(input.asset) || RegExp(/^keeta_an(.*)/).test(input.asset) || RegExp(/^keeta_ao(.*)/).test(input.asset) || RegExp(/^keeta_ap(.*)/).test(input.asset) || RegExp(/^tyblocks_am(.*)/).test(input.asset) || RegExp(/^tyblocks_an(.*)/).test(input.asset) || RegExp(/^tyblocks_ao(.*)/).test(input.asset) || RegExp(/^tyblocks_ap(.*)/).test(input.asset)) || "object" === typeof input.asset && null !== input.asset && _iu0(input.asset, true && _exceptionable)) && "string" === typeof input.value && (2 === Object.keys(input).length || Object.keys(input).every(key => {
2275
+ if (["asset", "value"].some(prop => key === prop))
2276
+ return true;
2277
+ const value = input[key];
2278
+ if (undefined === value)
2279
+ return true;
2280
+ return false;
2281
+ })); const _io10 = (input, _exceptionable = true) => false === input.ok && "string" === typeof input.error && (2 === Object.keys(input).length || Object.keys(input).every(key => {
2282
+ if (["ok", "error"].some(prop => key === prop))
2283
+ return true;
2284
+ const value = input[key];
2285
+ if (undefined === value)
2286
+ return true;
2287
+ return false;
2288
+ })); const _iu0 = (input, _exceptionable = true) => (() => {
2289
+ if (undefined !== input.code)
2290
+ return _io2(input, true && _exceptionable);
2291
+ else
2292
+ return _io3(input, true && _exceptionable);
2293
+ })(); const _iu1 = (input, _exceptionable = true) => (() => {
2294
+ if (true === input.ok)
2295
+ return _io0(input, true && _exceptionable);
2296
+ else if (false === input.ok)
2297
+ return _io10(input, true && _exceptionable);
2298
+ else
2299
+ return false;
2300
+ })(); const _ao0 = (input, _path, _exceptionable = true) => (true === input.ok || __typia_transform__assertGuard._assertGuard(_exceptionable, {
2301
+ method: "createAssertEquals",
2302
+ path: _path + ".ok",
2303
+ expected: "true",
2304
+ value: input.ok
2305
+ }, _errorFactory)) && ((Array.isArray(input.transactions) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
2306
+ method: "createAssertEquals",
2307
+ path: _path + ".transactions",
2308
+ expected: "Array<KeetaAssetMovementTransaction>",
2309
+ value: input.transactions
2310
+ }, _errorFactory)) && input.transactions.every((elem, _index4) => ("object" === typeof elem && null !== elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
2311
+ method: "createAssertEquals",
2312
+ path: _path + ".transactions[" + _index4 + "]",
2313
+ expected: "KeetaAssetMovementTransaction",
2314
+ value: elem
2315
+ }, _errorFactory)) && _ao1(elem, _path + ".transactions[" + _index4 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
2316
+ method: "createAssertEquals",
2317
+ path: _path + ".transactions[" + _index4 + "]",
2318
+ expected: "KeetaAssetMovementTransaction",
2319
+ value: elem
2320
+ }, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
2321
+ method: "createAssertEquals",
2322
+ path: _path + ".transactions",
2323
+ expected: "Array<KeetaAssetMovementTransaction>",
2324
+ value: input.transactions
2325
+ }, _errorFactory)) && ("string" === typeof input.total || __typia_transform__assertGuard._assertGuard(_exceptionable, {
2326
+ method: "createAssertEquals",
2327
+ path: _path + ".total",
2328
+ expected: "string",
2329
+ value: input.total
2330
+ }, _errorFactory)) && (3 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).every(key => {
2331
+ if (["ok", "transactions", "total"].some(prop => key === prop))
2332
+ return true;
2333
+ const value = input[key];
2334
+ if (undefined === value)
2335
+ return true;
2336
+ return __typia_transform__assertGuard._assertGuard(_exceptionable, {
2337
+ method: "createAssertEquals",
2338
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
2339
+ expected: "undefined",
2340
+ value: value
2341
+ }, _errorFactory);
2342
+ }))); const _ao1 = (input, _path, _exceptionable = true) => ("string" === typeof input.id || __typia_transform__assertGuard._assertGuard(_exceptionable, {
2343
+ method: "createAssertEquals",
2344
+ path: _path + ".id",
2345
+ expected: "string",
2346
+ value: input.id
2347
+ }, _errorFactory)) && ("string" === typeof input.status || __typia_transform__assertGuard._assertGuard(_exceptionable, {
2348
+ method: "createAssertEquals",
2349
+ path: _path + ".status",
2350
+ expected: "string",
2351
+ value: input.status
2352
+ }, _errorFactory)) && ((null !== input.asset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
2353
+ method: "createAssertEquals",
2354
+ path: _path + ".asset",
2355
+ expected: "(Currency | TokenAddress | `keeta_am${string}` | `keeta_an${string}` | `keeta_ao${string}` | `keeta_ap${string}` | `tyblocks_am${string}` | `tyblocks_an${string}` | `tyblocks_ao${string}` | `tyblocks_ap${string}`)",
2356
+ value: input.asset
2357
+ }, _errorFactory)) && (undefined !== input.asset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
2358
+ method: "createAssertEquals",
2359
+ path: _path + ".asset",
2360
+ expected: "(Currency | TokenAddress | `keeta_am${string}` | `keeta_an${string}` | `keeta_ao${string}` | `keeta_ap${string}` | `tyblocks_am${string}` | `tyblocks_an${string}` | `tyblocks_ao${string}` | `tyblocks_ap${string}`)",
2361
+ value: input.asset
2362
+ }, _errorFactory)) && ("string" === typeof input.asset && (RegExp(/^keeta_am(.*)/).test(input.asset) || RegExp(/^keeta_an(.*)/).test(input.asset) || RegExp(/^keeta_ao(.*)/).test(input.asset) || RegExp(/^keeta_ap(.*)/).test(input.asset) || RegExp(/^tyblocks_am(.*)/).test(input.asset) || RegExp(/^tyblocks_an(.*)/).test(input.asset) || RegExp(/^tyblocks_ao(.*)/).test(input.asset) || RegExp(/^tyblocks_ap(.*)/).test(input.asset)) || ("object" === typeof input.asset && null !== input.asset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
2363
+ method: "createAssertEquals",
2364
+ path: _path + ".asset",
2365
+ expected: "(Currency | TokenAddress | `keeta_am${string}` | `keeta_an${string}` | `keeta_ao${string}` | `keeta_ap${string}` | `tyblocks_am${string}` | `tyblocks_an${string}` | `tyblocks_ao${string}` | `tyblocks_ap${string}`)",
2366
+ value: input.asset
2367
+ }, _errorFactory)) && _au0(input.asset, _path + ".asset", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
2368
+ method: "createAssertEquals",
2369
+ path: _path + ".asset",
2370
+ expected: "(Currency | TokenAddress | `keeta_am${string}` | `keeta_an${string}` | `keeta_ao${string}` | `keeta_ap${string}` | `tyblocks_am${string}` | `tyblocks_an${string}` | `tyblocks_ao${string}` | `tyblocks_ap${string}`)",
2371
+ value: input.asset
2372
+ }, _errorFactory))) && (("object" === typeof input.from && null !== input.from || __typia_transform__assertGuard._assertGuard(_exceptionable, {
2373
+ method: "createAssertEquals",
2374
+ path: _path + ".from",
2375
+ expected: "__type",
2376
+ value: input.from
2377
+ }, _errorFactory)) && _ao4(input.from, _path + ".from", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
2378
+ method: "createAssertEquals",
2379
+ path: _path + ".from",
2380
+ expected: "__type",
2381
+ value: input.from
2382
+ }, _errorFactory)) && (("object" === typeof input.to && null !== input.to || __typia_transform__assertGuard._assertGuard(_exceptionable, {
2383
+ method: "createAssertEquals",
2384
+ path: _path + ".to",
2385
+ expected: "__type.o1",
2386
+ value: input.to
2387
+ }, _errorFactory)) && _ao7(input.to, _path + ".to", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
2388
+ method: "createAssertEquals",
2389
+ path: _path + ".to",
2390
+ expected: "__type.o1",
2391
+ value: input.to
2392
+ }, _errorFactory)) && (null === input.fee || ("object" === typeof input.fee && null !== input.fee || __typia_transform__assertGuard._assertGuard(_exceptionable, {
2393
+ method: "createAssertEquals",
2394
+ path: _path + ".fee",
2395
+ expected: "(__type.o2 | null)",
2396
+ value: input.fee
2397
+ }, _errorFactory)) && _ao9(input.fee, _path + ".fee", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
2398
+ method: "createAssertEquals",
2399
+ path: _path + ".fee",
2400
+ expected: "(__type.o2 | null)",
2401
+ value: input.fee
2402
+ }, _errorFactory)) && ("string" === typeof input.createdAt || __typia_transform__assertGuard._assertGuard(_exceptionable, {
2403
+ method: "createAssertEquals",
2404
+ path: _path + ".createdAt",
2405
+ expected: "string",
2406
+ value: input.createdAt
2407
+ }, _errorFactory)) && ("string" === typeof input.updatedAt || __typia_transform__assertGuard._assertGuard(_exceptionable, {
2408
+ method: "createAssertEquals",
2409
+ path: _path + ".updatedAt",
2410
+ expected: "string",
2411
+ value: input.updatedAt
2412
+ }, _errorFactory)) && (8 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).every(key => {
2413
+ if (["id", "status", "asset", "from", "to", "fee", "createdAt", "updatedAt"].some(prop => key === prop))
2414
+ return true;
2415
+ const value = input[key];
2416
+ if (undefined === value)
2417
+ return true;
2418
+ return __typia_transform__assertGuard._assertGuard(_exceptionable, {
2419
+ method: "createAssertEquals",
2420
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
2421
+ expected: "undefined",
2422
+ value: value
2423
+ }, _errorFactory);
2424
+ }))); const _ao2 = (input, _path, _exceptionable = true) => true && (true === _av5.has(input.code) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
2425
+ method: "createAssertEquals",
2426
+ path: _path + ".code",
2427
+ expected: "(\"AED\" | \"AFN\" | \"ALL\" | \"AMD\" | \"ANG\" | \"AOA\" | \"ARS\" | \"AUD\" | \"AWG\" | \"AZN\" | \"BAM\" | \"BBD\" | \"BDT\" | \"BGN\" | \"BHD\" | \"BIF\" | \"BMD\" | \"BND\" | \"BOB\" | \"BOV\" | \"BRL\" | \"BSD\" | \"BTN\" | \"BWP\" | \"BYN\" | \"BZD\" | \"CAD\" | \"CDF\" | \"CHE\" | \"CHF\" | \"CHW\" | \"CLF\" | \"CLP\" | \"CNY\" | \"COP\" | \"COU\" | \"CRC\" | \"CUC\" | \"CUP\" | \"CVE\" | \"CZK\" | \"DJF\" | \"DKK\" | \"DOP\" | \"DZD\" | \"EGP\" | \"ERN\" | \"ETB\" | \"EUR\" | \"FJD\" | \"FKP\" | \"GBP\" | \"GEL\" | \"GHS\" | \"GIP\" | \"GMD\" | \"GNF\" | \"GTQ\" | \"GYD\" | \"HKD\" | \"HNL\" | \"HTG\" | \"HUF\" | \"IDR\" | \"ILS\" | \"INR\" | \"IQD\" | \"IRR\" | \"ISK\" | \"JMD\" | \"JOD\" | \"JPY\" | \"KES\" | \"KGS\" | \"KHR\" | \"KMF\" | \"KPW\" | \"KRW\" | \"KWD\" | \"KYD\" | \"KZT\" | \"LAK\" | \"LBP\" | \"LKR\" | \"LRD\" | \"LSL\" | \"LYD\" | \"MAD\" | \"MDL\" | \"MGA\" | \"MKD\" | \"MMK\" | \"MNT\" | \"MOP\" | \"MRU\" | \"MUR\" | \"MVR\" | \"MWK\" | \"MXN\" | \"MXV\" | \"MYR\" | \"MZN\" | \"NAD\" | \"NGN\" | \"NIO\" | \"NOK\" | \"NPR\" | \"NZD\" | \"OMR\" | \"PAB\" | \"PEN\" | \"PGK\" | \"PHP\" | \"PKR\" | \"PLN\" | \"PYG\" | \"QAR\" | \"RON\" | \"RSD\" | \"RUB\" | \"RWF\" | \"SAR\" | \"SBD\" | \"SCR\" | \"SDG\" | \"SEK\" | \"SGD\" | \"SHP\" | \"SLE\" | \"SLL\" | \"SOS\" | \"SRD\" | \"SSP\" | \"STN\" | \"SVC\" | \"SYP\" | \"SZL\" | \"THB\" | \"TJS\" | \"TMT\" | \"TND\" | \"TOP\" | \"TRY\" | \"TTD\" | \"TWD\" | \"TZS\" | \"UAH\" | \"UGX\" | \"USD\" | \"USN\" | \"UYI\" | \"UYU\" | \"UYW\" | \"UZS\" | \"VED\" | \"VES\" | \"VND\" | \"VUV\" | \"WST\" | \"XAF\" | \"XCD\" | \"XOF\" | \"XPF\" | \"YER\" | \"ZAR\" | \"ZMW\" | \"ZWL\")",
2428
+ value: input.code
2429
+ }, _errorFactory)) && ("string" === typeof input.name || __typia_transform__assertGuard._assertGuard(_exceptionable, {
2430
+ method: "createAssertEquals",
2431
+ path: _path + ".name",
2432
+ expected: "string",
2433
+ value: input.name
2434
+ }, _errorFactory)) && ("string" === typeof input.precision || __typia_transform__assertGuard._assertGuard(_exceptionable, {
2435
+ method: "createAssertEquals",
2436
+ path: _path + ".precision",
2437
+ expected: "string",
2438
+ value: input.precision
2439
+ }, _errorFactory)) && (true === _av6.has(input.isoNumber) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
2440
+ method: "createAssertEquals",
2441
+ path: _path + ".isoNumber",
2442
+ expected: "(\"104\" | \"108\" | \"116\" | \"12\" | \"124\" | \"132\" | \"136\" | \"144\" | \"152\" | \"156\" | \"170\" | \"174\" | \"188\" | \"192\" | \"203\" | \"208\" | \"214\" | \"222\" | \"230\" | \"232\" | \"238\" | \"242\" | \"262\" | \"270\" | \"292\" | \"32\" | \"320\" | \"324\" | \"328\" | \"332\" | \"340\" | \"344\" | \"348\" | \"352\" | \"356\" | \"36\" | \"360\" | \"364\" | \"368\" | \"376\" | \"388\" | \"392\" | \"398\" | \"400\" | \"404\" | \"408\" | \"410\" | \"414\" | \"417\" | \"418\" | \"422\" | \"426\" | \"430\" | \"434\" | \"44\" | \"446\" | \"454\" | \"458\" | \"462\" | \"48\" | \"480\" | \"484\" | \"496\" | \"498\" | \"50\" | \"504\" | \"51\" | \"512\" | \"516\" | \"52\" | \"524\" | \"532\" | \"533\" | \"548\" | \"554\" | \"558\" | \"566\" | \"578\" | \"586\" | \"590\" | \"598\" | \"60\" | \"600\" | \"604\" | \"608\" | \"634\" | \"64\" | \"643\" | \"646\" | \"654\" | \"68\" | \"682\" | \"690\" | \"694\" | \"702\" | \"704\" | \"706\" | \"710\" | \"72\" | \"728\" | \"748\" | \"752\" | \"756\" | \"760\" | \"764\" | \"776\" | \"780\" | \"784\" | \"788\" | \"8\" | \"800\" | \"807\" | \"818\" | \"826\" | \"834\" | \"84\" | \"840\" | \"858\" | \"860\" | \"882\" | \"886\" | \"90\" | \"901\" | \"925\" | \"926\" | \"927\" | \"928\" | \"929\" | \"930\" | \"931\" | \"932\" | \"933\" | \"934\" | \"936\" | \"938\" | \"940\" | \"941\" | \"943\" | \"944\" | \"946\" | \"947\" | \"948\" | \"949\" | \"950\" | \"951\" | \"952\" | \"953\" | \"96\" | \"967\" | \"968\" | \"969\" | \"970\" | \"971\" | \"972\" | \"973\" | \"975\" | \"976\" | \"977\" | \"978\" | \"979\" | \"980\" | \"981\" | \"984\" | \"985\" | \"986\" | \"990\" | \"997\")",
2443
+ value: input.isoNumber
2444
+ }, _errorFactory)) && (5 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).every(key => {
2445
+ if (["#private", "code", "name", "precision", "isoNumber"].some(prop => key === prop))
2446
+ return true;
2447
+ const value = input[key];
2448
+ if (undefined === value)
2449
+ return true;
2450
+ return __typia_transform__assertGuard._assertGuard(_exceptionable, {
2451
+ method: "createAssertEquals",
2452
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
2453
+ expected: "undefined",
2454
+ value: value
2455
+ }, _errorFactory);
2456
+ }))); const _ao3 = (input, _path, _exceptionable = true) => true && (1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).every(key => {
2457
+ if (["#private"].some(prop => key === prop))
2458
+ return true;
2459
+ const value = input[key];
2460
+ if (undefined === value)
2461
+ return true;
2462
+ return __typia_transform__assertGuard._assertGuard(_exceptionable, {
2463
+ method: "createAssertEquals",
2464
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
2465
+ expected: "undefined",
2466
+ value: value
2467
+ }, _errorFactory);
2468
+ }))); const _ao4 = (input, _path, _exceptionable = true) => ("string" === typeof input.location && (RegExp(/^chain:keeta:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location) || RegExp(/^chain:evm:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
2469
+ method: "createAssertEquals",
2470
+ path: _path + ".location",
2471
+ expected: "(`chain:evm:${bigint}` | `chain:keeta:${bigint}`)",
2472
+ value: input.location
2473
+ }, _errorFactory)) && ("string" === typeof input.value || __typia_transform__assertGuard._assertGuard(_exceptionable, {
2474
+ method: "createAssertEquals",
2475
+ path: _path + ".value",
2476
+ expected: "string",
2477
+ value: input.value
2478
+ }, _errorFactory)) && (("object" === typeof input.transactions && null !== input.transactions || __typia_transform__assertGuard._assertGuard(_exceptionable, {
2479
+ method: "createAssertEquals",
2480
+ path: _path + ".transactions",
2481
+ expected: "TransactionIds<\"persistentForwarding\" | \"deposit\" | \"finalization\">",
2482
+ value: input.transactions
2483
+ }, _errorFactory)) && _ao5(input.transactions, _path + ".transactions", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
2484
+ method: "createAssertEquals",
2485
+ path: _path + ".transactions",
2486
+ expected: "TransactionIds<\"persistentForwarding\" | \"deposit\" | \"finalization\">",
2487
+ value: input.transactions
2488
+ }, _errorFactory)) && (3 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).every(key => {
2489
+ if (["location", "value", "transactions"].some(prop => key === prop))
2490
+ return true;
2491
+ const value = input[key];
2492
+ if (undefined === value)
2493
+ return true;
2494
+ return __typia_transform__assertGuard._assertGuard(_exceptionable, {
2495
+ method: "createAssertEquals",
2496
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
2497
+ expected: "undefined",
2498
+ value: value
2499
+ }, _errorFactory);
2500
+ }))); const _ao5 = (input, _path, _exceptionable = true) => (null === input.persistentForwarding || ("object" === typeof input.persistentForwarding && null !== input.persistentForwarding || __typia_transform__assertGuard._assertGuard(_exceptionable, {
2501
+ method: "createAssertEquals",
2502
+ path: _path + ".persistentForwarding",
2503
+ expected: "(TransactionId | null)",
2504
+ value: input.persistentForwarding
2505
+ }, _errorFactory)) && _ao6(input.persistentForwarding, _path + ".persistentForwarding", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
2506
+ method: "createAssertEquals",
2507
+ path: _path + ".persistentForwarding",
2508
+ expected: "(TransactionId | null)",
2509
+ value: input.persistentForwarding
2510
+ }, _errorFactory)) && (null === input.deposit || ("object" === typeof input.deposit && null !== input.deposit || __typia_transform__assertGuard._assertGuard(_exceptionable, {
2511
+ method: "createAssertEquals",
2512
+ path: _path + ".deposit",
2513
+ expected: "(TransactionId | null)",
2514
+ value: input.deposit
2515
+ }, _errorFactory)) && _ao6(input.deposit, _path + ".deposit", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
2516
+ method: "createAssertEquals",
2517
+ path: _path + ".deposit",
2518
+ expected: "(TransactionId | null)",
2519
+ value: input.deposit
2520
+ }, _errorFactory)) && (null === input.finalization || ("object" === typeof input.finalization && null !== input.finalization || __typia_transform__assertGuard._assertGuard(_exceptionable, {
2521
+ method: "createAssertEquals",
2522
+ path: _path + ".finalization",
2523
+ expected: "(TransactionId | null)",
2524
+ value: input.finalization
2525
+ }, _errorFactory)) && _ao6(input.finalization, _path + ".finalization", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
2526
+ method: "createAssertEquals",
2527
+ path: _path + ".finalization",
2528
+ expected: "(TransactionId | null)",
2529
+ value: input.finalization
2530
+ }, _errorFactory)) && (3 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).every(key => {
2531
+ if (["persistentForwarding", "deposit", "finalization"].some(prop => key === prop))
2532
+ return true;
2533
+ const value = input[key];
2534
+ if (undefined === value)
2535
+ return true;
2536
+ return __typia_transform__assertGuard._assertGuard(_exceptionable, {
2537
+ method: "createAssertEquals",
2538
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
2539
+ expected: "undefined",
2540
+ value: value
2541
+ }, _errorFactory);
2542
+ }))); const _ao6 = (input, _path, _exceptionable = true) => ("string" === typeof input.id || __typia_transform__assertGuard._assertGuard(_exceptionable, {
2543
+ method: "createAssertEquals",
2544
+ path: _path + ".id",
2545
+ expected: "string",
2546
+ value: input.id
2547
+ }, _errorFactory)) && ("string" === typeof input.nonce || __typia_transform__assertGuard._assertGuard(_exceptionable, {
2548
+ method: "createAssertEquals",
2549
+ path: _path + ".nonce",
2550
+ expected: "string",
2551
+ value: input.nonce
2552
+ }, _errorFactory)) && (2 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).every(key => {
2553
+ if (["id", "nonce"].some(prop => key === prop))
2554
+ return true;
2555
+ const value = input[key];
2556
+ if (undefined === value)
2557
+ return true;
2558
+ return __typia_transform__assertGuard._assertGuard(_exceptionable, {
2559
+ method: "createAssertEquals",
2560
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
2561
+ expected: "undefined",
2562
+ value: value
2563
+ }, _errorFactory);
2564
+ }))); const _ao7 = (input, _path, _exceptionable = true) => ("string" === typeof input.location && (RegExp(/^chain:keeta:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location) || RegExp(/^chain:evm:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
2565
+ method: "createAssertEquals",
2566
+ path: _path + ".location",
2567
+ expected: "(`chain:evm:${bigint}` | `chain:keeta:${bigint}`)",
2568
+ value: input.location
2569
+ }, _errorFactory)) && ("string" === typeof input.value || __typia_transform__assertGuard._assertGuard(_exceptionable, {
2570
+ method: "createAssertEquals",
2571
+ path: _path + ".value",
2572
+ expected: "string",
2573
+ value: input.value
2574
+ }, _errorFactory)) && (("object" === typeof input.transactions && null !== input.transactions || __typia_transform__assertGuard._assertGuard(_exceptionable, {
2575
+ method: "createAssertEquals",
2576
+ path: _path + ".transactions",
2577
+ expected: "TransactionIds<\"withdraw\">",
2578
+ value: input.transactions
2579
+ }, _errorFactory)) && _ao8(input.transactions, _path + ".transactions", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
2580
+ method: "createAssertEquals",
2581
+ path: _path + ".transactions",
2582
+ expected: "TransactionIds<\"withdraw\">",
2583
+ value: input.transactions
2584
+ }, _errorFactory)) && (3 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).every(key => {
2585
+ if (["location", "value", "transactions"].some(prop => key === prop))
2586
+ return true;
2587
+ const value = input[key];
2588
+ if (undefined === value)
2589
+ return true;
2590
+ return __typia_transform__assertGuard._assertGuard(_exceptionable, {
2591
+ method: "createAssertEquals",
2592
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
2593
+ expected: "undefined",
2594
+ value: value
2595
+ }, _errorFactory);
2596
+ }))); const _ao8 = (input, _path, _exceptionable = true) => (null === input.withdraw || ("object" === typeof input.withdraw && null !== input.withdraw || __typia_transform__assertGuard._assertGuard(_exceptionable, {
2597
+ method: "createAssertEquals",
2598
+ path: _path + ".withdraw",
2599
+ expected: "(TransactionId | null)",
2600
+ value: input.withdraw
2601
+ }, _errorFactory)) && _ao6(input.withdraw, _path + ".withdraw", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
2602
+ method: "createAssertEquals",
2603
+ path: _path + ".withdraw",
2604
+ expected: "(TransactionId | null)",
2605
+ value: input.withdraw
2606
+ }, _errorFactory)) && (1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).every(key => {
2607
+ if (["withdraw"].some(prop => key === prop))
2608
+ return true;
2609
+ const value = input[key];
2610
+ if (undefined === value)
2611
+ return true;
2612
+ return __typia_transform__assertGuard._assertGuard(_exceptionable, {
2613
+ method: "createAssertEquals",
2614
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
2615
+ expected: "undefined",
2616
+ value: value
2617
+ }, _errorFactory);
2618
+ }))); const _ao9 = (input, _path, _exceptionable = true) => (null !== input.asset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
2619
+ method: "createAssertEquals",
2620
+ path: _path + ".asset",
2621
+ expected: "(Currency | TokenAddress | `keeta_am${string}` | `keeta_an${string}` | `keeta_ao${string}` | `keeta_ap${string}` | `tyblocks_am${string}` | `tyblocks_an${string}` | `tyblocks_ao${string}` | `tyblocks_ap${string}`)",
2622
+ value: input.asset
2623
+ }, _errorFactory)) && (undefined !== input.asset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
2624
+ method: "createAssertEquals",
2625
+ path: _path + ".asset",
2626
+ expected: "(Currency | TokenAddress | `keeta_am${string}` | `keeta_an${string}` | `keeta_ao${string}` | `keeta_ap${string}` | `tyblocks_am${string}` | `tyblocks_an${string}` | `tyblocks_ao${string}` | `tyblocks_ap${string}`)",
2627
+ value: input.asset
2628
+ }, _errorFactory)) && ("string" === typeof input.asset && (RegExp(/^keeta_am(.*)/).test(input.asset) || RegExp(/^keeta_an(.*)/).test(input.asset) || RegExp(/^keeta_ao(.*)/).test(input.asset) || RegExp(/^keeta_ap(.*)/).test(input.asset) || RegExp(/^tyblocks_am(.*)/).test(input.asset) || RegExp(/^tyblocks_an(.*)/).test(input.asset) || RegExp(/^tyblocks_ao(.*)/).test(input.asset) || RegExp(/^tyblocks_ap(.*)/).test(input.asset)) || ("object" === typeof input.asset && null !== input.asset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
2629
+ method: "createAssertEquals",
2630
+ path: _path + ".asset",
2631
+ expected: "(Currency | TokenAddress | `keeta_am${string}` | `keeta_an${string}` | `keeta_ao${string}` | `keeta_ap${string}` | `tyblocks_am${string}` | `tyblocks_an${string}` | `tyblocks_ao${string}` | `tyblocks_ap${string}`)",
2632
+ value: input.asset
2633
+ }, _errorFactory)) && _au0(input.asset, _path + ".asset", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
2634
+ method: "createAssertEquals",
2635
+ path: _path + ".asset",
2636
+ expected: "(Currency | TokenAddress | `keeta_am${string}` | `keeta_an${string}` | `keeta_ao${string}` | `keeta_ap${string}` | `tyblocks_am${string}` | `tyblocks_an${string}` | `tyblocks_ao${string}` | `tyblocks_ap${string}`)",
2637
+ value: input.asset
2638
+ }, _errorFactory)) && ("string" === typeof input.value || __typia_transform__assertGuard._assertGuard(_exceptionable, {
2639
+ method: "createAssertEquals",
2640
+ path: _path + ".value",
2641
+ expected: "string",
2642
+ value: input.value
2643
+ }, _errorFactory)) && (2 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).every(key => {
2644
+ if (["asset", "value"].some(prop => key === prop))
2645
+ return true;
2646
+ const value = input[key];
2647
+ if (undefined === value)
2648
+ return true;
2649
+ return __typia_transform__assertGuard._assertGuard(_exceptionable, {
2650
+ method: "createAssertEquals",
2651
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
2652
+ expected: "undefined",
2653
+ value: value
2654
+ }, _errorFactory);
2655
+ }))); const _ao10 = (input, _path, _exceptionable = true) => (false === input.ok || __typia_transform__assertGuard._assertGuard(_exceptionable, {
2656
+ method: "createAssertEquals",
2657
+ path: _path + ".ok",
2658
+ expected: "false",
2659
+ value: input.ok
2660
+ }, _errorFactory)) && ("string" === typeof input.error || __typia_transform__assertGuard._assertGuard(_exceptionable, {
2661
+ method: "createAssertEquals",
2662
+ path: _path + ".error",
2663
+ expected: "string",
2664
+ value: input.error
2665
+ }, _errorFactory)) && (2 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).every(key => {
2666
+ if (["ok", "error"].some(prop => key === prop))
2667
+ return true;
2668
+ const value = input[key];
2669
+ if (undefined === value)
2670
+ return true;
2671
+ return __typia_transform__assertGuard._assertGuard(_exceptionable, {
2672
+ method: "createAssertEquals",
2673
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
2674
+ expected: "undefined",
2675
+ value: value
2676
+ }, _errorFactory);
2677
+ }))); const _au0 = (input, _path, _exceptionable = true) => (() => {
2678
+ if (undefined !== input.code)
2679
+ return _ao2(input, _path, true && _exceptionable);
2680
+ else
2681
+ return _ao3(input, _path, true && _exceptionable);
2682
+ })(); const _au1 = (input, _path, _exceptionable = true) => (() => {
2683
+ if (true === input.ok)
2684
+ return _ao0(input, _path, true && _exceptionable);
2685
+ else if (false === input.ok)
2686
+ return _ao10(input, _path, true && _exceptionable);
2687
+ else
2688
+ return __typia_transform__assertGuard._assertGuard(_exceptionable, {
2689
+ method: "createAssertEquals",
2690
+ path: _path,
2691
+ expected: "({ ok: true; transactions: KeetaAssetMovementTransaction[]; } & PaginationResponseInformation | __type.o3)",
2692
+ value: input
2693
+ }, _errorFactory);
2694
+ })(); const __is = (input, _exceptionable = true) => "object" === typeof input && null !== input && _iu1(input, true); let _errorFactory; return (input, errorFactory) => {
2695
+ if (false === __is(input)) {
2696
+ _errorFactory = errorFactory;
2697
+ ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || __typia_transform__assertGuard._assertGuard(true, {
2698
+ method: "createAssertEquals",
2699
+ path: _path + "",
2700
+ expected: "(__type.o3 | { ok: true; transactions: KeetaAssetMovementTransaction[]; } & PaginationResponseInformation)",
2701
+ value: input
2702
+ }, _errorFactory)) && _au1(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
2703
+ method: "createAssertEquals",
2704
+ path: _path + "",
2705
+ expected: "(__type.o3 | { ok: true; transactions: KeetaAssetMovementTransaction[]; } & PaginationResponseInformation)",
2706
+ value: input
2707
+ }, _errorFactory))(input, "$input", true);
2708
+ }
2709
+ return input;
2710
+ }; })();
2711
+ export const isKeetaAssetMovementAnchorCreatePersistentForwardingResponse = (() => { const _io0 = input => true === input.ok && "string" === typeof input.address; const _io1 = input => false === input.ok && "string" === typeof input.error; const _iu0 = input => (() => {
2712
+ if (true === input.ok)
2713
+ return _io0(input);
2714
+ else if (false === input.ok)
2715
+ return _io1(input);
2716
+ else
2717
+ return false;
2718
+ })(); return input => "object" === typeof input && null !== input && _iu0(input); })();
2719
+ export const isKeetaAssetMovementAnchorInitiateTransferResponse = (() => { const _io0 = input => true === input.ok && "string" === typeof input.id && (Array.isArray(input.instructionChoices) && input.instructionChoices.every(elem => "object" === typeof elem && null !== elem && _iu0(elem))); const _io1 = input => "KEETA_SEND" === input.type && (null !== input.location && undefined !== input.location && ("string" === typeof input.location && (RegExp(/^chain:keeta:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location) || RegExp(/^chain:evm:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location)) || "object" === typeof input.location && null !== input.location && _iu1(input.location))) && "string" === typeof input.sendToAddress && "string" === typeof input.value && "string" === typeof input.tokenAddress && (undefined === input.external || "string" === typeof input.external) && "string" === typeof input.assetFee; const _io2 = input => "chain" === input.type && ("object" === typeof input.chain && null !== input.chain && _iu2(input.chain)); const _io3 = input => "keeta" === input.type && "bigint" === typeof input.networkId; const _io4 = input => "evm" === input.type && "bigint" === typeof input.chainId; const _io5 = input => "bank-account" === input.type && (null !== input.workInProgress && undefined === input.workInProgress); const _io6 = input => "EVM_SEND" === input.type && (null !== input.location && undefined !== input.location && ("string" === typeof input.location && (RegExp(/^chain:keeta:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location) || RegExp(/^chain:evm:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location)) || "object" === typeof input.location && null !== input.location && _iu1(input.location))) && "string" === typeof input.sendToAddress && "string" === typeof input.value && ("string" === typeof input.tokenAddress && RegExp(/^0x(.*)/).test(input.tokenAddress)) && "string" === typeof input.assetFee; const _io7 = input => "EVM_CALL" === input.type && (null !== input.location && undefined !== input.location && ("string" === typeof input.location && (RegExp(/^chain:keeta:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location) || RegExp(/^chain:evm:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location)) || "object" === typeof input.location && null !== input.location && _iu1(input.location))) && "string" === typeof input.contractAddress && "string" === typeof input.contractMethodName && (Array.isArray(input.contractMethodArgs) && input.contractMethodArgs.every(elem => "string" === typeof elem)) && "string" === typeof input.assetFee; const _io8 = input => false === input.ok && "string" === typeof input.error; const _iu0 = input => (() => {
2720
+ if ("KEETA_SEND" === input.type)
2721
+ return _io1(input);
2722
+ else if ("EVM_SEND" === input.type)
2723
+ return _io6(input);
2724
+ else if ("EVM_CALL" === input.type)
2725
+ return _io7(input);
2726
+ else
2727
+ return false;
2728
+ })(); const _iu1 = input => (() => {
2729
+ if ("chain" === input.type)
2730
+ return _io2(input);
2731
+ else if ("bank-account" === input.type)
2732
+ return _io5(input);
2733
+ else
2734
+ return false;
2735
+ })(); const _iu2 = input => (() => {
2736
+ if ("keeta" === input.type)
2737
+ return _io3(input);
2738
+ else if ("evm" === input.type)
2739
+ return _io4(input);
2740
+ else
2741
+ return false;
2742
+ })(); const _iu3 = input => (() => {
2743
+ if (true === input.ok)
2744
+ return _io0(input);
2745
+ else if (false === input.ok)
2746
+ return _io8(input);
2747
+ else
2748
+ return false;
2749
+ })(); return input => "object" === typeof input && null !== input && _iu3(input); })();
2750
+ export const isKeetaAssetMovementAnchorGetExchangeStatusResponse = (() => { const _iv1 = new Set(["ALL", "AFN", "EUR", "DZD", "USD", "AOA", "XCD", "ARS", "AMD", "AWG", "AUD", "AZN", "BSD", "BHD", "BDT", "BBD", "BYN", "BZD", "XOF", "BMD", "INR", "BTN", "BOB", "BOV", "BAM", "BWP", "NOK", "BRL", "BND", "BGN", "BIF", "CVE", "KHR", "XAF", "CAD", "KYD", "CLP", "CLF", "CNY", "COP", "COU", "KMF", "CDF", "NZD", "CRC", "CUP", "CUC", "ANG", "CZK", "DKK", "DJF", "DOP", "EGP", "SVC", "ERN", "SZL", "ETB", "FKP", "FJD", "XPF", "GMD", "GEL", "GHS", "GIP", "GTQ", "GBP", "GNF", "GYD", "HTG", "HNL", "HKD", "HUF", "ISK", "IDR", "IRR", "IQD", "ILS", "JMD", "JPY", "JOD", "KZT", "KES", "KPW", "KRW", "KWD", "KGS", "LAK", "LBP", "LSL", "ZAR", "LRD", "LYD", "CHF", "MOP", "MKD", "MGA", "MWK", "MYR", "MVR", "MRU", "MUR", "MXN", "MXV", "MDL", "MNT", "MAD", "MZN", "MMK", "NAD", "NPR", "NIO", "NGN", "OMR", "PKR", "PAB", "PGK", "PYG", "PEN", "PHP", "PLN", "QAR", "RON", "RUB", "RWF", "SHP", "WST", "STN", "SAR", "RSD", "SCR", "SLL", "SLE", "SGD", "SBD", "SOS", "SSP", "LKR", "SDG", "SRD", "SEK", "CHE", "CHW", "SYP", "TWD", "TJS", "TZS", "THB", "TOP", "TTD", "TND", "TRY", "TMT", "UGX", "UAH", "AED", "USN", "UYU", "UYI", "UYW", "UZS", "VUV", "VES", "VED", "VND", "YER", "ZMW", "ZWL"]); const _iv2 = new Set(["971", "978", "8", "12", "840", "973", "951", "32", "51", "533", "36", "944", "44", "48", "50", "52", "933", "84", "952", "60", "356", "64", "68", "984", "977", "72", "578", "986", "96", "975", "108", "132", "116", "950", "124", "136", "152", "990", "156", "170", "970", "174", "976", "554", "188", "192", "931", "532", "203", "208", "262", "214", "818", "222", "232", "748", "230", "238", "242", "953", "270", "981", "936", "292", "320", "826", "324", "328", "332", "340", "344", "348", "352", "360", "364", "368", "376", "388", "392", "400", "398", "404", "408", "410", "414", "417", "418", "422", "426", "710", "430", "434", "756", "446", "807", "969", "454", "458", "462", "929", "480", "484", "979", "498", "496", "504", "943", "104", "516", "524", "558", "566", "512", "586", "590", "598", "600", "604", "608", "985", "634", "946", "643", "646", "654", "882", "930", "682", "941", "690", "694", "925", "702", "90", "706", "728", "144", "938", "968", "752", "947", "948", "760", "901", "972", "834", "764", "776", "780", "788", "949", "934", "800", "980", "784", "997", "858", "940", "927", "860", "548", "928", "926", "704", "886", "967", "932"]); const _io0 = input => true === input.ok && ("object" === typeof input.transaction && null !== input.transaction && _io1(input.transaction)); const _io1 = input => "string" === typeof input.id && "string" === typeof input.status && (null !== input.asset && undefined !== input.asset && ("string" === typeof input.asset && (RegExp(/^keeta_am(.*)/).test(input.asset) || RegExp(/^keeta_an(.*)/).test(input.asset) || RegExp(/^keeta_ao(.*)/).test(input.asset) || RegExp(/^keeta_ap(.*)/).test(input.asset) || RegExp(/^tyblocks_am(.*)/).test(input.asset) || RegExp(/^tyblocks_an(.*)/).test(input.asset) || RegExp(/^tyblocks_ao(.*)/).test(input.asset) || RegExp(/^tyblocks_ap(.*)/).test(input.asset)) || "object" === typeof input.asset && null !== input.asset && _iu0(input.asset))) && ("object" === typeof input.from && null !== input.from && _io4(input.from)) && ("object" === typeof input.to && null !== input.to && _io7(input.to)) && (null === input.fee || "object" === typeof input.fee && null !== input.fee && _io9(input.fee)) && "string" === typeof input.createdAt && "string" === typeof input.updatedAt; const _io2 = input => true && true === _iv1.has(input.code) && "string" === typeof input.name && "string" === typeof input.precision && true === _iv2.has(input.isoNumber); const _io3 = input => true; const _io4 = input => "string" === typeof input.location && (RegExp(/^chain:keeta:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location) || RegExp(/^chain:evm:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location)) && "string" === typeof input.value && ("object" === typeof input.transactions && null !== input.transactions && _io5(input.transactions)); const _io5 = input => (null === input.persistentForwarding || "object" === typeof input.persistentForwarding && null !== input.persistentForwarding && _io6(input.persistentForwarding)) && (null === input.deposit || "object" === typeof input.deposit && null !== input.deposit && _io6(input.deposit)) && (null === input.finalization || "object" === typeof input.finalization && null !== input.finalization && _io6(input.finalization)); const _io6 = input => "string" === typeof input.id && "string" === typeof input.nonce; const _io7 = input => "string" === typeof input.location && (RegExp(/^chain:keeta:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location) || RegExp(/^chain:evm:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location)) && "string" === typeof input.value && ("object" === typeof input.transactions && null !== input.transactions && _io8(input.transactions)); const _io8 = input => null === input.withdraw || "object" === typeof input.withdraw && null !== input.withdraw && _io6(input.withdraw); const _io9 = input => null !== input.asset && undefined !== input.asset && ("string" === typeof input.asset && (RegExp(/^keeta_am(.*)/).test(input.asset) || RegExp(/^keeta_an(.*)/).test(input.asset) || RegExp(/^keeta_ao(.*)/).test(input.asset) || RegExp(/^keeta_ap(.*)/).test(input.asset) || RegExp(/^tyblocks_am(.*)/).test(input.asset) || RegExp(/^tyblocks_an(.*)/).test(input.asset) || RegExp(/^tyblocks_ao(.*)/).test(input.asset) || RegExp(/^tyblocks_ap(.*)/).test(input.asset)) || "object" === typeof input.asset && null !== input.asset && _iu0(input.asset)) && "string" === typeof input.value; const _io10 = input => false === input.ok && "string" === typeof input.error; const _iu0 = input => (() => {
2751
+ if (undefined !== input.code)
2752
+ return _io2(input);
2753
+ else
2754
+ return _io3(input);
2755
+ })(); const _iu1 = input => (() => {
2756
+ if (true === input.ok)
2757
+ return _io0(input);
2758
+ else if (false === input.ok)
2759
+ return _io10(input);
2760
+ else
2761
+ return false;
2762
+ })(); return input => "object" === typeof input && null !== input && _iu1(input); })();
2763
+ export const isKeetaAssetMovementAnchorlistPersistentForwardingTransactionsResponse = (() => { const _iv2 = new Set(["ALL", "AFN", "EUR", "DZD", "USD", "AOA", "XCD", "ARS", "AMD", "AWG", "AUD", "AZN", "BSD", "BHD", "BDT", "BBD", "BYN", "BZD", "XOF", "BMD", "INR", "BTN", "BOB", "BOV", "BAM", "BWP", "NOK", "BRL", "BND", "BGN", "BIF", "CVE", "KHR", "XAF", "CAD", "KYD", "CLP", "CLF", "CNY", "COP", "COU", "KMF", "CDF", "NZD", "CRC", "CUP", "CUC", "ANG", "CZK", "DKK", "DJF", "DOP", "EGP", "SVC", "ERN", "SZL", "ETB", "FKP", "FJD", "XPF", "GMD", "GEL", "GHS", "GIP", "GTQ", "GBP", "GNF", "GYD", "HTG", "HNL", "HKD", "HUF", "ISK", "IDR", "IRR", "IQD", "ILS", "JMD", "JPY", "JOD", "KZT", "KES", "KPW", "KRW", "KWD", "KGS", "LAK", "LBP", "LSL", "ZAR", "LRD", "LYD", "CHF", "MOP", "MKD", "MGA", "MWK", "MYR", "MVR", "MRU", "MUR", "MXN", "MXV", "MDL", "MNT", "MAD", "MZN", "MMK", "NAD", "NPR", "NIO", "NGN", "OMR", "PKR", "PAB", "PGK", "PYG", "PEN", "PHP", "PLN", "QAR", "RON", "RUB", "RWF", "SHP", "WST", "STN", "SAR", "RSD", "SCR", "SLL", "SLE", "SGD", "SBD", "SOS", "SSP", "LKR", "SDG", "SRD", "SEK", "CHE", "CHW", "SYP", "TWD", "TJS", "TZS", "THB", "TOP", "TTD", "TND", "TRY", "TMT", "UGX", "UAH", "AED", "USN", "UYU", "UYI", "UYW", "UZS", "VUV", "VES", "VED", "VND", "YER", "ZMW", "ZWL"]); const _iv3 = new Set(["971", "978", "8", "12", "840", "973", "951", "32", "51", "533", "36", "944", "44", "48", "50", "52", "933", "84", "952", "60", "356", "64", "68", "984", "977", "72", "578", "986", "96", "975", "108", "132", "116", "950", "124", "136", "152", "990", "156", "170", "970", "174", "976", "554", "188", "192", "931", "532", "203", "208", "262", "214", "818", "222", "232", "748", "230", "238", "242", "953", "270", "981", "936", "292", "320", "826", "324", "328", "332", "340", "344", "348", "352", "360", "364", "368", "376", "388", "392", "400", "398", "404", "408", "410", "414", "417", "418", "422", "426", "710", "430", "434", "756", "446", "807", "969", "454", "458", "462", "929", "480", "484", "979", "498", "496", "504", "943", "104", "516", "524", "558", "566", "512", "586", "590", "598", "600", "604", "608", "985", "634", "946", "643", "646", "654", "882", "930", "682", "941", "690", "694", "925", "702", "90", "706", "728", "144", "938", "968", "752", "947", "948", "760", "901", "972", "834", "764", "776", "780", "788", "949", "934", "800", "980", "784", "997", "858", "940", "927", "860", "548", "928", "926", "704", "886", "967", "932"]); const _io0 = input => true === input.ok && (Array.isArray(input.transactions) && input.transactions.every(elem => "object" === typeof elem && null !== elem && _io1(elem))) && "string" === typeof input.total; const _io1 = input => "string" === typeof input.id && "string" === typeof input.status && (null !== input.asset && undefined !== input.asset && ("string" === typeof input.asset && (RegExp(/^keeta_am(.*)/).test(input.asset) || RegExp(/^keeta_an(.*)/).test(input.asset) || RegExp(/^keeta_ao(.*)/).test(input.asset) || RegExp(/^keeta_ap(.*)/).test(input.asset) || RegExp(/^tyblocks_am(.*)/).test(input.asset) || RegExp(/^tyblocks_an(.*)/).test(input.asset) || RegExp(/^tyblocks_ao(.*)/).test(input.asset) || RegExp(/^tyblocks_ap(.*)/).test(input.asset)) || "object" === typeof input.asset && null !== input.asset && _iu0(input.asset))) && ("object" === typeof input.from && null !== input.from && _io4(input.from)) && ("object" === typeof input.to && null !== input.to && _io7(input.to)) && (null === input.fee || "object" === typeof input.fee && null !== input.fee && _io9(input.fee)) && "string" === typeof input.createdAt && "string" === typeof input.updatedAt; const _io2 = input => true && true === _iv2.has(input.code) && "string" === typeof input.name && "string" === typeof input.precision && true === _iv3.has(input.isoNumber); const _io3 = input => true; const _io4 = input => "string" === typeof input.location && (RegExp(/^chain:keeta:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location) || RegExp(/^chain:evm:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location)) && "string" === typeof input.value && ("object" === typeof input.transactions && null !== input.transactions && _io5(input.transactions)); const _io5 = input => (null === input.persistentForwarding || "object" === typeof input.persistentForwarding && null !== input.persistentForwarding && _io6(input.persistentForwarding)) && (null === input.deposit || "object" === typeof input.deposit && null !== input.deposit && _io6(input.deposit)) && (null === input.finalization || "object" === typeof input.finalization && null !== input.finalization && _io6(input.finalization)); const _io6 = input => "string" === typeof input.id && "string" === typeof input.nonce; const _io7 = input => "string" === typeof input.location && (RegExp(/^chain:keeta:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location) || RegExp(/^chain:evm:[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.location)) && "string" === typeof input.value && ("object" === typeof input.transactions && null !== input.transactions && _io8(input.transactions)); const _io8 = input => null === input.withdraw || "object" === typeof input.withdraw && null !== input.withdraw && _io6(input.withdraw); const _io9 = input => null !== input.asset && undefined !== input.asset && ("string" === typeof input.asset && (RegExp(/^keeta_am(.*)/).test(input.asset) || RegExp(/^keeta_an(.*)/).test(input.asset) || RegExp(/^keeta_ao(.*)/).test(input.asset) || RegExp(/^keeta_ap(.*)/).test(input.asset) || RegExp(/^tyblocks_am(.*)/).test(input.asset) || RegExp(/^tyblocks_an(.*)/).test(input.asset) || RegExp(/^tyblocks_ao(.*)/).test(input.asset) || RegExp(/^tyblocks_ap(.*)/).test(input.asset)) || "object" === typeof input.asset && null !== input.asset && _iu0(input.asset)) && "string" === typeof input.value; const _io10 = input => false === input.ok && "string" === typeof input.error; const _iu0 = input => (() => {
2764
+ if (undefined !== input.code)
2765
+ return _io2(input);
2766
+ else
2767
+ return _io3(input);
2768
+ })(); const _iu1 = input => (() => {
2769
+ if (true === input.ok)
2770
+ return _io0(input);
2771
+ else if (false === input.ok)
2772
+ return _io10(input);
2773
+ else
2774
+ return false;
2775
+ })(); return input => "object" === typeof input && null !== input && _iu1(input); })();
2776
+ //# sourceMappingURL=common.js.map