@artblocks/abx-cli 0.1.0-alpha.4 → 0.1.0-alpha.40

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 (180) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/assets/renderer-scaffold/README.md +29 -11
  3. package/assets/renderer-scaffold/foundry.toml +1 -0
  4. package/assets/renderer-scaffold/remappings.txt +1 -1
  5. package/assets/renderer-scaffold/script/DeployHooks.s.sol +24 -0
  6. package/assets/renderer-scaffold/src/MyHooks.sol +20 -0
  7. package/assets/renderer-scaffold/src/MyRenderer.sol +4 -4
  8. package/assets/renderer-scaffold/src/MyTraits.sol +2 -2
  9. package/assets/renderer-scaffold/test/MyRenderer.t.sol +60 -3
  10. package/dist/bin.d.ts +26 -0
  11. package/dist/bin.d.ts.map +1 -0
  12. package/dist/bin.js +63 -0
  13. package/dist/bin.js.map +1 -0
  14. package/dist/capabilities.d.ts +94 -0
  15. package/dist/capabilities.d.ts.map +1 -0
  16. package/dist/capabilities.js +135 -0
  17. package/dist/capabilities.js.map +1 -0
  18. package/dist/commands/auth.d.ts +54 -0
  19. package/dist/commands/auth.d.ts.map +1 -0
  20. package/dist/commands/auth.js +447 -0
  21. package/dist/commands/auth.js.map +1 -0
  22. package/dist/commands/deploy.d.ts +242 -0
  23. package/dist/commands/deploy.d.ts.map +1 -0
  24. package/dist/commands/deploy.js +4763 -0
  25. package/dist/commands/deploy.js.map +1 -0
  26. package/dist/commands/feedback.d.ts +7 -0
  27. package/dist/commands/feedback.d.ts.map +1 -0
  28. package/dist/commands/feedback.js +147 -0
  29. package/dist/commands/feedback.js.map +1 -0
  30. package/dist/commands/project.d.ts +257 -0
  31. package/dist/commands/project.d.ts.map +1 -0
  32. package/dist/commands/project.js +1414 -0
  33. package/dist/commands/project.js.map +1 -0
  34. package/dist/commands/reads.d.ts +64 -0
  35. package/dist/commands/reads.d.ts.map +1 -0
  36. package/dist/commands/reads.js +701 -0
  37. package/dist/commands/reads.js.map +1 -0
  38. package/dist/commands/scaffold.d.ts +89 -0
  39. package/dist/commands/scaffold.d.ts.map +1 -0
  40. package/dist/commands/scaffold.js +733 -0
  41. package/dist/commands/scaffold.js.map +1 -0
  42. package/dist/commands/service.d.ts +67 -0
  43. package/dist/commands/service.d.ts.map +1 -0
  44. package/dist/commands/service.js +741 -0
  45. package/dist/commands/service.js.map +1 -0
  46. package/dist/commands/storage.d.ts +51 -0
  47. package/dist/commands/storage.d.ts.map +1 -0
  48. package/dist/commands/storage.js +370 -0
  49. package/dist/commands/storage.js.map +1 -0
  50. package/dist/commands/submit-app.d.ts +59 -0
  51. package/dist/commands/submit-app.d.ts.map +1 -0
  52. package/dist/commands/submit-app.js +513 -0
  53. package/dist/commands/submit-app.js.map +1 -0
  54. package/dist/config.d.ts +90 -2
  55. package/dist/config.d.ts.map +1 -1
  56. package/dist/config.js +284 -11
  57. package/dist/config.js.map +1 -1
  58. package/dist/conformance.d.ts +31 -0
  59. package/dist/conformance.d.ts.map +1 -0
  60. package/dist/conformance.js +390 -0
  61. package/dist/conformance.js.map +1 -0
  62. package/dist/contract-read-error.d.ts +5 -0
  63. package/dist/contract-read-error.d.ts.map +1 -0
  64. package/dist/contract-read-error.js +37 -0
  65. package/dist/contract-read-error.js.map +1 -0
  66. package/dist/deps.d.ts +6 -39
  67. package/dist/deps.d.ts.map +1 -1
  68. package/dist/deps.js +4 -68
  69. package/dist/deps.js.map +1 -1
  70. package/dist/errors.d.ts +20 -0
  71. package/dist/errors.d.ts.map +1 -0
  72. package/dist/errors.js +25 -0
  73. package/dist/errors.js.map +1 -0
  74. package/dist/flag-allowlists.d.ts +53 -0
  75. package/dist/flag-allowlists.d.ts.map +1 -0
  76. package/dist/flag-allowlists.js +180 -0
  77. package/dist/flag-allowlists.js.map +1 -0
  78. package/dist/flags.d.ts +41 -0
  79. package/dist/flags.d.ts.map +1 -1
  80. package/dist/flags.js +111 -1
  81. package/dist/flags.js.map +1 -1
  82. package/dist/jsonout.d.ts +37 -0
  83. package/dist/jsonout.d.ts.map +1 -0
  84. package/dist/jsonout.js +68 -0
  85. package/dist/jsonout.js.map +1 -0
  86. package/dist/kind.d.ts +57 -0
  87. package/dist/kind.d.ts.map +1 -0
  88. package/dist/kind.js +122 -0
  89. package/dist/kind.js.map +1 -0
  90. package/dist/main.js +747 -4838
  91. package/dist/main.js.map +1 -1
  92. package/dist/mintpage.d.ts +17 -2
  93. package/dist/mintpage.d.ts.map +1 -1
  94. package/dist/mintpage.js +241 -54
  95. package/dist/mintpage.js.map +1 -1
  96. package/dist/output.d.ts +179 -0
  97. package/dist/output.d.ts.map +1 -0
  98. package/dist/output.js +780 -0
  99. package/dist/output.js.map +1 -0
  100. package/dist/ownerops.d.ts +312 -57
  101. package/dist/ownerops.d.ts.map +1 -1
  102. package/dist/ownerops.js +1808 -357
  103. package/dist/ownerops.js.map +1 -1
  104. package/dist/preview.d.ts +23 -5
  105. package/dist/preview.d.ts.map +1 -1
  106. package/dist/preview.js +95 -43
  107. package/dist/preview.js.map +1 -1
  108. package/dist/prompt.d.ts +17 -0
  109. package/dist/prompt.d.ts.map +1 -0
  110. package/dist/prompt.js +19 -0
  111. package/dist/prompt.js.map +1 -0
  112. package/dist/provision.d.ts +3 -13
  113. package/dist/provision.d.ts.map +1 -1
  114. package/dist/provision.js +19 -21
  115. package/dist/provision.js.map +1 -1
  116. package/dist/remote.d.ts +157 -52
  117. package/dist/remote.d.ts.map +1 -1
  118. package/dist/remote.js +435 -46
  119. package/dist/remote.js.map +1 -1
  120. package/dist/riskgate.d.ts +62 -0
  121. package/dist/riskgate.d.ts.map +1 -0
  122. package/dist/riskgate.js +234 -0
  123. package/dist/riskgate.js.map +1 -0
  124. package/dist/scaffold.d.ts +12 -0
  125. package/dist/scaffold.d.ts.map +1 -0
  126. package/dist/scaffold.js +56 -0
  127. package/dist/scaffold.js.map +1 -0
  128. package/dist/schema.d.ts +36 -1
  129. package/dist/schema.d.ts.map +1 -1
  130. package/dist/schema.js +121 -26
  131. package/dist/schema.js.map +1 -1
  132. package/dist/script-chunks.d.ts +8 -0
  133. package/dist/script-chunks.d.ts.map +1 -0
  134. package/dist/script-chunks.js +35 -0
  135. package/dist/script-chunks.js.map +1 -0
  136. package/dist/served.d.ts +30 -0
  137. package/dist/served.d.ts.map +1 -0
  138. package/dist/served.js +112 -0
  139. package/dist/served.js.map +1 -0
  140. package/dist/signer.d.ts +13 -0
  141. package/dist/signer.d.ts.map +1 -1
  142. package/dist/signer.js +84 -15
  143. package/dist/signer.js.map +1 -1
  144. package/dist/update-check.d.ts +86 -5
  145. package/dist/update-check.d.ts.map +1 -1
  146. package/dist/update-check.js +161 -20
  147. package/dist/update-check.js.map +1 -1
  148. package/package.json +13 -12
  149. package/skill/SKILL.md +179 -347
  150. package/skill/agents/openai.yaml +4 -0
  151. package/skill/reference/capabilities.md +188 -0
  152. package/skill/reference/code.md +211 -0
  153. package/skill/reference/creator-token.md +94 -0
  154. package/skill/reference/deploy.md +167 -0
  155. package/skill/reference/diagnose.md +165 -0
  156. package/skill/reference/hosting.md +161 -94
  157. package/skill/reference/operate.md +181 -0
  158. package/skill/reference/services.md +121 -0
  159. package/skill/reference/setup.md +140 -36
  160. package/assets/renderer-scaffold/src/interfaces/IAbxFieldRenderer.sol +0 -32
  161. package/assets/renderer-scaffold/src/interfaces/IAbxParams.sol +0 -26
  162. package/dist/inspect.d.ts +0 -48
  163. package/dist/inspect.d.ts.map +0 -1
  164. package/dist/inspect.js +0 -184
  165. package/dist/inspect.js.map +0 -1
  166. package/dist/migrate.d.ts +0 -65
  167. package/dist/migrate.d.ts.map +0 -1
  168. package/dist/migrate.js +0 -180
  169. package/dist/migrate.js.map +0 -1
  170. package/dist/onchain-uri.d.ts +0 -97
  171. package/dist/onchain-uri.d.ts.map +0 -1
  172. package/dist/onchain-uri.js +0 -243
  173. package/dist/onchain-uri.js.map +0 -1
  174. package/dist/upload.d.ts +0 -28
  175. package/dist/upload.d.ts.map +0 -1
  176. package/dist/upload.js +0 -41
  177. package/dist/upload.js.map +0 -1
  178. package/skill/reference/code-projects.md +0 -246
  179. package/skill/reference/operating.md +0 -116
  180. package/skill/reference/troubleshooting.md +0 -28
