@kaspacom/kcc20-tx-builder 0.8.0-fee.4 → 0.8.0-fee.6

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 (52) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/RELEASING.md +16 -0
  3. package/artifacts/KCC20FeePolicyV1.manifest.json +4 -4
  4. package/artifacts/KCC20WrapperFeeArgentV1.placeholder.json +1816 -360
  5. package/artifacts/KCC20WrapperFeeV1.placeholder.json +1818 -362
  6. package/dist/artifacts.d.ts +5 -5
  7. package/dist/artifacts.js +5 -5
  8. package/dist/cjs/artifacts.d.ts +5 -5
  9. package/dist/cjs/artifacts.js +5 -5
  10. package/dist/cjs/engine.js +2770 -0
  11. package/dist/cjs/engine.js.map +1 -1
  12. package/dist/cjs/escrow-market-artifacts.d.ts +90 -0
  13. package/dist/cjs/escrow-market-artifacts.js +128 -0
  14. package/dist/cjs/escrow-market-artifacts.js.map +1 -0
  15. package/dist/cjs/escrow-market-setup.d.ts +429 -0
  16. package/dist/cjs/escrow-market-setup.js +140 -0
  17. package/dist/cjs/escrow-market-setup.js.map +1 -0
  18. package/dist/cjs/index.d.ts +2 -0
  19. package/dist/cjs/index.js +2 -0
  20. package/dist/cjs/index.js.map +1 -1
  21. package/dist/cjs/operations.d.ts +1 -1
  22. package/dist/cjs/operations.js +14 -0
  23. package/dist/cjs/operations.js.map +1 -1
  24. package/dist/cjs/sale-common.d.ts +1 -1
  25. package/dist/engine.d.ts.map +1 -1
  26. package/dist/engine.js +2770 -0
  27. package/dist/engine.js.map +1 -1
  28. package/dist/escrow-market-artifacts.d.ts +91 -0
  29. package/dist/escrow-market-artifacts.d.ts.map +1 -0
  30. package/dist/escrow-market-artifacts.js +124 -0
  31. package/dist/escrow-market-artifacts.js.map +1 -0
  32. package/dist/escrow-market-setup.d.ts +430 -0
  33. package/dist/escrow-market-setup.d.ts.map +1 -0
  34. package/dist/escrow-market-setup.js +133 -0
  35. package/dist/escrow-market-setup.js.map +1 -0
  36. package/dist/index.d.ts +2 -0
  37. package/dist/index.d.ts.map +1 -1
  38. package/dist/index.js +2 -0
  39. package/dist/index.js.map +1 -1
  40. package/dist/operations.d.ts +1 -1
  41. package/dist/operations.d.ts.map +1 -1
  42. package/dist/operations.js +14 -0
  43. package/dist/operations.js.map +1 -1
  44. package/dist/sale-common.d.ts +1 -1
  45. package/docs/COMPATIBILITY.json +1 -1
  46. package/package.json +3 -3
  47. package/src/artifacts.ts +5 -5
  48. package/src/engine.ts +2986 -0
  49. package/src/escrow-market-artifacts.ts +129 -0
  50. package/src/escrow-market-setup.ts +182 -0
  51. package/src/index.ts +2 -0
  52. package/src/operations.ts +14 -0
@@ -15,8 +15,8 @@ export declare const KCC20_ARTIFACT_SCRIPT_SHA256: Readonly<{
15
15
  "KCC20OrderbookFeeHolderV1.placeholder.json": "0d3de762cd5528526bd99443b73bfd66eaba2ce252a8b7789022965b691bb8d8";
16
16
  "KCC20OrderbookFeeAskV1.placeholder.json": "a87e25c0c66d206bc31f33d79094f5b31177f1dd261804b071ad7bc3b3b6b8b5";
17
17
  "KCC20OrderbookFeeBidV1.placeholder.json": "9289b3b5fcd46f30af4f236c65f76f369bd856311319474d20e06c5ba919ea8f";
18
- "KCC20WrapperFeeV1.placeholder.json": "970562614f538fc6374a778b4ff2435309ffd234f67efc507d57f8d098ace093";
19
- "KCC20WrapperFeeArgentV1.placeholder.json": "069a592e3b5bab0ee1e34a694859d73ed5a665fafb9ffacadd54046e09c978cd";
18
+ "KCC20WrapperFeeV1.placeholder.json": "53338a33d4e57964ff76ffe2c95e25786995f7c1f96f9375b57bcac3c124d3ba";
19
+ "KCC20WrapperFeeArgentV1.placeholder.json": "b7ebdf13e66a10407c36e56a24f9f91a0db27602508eb2a297da613d1c43cdbd";
20
20
  }>;
