@imtbl/sdk 0.4.1-alpha → 0.4.2-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -23,7 +23,7 @@ interface ModuleConfiguration<T> {
23
23
  }
24
24
 
25
25
  /**
26
- * Immutable X API
26
+ * Immutable zkEVM API
27
27
  * Immutable Multi Rollup API
28
28
  *
29
29
  * The version of the OpenAPI document: 1.0.0
@@ -60,7 +60,7 @@ interface BasicAPIError {
60
60
  }
61
61
 
62
62
  /**
63
- * Immutable X API
63
+ * Immutable zkEVM API
64
64
  * Immutable Multi Rollup API
65
65
  *
66
66
  * The version of the OpenAPI document: 1.0.0
@@ -81,7 +81,7 @@ declare const NFTContractType: {
81
81
  type NFTContractType = typeof NFTContractType[keyof typeof NFTContractType];
82
82
 
83
83
  /**
84
- * Immutable X API
84
+ * Immutable zkEVM API
85
85
  * Immutable Multi Rollup API
86
86
  *
87
87
  * The version of the OpenAPI document: 1.0.0
@@ -119,7 +119,7 @@ interface ActivityNFT {
119
119
  }
120
120
 
121
121
  /**
122
- * Immutable X API
122
+ * Immutable zkEVM API
123
123
  * Immutable Multi Rollup API
124
124
  *
125
125
  * The version of the OpenAPI document: 1.0.0
@@ -140,7 +140,7 @@ declare const TokenContractType: {
140
140
  type TokenContractType = typeof TokenContractType[keyof typeof TokenContractType];
141
141
 
142
142
  /**
143
- * Immutable X API
143
+ * Immutable zkEVM API
144
144
  * Immutable Multi Rollup API
145
145
  *
146
146
  * The version of the OpenAPI document: 1.0.0
@@ -172,7 +172,7 @@ interface ActivityToken {
172
172
  }
173
173
 
174
174
  /**
175
- * Immutable X API
175
+ * Immutable zkEVM API
176
176
  * Immutable Multi Rollup API
177
177
  *
178
178
  * The version of the OpenAPI document: 1.0.0
@@ -191,7 +191,7 @@ interface ActivityToken {
191
191
  type ActivityAsset = ActivityNFT | ActivityToken;
192
192
 
193
193
  /**
194
- * Immutable X API
194
+ * Immutable zkEVM API
195
195
  * Immutable Multi Rollup API
196
196
  *
197
197
  * The version of the OpenAPI document: 1.0.0
@@ -229,7 +229,45 @@ interface Burn {
229
229
  }
230
230
 
231
231
  /**
232
- * Immutable X API
232
+ * Immutable zkEVM API
233
+ * Immutable Multi Rollup API
234
+ *
235
+ * The version of the OpenAPI document: 1.0.0
236
+ * Contact: support@immutable.com
237
+ *
238
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
239
+ * https://openapi-generator.tech
240
+ * Do not edit the class manually.
241
+ */
242
+
243
+ /**
244
+ * The deposit activity details
245
+ * @export
246
+ * @interface Deposit
247
+ */
248
+ interface Deposit$1 {
249
+ /**
250
+ * The account address the asset was deposited to
251
+ * @type {string}
252
+ * @memberof Deposit
253
+ */
254
+ 'to': string;
255
+ /**
256
+ * The deposited amount
257
+ * @type {string}
258
+ * @memberof Deposit
259
+ */
260
+ 'amount': string;
261
+ /**
262
+ *
263
+ * @type {ActivityAsset}
264
+ * @memberof Deposit
265
+ */
266
+ 'asset': ActivityAsset;
267
+ }
268
+
269
+ /**
270
+ * Immutable zkEVM API
233
271
  * Immutable Multi Rollup API
234
272
  *
235
273
  * The version of the OpenAPI document: 1.0.0
@@ -267,7 +305,7 @@ interface Mint$1 {
267
305
  }
268
306
 
269
307
  /**
270
- * Immutable X API
308
+ * Immutable zkEVM API
271
309
  * Immutable Multi Rollup API
272
310
  *
273
311
  * The version of the OpenAPI document: 1.0.0
@@ -308,7 +346,7 @@ declare const SaleFeeTypeEnum: {
308
346
  type SaleFeeTypeEnum = typeof SaleFeeTypeEnum[keyof typeof SaleFeeTypeEnum];
309
347
 
310
348
  /**
311
- * Immutable X API
349
+ * Immutable zkEVM API
312
350
  * Immutable Multi Rollup API
313
351
  *
314
352
  * The version of the OpenAPI document: 1.0.0
@@ -333,7 +371,7 @@ interface ActivityNativeToken {
333
371
  }
334
372
 
335
373
  /**
336
- * Immutable X API
374
+ * Immutable zkEVM API
337
375
  * Immutable Multi Rollup API
338
376
  *
339
377
  * The version of the OpenAPI document: 1.0.0
@@ -352,7 +390,7 @@ interface ActivityNativeToken {
352
390
  type SalePaymentToken = ActivityNativeToken | ActivityToken;
353
391
 
354
392
  /**
355
- * Immutable X API
393
+ * Immutable zkEVM API
356
394
  * Immutable Multi Rollup API
357
395
  *
358
396
  * The version of the OpenAPI document: 1.0.0
@@ -396,7 +434,7 @@ interface SalePayment {
396
434
  }
397
435
 
398
436
  /**
399
- * Immutable X API
437
+ * Immutable zkEVM API
400
438
  * Immutable Multi Rollup API
401
439
  *
402
440
  * The version of the OpenAPI document: 1.0.0
@@ -446,7 +484,7 @@ interface NFTSale {
446
484
  }
447
485
 
448
486
  /**
449
- * Immutable X API
487
+ * Immutable zkEVM API
450
488
  * Immutable Multi Rollup API
451
489
  *
452
490
  * The version of the OpenAPI document: 1.0.0
@@ -490,7 +528,45 @@ interface Transfer$1 {
490
528
  }
491
529
 
492
530
  /**
493
- * Immutable X API
531
+ * Immutable zkEVM API
532
+ * Immutable Multi Rollup API
533
+ *
534
+ * The version of the OpenAPI document: 1.0.0
535
+ * Contact: support@immutable.com
536
+ *
537
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
538
+ * https://openapi-generator.tech
539
+ * Do not edit the class manually.
540
+ */
541
+
542
+ /**
543
+ * The withdrawal activity details
544
+ * @export
545
+ * @interface Withdrawal
546
+ */
547
+ interface Withdrawal$1 {
548
+ /**
549
+ * The account address the asset was withdrawn from
550
+ * @type {string}
551
+ * @memberof Withdrawal
552
+ */
553
+ 'from': string;
554
+ /**
555
+ * The amount of assets withdrawn
556
+ * @type {string}
557
+ * @memberof Withdrawal
558
+ */
559
+ 'amount': string;
560
+ /**
561
+ *
562
+ * @type {ActivityAsset}
563
+ * @memberof Withdrawal
564
+ */
565
+ 'asset': ActivityAsset;
566
+ }
567
+
568
+ /**
569
+ * Immutable zkEVM API
494
570
  * Immutable Multi Rollup API
495
571
  *
496
572
  * The version of the OpenAPI document: 1.0.0
@@ -506,10 +582,10 @@ interface Transfer$1 {
506
582
  * The activity details
507
583
  * @export
508
584
  */
