@artblocks/abx-sdk 0.1.0-alpha.13 → 0.1.0-alpha.14

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.
Files changed (75) hide show
  1. package/dist/abi/generated.d.ts +926 -249
  2. package/dist/abi/generated.d.ts.map +1 -1
  3. package/dist/abi/generated.js +41 -39
  4. package/dist/abi/generated.js.map +1 -1
  5. package/dist/abi/index.d.ts +468 -61
  6. package/dist/abi/index.d.ts.map +1 -1
  7. package/dist/abi/index.js +16 -7
  8. package/dist/abi/index.js.map +1 -1
  9. package/dist/anchors.d.ts +70 -32
  10. package/dist/anchors.d.ts.map +1 -1
  11. package/dist/anchors.js +163 -32
  12. package/dist/anchors.js.map +1 -1
  13. package/dist/create2.d.ts +78 -7
  14. package/dist/create2.d.ts.map +1 -1
  15. package/dist/create2.js +149 -20
  16. package/dist/create2.js.map +1 -1
  17. package/dist/creator-token.d.ts +71 -4
  18. package/dist/creator-token.d.ts.map +1 -1
  19. package/dist/creator-token.js +94 -4
  20. package/dist/creator-token.js.map +1 -1
  21. package/dist/deploy.d.ts +49 -23
  22. package/dist/deploy.d.ts.map +1 -1
  23. package/dist/deploy.js +156 -76
  24. package/dist/deploy.js.map +1 -1
  25. package/dist/deployments.d.ts +4 -0
  26. package/dist/deployments.d.ts.map +1 -1
  27. package/dist/deployments.js +110 -45
  28. package/dist/deployments.js.map +1 -1
  29. package/dist/errors.d.ts +19 -0
  30. package/dist/errors.d.ts.map +1 -1
  31. package/dist/errors.js +24 -0
  32. package/dist/errors.js.map +1 -1
  33. package/dist/generator-document.d.ts +3 -2
  34. package/dist/generator-document.d.ts.map +1 -1
  35. package/dist/generator-document.js +3 -2
  36. package/dist/generator-document.js.map +1 -1
  37. package/dist/generator.d.ts +43 -1
  38. package/dist/generator.d.ts.map +1 -1
  39. package/dist/generator.js +29 -0
  40. package/dist/generator.js.map +1 -1
  41. package/dist/inspect.d.ts +1 -1
  42. package/dist/inspect.js +2 -2
  43. package/dist/inspect.js.map +1 -1
  44. package/dist/onchain-uri.d.ts +11 -0
  45. package/dist/onchain-uri.d.ts.map +1 -1
  46. package/dist/onchain-uri.js +20 -0
  47. package/dist/onchain-uri.js.map +1 -1
  48. package/dist/ops.d.ts +210 -11
  49. package/dist/ops.d.ts.map +1 -1
  50. package/dist/ops.js +308 -34
  51. package/dist/ops.js.map +1 -1
  52. package/dist/reconstruct.d.ts +1 -0
  53. package/dist/reconstruct.d.ts.map +1 -1
  54. package/dist/reconstruct.js +13 -1
  55. package/dist/reconstruct.js.map +1 -1
  56. package/dist/service.d.ts +1 -1
  57. package/dist/service.js +1 -1
  58. package/dist/spine.d.ts +3 -4
  59. package/dist/spine.d.ts.map +1 -1
  60. package/dist/spine.js +0 -0
  61. package/dist/spine.js.map +1 -1
  62. package/dist/staging.d.ts +32 -3
  63. package/dist/staging.d.ts.map +1 -1
  64. package/dist/staging.js +85 -8
  65. package/dist/staging.js.map +1 -1
  66. package/dist/tokendata.d.ts +1 -1
  67. package/dist/tokendata.d.ts.map +1 -1
  68. package/dist/tokendata.js +21 -3
  69. package/dist/tokendata.js.map +1 -1
  70. package/dist/tokens.d.ts +1 -1
  71. package/dist/tokens.js +1 -1
  72. package/dist/tokens.js.map +1 -1
  73. package/dist/types.d.ts +8 -1
  74. package/dist/types.d.ts.map +1 -1
  75. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- export { oneOfOneImageFactoryAbi, oneOfOneImageFactoryBytecode, oneOfOneImageAbi, oneOfOneImageBytecode, seriesImageFactoryAbi, seriesImageFactoryBytecode, seriesImageAbi, seriesImageBytecode, seriesCodeFactoryAbi, seriesCodeFactoryBytecode, seriesCodeAbi, seriesCodeBytecode, oneOfOneEditionFactoryAbi, oneOfOneEditionFactoryBytecode, oneOfOneEditionAbi, oneOfOneEditionBytecode, editionImageFactoryAbi, editionImageFactoryBytecode, editionImageAbi, editionImageBytecode, editionCodeFactoryAbi, editionCodeFactoryBytecode, editionCodeAbi, editionCodeBytecode, abxEditionLibAbi, abxEditionLibBytecode, abxFixedPriceMinter1155Abi, abxFixedPriceMinter1155Bytecode, abxSeedSourceAbi, abxSeedSourceBytecode, abxParamsLibAbi, abxParamsLibBytecode, abxCodeLibAbi, abxCodeLibBytecode, abxMetadataRendererAbi, abxMetadataRendererBytecode, abxChunkStoreAbi, abxChunkStoreBytecode, abxFixedPriceMinterAbi, abxFixedPriceMinterBytecode, } from './generated.js';
