@lumenwipe/verify 0.4.0 → 0.6.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.
- package/CHANGELOG.md +73 -1
- package/dist/index.cjs +287 -79
- package/dist/index.d.cts +8 -6
- package/dist/index.d.ts +8 -6
- package/dist/index.js +287 -79
- package/package.json +1 -1
- package/vectors/close-v1.json +463 -178
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,76 @@ release is cut.
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.6.0] - 2026-11-19
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- The `exit_arguments_unexpected` verification code.
|
|
15
|
+
|
|
16
|
+
### Changed
|
|
17
|
+
|
|
18
|
+
- `verify()` checks the arguments of a Phoenix `withdraw_liquidity`: the sender must be the
|
|
19
|
+
account being closed (`exit_argument_party_mismatch`), and there must be exactly the six
|
|
20
|
+
arguments every registered pool code takes, with integer amounts and the deadline and the
|
|
21
|
+
`auto_unstake` argument unset (`exit_arguments_unexpected`). The real testnet Phoenix
|
|
22
|
+
withdrawal vector is recaptured from the new testnet pool, so it is a six-argument call with a
|
|
23
|
+
new envelope, source and share token, and three vectors mutate it: without `auto_unstake`, with
|
|
24
|
+
an `auto_unstake`, and with another sender.
|
|
25
|
+
- The bundled contract registry lists two more mainnet Phoenix pools, both from the Phoenix
|
|
26
|
+
factory's own pool list. PHO/USDC `CCPPPTDW…` runs a later build of the v2 pool code, and its
|
|
27
|
+
stake contract `CBUS3GWD…` a build of the v2 stake code, so a withdrawal from that pool and an
|
|
28
|
+
`unbond` on that stake now pass. XLM/USDC `CBENABXP…` runs Phoenix's blended pool code under a
|
|
29
|
+
new version, `blended`. It has no stake contract of its own, so only its `withdraw_liquidity`
|
|
30
|
+
passes, and an `unbond` on it is still refused.
|
|
31
|
+
- The bundled contract registry's testnet Phoenix pool and stake are replaced: pool `CA4V7YVU…`
|
|
32
|
+
runs the mainnet v1 pool code and stake `CBYFZPJ2…` the mainnet v1 stake code, both version
|
|
33
|
+
`v1`, in place of `CCVEHSVG…` and `CCELNFRX…`, whose older pool build took a five-argument
|
|
34
|
+
`withdraw_liquidity`. The pool's tokens are a new test token `CBQP4F36…` and XLM, and its share
|
|
35
|
+
token is `CDZPFQQU…`. A withdrawal or `unbond` on the old testnet contracts is now refused.
|
|
36
|
+
|
|
37
|
+
- The bundled exchange and contract registries are re-verified and restamped: `lastVerified`
|
|
38
|
+
2026-11-17 and `validUntil` 2027-02-15. No entry is added, removed or re-pinned; contract
|
|
39
|
+
entries record the day their live code was re-read. The two vectors that run past the bundled
|
|
40
|
+
expiry now take their clock and snapshot dates from the bundled registry, so their
|
|
41
|
+
`nowSeconds`, descriptions and dates move with it; their names and expected results are
|
|
42
|
+
unchanged.
|
|
43
|
+
- The bundled contract registry's Phoenix stake entry `CDOXQONP…` records new evidence: its
|
|
44
|
+
`unbond` pays the token under its `NEWLP` storage key, which is its pool's share token, so its
|
|
45
|
+
`verifiedBy` and `verifiedAt` change. Its address, code hash and version are unchanged, and so
|
|
46
|
+
is verification.
|
|
47
|
+
|
|
48
|
+
## [0.5.0] - 2026-11-17
|
|
49
|
+
|
|
50
|
+
### Added
|
|
51
|
+
|
|
52
|
+
- The bundled contract registry module gains `exitCapableProtocols(network)`, which names the
|
|
53
|
+
protocols with at least one contract an exit may touch on that network, by the same rule the
|
|
54
|
+
verifier applies. It is not exported from the package entry point, and verification is
|
|
55
|
+
unchanged.
|
|
56
|
+
- The bundled contract registry module gains an internal export of the registry's
|
|
57
|
+
`lastVerified` and `validUntil` dates, and the bundled exchange registry module splits its
|
|
58
|
+
fetch-and-merge step out of the function that adopts the served copy. Neither is exported from
|
|
59
|
+
the package entry point, and verification and the bundled registry are unchanged.
|
|
60
|
+
|
|
61
|
+
### Changed
|
|
62
|
+
|
|
63
|
+
- The bundled contract registry re-pins the Aquarius testnet router and its constant-product,
|
|
64
|
+
stableswap and concentrated pool code after the upstream upgrade. The testnet pools now take
|
|
65
|
+
their code from a CAP-85 external reference, so their entries record the owner contract and tag
|
|
66
|
+
next to the hash, and the owner is registered as a new entry kind, `executable-owner`, which is
|
|
67
|
+
never treated as a contract a close may call. On testnet, `exitExpectations` lists the same
|
|
68
|
+
contract addresses as before. Mainnet entries are unchanged.
|
|
69
|
+
- The bundled contract registry (version `2026-11-16`) records each mainnet entry's provenance:
|
|
70
|
+
how its hash was verified (`verifiedBy`), where its address is published (`source`) and the day
|
|
71
|
+
it was last verified (`verifiedAt`). Testnet contracts LumenWipe deployed itself are marked
|
|
72
|
+
`ownDeployment`. No address, hash, version or `verifiedLive` value changed, and the contracts a
|
|
73
|
+
close may call, `validUntil` and verification are unchanged.
|
|
74
|
+
- The bundled contract registry (version `2026-11-17`) re-pins the mainnet xBull router
|
|
75
|
+
(`CCKXBE5GKJOCE7IKL64HLYKW3IJSUPVOLC4CS77GQT5QQHDZLDYV3DFT`) to the code it runs since its
|
|
76
|
+
upstream upgrade on 2026-11-16. The previous code is no longer recognized. The router's address,
|
|
77
|
+
its `strict_send` interface and the contracts a close may call are unchanged, and so is
|
|
78
|
+
verification.
|
|
79
|
+
|
|
10
80
|
## [0.4.0] - 2026-11-10
|
|
11
81
|
|
|
12
82
|
### Changed
|
|
@@ -102,7 +172,9 @@ The bundled exchange and contract registries are unchanged.
|
|
|
102
172
|
is optional, and a rejection may mutate the snapshot instead of, or with, the transaction.
|
|
103
173
|
- The package ships its `LICENSE` and this `CHANGELOG.md`.
|
|
104
174
|
|
|
105
|
-
[Unreleased]: https://github.com/LumenWipe/lumenwipe/compare/verify-v0.
|
|
175
|
+
[Unreleased]: https://github.com/LumenWipe/lumenwipe/compare/verify-v0.6.0...HEAD
|
|
176
|
+
[0.6.0]: https://github.com/LumenWipe/lumenwipe/compare/verify-v0.5.0...verify-v0.6.0
|
|
177
|
+
[0.5.0]: https://github.com/LumenWipe/lumenwipe/compare/verify-v0.4.0...verify-v0.5.0
|
|
106
178
|
[0.4.0]: https://github.com/LumenWipe/lumenwipe/compare/verify-v0.3.0...verify-v0.4.0
|
|
107
179
|
[0.3.0]: https://github.com/LumenWipe/lumenwipe/compare/verify-v0.2.0...verify-v0.3.0
|
|
108
180
|
[0.2.0]: https://github.com/LumenWipe/lumenwipe/compare/verify-v0.1.0...verify-v0.2.0
|