509
- type ActivityDetails = Burn | Mint$1 | NFTSale | Transfer$1;
585
+ type ActivityDetails = Burn | Deposit$1 | Mint$1 | NFTSale | Transfer$1 | Withdrawal$1;
510
586
 
511
587
  /**
512
- * Immutable X API
588
+ * Immutable zkEVM API
513
589
  * Immutable Multi Rollup API
514
590
  *
515
591
  * The version of the OpenAPI document: 1.0.0
@@ -529,11 +605,13 @@ declare const ActivityType$1: {
529
605
  readonly Burn: "burn";
530
606
  readonly Transfer: "transfer";
531
607
  readonly Sale: "sale";
608
+ readonly Deposit: "deposit";
609
+ readonly Withdrawal: "withdrawal";
532
610
  };
533
611
  type ActivityType$1 = typeof ActivityType$1[keyof typeof ActivityType$1];
534
612
 
535
613
  /**
536
- * Immutable X API
614
+ * Immutable zkEVM API
537
615
  * Immutable Multi Rollup API
538
616
  *
539
617
  * The version of the OpenAPI document: 1.0.0
@@ -576,7 +654,7 @@ interface BlockchainMetadata {
576
654
  }
577
655
 
578
656
  /**
579
- * Immutable X API
657
+ * Immutable zkEVM API
580
658
  * Immutable Multi Rollup API
581
659
  *
582
660
  * The version of the OpenAPI document: 1.0.0
@@ -607,7 +685,7 @@ interface Chain {
607
685
  }
608
686
 
609
687
  /**
610
- * Immutable X API
688
+ * Immutable zkEVM API
611
689
  * Immutable Multi Rollup API
612
690
  *
613
691
  * The version of the OpenAPI document: 1.0.0
@@ -663,7 +741,7 @@ interface Activity {
663
741
  }
664
742
 
665
743
  /**
666
- * Immutable X API
744
+ * Immutable zkEVM API
667
745
  * Immutable Multi Rollup API
668
746
  *
669
747
  * The version of the OpenAPI document: 1.0.0
@@ -688,7 +766,7 @@ interface ChainWithDetailsAllOf {
688
766
  }
689
767
 
690
768
  /**
691
- * Immutable X API
769
+ * Immutable zkEVM API
692
770
  * Immutable Multi Rollup API
693
771
  *
694
772
  * The version of the OpenAPI document: 1.0.0
@@ -706,7 +784,7 @@ interface ChainWithDetailsAllOf {
706
784
  type ChainWithDetails = Chain & ChainWithDetailsAllOf;
707
785
 
708
786
  /**
709
- * Immutable X API
787
+ * Immutable zkEVM API
710
788
  * Immutable Multi Rollup API
711
789
  *
712
790
  * The version of the OpenAPI document: 1.0.0
@@ -727,7 +805,7 @@ declare const CollectionContractType: {
727
805
  type CollectionContractType = typeof CollectionContractType[keyof typeof CollectionContractType];
728
806
 
729
807
  /**
730
- * Immutable X API
808
+ * Immutable zkEVM API
731
809
  * Immutable Multi Rollup API
732
810
  *
733
811
  * The version of the OpenAPI document: 1.0.0
@@ -825,7 +903,7 @@ interface Collection$1 {
825
903
  }
826
904
 
827
905
  /**
828
- * Immutable X API
906
+ * Immutable zkEVM API
829
907
  * Immutable Multi Rollup API
830
908
  *
831
909
  * The version of the OpenAPI document: 1.0.0
@@ -851,7 +929,7 @@ interface GetActivityResult {
851
929
  }
852
930
 
853
931
  /**
854
- * Immutable X API
932
+ * Immutable zkEVM API
855
933
  * Immutable Multi Rollup API
856
934
  *
857
935
  * The version of the OpenAPI document: 1.0.0
@@ -877,7 +955,7 @@ interface GetCollectionResult {
877
955
  }
878
956
 
879
957
  /**
880
- * Immutable X API
958
+ * Immutable zkEVM API
881
959
  * Immutable Multi Rollup API
882
960
  *
883
961
  * The version of the OpenAPI document: 1.0.0
@@ -969,7 +1047,7 @@ interface NFT {
969
1047
  }
970
1048
 
971
1049
  /**
972
- * Immutable X API
1050
+ * Immutable zkEVM API
973
1051
  * Immutable Multi Rollup API
974
1052
  *
975
1053
  * The version of the OpenAPI document: 1.0.0
@@ -987,7 +1065,7 @@ interface NFT {
987
1065
  type NFTMetadataAttributeValue = boolean | number | string;
988
1066
 
989
1067
  /**
990
- * Immutable X API
1068
+ * Immutable zkEVM API
991
1069
  * Immutable Multi Rollup API
992
1070
  *
993
1071
  * The version of the OpenAPI document: 1.0.0
@@ -1019,7 +1097,7 @@ interface NFTMetadataAttribute {
1019
1097
  }
1020
1098
 
1021
1099
  /**
1022
- * Immutable X API
1100
+ * Immutable zkEVM API
1023
1101
  * Immutable Multi Rollup API
1024
1102
  *
1025
1103
  * The version of the OpenAPI document: 1.0.0
@@ -1045,7 +1123,7 @@ interface NFTMetadataAttributes {
1045
1123
  }
1046
1124
 
1047
1125
  /**
1048
- * Immutable X API
1126
+ * Immutable zkEVM API
1049
1127
  * Immutable Multi Rollup API
1050
1128
  *
1051
1129
  * The version of the OpenAPI document: 1.0.0
@@ -1064,7 +1142,7 @@ interface NFTMetadataAttributes {
1064
1142
  type NFTWithMetadataAttributes = NFT & NFTMetadataAttributes;
1065
1143
 
1066
1144
  /**
1067
- * Immutable X API
1145
+ * Immutable zkEVM API
1068
1146
  * Immutable Multi Rollup API
1069
1147
  *
1070
1148
  * The version of the OpenAPI document: 1.0.0
@@ -1090,7 +1168,7 @@ interface GetNFTResult {
1090
1168
  }
1091
1169
 
1092
1170
  /**
1093
- * Immutable X API
1171
+ * Immutable zkEVM API
1094
1172
  * Immutable Multi Rollup API
1095
1173
  *
1096
1174
  * The version of the OpenAPI document: 1.0.0
@@ -1114,37 +1192,37 @@ interface Token$1 {
1114
1192
  */