1
+ export { oneOfOneImageFactoryAbi, oneOfOneImageFactoryBytecode, oneOfOneImageAbi, oneOfOneImageBytecode, seriesImageFactoryAbi, seriesImageFactoryBytecode, seriesImageAbi, seriesImageBytecode, seriesCodeFactoryAbi, seriesCodeFactoryBytecode, seriesCodeAbi, seriesCodeBytecode, oneOfOneEditionFactoryAbi, oneOfOneEditionFactoryBytecode, oneOfOneEditionAbi, oneOfOneEditionBytecode, editionImageFactoryAbi, editionImageFactoryBytecode, editionImageAbi, editionImageBytecode, editionCodeFactoryAbi, editionCodeFactoryBytecode, editionCodeAbi, editionCodeBytecode, abxEditionLibAbi, abxEditionLibBytecode, abxMetadataLibAbi, abxMetadataLibBytecode, abxFixedPriceMinter1155Abi, abxFixedPriceMinter1155Bytecode, abxSeedSourceAbi, abxSeedSourceBytecode, abxParamsLibAbi, abxParamsLibBytecode, abxCodeLibAbi, abxCodeLibBytecode, abxMetadataRendererAbi, abxMetadataRendererBytecode, abxChunkStoreAbi, abxChunkStoreBytecode, abxFixedPriceMinterAbi, abxFixedPriceMinterBytecode, } from './generated.js';
2
2
  /**
3
3
  * The event-spine ABI: every event any ABX token type + its factory can emit — the set
4
4
  * the reference indexer decodes. Every concrete token (721: 1/1, Series, SeriesCode; 1155:
@@ -10,11 +10,19 @@ export { oneOfOneImageFactoryAbi, oneOfOneImageFactoryBytecode, oneOfOneImageAbi
10
10
  * types, so same-named-but-different-shaped events (the 721 vs. 1155 minters' `SaleConfigured`/
11
11
  * `Purchase`, which differ by an `id`/`amount`) survive as distinct fragments — `parseEventLogs`
12
12
  * disambiguates them by topic0 (the full canonical signature hash) at decode time, same as it
13
- * already does for every other event here. `AbxEditionLib` (EditionCode's EIP-170 relief-valve
14
- * library) is deliberately excluded — its event mirrors are byte-identical to the ones
15
- * `editionCodeAbi` already carries via inheritance (Uri1155/CreatorToken1155/EditionSupply), so
16
- * including it would only add pure duplicates (mirrors `abxParamsLibAbi`/`abxCodeLibAbi` being
17
- * excluded here too).
13
+ * already does for every other event here. `AbxEditionLib` (the EIP-170 relief-valve library all
14
+ * three 1155 token types delegatecall) is deliberately excluded — its event mirrors are
15
+ * byte-identical to the ones `oneOfOneEditionAbi`/`editionImageAbi`/`editionCodeAbi` already carry
16
+ * via inheritance (Uri1155/CreatorToken1155/EditionSupply), so including it would only add pure
17
+ * duplicates (`abxCodeLibAbi` is excluded for the same reason).
18
+ *
19
+ * **`abxParamsLibAbi` is unioned in**, unlike the other two libraries, because one of its events is
20
+ * NOT a duplicate: `ParamHooksFrozen()` is declared only there — the token's `IAbxConfigurableParams`
21
+ * interface declares `HooksConfigured` but not the freeze — so without this the one-way lock on the
22
+ * param hooks would be invisible to every consumer that folds the spine, while the hook it freezes
23
+ * can veto a transfer. `eventKey`'s dedup makes the rest of the library's mirrors free, so this
24
+ * costs nothing beyond the fragment that was missing. (The durable fix is for the interface to
25
+ * declare the event; unioning here keeps reconstruction honest either way.)
18
26
  */
