@artblocks/abx-sdk 0.1.0-alpha.2 → 0.1.0-alpha.21

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 (144) hide show
  1. package/CHANGELOG.md +2203 -0
  2. package/README.md +131 -0
  3. package/dist/abi/generated.d.ts +8502 -129
  4. package/dist/abi/generated.d.ts.map +1 -1
  5. package/dist/abi/generated.js +40 -22
  6. package/dist/abi/generated.js.map +1 -1
  7. package/dist/abi/index.d.ts +2645 -168
  8. package/dist/abi/index.d.ts.map +1 -1
  9. package/dist/abi/index.js +34 -7
  10. package/dist/abi/index.js.map +1 -1
  11. package/dist/anchors.d.ts +319 -0
  12. package/dist/anchors.d.ts.map +1 -0
  13. package/dist/anchors.js +703 -0
  14. package/dist/anchors.js.map +1 -0
  15. package/dist/chains.d.ts +15 -9
  16. package/dist/chains.d.ts.map +1 -1
  17. package/dist/chains.js +19 -15
  18. package/dist/chains.js.map +1 -1
  19. package/dist/chunks.d.ts +53 -23
  20. package/dist/chunks.d.ts.map +1 -1
  21. package/dist/chunks.js +68 -6
  22. package/dist/chunks.js.map +1 -1
  23. package/dist/clients.d.ts +23 -11
  24. package/dist/clients.d.ts.map +1 -1
  25. package/dist/clients.js +17 -18
  26. package/dist/clients.js.map +1 -1
  27. package/dist/create2.d.ts +85 -1
  28. package/dist/create2.d.ts.map +1 -1
  29. package/dist/create2.js +159 -2
  30. package/dist/create2.js.map +1 -1
  31. package/dist/creator-token.d.ts +132 -0
  32. package/dist/creator-token.d.ts.map +1 -0
  33. package/dist/creator-token.js +183 -0
  34. package/dist/creator-token.js.map +1 -0
  35. package/dist/deploy.d.ts +234 -14
  36. package/dist/deploy.d.ts.map +1 -1
  37. package/dist/deploy.js +289 -111
  38. package/dist/deploy.js.map +1 -1
  39. package/dist/deployments.d.ts +63 -0
  40. package/dist/deployments.d.ts.map +1 -1
  41. package/dist/deployments.js +202 -28
  42. package/dist/deployments.js.map +1 -1
  43. package/dist/deps.d.ts +122 -5
  44. package/dist/deps.d.ts.map +1 -1
  45. package/dist/deps.js +248 -6
  46. package/dist/deps.js.map +1 -1
  47. package/dist/env.d.ts.map +1 -1
  48. package/dist/env.js +8 -0
  49. package/dist/env.js.map +1 -1
  50. package/dist/errors.d.ts +94 -0
  51. package/dist/errors.d.ts.map +1 -0
  52. package/dist/errors.js +126 -0
  53. package/dist/errors.js.map +1 -0
  54. package/dist/execute.d.ts +115 -0
  55. package/dist/execute.d.ts.map +1 -0
  56. package/dist/execute.js +142 -0
  57. package/dist/execute.js.map +1 -0
  58. package/dist/gateways.d.ts +79 -0
  59. package/dist/gateways.d.ts.map +1 -0
  60. package/dist/gateways.js +156 -0
  61. package/dist/gateways.js.map +1 -0
  62. package/dist/generator-document.d.ts +58 -0
  63. package/dist/generator-document.d.ts.map +1 -0
  64. package/dist/generator-document.js +124 -0
  65. package/dist/generator-document.js.map +1 -0
  66. package/dist/generator.d.ts +43 -1
  67. package/dist/generator.d.ts.map +1 -1
  68. package/dist/generator.js +29 -0
  69. package/dist/generator.js.map +1 -1
  70. package/dist/index.d.ts +18 -3
  71. package/dist/index.d.ts.map +1 -1
  72. package/dist/index.js +18 -3
  73. package/dist/index.js.map +1 -1
  74. package/dist/inspect.d.ts +48 -0
  75. package/dist/inspect.d.ts.map +1 -0
  76. package/dist/inspect.js +295 -0
  77. package/dist/inspect.js.map +1 -0
  78. package/dist/migrate.d.ts +41 -0
  79. package/dist/migrate.d.ts.map +1 -0
  80. package/dist/migrate.js +142 -0
  81. package/dist/migrate.js.map +1 -0
  82. package/dist/mime.d.ts +11 -0
  83. package/dist/mime.d.ts.map +1 -0
  84. package/dist/mime.js +40 -0
  85. package/dist/mime.js.map +1 -0
  86. package/dist/node.d.ts +10 -0
  87. package/dist/node.d.ts.map +1 -0
  88. package/dist/node.js +24 -0
  89. package/dist/node.js.map +1 -0
  90. package/dist/onchain-uri.d.ts +110 -0
  91. package/dist/onchain-uri.d.ts.map +1 -0
  92. package/dist/onchain-uri.js +277 -0
  93. package/dist/onchain-uri.js.map +1 -0
  94. package/dist/ops.d.ts +507 -14
  95. package/dist/ops.d.ts.map +1 -1
  96. package/dist/ops.js +848 -32
  97. package/dist/ops.js.map +1 -1
  98. package/dist/policy.d.ts +58 -0
  99. package/dist/policy.d.ts.map +1 -0
  100. package/dist/policy.js +36 -0
  101. package/dist/policy.js.map +1 -0
  102. package/dist/probe.d.ts +29 -0
  103. package/dist/probe.d.ts.map +1 -1
  104. package/dist/probe.js +104 -9
  105. package/dist/probe.js.map +1 -1
  106. package/dist/reconstruct.d.ts +94 -2
  107. package/dist/reconstruct.d.ts.map +1 -1
  108. package/dist/reconstruct.js +432 -97
  109. package/dist/reconstruct.js.map +1 -1
  110. package/dist/resume.d.ts +96 -0
  111. package/dist/resume.d.ts.map +1 -0
  112. package/dist/resume.js +95 -0
  113. package/dist/resume.js.map +1 -0
  114. package/dist/script-chunks.d.ts +24 -0
  115. package/dist/script-chunks.d.ts.map +1 -0
  116. package/dist/script-chunks.js +63 -0
  117. package/dist/script-chunks.js.map +1 -0
  118. package/dist/service.d.ts +206 -9
  119. package/dist/service.d.ts.map +1 -1
  120. package/dist/service.js +228 -18
  121. package/dist/service.js.map +1 -1
  122. package/dist/spine.d.ts +47 -4
  123. package/dist/spine.d.ts.map +1 -1
  124. package/dist/spine.js +0 -0
  125. package/dist/spine.js.map +1 -1
  126. package/dist/staging.d.ts +124 -0
  127. package/dist/staging.d.ts.map +1 -0
  128. package/dist/staging.js +134 -0
  129. package/dist/staging.js.map +1 -0
  130. package/dist/tokendata.d.ts +62 -2
  131. package/dist/tokendata.d.ts.map +1 -1
  132. package/dist/tokendata.js +79 -17
  133. package/dist/tokendata.js.map +1 -1
  134. package/dist/tokens.d.ts +120 -0
  135. package/dist/tokens.d.ts.map +1 -0
  136. package/dist/tokens.js +317 -0
  137. package/dist/tokens.js.map +1 -0
  138. package/dist/types.d.ts +108 -4
  139. package/dist/types.d.ts.map +1 -1
  140. package/dist/util.d.ts +74 -0
  141. package/dist/util.d.ts.map +1 -0
  142. package/dist/util.js +106 -0
  143. package/dist/util.js.map +1 -0
  144. package/package.json +11 -2
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/abi/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,uBAAuB,EACvB,4BAA4B,EAC5B,gBAAgB,EAChB,qBAAqB,EACrB,qBAAqB,EACrB,0BAA0B,EAC1B,cAAc,EACd,mBAAmB,EACnB,oBAAoB,EACpB,yBAAyB,EACzB,aAAa,EACb,kBAAkB,EAClB,gBAAgB,EAChB,qBAAqB,EACrB,eAAe,EACf,oBAAoB,EACpB,aAAa,EACb,kBAAkB,EAClB,sBAAsB,EACtB,2BAA2B,EAC3B,gBAAgB,EAChB,qBAAqB,EACrB,sBAAsB,EACtB,2BAA2B,GAC5B,MAAM,gBAAgB,CAAC;AAiBxB;;;;;;;GAOG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA2BtB,CAAC"}
package/dist/abi/index.js CHANGED
@@ -1,18 +1,37 @@
1
1
  // The ABI surface the SDK speaks. Generated artifacts come from the contracts