1115
1193
  'chain': Chain;
1116
1194
  /**
1117
- *
1195
+ * The address of token contract
1118
1196
  * @type {string}
1119
1197
  * @memberof Token
1120
1198
  */
1121
1199
  'contract_address': string;
1122
1200
  /**
1123
- *
1201
+ * The address of root token contract
1124
1202
  * @type {string}
1125
1203
  * @memberof Token
1126
1204
  */
1127
1205
  'root_contract_address': string | null;
1128
1206
  /**
1129
- *
1207
+ * The symbol of token
1130
1208
  * @type {string}
1131
1209
  * @memberof Token
1132
1210
  */
1133
1211
  'symbol': string | null;
1134
1212
  /**
1135
- *
1213
+ * The decimals of token
1136
1214
  * @type {number}
1137
1215
  * @memberof Token
1138
1216
  */
1139
1217
  'decimals': number | null;
1140
1218
  /**
1141
- *
1219
+ * The image url of token
1142
1220
  * @type {string}
1143
1221
  * @memberof Token
1144
1222
  */
1145
1223
  'image_url': string | null;
1146
1224
  /**
1147
- *
1225
+ * The name of token
1148
1226
  * @type {string}
1149
1227
  * @memberof Token
1150
1228
  */
@@ -1152,7 +1230,7 @@ interface Token$1 {
1152
1230
  }
