@kaspacom/kcc20-tx-builder 0.8.0-fee.3 → 0.8.0-fee.5
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/CHANGELOG.md +11 -0
- package/RELEASING.md +13 -2
- package/artifacts/KCC20FeePolicyV1.manifest.json +4 -4
- package/artifacts/KCC20WrapperFeeArgentV1.placeholder.json +1816 -360
- package/artifacts/KCC20WrapperFeeV1.placeholder.json +1818 -362
- package/dist/artifacts.d.ts +5 -5
- package/dist/artifacts.js +5 -5
- package/dist/cjs/artifacts.d.ts +5 -5
- package/dist/cjs/artifacts.js +5 -5
- package/dist/cjs/engine.js +2782 -1
- package/dist/cjs/engine.js.map +1 -1
- package/dist/cjs/escrow-market-artifacts.d.ts +90 -0
- package/dist/cjs/escrow-market-artifacts.js +128 -0
- package/dist/cjs/escrow-market-artifacts.js.map +1 -0
- package/dist/cjs/escrow-market-setup.d.ts +429 -0
- package/dist/cjs/escrow-market-setup.js +140 -0
- package/dist/cjs/escrow-market-setup.js.map +1 -0
- package/dist/cjs/index.d.ts +2 -0
- package/dist/cjs/index.js +2 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/operations.d.ts +1 -1
- package/dist/cjs/operations.js +12 -0
- package/dist/cjs/operations.js.map +1 -1
- package/dist/cjs/sale-common.d.ts +1 -1
- package/dist/engine.d.ts.map +1 -1
- package/dist/engine.js +2782 -1
- package/dist/engine.js.map +1 -1
- package/dist/escrow-market-artifacts.d.ts +91 -0
- package/dist/escrow-market-artifacts.d.ts.map +1 -0
- package/dist/escrow-market-artifacts.js +124 -0
- package/dist/escrow-market-artifacts.js.map +1 -0
- package/dist/escrow-market-setup.d.ts +430 -0
- package/dist/escrow-market-setup.d.ts.map +1 -0
- package/dist/escrow-market-setup.js +133 -0
- package/dist/escrow-market-setup.js.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/operations.d.ts +1 -1
- package/dist/operations.d.ts.map +1 -1
- package/dist/operations.js +12 -0
- package/dist/operations.js.map +1 -1
- package/dist/sale-common.d.ts +1 -1
- package/docs/COMPATIBILITY.json +1 -1
- package/docs/escrow-fees.md +3 -1
- package/package.json +3 -3
- package/src/artifacts.ts +5 -5
- package/src/engine.ts +3165 -165
- package/src/escrow-market-artifacts.ts +129 -0
- package/src/escrow-market-setup.ts +182 -0
- package/src/index.ts +2 -0
- package/src/operations.ts +12 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.8.0-fee.5
|
|
4
|
+
|
|
5
|
+
- Add signed fee-market setup, wrap, unwrap, orders, fills, two-ask buyer groups, seller sweeps, holder consolidation, claims and account rotation.
|
|
6
|
+
- Check live covenant inputs and fixed market policy before signing. Carry reusable creator consent and the authenticated token holder extension in creator-fee wraps.
|
|
7
|
+
- Keep legacy and snapshot builders available. New fee-market creation remains disabled in the application.
|
|
8
|
+
|
|
9
|
+
## 0.8.0-fee.4
|
|
10
|
+
|
|
11
|
+
- Require the fee-account owner key to match the connected Schnorr funding wallet for creation and binding.
|
|
12
|
+
- Exclude the account source outpoint from binding funding and reject duplicate inputs.
|
|
13
|
+
|
|
3
14
|
## 0.8.0-fee.3
|
|
4
15
|
|
|
5
16
|
- Build wallet-signable fee-account genesis and one-time market binding PSKTs from the pinned escrow artifact.
|
package/RELEASING.md
CHANGED
|
@@ -95,9 +95,20 @@ consumer deployment. Record any unverified operation families explicitly.
|
|
|
95
95
|
|
|
96
96
|
## Fee integration prerelease
|
|
97
97
|
|
|
98
|
-
Version `0.8.0-fee.
|
|
98
|
+
Version `0.8.0-fee.5` adds signed fee-market setup, trade, claim, rotation,
|
|
99
|
+
wrap and unwrap builders. A funded DEV TN10 0% market completed setup,
|
|
100
|
+
wrap, trade, protocol claim, cancel and unwrap. A funded 1% market completed
|
|
101
|
+
setup, creator-consent wrap, trade and protocol-first independent claims.
|
|
102
|
+
The conservative 450,000 transient-mass target is exceeded by some signed
|
|
103
|
+
order and fill shapes even though the pinned TN10 node accepted them.
|
|
104
|
+
Grouped ticket trades, creator-first claims, recipient-covenant approval,
|
|
105
|
+
historical parity and frontend wallet journeys remain release gates for
|
|
106
|
+
market enablement.
|
|
107
|
+
|
|
108
|
+
Version `0.8.0-fee.4` adds fee-account creation and binding PSKTs for DEV
|
|
99
109
|
integration. Run the existing snapshot and example tests against the pinned
|
|
100
|
-
WASM before publishing it under `next`. This
|
|
110
|
+
WASM before publishing it under `next`. This version fixes fee.3's owner and
|
|
111
|
+
funding-source checks. This prerelease does not build
|
|
101
112
|
fee-market trades, claims or authority rotation. Funded fee-market journeys and
|
|
102
113
|
signed settlement construction remain required before enabling markets or
|
|
103
114
|
promoting a stable fee release.
|
|
@@ -70,17 +70,17 @@
|
|
|
70
70
|
},
|
|
71
71
|
"wrapper": {
|
|
72
72
|
"source": "contracts/kcc20-wrapper-fee-v1.sil",
|
|
73
|
-
"sourceSha256": "
|
|
73
|
+
"sourceSha256": "19baef1fc0c3bbf13252afe1113e0227c1d7c123a1e0a82a919e24ae4f0ed10d",
|
|
74
74
|
"walletArtifact": "vendor/kcc20-wrapper-fee-v1/KCC20WrapperFeeV1.placeholder.json",
|
|
75
75
|
"decoderFixture": "crates/tn12-indexer-decoder/fixtures/kcc20-wrapper-fee-v1/KCC20WrapperFeeV1.placeholder.json",
|
|
76
|
-
"artifactSha256": "
|
|
76
|
+
"artifactSha256": "345cbefc8f870b2daa408e2608c4fcf50d27d9f5ebb505439ee22092715f0007"
|
|
77
77
|
},
|
|
78
78
|
"argentWrapper": {
|
|
79
79
|
"source": "contracts/kcc20-wrapper-fee-argent-v1.sil",
|
|
80
|
-
"sourceSha256": "
|
|
80
|
+
"sourceSha256": "28ca40eb53296025f2b07231bd74ff693999cb10386f967aef534066553d5c54",
|
|
81
81
|
"walletArtifact": "vendor/kcc20-wrapper-fee-argent-v1/KCC20WrapperFeeArgentV1.placeholder.json",
|
|
82
82
|
"decoderFixture": "crates/tn12-indexer-decoder/fixtures/kcc20-wrapper-fee-argent-v1/KCC20WrapperFeeArgentV1.placeholder.json",
|
|
83
|
-
"artifactSha256": "
|
|
83
|
+
"artifactSha256": "d14cdd05f9522b393e9b5e674a4645cf6b51f8831a5bb370882eb0e9a2f8d4b0"
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
86
|
}
|