19
27
  export declare const spineEventAbi: ({
20
28
  readonly type: "constructor";
@@ -74,7 +82,7 @@ export declare const spineEventAbi: ({
74
82
  }, {
75
83
  readonly name: "tokenFields";
76
84
  readonly type: "tuple[]";
77
- readonly internalType: "struct OnChainMetadata.FieldInput[]";
85
+ readonly internalType: "struct IAbxOnChainMetadata.FieldInput[]";
78
86
  readonly components: readonly [{
79
87
  readonly name: "field";
80
88
  readonly type: "bytes32";
@@ -91,7 +99,7 @@ export declare const spineEventAbi: ({
91
99
  }, {
92
100
  readonly name: "contractFields";
93
101
  readonly type: "tuple[]";
94
- readonly internalType: "struct OnChainMetadata.FieldInput[]";
102
+ readonly internalType: "struct IAbxOnChainMetadata.FieldInput[]";
95
103
  readonly components: readonly [{
96
104
  readonly name: "field";
97
105
  readonly type: "bytes32";
@@ -167,7 +175,7 @@ export declare const spineEventAbi: ({
167
175
  }, {
168
176
  readonly name: "tokenFields";
169
177
  readonly type: "tuple[]";
170
- readonly internalType: "struct OnChainMetadata.FieldInput[]";
178
+ readonly internalType: "struct IAbxOnChainMetadata.FieldInput[]";
171
179
  readonly components: readonly [{
172
180
  readonly name: "field";
173
181
  readonly type: "bytes32";
@@ -184,7 +192,7 @@ export declare const spineEventAbi: ({
184
192
  }, {
185
193
  readonly name: "contractFields";
186
194
  readonly type: "tuple[]";
187
- readonly internalType: "struct OnChainMetadata.FieldInput[]";
195
+ readonly internalType: "struct IAbxOnChainMetadata.FieldInput[]";
188
196
  readonly components: readonly [{
189
197
  readonly name: "field";
190
198
  readonly type: "bytes32";
@@ -514,7 +522,7 @@ export declare const spineEventAbi: ({
514
522
  }, {
515
523
  readonly name: "tokenFields";
516
524
  readonly type: "tuple[]";
517
- readonly internalType: "struct OnChainMetadata.FieldInput[]";
525
+ readonly internalType: "struct IAbxOnChainMetadata.FieldInput[]";
518
526
  readonly components: readonly [{
519
527
  readonly name: "field";
520
528
  readonly type: "bytes32";
@@ -531,7 +539,7 @@ export declare const spineEventAbi: ({
531
539
  }, {
532
540
  readonly name: "contractFields";
533
541
  readonly type: "tuple[]";
534
- readonly internalType: "struct OnChainMetadata.FieldInput[]";
542
+ readonly internalType: "struct IAbxOnChainMetadata.FieldInput[]";
535
543
  readonly components: readonly [{
536
544
  readonly name: "field";
537
545
  readonly type: "bytes32";
@@ -1414,6 +1422,10 @@ export declare const spineEventAbi: ({
1414
1422
  readonly type: "error";
1415
1423
  readonly name: "InvalidInitialization";
1416
1424
  readonly inputs: readonly [];
1425
+ } | {
1426
+ readonly type: "error";
1427
+ readonly name: "InvalidOwner";
1428
+ readonly inputs: readonly [];
1417
1429
  } | {
1418
1430
  readonly type: "error";
1419
1431
  readonly name: "InvalidTransferValidator";
@@ -1556,7 +1568,7 @@ export declare const spineEventAbi: ({
1556
1568
  }, {
1557
1569
  readonly name: "tokenFields";
1558
1570
  readonly type: "tuple[]";
1559
- readonly internalType: "struct OnChainMetadata.TokenFieldInput[]";
1571
+ readonly internalType: "struct IAbxOnChainMetadata.TokenFieldInput[]";
1560
1572
  readonly components: readonly [{
1561
1573
  readonly name: "tokenId";
1562
1574
  readonly type: "uint256";
@@ -1577,7 +1589,7 @@ export declare const spineEventAbi: ({
1577
1589
  }, {
1578
1590
  readonly name: "contractFields";
1579
1591
  readonly type: "tuple[]";
1580
- readonly internalType: "struct OnChainMetadata.FieldInput[]";
1592
+ readonly internalType: "struct IAbxOnChainMetadata.FieldInput[]";
1581
1593
  readonly components: readonly [{
1582
1594
  readonly name: "field";
1583
1595
  readonly type: "bytes32";
@@ -1673,7 +1685,7 @@ export declare const spineEventAbi: ({
1673
1685
  }, {
1674
1686
  readonly name: "tokenFields";
1675
1687
  readonly type: "tuple[]";
1676
- readonly internalType: "struct OnChainMetadata.TokenFieldInput[]";
1688
+ readonly internalType: "struct IAbxOnChainMetadata.TokenFieldInput[]";
1677
1689
  readonly components: readonly [{
1678
1690
  readonly name: "tokenId";
1679
1691
  readonly type: "uint256";
@@ -1694,7 +1706,7 @@ export declare const spineEventAbi: ({
1694
1706
  }, {
1695
1707
  readonly name: "contractFields";
1696
1708
  readonly type: "tuple[]";
1697
- readonly internalType: "struct OnChainMetadata.FieldInput[]";
1709
+ readonly internalType: "struct IAbxOnChainMetadata.FieldInput[]";
1698
1710
  readonly components: readonly [{
1699
1711
  readonly name: "field";
1700
1712
  readonly type: "bytes32";
@@ -1794,7 +1806,7 @@ export declare const spineEventAbi: ({
1794
1806
  }, {
1795
1807
  readonly name: "tokenFields";
1796
1808
  readonly type: "tuple[]";
1797
- readonly internalType: "struct OnChainMetadata.TokenFieldInput[]";
1809
+ readonly internalType: "struct IAbxOnChainMetadata.TokenFieldInput[]";
1798
1810
  readonly components: readonly [{
1799
1811
  readonly name: "tokenId";
1800
1812
  readonly type: "uint256";
@@ -1815,7 +1827,7 @@ export declare const spineEventAbi: ({
1815
1827
  }, {
1816
1828
  readonly name: "contractFields";
1817
1829
  readonly type: "tuple[]";
1818
- readonly internalType: "struct OnChainMetadata.FieldInput[]";
1830
+ readonly internalType: "struct IAbxOnChainMetadata.FieldInput[]";
1819
1831
  readonly components: readonly [{
1820
1832
  readonly name: "field";
1821
1833
  readonly type: "bytes32";
@@ -2101,7 +2113,7 @@ export declare const spineEventAbi: ({
2101
2113
  }, {
2102
2114
  readonly name: "tokenFields";
2103
2115
  readonly type: "tuple[]";
2104
- readonly internalType: "struct OnChainMetadata.TokenFieldInput[]";
2116
+ readonly internalType: "struct IAbxOnChainMetadata.TokenFieldInput[]";
2105
2117
  readonly components: readonly [{
2106
2118
  readonly name: "tokenId";
2107
2119
  readonly type: "uint256";
@@ -2122,7 +2134,7 @@ export declare const spineEventAbi: ({
2122
2134
  }, {
2123
2135
  readonly name: "contractFields";
2124
2136
  readonly type: "tuple[]";
2125
- readonly internalType: "struct OnChainMetadata.FieldInput[]";
2137
+ readonly internalType: "struct IAbxOnChainMetadata.FieldInput[]";
2126
2138
  readonly components: readonly [{
2127
2139
  readonly name: "field";
2128
2140
  readonly type: "bytes32";
@@ -2226,7 +2238,7 @@ export declare const spineEventAbi: ({
2226
2238
  }, {
2227
2239
  readonly name: "tokenFields";
2228
2240
  readonly type: "tuple[]";
2229
- readonly internalType: "struct OnChainMetadata.TokenFieldInput[]";
2241
+ readonly internalType: "struct IAbxOnChainMetadata.TokenFieldInput[]";
2230
2242
  readonly components: readonly [{
2231
2243
  readonly name: "tokenId";
2232
2244
  readonly type: "uint256";
@@ -2247,7 +2259,7 @@ export declare const spineEventAbi: ({
2247
2259
  }, {
2248
2260
  readonly name: "contractFields";
2249
2261
  readonly type: "tuple[]";
2250
- readonly internalType: "struct OnChainMetadata.FieldInput[]";
2262
+ readonly internalType: "struct IAbxOnChainMetadata.FieldInput[]";
2251
2263
  readonly components: readonly [{
2252
2264
  readonly name: "field";
2253
2265
  readonly type: "bytes32";
@@ -2425,16 +2437,16 @@ export declare const spineEventAbi: ({
2425
2437
  readonly type: "function";
2426
2438
  readonly name: "dependencyByIndex";
2427
2439
  readonly inputs: readonly [{
2428
- readonly name: "index";
2440
+ readonly name: "";
2429
2441
  readonly type: "uint256";
2430
2442
  readonly internalType: "uint256";
2431
2443
  }];
2432
2444
  readonly outputs: readonly [{
2433
- readonly name: "resolution";
2445
+ readonly name: "";
2434
2446
  readonly type: "uint8";
2435
2447
  readonly internalType: "enum IAbxDependencies.Resolution";
2436
2448
  }, {
2437
- readonly name: "ref";
2449
+ readonly name: "";
2438
2450
  readonly type: "bytes32";
2439
2451
  readonly internalType: "bytes32";
2440
2452
  }];
@@ -2541,7 +2553,7 @@ export declare const spineEventAbi: ({
2541
2553
  }, {
2542
2554
  readonly name: "tokenFields";
2543
2555
  readonly type: "tuple[]";
2544
- readonly internalType: "struct OnChainMetadata.TokenFieldInput[]";
2556
+ readonly internalType: "struct IAbxOnChainMetadata.TokenFieldInput[]";
2545
2557
  readonly components: readonly [{
2546
2558
  readonly name: "tokenId";
2547
2559
  readonly type: "uint256";
@@ -2562,7 +2574,7 @@ export declare const spineEventAbi: ({
2562
2574
  }, {
2563
2575
  readonly name: "contractFields";
2564
2576
  readonly type: "tuple[]";
2565
- readonly internalType: "struct OnChainMetadata.FieldInput[]";
2577
+ readonly internalType: "struct IAbxOnChainMetadata.FieldInput[]";
2566
2578
  readonly components: readonly [{
2567
2579
  readonly name: "field";
2568
2580
  readonly type: "bytes32";
@@ -2586,6 +2598,12 @@ export declare const spineEventAbi: ({
2586
2598
  readonly inputs: readonly [];
2587
2599
  readonly outputs: readonly [];
2588
2600
  readonly stateMutability: "nonpayable";
2601
+ } | {
2602
+ readonly type: "function";
2603
+ readonly name: "lockParamHooks";
2604
+ readonly inputs: readonly [];
2605
+ readonly outputs: readonly [];
2606
+ readonly stateMutability: "nonpayable";
2589
2607
  } | {
2590
2608
  readonly type: "function";
2591
2609
  readonly name: "lockScript";
@@ -2610,6 +2628,16 @@ export declare const spineEventAbi: ({
2610
2628
  readonly internalType: "address";
2611
2629
  }];
2612
2630
  readonly stateMutability: "view";
2631
+ } | {
2632
+ readonly type: "function";
2633
+ readonly name: "paramHooksLocked";
2634
+ readonly inputs: readonly [];
2635
+ readonly outputs: readonly [{
2636
+ readonly name: "";
2637
+ readonly type: "bool";
2638
+ readonly internalType: "bool";
2639
+ }];
2640
+ readonly stateMutability: "view";
2613
2641
  } | {
2614
2642
  readonly type: "function";
2615
2643
  readonly name: "paramSchema";
@@ -2652,6 +2680,48 @@ export declare const spineEventAbi: ({
2652
2680
  readonly internalType: "string[]";
2653
2681
  }];
2654
2682
  readonly stateMutability: "view";
2683
+ } | {
2684
+ readonly type: "function";
2685
+ readonly name: "paramSchemaHead";
2686
+ readonly inputs: readonly [{
2687
+ readonly name: "";
2688
+ readonly type: "bytes32";
2689
+ readonly internalType: "bytes32";
2690
+ }];
2691
+ readonly outputs: readonly [{
2692
+ readonly name: "";
2693
+ readonly type: "bool";
2694
+ readonly internalType: "bool";
2695
+ }, {
2696
+ readonly name: "";
2697
+ readonly type: "uint8";
2698
+ readonly internalType: "enum IAbxConfigurableParams.ParamType";
2699
+ }, {
2700
+ readonly name: "";
2701
+ readonly type: "uint8";
2702
+ readonly internalType: "enum IAbxConfigurableParams.AuthOption";
2703
+ }, {
2704
+ readonly name: "";
2705
+ readonly type: "address";
2706
+ readonly internalType: "address";
2707
+ }, {
2708
+ readonly name: "";
2709
+ readonly type: "uint48";
2710
+ readonly internalType: "uint48";
2711
+ }, {
2712
+ readonly name: "";
2713
+ readonly type: "bytes32";
2714
+ readonly internalType: "bytes32";
2715
+ }, {
2716
+ readonly name: "";
2717
+ readonly type: "bytes32";
2718
+ readonly internalType: "bytes32";
2719
+ }, {
2720
+ readonly name: "";
2721
+ readonly type: "uint256";
2722
+ readonly internalType: "uint256";
2723
+ }];
2724
+ readonly stateMutability: "view";
2655
2725
  } | {
2656
2726
  readonly type: "function";
2657
2727
  readonly name: "paramSchemaKeys";
@@ -2700,7 +2770,7 @@ export declare const spineEventAbi: ({
2700
2770
  readonly type: "function";
2701
2771
  readonly name: "scriptChunk";
2702
2772
  readonly inputs: readonly [{
2703
- readonly name: "index";
2773
+ readonly name: "";
2704
2774
  readonly type: "uint256";
2705
2775
  readonly internalType: "uint256";
2706
2776
  }];
@@ -2740,6 +2810,24 @@ export declare const spineEventAbi: ({
2740
2810
  readonly internalType: "address";
2741
2811
  }];
2742
2812
  readonly stateMutability: "view";
2813
+ } | {
2814
+ readonly type: "function";
2815
+ readonly name: "selectOption";
2816
+ readonly inputs: readonly [{
2817
+ readonly name: "";
2818
+ readonly type: "bytes32";
2819
+ readonly internalType: "bytes32";
2820
+ }, {
2821
+ readonly name: "";
2822
+ readonly type: "uint256";
2823
+ readonly internalType: "uint256";
2824
+ }];
2825
+ readonly outputs: readonly [{
2826
+ readonly name: "";
2827
+ readonly type: "string";
2828
+ readonly internalType: "string";
2829
+ }];
2830
+ readonly stateMutability: "view";
2743
2831
  } | {
2744
2832
  readonly type: "function";
2745
2833
  readonly name: "setContractParam";
@@ -3121,6 +3209,11 @@ export declare const spineEventAbi: ({
3121
3209
  readonly internalType: "address";
3122
3210
  }];
3123
3211
  readonly anonymous: false;
3212
+ } | {
3213
+ readonly type: "event";
3214
+ readonly name: "ParamHooksFrozen";
3215
+ readonly inputs: readonly [];
3216
+ readonly anonymous: false;
3124
3217
  } | {
3125
3218
  readonly type: "event";
3126
3219
  readonly name: "ParamSchemaConfigured";
@@ -3331,7 +3424,7 @@ export declare const spineEventAbi: ({
3331
3424
  }, {
3332
3425
  readonly name: "tokenFields";
3333
3426
  readonly type: "tuple[]";
3334
- readonly internalType: "struct OnChainMetadata.FieldInput[]";
3427
+ readonly internalType: "struct IAbxOnChainMetadata.FieldInput[]";
3335
3428
  readonly components: readonly [{
3336
3429
  readonly name: "field";
3337
3430
  readonly type: "bytes32";
@@ -3348,7 +3441,7 @@ export declare const spineEventAbi: ({
3348
3441
  }, {
3349
3442
  readonly name: "contractFields";
3350
3443
  readonly type: "tuple[]";
3351
- readonly internalType: "struct OnChainMetadata.FieldInput[]";
3444
+ readonly internalType: "struct IAbxOnChainMetadata.FieldInput[]";
3352
3445
  readonly components: readonly [{
3353
3446
  readonly name: "field";
3354
3447
  readonly type: "bytes32";
@@ -3444,7 +3537,7 @@ export declare const spineEventAbi: ({
3444
3537
  }, {
3445
3538
  readonly name: "tokenFields";
3446
3539
  readonly type: "tuple[]";
3447
- readonly internalType: "struct OnChainMetadata.FieldInput[]";
3540
+ readonly internalType: "struct IAbxOnChainMetadata.FieldInput[]";
3448
3541
  readonly components: readonly [{
3449
3542
  readonly name: "field";
3450
3543
  readonly type: "bytes32";
@@ -3461,7 +3554,7 @@ export declare const spineEventAbi: ({
3461
3554
  }, {
3462
3555
  readonly name: "contractFields";
3463
3556
  readonly type: "tuple[]";
3464
- readonly internalType: "struct OnChainMetadata.FieldInput[]";
3557
+ readonly internalType: "struct IAbxOnChainMetadata.FieldInput[]";
3465
3558
  readonly components: readonly [{
3466
3559
  readonly name: "field";
3467
3560
  readonly type: "bytes32";
@@ -3611,7 +3704,7 @@ export declare const spineEventAbi: ({
3611
3704
  }, {
3612
3705
  readonly name: "tokenFields";
3613
3706
  readonly type: "tuple[]";
3614
- readonly internalType: "struct OnChainMetadata.FieldInput[]";
3707
+ readonly internalType: "struct IAbxOnChainMetadata.FieldInput[]";
3615
3708
  readonly components: readonly [{
3616
3709
  readonly name: "field";
3617
3710
  readonly type: "bytes32";
@@ -3628,7 +3721,7 @@ export declare const spineEventAbi: ({
3628
3721
  }, {
3629
3722
  readonly name: "contractFields";
3630
3723
  readonly type: "tuple[]";
3631
- readonly internalType: "struct OnChainMetadata.FieldInput[]";
3724
+ readonly internalType: "struct IAbxOnChainMetadata.FieldInput[]";
3632
3725
  readonly components: readonly [{
3633
3726
  readonly name: "field";
3634
3727
  readonly type: "bytes32";
@@ -3786,7 +3879,7 @@ export declare const spineEventAbi: ({
3786
3879
  readonly type: "function";
3787
3880
  readonly name: "uri";
3788
3881
  readonly inputs: readonly [{
3789
- readonly name: "id";
3882
+ readonly name: "";
3790
3883
  readonly type: "uint256";
3791
3884
  readonly internalType: "uint256";
3792
3885
  }];
@@ -3796,6 +3889,16 @@ export declare const spineEventAbi: ({
3796
3889
  readonly internalType: "string";
3797
3890
  }];
3798
3891
  readonly stateMutability: "view";
3892
+ } | {
3893
+ readonly type: "event";
3894
+ readonly name: "DefaultMaxSupplySet";
3895
+ readonly inputs: readonly [{
3896
+ readonly name: "cap";
3897
+ readonly type: "uint256";
3898
+ readonly indexed: false;
3899
+ readonly internalType: "uint256";
3900
+ }];
3901
+ readonly anonymous: false;
3799
3902
  } | {
3800
3903
  readonly type: "event";
3801
3904
  readonly name: "MaxSupplyUpdated";
@@ -4015,7 +4118,7 @@ export declare const spineEventAbi: ({
4015
4118
  }, {
4016
4119
  readonly name: "tokenFields";
4017
4120
  readonly type: "tuple[]";
4018
- readonly internalType: "struct OnChainMetadata.TokenFieldInput[]";
4121
+ readonly internalType: "struct IAbxOnChainMetadata.TokenFieldInput[]";
4019
4122
  readonly components: readonly [{
4020
4123
  readonly name: "tokenId";
4021
4124
  readonly type: "uint256";
@@ -4036,7 +4139,7 @@ export declare const spineEventAbi: ({
4036
4139
  }, {
4037
4140
  readonly name: "contractFields";
4038
4141
  readonly type: "tuple[]";
4039
- readonly internalType: "struct OnChainMetadata.FieldInput[]";
4142
+ readonly internalType: "struct IAbxOnChainMetadata.FieldInput[]";
4040
4143
  readonly components: readonly [{
4041
4144
  readonly name: "field";
4042
4145
  readonly type: "bytes32";
@@ -4140,7 +4243,7 @@ export declare const spineEventAbi: ({
4140
4243
  }, {
4141
4244
  readonly name: "tokenFields";
4142
4245
  readonly type: "tuple[]";
4143
- readonly internalType: "struct OnChainMetadata.TokenFieldInput[]";
4246
+ readonly internalType: "struct IAbxOnChainMetadata.TokenFieldInput[]";
4144
4247
  readonly components: readonly [{
4145
4248
  readonly name: "tokenId";
4146
4249
  readonly type: "uint256";
@@ -4161,7 +4264,7 @@ export declare const spineEventAbi: ({
4161
4264
  }, {
4162
4265
  readonly name: "contractFields";
4163
4266
  readonly type: "tuple[]";
4164
- readonly internalType: "struct OnChainMetadata.FieldInput[]";
4267
+ readonly internalType: "struct IAbxOnChainMetadata.FieldInput[]";
4165
4268
  readonly components: readonly [{
4166
4269
  readonly name: "field";
4167
4270
  readonly type: "bytes32";
@@ -4269,7 +4372,7 @@ export declare const spineEventAbi: ({
4269
4372
  }, {
4270
4373
  readonly name: "tokenFields";
4271
4374
  readonly type: "tuple[]";
4272
- readonly internalType: "struct OnChainMetadata.TokenFieldInput[]";
4375
+ readonly internalType: "struct IAbxOnChainMetadata.TokenFieldInput[]";
4273
4376
  readonly components: readonly [{
4274
4377
  readonly name: "tokenId";
4275
4378
  readonly type: "uint256";
@@ -4290,7 +4393,7 @@ export declare const spineEventAbi: ({
4290
4393
  }, {
4291
4394
  readonly name: "contractFields";
4292
4395
  readonly type: "tuple[]";
4293
- readonly internalType: "struct OnChainMetadata.FieldInput[]";
4396
+ readonly internalType: "struct IAbxOnChainMetadata.FieldInput[]";
4294
4397
  readonly components: readonly [{
4295
4398
  readonly name: "field";
4296
4399
  readonly type: "bytes32";
@@ -4394,7 +4497,7 @@ export declare const spineEventAbi: ({
4394
4497
  }, {
4395
4498
  readonly name: "tokenFields";
4396
4499
  readonly type: "tuple[]";
4397
- readonly internalType: "struct OnChainMetadata.TokenFieldInput[]";
4500
+ readonly internalType: "struct IAbxOnChainMetadata.TokenFieldInput[]";
4398
4501
  readonly components: readonly [{
4399
4502
  readonly name: "tokenId";
4400
4503
  readonly type: "uint256";
@@ -4415,7 +4518,7 @@ export declare const spineEventAbi: ({
4415
4518
  }, {
4416
4519
  readonly name: "contractFields";
4417
4520
  readonly type: "tuple[]";
4418
- readonly internalType: "struct OnChainMetadata.FieldInput[]";
4521
+ readonly internalType: "struct IAbxOnChainMetadata.FieldInput[]";
4419
4522
  readonly components: readonly [{
4420
4523
  readonly name: "field";
4421
4524
  readonly type: "bytes32";
@@ -4523,7 +4626,7 @@ export declare const spineEventAbi: ({
4523
4626
  }, {
4524
4627
  readonly name: "tokenFields";
4525
4628
  readonly type: "tuple[]";
4526
- readonly internalType: "struct OnChainMetadata.TokenFieldInput[]";
4629
+ readonly internalType: "struct IAbxOnChainMetadata.TokenFieldInput[]";
4527
4630
  readonly components: readonly [{
4528
4631
  readonly name: "tokenId";
4529
4632
  readonly type: "uint256";
@@ -4544,7 +4647,7 @@ export declare const spineEventAbi: ({
4544
4647
  }, {
4545
4648
  readonly name: "contractFields";
4546
4649
  readonly type: "tuple[]";
4547
- readonly internalType: "struct OnChainMetadata.FieldInput[]";
4650
+ readonly internalType: "struct IAbxOnChainMetadata.FieldInput[]";
4548
4651
  readonly components: readonly [{
4549
4652
  readonly name: "field";
4550
4653
  readonly type: "bytes32";
@@ -4656,7 +4759,7 @@ export declare const spineEventAbi: ({
4656
4759
  }, {
4657
4760
  readonly name: "tokenFields";
4658
4761
  readonly type: "tuple[]";
4659
- readonly internalType: "struct OnChainMetadata.TokenFieldInput[]";
4762
+ readonly internalType: "struct IAbxOnChainMetadata.TokenFieldInput[]";
4660
4763
  readonly components: readonly [{
4661
4764
  readonly name: "tokenId";
4662
4765
  readonly type: "uint256";
@@ -4677,7 +4780,7 @@ export declare const spineEventAbi: ({
4677
4780
  }, {
4678
4781
  readonly name: "contractFields";
4679
4782
  readonly type: "tuple[]";
4680
- readonly internalType: "struct OnChainMetadata.FieldInput[]";
4783
+ readonly internalType: "struct IAbxOnChainMetadata.FieldInput[]";
4681
4784
  readonly components: readonly [{
4682
4785
  readonly name: "field";
4683
4786
  readonly type: "bytes32";
@@ -4695,20 +4798,6 @@ export declare const spineEventAbi: ({
4695
4798
  }];
4696
4799
  readonly outputs: readonly [];
4697
4800
  readonly stateMutability: "nonpayable";
4698
- } | {
4699
- readonly type: "function";
4700
- readonly name: "uri";
4701
- readonly inputs: readonly [{
4702
- readonly name: "";
4703
- readonly type: "uint256";
4704
- readonly internalType: "uint256";
4705
- }];
4706
- readonly outputs: readonly [{
4707
- readonly name: "";
4708
- readonly type: "string";
4709
- readonly internalType: "string";
4710
- }];
4711
- readonly stateMutability: "view";
4712
4801
  } | {
4713
4802
  readonly type: "function";
4714
4803
  readonly name: "configure";
@@ -4750,6 +4839,14 @@ export declare const spineEventAbi: ({
4750
4839
  readonly name: "qty";
4751
4840
  readonly type: "uint256";
4752
4841
  readonly internalType: "uint256";
4842
+ }, {
4843
+ readonly name: "expectedPaymentToken";
4844
+ readonly type: "address";
4845
+ readonly internalType: "address";
4846
+ }, {
4847
+ readonly name: "maxTotalPrice";
4848
+ readonly type: "uint256";
4849
+ readonly internalType: "uint256";
4753
4850
  }];
4754
4851
  readonly outputs: readonly [];
4755
4852
  readonly stateMutability: "payable";
@@ -4772,6 +4869,14 @@ export declare const spineEventAbi: ({
4772
4869
  readonly name: "to";
4773
4870
  readonly type: "address";
4774
4871
  readonly internalType: "address";
4872
+ }, {
4873
+ readonly name: "expectedPaymentToken";
4874
+ readonly type: "address";
4875
+ readonly internalType: "address";
4876
+ }, {
4877
+ readonly name: "maxTotalPrice";
4878
+ readonly type: "uint256";
4879
+ readonly internalType: "uint256";
4775
4880
  }];
4776
4881
  readonly outputs: readonly [];
4777
4882
  readonly stateMutability: "payable";
@@ -4903,6 +5008,10 @@ export declare const spineEventAbi: ({
4903
5008
  readonly type: "error";
4904
5009
  readonly name: "Reentrancy";
4905
5010
  readonly inputs: readonly [];
5011
+ } | {
5012
+ readonly type: "error";
5013
+ readonly name: "SaleTermsChanged";
5014
+ readonly inputs: readonly [];
4906
5015
  } | {
4907
5016
  readonly type: "error";
4908
5017
  readonly name: "WrongPayment";
@@ -4911,6 +5020,288 @@ export declare const spineEventAbi: ({
4911
5020
  readonly type: "error";
4912
5021
  readonly name: "ZeroQuantity";
4913
5022
  readonly inputs: readonly [];
5023
+ } | {
5024
+ readonly type: "function";
5025
+ readonly name: "contractParamKeys";
5026
+ readonly inputs: readonly [];
5027
+ readonly outputs: readonly [{
5028
+ readonly name: "keys";
5029
+ readonly type: "bytes32[]";
5030
+ readonly internalType: "bytes32[]";
5031
+ }];
5032
+ readonly stateMutability: "view";
5033
+ } | {
5034
+ readonly type: "function";
5035
+ readonly name: "contractParamKeysPaged";
5036
+ readonly inputs: readonly [{
5037
+ readonly name: "start";
5038
+ readonly type: "uint256";
5039
+ readonly internalType: "uint256";
5040
+ }, {
5041
+ readonly name: "count";
5042
+ readonly type: "uint256";
5043
+ readonly internalType: "uint256";
5044
+ }];
5045
+ readonly outputs: readonly [{
5046
+ readonly name: "keys";
5047
+ readonly type: "bytes32[]";
5048
+ readonly internalType: "bytes32[]";
5049
+ }, {
5050
+ readonly name: "total";
5051
+ readonly type: "uint256";
5052
+ readonly internalType: "uint256";
5053
+ }];
5054
+ readonly stateMutability: "view";
5055
+ } | {
5056
+ readonly type: "function";
5057
+ readonly name: "hasSchema";
5058
+ readonly inputs: readonly [{
5059
+ readonly name: "key";
5060
+ readonly type: "bytes32";
5061
+ readonly internalType: "bytes32";
5062
+ }];
5063
+ readonly outputs: readonly [{
5064
+ readonly name: "";
5065
+ readonly type: "bool";
5066
+ readonly internalType: "bool";
5067
+ }];
5068
+ readonly stateMutability: "view";
5069
+ } | {
5070
+ readonly type: "function";
5071
+ readonly name: "paramHooks";
5072
+ readonly inputs: readonly [];
5073
+ readonly outputs: readonly [{
5074
+ readonly name: "configureHook";
5075
+ readonly type: "address";
5076
+ readonly internalType: "address";
5077
+ }, {
5078
+ readonly name: "augmentHook";
5079
+ readonly type: "address";
5080
+ readonly internalType: "address";
5081
+ }, {
5082
+ readonly name: "transferHook";
5083
+ readonly type: "address";
5084
+ readonly internalType: "address";
5085
+ }];
5086
+ readonly stateMutability: "view";
5087
+ } | {
5088
+ readonly type: "function";
5089
+ readonly name: "paramSchema";
5090
+ readonly inputs: readonly [{
5091
+ readonly name: "key";
5092
+ readonly type: "bytes32";
5093
+ readonly internalType: "bytes32";
5094
+ }];
5095
+ readonly outputs: readonly [{
5096
+ readonly name: "exists";
5097
+ readonly type: "bool";
5098
+ readonly internalType: "bool";
5099
+ }, {
5100
+ readonly name: "paramType";
5101
+ readonly type: "IAbxConfigurableParams.ParamType";
5102
+ readonly internalType: "enum IAbxConfigurableParams.ParamType";
5103
+ }, {
5104
+ readonly name: "auth";
5105
+ readonly type: "IAbxConfigurableParams.AuthOption";
5106
+ readonly internalType: "enum IAbxConfigurableParams.AuthOption";
5107
+ }, {
5108
+ readonly name: "authAddress";
5109
+ readonly type: "address";
5110
+ readonly internalType: "address";
5111
+ }, {
5112
+ readonly name: "lockAfter";
5113
+ readonly type: "uint48";
5114
+ readonly internalType: "uint48";
5115
+ }, {
5116
+ readonly name: "min";
5117
+ readonly type: "bytes32";
5118
+ readonly internalType: "bytes32";
5119
+ }, {
5120
+ readonly name: "max";
5121
+ readonly type: "bytes32";
5122
+ readonly internalType: "bytes32";
5123
+ }, {
5124
+ readonly name: "selectOptions";
5125
+ readonly type: "string[]";
5126
+ readonly internalType: "string[]";
5127
+ }];
5128
+ readonly stateMutability: "view";
5129
+ } | {
5130
+ readonly type: "function";
5131
+ readonly name: "paramSchemaHead";
5132
+ readonly inputs: readonly [{
5133
+ readonly name: "key";
5134
+ readonly type: "bytes32";
5135
+ readonly internalType: "bytes32";
5136
+ }];
5137
+ readonly outputs: readonly [{
5138
+ readonly name: "exists";
5139
+ readonly type: "bool";
5140
+ readonly internalType: "bool";
5141
+ }, {
5142
+ readonly name: "paramType";
5143
+ readonly type: "IAbxConfigurableParams.ParamType";
5144
+ readonly internalType: "enum IAbxConfigurableParams.ParamType";
5145
+ }, {
5146
+ readonly name: "auth";
5147
+ readonly type: "IAbxConfigurableParams.AuthOption";
5148
+ readonly internalType: "enum IAbxConfigurableParams.AuthOption";
5149
+ }, {
5150
+ readonly name: "authAddress";
5151
+ readonly type: "address";
5152
+ readonly internalType: "address";
5153
+ }, {
5154
+ readonly name: "lockAfter";
5155
+ readonly type: "uint48";
5156
+ readonly internalType: "uint48";
5157
+ }, {
5158
+ readonly name: "min";
5159
+ readonly type: "bytes32";
5160
+ readonly internalType: "bytes32";
5161
+ }, {
5162
+ readonly name: "max";
5163
+ readonly type: "bytes32";
5164
+ readonly internalType: "bytes32";
5165
+ }, {
5166
+ readonly name: "selectOptionCount";
5167
+ readonly type: "uint256";
5168
+ readonly internalType: "uint256";
5169
+ }];
5170
+ readonly stateMutability: "view";
5171
+ } | {
5172
+ readonly type: "function";
5173
+ readonly name: "paramSchemaKeys";
5174
+ readonly inputs: readonly [];
5175
+ readonly outputs: readonly [{
5176
+ readonly name: "keys";
5177
+ readonly type: "bytes32[]";
5178
+ readonly internalType: "bytes32[]";
5179
+ }];
5180
+ readonly stateMutability: "view";
5181
+ } | {
5182
+ readonly type: "function";
5183
+ readonly name: "paramSchemaKeysPaged";
5184
+ readonly inputs: readonly [{
5185
+ readonly name: "start";
5186
+ readonly type: "uint256";
5187
+ readonly internalType: "uint256";
5188
+ }, {
5189
+ readonly name: "count";
5190
+ readonly type: "uint256";
5191
+ readonly internalType: "uint256";
5192
+ }];
5193
+ readonly outputs: readonly [{
5194
+ readonly name: "keys";
5195
+ readonly type: "bytes32[]";
5196
+ readonly internalType: "bytes32[]";
5197
+ }, {
5198
+ readonly name: "total";
5199
+ readonly type: "uint256";
5200
+ readonly internalType: "uint256";
5201
+ }];
5202
+ readonly stateMutability: "view";
5203
+ } | {
5204
+ readonly type: "function";
5205
+ readonly name: "selectOption";
5206
+ readonly inputs: readonly [{
5207
+ readonly name: "key";
5208
+ readonly type: "bytes32";
5209
+ readonly internalType: "bytes32";
5210
+ }, {
5211
+ readonly name: "index";
5212
+ readonly type: "uint256";
5213
+ readonly internalType: "uint256";
5214
+ }];
5215
+ readonly outputs: readonly [{
5216
+ readonly name: "";
5217
+ readonly type: "string";
5218
+ readonly internalType: "string";
5219
+ }];
5220
+ readonly stateMutability: "view";
5221
+ } | {
5222
+ readonly type: "function";
5223
+ readonly name: "tokenParamKeys";
5224
+ readonly inputs: readonly [{
5225
+ readonly name: "tokenId";
5226
+ readonly type: "uint256";
5227
+ readonly internalType: "uint256";
5228
+ }];
5229
+ readonly outputs: readonly [{
5230
+ readonly name: "keys";
5231
+ readonly type: "bytes32[]";
5232
+ readonly internalType: "bytes32[]";
5233
+ }];
5234
+ readonly stateMutability: "view";
5235
+ } | {
5236
+ readonly type: "function";
5237
+ readonly name: "tokenParamKeysPaged";
5238
+ readonly inputs: readonly [{
5239
+ readonly name: "tokenId";
5240
+ readonly type: "uint256";
5241
+ readonly internalType: "uint256";
5242
+ }, {
5243
+ readonly name: "start";
5244
+ readonly type: "uint256";
5245
+ readonly internalType: "uint256";
5246
+ }, {
5247
+ readonly name: "count";
5248
+ readonly type: "uint256";
5249
+ readonly internalType: "uint256";
5250
+ }];
5251
+ readonly outputs: readonly [{
5252
+ readonly name: "keys";
5253
+ readonly type: "bytes32[]";
5254
+ readonly internalType: "bytes32[]";
5255
+ }, {
5256
+ readonly name: "total";
5257
+ readonly type: "uint256";
5258
+ readonly internalType: "uint256";
5259
+ }];
5260
+ readonly stateMutability: "view";
5261
+ } | {
5262
+ readonly type: "error";
5263
+ readonly name: "EmptyParamValue";
5264
+ readonly inputs: readonly [];
5265
+ } | {
5266
+ readonly type: "error";
5267
+ readonly name: "InvalidParamKey";
5268
+ readonly inputs: readonly [];
5269
+ } | {
5270
+ readonly type: "error";
5271
+ readonly name: "InvalidParamSchema";
5272
+ readonly inputs: readonly [];
5273
+ } | {
5274
+ readonly type: "error";
5275
+ readonly name: "InvalidParamValue";
5276
+ readonly inputs: readonly [];
5277
+ } | {
5278
+ readonly type: "error";
5279
+ readonly name: "NoParamSchema";
5280
+ readonly inputs: readonly [];
5281
+ } | {
5282
+ readonly type: "error";
5283
+ readonly name: "NotParamAuthorized";
5284
+ readonly inputs: readonly [];
5285
+ } | {
5286
+ readonly type: "error";
5287
+ readonly name: "ParamHooksLocked";
5288
+ readonly inputs: readonly [];
5289
+ } | {
5290
+ readonly type: "error";
5291
+ readonly name: "ParamLockExpired";
5292
+ readonly inputs: readonly [];
5293
+ } | {
5294
+ readonly type: "error";
5295
+ readonly name: "ParamLockNotExtendable";
5296
+ readonly inputs: readonly [];
5297
+ } | {
5298
+ readonly type: "error";
5299
+ readonly name: "ParamNotSet";
5300
+ readonly inputs: readonly [];
5301
+ } | {
5302
+ readonly type: "error";
5303
+ readonly name: "WrongValuePath";
5304
+ readonly inputs: readonly [];
4914
5305
  } | {
4915
5306
  readonly type: "function";
4916
5307
  readonly name: "configure";
@@ -4940,6 +5331,14 @@ export declare const spineEventAbi: ({
4940
5331
  readonly name: "token";
4941
5332
  readonly type: "address";
4942
5333
  readonly internalType: "address";
5334
+ }, {
5335
+ readonly name: "expectedPaymentToken";
5336
+ readonly type: "address";
5337
+ readonly internalType: "address";
5338
+ }, {
5339
+ readonly name: "maxPrice";
5340
+ readonly type: "uint256";
5341
+ readonly internalType: "uint256";
4943
5342
  }];
4944
5343
  readonly outputs: readonly [{
4945
5344
  readonly name: "tokenId";
@@ -4958,6 +5357,14 @@ export declare const spineEventAbi: ({
4958
5357
  readonly name: "to";
4959
5358
  readonly type: "address";
4960
5359
  readonly internalType: "address";
5360
+ }, {
5361
+ readonly name: "expectedPaymentToken";
5362
+ readonly type: "address";
5363
+ readonly internalType: "address";
5364
+ }, {
5365
+ readonly name: "maxPrice";
5366
+ readonly type: "uint256";
5367
+ readonly internalType: "uint256";
4961
5368
  }];
4962
5369
  readonly outputs: readonly [{
4963
5370
  readonly name: "tokenId";