@artblocks/abx-token-api 0.1.0-alpha.1 → 0.1.0-alpha.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/server.d.ts CHANGED
@@ -62,30 +62,4 @@ export declare function verifyProject(state: ProjectState | null, storage: Stora
62
62
  }[];
63
63
  error?: undefined;
64
64
  }>;
65
- /**
66
- * `POST /admin/projects {address, fromBlock?, factory?, label?, description?, externalUrl?,
67
- * attributes?, contentLocators?}` — attributes are off-chain operator traits; contentLocators
68
- * bridge `{ "0x<keccak>": "ipfs://<cid>" }` so the image points at IPFS without holding bytes.
69
- * → register the contract with THIS node and replay it from chain. Idempotent: a
70
- * re-POST is the post-deploy "nudge" that pulls events that landed since.
71
- * `DELETE /admin/projects/:address` → stop indexing it (drops the projection).
72
- *
73
- * We deliberately do NOT factory-scope here: if you own this resolver and you tell it
74
- * a contract, it does its best to index it. (Allowlisting by factory is a platform
75
- * concern — see docs/10-backlog.md B6 — not a self-hosting one.)
76
- */
77
- /**
78
- * Decide the scan floor + whether a full replay is needed when registering a project via the
79
- * admin control plane. Pure (the discovery/refusal fallback for the null case is the caller's):
80
- * - explicit `bodyFromBlock` wins; else the `existingFromBlock` already stored.
81
- * - `null` ⇒ NEITHER supplied nor stored — the caller must derive the deploy block or refuse
82
- * (never default to genesis: a range-capped RPC would sweep millions of blocks).
83
- * - `full` is true only when forced, on a first registration (no existing floor), or when the
84
- * floor actually CHANGED — so re-sending the SAME floor (the CLI now always forwards the deploy
85
- * block, even on a nudge) stays incremental: `abx add --remote` twice ≠ two full scans.
86
- */
87
- export declare function planRegistrationFloor(bodyFromBlock: string | undefined, existingFromBlock: string | undefined, forceFull?: boolean): {
88
- fromBlock: string;
89
- full: boolean;
90
- } | null;
91
65
  //# sourceMappingURL=server.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../src/server.ts"],"names":[],"mappings":"AAAA,OAAO,EAAq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