1153
1231
 
1154
1232
  /**
1155
- * Immutable X API
1233
+ * Immutable zkEVM API
1156
1234
  * Immutable Multi Rollup API
1157
1235
  *
1158
1236
  * The version of the OpenAPI document: 1.0.0
@@ -1178,7 +1256,7 @@ interface GetTokenResult {
1178
1256
  }
1179
1257
 
1180
1258
  /**
1181
- * Immutable X API
1259
+ * Immutable zkEVM API
1182
1260
  * Immutable Multi Rollup API
1183
1261
  *
1184
1262
  * The version of the OpenAPI document: 1.0.0
@@ -1209,7 +1287,7 @@ interface Page {
1209
1287
  }
1210
1288
 
1211
1289
  /**
1212
- * Immutable X API
1290
+ * Immutable zkEVM API
1213
1291
  * Immutable Multi Rollup API
1214
1292
  *
1215
1293
  * The version of the OpenAPI document: 1.0.0
@@ -1241,7 +1319,7 @@ interface ListActivitiesResult {
1241
1319
  }
1242
1320
 
1243
1321
  /**
1244
- * Immutable X API
1322
+ * Immutable zkEVM API
1245
1323
  * Immutable Multi Rollup API
1246
1324
  *
1247
1325
  * The version of the OpenAPI document: 1.0.0
@@ -1273,7 +1351,7 @@ interface ListChainsResult {
1273
1351
  }
1274
1352
 
1275
1353
  /**
1276
- * Immutable X API
1354
+ * Immutable zkEVM API
1277
1355
  * Immutable Multi Rollup API
1278
1356
  *
1279
1357
  * The version of the OpenAPI document: 1.0.0
@@ -1305,7 +1383,7 @@ interface ListCollectionsResult {
1305
1383
  }
1306
1384
 
1307
1385
  /**
1308
- * Immutable X API
1386
+ * Immutable zkEVM API
1309
1387
  * Immutable Multi Rollup API
1310
1388
  *
1311
1389
  * The version of the OpenAPI document: 1.0.0
@@ -1355,7 +1433,7 @@ interface NFTOwner {
1355
1433
  }
1356
1434
 
1357
1435
  /**
1358
- * Immutable X API
1436
+ * Immutable zkEVM API
1359
1437
  * Immutable Multi Rollup API
1360
1438
  *
1361
1439
  * The version of the OpenAPI document: 1.0.0
@@ -1387,7 +1465,7 @@ interface ListNFTOwnersResult {
1387
1465
  }
1388
1466
 
1389
1467
  /**
1390
- * Immutable X API
1468
+ * Immutable zkEVM API
1391
1469
  * Immutable Multi Rollup API
1392
1470
  *
1393
1471
  * The version of the OpenAPI document: 1.0.0
@@ -1419,7 +1497,7 @@ interface ListNFTsResult {
1419
1497
  }
1420
1498
 
1421
1499
  /**
1422
- * Immutable X API
1500
+ * Immutable zkEVM API
1423
1501
  * Immutable Multi Rollup API
1424
1502
  *
1425
1503
  * The version of the OpenAPI document: 1.0.0
@@ -13028,16 +13106,6 @@ interface CancelOrderResponse {
13028
13106
 
13029
13107
  declare const module = "orderbook";
13030
13108
 
13031
- /**
13032
- * Interface representing the secondary fees for a swap
13033
- * @property {string} feeRecipient - The fee recipient address
13034
- * @property {number} feeBasisPoints - The fee percentage in basis points
13035
- * @example 100 basis points = 1%
13036
- */
13037
- type SecondaryFee = {
13038
- feeRecipient: string;
13039
- feeBasisPoints: number;
13040
- };
13041
13109
  /**
13042
13110
  * Interface representing a token
13043
13111
  * @property {number} chainId - The chain ID
@@ -13058,7 +13126,6 @@ interface ExchangeOverrides {
13058
13126
  exchangeContracts: ExchangeContracts;
13059
13127
  commonRoutingTokens: TokenInfo$1[];
13060
13128
  nativeToken: TokenInfo$1;
13061
- secondaryFees?: SecondaryFee[];
13062
13129
  }
13063
13130
 
13064
13131
  /**