@easy1staking/cip113-sdk-ts 0.6.0 → 0.9.0

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 (39) hide show
  1. package/README.md +72 -2
  2. package/blueprints/standard/v0.5.0-alpha.3/UPSTREAM_PIN.json +35 -0
  3. package/blueprints/standard/v0.5.0-alpha.3/plutus.json +1126 -0
  4. package/blueprints/standard/v0.5.0-alpha.4/UPSTREAM_PIN.json +36 -0
  5. package/blueprints/standard/v0.5.0-alpha.4/plutus.json +1434 -0
  6. package/dist/core/evo-utils.d.ts +357 -39
  7. package/dist/core/evo-utils.d.ts.map +1 -1
  8. package/dist/core/evo-utils.js +513 -27
  9. package/dist/core/evo-utils.js.map +1 -1
  10. package/dist/core/ledger-order.d.ts +204 -18
  11. package/dist/core/ledger-order.d.ts.map +1 -1
  12. package/dist/core/ledger-order.js +385 -28
  13. package/dist/core/ledger-order.js.map +1 -1
  14. package/dist/index.d.ts +5 -5
  15. package/dist/index.d.ts.map +1 -1
  16. package/dist/index.js +8 -3
  17. package/dist/index.js.map +1 -1
  18. package/dist/standard/blueprint.d.ts +128 -29
  19. package/dist/standard/blueprint.d.ts.map +1 -1
  20. package/dist/standard/blueprint.js +244 -47
  21. package/dist/standard/blueprint.js.map +1 -1
  22. package/dist/standard/scripts.d.ts +166 -76
  23. package/dist/standard/scripts.d.ts.map +1 -1
  24. package/dist/standard/scripts.js +222 -118
  25. package/dist/standard/scripts.js.map +1 -1
  26. package/dist/substandards/dummy/index.d.ts +19 -0
  27. package/dist/substandards/dummy/index.d.ts.map +1 -1
  28. package/dist/substandards/dummy/index.js +322 -73
  29. package/dist/substandards/dummy/index.js.map +1 -1
  30. package/dist/substandards/freeze-and-seize/index.d.ts +32 -0
  31. package/dist/substandards/freeze-and-seize/index.d.ts.map +1 -1
  32. package/dist/substandards/freeze-and-seize/index.js +456 -118
  33. package/dist/substandards/freeze-and-seize/index.js.map +1 -1
  34. package/dist/substandards/freeze-and-seize/scripts.d.ts.map +1 -1
  35. package/dist/substandards/freeze-and-seize/scripts.js +8 -2
  36. package/dist/substandards/freeze-and-seize/scripts.js.map +1 -1
  37. package/dist/types.d.ts +131 -48
  38. package/dist/types.d.ts.map +1 -1
  39. package/package.json +2 -2