2
2
  // package (Layer 1) via `pnpm sync-abis`; never hand-edit `generated.ts`.
3
- export { oneOfOneImageFactoryAbi, oneOfOneImageFactoryBytecode, oneOfOneImageAbi, oneOfOneImageBytecode, seriesImageFactoryAbi, seriesImageFactoryBytecode, seriesImageAbi, seriesImageBytecode, seriesCodeFactoryAbi, seriesCodeFactoryBytecode, seriesCodeAbi, seriesCodeBytecode, abxSeedSourceAbi, abxSeedSourceBytecode, abxParamsLibAbi, abxParamsLibBytecode, abxCodeLibAbi, abxCodeLibBytecode, abxMetadataRendererAbi, abxMetadataRendererBytecode, abxChunkStoreAbi, abxChunkStoreBytecode, abxFixedPriceMinterAbi, abxFixedPriceMinterBytecode, } from './generated.js';
4
- import { oneOfOneImageAbi, oneOfOneImageFactoryAbi, seriesImageAbi, seriesImageFactoryAbi, seriesCodeAbi, seriesCodeFactoryAbi, abxFixedPriceMinterAbi, } from './generated.js';
3
+ export { oneOfOneImageFactoryAbi, oneOfOneImageFactoryBytecode, oneOfOneImageAbi, oneOfOneImageBytecode, seriesImageFactoryAbi, seriesImageFactoryBytecode, seriesImageAbi, seriesImageBytecode, seriesCodeFactoryAbi, seriesCodeFactoryBytecode, seriesCodeAbi, seriesCodeBytecode,
4
+ // ERC-1155 editions — the twin token+factory set (see contracts/src/tokens/Edition*.sol).
5
+ 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';
6
+ import { oneOfOneImageAbi, oneOfOneImageFactoryAbi, seriesImageAbi, seriesImageFactoryAbi, seriesCodeAbi, seriesCodeFactoryAbi, oneOfOneEditionAbi, oneOfOneEditionFactoryAbi, editionImageAbi, editionImageFactoryAbi, editionCodeAbi, editionCodeFactoryAbi, abxFixedPriceMinterAbi, abxFixedPriceMinter1155Abi, abxParamsLibAbi, } from './generated.js';
5
7
  /** A stable signature key for an ABI event fragment (name + input types), for de-duping. */
6
8
  function eventKey(f) {
7
9
  return `${f.name ?? ''}(${(f.inputs ?? []).map((i) => i.type).join(',')})`;
8
10
  }
9
11
  /**
10
12
  * The event-spine ABI: every event any ABX token type + its factory can emit — the set
11
- * the reference indexer decodes. Both concrete tokens (1/1 and Series) declare the full
12
- * spine they participate in (Register 1 standards + Register 2 native events); we union
13
- * them plus the factories' `Deployed` and the fixed-price minter's sibling Minter-spine
14
- * events (`SaleConfigured`/`Purchase`), de-duping shared fragments (e.g. `Transfer`) so a
15
- * single ABI decodes any ABX contract's logs unambiguously.
13
+ * the reference indexer decodes. Every concrete token (721: 1/1, Series, SeriesCode; 1155:
14
+ * OneOfOneEdition, EditionImage, EditionCode) declares the full spine it participates in
15
+ * (Register 1 standards + Register 2 native events); we union them plus the factories'
16
+ * `Deployed` and both fixed-price minters' sibling Minter-spine events (`SaleConfigured`/
17
+ * `Purchase`), de-duping shared fragments (e.g. `Transfer`, `ApprovalForAll`) so a single ABI
18
+ * decodes any ABX contract's logs unambiguously. `eventKey` dedups by name **and** input
19
+ * types, so same-named-but-different-shaped events (the 721 vs. 1155 minters' `SaleConfigured`/
20
+ * `Purchase`, which differ by an `id`/`amount`) survive as distinct fragments — `parseEventLogs`
21
+ * disambiguates them by topic0 (the full canonical signature hash) at decode time, same as it
22
+ * already does for every other event here. `AbxEditionLib` (the EIP-170 relief-valve library all
23
+ * three 1155 token types delegatecall) is deliberately excluded — its event mirrors are
24
+ * byte-identical to the ones `oneOfOneEditionAbi`/`editionImageAbi`/`editionCodeAbi` already carry
25
+ * via inheritance (Uri1155/CreatorToken1155/EditionSupply), so including it would only add pure
26
+ * duplicates (`abxCodeLibAbi` is excluded for the same reason).
27
+ *
28
+ * **`abxParamsLibAbi` is unioned in**, unlike the other two libraries, because one of its events is
29
+ * NOT a duplicate: `ParamHooksFrozen()` is declared only there — the token's `IAbxConfigurableParams`
30
+ * interface declares `HooksConfigured` but not the freeze — so without this the one-way lock on the
31
+ * param hooks would be invisible to every consumer that folds the spine, while the hook it freezes
32
+ * can veto a transfer. `eventKey`'s dedup makes the rest of the library's mirrors free, so this
33
+ * costs nothing beyond the fragment that was missing. (The durable fix is for the interface to
34
+ * declare the event; unioning here keeps reconstruction honest either way.)
16
35
  */
17
36
  export const spineEventAbi = (() => {
18
37
  const all = [
@@ -23,6 +42,14 @@ export const spineEventAbi = (() => {
23
42
  ...seriesImageFactoryAbi,
24
43
  ...seriesCodeFactoryAbi,
25
44
  ...abxFixedPriceMinterAbi,
45
+ ...oneOfOneEditionAbi,
46
+ ...editionImageAbi,
47
+ ...editionCodeAbi,
48
+ ...oneOfOneEditionFactoryAbi,
49
+ ...editionImageFactoryAbi,
50
+ ...editionCodeFactoryAbi,
51
+ ...abxFixedPriceMinter1155Abi,
52
+ ...abxParamsLibAbi, // for ParamHooksFrozen — see the note above; the rest dedup away
26
53
  ].filter((f) => f.type === 'event');
27
54
  const seen = new Set();
28
55
  const out = [];
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/abi/index.ts"],"names":[],"mappings":"AAAA,8EAA8E;AAC9E,0EAA0E;AAC1E,OAAO,EACL,uBAAuB,EACvB,4BAA4B,EAC5B,gBAAgB,EAChB,qBAAqB,EACrB,qBAAqB,EACrB,0BAA0B,EAC1B,cAAc,EACd,mBAAmB,EACnB,oBAAoB,EACpB,yBAAyB,EACzB,aAAa,EACb,kBAAkB,EAClB,gBAAgB,EAChB,qBAAqB,EACrB,eAAe,EACf,oBAAoB,EACpB,aAAa,EACb,kBAAkB,EAClB,sBAAsB,EACtB,2BAA2B,EAC3B,gBAAgB,EAChB,qBAAqB,EACrB,sBAAsB,E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;;;;;;;;;;GAwBG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,GAAG,EAAE;IACjC,MAAM,GAAG,GAAG;QACV,GAAG,gBAAgB;QACnB,GAAG,cAAc;QACjB,GAAG,aAAa;QAChB,GAAG,uBAAuB;QAC1B,GAAG,qBAAqB;QACxB,GAAG,oBAAoB;QACvB,GAAG,sBAAsB;QACzB,GAAG,kBAAkB;QACrB,GAAG,eAAe;QAClB,GAAG,cAAc;QACjB,GAAG,yBAAyB;QAC5B,GAAG,sBAAsB;QACzB,GAAG,qBAAqB;QACxB,GAAG,0BAA0B;QAC7B,GAAG,eAAe,EAAE,iEAAiE;KACtF,CAAC,MAAM,CAAC,CAAC,CAAiB,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,OAAO,CAAC,CAAC;IACpD,MAAM,IAAI,GAAG,IAAI,GAAG,EAAU,CAAC;IAC/B,MAAM,GAAG,GAAe,EAAE,CAAC;IAC3B,KAAK,MAAM,CAAC,IAAI,GAAG,EAAE,CAAC;QACpB,MAAM,GAAG,GAAG,QAAQ,CAAC,CAAU,CAAC,CAAC;QACjC,IAAI,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC;YAAE,SAAS;QAC5B,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;QACd,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IACd,CAAC;IACD,OAAO,GAAG,CAAC;AACb,CAAC,CAAC,EAAE,CAAC"}
@@ -0,0 +1,319 @@
1
+ import type { Address, Hex, PublicClient } from 'viem';
2
+ import { type AnchorKind } from './errors.js';
3
+ import type { SendTx } from './execute.js';
4
+ /**
5
+ * Bootstrap-or-refuse resolution for ABX's six trust anchors + singletons — the six clone
6
+ * factories (1/1, Series, SeriesCode and their three ERC-1155 edition twins) and the shared,
7
+ * stateless renderer + seed source — plus the
8
+ * read-only protocol questions that come with owning a deployed clone (which canonical factory made
9
+ * it; its earliest plausible deploy block).
10
+ *
11
+ * Each `ensure*` follows the same shape as {@link ensureChunkStore} (chunks.ts): resolve the listed
12
+ * address → verify code + capability → (renderer / seed-source only — see {@link AnchorEvent})
13
+ * try the CREATE2-deterministic address → deploy via an injected {@link SendTx}, reporting progress
14
+ * through `onEvent` so the SDK never prints. This lived only inside the CLI, hand-duplicated five
15
+ * times with slightly different capability probes — exporting it is what lets a non-CLI integrator
16
+ * bootstrap a chain identically instead of rediscovering "is this factory the current version?" the
17
+ * hard way, the same reasoning `ensureChunkStore`'s own doc comment gives.
18
+ */
19
+ /** Progress from an `ensure*` trust-anchor resolution, so a caller can narrate without the SDK
20
+ * printing anything itself (mirrors {@link ChunkStoreEvent}'s vocabulary). Not every anchor emits
21
+ * every kind: `canonical` (found at the CREATE2-deterministic address) applies to the renderer,
22
+ * the seed source, the two edition factories
23
+ * (`one-of-one-edition-factory`/`edition-factory`), the two 721 factories
24
+ * (`factory`/`series-factory`) and the two code factories
25
+ * (`series-code-factory`/`edition-code-factory`) — all FOUR of the edition/code factories link
26
+ * write-path libraries, which are themselves CREATE2-deployed at canonical salts, so the linked
27
+ * factory has a deterministic address like everything else (see `create2.ts`'s write-path-library
28
+ * note). Every anchor the SDK deploys now goes through the keyless proxy at a canonical salt, so
29
+ * every one of them can self-heal to its predicted address. The optional
30
+ * `deployed` fields are anchor-specific: `implementation` for every factory, `specVersion` for
31
+ * the renderer, and the linked write-path libraries each factory actually needs —
32
+ * `metadataLib` for ALL SIX (the metadata field store is externalized), plus
33
+ * `paramsLib`/`codeLib` for `SeriesCodeFactory`, all of them for `EditionCodeFactory`, and
34
+ * `paramsLib`/`editionLib` for the two 1155 image factories (`AbxEditionLib` is delegatecalled by
35
+ * ALL THREE edition token types, and it links `AbxParamsLib` itself). */
36
+ export type AnchorEvent = {
37
+ anchor: AnchorKind;
38
+ } & ({
39
+ kind: 'resolved';
40
+ address: Address;
41
+ } | {
42
+ kind: 'stale';
43
+ address: Address;
44
+ reason: 'no-code' | 'stale-version';
45
+ } | {
46
+ kind: 'canonical';
47
+ address: Address;
48
+ } | {
49
+ kind: 'deploying';
50
+ } | {
51
+ kind: 'deployed';
52
+ address: Address;
53
+ inManifest: boolean;
54
+ txHash: Hex;
55
+ implementation?: Address;
56
+ specVersion?: bigint;
57
+ metadataLib?: Address;
58
+ paramsLib?: Address;
59
+ codeLib?: Address;
60
+ editionLib?: Address;
61
+ });
62
+ /** Is the deployed factory this build's version? Reads its implementation and probes the
63
+ * NEWEST capability the current implementation exposes — `totalSupply()` (the live-count
64
+ * read) — so an older factory whose impl predates it is detected and a fresh, source-current
65
+ * (and thus Etherscan-verifiable) one deployed. A stale impl reverts the probe. (Bump this to
66
+ * the newest capability with each impl change.) */
67
+ /** `AbxVersion.CORE_VERSION` in `contracts/src/libraries/AbxVersion.sol`. MUST move in lockstep with
68
+ * it — the Solidity constant's own NatSpec says so, and `test/anchor-version.test.ts` pins the two
69
+ * together so a bump on one side cannot ship alone. */
70
+ export declare const ABX_CORE_VERSION = 2n;
71
+ export declare function isCurrentFactory(publicClient: PublicClient, factory: Address): Promise<boolean>;
72
+ /**
73
+ * Get (or deploy) the chain's canonical 1/1 clone factory — the trust anchor: a factory is THE
74
+ * address platforms allowlist by. Resolves the manifest (override → env → manifest); on a chain
75
+ * with no current entry, deploys a fresh one when `allowBootstrap` is set (else throws
76
+ * {@link AnchorUnavailableError} so the caller can refuse with guidance instead of silently
77
+ * fragmenting trust across duplicate "canonical" factories).
78
+ */
79
+ export declare function ensureFactory(publicClient: PublicClient, send: SendTx, opts: {
80
+ chainId: number;
81
+ override?: string;
82
+ allowBootstrap?: boolean;
83
+ onEvent?: (e: AnchorEvent) => void;
84
+ }): Promise<Address>;
85
+ /** Is the deployed Series factory this build's version? Probes the impl for `nextTokenId()`
86
+ * (the Series-specific issuance cursor), which a stale/incompatible impl won't expose. */
87
+ export declare function isCurrentSeriesFactory(publicClient: PublicClient, factory: Address): Promise<boolean>;
88
+ /** Get (or deploy) the chain's `SeriesImageFactory` — the multi-token trust anchor, the sibling
89
+ * of {@link ensureFactory}. Ownerless + immutable; one deployment serves every Series. */
90
+ export declare function ensureSeriesFactory(publicClient: PublicClient, send: SendTx, opts: {
91
+ chainId: number;
92
+ override?: string;
93
+ allowBootstrap?: boolean;
94
+ onEvent?: (e: AnchorEvent) => void;
95
+ }): Promise<Address>;
96
+ /** Is the configured renderer the spec version this build expects (**v11**)? A behind-spec renderer
97
+ * is treated as stale so {@link ensureRenderer} deploys a fresh one (greenfield redeploy-freely:
98
+ * this number is what tells the CLI a deployed renderer predates behavior the current build emits).
99
+ * Bump in lockstep with `AbxMetadataRenderer.SPEC_VERSION`.
100
+ *
101
+ * **This is a security floor, not just a feature floor**, which is why it has moved twice for
102
+ * reasons unrelated to the params projection:
103
+ * - v4 → v5: v4 left the `abx_provenance` `note` unescaped, and that note carries owner-chosen
104
+ * bytes — enough to flip `onChain` to true, shadow the real `image`, or make `tokenURI`
105
+ * unparseable. A v4 renderer does not merely lag a projection; it will lie about provenance.
106
+ * - v5 → v6: the 2026-08 audit removed two on-chain checks in favour of stated trust assumptions
107
+ * and closed an empty-render case that produced an unparseable document. Rendered output differs,
108
+ * so the version has to.
109
+ * - v6 → v7: the `artist` collection field became `creator`.
110
+ * - v7 → v8: an independent audit found a computed `image` locator was being data-wrapped, so it
111
+ * was not dereferenceable at all; `abx_provenance` lost `onChain` and `verifiedAgainstChain`
112
+ * (the first was wrong in both directions, the second always null); and `abx_params` left
113
+ * `tokenURI` entirely — params enumerate from the contract, which is canonical, and nothing read
114
+ * the projection back.
115
+ * - v8 → v9: a computed `image` was emitted twice — once as `image`, once again inside `artifacts`
116
+ * — nearly doubling the inner payload of the on-chain-SVG lane's `tokenURI`. The data-plane spec
117
+ * always allowed an on-chain renderer to omit reserved-key duplicates; v9 takes it, so
118
+ * `artifacts` no longer appears on the on-chain lanes at all. Rendered output differs, so the
119
+ * version has to.
120
+ * - v9 → v10: four reserved keys the spec had always listed were projected by neither plane on
121
+ * chain — `background_color`, `youtube_url`, `banner_image`, `featured_image`. A documented
122
+ * reserved key that nothing emits is a protocol hole, so the renderer now emits all four when
123
+ * their representation is chain-reachable. A v9 renderer silently drops them.
124
+ * - v10 → v11: `ipfs` and `arweave` — the two representations that are content-addressed, the two
125
+ * the protocol tells creators to prefer — used to fall back rather than resolve, so
126
+ * `--onchain-uri --backend ipfs` had to bake a gateway HOST into a `url` field and report
127
+ * `source: url` for bytes that live on IPFS. v11 projects them through the collection's
128
+ * preferred gateway (`abx_gateway_ipfs` / `abx_gateway_arweave`, public floors otherwise). A v10
129
+ * renderer serves the placeholder SVG for the very same chain state.
130
+ *
131
+ * Read `specVersion()` rather than probing for a feature: a capability probe answers yes for every
132
+ * build that has the feature, which is exactly how a stale factory once reported as current. */
133
+ export declare function isCurrentRenderer(publicClient: PublicClient, renderer: Address): Promise<boolean>;
134
+ /** Get (or deploy) the chain's shared `AbxMetadataRenderer` — the on-chain metadata
135
+ * renderer that fully-on-chain tokens point at. Stateless + shared, so one deployment
136
+ * serves every project; redeployed only if missing or a stale spec version. */
137
+ export declare function ensureRenderer(publicClient: PublicClient, send: SendTx, opts: {
138
+ chainId: number;
139
+ override?: string;
140
+ onEvent?: (e: AnchorEvent) => void;
141
+ }): Promise<Address>;
142
+ /** The code-project trust anchor: use the canonical factory, else the CREATE2-deterministic address,
143
+ * else deploy one (a sandbox / fresh chain — libraries linked in-flight; see {@link
144
+ * deploySeriesCodeFactory}). Unlike the 1/1 and Series factories there is no version probe (no
145
+ * `isCurrentSeriesCodeFactory` — a configured factory with code is always accepted); it needs none
146
+ * at the deterministic address, because a CREATE2 address is bytecode-bound — code sitting at
147
+ * `predictSeriesCodeFactory()` is necessarily THIS build, linked against these libraries. */
148
+ export declare function ensureSeriesCodeFactory(publicClient: PublicClient, send: SendTx, opts: {
149
+ chainId: number;
150
+ override?: string;
151
+ allowBootstrap?: boolean;
152
+ onEvent?: (e: AnchorEvent) => void;
153
+ }): Promise<Address>;
154
+ /** Is the deployed 1/1-edition factory this build's version? Reads its implementation and probes
155
+ * the newest capabilities the current implementation exposes: ERC-165 support for ERC-1155
156
+ * itself AND the edition mint primitive (`IAbxEditionMint`). A stale/incompatible impl fails
157
+ * either probe. (Bump these to the newest capability with each impl change — mirrors {@link
158
+ * isCurrentFactory}'s style.) */
159
+ export declare function isCurrentOneOfOneEditionFactory(publicClient: PublicClient, factory: Address): Promise<boolean>;
160
+ /**
161
+ * Get (or deploy) the chain's canonical 1/1-edition clone factory — the trust anchor for a
162
+ * priced open/limited edition of a single work. The edition twin of {@link ensureFactory},
163
+ * but — because `OneOfOneEditionFactory` is CREATE2-deterministic (see `create2.ts`'s
164
+ * class-level dev note), unlike the 721 1/1 factory's own bootstrap path — this one ALSO
165
+ * self-heals to the predicted address, mirroring {@link ensureRenderer}'s style. The bootstrap
166
+ * leg deploys `AbxParamsLib` + `AbxEditionLib` first (reusing whatever is already on-chain) and
167
+ * links the factory against them — see {@link deployOneOfOneEditionFactory}.
168
+ */
169
+ export declare function ensureOneOfOneEditionFactory(publicClient: PublicClient, send: SendTx, opts: {
170
+ chainId: number;
171
+ override?: string;
172
+ allowBootstrap?: boolean;
173
+ onEvent?: (e: AnchorEvent) => void;
174
+ }): Promise<Address>;
175
+ /** Is the deployed edition-image factory this build's version? Same two-probe shape as {@link
176
+ * isCurrentOneOfOneEditionFactory} (ERC-1155 + `IAbxEditionMint`) — `MaxInvocations`'s id-space
177
+ * cap isn't a distinguishing probe here since it's shared, unchanged, with the 721 Series
178
+ * factory (see `reconstruct.ts`'s `contractType` fold for that same reasoning). */
179
+ export declare function isCurrentEditionFactory(publicClient: PublicClient, factory: Address): Promise<boolean>;
180
+ /** Get (or deploy) the chain's `EditionImageFactory` — the multi-work edition trust anchor,
181
+ * the sibling of {@link ensureSeriesFactory}. CREATE2-deterministic, so it self-heals to its
182
+ * predicted address exactly like {@link ensureOneOfOneEditionFactory} — and, like it, links
183
+ * `AbxEditionLib` (+ that library's own `AbxParamsLib`) on the bootstrap leg. */
184
+ export declare function ensureEditionFactory(publicClient: PublicClient, send: SendTx, opts: {
185
+ chainId: number;
186
+ override?: string;
187
+ allowBootstrap?: boolean;
188
+ onEvent?: (e: AnchorEvent) => void;
189
+ }): Promise<Address>;
190
+ /** The code-project EDITION trust anchor: use the canonical factory, else the CREATE2-deterministic
191
+ * address, else deploy one (a sandbox / fresh chain — three libraries linked in-flight; see {@link
192
+ * deployEditionCodeFactory}). Exactly {@link ensureSeriesCodeFactory}'s stance, extended to a third
193
+ * library: no version probe (a configured factory with code is always accepted), and the same
194
+ * bytecode-bound self-heal at `predictEditionCodeFactory()`. */
195
+ export declare function ensureEditionCodeFactory(publicClient: PublicClient, send: SendTx, opts: {
196
+ chainId: number;
197
+ override?: string;
198
+ allowBootstrap?: boolean;
199
+ onEvent?: (e: AnchorEvent) => void;
200
+ }): Promise<Address>;
201
+ /** The canonical seed source — a clean keyless singleton (like the renderer / chunk store / minter):
202
+ * single-profile, so CREATE2 lands at THE canonical address on any chain. Resolves from the manifest,
203
+ * self-heals to the predicted address (deployed but not yet repointed), else auto-deploys via CREATE2. */
204
+ export declare function ensureSeedSource(publicClient: PublicClient, send: SendTx, opts: {
205
+ chainId: number;
206
+ onEvent?: (e: AnchorEvent) => void;
207
+ }): Promise<Address>;
208
+ /**
209
+ * **The** enumeration of a chain's trust anchors: the three ERC-721 factories (1/1, Series,
210
+ * SeriesCode) and the three ERC-1155 edition twins (OneOfOneEdition, EditionImage, EditionCode).
211
+ * Deduplicated, env overrides honoured, missing entries dropped.
212
+ *
213
+ * Exported because it is the set a platform allowlists, and because it existed twice inside this
214
+ * file — once in {@link detectCanonicalFactory} and once in {@link verifyCanonical} — which is one
215
+ * copy too many for a list whose completeness IS the trust model. When the edition anchors were
216
+ * missing from one of those copies, every canonical edition read `canonical: NO`: not "unverified",
217
+ * a confident wrong answer on the one signal platforms gate on. **Any new token family is added
218
+ * here, once.**
219
+ */
220
+ export declare function canonicalFactories(chainId: number, opts?: {
221
+ override?: string;
222
+ }): Address[];
223
+ /**
224
+ * Pick the canonical factory for a clone being added. An explicit override or a stored value
225
+ * wins; otherwise probe ALL SIX of the chain's known factories — the three 721 anchors (SeriesCode,
226
+ * Series, 1/1) and the three ERC-1155 edition anchors (EditionCode, EditionImage, OneOfOneEdition) —
227
+ * for the ONE whose `isAbxClone` confirms this address, so `abx add` of any project records the RIGHT
228
+ * factory and canonicity actually verifies. Without this, `add` defaulted to the 1/1 factory, so a
229
+ * code/Series clone read `canonical: unverified` (the check ran against the wrong factory). One
230
+ * multicall, only when the factory isn't already known; falls back to the 1/1 default on any miss/RPC
231
+ * error (`isAbxClone` shares a selector across all factory ABIs, so one ABI probes them all).
232
+ *
233
+ * The edition anchors were missing here when the 1155 lane shipped, and the failure was worse than
234
+ * "unverified": the 1/1 fallback answers `isAbxClone` = **false**, so every genuinely-canonical
235
+ * edition read `canonical: NO` — a confident wrong answer about the trust anchor, on the one signal
236
+ * platforms allowlist against. Any new token family MUST be added to this list in the same change.
237
+ */
238
+ export declare function detectCanonicalFactory(publicClient: PublicClient, address: Address, opts: {
239
+ chainId: number;
240
+ override?: string;
241
+ stored?: string | null;
242
+ }): Promise<Address | undefined>;
243
+ /**
244
+ * Is this address a clone of one of the chain's trust anchors? A tri-state, read straight from chain
245
+ * — no projection, no indexer, no prior `abx add`.
246
+ *
247
+ * `true` = some anchor's `isAbxClone` confirms it. `false` = every anchor we know answered and none
248
+ * claimed it: a superseded factory, or a contract deployed outside the toolkit entirely. `null` = the
249
+ * check could not run (no anchors configured for this chain, or the RPC failed) — which is NOT the
250
+ * same answer and must never be shown as one.
251
+ *
252
+ * Exists because `abx state` — the command anyone reaches for to ask "what IS this contract?" — read
253
+ * owner, supply, royalty and renderer off any ERC-721-shaped address and said nothing about whether it
254
+ * was canonical. An agent that built its own contracts instead of using the factory therefore left
255
+ * nothing behind that the creator could discover, from the one tool whose job is to tell them.
256
+ * Canonicity is the single signal platforms allowlist against, and it cannot be added later.
257
+ */
258
+ export declare function verifyCanonical(publicClient: PublicClient, address: Address, chainId: number, opts?: {
259
+ factories?: Address[];
260
+ }): Promise<boolean | null>;
261
+ /** What {@link verifyProvenance} found: canonicity, and — when an anchor claimed the clone — WHICH
262
+ * generation of the trust anchors stamped it, so "canonical, prior generation" is sayable at all. */
263
+ export interface ProvenanceResult {
264
+ /** `true` = an anchor claims it. `false` = anchors answered and none did. `null` = no evidence. */
265
+ canonical: boolean | null;
266
+ /** `'current'` = the live anchors. `'prior'` = a retired generation (canonically ABX, older).
267
+ * `null` = no generation claimed it (or nothing answered). */
268
+ generation: 'current' | 'prior' | null;
269
+ /** The core spec version that generation stamps — the sayable identity ("canonically ABX v2").
270
+ * Cross-check it against the clone's own `abxVersion()`, which is where it is verifiable. */
271
+ coreVersion: number | null;
272
+ /** The anchor that claimed it, when one did. */
273
+ factory?: Address;
274
+ /** How many anchors answered at all. `0` with `canonical: null` is a coverage gap, not a verdict. */
275
+ anchorsAnswered: number;
276
+ }
277
+ /**
278
+ * Canonicity **plus provenance**: not just "is this ours" but "which generation of ours", so a
279
+ * consumer can tell *"deployed by an ABX factory that has since been replaced"* from *"deployed
280
+ * outside the toolkit entirely"*. Today those are the same `false` from {@link verifyCanonical} —
281
+ * which its own docstring admits ("a superseded factory, **or** a contract deployed outside the
282
+ * toolkit") — and they are very different things to show a collector.
283
+ *
284
+ * Checks the live anchors first, then each retired generation in {@link ANCHOR_GENERATIONS}. A
285
+ * retired generation NEVER makes `canonical` mean "trusted": it is labelled `generation: 'prior'`
286
+ * precisely so a caller has to decide, and `verifyCanonical` — the gate — does not consult these
287
+ * anchors at all. One retired generation predates the V-01/V-02 remediation.
288
+ *
289
+ * Prior generations are not backfilled (the pre-launch testnet batches are deliberately
290
+ * unenumerated), so today this answers `'current'` or nothing. The shape is what matters: from the
291
+ * first batch that retires an anchor set, the answer exists rather than needing a protocol change at
292
+ * the moment it is first asked for.
293
+ */
294
+ export declare function verifyProvenance(publicClient: PublicClient, address: Address, chainId: number, opts?: {
295
+ factories?: Address[];
296
+ }): Promise<ProvenanceResult>;
297
+ /** Progress from {@link resolveScanFloor}'s on-chain discovery fallback, so a caller can narrate
298
+ * without the SDK printing. */
299
+ export type ScanFloorEvent = {
300
+ kind: 'genesis-warning';
301
+ } | {
302
+ kind: 'discovered';
303
+ block: bigint;
304
+ };
305
+ /**
306
+ * Resolve the scan floor (fromBlock) for an add/index: an explicit override wins, else the deploy
307
+ * block the local deploy already stored, else discover it from chain (getCode binary search). It
308
+ * NEVER silently defaults to genesis — a from-0 full scan of a live chain must be an explicit
309
+ * opt-in, because on a range-capped RPC it's the difference between an instant index and grinding
310
+ * millions of blocks (the #1 reason a hosted resolver appears "not to index"). Returns a decimal
311
+ * block string. Only touches RPC in the discovery fallback (rare — a foreign contract we didn't
312
+ * deploy here), so the common post-deploy path makes no extra call.
313
+ */
314
+ export declare function resolveScanFloor(publicClient: PublicClient, address: Address, opts?: {
315
+ explicit?: string;
316
+ localFromBlock?: string;
317
+ onEvent?: (e: ScanFloorEvent) => void;
318
+ }): Promise<string>;
319
+ //# sourceMappingURL=anchors.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"anchors.d.ts","sourceRoot":"","sources":["../src/anchors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,OAAO,EAAE,GAAG,EAAE,YAAY,EAAC,MAAM,MAAM,CAAC;AA6CrD,OAAO,EAAyB,KAAK,UAAU,EAAC,MAAM,aAAa,CAAC;AACpE,OAAO,KAAK,EAAC,MAAM,EAAC,MAAM,cAAc,CAAC;AAEzC;;;;;;;;;;;;;;GAcG;AAEH;;;;;;;;;;;;;;;;0EAgB0E;AAC1E,MAAM,MAAM,WAAW,GAAG;IAAC,MAAM,EAAE,UAAU,CAAA;CAAC,GAAG,CAC7C;IAAC,IAAI,EAAE,UAAU,CAAC;IAAC,OAAO,EAAE,OAAO,CAAA;CAAC,GACpC;IAAC,IAAI,EAAE,OAAO,CAAC;IAAC,OAAO,EAAE,OAAO,CAAC;IAAC,MAAM,EAAE,SAAS,GAAG,eAAe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