@monolythium/core-sdk 0.4.24 → 0.5.1
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/README.md +17 -9
- package/dist/crypto/index.cjs +45 -88
- package/dist/crypto/index.cjs.map +1 -1
- package/dist/crypto/index.d.cts +43 -30
- package/dist/crypto/index.d.ts +43 -30
- package/dist/crypto/index.js +39 -71
- package/dist/crypto/index.js.map +1 -1
- package/dist/index.cjs +402 -50
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +399 -1
- package/dist/index.d.ts +399 -1
- package/dist/index.js +373 -52
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { blake3 } from '@noble/hashes/blake3.js';
|
|
|
2
2
|
import { keccak_256, shake256 } from '@noble/hashes/sha3.js';
|
|
3
3
|
import { ml_dsa65 } from '@noble/post-quantum/ml-dsa.js';
|
|
4
4
|
import { bls12_381 } from '@noble/curves/bls12-381.js';
|
|
5
|
-
import {
|
|
5
|
+
import { validateMnemonic, mnemonicToSeedSync } from '@scure/bip39';
|
|
6
6
|
import { wordlist } from '@scure/bip39/wordlists/english.js';
|
|
7
7
|
|
|
8
8
|
// src/error.ts
|
|
@@ -402,7 +402,35 @@ var NODE_REGISTRY_SELECTORS = {
|
|
|
402
402
|
/** `getProbeAuthority()` view — Component C configured probe-authority address. */
|
|
403
403
|
getProbeAuthority: "0x" + selectorHex("getProbeAuthority()"),
|
|
404
404
|
/** `attestServiceProbe(bytes32,uint32,uint8,uint64)` — Component C attested score-eligibility path. */
|
|
405
|
-
attestServiceProbe: "0x" + selectorHex("attestServiceProbe(bytes32,uint32,uint8,uint64)")
|
|
405
|
+
attestServiceProbe: "0x" + selectorHex("attestServiceProbe(bytes32,uint32,uint8,uint64)"),
|
|
406
|
+
/**
|
|
407
|
+
* `advertiseSeat(uint32,uint8,uint32,uint128,uint32,bytes32)` returns
|
|
408
|
+
* `uint32 seatId` (L6 open-seat marketplace). Publishes a vacancy
|
|
409
|
+
* listing; caller must own an active member op-hash of the cluster.
|
|
410
|
+
*/
|
|
411
|
+
advertiseSeat: "0x" + selectorHex("advertiseSeat(uint32,uint8,uint32,uint128,uint32,bytes32)"),
|
|
412
|
+
/**
|
|
413
|
+
* `applyForSeat(uint32,uint32,bytes)` returns `bytes32 appKey` (L6).
|
|
414
|
+
* Payable — the native `value` escrows the full operator self-bond at
|
|
415
|
+
* apply ({@link NODE_REGISTRY_MIN_SELF_BOND_LYTHOSHI}).
|
|
416
|
+
*/
|
|
417
|
+
applyForSeat: "0x" + selectorHex("applyForSeat(uint32,uint32,bytes)"),
|
|
418
|
+
/**
|
|
419
|
+
* `voteSeatAdmit(uint32,bytes32,bytes)` returns `uint16 voteCount`
|
|
420
|
+
* (L6). Active-member admission vote; the 7-of-10 threshold-reaching
|
|
421
|
+
* vote fills the seat and admits the operator.
|
|
422
|
+
*/
|
|
423
|
+
voteSeatAdmit: "0x" + selectorHex("voteSeatAdmit(uint32,bytes32,bytes)"),
|
|
424
|
+
/**
|
|
425
|
+
* `withdrawSeatApplication(uint32,bytes32)` returns `bool` (L6) —
|
|
426
|
+
* applicant withdrawal that refunds the escrow.
|
|
427
|
+
*/
|
|
428
|
+
withdrawSeatApplication: "0x" + selectorHex("withdrawSeatApplication(uint32,bytes32)"),
|
|
429
|
+
/**
|
|
430
|
+
* `closeSeat(uint32,uint32)` returns `bool` (L6) — advertiser rescind
|
|
431
|
+
* of an `Open` listing.
|
|
432
|
+
*/
|
|
433
|
+
closeSeat: "0x" + selectorHex("closeSeat(uint32,uint32)")
|
|
406
434
|
};
|
|
407
435
|
var NODE_REGISTRY_CLUSTER_MEMBER_REF_BYTES = 48;
|
|
408
436
|
var NODE_REGISTRY_LEGACY_CLUSTER_MEMBER_PUBKEY_BYTES = NODE_REGISTRY_CLUSTER_MEMBER_REF_BYTES;
|
|
@@ -1349,6 +1377,252 @@ function deriveClusterAnchorAddress(roster, threshold) {
|
|
|
1349
1377
|
}
|
|
1350
1378
|
return bytesToHex(blake3(concatBytes(...parts)).slice(0, 20));
|
|
1351
1379
|
}
|
|
1380
|
+
var NODE_REGISTRY_TAG_CLUSTER_SEAT = 50;
|
|
1381
|
+
var NODE_REGISTRY_MIN_SELF_BOND_LYTHOSHI = 5000n * 1000000000000000000n;
|
|
1382
|
+
var NODE_REGISTRY_SEAT_KIND_ACTIVE = 0;
|
|
1383
|
+
var NODE_REGISTRY_SEAT_KIND_STANDBY = 1;
|
|
1384
|
+
function seatKindFromByte(b) {
|
|
1385
|
+
return b === NODE_REGISTRY_SEAT_KIND_STANDBY ? "standby" : "active";
|
|
1386
|
+
}
|
|
1387
|
+
function seatKindToByte(kind) {
|
|
1388
|
+
return kind === "standby" ? NODE_REGISTRY_SEAT_KIND_STANDBY : NODE_REGISTRY_SEAT_KIND_ACTIVE;
|
|
1389
|
+
}
|
|
1390
|
+
var SEAT_STATUS_CODES = {
|
|
1391
|
+
none: 0,
|
|
1392
|
+
open: 1,
|
|
1393
|
+
filled: 2,
|
|
1394
|
+
closed: 3
|
|
1395
|
+
};
|
|
1396
|
+
function seatStatusFromByte(b) {
|
|
1397
|
+
switch (b) {
|
|
1398
|
+
case 1:
|
|
1399
|
+
return "open";
|
|
1400
|
+
case 2:
|
|
1401
|
+
return "filled";
|
|
1402
|
+
case 3:
|
|
1403
|
+
return "closed";
|
|
1404
|
+
default:
|
|
1405
|
+
return "none";
|
|
1406
|
+
}
|
|
1407
|
+
}
|
|
1408
|
+
var SEAT_ADVERTISED_EVENT_SIG = "SeatAdvertised(uint32,uint32,bytes32,uint8,uint32,uint128,uint32,bytes32)";
|
|
1409
|
+
var SEAT_APPLIED_EVENT_SIG = "SeatApplied(uint32,uint32,bytes32,address,uint128)";
|
|
1410
|
+
var SEAT_FILLED_EVENT_SIG = "SeatFilled(uint32,uint32,bytes32,uint16,uint16)";
|
|
1411
|
+
var SEAT_CLOSED_EVENT_SIG = "SeatClosed(uint32,uint32,uint8)";
|
|
1412
|
+
function encodeAdvertiseSeatCalldata(args) {
|
|
1413
|
+
const kindByte = typeof args.kind === "number" ? args.kind : seatKindToByte(args.kind);
|
|
1414
|
+
if (!Number.isInteger(kindByte) || kindByte < 0 || kindByte > 255) {
|
|
1415
|
+
throw new NodeRegistryError("kind must be a u8 seat kind (0 = active, 1 = standby)");
|
|
1416
|
+
}
|
|
1417
|
+
return bytesToHex(
|
|
1418
|
+
concatBytes(
|
|
1419
|
+
hexToBytes(NODE_REGISTRY_SELECTORS.advertiseSeat),
|
|
1420
|
+
uint32Word(toUint32(args.clusterId, "clusterId")),
|
|
1421
|
+
uint8Word(kindByte),
|
|
1422
|
+
uint32Word(toUint32(args.seatCount, "seatCount")),
|
|
1423
|
+
uint128Word(args.minBondLythoshi, "minBondLythoshi"),
|
|
1424
|
+
uint32Word(toUint32(args.capabilityMask, "capabilityMask")),
|
|
1425
|
+
expectLength2(toBytes(args.termsHash), 32, "termsHash")
|
|
1426
|
+
)
|
|
1427
|
+
);
|
|
1428
|
+
}
|
|
1429
|
+
function encodeApplyForSeatCalldata(args) {
|
|
1430
|
+
const operatorPubkey = expectLength2(
|
|
1431
|
+
toBytes(args.operatorPubkey),
|
|
1432
|
+
NODE_REGISTRY_CONSENSUS_PUBKEY_BYTES,
|
|
1433
|
+
"operatorPubkey"
|
|
1434
|
+
);
|
|
1435
|
+
const operatorPubkeyPadded = padToWord(operatorPubkey);
|
|
1436
|
+
return bytesToHex(
|
|
1437
|
+
concatBytes(
|
|
1438
|
+
hexToBytes(NODE_REGISTRY_SELECTORS.applyForSeat),
|
|
1439
|
+
uint32Word(toUint32(args.clusterId, "clusterId")),
|
|
1440
|
+
uint32Word(toUint32(args.seatId, "seatId")),
|
|
1441
|
+
uint64Word(3n * 32n, "operatorPubkeyOffset"),
|
|
1442
|
+
uint64Word(BigInt(operatorPubkey.length), "operatorPubkeyLength"),
|
|
1443
|
+
operatorPubkeyPadded
|
|
1444
|
+
)
|
|
1445
|
+
);
|
|
1446
|
+
}
|
|
1447
|
+
function encodeVoteSeatAdmitCalldata(args) {
|
|
1448
|
+
const appKey = expectLength2(toBytes(args.appKey), 32, "appKey");
|
|
1449
|
+
const voterPubkey = expectLength2(
|
|
1450
|
+
toBytes(args.voterPubkey),
|
|
1451
|
+
NODE_REGISTRY_CONSENSUS_PUBKEY_BYTES,
|
|
1452
|
+
"voterPubkey"
|
|
1453
|
+
);
|
|
1454
|
+
const voterPubkeyPadded = padToWord(voterPubkey);
|
|
1455
|
+
return bytesToHex(
|
|
1456
|
+
concatBytes(
|
|
1457
|
+
hexToBytes(NODE_REGISTRY_SELECTORS.voteSeatAdmit),
|
|
1458
|
+
uint32Word(toUint32(args.clusterId, "clusterId")),
|
|
1459
|
+
appKey,
|
|
1460
|
+
uint64Word(3n * 32n, "voterPubkeyOffset"),
|
|
1461
|
+
uint64Word(BigInt(voterPubkey.length), "voterPubkeyLength"),
|
|
1462
|
+
voterPubkeyPadded
|
|
1463
|
+
)
|
|
1464
|
+
);
|
|
1465
|
+
}
|
|
1466
|
+
function encodeWithdrawSeatApplicationCalldata(args) {
|
|
1467
|
+
return bytesToHex(
|
|
1468
|
+
concatBytes(
|
|
1469
|
+
hexToBytes(NODE_REGISTRY_SELECTORS.withdrawSeatApplication),
|
|
1470
|
+
uint32Word(toUint32(args.clusterId, "clusterId")),
|
|
1471
|
+
expectLength2(toBytes(args.appKey), 32, "appKey")
|
|
1472
|
+
)
|
|
1473
|
+
);
|
|
1474
|
+
}
|
|
1475
|
+
function encodeCloseSeatCalldata(args) {
|
|
1476
|
+
return bytesToHex(
|
|
1477
|
+
concatBytes(
|
|
1478
|
+
hexToBytes(NODE_REGISTRY_SELECTORS.closeSeat),
|
|
1479
|
+
uint32Word(toUint32(args.clusterId, "clusterId")),
|
|
1480
|
+
uint32Word(toUint32(args.seatId, "seatId"))
|
|
1481
|
+
)
|
|
1482
|
+
);
|
|
1483
|
+
}
|
|
1484
|
+
function deriveSeatApplicationKey(operatorPubkey) {
|
|
1485
|
+
return bytesToHex(
|
|
1486
|
+
blake3(expectLength2(toBytes(operatorPubkey), NODE_REGISTRY_CONSENSUS_PUBKEY_BYTES, "operatorPubkey"))
|
|
1487
|
+
);
|
|
1488
|
+
}
|
|
1489
|
+
function decodeSeatAdvertisedEvent(topics, data) {
|
|
1490
|
+
const { clusterId, seatId } = decodeSeatClusterSeatTopics(topics, SEAT_ADVERTISED_EVENT_SIG, 3);
|
|
1491
|
+
const body = toBytes(data);
|
|
1492
|
+
if (body.length < 6 * 32) {
|
|
1493
|
+
throw new NodeRegistryError("SeatAdvertised data shorter than the 6-word body");
|
|
1494
|
+
}
|
|
1495
|
+
const word = (i) => body.slice(i * 32, (i + 1) * 32);
|
|
1496
|
+
return {
|
|
1497
|
+
clusterId,
|
|
1498
|
+
seatId,
|
|
1499
|
+
advertiser: bytesToHex(word(0)),
|
|
1500
|
+
kind: numberFromWord(word(1), "kind", 255),
|
|
1501
|
+
seatCount: u32FromWord(word(2)),
|
|
1502
|
+
minBondLythoshi: uintFromWord(word(3)),
|
|
1503
|
+
capabilityMask: u32FromWord(word(4)),
|
|
1504
|
+
termsHash: bytesToHex(word(5))
|
|
1505
|
+
};
|
|
1506
|
+
}
|
|
1507
|
+
function decodeSeatAppliedEvent(topics, data) {
|
|
1508
|
+
const { clusterId, seatId, operatorId } = decodeSeatClusterSeatOperatorTopics(
|
|
1509
|
+
topics,
|
|
1510
|
+
SEAT_APPLIED_EVENT_SIG
|
|
1511
|
+
);
|
|
1512
|
+
const body = toBytes(data);
|
|
1513
|
+
if (body.length < 2 * 32) {
|
|
1514
|
+
throw new NodeRegistryError("SeatApplied data shorter than the 2-word body");
|
|
1515
|
+
}
|
|
1516
|
+
return {
|
|
1517
|
+
clusterId,
|
|
1518
|
+
seatId,
|
|
1519
|
+
operatorId,
|
|
1520
|
+
owner: bytesToHex(body.slice(12, 32)),
|
|
1521
|
+
bondLythoshi: uintFromWord(body.slice(32, 64))
|
|
1522
|
+
};
|
|
1523
|
+
}
|
|
1524
|
+
function decodeSeatFilledEvent(topics, data) {
|
|
1525
|
+
const { clusterId, seatId, operatorId } = decodeSeatClusterSeatOperatorTopics(
|
|
1526
|
+
topics,
|
|
1527
|
+
SEAT_FILLED_EVENT_SIG
|
|
1528
|
+
);
|
|
1529
|
+
const body = toBytes(data);
|
|
1530
|
+
if (body.length < 2 * 32) {
|
|
1531
|
+
throw new NodeRegistryError("SeatFilled data shorter than the 2-word body");
|
|
1532
|
+
}
|
|
1533
|
+
return {
|
|
1534
|
+
clusterId,
|
|
1535
|
+
seatId,
|
|
1536
|
+
operatorId,
|
|
1537
|
+
filledCount: numberFromWord(body.slice(0, 32), "filledCount", 65535),
|
|
1538
|
+
seatCount: numberFromWord(body.slice(32, 64), "seatCount", 65535)
|
|
1539
|
+
};
|
|
1540
|
+
}
|
|
1541
|
+
function decodeSeatClosedEvent(topics, data) {
|
|
1542
|
+
const { clusterId, seatId } = decodeSeatClusterSeatTopics(topics, SEAT_CLOSED_EVENT_SIG, 3);
|
|
1543
|
+
const body = toBytes(data);
|
|
1544
|
+
if (body.length < 32) {
|
|
1545
|
+
throw new NodeRegistryError("SeatClosed data shorter than the 1-word body");
|
|
1546
|
+
}
|
|
1547
|
+
return {
|
|
1548
|
+
clusterId,
|
|
1549
|
+
seatId,
|
|
1550
|
+
status: numberFromWord(body.slice(0, 32), "status", 255)
|
|
1551
|
+
};
|
|
1552
|
+
}
|
|
1553
|
+
function openSeatFromAdvertised(event) {
|
|
1554
|
+
return {
|
|
1555
|
+
clusterId: event.clusterId,
|
|
1556
|
+
seatId: event.seatId,
|
|
1557
|
+
advertiser: event.advertiser,
|
|
1558
|
+
kind: seatKindFromByte(event.kind),
|
|
1559
|
+
seatCount: event.seatCount,
|
|
1560
|
+
filledCount: 0,
|
|
1561
|
+
minBondLythoshi: event.minBondLythoshi,
|
|
1562
|
+
capabilityMask: event.capabilityMask,
|
|
1563
|
+
termsHash: event.termsHash,
|
|
1564
|
+
status: "open"
|
|
1565
|
+
};
|
|
1566
|
+
}
|
|
1567
|
+
function decodeSeatClusterSeatTopics(topics, sig, expectedCount) {
|
|
1568
|
+
if (topics.length !== expectedCount) {
|
|
1569
|
+
throw new NodeRegistryError(`${sig} expects ${expectedCount} topics, got ${topics.length}`);
|
|
1570
|
+
}
|
|
1571
|
+
assertEventTopic0(topics[0], sig);
|
|
1572
|
+
return {
|
|
1573
|
+
clusterId: u32FromWord(expectLength2(toBytes(topics[1]), 32, "clusterId topic")),
|
|
1574
|
+
seatId: u32FromWord(expectLength2(toBytes(topics[2]), 32, "seatId topic"))
|
|
1575
|
+
};
|
|
1576
|
+
}
|
|
1577
|
+
function decodeSeatClusterSeatOperatorTopics(topics, sig) {
|
|
1578
|
+
if (topics.length !== 4) {
|
|
1579
|
+
throw new NodeRegistryError(`${sig} expects 4 topics, got ${topics.length}`);
|
|
1580
|
+
}
|
|
1581
|
+
assertEventTopic0(topics[0], sig);
|
|
1582
|
+
return {
|
|
1583
|
+
clusterId: u32FromWord(expectLength2(toBytes(topics[1]), 32, "clusterId topic")),
|
|
1584
|
+
seatId: u32FromWord(expectLength2(toBytes(topics[2]), 32, "seatId topic")),
|
|
1585
|
+
operatorId: bytesToHex(expectLength2(toBytes(topics[3]), 32, "operatorId topic"))
|
|
1586
|
+
};
|
|
1587
|
+
}
|
|
1588
|
+
function assertEventTopic0(topic0, sig) {
|
|
1589
|
+
const got = bytesToHex(expectLength2(toBytes(topic0), 32, "topic0"));
|
|
1590
|
+
const want = bytesToHex(keccak_256(new TextEncoder().encode(sig)));
|
|
1591
|
+
if (got !== want) {
|
|
1592
|
+
throw new NodeRegistryError(`unexpected topic0 for ${sig}`);
|
|
1593
|
+
}
|
|
1594
|
+
}
|
|
1595
|
+
function uint128Word(value, name) {
|
|
1596
|
+
const n = toUint128(value, name);
|
|
1597
|
+
const out = new Uint8Array(32);
|
|
1598
|
+
let rest = n;
|
|
1599
|
+
for (let i = 31; i >= 16; i--) {
|
|
1600
|
+
out[i] = Number(rest & 0xffn);
|
|
1601
|
+
rest >>= 8n;
|
|
1602
|
+
}
|
|
1603
|
+
return out;
|
|
1604
|
+
}
|
|
1605
|
+
function toUint128(value, name) {
|
|
1606
|
+
let parsed;
|
|
1607
|
+
if (typeof value === "bigint") {
|
|
1608
|
+
parsed = value;
|
|
1609
|
+
} else if (typeof value === "number") {
|
|
1610
|
+
if (!Number.isSafeInteger(value)) {
|
|
1611
|
+
throw new NodeRegistryError(`${name} must be a safe integer`);
|
|
1612
|
+
}
|
|
1613
|
+
parsed = BigInt(value);
|
|
1614
|
+
} else {
|
|
1615
|
+
const trimmed = value.trim();
|
|
1616
|
+
if (!/^\d+$/u.test(trimmed)) {
|
|
1617
|
+
throw new NodeRegistryError(`${name} must be a decimal uint128`);
|
|
1618
|
+
}
|
|
1619
|
+
parsed = BigInt(trimmed);
|
|
1620
|
+
}
|
|
1621
|
+
if (parsed < 0n || parsed >= 1n << 128n) {
|
|
1622
|
+
throw new NodeRegistryError(`${name} must fit uint128`);
|
|
1623
|
+
}
|
|
1624
|
+
return parsed;
|
|
1625
|
+
}
|
|
1352
1626
|
function selectorHex(sig) {
|
|
1353
1627
|
return [...keccak_256(new TextEncoder().encode(sig)).slice(0, 4)].map((b) => b.toString(16).padStart(2, "0")).join("");
|
|
1354
1628
|
}
|
|
@@ -8859,67 +9133,43 @@ function assertWholeNumber(field2, value) {
|
|
|
8859
9133
|
throw new Error(`${field2} must be a whole number`);
|
|
8860
9134
|
}
|
|
8861
9135
|
}
|
|
8862
|
-
var
|
|
8863
|
-
var
|
|
8864
|
-
var
|
|
8865
|
-
var
|
|
8866
|
-
var PQM1_V1_MLDSA65_DOMAIN_TAG = "monolythium.pqm1.v1.mldsa65";
|
|
8867
|
-
var Pqm1Error = class extends Error {
|
|
9136
|
+
var MLDSA65_MNEMONIC_WORDS = 24;
|
|
9137
|
+
var MLDSA65_SEED_DOMAIN = "monolythium.mldsa65.v1";
|
|
9138
|
+
var DOMAIN_BYTES = new TextEncoder().encode(MLDSA65_SEED_DOMAIN);
|
|
9139
|
+
var MnemonicError = class extends Error {
|
|
8868
9140
|
constructor(kind, message) {
|
|
8869
9141
|
super(message);
|
|
8870
9142
|
this.kind = kind;
|
|
8871
|
-
this.name = "
|
|
9143
|
+
this.name = "MnemonicError";
|
|
8872
9144
|
}
|
|
8873
9145
|
kind;
|
|
8874
9146
|
};
|
|
8875
|
-
var DOMAIN_BYTES = new TextEncoder().encode(PQM1_V1_MLDSA65_DOMAIN_TAG);
|
|
8876
9147
|
function normalizeMnemonic(mnemonic) {
|
|
8877
9148
|
return mnemonic.trim().toLowerCase().replace(/\s+/g, " ");
|
|
8878
9149
|
}
|
|
8879
|
-
function
|
|
8880
|
-
|
|
8881
|
-
throw new Pqm1Error("badPayloadLength", `PQM-1 payload must be ${PQM1_PAYLOAD_LEN} bytes, got ${bytes.length}`);
|
|
8882
|
-
}
|
|
8883
|
-
if (bytes[0] !== PQM1_ALGO_TAG_MLDSA65) {
|
|
8884
|
-
throw new Pqm1Error("unsupportedAlgorithm", `unsupported PQM-1 algorithm tag 0x${bytes[0].toString(16).padStart(2, "0")}`);
|
|
8885
|
-
}
|
|
8886
|
-
if (bytes[1] !== PQM1_VERSION_V1) {
|
|
8887
|
-
throw new Pqm1Error("unsupportedVersion", `unsupported PQM-1 version 0x${bytes[1].toString(16).padStart(2, "0")}`);
|
|
8888
|
-
}
|
|
8889
|
-
}
|
|
8890
|
-
function parsePqm1Payload(payload) {
|
|
8891
|
-
const bytes = expectBytes(payload, PQM1_PAYLOAD_LEN, "PQM-1 payload").slice();
|
|
8892
|
-
ensureSupportedPayload(bytes);
|
|
8893
|
-
return {
|
|
8894
|
-
algoTag: PQM1_ALGO_TAG_MLDSA65,
|
|
8895
|
-
version: PQM1_VERSION_V1,
|
|
8896
|
-
entropy: bytes.slice(2),
|
|
8897
|
-
bytes
|
|
8898
|
-
};
|
|
9150
|
+
function wordCount(normalized) {
|
|
9151
|
+
return normalized.length === 0 ? 0 : normalized.split(" ").length;
|
|
8899
9152
|
}
|
|
8900
|
-
function
|
|
9153
|
+
function mnemonicToMlDsa65Seed(mnemonic) {
|
|
8901
9154
|
const normalized = normalizeMnemonic(mnemonic);
|
|
8902
|
-
const words = normalized
|
|
8903
|
-
if (words
|
|
8904
|
-
throw new
|
|
9155
|
+
const words = wordCount(normalized);
|
|
9156
|
+
if (words !== MLDSA65_MNEMONIC_WORDS) {
|
|
9157
|
+
throw new MnemonicError(
|
|
9158
|
+
"badWordCount",
|
|
9159
|
+
`mnemonic must be ${MLDSA65_MNEMONIC_WORDS} words, got ${words}`
|
|
9160
|
+
);
|
|
8905
9161
|
}
|
|
8906
|
-
|
|
8907
|
-
|
|
8908
|
-
|
|
8909
|
-
|
|
8910
|
-
|
|
9162
|
+
if (!validateMnemonic(normalized, wordlist)) {
|
|
9163
|
+
throw new MnemonicError(
|
|
9164
|
+
"bip39Decode",
|
|
9165
|
+
"invalid BIP-39 mnemonic (unknown word or bad checksum)"
|
|
9166
|
+
);
|
|
8911
9167
|
}
|
|
8912
|
-
|
|
8913
|
-
}
|
|
8914
|
-
function derivePqm1MlDsa65SeedFromPayload(payload) {
|
|
8915
|
-
const parsed = parsePqm1Payload(payload);
|
|
8916
|
-
return shake256(concatBytes2(DOMAIN_BYTES, parsed.bytes), { dkLen: ML_DSA_65_SEED_LEN });
|
|
9168
|
+
const seed64 = mnemonicToSeedSync(normalized, "");
|
|
9169
|
+
return shake256(concatBytes2(DOMAIN_BYTES, seed64), { dkLen: ML_DSA_65_SEED_LEN });
|
|
8917
9170
|
}
|
|
8918
|
-
function
|
|
8919
|
-
return
|
|
8920
|
-
}
|
|
8921
|
-
function pqm1MnemonicToMlDsa65Backend(mnemonic) {
|
|
8922
|
-
return MlDsa65Backend.fromSeed(pqm1MnemonicToMlDsa65Seed(mnemonic));
|
|
9171
|
+
function mnemonicToMlDsa65Backend(mnemonic) {
|
|
9172
|
+
return MlDsa65Backend.fromSeed(mnemonicToMlDsa65Seed(mnemonic));
|
|
8923
9173
|
}
|
|
8924
9174
|
|
|
8925
9175
|
// src/cluster-join.ts
|
|
@@ -9035,7 +9285,7 @@ async function submitRequestClusterJoin(args) {
|
|
|
9035
9285
|
const clusterId = parseUint32(args.clusterId, "clusterId");
|
|
9036
9286
|
const operatorPubkey = normalizeConsensusPubkey(args.operatorPubkey, "operatorPubkey");
|
|
9037
9287
|
const operatorIdHex = deriveClusterJoinOperatorId(operatorPubkey);
|
|
9038
|
-
const backend =
|
|
9288
|
+
const backend = mnemonicToMlDsa65Backend(args.mnemonic);
|
|
9039
9289
|
const senderAddress = addressToTypedBech32("user", backend.addressBytes());
|
|
9040
9290
|
const preview = await previewRequestClusterJoin(args.client, {
|
|
9041
9291
|
from: senderAddress,
|
|
@@ -9062,7 +9312,7 @@ async function submitRequestClusterJoin(args) {
|
|
|
9062
9312
|
async function submitVoteClusterAdmit(args) {
|
|
9063
9313
|
const clusterId = parseUint32(args.clusterId, "clusterId");
|
|
9064
9314
|
const operatorIdHex = normalizeOperatorId(args.operatorId);
|
|
9065
|
-
const backend =
|
|
9315
|
+
const backend = mnemonicToMlDsa65Backend(args.mnemonic);
|
|
9066
9316
|
const senderAddress = addressToTypedBech32("user", backend.addressBytes());
|
|
9067
9317
|
const preview = await previewVoteClusterAdmit(args.client, {
|
|
9068
9318
|
from: senderAddress,
|
|
@@ -9160,6 +9410,77 @@ function parseU256(value, label) {
|
|
|
9160
9410
|
function errorMessage(cause) {
|
|
9161
9411
|
return cause instanceof Error ? cause.message : String(cause);
|
|
9162
9412
|
}
|
|
9413
|
+
|
|
9414
|
+
// src/cluster-seat.ts
|
|
9415
|
+
var DEFAULT_SEAT_EXECUTION_UNIT_LIMIT = REGISTRY_DEFAULT_EXECUTION_UNIT_LIMIT;
|
|
9416
|
+
function resolveSeatExecutionFee(quote, options = {}) {
|
|
9417
|
+
const quoted = parseBigint(quote.executionUnitPriceLythoshi, "executionUnitPriceLythoshi");
|
|
9418
|
+
const floor = options.minPriceLythoshi === void 0 ? MIN_EXECUTION_UNIT_PRICE_LYTHOSHI : parseBigint(options.minPriceLythoshi, "minPriceLythoshi");
|
|
9419
|
+
const multiplier = options.safetyMultiplier === void 0 ? EXECUTION_UNIT_PRICE_SAFETY_MULTIPLIER : parseBigint(options.safetyMultiplier, "safetyMultiplier");
|
|
9420
|
+
if (multiplier <= 0n) throw new Error("safetyMultiplier must be greater than zero");
|
|
9421
|
+
const base = quoted > floor ? quoted : floor;
|
|
9422
|
+
const maxFeePerGas = base * multiplier;
|
|
9423
|
+
const tip = options.priorityTipLythoshi === void 0 ? maxFeePerGas : clampPriorityTip(options.priorityTipLythoshi, maxFeePerGas);
|
|
9424
|
+
return {
|
|
9425
|
+
maxFeePerGas,
|
|
9426
|
+
maxPriorityFeePerGas: tip,
|
|
9427
|
+
gasLimit: options.executionUnitLimit ?? DEFAULT_SEAT_EXECUTION_UNIT_LIMIT
|
|
9428
|
+
};
|
|
9429
|
+
}
|
|
9430
|
+
function buildAdvertiseSeatTxFields(args) {
|
|
9431
|
+
return {
|
|
9432
|
+
...seatTxEnvelope(args.chainId, args.nonce, args.fee),
|
|
9433
|
+
value: 0n,
|
|
9434
|
+
input: encodeAdvertiseSeatCalldata(args)
|
|
9435
|
+
};
|
|
9436
|
+
}
|
|
9437
|
+
function buildApplyForSeatTxFields(args) {
|
|
9438
|
+
const selfBond = args.selfBondLythoshi === void 0 ? NODE_REGISTRY_MIN_SELF_BOND_LYTHOSHI : parseU2562(args.selfBondLythoshi, "selfBondLythoshi");
|
|
9439
|
+
return {
|
|
9440
|
+
...seatTxEnvelope(args.chainId, args.nonce, args.fee),
|
|
9441
|
+
value: selfBond,
|
|
9442
|
+
input: encodeApplyForSeatCalldata(args)
|
|
9443
|
+
};
|
|
9444
|
+
}
|
|
9445
|
+
function buildVoteSeatAdmitTxFields(args) {
|
|
9446
|
+
return {
|
|
9447
|
+
...seatTxEnvelope(args.chainId, args.nonce, args.fee),
|
|
9448
|
+
value: 0n,
|
|
9449
|
+
input: encodeVoteSeatAdmitCalldata(args)
|
|
9450
|
+
};
|
|
9451
|
+
}
|
|
9452
|
+
function buildWithdrawSeatApplicationTxFields(args) {
|
|
9453
|
+
return {
|
|
9454
|
+
...seatTxEnvelope(args.chainId, args.nonce, args.fee),
|
|
9455
|
+
value: 0n,
|
|
9456
|
+
input: encodeWithdrawSeatApplicationCalldata(args)
|
|
9457
|
+
};
|
|
9458
|
+
}
|
|
9459
|
+
function buildCloseSeatTxFields(args) {
|
|
9460
|
+
return {
|
|
9461
|
+
...seatTxEnvelope(args.chainId, args.nonce, args.fee),
|
|
9462
|
+
value: 0n,
|
|
9463
|
+
input: encodeCloseSeatCalldata(args)
|
|
9464
|
+
};
|
|
9465
|
+
}
|
|
9466
|
+
var SEAT_KINDS = ["active", "standby"];
|
|
9467
|
+
function seatTxEnvelope(chainId, nonce, fee) {
|
|
9468
|
+
return {
|
|
9469
|
+
chainId,
|
|
9470
|
+
nonce,
|
|
9471
|
+
maxFeePerGas: parseBigint(fee.maxFeePerGas, "maxFeePerGas"),
|
|
9472
|
+
maxPriorityFeePerGas: parseBigint(fee.maxPriorityFeePerGas, "maxPriorityFeePerGas"),
|
|
9473
|
+
gasLimit: parseBigint(fee.gasLimit ?? DEFAULT_SEAT_EXECUTION_UNIT_LIMIT, "gasLimit"),
|
|
9474
|
+
to: nodeRegistryAddressHex()
|
|
9475
|
+
};
|
|
9476
|
+
}
|
|
9477
|
+
function parseU2562(value, label) {
|
|
9478
|
+
const parsed = parseBigint(value, label);
|
|
9479
|
+
if (parsed < 0n || parsed >= 1n << 256n) {
|
|
9480
|
+
throw new Error(`${label} out of 256-bit range`);
|
|
9481
|
+
}
|
|
9482
|
+
return parsed;
|
|
9483
|
+
}
|
|
9163
9484
|
var ORACLE_EVENT_SIGS = {
|
|
9164
9485
|
oracleRoundFinalized: "OracleRoundFinalized(bytes32,uint64,uint256,uint64,uint32)",
|
|
9165
9486
|
observationSubmitted: "ObservationSubmitted(bytes32,uint64,address,uint256,uint64)",
|
|
@@ -11989,6 +12310,6 @@ var MONOLYTHIUM_NETWORKS = {
|
|
|
11989
12310
|
// src/index.ts
|
|
11990
12311
|
var version = "0.4.18";
|
|
11991
12312
|
|
|
11992
|
-
export { ADDRESS_HRP, ADDRESS_KIND_HRPS, API_STREAM_TOPICS, AddressError, AgentActionError, ApiClient, BRIDGE_QUOTE_API_BLOCKED_REASON, BRIDGE_REVERT_TAGS, BRIDGE_SELECTORS, BRIDGE_SUBMIT_API_BLOCKED_REASON, BURN_ADDR, BridgePrecompileError, BridgeRouteCatalogueError, CHAIN_REGISTRY, CHAIN_REGISTRY_RAW_BASE, CLOB_MARKET_ID_DOMAIN_TAG, CLOB_SELECTORS, CLUSTER_FORMED_EVENT_SIG, DEFAULT_CLUSTER_JOIN_EXECUTION_UNIT_LIMIT, DELEGATION_REVERT_TAGS, DELEGATION_SELECTORS, DIVERSITY_SCORE_MAX, DelegationPrecompileError, EMPTY_ROOT, EXECUTION_UNIT_PRICE_SAFETY_MULTIPLIER, FEED_ID_DOMAIN_TAG, LYTHOSHI_PER_LYTH, LYTH_DECIMALS, MAX_MULTISIG_MEMBERS, MAX_NATIVE_CALL_FORWARDER_REQUEST_BYTES, MAX_NATIVE_RECEIPT_EVENTS, MIN_EXECUTION_UNIT_PRICE_LYTHOSHI, MIN_MULTISIG_MEMBERS, ML_DSA_65_PUBLIC_KEY_LEN2 as ML_DSA_65_PUBLIC_KEY_LEN, ML_DSA_65_SIGNATURE_LEN2 as ML_DSA_65_SIGNATURE_LEN, MONOLYTHIUM_NETWORKS, MONOLYTHIUM_TESTNET_CHAIN_ID, MONOLYTHIUM_TESTNET_NETWORK_NAME, MRV_DEPLOY_PAYLOAD_VERSION, MRV_FORMAT_VERSION, MRV_MAX_ABI_SYMBOLS, MRV_MAX_CODE_BYTES, MRV_MAX_DEBUG_BYTES, MRV_MAX_MEMORY_PAGES, MRV_MAX_STORAGE_NAMESPACE_BYTES, MRV_MEMORY_PAGE_BYTES, MRV_PROFILE_MONO_RV32IM_V1, MRV_STRUCTURED_FEE_FIELDS, MRV_TX_EXTENSION_KIND, MRV_TX_EXTENSION_V1, MULTISIG_ADDRESS_DERIVATION_DOMAIN, MULTISIG_ADDRESS_DERIVATION_DOMAIN2 as MULTISIG_WITNESS_ADDRESS_DERIVATION_DOMAIN, MULTISIG_WITNESS_DOMAIN, MarketActionError, MrvValidationError, MultisigError, NAME_BASE_MULTIPLIER, NAME_FALLBACK_FEE_UNIT_LYTHOSHI, NAME_LABEL_MAX_LEN, NAME_LABEL_MIN_LEN, NAME_MAX_LEN, NAME_REGISTRY_SELECTORS, NATIVE_AGENT_MODULE_ADDRESS, NATIVE_AGENT_MODULE_ADDRESS_BYTES, NATIVE_CALL_FORWARDER_ARTIFACT_PROFILE, NATIVE_CALL_FORWARDER_RESPONSE_CAPACITY, NATIVE_CALL_FORWARDER_RESPONSE_OFFSET, NATIVE_DEV_HOST_API_VERSION, NATIVE_DEV_IPC_PROTOCOL_VERSION, NATIVE_DEV_MANIFEST_SCHEMA_VERSION, NATIVE_LYTH_DECIMALS, NATIVE_MARKET_EVENT_FAMILY, NATIVE_MARKET_MODULE_ADDRESS, NATIVE_MARKET_MODULE_ADDRESS_BYTES, NATIVE_MARKET_ORDER_BOOK_STREAM_TOPIC, NODE_REGISTRY_ARCHIVE_CHALLENGE_DOMAIN, NODE_REGISTRY_ARCHIVE_KIND_EPOCH_SEED, NODE_REGISTRY_ARCHIVE_NONCE_DOMAIN, NODE_REGISTRY_BLS_PUBKEY_BYTES, NODE_REGISTRY_CAPABILITIES, NODE_REGISTRY_CAPABILITY_MASK, NODE_REGISTRY_CHALLENGE_EPOCH_WINDOW, NODE_REGISTRY_CHARTER_COOLDOWN_EPOCHS, NODE_REGISTRY_CLUSTER_CHARTER_BYTES, NODE_REGISTRY_CLUSTER_CHARTER_DELEGATOR_FLOOR_BPS, NODE_REGISTRY_CLUSTER_CHARTER_SHARE_DENOM_BPS, NODE_REGISTRY_CLUSTER_MEMBER_REF_BYTES, NODE_REGISTRY_CONSENSUS_POP_BYTES, NODE_REGISTRY_CONSENSUS_PUBKEY_BYTES, NODE_REGISTRY_CONSENSUS_SIGNATURE_BYTES, NODE_REGISTRY_DKG_ATTESTATION_SIG_BYTES, NODE_REGISTRY_DKG_RESHARE_MAX_SIGNERS, NODE_REGISTRY_DKG_RESHARE_MIN_SIGNERS, NODE_REGISTRY_DKG_THRESHOLD_SIG_BYTES, NODE_REGISTRY_FORM_CLUSTER_ACTIVE_COUNT, NODE_REGISTRY_FORM_CLUSTER_MEMBER_COUNT, NODE_REGISTRY_FORM_CLUSTER_MESSAGE_DOMAIN, NODE_REGISTRY_FORM_CLUSTER_MESSAGE_DOMAIN_V2, NODE_REGISTRY_FORM_CLUSTER_STANDBY_COUNT, NODE_REGISTRY_FORM_CLUSTER_THRESHOLD, NODE_REGISTRY_LEGACY_CLUSTER_MEMBER_PUBKEY_BYTES, NODE_REGISTRY_MAX_MERKLE_PROOF_DEPTH, NODE_REGISTRY_MERKLE_INNER_DOMAIN, NODE_REGISTRY_MERKLE_LEAF_DOMAIN, NODE_REGISTRY_MIN_ARCHIVE_LEAF_COUNT, NODE_REGISTRY_OPERATOR_ALIAS_MAX_BYTES, NODE_REGISTRY_OPERATOR_MONIKER_MAX_BYTES, NODE_REGISTRY_PENDING_CHANGE_MAX_INTENT_ID, NODE_REGISTRY_PUBLIC_SERVICE_MASK, NODE_REGISTRY_SELECTORS, NODE_REGISTRY_SUBKIND_CHARTER_DELEGATOR_BPS, NODE_REGISTRY_SUBKIND_CHARTER_MEMBER_SHARES, NODE_REGISTRY_TAG_ARCHIVE_CHALLENGE, NODE_REGISTRY_TAG_CLUSTER_CHARTER, NODE_REGISTRY_TAG_SERVICE_SCORE, NODE_REGISTRY_TAG_TREASURY, NODE_REGISTRY_UPDATE_CHARTER_MESSAGE_DOMAIN, NODE_REGISTRY_UPDATE_CHARTER_THRESHOLD, NO_EVM_ARCHIVE_PROOF_SCHEMA, NO_EVM_ARCHIVE_SIGNATURE_SCHEME, NO_EVM_FINALITY_EVIDENCE_SCHEMA, NO_EVM_FINALITY_EVIDENCE_SOURCE, NO_EVM_RECEIPTS_ROOT_DOMAIN, NO_EVM_RECEIPT_CODEC, NO_EVM_RECEIPT_PROOF_SCHEMA, NO_EVM_RECEIPT_PROOF_TYPE, NO_EVM_RECEIPT_ROOT_ALGORITHM, NameRegistryError, NoEvmReceiptProofError, NodeRegistryError, OPERATOR_ROUTER_ADDRESS, OPERATOR_ROUTER_EVENT_SIGS, OPERATOR_ROUTER_SELECTORS, OPERATOR_ROUTER_SIGS, ORACLE_EVENT_SIGS, OperatorTrustError, OracleEventError, PENDING_CHANGE_KIND_CODES, PRECOMPILE_ADDRESSES, PROOF_KIND_BINARY, PROTOCOL_MAX_OPERATOR_FEE_BPS, PROVER_MARKET_ADDRESS, PROVER_MARKET_BID_DOMAIN, PROVER_MARKET_EVENT_SIGS, PROVER_MARKET_REQUEST_DOMAIN, PROVER_MARKET_SELECTORS, PROVER_MARKET_SUBMIT_DOMAIN, PROVER_SLASH_REASON_BAD_PROOF, PROVER_SLASH_REASON_NON_DELIVERY, PUBKEY_REGISTRY_ML_DSA_65_PUBLIC_KEY_LEN, PUBKEY_REGISTRY_SELECTORS, ProofVerifier, ProofVerifyError, ProverMarketError, PubkeyRegistryError, QUARANTINED_RPC_CODE, REGISTRY_DEFAULT_EXECUTION_UNIT_LIMIT, RESERVED_ADDRESS_HRPS, RpcClient, SERVES_GPU_PROVE, SERVICE_PROBE_STATUS, SET_POLICY_CLAIM_DOMAIN_TAG, SPENDING_POLICY_SELECTORS, SdkError, SpendingPolicyError, TESTNET_69420, TOKEN_FACTORY_CREATE_DEPOSIT_LYTHOSHI, TOKEN_FACTORY_FLAGS, TOKEN_FACTORY_KNOWN_FLAG_MASK, TOKEN_FACTORY_MAX_CREATOR_FEE_BPS, TOKEN_FACTORY_MAX_DECIMALS, TOKEN_FACTORY_NAME_MAX_BYTES, TOKEN_FACTORY_SELECTORS, TOKEN_FACTORY_SIGS, TOKEN_FACTORY_SYMBOL_MAX_BYTES, TOKEN_FACTORY_TOKEN_ID_DOMAIN_TAG, TRANSFER_DEFAULT_EXECUTION_UNIT_LIMIT, TX_EXTENSION_KIND_MULTISIG, TX_EXTENSION_MULTISIG_V1, TokenFactoryError, V1_BRIDGE_ALLOWED_FEE_TOKEN, V1_BRIDGE_ALLOWED_PROTOCOL, VRF_DOMAIN_TAG_MAX_BYTES, VRF_HEIGHT_NOT_FINALIZED_REVERT, VRF_OUTPUT_BYTES, VrfCallError, addressBytesToHex, addressToBech32, addressToTypedBech32, allowRootFor, apiEndpointFromRpcEndpoint, archiveMerkleInnerHash, archiveMerkleLeafHash, asBinaryProofEnvelope, assembleMultisigSigned, assembleMultisigWitness, assertMrvCallNativeSubmissionPlan, assertMrvDeployNativeSubmissionPlan, assertMrvFeeDisplayConformance, assertMrvStructuredFeeConformance, assertNativeDevMrcTokenPlan, assertNativeDevMrvDeployPlan, assertNativeDevWalletApprovalRequest, assertNativeMarketOrderBookStreamPayload, assessBridgeRoute, bech32ToAddress, bech32ToAddressBytes, bidSighash, bridgeAddressHex, bridgeDrainRemaining, bridgeQuoteSubmitReadiness, bridgeRoutesReadiness, bridgeTransferCandidates, buildBridgeRouteCatalogue, buildCancelSpotOrderPlan, buildMrvCallNativeTxPlan, buildMrvCallPlan, buildMrvCallRequest, buildMrvDeployNativeTxPlan, buildMrvDeployPayloadNativeTxPlan, buildMrvDeployPayloadPlan, buildMrvDeployPayloadRequest, buildMrvDeployPlan, buildMrvDeployRequest, buildNativeAgentCreateEscrowForwarderInput, buildNativeAgentCreateEscrowModuleCall, buildNativeAgentModuleCallEnvelope, buildNativeAgentRecordReputationForwarderInput, buildNativeAgentRecordReputationModuleCall, buildNativeAgentSetSpendingPolicyForwarderInput, buildNativeAgentSetSpendingPolicyModuleCall, buildNativeCallForwarderArtifact, buildNativeMarketModuleCallEnvelope, buildNativeNftBuyListingForwarderInput, buildNativeNftBuyListingModuleCall, buildNativeNftCancelListingForwarderInput, buildNativeNftCancelListingModuleCall, buildNativeNftCreateListingForwarderInput, buildNativeNftCreateListingModuleCall, buildNativeNftPlaceAuctionBidForwarderInput, buildNativeNftPlaceAuctionBidModuleCall, buildNativeNftSettleAuctionForwarderInput, buildNativeNftSettleAuctionModuleCall, buildNativeNftSweepExpiredListingsForwarderInput, buildNativeNftSweepExpiredListingsModuleCall, buildNativeSpotCancelOrderForwarderInput, buildNativeSpotCancelOrderModuleCall, buildNativeSpotCreateMarketForwarderInput, buildNativeSpotCreateMarketModuleCall, buildNativeSpotLimitOrderForwarderInput, buildNativeSpotLimitOrderModuleCall, buildNativeSpotSettleLimitOrderForwarderInput, buildNativeSpotSettleLimitOrderModuleCall, buildNativeSpotSettleRoutedLimitOrderForwarderInput, buildNativeSpotSettleRoutedLimitOrderModuleCall, buildPlaceLimitOrderViaPlan, buildPlaceSpotLimitOrderPlan, buildPlaceSpotMarketOrderExPlan, buildPlaceSpotMarketOrderPlan, buildRequestClusterJoinTxFields, buildVoteClusterAdmitTxFields, categoryRoot, checkMrvFeeDisplayConformance, checkMrvStructuredFeeConformance, checkNativeDevkitCompatibility, clampPriorityTip, clobAddressHex, clusterApyPercent, clusterJoinRequestExists, compareNativeDevVersions, composeClaimBoundMessage, computeNoEvmDacFinalityMessage, computeNoEvmLeaderFinalityMessage, computeNoEvmReceiptsRoot, computeNoEvmRoundFinalityMessage, computeNoEvmTargetReceiptHash, computeQuoteLiquidity, consumeNativeEvents, decodeActiveCharter, decodeClusterCharter, decodeClusterDiversity, decodeClusterFormedEvent, decodeClusterJoinRequest, decodeHasPubkeyReturn, decodeLookupPubkeyReturn, decodeNativeAgentStateResponse, decodeNativeMarketOrderBookDeltasResponse, decodeNativeReceiptResponse, decodeNoEvmReceiptTranscript, decodeOperatorFeeChargedEvent, decodeOperatorNetworkMetadata, decodeOracleEvent, decodePendingCharter, decodeProbeAuthority, decodeScoreServiceProbe, decodeTimeWindow, decodeTokenFactoryTokenId, decodeTxFeedResponse, decodeVrfOutput, delegationAddressHex, denyRootFor, deriveArchiveChallenge, deriveClobMarketId, deriveClusterAnchorAddress, deriveClusterJoinOperatorId, deriveFeedId, deriveMrvContractAddress, deriveMultisigAddress, deriveMultisigAddressBytes, deriveNativeSpotMarketId, deriveNativeSpotOrderId, deriveTokenFactoryTokenId, destinationRoot, encodeAnswerArchiveChallengeCalldata, encodeAttestDkgReshareCalldata, encodeAttestServiceProbeCalldata, encodeBlockSelector, encodeBridgeChallengeCalldata, encodeBridgeClaimCalldata, encodeCancelClusterJoinCalldata, encodeCancelOrderCalldata, encodeCancelPendingChangeCalldata, encodeClaimCalldata, encodeClaimPolicyByAddressCalldata, encodeClusterCharter, encodeCommitArchiveRootCalldata, encodeCreateFixedSupplyMrc20Calldata, encodeCreateRequestCalldata, encodeCreateRequestCanonical, encodeCreateTokenCalldata, encodeDelegateCalldata, encodeDisableCalldata, encodeEnableCalldata, encodeExpireClusterJoinCalldata, encodeFormClusterCalldata, encodeFormClusterV2Calldata, encodeGetClusterJoinRequestCalldata, encodeGetPendingCharterCalldata, encodeGetProbeAuthorityCalldata, encodeHasPubkeyCalldata, encodeLockBridgeConfigCalldata, encodeLookupPubkeyCalldata, encodeMrvDeployPayload, encodeMultisigWitnessBody, encodeNameAcceptTransferCall, encodeNameProposeTransferCall, encodeNameRegisterCall, encodeNativeAgentAcceptEscrowCall, encodeNativeAgentApproveEscrowCall, encodeNativeAgentArbiterGetCall, encodeNativeAgentAttestationGetCall, encodeNativeAgentAvailabilityGetCall, encodeNativeAgentCancelEscrowCall, encodeNativeAgentCloseAvailabilityCall, encodeNativeAgentConsentGetCall, encodeNativeAgentCounterEscrowCall, encodeNativeAgentCreateEscrowCall, encodeNativeAgentDeactivateServiceCall, encodeNativeAgentDisputeEscrowCall, encodeNativeAgentEscrowGetCall, encodeNativeAgentGrantConsentCall, encodeNativeAgentIssueAttestationCall, encodeNativeAgentIssuerGetCall, encodeNativeAgentListServiceCall, encodeNativeAgentModuleForwarderInput, encodeNativeAgentOpenAvailabilityCall, encodeNativeAgentRecordPolicySpendCall, encodeNativeAgentRecordReputationCall, encodeNativeAgentRegisterArbiterCall, encodeNativeAgentRegisterIssuerCall, encodeNativeAgentReputationGetCall, encodeNativeAgentResolveEscrowCall, encodeNativeAgentRevokeAttestationCall, encodeNativeAgentRevokeConsentCall, encodeNativeAgentServiceGetCall, encodeNativeAgentSetAvailabilityCall, encodeNativeAgentSetSpendingPolicyCall, encodeNativeAgentSpendingPolicyGetCall, encodeNativeAgentStartEscrowCall, encodeNativeAgentSubmitEscrowCall, encodeNativeMarketModuleForwarderInput, encodeNativeNftBuyListingCall, encodeNativeNftCancelListingCall, encodeNativeNftCreateListingCall, encodeNativeNftPlaceAuctionBidCall, encodeNativeNftSettleAuctionCall, encodeNativeNftSweepExpiredListingsCall, encodeNativeSpotCancelOrderCall, encodeNativeSpotCreateMarketCall, encodeNativeSpotLimitOrderCall, encodeNativeSpotSettleLimitOrderCall, encodeNativeSpotSettleRoutedLimitOrderCall, encodePlaceLimitOrderCalldata, encodePlaceLimitOrderViaCalldata, encodePlaceMarketOrderCalldata, encodePlaceMarketOrderExCalldata, encodeRecoverOperatorNodeCalldata, encodeRedelegateCalldata, encodeRegisterPubkeyCalldata, encodeReportServiceProbeCalldata, encodeRequestClusterJoinCalldata, encodeSetAutoCompoundCalldata, encodeSetBridgeResumeCooldownCalldata, encodeSetBridgeRouteFinalityCalldata, encodeSetLotSizeCalldata, encodeSetMinNotionalCalldata, encodeSetOperatorDisplayCalldata, encodeSetPolicyCalldata, encodeSetPolicyClaimCalldata, encodeSetProbeAuthorityCalldata, encodeSetTickSizeCalldata, encodeSubmitBridgeProofCalldata, encodeSubmitPendingChangeCalldata, encodeTokenFactoryAllowanceCalldata, encodeTokenFactoryApproveCalldata, encodeTokenFactoryBalanceOfCalldata, encodeTokenFactoryBurnCalldata, encodeTokenFactoryDecreaseAllowanceCalldata, encodeTokenFactoryDestroyCalldata, encodeTokenFactoryIncreaseAllowanceCalldata, encodeTokenFactoryMetadataCalldata, encodeTokenFactoryMintCalldata, encodeTokenFactorySetPausedCalldata, encodeTokenFactoryTotalSupplyCalldata, encodeTokenFactoryTransferCalldata, encodeTokenFactoryTransferFromCalldata, encodeTokenFactoryTransferOwnershipCalldata, encodeUndelegateCalldata, encodeUpdateCharterCalldata, encodeVoteClusterAdmitCalldata, encodeVrfEvaluateCalldata, exportBridgeRouteCatalogueJson, fetchChainInfoLatest, fetchChainRegistryLatest, formClusterMessage, formClusterMessageHex, formClusterMessageV2, formClusterMessageV2Hex, formatLyth, formatLythoshi, formatNativeReceiptFeeDisplay, formatOraclePrice, getChainInfo, getNoEvmReceiptTrustPolicy, getP2pSeeds, getRpcEndpoints, hashToHex, hexToAddressBytes, isBridgeAdminLockedRevert, isBridgeCooldownZeroRevert, isBridgeFinalityZeroRevert, isBridgeResumeCooldownActiveRevert, isConcreteServiceProbeStatus, isNativeDecodedEvent, isNativeMarketOrderBookStreamPayload, isQuarantineError, isSinglePublicServiceProbeMask, isUnexpectedValueRevert, isValidNodeRegistryCapabilities, isValidPublicServiceProbeMask, mrvAddressToBech32, mrvBech32ToAddress, mrvCodeHashHex, mrvV1TransactionExtension, multisigBaseSighash, multisigMemberIndex, nameLengthModifierX10, nameRegistrationCost, nameRegistryAddressHex, nativeAgentStateFilterParams, nativeDevSchemaFieldNames, nativeDevUiStrings, nativeEventMatches, nativeEventsFilterParams, nativeEventsFromHistory, nativeEventsFromReceipt, nativeMarketEventFilter, nativeMarketEventsFromHistory, nativeMarketEventsFromReceipt, nativeMarketStateFilterParams, noEvmReceiptTrustPolicyFromChainInfo, nodeHostingClassFromByte, nodeHostingClassToByte, nodeRegistryAddressHex, normalizeAddressHex, normalizeBridgeRouteCatalogue, normalizePendingChangeKind, oracleAddressHex, oraclePriceToNumber, packTimeWindow, parseAddress, parseBridgeRouteCatalogueJson, parseChainRegistryToml, parseDkgResharePublicKeys, parseLythToLythoshi, parseNameCategory, parseNativeDecodedEvent, parseQuantity, parseQuantityBig, preflightClusterJoinRequest, previewRequestClusterJoin, previewVoteClusterAdmit, proofVerifier, protocolNonceForEpoch, proverMarketStateFromByte, pubkeyRegistryAddressHex, quoteOperatorFee, rankBridgeRoutes, rankMarketsByVolume, readClusterJoinRequest, requestSighash, requireTypedAddress, resolveClusterJoinExecutionFee, resolveExecutionFee, resolveMaxExecutionUnitPrice, resolveRegistryExecutionFee, resolveStudioHostStatus, selectBridgeTransferRoute, selectTrustedOperator, selectTrustedOperatorForNetwork, serviceMaskToBitIndex, serviceProbeStatusLabel, setDestinationRoot, slotArchiveChallengePass, slotClusterCharter, slotClusterCharterDelegator, slotClusterCharterMembers, slotClusterServiceScore, slotEpochChallengeSeed, slotProbeAuthority, slotScoreServiceProbe, sortMultisigMembers, spendingPolicyAddressHex, submitMrvCallNativeTx, submitMrvDeployNativeTx, submitMrvDeployPayloadNativeTx, submitRequestClusterJoin, submitSighash, submitVoteClusterAdmit, tokenFactoryAddressHex, transactionFeeExposure, typedBech32ToAddress, updateCharterMessage, updateCharterMessageHex, validateAddress, validateBridgeRouteCatalogue, validateMrvArtifactMetadata, validateMrvCallRequest, validateMrvDeployRequest, validateMultisigRoster, validateTokenFactoryFlags, verifyNoEvmArchiveProofSignatures, verifyNoEvmBlockFinalityEvidenceMultisig, verifyNoEvmBlockFinalityEvidenceThreshold, verifyNoEvmFinalityEvidenceMultisig, verifyNoEvmFinalityEvidenceThreshold, verifyNoEvmReceiptProof, verifyNoEvmReceiptProofTrust, verifyOperatorGenesis, version, vrfAddressHex };
|
|
12313
|
+
export { ADDRESS_HRP, ADDRESS_KIND_HRPS, API_STREAM_TOPICS, AddressError, AgentActionError, ApiClient, BRIDGE_QUOTE_API_BLOCKED_REASON, BRIDGE_REVERT_TAGS, BRIDGE_SELECTORS, BRIDGE_SUBMIT_API_BLOCKED_REASON, BURN_ADDR, BridgePrecompileError, BridgeRouteCatalogueError, CHAIN_REGISTRY, CHAIN_REGISTRY_RAW_BASE, CLOB_MARKET_ID_DOMAIN_TAG, CLOB_SELECTORS, CLUSTER_FORMED_EVENT_SIG, DEFAULT_CLUSTER_JOIN_EXECUTION_UNIT_LIMIT, DEFAULT_SEAT_EXECUTION_UNIT_LIMIT, DELEGATION_REVERT_TAGS, DELEGATION_SELECTORS, DIVERSITY_SCORE_MAX, DelegationPrecompileError, EMPTY_ROOT, EXECUTION_UNIT_PRICE_SAFETY_MULTIPLIER, FEED_ID_DOMAIN_TAG, LYTHOSHI_PER_LYTH, LYTH_DECIMALS, MAX_MULTISIG_MEMBERS, MAX_NATIVE_CALL_FORWARDER_REQUEST_BYTES, MAX_NATIVE_RECEIPT_EVENTS, MIN_EXECUTION_UNIT_PRICE_LYTHOSHI, MIN_MULTISIG_MEMBERS, ML_DSA_65_PUBLIC_KEY_LEN2 as ML_DSA_65_PUBLIC_KEY_LEN, ML_DSA_65_SIGNATURE_LEN2 as ML_DSA_65_SIGNATURE_LEN, MONOLYTHIUM_NETWORKS, MONOLYTHIUM_TESTNET_CHAIN_ID, MONOLYTHIUM_TESTNET_NETWORK_NAME, MRV_DEPLOY_PAYLOAD_VERSION, MRV_FORMAT_VERSION, MRV_MAX_ABI_SYMBOLS, MRV_MAX_CODE_BYTES, MRV_MAX_DEBUG_BYTES, MRV_MAX_MEMORY_PAGES, MRV_MAX_STORAGE_NAMESPACE_BYTES, MRV_MEMORY_PAGE_BYTES, MRV_PROFILE_MONO_RV32IM_V1, MRV_STRUCTURED_FEE_FIELDS, MRV_TX_EXTENSION_KIND, MRV_TX_EXTENSION_V1, MULTISIG_ADDRESS_DERIVATION_DOMAIN, MULTISIG_ADDRESS_DERIVATION_DOMAIN2 as MULTISIG_WITNESS_ADDRESS_DERIVATION_DOMAIN, MULTISIG_WITNESS_DOMAIN, MarketActionError, MrvValidationError, MultisigError, NAME_BASE_MULTIPLIER, NAME_FALLBACK_FEE_UNIT_LYTHOSHI, NAME_LABEL_MAX_LEN, NAME_LABEL_MIN_LEN, NAME_MAX_LEN, NAME_REGISTRY_SELECTORS, NATIVE_AGENT_MODULE_ADDRESS, NATIVE_AGENT_MODULE_ADDRESS_BYTES, NATIVE_CALL_FORWARDER_ARTIFACT_PROFILE, NATIVE_CALL_FORWARDER_RESPONSE_CAPACITY, NATIVE_CALL_FORWARDER_RESPONSE_OFFSET, NATIVE_DEV_HOST_API_VERSION, NATIVE_DEV_IPC_PROTOCOL_VERSION, NATIVE_DEV_MANIFEST_SCHEMA_VERSION, NATIVE_LYTH_DECIMALS, NATIVE_MARKET_EVENT_FAMILY, NATIVE_MARKET_MODULE_ADDRESS, NATIVE_MARKET_MODULE_ADDRESS_BYTES, NATIVE_MARKET_ORDER_BOOK_STREAM_TOPIC, NODE_REGISTRY_ARCHIVE_CHALLENGE_DOMAIN, NODE_REGISTRY_ARCHIVE_KIND_EPOCH_SEED, NODE_REGISTRY_ARCHIVE_NONCE_DOMAIN, NODE_REGISTRY_BLS_PUBKEY_BYTES, NODE_REGISTRY_CAPABILITIES, NODE_REGISTRY_CAPABILITY_MASK, NODE_REGISTRY_CHALLENGE_EPOCH_WINDOW, NODE_REGISTRY_CHARTER_COOLDOWN_EPOCHS, NODE_REGISTRY_CLUSTER_CHARTER_BYTES, NODE_REGISTRY_CLUSTER_CHARTER_DELEGATOR_FLOOR_BPS, NODE_REGISTRY_CLUSTER_CHARTER_SHARE_DENOM_BPS, NODE_REGISTRY_CLUSTER_MEMBER_REF_BYTES, NODE_REGISTRY_CONSENSUS_POP_BYTES, NODE_REGISTRY_CONSENSUS_PUBKEY_BYTES, NODE_REGISTRY_CONSENSUS_SIGNATURE_BYTES, NODE_REGISTRY_DKG_ATTESTATION_SIG_BYTES, NODE_REGISTRY_DKG_RESHARE_MAX_SIGNERS, NODE_REGISTRY_DKG_RESHARE_MIN_SIGNERS, NODE_REGISTRY_DKG_THRESHOLD_SIG_BYTES, NODE_REGISTRY_FORM_CLUSTER_ACTIVE_COUNT, NODE_REGISTRY_FORM_CLUSTER_MEMBER_COUNT, NODE_REGISTRY_FORM_CLUSTER_MESSAGE_DOMAIN, NODE_REGISTRY_FORM_CLUSTER_MESSAGE_DOMAIN_V2, NODE_REGISTRY_FORM_CLUSTER_STANDBY_COUNT, NODE_REGISTRY_FORM_CLUSTER_THRESHOLD, NODE_REGISTRY_LEGACY_CLUSTER_MEMBER_PUBKEY_BYTES, NODE_REGISTRY_MAX_MERKLE_PROOF_DEPTH, NODE_REGISTRY_MERKLE_INNER_DOMAIN, NODE_REGISTRY_MERKLE_LEAF_DOMAIN, NODE_REGISTRY_MIN_ARCHIVE_LEAF_COUNT, NODE_REGISTRY_MIN_SELF_BOND_LYTHOSHI, NODE_REGISTRY_OPERATOR_ALIAS_MAX_BYTES, NODE_REGISTRY_OPERATOR_MONIKER_MAX_BYTES, NODE_REGISTRY_PENDING_CHANGE_MAX_INTENT_ID, NODE_REGISTRY_PUBLIC_SERVICE_MASK, NODE_REGISTRY_SEAT_KIND_ACTIVE, NODE_REGISTRY_SEAT_KIND_STANDBY, NODE_REGISTRY_SELECTORS, NODE_REGISTRY_SUBKIND_CHARTER_DELEGATOR_BPS, NODE_REGISTRY_SUBKIND_CHARTER_MEMBER_SHARES, NODE_REGISTRY_TAG_ARCHIVE_CHALLENGE, NODE_REGISTRY_TAG_CLUSTER_CHARTER, NODE_REGISTRY_TAG_CLUSTER_SEAT, NODE_REGISTRY_TAG_SERVICE_SCORE, NODE_REGISTRY_TAG_TREASURY, NODE_REGISTRY_UPDATE_CHARTER_MESSAGE_DOMAIN, NODE_REGISTRY_UPDATE_CHARTER_THRESHOLD, NO_EVM_ARCHIVE_PROOF_SCHEMA, NO_EVM_ARCHIVE_SIGNATURE_SCHEME, NO_EVM_FINALITY_EVIDENCE_SCHEMA, NO_EVM_FINALITY_EVIDENCE_SOURCE, NO_EVM_RECEIPTS_ROOT_DOMAIN, NO_EVM_RECEIPT_CODEC, NO_EVM_RECEIPT_PROOF_SCHEMA, NO_EVM_RECEIPT_PROOF_TYPE, NO_EVM_RECEIPT_ROOT_ALGORITHM, NameRegistryError, NoEvmReceiptProofError, NodeRegistryError, OPERATOR_ROUTER_ADDRESS, OPERATOR_ROUTER_EVENT_SIGS, OPERATOR_ROUTER_SELECTORS, OPERATOR_ROUTER_SIGS, ORACLE_EVENT_SIGS, OperatorTrustError, OracleEventError, PENDING_CHANGE_KIND_CODES, PRECOMPILE_ADDRESSES, PROOF_KIND_BINARY, PROTOCOL_MAX_OPERATOR_FEE_BPS, PROVER_MARKET_ADDRESS, PROVER_MARKET_BID_DOMAIN, PROVER_MARKET_EVENT_SIGS, PROVER_MARKET_REQUEST_DOMAIN, PROVER_MARKET_SELECTORS, PROVER_MARKET_SUBMIT_DOMAIN, PROVER_SLASH_REASON_BAD_PROOF, PROVER_SLASH_REASON_NON_DELIVERY, PUBKEY_REGISTRY_ML_DSA_65_PUBLIC_KEY_LEN, PUBKEY_REGISTRY_SELECTORS, ProofVerifier, ProofVerifyError, ProverMarketError, PubkeyRegistryError, QUARANTINED_RPC_CODE, REGISTRY_DEFAULT_EXECUTION_UNIT_LIMIT, RESERVED_ADDRESS_HRPS, RpcClient, SEAT_ADVERTISED_EVENT_SIG, SEAT_APPLIED_EVENT_SIG, SEAT_CLOSED_EVENT_SIG, SEAT_FILLED_EVENT_SIG, SEAT_KINDS, SEAT_STATUS_CODES, SERVES_GPU_PROVE, SERVICE_PROBE_STATUS, SET_POLICY_CLAIM_DOMAIN_TAG, SPENDING_POLICY_SELECTORS, SdkError, SpendingPolicyError, TESTNET_69420, TOKEN_FACTORY_CREATE_DEPOSIT_LYTHOSHI, TOKEN_FACTORY_FLAGS, TOKEN_FACTORY_KNOWN_FLAG_MASK, TOKEN_FACTORY_MAX_CREATOR_FEE_BPS, TOKEN_FACTORY_MAX_DECIMALS, TOKEN_FACTORY_NAME_MAX_BYTES, TOKEN_FACTORY_SELECTORS, TOKEN_FACTORY_SIGS, TOKEN_FACTORY_SYMBOL_MAX_BYTES, TOKEN_FACTORY_TOKEN_ID_DOMAIN_TAG, TRANSFER_DEFAULT_EXECUTION_UNIT_LIMIT, TX_EXTENSION_KIND_MULTISIG, TX_EXTENSION_MULTISIG_V1, TokenFactoryError, V1_BRIDGE_ALLOWED_FEE_TOKEN, V1_BRIDGE_ALLOWED_PROTOCOL, VRF_DOMAIN_TAG_MAX_BYTES, VRF_HEIGHT_NOT_FINALIZED_REVERT, VRF_OUTPUT_BYTES, VrfCallError, addressBytesToHex, addressToBech32, addressToTypedBech32, allowRootFor, apiEndpointFromRpcEndpoint, archiveMerkleInnerHash, archiveMerkleLeafHash, asBinaryProofEnvelope, assembleMultisigSigned, assembleMultisigWitness, assertMrvCallNativeSubmissionPlan, assertMrvDeployNativeSubmissionPlan, assertMrvFeeDisplayConformance, assertMrvStructuredFeeConformance, assertNativeDevMrcTokenPlan, assertNativeDevMrvDeployPlan, assertNativeDevWalletApprovalRequest, assertNativeMarketOrderBookStreamPayload, assessBridgeRoute, bech32ToAddress, bech32ToAddressBytes, bidSighash, bridgeAddressHex, bridgeDrainRemaining, bridgeQuoteSubmitReadiness, bridgeRoutesReadiness, bridgeTransferCandidates, buildAdvertiseSeatTxFields, buildApplyForSeatTxFields, buildBridgeRouteCatalogue, buildCancelSpotOrderPlan, buildCloseSeatTxFields, buildMrvCallNativeTxPlan, buildMrvCallPlan, buildMrvCallRequest, buildMrvDeployNativeTxPlan, buildMrvDeployPayloadNativeTxPlan, buildMrvDeployPayloadPlan, buildMrvDeployPayloadRequest, buildMrvDeployPlan, buildMrvDeployRequest, buildNativeAgentCreateEscrowForwarderInput, buildNativeAgentCreateEscrowModuleCall, buildNativeAgentModuleCallEnvelope, buildNativeAgentRecordReputationForwarderInput, buildNativeAgentRecordReputationModuleCall, buildNativeAgentSetSpendingPolicyForwarderInput, buildNativeAgentSetSpendingPolicyModuleCall, buildNativeCallForwarderArtifact, buildNativeMarketModuleCallEnvelope, buildNativeNftBuyListingForwarderInput, buildNativeNftBuyListingModuleCall, buildNativeNftCancelListingForwarderInput, buildNativeNftCancelListingModuleCall, buildNativeNftCreateListingForwarderInput, buildNativeNftCreateListingModuleCall, buildNativeNftPlaceAuctionBidForwarderInput, buildNativeNftPlaceAuctionBidModuleCall, buildNativeNftSettleAuctionForwarderInput, buildNativeNftSettleAuctionModuleCall, buildNativeNftSweepExpiredListingsForwarderInput, buildNativeNftSweepExpiredListingsModuleCall, buildNativeSpotCancelOrderForwarderInput, buildNativeSpotCancelOrderModuleCall, buildNativeSpotCreateMarketForwarderInput, buildNativeSpotCreateMarketModuleCall, buildNativeSpotLimitOrderForwarderInput, buildNativeSpotLimitOrderModuleCall, buildNativeSpotSettleLimitOrderForwarderInput, buildNativeSpotSettleLimitOrderModuleCall, buildNativeSpotSettleRoutedLimitOrderForwarderInput, buildNativeSpotSettleRoutedLimitOrderModuleCall, buildPlaceLimitOrderViaPlan, buildPlaceSpotLimitOrderPlan, buildPlaceSpotMarketOrderExPlan, buildPlaceSpotMarketOrderPlan, buildRequestClusterJoinTxFields, buildVoteClusterAdmitTxFields, buildVoteSeatAdmitTxFields, buildWithdrawSeatApplicationTxFields, categoryRoot, checkMrvFeeDisplayConformance, checkMrvStructuredFeeConformance, checkNativeDevkitCompatibility, clampPriorityTip, clobAddressHex, clusterApyPercent, clusterJoinRequestExists, compareNativeDevVersions, composeClaimBoundMessage, computeNoEvmDacFinalityMessage, computeNoEvmLeaderFinalityMessage, computeNoEvmReceiptsRoot, computeNoEvmRoundFinalityMessage, computeNoEvmTargetReceiptHash, computeQuoteLiquidity, consumeNativeEvents, decodeActiveCharter, decodeClusterCharter, decodeClusterDiversity, decodeClusterFormedEvent, decodeClusterJoinRequest, decodeHasPubkeyReturn, decodeLookupPubkeyReturn, decodeNativeAgentStateResponse, decodeNativeMarketOrderBookDeltasResponse, decodeNativeReceiptResponse, decodeNoEvmReceiptTranscript, decodeOperatorFeeChargedEvent, decodeOperatorNetworkMetadata, decodeOracleEvent, decodePendingCharter, decodeProbeAuthority, decodeScoreServiceProbe, decodeSeatAdvertisedEvent, decodeSeatAppliedEvent, decodeSeatClosedEvent, decodeSeatFilledEvent, decodeTimeWindow, decodeTokenFactoryTokenId, decodeTxFeedResponse, decodeVrfOutput, delegationAddressHex, denyRootFor, deriveArchiveChallenge, deriveClobMarketId, deriveClusterAnchorAddress, deriveClusterJoinOperatorId, deriveFeedId, deriveMrvContractAddress, deriveMultisigAddress, deriveMultisigAddressBytes, deriveNativeSpotMarketId, deriveNativeSpotOrderId, deriveSeatApplicationKey, deriveTokenFactoryTokenId, destinationRoot, encodeAdvertiseSeatCalldata, encodeAnswerArchiveChallengeCalldata, encodeApplyForSeatCalldata, encodeAttestDkgReshareCalldata, encodeAttestServiceProbeCalldata, encodeBlockSelector, encodeBridgeChallengeCalldata, encodeBridgeClaimCalldata, encodeCancelClusterJoinCalldata, encodeCancelOrderCalldata, encodeCancelPendingChangeCalldata, encodeClaimCalldata, encodeClaimPolicyByAddressCalldata, encodeCloseSeatCalldata, encodeClusterCharter, encodeCommitArchiveRootCalldata, encodeCreateFixedSupplyMrc20Calldata, encodeCreateRequestCalldata, encodeCreateRequestCanonical, encodeCreateTokenCalldata, encodeDelegateCalldata, encodeDisableCalldata, encodeEnableCalldata, encodeExpireClusterJoinCalldata, encodeFormClusterCalldata, encodeFormClusterV2Calldata, encodeGetClusterJoinRequestCalldata, encodeGetPendingCharterCalldata, encodeGetProbeAuthorityCalldata, encodeHasPubkeyCalldata, encodeLockBridgeConfigCalldata, encodeLookupPubkeyCalldata, encodeMrvDeployPayload, encodeMultisigWitnessBody, encodeNameAcceptTransferCall, encodeNameProposeTransferCall, encodeNameRegisterCall, encodeNativeAgentAcceptEscrowCall, encodeNativeAgentApproveEscrowCall, encodeNativeAgentArbiterGetCall, encodeNativeAgentAttestationGetCall, encodeNativeAgentAvailabilityGetCall, encodeNativeAgentCancelEscrowCall, encodeNativeAgentCloseAvailabilityCall, encodeNativeAgentConsentGetCall, encodeNativeAgentCounterEscrowCall, encodeNativeAgentCreateEscrowCall, encodeNativeAgentDeactivateServiceCall, encodeNativeAgentDisputeEscrowCall, encodeNativeAgentEscrowGetCall, encodeNativeAgentGrantConsentCall, encodeNativeAgentIssueAttestationCall, encodeNativeAgentIssuerGetCall, encodeNativeAgentListServiceCall, encodeNativeAgentModuleForwarderInput, encodeNativeAgentOpenAvailabilityCall, encodeNativeAgentRecordPolicySpendCall, encodeNativeAgentRecordReputationCall, encodeNativeAgentRegisterArbiterCall, encodeNativeAgentRegisterIssuerCall, encodeNativeAgentReputationGetCall, encodeNativeAgentResolveEscrowCall, encodeNativeAgentRevokeAttestationCall, encodeNativeAgentRevokeConsentCall, encodeNativeAgentServiceGetCall, encodeNativeAgentSetAvailabilityCall, encodeNativeAgentSetSpendingPolicyCall, encodeNativeAgentSpendingPolicyGetCall, encodeNativeAgentStartEscrowCall, encodeNativeAgentSubmitEscrowCall, encodeNativeMarketModuleForwarderInput, encodeNativeNftBuyListingCall, encodeNativeNftCancelListingCall, encodeNativeNftCreateListingCall, encodeNativeNftPlaceAuctionBidCall, encodeNativeNftSettleAuctionCall, encodeNativeNftSweepExpiredListingsCall, encodeNativeSpotCancelOrderCall, encodeNativeSpotCreateMarketCall, encodeNativeSpotLimitOrderCall, encodeNativeSpotSettleLimitOrderCall, encodeNativeSpotSettleRoutedLimitOrderCall, encodePlaceLimitOrderCalldata, encodePlaceLimitOrderViaCalldata, encodePlaceMarketOrderCalldata, encodePlaceMarketOrderExCalldata, encodeRecoverOperatorNodeCalldata, encodeRedelegateCalldata, encodeRegisterPubkeyCalldata, encodeReportServiceProbeCalldata, encodeRequestClusterJoinCalldata, encodeSetAutoCompoundCalldata, encodeSetBridgeResumeCooldownCalldata, encodeSetBridgeRouteFinalityCalldata, encodeSetLotSizeCalldata, encodeSetMinNotionalCalldata, encodeSetOperatorDisplayCalldata, encodeSetPolicyCalldata, encodeSetPolicyClaimCalldata, encodeSetProbeAuthorityCalldata, encodeSetTickSizeCalldata, encodeSubmitBridgeProofCalldata, encodeSubmitPendingChangeCalldata, encodeTokenFactoryAllowanceCalldata, encodeTokenFactoryApproveCalldata, encodeTokenFactoryBalanceOfCalldata, encodeTokenFactoryBurnCalldata, encodeTokenFactoryDecreaseAllowanceCalldata, encodeTokenFactoryDestroyCalldata, encodeTokenFactoryIncreaseAllowanceCalldata, encodeTokenFactoryMetadataCalldata, encodeTokenFactoryMintCalldata, encodeTokenFactorySetPausedCalldata, encodeTokenFactoryTotalSupplyCalldata, encodeTokenFactoryTransferCalldata, encodeTokenFactoryTransferFromCalldata, encodeTokenFactoryTransferOwnershipCalldata, encodeUndelegateCalldata, encodeUpdateCharterCalldata, encodeVoteClusterAdmitCalldata, encodeVoteSeatAdmitCalldata, encodeVrfEvaluateCalldata, encodeWithdrawSeatApplicationCalldata, exportBridgeRouteCatalogueJson, fetchChainInfoLatest, fetchChainRegistryLatest, formClusterMessage, formClusterMessageHex, formClusterMessageV2, formClusterMessageV2Hex, formatLyth, formatLythoshi, formatNativeReceiptFeeDisplay, formatOraclePrice, getChainInfo, getNoEvmReceiptTrustPolicy, getP2pSeeds, getRpcEndpoints, hashToHex, hexToAddressBytes, isBridgeAdminLockedRevert, isBridgeCooldownZeroRevert, isBridgeFinalityZeroRevert, isBridgeResumeCooldownActiveRevert, isConcreteServiceProbeStatus, isNativeDecodedEvent, isNativeMarketOrderBookStreamPayload, isQuarantineError, isSinglePublicServiceProbeMask, isUnexpectedValueRevert, isValidNodeRegistryCapabilities, isValidPublicServiceProbeMask, mrvAddressToBech32, mrvBech32ToAddress, mrvCodeHashHex, mrvV1TransactionExtension, multisigBaseSighash, multisigMemberIndex, nameLengthModifierX10, nameRegistrationCost, nameRegistryAddressHex, nativeAgentStateFilterParams, nativeDevSchemaFieldNames, nativeDevUiStrings, nativeEventMatches, nativeEventsFilterParams, nativeEventsFromHistory, nativeEventsFromReceipt, nativeMarketEventFilter, nativeMarketEventsFromHistory, nativeMarketEventsFromReceipt, nativeMarketStateFilterParams, noEvmReceiptTrustPolicyFromChainInfo, nodeHostingClassFromByte, nodeHostingClassToByte, nodeRegistryAddressHex, normalizeAddressHex, normalizeBridgeRouteCatalogue, normalizePendingChangeKind, openSeatFromAdvertised, oracleAddressHex, oraclePriceToNumber, packTimeWindow, parseAddress, parseBridgeRouteCatalogueJson, parseChainRegistryToml, parseDkgResharePublicKeys, parseLythToLythoshi, parseNameCategory, parseNativeDecodedEvent, parseQuantity, parseQuantityBig, preflightClusterJoinRequest, previewRequestClusterJoin, previewVoteClusterAdmit, proofVerifier, protocolNonceForEpoch, proverMarketStateFromByte, pubkeyRegistryAddressHex, quoteOperatorFee, rankBridgeRoutes, rankMarketsByVolume, readClusterJoinRequest, requestSighash, requireTypedAddress, resolveClusterJoinExecutionFee, resolveExecutionFee, resolveMaxExecutionUnitPrice, resolveRegistryExecutionFee, resolveSeatExecutionFee, resolveStudioHostStatus, seatKindFromByte, seatKindToByte, seatStatusFromByte, selectBridgeTransferRoute, selectTrustedOperator, selectTrustedOperatorForNetwork, serviceMaskToBitIndex, serviceProbeStatusLabel, setDestinationRoot, slotArchiveChallengePass, slotClusterCharter, slotClusterCharterDelegator, slotClusterCharterMembers, slotClusterServiceScore, slotEpochChallengeSeed, slotProbeAuthority, slotScoreServiceProbe, sortMultisigMembers, spendingPolicyAddressHex, submitMrvCallNativeTx, submitMrvDeployNativeTx, submitMrvDeployPayloadNativeTx, submitRequestClusterJoin, submitSighash, submitVoteClusterAdmit, tokenFactoryAddressHex, transactionFeeExposure, typedBech32ToAddress, updateCharterMessage, updateCharterMessageHex, validateAddress, validateBridgeRouteCatalogue, validateMrvArtifactMetadata, validateMrvCallRequest, validateMrvDeployRequest, validateMultisigRoster, validateTokenFactoryFlags, verifyNoEvmArchiveProofSignatures, verifyNoEvmBlockFinalityEvidenceMultisig, verifyNoEvmBlockFinalityEvidenceThreshold, verifyNoEvmFinalityEvidenceMultisig, verifyNoEvmFinalityEvidenceThreshold, verifyNoEvmReceiptProof, verifyNoEvmReceiptProofTrust, verifyOperatorGenesis, version, vrfAddressHex };
|
|
11993
12314
|
//# sourceMappingURL=index.js.map
|
|
11994
12315
|
//# sourceMappingURL=index.js.map
|