@lumenwipe/verify 0.3.0 → 0.4.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 +25 -1
- package/README.md +14 -5
- package/dist/index.cjs +54 -28
- package/dist/index.d.cts +13 -4
- package/dist/index.d.ts +13 -4
- package/dist/index.js +54 -28
- package/package.json +1 -1
- package/vectors/close-v1.json +373 -0
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,29 @@ release is cut.
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.4.0] - 2026-11-10
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- **Breaking:** `requiresMediator(address)` is now `requiresMediator(address, network)`. The
|
|
15
|
+
network is required: a call without it is a type error, and the answer is for that network
|
|
16
|
+
only. Pass the network the close runs on, the same value you pass `verifyCloseTransaction`.
|
|
17
|
+
|
|
18
|
+
### Added
|
|
19
|
+
|
|
20
|
+
- An exchange registry entry may carry `network: "testnet"` (`ExchangeRegistryEntry.network`).
|
|
21
|
+
Such an entry applies on testnet only. On mainnet its address is not listed: `requiresMediator`
|
|
22
|
+
answers false, and `verifyCloseTransaction` checks a close to it as a close to a plain wallet,
|
|
23
|
+
so the mediated hand-off to it is refused. A served snapshot cannot change the network a
|
|
24
|
+
bundled entry applies on, and an entry it adds with any other `network` value is dropped.
|
|
25
|
+
- The bundled exchange registry gains one testnet-only entry, "LumenWipe testnet exchange"
|
|
26
|
+
(`GB4VXLVR2DDIJUPVVY74QVPEIHINBMMXO6WUY67JUEYO42LQSDS5IMKW`), which needs the intermediary and
|
|
27
|
+
an id memo. The mainnet entries are unchanged.
|
|
28
|
+
- Three vectors in `vectors/close-v1.json`: `testnet-stand-in-close-through-intermediary`,
|
|
29
|
+
accepted on testnet; `testnet-stand-in-is-a-wallet-on-mainnet`, accepted on mainnet; and its
|
|
30
|
+
rejected mutation `testnet-stand-in-through-intermediary-on-mainnet`. These are the first
|
|
31
|
+
vectors whose `input.network` is `mainnet`.
|
|
32
|
+
|
|
10
33
|
## [0.3.0] - 2026-11-10
|
|
11
34
|
|
|
12
35
|
### Added
|
|
@@ -79,7 +102,8 @@ The bundled exchange and contract registries are unchanged.
|
|
|
79
102
|
is optional, and a rejection may mutate the snapshot instead of, or with, the transaction.
|
|
80
103
|
- The package ships its `LICENSE` and this `CHANGELOG.md`.
|
|
81
104
|
|
|
82
|
-
[Unreleased]: https://github.com/LumenWipe/lumenwipe/compare/verify-v0.
|
|
105
|
+
[Unreleased]: https://github.com/LumenWipe/lumenwipe/compare/verify-v0.4.0...HEAD
|
|
106
|
+
[0.4.0]: https://github.com/LumenWipe/lumenwipe/compare/verify-v0.3.0...verify-v0.4.0
|
|
83
107
|
[0.3.0]: https://github.com/LumenWipe/lumenwipe/compare/verify-v0.2.0...verify-v0.3.0
|
|
84
108
|
[0.2.0]: https://github.com/LumenWipe/lumenwipe/compare/verify-v0.1.0...verify-v0.2.0
|
|
85
109
|
[0.1.0]: https://github.com/LumenWipe/lumenwipe/tree/verify-v0.1.0
|
package/README.md
CHANGED
|
@@ -76,10 +76,16 @@ whether the merge must go through the shared intermediary are not inputs. The ve
|
|
|
76
76
|
them from the exchange registry bundled in this package, tightened by `servedRegistry` when you
|
|
77
77
|
pass one.
|
|
78
78
|
|
|
79
|
-
`requiresMediator(address)` exposes that same decision. An exchange close is one
|
|
80
|
-
holding the merge into the intermediary and the intermediary's forward, which the API
|
|
81
|
-
(`mediatorSign`). Decide whether to ask for that co-signature with
|
|
82
|
-
on the address the user typed
|
|
79
|
+
`requiresMediator(address, network)` exposes that same decision. An exchange close is one
|
|
80
|
+
transaction holding the merge into the intermediary and the intermediary's forward, which the API
|
|
81
|
+
co-signs (`mediatorSign`). Decide whether to ask for that co-signature with
|
|
82
|
+
`requiresMediator(destination, network)` on the address the user typed and the network the close
|
|
83
|
+
runs on, never from the API's response.
|
|
84
|
+
|
|
85
|
+
A registry entry may carry `"network": "testnet"`. Such an entry applies on testnet only: on
|
|
86
|
+
mainnet its address is not listed, so `requiresMediator` answers false there and the verifier
|
|
87
|
+
checks a close to it as a close to a plain wallet. An entry without the field applies on every
|
|
88
|
+
network.
|
|
83
89
|
|
|
84
90
|
## The bundled registries
|
|
85
91
|
|
|
@@ -103,8 +109,11 @@ because it can only make verification stricter:
|
|
|
103
109
|
intermediary refuses both a direct merge and the hand-off until you upgrade. Accepting the
|
|
104
110
|
hand-off on served data would let the API, which also builds the transaction and reports the
|
|
105
111
|
balance the forward is checked against, choose which closes go through an intermediary.
|
|
112
|
+
- It never changes the network a bundled exchange applies on: a testnet-only entry stays
|
|
113
|
+
unlisted on mainnet, and an entry listed on every network stays listed on both. An address it
|
|
114
|
+
adds with `"network": "testnet"` applies on testnet only.
|
|
106
115
|
- Its `validUntil` may move the bundled expiry later, by at most 120 days, and never earlier.
|
|
107
|
-
- An entry that is not well formed is dropped. A snapshot that is not a registry at all (no
|
|
116
|
+
- An entry that is not well formed (a `network` other than `"testnet"` included) is dropped. A snapshot that is not a registry at all (no
|
|
108
117
|
`entries` list, or no `lastVerified` or `validUntil` string) is refused with
|
|
109
118
|
`registry_snapshot_invalid` rather than ignored.
|
|
110
119
|
|
package/dist/index.cjs
CHANGED
|
@@ -172,18 +172,36 @@ var exchange_registry_default = {
|
|
|
172
172
|
requiresMediator: true,
|
|
173
173
|
requiresMemo: true,
|
|
174
174
|
memoType: "text"
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
address: "GB4VXLVR2DDIJUPVVY74QVPEIHINBMMXO6WUY67JUEYO42LQSDS5IMKW",
|
|
178
|
+
name: "LumenWipe testnet exchange",
|
|
179
|
+
domain: "lumenwipe.com",
|
|
180
|
+
requiresMediator: true,
|
|
181
|
+
requiresMemo: true,
|
|
182
|
+
memoType: "id",
|
|
183
|
+
network: "testnet"
|
|
175
184
|
}
|
|
176
185
|
]
|
|
177
186
|
};
|
|
178
187
|
|
|
179
188
|
// ../../apps/web/lib/exchange-registry/merge.ts
|
|
189
|
+
function appliesOn(entry, network) {
|
|
190
|
+
return entry.network === void 0 || entry.network === network;
|
|
191
|
+
}
|
|
180
192
|
function isUsableEntry(e) {
|
|
181
193
|
if (typeof e !== "object" || e === null) return false;
|
|
182
194
|
const r = e;
|
|
183
|
-
return typeof r.address === "string" && r.address.startsWith("G") && r.address.length === 56 && typeof r.name === "string" && typeof r.requiresMediator === "boolean" && typeof r.requiresMemo === "boolean" && (r.memoType === "text" || r.memoType === "id" || r.memoType === "hash");
|
|
195
|
+
return typeof r.address === "string" && r.address.startsWith("G") && r.address.length === 56 && typeof r.name === "string" && typeof r.requiresMediator === "boolean" && typeof r.requiresMemo === "boolean" && (r.memoType === "text" || r.memoType === "id" || r.memoType === "hash") && (!("network" in r) || r.network === "testnet");
|
|
196
|
+
}
|
|
197
|
+
function bundledEntries(raw) {
|
|
198
|
+
if (!Array.isArray(raw)) throw new Error("The bundled exchange registry has no entries list.");
|
|
199
|
+
const bad = raw.findIndex((e) => !isUsableEntry(e));
|
|
200
|
+
if (bad !== -1) throw new Error(`The bundled exchange registry entry ${bad} is malformed.`);
|
|
201
|
+
return raw;
|
|
184
202
|
}
|
|
185
203
|
function tightenedOver(embeddedEntry, servedEntry) {
|
|
186
|
-
|
|
204
|
+
const tightened = {
|
|
187
205
|
...servedEntry,
|
|
188
206
|
requiresMemo: embeddedEntry.requiresMemo || servedEntry.requiresMemo,
|
|
189
207
|
requiresMediator: embeddedEntry.requiresMediator || servedEntry.requiresMediator,
|
|
@@ -192,6 +210,9 @@ function tightenedOver(embeddedEntry, servedEntry) {
|
|
|
192
210
|
// (`mergeServedRegistry`) and the close is refused until the bundled copy is updated.
|
|
193
211
|
memoType: embeddedEntry.memoType
|
|
194
212
|
};
|
|
213
|
+
if (embeddedEntry.network === void 0) delete tightened.network;
|
|
214
|
+
else tightened.network = embeddedEntry.network;
|
|
215
|
+
return tightened;
|
|
195
216
|
}
|
|
196
217
|
var MAX_EXTENSION_DAYS = 120;
|
|
197
218
|
function boundedValidUntil(embeddedUntil, servedUntil) {
|
|
@@ -234,15 +255,12 @@ function isUsableAt(validUntil, now) {
|
|
|
234
255
|
}
|
|
235
256
|
|
|
236
257
|
// ../../apps/web/lib/exchange-registry/index.ts
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
};
|
|
244
|
-
}
|
|
245
|
-
var EMBEDDED = snapshotFrom(exchange_registry_default, false);
|
|
258
|
+
var EMBEDDED = {
|
|
259
|
+
entries: bundledEntries(exchange_registry_default.entries),
|
|
260
|
+
lastVerified: exchange_registry_default.lastVerified,
|
|
261
|
+
validUntil: exchange_registry_default.validUntil,
|
|
262
|
+
served: false
|
|
263
|
+
};
|
|
246
264
|
var current = EMBEDDED;
|
|
247
265
|
function bundledRegistry() {
|
|
248
266
|
return EMBEDDED;
|
|
@@ -250,14 +268,17 @@ function bundledRegistry() {
|
|
|
250
268
|
function isRegistryUsable(now = /* @__PURE__ */ new Date()) {
|
|
251
269
|
return isUsableAt(current.validUntil, now);
|
|
252
270
|
}
|
|
253
|
-
function byAddress() {
|
|
254
|
-
return new Map(current.entries.map((e) => [e.address, e]));
|
|
271
|
+
function byAddress(network) {
|
|
272
|
+
return new Map(current.entries.filter((e) => appliesOn(e, network)).map((e) => [e.address, e]));
|
|
273
|
+
}
|
|
274
|
+
function lookupExchange(address, network) {
|
|
275
|
+
return byAddress(network).get(address) ?? null;
|
|
255
276
|
}
|
|
256
|
-
function
|
|
257
|
-
return
|
|
277
|
+
function bundledExchange(address, network) {
|
|
278
|
+
return EMBEDDED.entries.find((e) => e.address === address && appliesOn(e, network)) ?? null;
|
|
258
279
|
}
|
|
259
|
-
function mediatorAllowedFor(address) {
|
|
260
|
-
return
|
|
280
|
+
function mediatorAllowedFor(address, network) {
|
|
281
|
+
return bundledExchange(address, network)?.requiresMediator === true;
|
|
261
282
|
}
|
|
262
283
|
function memoTypeInDispute(address) {
|
|
263
284
|
return current.memoTypeDisputes?.includes(address) ?? false;
|
|
@@ -1455,9 +1476,13 @@ function depositAddressesOf(transfers, lookup) {
|
|
|
1455
1476
|
}
|
|
1456
1477
|
return listed;
|
|
1457
1478
|
}
|
|
1458
|
-
function registryView(served) {
|
|
1479
|
+
function registryView(served, network) {
|
|
1459
1480
|
if (served === void 0) {
|
|
1460
|
-
return {
|
|
1481
|
+
return {
|
|
1482
|
+
lookup: (address) => lookupExchange(address, network),
|
|
1483
|
+
usable: () => isRegistryUsable(),
|
|
1484
|
+
memoTypeInDispute
|
|
1485
|
+
};
|
|
1461
1486
|
}
|
|
1462
1487
|
const merged = mergeServedRegistry(bundledRegistry(), served);
|
|
1463
1488
|
if (merged === null) {
|
|
@@ -1466,7 +1491,9 @@ function registryView(served) {
|
|
|
1466
1491
|
"The exchange registry passed to the verifier is not a registry (it needs an entries list, lastVerified and validUntil), so this close cannot be checked against it."
|
|
1467
1492
|
);
|
|
1468
1493
|
}
|
|
1469
|
-
const byAddress2 = new Map(
|
|
1494
|
+
const byAddress2 = new Map(
|
|
1495
|
+
merged.entries.filter((e) => appliesOn(e, network)).map((e) => [e.address, e])
|
|
1496
|
+
);
|
|
1470
1497
|
const disputes = new Set(merged.memoTypeDisputes);
|
|
1471
1498
|
return {
|
|
1472
1499
|
lookup: (address) => byAddress2.get(address) ?? null,
|
|
@@ -1474,15 +1501,14 @@ function registryView(served) {
|
|
|
1474
1501
|
memoTypeInDispute: (address) => disputes.has(address)
|
|
1475
1502
|
};
|
|
1476
1503
|
}
|
|
1477
|
-
function listedMemoType(exchange, registry, expected) {
|
|
1504
|
+
function listedMemoType(exchange, registry, network, expected) {
|
|
1478
1505
|
if (registry.memoTypeInDispute(expected.destination)) {
|
|
1479
1506
|
throw new VerificationError(
|
|
1480
1507
|
"registry_memo_type_conflict",
|
|
1481
1508
|
`The served exchange registry gives ${exchange.name} a different memo type than the bundled one, so the memo this close needs cannot be checked.`
|
|
1482
1509
|
);
|
|
1483
1510
|
}
|
|
1484
|
-
|
|
1485
|
-
if (bundled) return exchange.memoType;
|
|
1511
|
+
if (bundledExchange(expected.destination, network) !== null) return exchange.memoType;
|
|
1486
1512
|
if (expected.memo !== null && expected.memoType !== null && expected.memoType !== exchange.memoType) {
|
|
1487
1513
|
throw new VerificationError(
|
|
1488
1514
|
"registry_memo_type_unconfirmed",
|
|
@@ -1493,7 +1519,7 @@ function listedMemoType(exchange, registry, expected) {
|
|
|
1493
1519
|
}
|
|
1494
1520
|
function verifyCloseTransaction(opts) {
|
|
1495
1521
|
const intent = intentFromXdr(opts.unsignedXdr, NETWORK_PASSPHRASES[opts.network]);
|
|
1496
|
-
const registry = registryView(opts.servedRegistry);
|
|
1522
|
+
const registry = registryView(opts.servedRegistry, opts.network);
|
|
1497
1523
|
const exchange = registry.lookup(opts.expected.destination);
|
|
1498
1524
|
if (exchange !== null && !registry.usable()) {
|
|
1499
1525
|
throw new VerificationError(
|
|
@@ -1508,10 +1534,10 @@ function verifyCloseTransaction(opts) {
|
|
|
1508
1534
|
registry.lookup
|
|
1509
1535
|
),
|
|
1510
1536
|
// From the bundled copy alone, whatever was served: see `registryView`.
|
|
1511
|
-
mediatorRequired: mediatorAllowedFor(opts.expected.destination),
|
|
1537
|
+
mediatorRequired: mediatorAllowedFor(opts.expected.destination, opts.network),
|
|
1512
1538
|
directMergeRefused: exchange?.requiresMediator ?? false,
|
|
1513
1539
|
memoRequired: exchange?.requiresMemo ?? false,
|
|
1514
|
-
memoType: exchange === null ? opts.expected.memoType : listedMemoType(exchange, registry, opts.expected),
|
|
1540
|
+
memoType: exchange === null ? opts.expected.memoType : listedMemoType(exchange, registry, opts.network, opts.expected),
|
|
1515
1541
|
nowSeconds: Math.floor(Date.now() / 1e3),
|
|
1516
1542
|
preAuthorized: opts.preAuthorized === true
|
|
1517
1543
|
});
|
|
@@ -2468,8 +2494,8 @@ function verifyCloseTransaction2(input) {
|
|
|
2468
2494
|
function exitExpectations2(accountState, network) {
|
|
2469
2495
|
return exitExpectations(accountState, network);
|
|
2470
2496
|
}
|
|
2471
|
-
function requiresMediator(address) {
|
|
2472
|
-
return mediatorAllowedFor(address);
|
|
2497
|
+
function requiresMediator(address, network) {
|
|
2498
|
+
return mediatorAllowedFor(address, network);
|
|
2473
2499
|
}
|
|
2474
2500
|
function verifyRevokeAllowanceTransaction2(unsignedXdr, networkPassphrase, expected, nowSeconds) {
|
|
2475
2501
|
verifyRevokeAllowanceTransaction(unsignedXdr, networkPassphrase, expected, nowSeconds);
|
package/dist/index.d.cts
CHANGED
|
@@ -325,6 +325,8 @@ export declare interface ExchangeRegistryEntry {
|
|
|
325
325
|
requiresMemo: boolean;
|
|
326
326
|
/** The required memo type, if `requiresMemo` is true. */
|
|
327
327
|
memoType: "text" | "id" | "hash";
|
|
328
|
+
/** Present only on an entry scoped to testnet. Absent means the entry applies on every network. */
|
|
329
|
+
network?: "testnet";
|
|
328
330
|
}
|
|
329
331
|
|
|
330
332
|
/**
|
|
@@ -412,6 +414,9 @@ declare interface PhoenixStakePosition extends DefiPositionBase {
|
|
|
412
414
|
stakedAmount: string;
|
|
413
415
|
/** Unix seconds; unbonding requires the original stake's timestamp (architecture.md §9.6). */
|
|
414
416
|
stakedAtEpoch: string;
|
|
417
|
+
/** The pool's LP share token (`CONFIG.share_token`): unbonding returns the shares to it, and the
|
|
418
|
+
* withdrawal that follows transfers them back to the pool. Read from the pool. */
|
|
419
|
+
shareToken?: string;
|
|
415
420
|
}
|
|
416
421
|
|
|
417
422
|
declare interface PlanBlocker {
|
|
@@ -427,13 +432,14 @@ declare interface PoolShareEntry {
|
|
|
427
432
|
}
|
|
428
433
|
|
|
429
434
|
/**
|
|
430
|
-
* Whether a close to `address` goes through the shared intermediary: true only for
|
|
431
|
-
* the registry bundled in this package lists as unable to receive
|
|
432
|
-
*
|
|
435
|
+
* Whether a close to `address` on `network` goes through the shared intermediary: true only for
|
|
436
|
+
* an exchange the registry bundled in this package lists, on that network, as unable to receive
|
|
437
|
+
* an account merge. An entry scoped to testnet never answers true on mainnet. The same rule
|
|
438
|
+
* `verifyCloseTransaction` applies, so an integrator decides from it, never from the API's
|
|
433
439
|
* response, whether a transaction needs the intermediary's co-signature. A served snapshot never
|
|
434
440
|
* changes this answer, so it takes none.
|
|
435
441
|
*/
|
|
436
|
-
export declare function requiresMediator(address: string): boolean;
|
|
442
|
+
export declare function requiresMediator(address: string, network: Network): boolean;
|
|
437
443
|
|
|
438
444
|
/**
|
|
439
445
|
* Every reason the revocation anchor refuses a transaction, one stable code each, in the order the
|
|
@@ -483,6 +489,9 @@ export declare type RevokeAllowanceVerificationErrorCode = (typeof REVOKE_ALLOWA
|
|
|
483
489
|
* - It never enables the mediated hand-off. That stays limited to the exchanges the bundled
|
|
484
490
|
* registry lists ({@link requiresMediator}), so an address only the snapshot lists as needing
|
|
485
491
|
* the intermediary refuses both shapes until this package is updated.
|
|
492
|
+
* - It never changes the network a bundled exchange applies on: a testnet-only entry stays
|
|
493
|
+
* unlisted on mainnet, and an entry listed on every network stays listed on both. An entry it
|
|
494
|
+
* adds with `network: "testnet"` applies on testnet only; any other `network` value drops it.
|
|
486
495
|
* - Its `validUntil` may move the bundled expiry later, by at most 120 days, never earlier.
|
|
487
496
|
* - It never decides a memo type. A different type for a bundled exchange is refused with
|
|
488
497
|
* `registry_memo_type_conflict`, and a type for an address it adds that differs from the one
|
package/dist/index.d.ts
CHANGED
|
@@ -325,6 +325,8 @@ export declare interface ExchangeRegistryEntry {
|
|
|
325
325
|
requiresMemo: boolean;
|
|
326
326
|
/** The required memo type, if `requiresMemo` is true. */
|
|
327
327
|
memoType: "text" | "id" | "hash";
|
|
328
|
+
/** Present only on an entry scoped to testnet. Absent means the entry applies on every network. */
|
|
329
|
+
network?: "testnet";
|
|
328
330
|
}
|
|
329
331
|
|
|
330
332
|
/**
|
|
@@ -412,6 +414,9 @@ declare interface PhoenixStakePosition extends DefiPositionBase {
|
|
|
412
414
|
stakedAmount: string;
|
|
413
415
|
/** Unix seconds; unbonding requires the original stake's timestamp (architecture.md §9.6). */
|
|
414
416
|
stakedAtEpoch: string;
|
|
417
|
+
/** The pool's LP share token (`CONFIG.share_token`): unbonding returns the shares to it, and the
|
|
418
|
+
* withdrawal that follows transfers them back to the pool. Read from the pool. */
|
|
419
|
+
shareToken?: string;
|
|
415
420
|
}
|
|
416
421
|
|
|
417
422
|
declare interface PlanBlocker {
|
|
@@ -427,13 +432,14 @@ declare interface PoolShareEntry {
|
|
|
427
432
|
}
|
|
428
433
|
|
|
429
434
|
/**
|
|
430
|
-
* Whether a close to `address` goes through the shared intermediary: true only for
|
|
431
|
-
* the registry bundled in this package lists as unable to receive
|
|
432
|
-
*
|
|
435
|
+
* Whether a close to `address` on `network` goes through the shared intermediary: true only for
|
|
436
|
+
* an exchange the registry bundled in this package lists, on that network, as unable to receive
|
|
437
|
+
* an account merge. An entry scoped to testnet never answers true on mainnet. The same rule
|
|
438
|
+
* `verifyCloseTransaction` applies, so an integrator decides from it, never from the API's
|
|
433
439
|
* response, whether a transaction needs the intermediary's co-signature. A served snapshot never
|
|
434
440
|
* changes this answer, so it takes none.
|
|
435
441
|
*/
|
|
436
|
-
export declare function requiresMediator(address: string): boolean;
|
|
442
|
+
export declare function requiresMediator(address: string, network: Network): boolean;
|
|
437
443
|
|
|
438
444
|
/**
|
|
439
445
|
* Every reason the revocation anchor refuses a transaction, one stable code each, in the order the
|
|
@@ -483,6 +489,9 @@ export declare type RevokeAllowanceVerificationErrorCode = (typeof REVOKE_ALLOWA
|
|
|
483
489
|
* - It never enables the mediated hand-off. That stays limited to the exchanges the bundled
|
|
484
490
|
* registry lists ({@link requiresMediator}), so an address only the snapshot lists as needing
|
|
485
491
|
* the intermediary refuses both shapes until this package is updated.
|
|
492
|
+
* - It never changes the network a bundled exchange applies on: a testnet-only entry stays
|
|
493
|
+
* unlisted on mainnet, and an entry listed on every network stays listed on both. An entry it
|
|
494
|
+
* adds with `network: "testnet"` applies on testnet only; any other `network` value drops it.
|
|
486
495
|
* - Its `validUntil` may move the bundled expiry later, by at most 120 days, never earlier.
|
|
487
496
|
* - It never decides a memo type. A different type for a bundled exchange is refused with
|
|
488
497
|
* `registry_memo_type_conflict`, and a type for an address it adds that differs from the one
|
package/dist/index.js
CHANGED
|
@@ -170,18 +170,36 @@ var exchange_registry_default = {
|
|
|
170
170
|
requiresMediator: true,
|
|
171
171
|
requiresMemo: true,
|
|
172
172
|
memoType: "text"
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
address: "GB4VXLVR2DDIJUPVVY74QVPEIHINBMMXO6WUY67JUEYO42LQSDS5IMKW",
|
|
176
|
+
name: "LumenWipe testnet exchange",
|
|
177
|
+
domain: "lumenwipe.com",
|
|
178
|
+
requiresMediator: true,
|
|
179
|
+
requiresMemo: true,
|
|
180
|
+
memoType: "id",
|
|
181
|
+
network: "testnet"
|
|
173
182
|
}
|
|
174
183
|
]
|
|
175
184
|
};
|
|
176
185
|
|
|
177
186
|
// ../../apps/web/lib/exchange-registry/merge.ts
|
|
187
|
+
function appliesOn(entry, network) {
|
|
188
|
+
return entry.network === void 0 || entry.network === network;
|
|
189
|
+
}
|
|
178
190
|
function isUsableEntry(e) {
|
|
179
191
|
if (typeof e !== "object" || e === null) return false;
|
|
180
192
|
const r = e;
|
|
181
|
-
return typeof r.address === "string" && r.address.startsWith("G") && r.address.length === 56 && typeof r.name === "string" && typeof r.requiresMediator === "boolean" && typeof r.requiresMemo === "boolean" && (r.memoType === "text" || r.memoType === "id" || r.memoType === "hash");
|
|
193
|
+
return typeof r.address === "string" && r.address.startsWith("G") && r.address.length === 56 && typeof r.name === "string" && typeof r.requiresMediator === "boolean" && typeof r.requiresMemo === "boolean" && (r.memoType === "text" || r.memoType === "id" || r.memoType === "hash") && (!("network" in r) || r.network === "testnet");
|
|
194
|
+
}
|
|
195
|
+
function bundledEntries(raw) {
|
|
196
|
+
if (!Array.isArray(raw)) throw new Error("The bundled exchange registry has no entries list.");
|
|
197
|
+
const bad = raw.findIndex((e) => !isUsableEntry(e));
|
|
198
|
+
if (bad !== -1) throw new Error(`The bundled exchange registry entry ${bad} is malformed.`);
|
|
199
|
+
return raw;
|
|
182
200
|
}
|
|
183
201
|
function tightenedOver(embeddedEntry, servedEntry) {
|
|
184
|
-
|
|
202
|
+
const tightened = {
|
|
185
203
|
...servedEntry,
|
|
186
204
|
requiresMemo: embeddedEntry.requiresMemo || servedEntry.requiresMemo,
|
|
187
205
|
requiresMediator: embeddedEntry.requiresMediator || servedEntry.requiresMediator,
|
|
@@ -190,6 +208,9 @@ function tightenedOver(embeddedEntry, servedEntry) {
|
|
|
190
208
|
// (`mergeServedRegistry`) and the close is refused until the bundled copy is updated.
|
|
191
209
|
memoType: embeddedEntry.memoType
|
|
192
210
|
};
|
|
211
|
+
if (embeddedEntry.network === void 0) delete tightened.network;
|
|
212
|
+
else tightened.network = embeddedEntry.network;
|
|
213
|
+
return tightened;
|
|
193
214
|
}
|
|
194
215
|
var MAX_EXTENSION_DAYS = 120;
|
|
195
216
|
function boundedValidUntil(embeddedUntil, servedUntil) {
|
|
@@ -232,15 +253,12 @@ function isUsableAt(validUntil, now) {
|
|
|
232
253
|
}
|
|
233
254
|
|
|
234
255
|
// ../../apps/web/lib/exchange-registry/index.ts
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
};
|
|
242
|
-
}
|
|
243
|
-
var EMBEDDED = snapshotFrom(exchange_registry_default, false);
|
|
256
|
+
var EMBEDDED = {
|
|
257
|
+
entries: bundledEntries(exchange_registry_default.entries),
|
|
258
|
+
lastVerified: exchange_registry_default.lastVerified,
|
|
259
|
+
validUntil: exchange_registry_default.validUntil,
|
|
260
|
+
served: false
|
|
261
|
+
};
|
|
244
262
|
var current = EMBEDDED;
|
|
245
263
|
function bundledRegistry() {
|
|
246
264
|
return EMBEDDED;
|
|
@@ -248,14 +266,17 @@ function bundledRegistry() {
|
|
|
248
266
|
function isRegistryUsable(now = /* @__PURE__ */ new Date()) {
|
|
249
267
|
return isUsableAt(current.validUntil, now);
|
|
250
268
|
}
|
|
251
|
-
function byAddress() {
|
|
252
|
-
return new Map(current.entries.map((e) => [e.address, e]));
|
|
269
|
+
function byAddress(network) {
|
|
270
|
+
return new Map(current.entries.filter((e) => appliesOn(e, network)).map((e) => [e.address, e]));
|
|
271
|
+
}
|
|
272
|
+
function lookupExchange(address, network) {
|
|
273
|
+
return byAddress(network).get(address) ?? null;
|
|
253
274
|
}
|
|
254
|
-
function
|
|
255
|
-
return
|
|
275
|
+
function bundledExchange(address, network) {
|
|
276
|
+
return EMBEDDED.entries.find((e) => e.address === address && appliesOn(e, network)) ?? null;
|
|
256
277
|
}
|
|
257
|
-
function mediatorAllowedFor(address) {
|
|
258
|
-
return
|
|
278
|
+
function mediatorAllowedFor(address, network) {
|
|
279
|
+
return bundledExchange(address, network)?.requiresMediator === true;
|
|
259
280
|
}
|
|
260
281
|
function memoTypeInDispute(address) {
|
|
261
282
|
return current.memoTypeDisputes?.includes(address) ?? false;
|
|
@@ -1453,9 +1474,13 @@ function depositAddressesOf(transfers, lookup) {
|
|
|
1453
1474
|
}
|
|
1454
1475
|
return listed;
|
|
1455
1476
|
}
|
|
1456
|
-
function registryView(served) {
|
|
1477
|
+
function registryView(served, network) {
|
|
1457
1478
|
if (served === void 0) {
|
|
1458
|
-
return {
|
|
1479
|
+
return {
|
|
1480
|
+
lookup: (address) => lookupExchange(address, network),
|
|
1481
|
+
usable: () => isRegistryUsable(),
|
|
1482
|
+
memoTypeInDispute
|
|
1483
|
+
};
|
|
1459
1484
|
}
|
|
1460
1485
|
const merged = mergeServedRegistry(bundledRegistry(), served);
|
|
1461
1486
|
if (merged === null) {
|
|
@@ -1464,7 +1489,9 @@ function registryView(served) {
|
|
|
1464
1489
|
"The exchange registry passed to the verifier is not a registry (it needs an entries list, lastVerified and validUntil), so this close cannot be checked against it."
|
|
1465
1490
|
);
|
|
1466
1491
|
}
|
|
1467
|
-
const byAddress2 = new Map(
|
|
1492
|
+
const byAddress2 = new Map(
|
|
1493
|
+
merged.entries.filter((e) => appliesOn(e, network)).map((e) => [e.address, e])
|
|
1494
|
+
);
|
|
1468
1495
|
const disputes = new Set(merged.memoTypeDisputes);
|
|
1469
1496
|
return {
|
|
1470
1497
|
lookup: (address) => byAddress2.get(address) ?? null,
|
|
@@ -1472,15 +1499,14 @@ function registryView(served) {
|
|
|
1472
1499
|
memoTypeInDispute: (address) => disputes.has(address)
|
|
1473
1500
|
};
|
|
1474
1501
|
}
|
|
1475
|
-
function listedMemoType(exchange, registry, expected) {
|
|
1502
|
+
function listedMemoType(exchange, registry, network, expected) {
|
|
1476
1503
|
if (registry.memoTypeInDispute(expected.destination)) {
|
|
1477
1504
|
throw new VerificationError(
|
|
1478
1505
|
"registry_memo_type_conflict",
|
|
1479
1506
|
`The served exchange registry gives ${exchange.name} a different memo type than the bundled one, so the memo this close needs cannot be checked.`
|
|
1480
1507
|
);
|
|
1481
1508
|
}
|
|
1482
|
-
|
|
1483
|
-
if (bundled) return exchange.memoType;
|
|
1509
|
+
if (bundledExchange(expected.destination, network) !== null) return exchange.memoType;
|
|
1484
1510
|
if (expected.memo !== null && expected.memoType !== null && expected.memoType !== exchange.memoType) {
|
|
1485
1511
|
throw new VerificationError(
|
|
1486
1512
|
"registry_memo_type_unconfirmed",
|
|
@@ -1491,7 +1517,7 @@ function listedMemoType(exchange, registry, expected) {
|
|
|
1491
1517
|
}
|
|
1492
1518
|
function verifyCloseTransaction(opts) {
|
|
1493
1519
|
const intent = intentFromXdr(opts.unsignedXdr, NETWORK_PASSPHRASES[opts.network]);
|
|
1494
|
-
const registry = registryView(opts.servedRegistry);
|
|
1520
|
+
const registry = registryView(opts.servedRegistry, opts.network);
|
|
1495
1521
|
const exchange = registry.lookup(opts.expected.destination);
|
|
1496
1522
|
if (exchange !== null && !registry.usable()) {
|
|
1497
1523
|
throw new VerificationError(
|
|
@@ -1506,10 +1532,10 @@ function verifyCloseTransaction(opts) {
|
|
|
1506
1532
|
registry.lookup
|
|
1507
1533
|
),
|
|
1508
1534
|
// From the bundled copy alone, whatever was served: see `registryView`.
|
|
1509
|
-
mediatorRequired: mediatorAllowedFor(opts.expected.destination),
|
|
1535
|
+
mediatorRequired: mediatorAllowedFor(opts.expected.destination, opts.network),
|
|
1510
1536
|
directMergeRefused: exchange?.requiresMediator ?? false,
|
|
1511
1537
|
memoRequired: exchange?.requiresMemo ?? false,
|
|
1512
|
-
memoType: exchange === null ? opts.expected.memoType : listedMemoType(exchange, registry, opts.expected),
|
|
1538
|
+
memoType: exchange === null ? opts.expected.memoType : listedMemoType(exchange, registry, opts.network, opts.expected),
|
|
1513
1539
|
nowSeconds: Math.floor(Date.now() / 1e3),
|
|
1514
1540
|
preAuthorized: opts.preAuthorized === true
|
|
1515
1541
|
});
|
|
@@ -2466,8 +2492,8 @@ function verifyCloseTransaction2(input) {
|
|
|
2466
2492
|
function exitExpectations2(accountState, network) {
|
|
2467
2493
|
return exitExpectations(accountState, network);
|
|
2468
2494
|
}
|
|
2469
|
-
function requiresMediator(address) {
|
|
2470
|
-
return mediatorAllowedFor(address);
|
|
2495
|
+
function requiresMediator(address, network) {
|
|
2496
|
+
return mediatorAllowedFor(address, network);
|
|
2471
2497
|
}
|
|
2472
2498
|
function verifyRevokeAllowanceTransaction2(unsignedXdr, networkPassphrase, expected, nowSeconds) {
|
|
2473
2499
|
verifyRevokeAllowanceTransaction(unsignedXdr, networkPassphrase, expected, nowSeconds);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lumenwipe/verify",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "Reference verifier for LumenWipe close transactions, compiled from the web app's own trust anchor, with a conformance vector set.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
package/vectors/close-v1.json
CHANGED
|
@@ -499,6 +499,224 @@
|
|
|
499
499
|
}
|
|
500
500
|
}
|
|
501
501
|
},
|
|
502
|
+
{
|
|
503
|
+
"name": "testnet-stand-in-close-through-intermediary",
|
|
504
|
+
"verdict": "accept",
|
|
505
|
+
"description": "A testnet close to the bundled registry's testnet-only exchange stand-in: the merge pays an intermediary that forwards the whole balance to it, with the user's id memo.",
|
|
506
|
+
"nowSeconds": 1793491200,
|
|
507
|
+
"input": {
|
|
508
|
+
"unsignedXdr": "AAAAAgAAAABmSFtLHHJl+deRfKFiyBk4nXItPhFRSrcAceUOyZ1AAwAAAMgAAAABAAAAAQAAAAEAAAAAAAAAAAAAAABq5oIsAAAAAgAAAAAAABE7AAAAAgAAAAAAAAAIAAAAAN6x4r//5RLRqldQHAQjqtbSNcWNSsnuKy4jh5B4LoXRAAAAAQAAAADeseK//+US0apXUBwEI6rW0jXFjUrJ7isuI4eQeC6F0QAAAAEAAAAAeVuusdDGhNH1rj/IVeRB0NCxl3etTHvpoTDuaXCQ5dQAAAAAAAAAADuaygAAAAAAAAAAAA==",
|
|
509
|
+
"network": "testnet",
|
|
510
|
+
"expected": {
|
|
511
|
+
"source": "GBTEQW2LDRZGL6OXSF6KCYWIDE4J24RNHYIVCSVXABY6KDWJTVAAG6HD",
|
|
512
|
+
"destination": "GB4VXLVR2DDIJUPVVY74QVPEIHINBMMXO6WUY67JUEYO42LQSDS5IMKW",
|
|
513
|
+
"nativeBalance": "100.0000000",
|
|
514
|
+
"memo": "4411",
|
|
515
|
+
"memoType": "id",
|
|
516
|
+
"claimTrustlineAssets": [],
|
|
517
|
+
"accountSigners": [
|
|
518
|
+
{
|
|
519
|
+
"key": "GBTEQW2LDRZGL6OXSF6KCYWIDE4J24RNHYIVCSVXABY6KDWJTVAAG6HD",
|
|
520
|
+
"weight": 1,
|
|
521
|
+
"type": "ed25519_public_key"
|
|
522
|
+
}
|
|
523
|
+
],
|
|
524
|
+
"accountThresholds": {
|
|
525
|
+
"low": 0,
|
|
526
|
+
"med": 0,
|
|
527
|
+
"high": 0
|
|
528
|
+
},
|
|
529
|
+
"transfers": {},
|
|
530
|
+
"tokenTransfers": {},
|
|
531
|
+
"classicConversions": {},
|
|
532
|
+
"tokenConversions": {},
|
|
533
|
+
"exitContracts": [],
|
|
534
|
+
"heldTokenContracts": [
|
|
535
|
+
"CDLZFC3SYJYDZT7K67VZ75HPJVIEUVNIXF47ZG2FB2RMQQVU2HHGCYSC"
|
|
536
|
+
],
|
|
537
|
+
"positionTokenContracts": [],
|
|
538
|
+
"exitFunctions": {},
|
|
539
|
+
"conversionContracts": [
|
|
540
|
+
"CCJUD55AG6W5HAI5LRVNKAE5WDP5XGZBUDS5WNTIVDU7O264UZZE7BRD"
|
|
541
|
+
],
|
|
542
|
+
"xlmContract": "CDLZFC3SYJYDZT7K67VZ75HPJVIEUVNIXF47ZG2FB2RMQQVU2HHGCYSC",
|
|
543
|
+
"registryContracts": [
|
|
544
|
+
"CDV6RX4CGPCOKGTBFS52V3LMWQGZN3LCQTXF5RVPOOCG4XVMHXQ4NTF6",
|
|
545
|
+
"CBDVWXT433PRVTUNM56C3JREF3HIZHRBA64NB2C3B2UNCKIS65ZYCLZA",
|
|
546
|
+
"CCEBVDYM32YNYCVNRXQKDFFPISJJCV557CDZEIRBEE4NCV4KHPQ44HGF",
|
|
547
|
+
"CBCFTQSPDBAIZ6R6PJQKSQWKNKWH2QIV3I4J72SHWBIK3ADRRAM5A6GD",
|
|
548
|
+
"CDLYWB5CCSNOEXPGHSKYO4FW3R4XFQVI2HR2QC735YDVCSEQJABQDFXI",
|
|
549
|
+
"CDDLEQE6CPQGIK3RU4MK5CX2IAWN6CXWNJ2C3VOXV4FOVF3BBQFVZDIC",
|
|
550
|
+
"CCS6EFFKPQWG5SKMMYL4UQIXVYVDNIXAPHKHUM7IGJVN7QIAWXD2L7TO",
|
|
551
|
+
"CDP3HMUH6SMS3S7NPGNDJLULCOXXEPSHY4JKUKMBNQMATHDHWXRRJTBY",
|
|
552
|
+
"CCJUD55AG6W5HAI5LRVNKAE5WDP5XGZBUDS5WNTIVDU7O264UZZE7BRD",
|
|
553
|
+
"CAAZMNZDUPXEPLLJOGVQYQOJPXFYDZRYX2AMSXFYNP7Q5IKY7WCH2ZV4",
|
|
554
|
+
"CBETTPAGB46UYACPNU7MFH4D26TTNCDZXOKJ5N3C7PYKU22AIC4C573N",
|
|
555
|
+
"CB7UHVINMUGNHPEFSJYTIIF67ETZAOCVHTBY7XFN5TVKNAWOMVNYIIWW",
|
|
556
|
+
"CDQM2A7B5ZJIR5DEQF7Q63PWU2EWEJ2KXU5IPN5GY3DR67M2SLQMO7B3",
|
|
557
|
+
"CCVEHSVGFYL5SKLO3BSRZCWRHDWKVB5KX6LYT66GX6QNCRJEPYHF6FIV",
|
|
558
|
+
"CCELNFRXYUDJ5545AM7KIMHDHII5PQEGDVYHA3HSR7HXWUNH67EWBFXP"
|
|
559
|
+
],
|
|
560
|
+
"protectedTokenContracts": [
|
|
561
|
+
"CDLZFC3SYJYDZT7K67VZ75HPJVIEUVNIXF47ZG2FB2RMQQVU2HHGCYSC"
|
|
562
|
+
],
|
|
563
|
+
"xbullAssets": {},
|
|
564
|
+
"ownTokensByContract": {},
|
|
565
|
+
"repayTokensByPool": {},
|
|
566
|
+
"shareTokenContracts": [],
|
|
567
|
+
"debtTokenContracts": []
|
|
568
|
+
}
|
|
569
|
+
}
|
|
570
|
+
},
|
|
571
|
+
{
|
|
572
|
+
"name": "testnet-stand-in-is-a-wallet-on-mainnet",
|
|
573
|
+
"verdict": "accept",
|
|
574
|
+
"description": "On mainnet the testnet-only stand-in is not listed, so a close to it is a plain merge straight to the address the user typed, with their memo.",
|
|
575
|
+
"nowSeconds": 1793491200,
|
|
576
|
+
"input": {
|
|
577
|
+
"unsignedXdr": "AAAAAgAAAABmSFtLHHJl+deRfKFiyBk4nXItPhFRSrcAceUOyZ1AAwAAAGQAAAABAAAAAQAAAAEAAAAAAAAAAAAAAABq5oIsAAAAAgAAAAAAABE7AAAAAQAAAAAAAAAIAAAAAHlbrrHQxoTR9a4/yFXkQdDQsZd3rUx76aEw7mlwkOXUAAAAAAAAAAA=",
|
|
578
|
+
"network": "mainnet",
|
|
579
|
+
"expected": {
|
|
580
|
+
"source": "GBTEQW2LDRZGL6OXSF6KCYWIDE4J24RNHYIVCSVXABY6KDWJTVAAG6HD",
|
|
581
|
+
"destination": "GB4VXLVR2DDIJUPVVY74QVPEIHINBMMXO6WUY67JUEYO42LQSDS5IMKW",
|
|
582
|
+
"nativeBalance": "100.0000000",
|
|
583
|
+
"memo": "4411",
|
|
584
|
+
"memoType": "id",
|
|
585
|
+
"claimTrustlineAssets": [],
|
|
586
|
+
"accountSigners": [
|
|
587
|
+
{
|
|
588
|
+
"key": "GBTEQW2LDRZGL6OXSF6KCYWIDE4J24RNHYIVCSVXABY6KDWJTVAAG6HD",
|
|
589
|
+
"weight": 1,
|
|
590
|
+
"type": "ed25519_public_key"
|
|
591
|
+
}
|
|
592
|
+
],
|
|
593
|
+
"accountThresholds": {
|
|
594
|
+
"low": 0,
|
|
595
|
+
"med": 0,
|
|
596
|
+
"high": 0
|
|
597
|
+
},
|
|
598
|
+
"transfers": {},
|
|
599
|
+
"tokenTransfers": {},
|
|
600
|
+
"classicConversions": {},
|
|
601
|
+
"tokenConversions": {},
|
|
602
|
+
"exitContracts": [],
|
|
603
|
+
"heldTokenContracts": [
|
|
604
|
+
"CAS3J7GYLGXMF6TDJBBYYSE3HQ6BBSMLNUQ34T6TZMYMW2EVH34XOWMA"
|
|
605
|
+
],
|
|
606
|
+
"positionTokenContracts": [],
|
|
607
|
+
"exitFunctions": {},
|
|
608
|
+
"conversionContracts": [
|
|
609
|
+
"CAG5LRYQ5JVEUI5TEID72EYOVX44TTUJT5BQR2J6J77FH65PCCFAJDDH",
|
|
610
|
+
"CARVQXFP4JF5ELLXUMQ6DALR346YVGBMQOHB4ENA7SSVXAYABXLBDDC4",
|
|
611
|
+
"CCKXBE5GKJOCE7IKL64HLYKW3IJSUPVOLC4CS77GQT5QQ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RWAE7IAA",
|
|
659
|
+
"CDOXQONPND365K6MHR3QBSVVTC3MKR44ORK6TI2GQXUXGGAS5SNDAYRI"
|
|
660
|
+
],
|
|
661
|
+
"protectedTokenContracts": [
|
|
662
|
+
"CAS3J7GYLGXMF6TDJBBYYSE3HQ6BBSMLNUQ34T6TZMYMW2EVH34XOWMA"
|
|
663
|
+
],
|
|
664
|
+
"xbullAssets": {
|
|
665
|
+
"0": "CAS3J7GYLGXMF6TDJBBYYSE3HQ6BBSMLNUQ34T6TZMYMW2EVH34XOWMA",
|
|
666
|
+
"1": "CCG27OZ5AV4WUXS6XTECWAXEY5UOMEFI2CWFA3LHZGBTLYZWTJF3MJYQ",
|
|
667
|
+
"2": "CAUIKL3IYGMERDRUN6YSCLWVAKIFG5Q4YJHUKM4S4NJZQIA3BAS6OJPK",
|
|
668
|
+
"3": "CCYYYCTVCTWCOSE262VEMA6U4LZ3HWAUL245XVR3IKR75TSPYSQAOMNX",
|
|
669
|
+
"4": "CD25MNVTZDL4Y3XBCPCJXGXATV5WUHHOWMYFF4YBEGU5FCPGMYTVG5JY",
|
|
670
|
+
"5": "CAO7DDJNGMOYQPRYDY5JVZ5YEK4UQBSMGLAEWRCUOTRMDSBMGWSAATDZ",
|
|
671
|
+
"6": "CAL6ER2TI6CTRAY6BFXWNWA7WTYXUXTQCHUBCIBU5O6KM3HJFG6Z6VXV",
|
|
672
|
+
"7": "CBH4M45TQBLDPXOK6L7VYKMEJWFITBOL64BN3WDAIIDT4LNUTWTTOCKF",
|
|
673
|
+
"8": "CDTKPWPLOURQA2SGTKTUQOWRCBZEORB4BWBOMJ3D3ZTQQSGE5F6JBQLV",
|
|
674
|
+
"9": "CBVDRT5474OBUEXF5MJB3UGQ5CG7CKGCAH5M4RV5NBCDJUBZ5OXHJLOU",
|
|
675
|
+
"10": "CBEOWRDE3GBMF6XF5LPIST3E4FUSXW4LYTOSQPVBJXGDVNWR6IK3GIYI",
|
|
676
|
+
"11": "CBN3NCJSMOQTC6S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STZLEO7SJMI75",
|
|
691
|
+
"26": "CB226ZOEYXTBPD3QEGABTJYSKZVBP2PASEISLG3SBMTN5CE4QZUVZ3CE",
|
|
692
|
+
"27": "CAC743NYRBMS76L2DCPAXZTOEF6EJPKPVEC5OX2SXY7HOWNXISSLUE2C",
|
|
693
|
+
"28": "CCOB35AE6UJQPEUCSJYYX42NAEHQD2FHRQSQYGLJAWJL7STGES7BNVYR",
|
|
694
|
+
"29": "CB3YA656OYIHU57657I5KGSBRHE5I3OZU4VFC22PYAOANFZHEWNYGAGP",
|
|
695
|
+
"30": "CDIKURWHYS4FFTR5KOQK6MBFZA2K3E26WGBQI6PXBYWZ4XIOPJHDFJKP",
|
|
696
|
+
"31": "CBLV4ATSIWU67CFSQU2NVRKINQIKUZ2ODSZBUJTJ43VJVRSBTZYOPNUR",
|
|
697
|
+
"32": "CAESLMGW5LYTIEJI7FJHK6SFSWRELLNVX5Q4WR4UZEALMTRWQDBKDPAG",
|
|
698
|
+
"33": "CBLLEW7HD2RWATVSMLAGWM4G3WCHSHDJ25ALP4DI6LULV5TU35N2CIZA",
|
|
699
|
+
"34": "CAAV3AE3VKD2P4TY7LWTQMMJHIJ4WOCZ5ANCIJPC3NRSERKVXNHBU2W7",
|
|
700
|
+
"35": "CDCKFBZYF2AQCSM3JOF2ZM27O3Y6AJAI4OTCQKAFNZ3FHBYUTFOKICIY",
|
|
701
|
+
"36": "CBRP2VD3CZLEQIQZ4JMBXGA5AC2U6JE26YU5CCIOICIZCVWPGBO2QRUB",
|
|
702
|
+
"37": "CAS3J7GYLGXMF6TDJBBYYSE3HQ6BBSMLNUQ34T6TZMYMW2EVH34XOWMA",
|
|
703
|
+
"38": "CDFZUVS5YNLXU7VENKOUDEOHCJGKQNVUBWD7KMN6E7ZROKPYPFLRUJFG",
|
|
704
|
+
"39": "CAUP7NFABXE5TJRL3FKTPMWRLC7IAXYDCTHQRFSCLR5TMGKHOOQO772J",
|
|
705
|
+
"40": "CB2XMFB6BDIHFOSFB5IXHDOYV3SI3IXMNIZLPDZHC7ENDCXSBEBZAO2Y",
|
|
706
|
+
"41": "CDYEOOVL6WV4JRY45CXQKOBJFFAPOM5KNQCCDNM333L6RM2L4RO3LKYG",
|
|
707
|
+
"42": "CDOFW7HNKLUZRLFZST4EW7V3AV4JI5IHMT6BPXXSY2IEFZ4NE5TWU2P4",
|
|
708
|
+
"43": "CBZVSNVB55ANF24QVJL2K5QCLOAB6XITGTGXYEAF6NPTXYKEJUYQOHFC",
|
|
709
|
+
"44": "CBI7UCH5KGSVQRO5H4SUCZUTZABCITZLRHQQZTWL2TK4RZ72TAR6IHRV",
|
|
710
|
+
"45": "CC64WBDGS6QQP22QTTIACYIXT3WF7BBQEYOQPLTP7GTKYY7PZ74QYGSL",
|
|
711
|
+
"46": "CBSJZEIO5C7KC2SF3MKSNXXJSW5G3VTNBX4ATMKUI3B2MR4JKM4R26YF"
|
|
712
|
+
},
|
|
713
|
+
"ownTokensByContract": {},
|
|
714
|
+
"repayTokensByPool": {},
|
|
715
|
+
"shareTokenContracts": [],
|
|
716
|
+
"debtTokenContracts": []
|
|
717
|
+
}
|
|
718
|
+
}
|
|
719
|
+
},
|
|
502
720
|
{
|
|
503
721
|
"name": "transfer-to-chosen-account",
|
|
504
722
|
"verdict": "accept",
|
|
@@ -3347,6 +3565,161 @@
|
|
|
3347
3565
|
"message": "This exchange cannot credit an account merge, so the balance has to reach it as a payment. This transaction would merge your account straight into it."
|
|
3348
3566
|
}
|
|
3349
3567
|
},
|
|
3568
|
+
{
|
|
3569
|
+
"name": "testnet-stand-in-through-intermediary-on-mainnet",
|
|
3570
|
+
"verdict": "reject",
|
|
3571
|
+
"base": "testnet-stand-in-is-a-wallet-on-mainnet",
|
|
3572
|
+
"mutation": "Routes the mainnet close through an intermediary, the shape accepted on testnet. On mainnet the stand-in is not listed, so the intermediary is not allowed.",
|
|
3573
|
+
"nowSeconds": 1793491200,
|
|
3574
|
+
"input": {
|
|
3575
|
+
"unsignedXdr": "AAAAAgAAAABmSFtLHHJl+deRfKFiyBk4nXItPhFRSrcAceUOyZ1AAwAAAMgAAAABAAAAAQAAAAEAAAAAAAAAAAAAAABq5oIsAAAAAgAAAAAAABE7AAAAAgAAAAAAAAAIAAAAAN6x4r//5RLRqldQHAQjqtbSNcWNSsnuKy4jh5B4LoXRAAAAAQAAAADeseK//+US0apXUBwEI6rW0jXFjUrJ7isuI4eQeC6F0QAAAAEAAAAAeVuusdDGhNH1rj/IVeRB0NCxl3etTHvpoTDuaXCQ5dQAAAAAAAAAADuaygAAAAAAAAAAAA==",
|
|
3576
|
+
"network": "mainnet",
|
|
3577
|
+
"expected": {
|
|
3578
|
+
"source": "GBTEQW2LDRZGL6OXSF6KCYWIDE4J24RNHYIVCSVXABY6KDWJTVAAG6HD",
|
|
3579
|
+
"destination": "GB4VXLVR2DDIJUPVVY74QVPEIHINBMMXO6WUY67JUEYO42LQSDS5IMKW",
|
|
3580
|
+
"nativeBalance": "100.0000000",
|
|
3581
|
+
"memo": "4411",
|
|
3582
|
+
"memoType": "id",
|
|
3583
|
+
"claimTrustlineAssets": [],
|
|
3584
|
+
"accountSigners": [
|
|
3585
|
+
{
|
|
3586
|
+
"key": "GBTEQW2LDRZGL6OXSF6KCYWIDE4J24RNHYIVCSVXABY6KDWJTVAAG6HD",
|
|
3587
|
+
"weight": 1,
|
|
3588
|
+
"type": "ed25519_public_key"
|
|
3589
|
+
}
|
|
3590
|
+
],
|
|
3591
|
+
"accountThresholds": {
|
|
3592
|
+
"low": 0,
|
|
3593
|
+
"med": 0,
|
|
3594
|
+
"high": 0
|
|
3595
|
+
},
|
|
3596
|
+
"transfers": {},
|
|
3597
|
+
"tokenTransfers": {},
|
|
3598
|
+
"classicConversions": {},
|
|
3599
|
+
"tokenConversions": {},
|
|
3600
|
+
"exitContracts": [],
|
|
3601
|
+
"heldTokenContracts": [
|
|
3602
|
+
"CAS3J7GYLGXMF6TDJBBYYSE3HQ6BBSMLNUQ34T6TZMYMW2EVH34XOWMA"
|
|
3603
|
+
],
|
|
3604
|
+
"positionTokenContracts": [],
|
|
3605
|
+
"exitFunctions": {},
|
|
3606
|
+
"conversionContracts": [
|
|
3607
|
+
"CAG5LRYQ5JVEUI5TEID72EYOVX44TTUJT5BQR2J6J77FH65PCCFAJDDH",
|
|
3608
|
+
"CARVQXFP4JF5ELLXUMQ6DALR346YVGBMQOHB4ENA7SSVXAYABXLBDDC4",
|
|
3609
|
+
"CCKXBE5GKJOCE7IKL64HLYKW3IJSUPVOLC4CS77GQT5QQHDZLDYV3DFT"
|
|
3610
|
+
],
|
|
3611
|
+
"xlmContract": "CAS3J7GYLGXMF6TDJBBYYSE3HQ6BBSMLNUQ34T6TZMYMW2EVH34XOWMA",
|
|
3612
|
+
"registryContracts": [
|
|
3613
|
+
"CCZD6ESMOGMPWH2KRO4O7RGTAPGTUPFWFQBELQSS7ZUK63V3TZWETGAG",
|
|
3614
|
+
"CAO3AGAMZVRMHITL36EJ2VZQWKYRPWMQAPDQD5YEOF3GIF7T44U4JAL3",
|
|
3615
|
+
"CDVQVKOY2YSXS2IC7KN6MNASSHPAO7UN2UR2ON4OI2SKMFJNVAMDX6DP",
|
|
3616
|
+
"CBP7NO6F7FRDHSOFQBT2L2UWYIZ2PU76JKVRYAQTG3KZSQLYAOKIF2WB",
|
|
3617
|
+
"CDE65QK2ROZ32V2LVLBOKYPX47TYMYO37Z6ASQTBRTBNK53C7C6QF4Y7",
|
|
3618
|
+
"CAQF5KNOFIGRI24NQRRGUPD46Q45MGMXZMRTQFXS25Y4NZVNPT34GM6S",
|
|
3619
|
+
"CBVOPI6QC6OWVCOEZDCFELAGQNAOHUS4CWOKAVADKQZXVSWR2R5IAKO7",
|
|
3620
|
+
"CDSYOAVXFY7SM5S64IZPPPYB4GVGGLMQVFREPSQQEZVIWXX5R23G4QSU",
|
|
3621
|
+
"CAQQR5SWBXKIGZKPBZDH3KM5GQ5GUTPKB7JAFCINLZBC5WXPJKRG3IM7",
|
|
3622
|
+
"CAJJZ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
|
|
3684
|
+
"21": "CCKCKCPHYVXQD4NECBFJTFSCU2AMSJGCNG4O6K4JVRE2BLPR7WNDBQIQ",
|
|
3685
|
+
"22": "CBIJBDNZNF4X35BJ4FFZWCDBSCKOP5NB4PLG4SNENRMLAPYG4P5FM6VN",
|
|
3686
|
+
"23": "CD6M4R2322BYCY2LNWM74PEBQAQ63SA3DUJLI3L4225U4ZVCLMSCBCIS",
|
|
3687
|
+
"24": "CDTSZ2VWVPLNCTHVFK7Y2KKOYDH32NAZ5KMPZIMP3BJ2WBAVPH6SWECE",
|
|
3688
|
+
"25": "CCW67TSZV3SSS2HXMBQ5JFGCKJNXKZM7UQUWUZPUTHXSTZLEO7SJMI75",
|
|
3689
|
+
"26": "CB226ZOEYXTBPD3QEGABTJYSKZVBP2PASEISLG3SBMTN5CE4QZUVZ3CE",
|
|
3690
|
+
"27": "CAC743NYRBMS76L2DCPAXZTOEF6EJPKPVEC5OX2SXY7HOWNXISSLUE2C",
|
|
3691
|
+
"28": "CCOB35AE6UJQPEUCSJYYX42NAEHQD2FHRQSQYGLJAWJL7STGES7BNVYR",
|
|
3692
|
+
"29": "CB3YA656OYIHU57657I5KGSBRHE5I3OZU4VFC22PYAOANFZHEWNYGAGP",
|
|
3693
|
+
"30": "CDIKURWHYS4FFTR5KOQK6MBFZA2K3E26WGBQI6PXBYWZ4XIOPJHDFJKP",
|
|
3694
|
+
"31": "CBLV4ATSIWU67CFSQU2NVRKINQIKUZ2ODSZBUJTJ43VJVRSBTZYOPNUR",
|
|
3695
|
+
"32": "CAESLMGW5LYTIEJI7FJHK6SFSWRELLNVX5Q4WR4UZEALMTRWQDBKDPAG",
|
|
3696
|
+
"33": "CBLLEW7HD2RWATVSMLAGWM4G3WCHSHDJ25ALP4DI6LULV5TU35N2CIZA",
|
|
3697
|
+
"34": "CAAV3AE3VKD2P4TY7LWTQMMJHIJ4WOCZ5ANCIJPC3NRSERKVXNHBU2W7",
|
|
3698
|
+
"35": "CDCKFBZYF2AQCSM3JOF2ZM27O3Y6AJAI4OTCQKAFNZ3FHBYUTFOKICIY",
|
|
3699
|
+
"36": "CBRP2VD3CZLEQIQZ4JMBXGA5AC2U6JE26YU5CCIOICIZCVWPGBO2QRUB",
|
|
3700
|
+
"37": "CAS3J7GYLGXMF6TDJBBYYSE3HQ6BBSMLNUQ34T6TZMYMW2EVH34XOWMA",
|
|
3701
|
+
"38": "CDFZUVS5YNLXU7VENKOUDEOHCJGKQNVUBWD7KMN6E7ZROKPYPFLRUJFG",
|
|
3702
|
+
"39": "CAUP7NFABXE5TJRL3FKTPMWRLC7IAXYDCTHQRFSCLR5TMGKHOOQO772J",
|
|
3703
|
+
"40": "CB2XMFB6BDIHFOSFB5IXHDOYV3SI3IXMNIZLPDZHC7ENDCXSBEBZAO2Y",
|
|
3704
|
+
"41": "CDYEOOVL6WV4JRY45CXQKOBJFFAPOM5KNQCCDNM333L6RM2L4RO3LKYG",
|
|
3705
|
+
"42": "CDOFW7HNKLUZRLFZST4EW7V3AV4JI5IHMT6BPXXSY2IEFZ4NE5TWU2P4",
|
|
3706
|
+
"43": "CBZVSNVB55ANF24QVJL2K5QCLOAB6XITGTGXYEAF6NPTXYKEJUYQOHFC",
|
|
3707
|
+
"44": "CBI7UCH5KGSVQRO5H4SUCZUTZABCITZLRHQQZTWL2TK4RZ72TAR6IHRV",
|
|
3708
|
+
"45": "CC64WBDGS6QQP22QTTIACYIXT3WF7BBQEYOQPLTP7GTKYY7PZ74QYGSL",
|
|
3709
|
+
"46": "CBSJZEIO5C7KC2SF3MKSNXXJSW5G3VTNBX4ATMKUI3B2MR4JKM4R26YF"
|
|
3710
|
+
},
|
|
3711
|
+
"ownTokensByContract": {},
|
|
3712
|
+
"repayTokensByPool": {},
|
|
3713
|
+
"shareTokenContracts": [],
|
|
3714
|
+
"debtTokenContracts": []
|
|
3715
|
+
}
|
|
3716
|
+
},
|
|
3717
|
+
"error": {
|
|
3718
|
+
"name": "VerificationError",
|
|
3719
|
+
"code": "merge_destination_mismatch",
|
|
3720
|
+
"message": "The account would be merged to an address you did not choose."
|
|
3721
|
+
}
|
|
3722
|
+
},
|
|
3350
3723
|
{
|
|
3351
3724
|
"name": "transfer-elsewhere",
|
|
3352
3725
|
"verdict": "reject",
|