21
21
  /** Raw file pins cover the ABI and dispatch tags as well as the script bytes. */
22
22
  export declare const KCC20_FEE_V1_ARTIFACT_SHA256: Readonly<{
@@ -26,10 +26,10 @@ export declare const KCC20_FEE_V1_ARTIFACT_SHA256: Readonly<{
26
26
  "KCC20OrderbookFeeHolderV1.placeholder.json": "1124365e746ebe108fe8e5a9a7d13ea351bba0768011fd3228567d35de0847d1";
27
27
  "KCC20OrderbookFeeAskV1.placeholder.json": "e2f04e79a64acf330ae45ad55bab61f92039c76d1c59e4d9b39d41b1c3296553";
28
28
  "KCC20OrderbookFeeBidV1.placeholder.json": "4a6150291bb9e459a4ca61609854af7063c5f7314e0f5c2438a7f462627d33d4";
29
- "KCC20WrapperFeeV1.placeholder.json": "ef8c1518209577f2c106a65ce267e95b129d62ec2220c72e49427ad92d84ad25";
30
- "KCC20WrapperFeeArgentV1.placeholder.json": "2a03ffa43c9951ac4d17b9ad6698c4c3528d292e2841db195f8a7385855ea578";
29
+ "KCC20WrapperFeeV1.placeholder.json": "345cbefc8f870b2daa408e2608c4fcf50d27d9f5ebb505439ee22092715f0007";
30
+ "KCC20WrapperFeeArgentV1.placeholder.json": "d14cdd05f9522b393e9b5e674a4645cf6b51f8831a5bb370882eb0e9a2f8d4b0";
31
31
  }>;
32
- export declare const KCC20_FEE_V1_POLICY_MANIFEST_SHA256 = "7a96c07521fee2eab1e032b7dc9ca4d220eaca9feb287e1f25da45b7c0a943d2";
32
+ export declare const KCC20_FEE_V1_POLICY_MANIFEST_SHA256 = "b2c41a428d0ef68cbcb37606ef569e8ec57d2aa3add9e0f78daccc3eba9ed80a";
33
33
  /**
34
34
  * Canonical raw artifact pins and structural metadata for signerless snapshot
35
35
  * migrations. Consumers must use these values instead of maintaining their
package/dist/artifacts.js CHANGED
@@ -16,8 +16,8 @@ export const KCC20_ARTIFACT_SCRIPT_SHA256 = Object.freeze({
16
16
  "KCC20OrderbookFeeHolderV1.placeholder.json": "0d3de762cd5528526bd99443b73bfd66eaba2ce252a8b7789022965b691bb8d8",
17
17
  "KCC20OrderbookFeeAskV1.placeholder.json": "a87e25c0c66d206bc31f33d79094f5b31177f1dd261804b071ad7bc3b3b6b8b5",
18
18
  "KCC20OrderbookFeeBidV1.placeholder.json": "9289b3b5fcd46f30af4f236c65f76f369bd856311319474d20e06c5ba919ea8f",
19
- "KCC20WrapperFeeV1.placeholder.json": "970562614f538fc6374a778b4ff2435309ffd234f67efc507d57f8d098ace093",
20
- "KCC20WrapperFeeArgentV1.placeholder.json": "069a592e3b5bab0ee1e34a694859d73ed5a665fafb9ffacadd54046e09c978cd",
19
+ "KCC20WrapperFeeV1.placeholder.json": "53338a33d4e57964ff76ffe2c95e25786995f7c1f96f9375b57bcac3c124d3ba",
20
+ "KCC20WrapperFeeArgentV1.placeholder.json": "b7ebdf13e66a10407c36e56a24f9f91a0db27602508eb2a297da613d1c43cdbd",
21
21
  });
22
22
  /** Raw file pins cover the ABI and dispatch tags as well as the script bytes. */
23
23
  export const KCC20_FEE_V1_ARTIFACT_SHA256 = Object.freeze({
@@ -27,10 +27,10 @@ export const KCC20_FEE_V1_ARTIFACT_SHA256 = Object.freeze({
27
27
  "KCC20OrderbookFeeHolderV1.placeholder.json": "1124365e746ebe108fe8e5a9a7d13ea351bba0768011fd3228567d35de0847d1",
28
28
  "KCC20OrderbookFeeAskV1.placeholder.json": "e2f04e79a64acf330ae45ad55bab61f92039c76d1c59e4d9b39d41b1c3296553",
29
29
  "KCC20OrderbookFeeBidV1.placeholder.json": "4a6150291bb9e459a4ca61609854af7063c5f7314e0f5c2438a7f462627d33d4",
30
- "KCC20WrapperFeeV1.placeholder.json": "ef8c1518209577f2c106a65ce267e95b129d62ec2220c72e49427ad92d84ad25",
31
- "KCC20WrapperFeeArgentV1.placeholder.json": "2a03ffa43c9951ac4d17b9ad6698c4c3528d292e2841db195f8a7385855ea578",
30
+ "KCC20WrapperFeeV1.placeholder.json": "345cbefc8f870b2daa408e2608c4fcf50d27d9f5ebb505439ee22092715f0007",
31
+ "KCC20WrapperFeeArgentV1.placeholder.json": "d14cdd05f9522b393e9b5e674a4645cf6b51f8831a5bb370882eb0e9a2f8d4b0",
32
32
  });
33
- export const KCC20_FEE_V1_POLICY_MANIFEST_SHA256 = "7a96c07521fee2eab1e032b7dc9ca4d220eaca9feb287e1f25da45b7c0a943d2";
33
+ export const KCC20_FEE_V1_POLICY_MANIFEST_SHA256 = "b2c41a428d0ef68cbcb37606ef569e8ec57d2aa3add9e0f78daccc3eba9ed80a";
34
34
  /**
35
35
  * Canonical raw artifact pins and structural metadata for signerless snapshot
36
36
  * migrations. Consumers must use these values instead of maintaining their
@@ -15,8 +15,8 @@ export declare const KCC20_ARTIFACT_SCRIPT_SHA256: Readonly<{
15
15
  "KCC20OrderbookFeeHolderV1.placeholder.json": "0d3de762cd5528526bd99443b73bfd66eaba2ce252a8b7789022965b691bb8d8";
16
16
  "KCC20OrderbookFeeAskV1.placeholder.json": "a87e25c0c66d206bc31f33d79094f5b31177f1dd261804b071ad7bc3b3b6b8b5";
17
17
  "KCC20OrderbookFeeBidV1.placeholder.json": "9289b3b5fcd46f30af4f236c65f76f369bd856311319474d20e06c5ba919ea8f";
18
- "KCC20WrapperFeeV1.placeholder.json": "970562614f538fc6374a778b4ff2435309ffd234f67efc507d57f8d098ace093";
19
- "KCC20WrapperFeeArgentV1.placeholder.json": "069a592e3b5bab0ee1e34a694859d73ed5a665fafb9ffacadd54046e09c978cd";
18
+ "KCC20WrapperFeeV1.placeholder.json": "53338a33d4e57964ff76ffe2c95e25786995f7c1f96f9375b57bcac3c124d3ba";
19
+ "KCC20WrapperFeeArgentV1.placeholder.json": "b7ebdf13e66a10407c36e56a24f9f91a0db27602508eb2a297da613d1c43cdbd";
20
20
  }>;
21
21
  /** Raw file pins cover the ABI and dispatch tags as well as the script bytes. */
22
22
  export declare const KCC20_FEE_V1_ARTIFACT_SHA256: Readonly<{
@@ -26,10 +26,10 @@ export declare const KCC20_FEE_V1_ARTIFACT_SHA256: Readonly<{
26
26
  "KCC20OrderbookFeeHolderV1.placeholder.json": "1124365e746ebe108fe8e5a9a7d13ea351bba0768011fd3228567d35de0847d1";
27
27
  "KCC20OrderbookFeeAskV1.placeholder.json": "e2f04e79a64acf330ae45ad55bab61f92039c76d1c59e4d9b39d41b1c3296553";
28
28
  "KCC20OrderbookFeeBidV1.placeholder.json": "4a6150291bb9e459a4ca61609854af7063c5f7314e0f5c2438a7f462627d33d4";
29
- "KCC20WrapperFeeV1.placeholder.json": "ef8c1518209577f2c106a65ce267e95b129d62ec2220c72e49427ad92d84ad25";
30
- "KCC20WrapperFeeArgentV1.placeholder.json": "2a03ffa43c9951ac4d17b9ad6698c4c3528d292e2841db195f8a7385855ea578";
29
+ "KCC20WrapperFeeV1.placeholder.json": "345cbefc8f870b2daa408e2608c4fcf50d27d9f5ebb505439ee22092715f0007";
30
+ "KCC20WrapperFeeArgentV1.placeholder.json": "d14cdd05f9522b393e9b5e674a4645cf6b51f8831a5bb370882eb0e9a2f8d4b0";
31
31
  }>;
32
- export declare const KCC20_FEE_V1_POLICY_MANIFEST_SHA256 = "7a96c07521fee2eab1e032b7dc9ca4d220eaca9feb287e1f25da45b7c0a943d2";
32
+ export declare const KCC20_FEE_V1_POLICY_MANIFEST_SHA256 = "b2c41a428d0ef68cbcb37606ef569e8ec57d2aa3add9e0f78daccc3eba9ed80a";
33
33
  /**
34
34
  * Canonical raw artifact pins and structural metadata for signerless snapshot
35
35
  * migrations. Consumers must use these values instead of maintaining their
@@ -23,8 +23,8 @@ exports.KCC20_ARTIFACT_SCRIPT_SHA256 = Object.freeze({
23
23
  "KCC20OrderbookFeeHolderV1.placeholder.json": "0d3de762cd5528526bd99443b73bfd66eaba2ce252a8b7789022965b691bb8d8",
24
24
  "KCC20OrderbookFeeAskV1.placeholder.json": "a87e25c0c66d206bc31f33d79094f5b31177f1dd261804b071ad7bc3b3b6b8b5",
25
25
  "KCC20OrderbookFeeBidV1.placeholder.json": "9289b3b5fcd46f30af4f236c65f76f369bd856311319474d20e06c5ba919ea8f",
26
- "KCC20WrapperFeeV1.placeholder.json": "970562614f538fc6374a778b4ff2435309ffd234f67efc507d57f8d098ace093",
27
- "KCC20WrapperFeeArgentV1.placeholder.json": "069a592e3b5bab0ee1e34a694859d73ed5a665fafb9ffacadd54046e09c978cd",
26
+ "KCC20WrapperFeeV1.placeholder.json": "53338a33d4e57964ff76ffe2c95e25786995f7c1f96f9375b57bcac3c124d3ba",
27
+ "KCC20WrapperFeeArgentV1.placeholder.json": "b7ebdf13e66a10407c36e56a24f9f91a0db27602508eb2a297da613d1c43cdbd",
28
28
  });
29
29
  /** Raw file pins cover the ABI and dispatch tags as well as the script bytes. */
30
30
  exports.KCC20_FEE_V1_ARTIFACT_SHA256 = Object.freeze({
@@ -34,10 +34,10 @@ exports.KCC20_FEE_V1_ARTIFACT_SHA256 = Object.freeze({
34
34
  "KCC20OrderbookFeeHolderV1.placeholder.json": "1124365e746ebe108fe8e5a9a7d13ea351bba0768011fd3228567d35de0847d1",
35
35
  "KCC20OrderbookFeeAskV1.placeholder.json": "e2f04e79a64acf330ae45ad55bab61f92039c76d1c59e4d9b39d41b1c3296553",
36
36
  "KCC20OrderbookFeeBidV1.placeholder.json": "4a6150291bb9e459a4ca61609854af7063c5f7314e0f5c2438a7f462627d33d4",
37
- "KCC20WrapperFeeV1.placeholder.json": "ef8c1518209577f2c106a65ce267e95b129d62ec2220c72e49427ad92d84ad25",
38
- "KCC20WrapperFeeArgentV1.placeholder.json": "2a03ffa43c9951ac4d17b9ad6698c4c3528d292e2841db195f8a7385855ea578",
37
+ "KCC20WrapperFeeV1.placeholder.json": "345cbefc8f870b2daa408e2608c4fcf50d27d9f5ebb505439ee22092715f0007",
38
+ "KCC20WrapperFeeArgentV1.placeholder.json": "d14cdd05f9522b393e9b5e674a4645cf6b51f8831a5bb370882eb0e9a2f8d4b0",
39
39
  });
40
- exports.KCC20_FEE_V1_POLICY_MANIFEST_SHA256 = "7a96c07521fee2eab1e032b7dc9ca4d220eaca9feb287e1f25da45b7c0a943d2";
40
+ exports.KCC20_FEE_V1_POLICY_MANIFEST_SHA256 = "b2c41a428d0ef68cbcb37606ef569e8ec57d2aa3add9e0f78daccc3eba9ed80a";
41
41
  /**
42
42
  * Canonical raw artifact pins and structural metadata for signerless snapshot
43
43
  * migrations. Consumers must use these values instead of maintaining their