@@ -0,0 +1 @@
1
+ {"version":3,"file":"output.js","sourceRoot":"","sources":["../src/output.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,EAAC,UAAU,EAAE,YAAY,EAAC,MAAM,SAAS,CAAC;AACjD,OAAO,EAAC,IAAI,IAAI,QAAQ,EAAE,OAAO,IAAI,WAAW,EAAC,MAAM,WAAW,CAAC;AACnE,OAAO,EAAC,aAAa,EAAC,MAAM,UAAU,CAAC;AAEvC,OAAO,EAGL,sBAAsB,EAMtB,aAAa,EACb,gBAAgB,EAChB,gBAAgB,EAChB,mBAAmB,EACnB,eAAe,EACf,cAAc,EACd,YAAY,EACZ,YAAY,EACZ,cAAc,EACd,SAAS,EACT,sBAAsB,IAAI,yBAAyB,EACnD,aAAa,IAAI,gBAAgB,EACjC,cAAc,IAAI,iBAAiB,EACnC,gBAAgB,IAAI,mBAAmB,EACvC,uBAAuB,IAAI,0BAA0B,EACrD,mBAAmB,IAAI,sBAAsB,EAC7C,4BAA4B,IAAI,+BAA+B,EAC/D,oBAAoB,IAAI,uBAAuB,EAC/C,wBAAwB,IAAI,2BAA2B,EACvD,gBAAgB,IAAI,mBAAmB,EACvC,KAAK,GACN,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAC,cAAc,EAAE,0BAA0B,EAAC,MAAM,wBAAwB,CAAC;AAClF,OAAO,EAAC,KAAK,EAAE,YAAY,EAAE,eAAe,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,YAAY,EAAE,cAAc,EAAE,gBAAgB,EAAC,MAAM,aAAa,CAAC;AAE5J,OAAO,EAAC,uBAAuB,EAAE,qBAAqB,EAAC,MAAM,oBAAoB,CAAC;AAElF,+EAA+E;AAC/E,MAAM,CAAC,MAAM,CAAC,GAAG;IACf,KAAK,EAAE,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,QAAQ,CAAC,CAAC,MAAM,EAAE,CAAC;QACjC,OAAO,CAAC,QAAQ,CAAC;YACf,OAAO;YACP,QAAQ,EAAE,KAAK;YACf,SAAS,EAAE,SAAS;YACpB,OAAO,EAAE,OAAO,IAAI,IAAI;YACxB,KAAK,EAAE,KAAK,CAAC,KAAK;YAClB,WAAW,EAAE,eAAe;YAC5B,WAAW,EAAE,eAAe;YAC5B,UAAU,EAAE,cAAc;YAC1B,eAAe,EAAE,mBAAmB;YACpC,eAAe,EAAE,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC;SAC1C,CAAC,CAAC;IACL,CAAC;IACD,8FAA8F;IAC9F,0FAA0F;IAC1F,IAAI,KAAK,CAAC,UAAU,GAAG,CAAC,EAAE,CAAC;QACzB,EAAE,CAAC,wBAAwB,KAAK,CAAC,IAAI,IAAI,OAAO,4BAA4B,KAAK,CAAC,UAAU,cAAc,SAAS,IAAI,CAAC,CAAC;IAC3H,CAAC;SAAM,CAAC;QACN,IAAI,CAAC,cAAc,KAAK,CAAC,IAAI,IAAI,OAAO,mFAAmF,CAAC,CAAC;IAC/H,CAAC;IACD,IAAI,CAAC,2BAA2B,IAAI,CAAC,WAAW,CAAC,2CAA2C,IAAI,CAAC,UAAU,GAAG,OAAO,GAAG,WAAW,CAAC,EAAE,CAAC,CAAC;AAC1I,CAAC"}
@@ -6,19 +6,46 @@
6
6
  * served state reflects the change. The agent picks the lane; the human only
7
7
  * approves (wallet lane) or it's the env key (hot lane).
8
8
  */
9
- import { planContentTxs, type SendStagingTx, type Address, type OnChainFieldInput } from '@artblocks/abx-sdk';
10
- import { type Lane, type WalletSession } from './signer.js';
9
+ import { type OnChainParamSchema, type SeedSourceProbe, type SendTx, type Address, type Hex, type OnChainFieldInput, tokenUriGasEstimate, ONCHAIN_PROJECT_SOFT_LIMIT, ONCHAIN_READ_WARN_BYTES, ETH_CALL_GAS_FLOOR, readableBytesAtGas, type Compress, type ContentPlan } from '@artblocks/abx-sdk';
10
+ import { type WalletSession } from './signer.js';
11
+ import { type ParsedSchema } from './schema.js';
12
+ export { ONCHAIN_PROJECT_SOFT_LIMIT, ONCHAIN_READ_WARN_BYTES, ETH_CALL_GAS_FLOOR, tokenUriGasEstimate, readableBytesAtGas, type Compress };
11
13
  type Flags = Record<string, string | undefined>;
12
14
  export declare function assertSettableField(field: string): void;
13
15
  /** Auto-detect the on-chain representation for an off-chain locator by its URI scheme. Returns null
14
16
  * for anything that isn't a recognized durable/http locator (so `attach` can refuse it loudly
15
17
  * rather than silently storing a bad value — the round-1 `--representation` guessing trap). */
16
18
  export declare function representationForLocator(uri: string): string | null;
17
- /** Resolve the signing lane from flags: --unsigned (cold) · --sign (wallet) · default hot. */
18
- export declare function laneFromFlags(flags: Flags): Lane;
19
19
  /** Throw a clear, actionable error when `address` has no contract on the active chain — the common
20
20
  * cause of an owner-op's raw `returned no data ("0x")`. No-op when code is present or unknowable. */
21
21
  export declare function assertContractExists(address: Address): Promise<void>;
22
+ /**
23
+ * `abx configure-param <address> <tokenId> <key> <value>` — set a schema-governed
24
+ * PostParam through the typed path, any lane. Reads the key's on-chain schema first
25
+ * and canonically ENCODES the human input per its type (`#rrggbb`, decimals ×1e10,
26
+ * Select by label, …); `String`/`Bytes` schemas take the value as UTF-8 (or
27
+ * `--file <path>` for bytes) via the data path. The signer must satisfy the schema's
28
+ * auth (Creator = contract owner, TokenOwner — delegate.xyz honored — or the named
29
+ * address); the chain enforces it either way.
30
+ */
31
+ /** Positional args only — drops `--flags` AND the single token each value-taking flag consumes
32
+ * (mirrors parseFlags). `rest.filter(r => !r.startsWith('--'))` was NOT enough: a flag's VALUE
33
+ * (e.g. the URL after `--remote`, or the path after `--file`) isn't `--`-prefixed, so it leaked
34
+ * into the positional value (`configure-param … #ff0000 --remote http://h` → value "#ff0000 http://h"). */
35
+ /**
36
+ * Encode a command-line value for a payload-typed param (`String` / `Bytes`).
37
+ *
38
+ * `String` is UTF-8 text — the literal characters are the value, which is what a user means.
39
+ *
40
+ * `Bytes` is NOT text, and the old code UTF-8'd whatever string it was handed. A tester passed
41
+ * base64 (the encoding the params docs mention — which describes the *canonical decode* a program
42
+ * receives, not what you type here), and 128 packed bytes were stored as 172 bytes of base64 ASCII.
43
+ * Nothing errored; the in-chain renderer read ASCII where it expected bytes and drew garbage. So a
44
+ * `Bytes` value must state its encoding: `0x…` hex, or `--file` for real binary. A bare string is
45
+ * refused rather than guessed at — there is no safe guess between "these characters" and "these
46
+ * bytes", and the failure is invisible until a work renders wrong.
47
+ */
48
+ export declare function encodePayloadParam(typeName: 'String' | 'Bytes', valueInput: string, key: string): Hex;
22
49
  export declare function cmdConfigureParam(address: string | undefined, rest: string[], flags: Flags): Promise<void>;
23
50
  declare const HOOK_ROLES: readonly ["configure", "augment", "transfer"];
24
51
  type HookRole = (typeof HOOK_ROLES)[number];
@@ -26,11 +53,11 @@ type HookRole = (typeof HOOK_ROLES)[number];
26
53
  export declare function parseHookAddress(role: HookRole, v: string): Address;
27
54
  /**
28
55
  * `abx set-param-hooks <address> [--configure 0x|none] [--augment 0x|none] [--transfer 0x|none] [--clear]`
29
- * — wire (or clear) a SeriesCode project's three param-lifecycle hooks. The contract has NO per-hook
56
+ * — wire (or clear) a SeriesCode/EditionCode project's three param-lifecycle hooks. The contract has NO per-hook
30
57
  * setter (`setParamHooks` writes all three at once), so this READS the current trio (`paramHooks()`)
31
58
  * and re-sends it with your changes applied: omit a role to KEEP it, pass an address to set it, or
32
- * `none` to clear it (`--clear` clears all three). Owner-only, any lane, guards `--dry-run`. SeriesCode
33
- * only — a 1/1 or plain Series has no configurable params to hook. Bare (no flags) prints the current
59
+ * `none` to clear it (`--clear` clears all three). Owner-only, any lane, guards `--dry-run`. Code kinds
60
+ * only — static 1/1, Series, and edition kinds have no configurable params to hook. Bare (no flags) prints the current
34
61
  * hooks and does nothing.
35
62
  */
36
63
  export declare function cmdSetParamHooks(address: string | undefined, flags: Flags): Promise<void>;
@@ -49,12 +76,49 @@ export declare function cmdRemoveLastDependency(address: string | undefined, fla
49
76
  export declare function cmdSetDependencyRegistry(address: string | undefined, rest: string[], flags: Flags): Promise<void>;
50
77
  /** `abx lock-dependencies <address>` — freeze the dependency set (list + registry pointer) forever. */
51
78
  export declare function cmdLockDependencies(address: string | undefined, flags: Flags): Promise<void>;
79
+ /** `abx lock-script <address>` — freeze the on-chain program (script chunks) forever. This is the
80
+ * lock that actually freezes the WORK of a code project: after it, `setScriptChunk` /
81
+ * `removeLastScriptChunk` revert. `lock-field`/`lock-uri` only freeze metadata; the full set for a
82
+ * code drop is lock-script + lock-dependencies + lock-field/lock-uri — which freezes what THIS
83
+ * contract stores, not necessarily what the token renders (params have no lock, and a Registry
84
+ * dependency's bytes live in the registry). */
85
+ export declare function cmdLockScript(address: string | undefined, flags: Flags): Promise<void>;
86
+ /** `abx lock-param-hooks <address>` — freeze the three param-lifecycle hook addresses forever.
87
+ * The sibling of lock-script/lock-dependencies/lock-uri, and the only one aimed at a BUYER rather
88
+ * than at metadata: the transfer hook is a veto over transfers and mints, so an unlocked hook set
89
+ * is a standing power over whether a collector can sell. After this, `set-param-hooks` reverts
90
+ * ParamHooksLocked. Owner-only, any lane, guards --dry-run. */
91
+ export declare function cmdLockParamHooks(address: string | undefined, flags: Flags): Promise<void>;
92
+ /** A non-negative-integer edition flag (`--token-id`, `--amount`, …) — the shared parse +
93
+ * bound-check so every edition command that takes "an id" or "a count" rejects the same way. */
94
+ export declare function parseEditionCountFlag(raw: string, flag: string): bigint;
95
+ /** `--token-ids <csv|range>` — the shape `ping-uri` (and any future batch-by-id command) takes: a
96
+ * comma-separated list of ids and/or `lo-hi` ranges (`0-9,20,25-30`), de-duplicated and sorted. */
97
+ export declare function parseTokenIdRange(raw: string): bigint[];
52
98
  export declare function cmdMint(address: string | undefined, flags: Flags): Promise<void>;
53
99
  /** Set (or clear, with `--minter none`) the single authorized minter — a drop/auction/router
54
100
  * contract. Setting a new one atomically replaces any previous minter. */
55
101
  export declare function cmdSetMinter(address: string | undefined, flags: Flags): Promise<void>;
56
102
  /** Lower the supply cap (monotonic — e.g. close an open edition early at `--max <totalSupply>`). */
57
103
  export declare function cmdSetMaxInvocations(address: string | undefined, flags: Flags): Promise<void>;
104
+ /**
105
+ * `abx set-max-supply <address> --token-id <n> --cap <n>` — owner overrides ONE id's ERC-1155
106
+ * supply cap (Edition Supply extension). Monotonically non-increasing once used for that id — the
107
+ * chain enforces it (`MaxSupplyIncreaseForbidden`/`MaxSupplyBelowFloor`), and `--cap open` is
108
+ * refused HERE, before any gas: the contract's own "0" means "closed forever" once an id has been
109
+ * overridden (not "reopen to uncapped" — `EditionSupply.sol`'s own doc calls this out), so accepting
110
+ * `open` as an alias for 0 would silently promise the opposite of what it does on a re-run.
111
+ */
112
+ export declare function cmdSetMaxSupply(address: string | undefined, flags: Flags): Promise<void>;
113
+ /**
114
+ * `abx ping-uri <address> --token-ids <csv|range>` — re-emit the native ERC-1155 `URI` event for
115
+ * the given ids after a contract-wide re-point (`set-token-uri`/`set-renderer`), so marketplaces/
116
+ * indexers that only honor the native event re-index. Permissionless (anyone may call it — it only
117
+ * re-emits already-public, current truth), so there is no owner check and no `expectedSigner` to
118
+ * pin; whichever signer the active lane resolves sends it. Chunks a large id list into several
119
+ * transactions, each through the SAME `--dry-run`/`--confirm` gate as any other write.
120
+ */
121
+ export declare function cmdPingUri(address: string | undefined, flags: Flags): Promise<void>;
58
122
  /** Pause minting — restrict it to the owner (config/reserves) until unpaused. */
59
123
  export declare function cmdPause(address: string | undefined, flags: Flags): Promise<void>;
60
124
  /** Unpause minting — open it to the authorized minter (go live). */
@@ -68,67 +132,214 @@ export declare const AUTHORSHIP_DEPLOY_FIELDS: ReadonlyArray<readonly [flag: str
68
132
  /** Build the on-chain (inline) collection fields for whichever authorship/rights deploy flags are
69
133
  * set — pure, so a deploy path just spreads the result into its `contractFields`. */
70
134
  export declare function authorshipContractFields(flags: Flags): OnChainFieldInput[];
135
+ /** Refuse a prefix that cannot serve. Two rules only — a URL parser here would be a liability, but
136
+ * a value that is not http(s) simply cannot be concatenated into a working URL by any consumer. */
137
+ export declare function assertGatewayPrefix(network: 'ipfs' | 'arweave', prefix: string): string;
138
+ /**
139
+ * The gateway fields a deploy should write.
140
+ *
141
+ * Precedence, per scheme: `--ipfs-gateway` / `--arweave-gateway` → `--gateway` (only for the backend
142
+ * actually in use) → `ABX_IPFS_GATEWAY` / `ABX_ARWEAVE_GATEWAY` → nothing.
143
+ *
144
+ * `--gateway` counts because it has to. It is the STORAGE gateway — where the CLI uploads, probes,
145
+ * and builds `locator()` — and before this it was also, accidentally, the serving gateway, because
146
+ * deploy baked `locator()` straight into a `url` field. Now that the field holds a bare CID, a
147
+ * creator who passed `--gateway https://mine.mypinata.cloud` and nothing else would have had their
148
+ * gateway stripped out and their tokens served from `ipfs.io`: strictly worse than before, for a
149
+ * flag they did pass. Someone who genuinely wants to upload through one gateway and serve through
150
+ * another says so with the scheme-specific flag.
151
+ *
152
+ * Deliberately writes NOTHING when no source names one. Persisting the public floor would make a
153
+ * project that simply took the default look like it chose `ipfs.io` — and would freeze it there,
154
+ * since a floor only improves for collections that stayed silent. Silence is a live default; an
155
+ * explicit value is a decision.
156
+ */
157
+ export declare function gatewayContractFields(flags: Flags): OnChainFieldInput[];
158
+ /**
159
+ * The prefix this run will actually be SERVED from for one scheme — the same precedence
160
+ * `gatewayContractFields` writes, but resolved all the way down to the public floor so a caller can
161
+ * *show* the creator the URL their token will really carry.
162
+ *
163
+ * Split out because a deploy used to narrate the backend's UPLOAD locator (`gateway.pinata.cloud/…`)
164
+ * while committing a bare CID served from somewhere else entirely — a progress line that contradicted
165
+ * the chain. `chosen` distinguishes "the project picked this" (written on chain) from "the floor is
166
+ * filling a silence" (nothing written, and a later floor change moves the project with it).
167
+ *
168
+ * `--gateway` and the env vars are HOST-shaped (`https://my.gw`); the on-chain/served form is a full
169
+ * prefix including the trailing path, so normalize once, here.
170
+ */
171
+ export declare function servingGateway(network: 'ipfs' | 'arweave', flags: Flags): {
172
+ prefix: string;
173
+ chosen: boolean;
174
+ };
175
+ /**
176
+ * `abx set-gateway <address> [--ipfs <prefix>] [--arweave <prefix>]` — repoint where this
177
+ * collection's content-addressed fields are served from. The CID never moves.
178
+ *
179
+ * A separate command rather than two `set-field` invocations because the failure modes are all
180
+ * silent: a token-scope write (ignored — a gateway is one answer per project), a non-`inline`
181
+ * representation (ignored), a prefix missing its trailing path (`https://ipfs.io` + `<cid>` is a
182
+ * 404). `set-field` refuses these keys and points here instead.
183
+ */
184
+ export declare function cmdSetGateway(address: string | undefined, flags: Flags): Promise<void>;
71
185
  /** Set (or clear, with `--payee none`) the primary-sale payout destination. */
72
186
  export declare function cmdSetPrimaryPayee(address: string | undefined, flags: Flags): Promise<void>;
73
187
  export declare function cmdRefresh(address: string | undefined, flags: Flags): Promise<void>;
74
188
  export declare function cmdTransfer(address: string | undefined, flags: Flags): Promise<void>;
75
189
  export declare function cmdSetTokenUri(address: string | undefined, flags: Flags): Promise<void>;
76
190
  export declare function cmdSetContractUri(address: string | undefined, flags: Flags): Promise<void>;
77
- /** Parse + bound-check a royalty `--bps` (basis points, 0–10000 = 0–100%). Throws a plain-language
191
+ /** Parse + bound-check a royalty `--bps` (basis points). The bound is the CONTRACT's cap, not ERC-2981's
192
+ * range — see {@link MAX_ROYALTY_BPS}. Throws a plain-language
78
193
  * error on a non-integer or out-of-range value instead of letting it hit the chain (or a cryptic
79
194
  * ABI read). Exported for the regression test. */
80
195
  export declare function parseRoyaltyBps(raw: string): number;
81
196
  export declare function cmdSetRoyalty(address: string | undefined, flags: Flags): Promise<void>;
82
- export type Compress = 'none' | 'fastlz' | 'gzip';
197
+ /**
198
+ * `abx set-royalty-cap <address> --cap <0-10000>` — lower the collection's royalty ceiling.
199
+ * Owner-only and REDUCE-ONLY: the ceiling was fixed at deploy (default 10%, or the royalty rate if
200
+ * higher) and can only ever come down, so buyers can trust a stated maximum. Both ways the chain
201
+ * refuses are checked HERE, before any signing, so the refusal is instant and free rather than a paid
202
+ * revert (reads are best-effort — an unreadable getter does NOT block, since the chain enforces
203
+ * both invariants regardless):
204
+ * - not a reduction (`newCap >= currentCap`) → `RoyaltyCapNotReduced()`;
205
+ * - below the live royalty rate (`newCap < currentRoyaltyBps`) → `RoyaltyCapBelowRoyalty()`.
206
+ */
207
+ export declare function cmdSetRoyaltyCap(address: string | undefined, flags: Flags): Promise<void>;
208
+ /**
209
+ * Parse a transfer-validator choice — the shared grammar of the deploy flag (`--721c`) and the
210
+ * owner op (`abx set-transfer-validator`):
211
+ * - `recommended` (or a bare `--721c`) → the per-chain recommended validator, refusing on a
212
+ * chain the manifest has no entry for (naming the chains that do — never guess one);
213
+ * - a `0x…` address → checksum-validated (EIP-55) and returned as its canonical form;
214
+ * - `none`/zero → `allowNone` decides: the owner op suspends with it; the DEPLOY flag refuses
215
+ * it (a zero validator at deploy never enrolls — that is already the default, so someone
216
+ * passing it either wants plain ERC-721 (drop the flag) or mistakenly believes "enrolled but
217
+ * suspended" is a deploy-time state — it isn't).
218
+ * Pure (no RPC) — callers do the has-code precheck themselves. Exported for the regression test.
219
+ */
220
+ export declare function parseTransferValidatorValue(raw: string, opts: {
221
+ chainId: number;
222
+ chainLabel: string;
223
+ allowNone?: boolean;
224
+ }): Address;
225
+ /**
226
+ * `abx set-transfer-validator <address> <0x…|none|recommended>` — re-point an ENROLLED (ERC-721C)
227
+ * collection's transfer validator, or suspend enforcement with `none` (address(0); the token
228
+ * STAYS enrolled). Refuses up front, before any signing: a plain ERC-721 (enrollment is
229
+ * deploy-time-only — the contract would revert `NotCreatorToken()`), and a codeless validator
230
+ * (would revert `InvalidTransferValidator()`). Owner-only, any lane, guards `--dry-run`.
231
+ */
232
+ export declare function cmdSetTransferValidator(address: string | undefined, rest: string[], flags: Flags): Promise<void>;
233
+ /** The canonical `AbxSeedSource` for a chain — the manifest entry (the source of truth) with the
234
+ * CREATE2 prediction as the cross-chain fallback (the singleton is address-identical everywhere).
235
+ * Deliberately does NOT go through `resolveSeedSource`, which reads `ABX_SEED_SOURCE`: that env var
236
+ * names the source you have CONFIGURED, which is exactly the thing `canonical` exists to name the
237
+ * alternative to. Asking for `canonical` and silently getting your custom override would be the
238
+ * worst possible answer. */
239
+ export declare function canonicalSeedSource(chainId: number): Address;
240
+ /**
241
+ * Parse a seed-source choice — the shared grammar of the deploy flag (`--seed-source`) and the owner
242
+ * op (`abx set-seed-source`):
243
+ * - `canonical` (or a bare `--seed-source`) → the chain's canonical `AbxSeedSource`, i.e. the
244
+ * default; spelled out so a creator can state it rather than rely on absence meaning it;
245
+ * - a `0x…` address → checksum-validated (EIP-55) and returned canonicalized. The caller MUST
246
+ * probe it (see {@link refuseUnusableSeedSource}) — a bad address here is silent until the
247
+ * first buyer, and then every mint reverts;
248
+ * - `none`/zero → `allowNone` decides: the owner op clears with it (future mints draw no seed);
249
+ * the DEPLOY flag refuses it and points at `--no-seed`, which already means exactly that. Two
250
+ * spellings of one thing is how a creator ends up unsure which they used.
251
+ * Pure (no RPC) — mirrors `parseTransferValidatorValue`, deliberately, so the two knobs read the
252
+ * same. Exported for the regression test.
253
+ */
254
+ export declare function parseSeedSourceValue(raw: string, opts: {
255
+ chainId: number;
256
+ allowNone?: boolean;
257
+ }): Address;
258
+ /**
259
+ * Turn a non-`ok` {@link SeedSourceProbe} into the refusal a creator can act on. One place, because
260
+ * the deploy flag and the owner op hit the identical failure shapes and must say the identical
261
+ * thing; `context` only names which surface asked (so the fix names the right flag).
262
+ *
263
+ * Every branch is a REFUSAL, not a warning. A seed source is the one setting where "looks fine, is
264
+ * broken" is the normal outcome of a mistake: `seedSource()` reads back exactly what you set, the
265
+ * `SeedSourceSet` event fires, `abx state` shows it — and then the first mint reverts in the ABI
266
+ * decode of a return that isn't 32 bytes. There is no later moment at which this gets easier to
267
+ * notice, so it is caught here or it is caught by a buyer.
268
+ */
269
+ export declare function refuseUnusableSeedSource(probe: SeedSourceProbe, context: {
270
+ flag: string;
271
+ chainLabel: string;
272
+ }): never;
273
+ /**
274
+ * `abx set-seed-source <address> <0x…|canonical|none>` — re-point (or clear) where a code project
275
+ * draws its mint seeds. Owner-only; **future mints only**, because a seed settles the moment it is
276
+ * assigned and nothing rewrites it. Refuses before any signing: a target with no Seed Source
277
+ * extension (a 1/1 or an image Series — there is nothing to set), and any candidate the probe
278
+ * rejects.
279
+ *
280
+ * This op is deliberately loud about one thing the chain cannot enforce: re-pointing mid-sale means
281
+ * tokens minted before and after draw from **different** sources. That is legitimate (it is how you
282
+ * fix a broken source, or hand over to a commit-reveal one), and it is public — `SeedSourceSet` is
283
+ * on the event spine and `abx state` prints the current source — but a collector who bought early
284
+ * has no way to know it will happen. So the print names the split when supply already exists.
285
+ */
286
+ export declare function cmdSetSeedSource(address: string | undefined, rest: string[], flags: Flags): Promise<void>;
83
287
  export declare function parseCompress(v: string | undefined): Compress;
84
288
  /**
85
- * The hot-lane staging signer: the env key signs + broadcasts each chunk-store write. Built
86
- * lazily so commands that never stage on-chain don't require a key. The wallet lane passes a
87
- * session-backed sender instead (see {@link openWalletSession}); the cold lane can't stage
88
- * interactively, so it's rejected up front by the deploy/set-field commands.
289
+ * The hot-lane staging signer: the env key signs + broadcasts each chunk-store write, via the
290
+ * SDK's `makeHotSender` (pinned nonce, pinned gas, typed revert). Built lazily so commands that
291
+ * never stage on-chain don't require a key. The wallet lane passes a session-backed sender
292
+ * instead (see {@link openWalletSession}); the cold lane can't stage interactively, so it's
293
+ * rejected up front by the deploy/set-field commands.
89
294
  */
90
- export declare function envStagingSender(): SendStagingTx;
295
+ export declare function envStagingSender(): SendTx;
91
296
  /** Wallet-lane staging signer: each chunk-store write is approved in the human's browser
92
- * wallet through the open {@link WalletSession}, sharing one connection with the final tx. */
93
- export declare function sessionStagingSender(session: WalletSession): SendStagingTx;
94
- /**
95
- * Put `content` on-chain as SSTORE2 chunks behind the shared reader, and return the field's
96
- * `(representation, value)`. `fastlz` compresses per chunk (reader decodes on read → stays
97
- * on-chain renderable); `gzip` compresses the whole content (off-chain decode → the
98
- * `reader-gzip` representation, not on-chain renderable).
99
- *
100
- * Staging is one atomic `writeContent` when the content fits a single tx's gas, else
101
- * gas-bounded chunk-write `multicall`s plus a final manifest write — {@link stageContent}
102
- * picks, and we print the tx plan up front so the human knows the count before signing.
103
- * These store writes use the env key (the data contracts are ownerless); the owner only
104
- * signs the field set that references the manifest.
105
- */
106
- /**
107
- * Pure staging plan for a piece of content — chunk count + transaction shape — with NO
108
- * chain writes, no signer, no `ensureChunkStore`. Shared by {@link putContentOnChain}
109
- * (which then actually stages) and the deploy dry-run preview, so the count the human is
110
- * told up front is the same one the real staging will produce. `chunkSize` defaults to the
111
- * SDK's {@link planChunks} default (currently 22 KB), so e.g. a 2.8 KB SVG is 1 chunk.
112
- */
113
- export declare const ONCHAIN_IMAGE_SOFT_LIMIT: number;
114
- export declare const ONCHAIN_PROJECT_SOFT_LIMIT: number;
115
- /** Warn (loudly) when content is too big for on-chain to be the cost-sane choice. Returns true if it warned. */
116
- export declare function warnIfLargeForOnChain(bytesLen: number, label: string): boolean;
117
- export declare function computeContentPlan(bytes: Buffer, compress: Compress): {
118
- content: Uint8Array;
119
- fastlz: boolean;
120
- chunks: number;
121
- stagedBytes: number;
122
- plan: ReturnType<typeof planContentTxs>;
123
- representation: string;
124
- };
297
+ * wallet through the open {@link WalletSession}, sharing one connection with the final tx. A
298
+ * {@link PreparedTx} already carries everything `session.send` needs, so this is a thin adapter. */
299
+ export declare function sessionStagingSender(session: WalletSession): SendTx;
300
+ /** Measure (once) what the configured RPCs will actually serve an `eth_call`. Never throws. */
301
+ export declare function ensureRpcGasCap(): Promise<{
302
+ gasCap: number | null;
303
+ label: string | null;
304
+ }>;
305
+ /** Test seam: force the cached cap (or clear it with `undefined`). */
306
+ export declare function __setRpcGasCapForTest(v: {
307
+ gasCap: number | null;
308
+ label: string | null;
309
+ } | undefined): void;
310
+ /**
311
+ * Report what putting `bytesLen` of content on-chain costs, on both axes that matter — and REFUSE
312
+ * NOTHING at any size.
313
+ *
314
+ * Readability depends on the configured RPC's `eth_call` cap, so the toolkit reports the measured
315
+ * allowance instead of refusing content at a fixed byte threshold.
316
+ *
317
+ * Two axes, and they fail differently:
318
+ * • WRITE is chunked (22,000-byte SSTORE2 chunks across separate transactions), so no block gas
319
+ * limit ever binds it. It is purely a money question at ~200 gas/byte.
320
+ * • READ is one `eth_call`, and whether it succeeds is a property of WHOSE endpoint is asking.
321
+ * Ours is measurable; a marketplace's is not, and that distinction survives into the output.
322
+ *
323
+ * Returns true if it printed anything.
324
+ */
325
+ export declare function guardOnChainSize(bytesLen: number, label: string): Promise<boolean>;
326
+ /**
327
+ * Pure staging plan for a piece of content — chunk count + transaction shape — with NO chain
328
+ * writes, no signer, no `ensureChunkStore`. The CLI-facing wrapper over the SDK's pure
329
+ * {@link planStagedContent}: `gzip` is a Node-only transform, so it happens here (not in the SDK —
330
+ * see staging.ts's module doc) before handing the result off to the SDK's chunk/tx-shape math.
331
+ * Shared by {@link putContentOnChain} (which then actually stages) and the deploy dry-run preview,
332
+ * so the count the human is told up front is the same one the real staging will produce.
333
+ */
334
+ export declare function computeContentPlan(bytes: Buffer, compress: Compress): ContentPlan;
335
+ export declare function refusePrewrappedImage(bytes: Uint8Array | string, label: string): void;
125
336
  /**
126
337
  * Dry-run preview of staging an image fully on-chain — the REAL chunk + transaction plan,
127
338
  * computed without writing anything (so `abx deploy --dry-run --onchain-image` reports the
128
339
  * true count instead of leaving the agent to guess). The final tx here is the deploy that
129
340
  * bakes in the reader field, so the count is staging tx(s) + the deploy.
130
341
  */
131
- export declare function previewImageStaging(imagePath: string, compress: Compress): string;
342
+ export declare function previewImageStaging(imagePath: string, compress: Compress): Promise<string>;
132
343
  /**
133
344
  * Stage an image file fully on-chain (chunk store) and return the `reader`-backed
134
345
  * `image` field to bake into a deploy's `InitParams.tokenFields`. The staging writes
@@ -136,7 +347,7 @@ export declare function previewImageStaging(imagePath: string, compress: Compres
136
347
  * image" is just those staging tx(s) + the single deploy — no post-deploy `set-field`.
137
348
  * The manifest is deployer-independent, so this is computed once and reused for any signer.
138
349
  */
139
- export declare function stageImageField(imagePath: string, compress: Compress, send: SendStagingTx): Promise<{
350
+ export declare function stageImageField(imagePath: string, compress: Compress, send: SendTx): Promise<{
140
351
  field: OnChainFieldInput;
141
352
  note: string;
142
353
  }>;
@@ -144,18 +355,33 @@ export declare function stageImageField(imagePath: string, compress: Compress, s
144
355
  * Stage MANY images on-chain against a **single, shared** chunk store — the batch form of
145
356
  * {@link stageImageField} for a Series. The store is resolved/deployed **once** (not per token),
146
357
  * then every file is staged against it and returned as its own `reader`-backed `image` field.
147
- * Each field still points at its own manifest, so each token's artwork is independent; they just
358
+ * Each field still points at its own manifest, so each token's work is independent; they just
148
359
  * share the store contract. Returns the fields in input order (token order).
149
360
  */
150
- export declare function stageImageFieldsBatch(imagePaths: string[], compress: Compress, send: SendStagingTx, storeOverride?: string): Promise<{
361
+ export declare function stageImageFieldsBatch(imagePaths: string[], compress: Compress, send: SendTx, storeOverride?: string): Promise<{
151
362
  fields: OnChainFieldInput[];
152
363
  store: Address;
153
364
  }>;
365
+ /**
366
+ * The on-chain bytes for `--value` under `representation`. For a structured representation this
367
+ * normalizes (a bare address → `abi.encode(address)`) and REFUSES anything the renderer could not
368
+ * decode; every other representation carries raw bytes and passes through untouched.
369
+ */
370
+ export declare function encodeStructuredFieldValue(representation: string, value: string): Hex;
371
+ /**
372
+ * Refuse a `renderer` field that points at an address with NO CODE — the same guard
373
+ * `deploy-code --image-renderer` applies, now on the post-deploy path it was missing from. A
374
+ * codeless target passes every static check and still reverts every tokenURI.
375
+ */
376
+ export declare function assertFieldRendererDeployed(value: Hex): Promise<void>;
377
+ export declare function assertGeneratorRepointable(contract: Address, field: string, flags: Flags,
378
+ /** Injected for tests; the real probe is one eth_call. */
379
+ probe?: (c: Address) => Promise<boolean>): Promise<void>;
154
380
  export declare function cmdSetField(address: string | undefined, flags: Flags): Promise<void>;
155
381
  /**
156
382
  * `abx attach <address> <key> <uri>` — attach a named, typed file to a token (or the collection),
157
383
  * so it appears in the token's served `artifacts` manifest as `{key, mimeType, uri}`. This is the
158
- * creator-facing verb for the token data plane (specs/protocol/data-plane.md); it's a thin,
384
+ * creator-facing verb for the token data plane (site/content/docs/protocol/data-plane.mdx); it's a thin,
159
385
  * correct-by-construction wrapper over `set-field`:
160
386
  * - the on-chain representation is AUTO-DETECTED from the URI scheme (ipfs:// · ar:// · https://)
161
387
  * — no `--representation` to guess wrong;
@@ -166,6 +392,20 @@ export declare function cmdSetField(address: string | undefined, flags: Flags):
166
392
  * - computed keys (`artifacts`, `abx_provenance`) are refused — they're the manifest, not inputs.
167
393
  * Scope: token (`--token`, default 0) or `--collection`. Any signing lane. Owner-only.
168
394
  */
395
+ /**
396
+ * Attach one or more artifacts. Several `<key> <uri>` pairs in one invocation become **one
397
+ * transaction**.
398
+ *
399
+ * That batching is a safety fix, not a convenience. The documented flow —
400
+ * mint, then attach each artifact, then refresh — sent one transaction per step with no all-or-nothing
401
+ * boundary, so a failure partway through left a permanently half-written token that cannot be
402
+ * un-minted. An integrator hit exactly this and folded 8 operations into 1 transaction using the SDK's
403
+ * `batchOps`, which the CLI already shipped and did not use. Now it does: N pairs are one
404
+ * `multicall`, so either every artifact lands or none does.
405
+ *
406
+ * A single pair passes through `batchOps` untouched, so the one-artifact case sends the identical
407
+ * transaction it always did.
408
+ */
169
409
  export declare function cmdAttach(rest: string[], flags: Flags): Promise<void>;
170
410
  export declare function cmdLockField(address: string | undefined, flags: Flags): Promise<void>;
171
411
  /** Point a token's URI resolution at an on-chain renderer (or clear it with `--off`).
@@ -174,8 +414,9 @@ export declare function cmdLockField(address: string | undefined, flags: Flags):
174
414
  * fields — no resolver needed. Scope: token (default) or `--collection`. */
175
415
  export declare function cmdSetRenderer(address: string | undefined, flags: Flags): Promise<void>;
176
416
  /** Freeze a scope's URI config (pointer + renderer) forever. With the fields also
177
- * locked, the resolved metadata is provably immutable — the on-chain twin of a
178
- * frozen `tokenURI`. Scope: token (default) or `--collection`. */
417
+ * locked, the stored metadata can never change again — the on-chain twin of a frozen
418
+ * `tokenURI`. Not the same as a frozen OUTPUT: params have no lock and the renderer
419
+ * projects them, and a Registry dependency resolves live. Scope: token or `--collection`. */
179
420
  export declare function cmdLockUri(address: string | undefined, flags: Flags): Promise<void>;
180
421
  export declare function cmdSetAdmin(address: string | undefined, flags: Flags): Promise<void>;
181
422
  /**
@@ -183,13 +424,27 @@ export declare function cmdSetAdmin(address: string | undefined, flags: Flags):
183
424
  * sale for a project on the shared minter. Defers to the token owner. Resolves (or deploys) the
184
425
  * shared minter, then reports the two remaining grants the owner still needs (assign the minter on
185
426
  * the token, set a primary payee) and whether the token is paused.
427
+ *
428
+ * On an EDITION (OneOfOneEdition/EditionImage/EditionCode), `--token-id` is REQUIRED (sales are
429
+ * keyed `(token, id)` — a per-work price, not one project-wide sale) and the sale routes to the
430
+ * shared `AbxFixedPriceMinter1155` instead. Refused on a 721 target.
186
431
  */
187
432
  export declare function cmdMinterConfigure(address: string | undefined, flags: Flags): Promise<void>;
188
433
  /** `abx minter show <token>` — the sale terms + the token's readiness (assigned? payee? paused?).
189
- * Read-only; the agent runs it to see exactly what's configured before/after a sale. */
434
+ * Read-only; the agent runs it to see exactly what's configured before/after a sale. On an
435
+ * edition, `--token-id` is required and the readout is per-id (copies, not a whole-contract cap). */
190
436
  export declare function cmdMinterShow(address: string | undefined, flags: Flags): Promise<void>;
191
437
  /** `abx minter buy <token> [--to 0x…]` — buy one token through the shared minter (public; any
192
- * funded signer). ETH sales attach the price; ERC-20 sales need a prior approval to the minter. */
438
+ * funded signer). ETH sales attach the price; ERC-20 sales need a prior approval to the minter.
439
+ * On an edition, `--token-id` is required and `--quantity` (default 1) buys several copies in the
440
+ * same purchase — the total ETH attached is `price × quantity`. */
193
441
  export declare function cmdMinterBuy(address: string | undefined, flags: Flags): Promise<void>;
194
- export {};
442
+ /** Values already stored under a key can be stranded by a schema change — the contract does NOT
443
+ * re-validate them. Compare old vs new and name what would break, so the guard can refuse. */
444
+ export declare function strandingRisks(before: OnChainParamSchema, after: ParsedSchema): string[];
445
+ /** `abx set-schema <address> --schema key:Type:Auth[:lock=<when>]` — attach or replace ONE key's
446
+ * on-chain schema, any time in a project's life. Owner-only. */
447
+ export declare function cmdSetSchema(address: string | undefined, flags: Flags): Promise<void>;
448
+ /** `abx retire-param <address> <key>` — permanently stop further writes to a PostParam. */
449
+ export declare function cmdRetireParam(address: string | undefined, rest: string[], flags: Flags): Promise<void>;
195
450
  //# sourceMappingURL=ownerops.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ownerops.d.ts","sourceRoot":"","sources":["../src/ownerops.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,EAeL,cAAc,EA2Bd,KAAK,aAAa,EAIlB,KAAK,OAAO,EAEZ,KAAK,iBAAiB,EAEvB,MAAM,oBAAoB,CAAC;AA4B5B,OAAO,EAA4B,KAAK,IAAI,EAAmB,KAAK,aAAa,EAAC,MAAM,aAAa,CAAC;AAatG,KAAK,KAAK,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC,CAAC;AAShD,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAWvD;AAKD;;gGAEgG;AAChG,wBAAgB,wBAAwB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAMnE;AAMD,8FAA8F;AAC9F,wBAAgB,aAAa,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI,CAIhD;AA4GD;sGACsG;AACtG,wBAAsB,oBAAoB,CAAC,OAAO,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,CAe1E;AA8BD,wBAAsB,iBAAiB,CAAC,OAAO,EAAE,MAAM,GAAG,SAAS,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,KAAK,EAAE,KAAK,GAAG,OAAO,CAAC,IAAI,CAAC,CA0GhH;AAGD,QAAA,MAAM,UAAU,+CAAgD,CAAC;AACjE,KAA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