@artblocks/abx-sdk 0.1.0-alpha.4 → 0.1.0-alpha.41

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