@@ -0,0 +1,36 @@
1
+ {
2
+ "artifact": "plutus.json",
3
+ "sha256": "5ff5d6d2990d815973e4edcf6d46e7c3d0ff4bf3cb7c17a3e672e091b7ea0b46",
4
+ "declares": {
5
+ "title": "cardano-foundation/cip113-programmable-tokens",
6
+ "version": "0.5.0-alpha.4",
7
+ "compiler": "Aiken v1.1.23+8949565",
8
+ "validators": 34
9
+ },
10
+ "upstream": {
11
+ "repo": "https://github.com/cardano-foundation/cip113-programmable-tokens",
12
+ "commit": "7e8a63198c5b240135f1aa2f043ce5d7c046b2c4",
13
+ "ref": "main",
14
+ "note": "PINNED TO THE COMMIT, NOT THE VERSION STRING — same reasoning as v0.5.0-alpha.2 and v0.5.0-alpha.3: upstream publishes NO git tags, so \"0.5.0-alpha.4\" is a `version` field inside plutus.json on a MOVING branch and has already named two different blueprint files. Reachability was VERIFIED, not assumed: local `origin/main` resolved to 7e8a63198c5b240135f1aa2f043ce5d7c046b2c4. Full 40-char sha recorded deliberately — this repo has twice pinned an abbreviation or an orphan (013c1154, then 2e067fe, which GitHub's squash-merge orphaned the instant it landed)."
15
+ },
16
+ "blueprint_reproduced": true,
17
+ "provenance": "VERIFIED",
18
+ "reproduce": {
19
+ "requires": "Aiken v1.1.23+8949565",
20
+ "command": "git clone https://github.com/cardano-foundation/cip113-programmable-tokens && git checkout 7e8a63198c5b240135f1aa2f043ce5d7c046b2c4 && aikup install v1.1.23 && rm plutus.json && aiken build",
21
+ "note": "`aikup install v1.1.23` with the version explicit, never bare `aikup install`, which follows latest and will stop reproducing this artifact the moment v1.1.24 ships. ⚠ aiken BUILDS ANYWAY on a mismatched compiler, emitting only a warning — check the preamble's compiler field, do not trust the environment."
22
+ },
23
+ "verified": {
24
+ "date": "2026-09-09",
25
+ "method": "REPRODUCED FROM SOURCE",
26
+ "findings": [
27
+ "OBSERVED: `aiken build` at upstream commit 7e8a63198c5b240135f1aa2f043ce5d7c046b2c4, with Aiken v1.1.23+8949565, produced a plutus.json BYTE-IDENTICAL to the one upstream commits at that same commit. Both sha256 5ff5d6d2990d815973e4edcf6d46e7c3d0ff4bf3cb7c17a3e672e091b7ea0b46, both 164444 bytes. The build ran in a THROWAWAY COPY, and upstream's committed plutus.json was DELETED before the build so it could not be mistaken for output.",
28
+ "⚠ ONE DEPENDENCY IS A MUTABLE BRANCH, AND THE REPRODUCIBILITY CLAIM IS SCOPED ACCORDINGLY. aiken.toml pins `aiken-lang/stdlib` to the TAG v3.1.0 (immutable), but `aiken-lang/fuzz` to `main` — a BRANCH. aiken.lock's [etags] records the fetched content hash. `fuzz` is referenced only from `test` and `bench` definitions and the generators serving them; `aiken build` emits neither, which is why byte-identity holds despite the mutable pin. A future rebuild could still see a different `fuzz` without that changing this blueprint.",
29
+ "DELTA FROM THE EARLIER alpha.4 PIN d37ca8dcc08527043d9115710573ea2459958908: every validator's compiledCode is byte-identical. Upstream #135 renamed blueprint parameter and type metadata to current design vocabulary; #136 added tests only. The whole-file sha256 changes because a blueprint includes that metadata, while every unparameterised and parameterised script hash remains unchanged for the same deployment parameters.",
30
+ "This is the ONLY 0.5.0-alpha.4 artifact this repository ships, and it supersedes NOTHING: v0.5.0-alpha.2 is retained because a LIVE preview protocol instance runs it, recorded in deployments/preview/alpha2.json, and v0.5.0-alpha.3 is retained because it backs deployments/preview/alpha3.json AND remains this SDK's current target (TARGET_PROTOCOL_VERSION is unchanged by this slice). Deleting either would orphan a running deployment or the SDK's own target.",
31
+ "SURFACE DELTA vs alpha.3, measured by hashing every validator's compiledCode either side (never read from upstream's changelog): 28 → 34 handlers, 11 → 12 distinct validators. ADDED: `issuance_logic` (4 params: programmable_logic_base credential, registry_node_cs, params_policy, max_inline_datum_bytes; withdraw + publish). CHANGED (compiledCode differs): `issuance_mint` (arity 4 → 2: `minting_logic_cred, params_policy` — the registry proof and custody checks that used to live here move to `issuance_logic`, and the per-token policy becomes permanent), `protocol_params` (arity unchanged, but the params datum widens 4 → 6 fields and the spend redeemer becomes the 3-arm `ProtocolParamsRedeemer`), `upgrade_multisig` (arity 2 → 1: `utxo_ref`, and it gains mint/spend/publish handlers on top of withdraw). UNCHANGED bytes (compiledCode identical either side): `always_fail`, `issuance_cbor_hex_mint`, `programmable_logic_base`, `programmable_logic_global`, `registry`, `third_party`, `transfer`, `unfracking` — verified by hashing, not assumed from the title surviving.",
32
+ "⚠ THE PARAMS-DATUM FIELD-ORDER HAZARD: field index 1 was `transfer_cred` in alpha.3; in alpha.4 the SAME index holds `issuance_logic_cred`. Both are `Credential`, so a positional reader built against the alpha.3 shape decodes without error and reads the wrong value. `pending_upgrade_cred: Option<Credential>` is appended at index 5, new in alpha.4. A future migration must read this datum by name, never positionally.",
33
+ "DERIVED: because the pin is keyed to a commit on a moving branch, re-running `aiken build` against `main` at a LATER date will legitimately produce a different artifact. That is not drift in this pin — it is a new pin. Do not update this file's sha256 to make a newer build pass; add a new directory."
34
+ ]
35
+ }
36
+ }