@monolythium/core-sdk 0.2.1 → 0.3.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/README.md +12 -26
- package/dist/crypto/index.d.cts +2 -3
- package/dist/crypto/index.d.ts +2 -3
- package/dist/index.cjs +155 -53
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +83 -23
- package/dist/index.d.ts +83 -23
- package/dist/index.js +153 -54
- package/dist/index.js.map +1 -1
- package/dist/{native-events-BEkkGoak.d.cts → submission-D8xzCLNl.d.cts} +157 -60
- package/dist/{native-events-BEkkGoak.d.ts → submission-D8xzCLNl.d.ts} +157 -60
- package/package.json +2 -16
- package/dist/ethers/index.cjs +0 -2116
- package/dist/ethers/index.cjs.map +0 -1
- package/dist/ethers/index.d.cts +0 -300
- package/dist/ethers/index.d.ts +0 -300
- package/dist/ethers/index.js +0 -2107
- package/dist/ethers/index.js.map +0 -1
- package/dist/network-BK2u9br2.d.cts +0 -31
- package/dist/network-BK2u9br2.d.ts +0 -31
- package/dist/submission-BrsftNSl.d.cts +0 -131
- package/dist/submission-CelGfDRQ.d.ts +0 -131
package/dist/index.js
CHANGED
|
@@ -347,23 +347,23 @@ var PRECOMPILE_ADDRESSES = {
|
|
|
347
347
|
TOKEN_FACTORY: "0x0000000000000000000000000000000000001000",
|
|
348
348
|
/** Native central-limit order book — gateable. */
|
|
349
349
|
CLOB: "0x0000000000000000000000000000000000001001",
|
|
350
|
-
/** Agent execution surface
|
|
350
|
+
/** Agent execution surface — gateable. */
|
|
351
351
|
AGENT: "0x0000000000000000000000000000000000001003",
|
|
352
352
|
/** Account privacy policy + stealth/confidential ops — gateable. */
|
|
353
353
|
PRIVACY: "0x0000000000000000000000000000000000001004",
|
|
354
354
|
/** Operator + RPC node registry — non-gateable consensus invariant. */
|
|
355
355
|
NODE_REGISTRY: "0x0000000000000000000000000000000000001005",
|
|
356
|
-
/** Native
|
|
356
|
+
/** Native bridge route-control surface — gateable. */
|
|
357
357
|
BRIDGE: "0x0000000000000000000000000000000000001008",
|
|
358
|
-
/** Decentralized multi-signer oracle
|
|
358
|
+
/** Decentralized multi-signer oracle — non-gateable. */
|
|
359
359
|
ORACLE: "0x0000000000000000000000000000000000001009",
|
|
360
|
-
/** Distributed delegation primitive
|
|
360
|
+
/** Distributed delegation primitive — gateable. */
|
|
361
361
|
DELEGATION: "0x000000000000000000000000000000000000100A",
|
|
362
|
-
/** One-time emergency-key registry
|
|
362
|
+
/** One-time emergency-key registry — non-gateable. */
|
|
363
363
|
EMERGENCY_KEY: "0x0000000000000000000000000000000000001100",
|
|
364
|
-
/** VRF precompile
|
|
364
|
+
/** VRF precompile. */
|
|
365
365
|
VRF: "0x0000000000000000000000000000000000001101",
|
|
366
|
-
/** Streaming-payments primitive
|
|
366
|
+
/** Streaming-payments primitive — gateable. */
|
|
367
367
|
STREAMING_PAYMENTS: "0x0000000000000000000000000000000000001102",
|
|
368
368
|
/** Cluster-name registry. */
|
|
369
369
|
CLUSTER_NAME_REGISTRY: "0x0000000000000000000000000000000000001104",
|
|
@@ -381,11 +381,11 @@ var PRECOMPILE_ADDRESSES = {
|
|
|
381
381
|
ESCROW: "0x000000000000000000000000000000000000110A",
|
|
382
382
|
/** Agent-commerce arbiter registry. */
|
|
383
383
|
ARBITER_REGISTRY: "0x000000000000000000000000000000000000110B",
|
|
384
|
-
/** Agent spending policy — gateable
|
|
384
|
+
/** Agent spending policy — gateable. */
|
|
385
385
|
SPENDING_POLICY: "0x000000000000000000000000000000000000110C",
|
|
386
|
-
/** Primary ML-DSA-65 pubkey registry — gateable
|
|
386
|
+
/** Primary ML-DSA-65 pubkey registry — gateable. */
|
|
387
387
|
PUBKEY_REGISTRY: "0x000000000000000000000000000000000000110D",
|
|
388
|
-
/** Hierarchical name registry
|
|
388
|
+
/** Hierarchical name registry — gateable. */
|
|
389
389
|
NAME_REGISTRY: "0x000000000000000000000000000000000000110E"
|
|
390
390
|
};
|
|
391
391
|
|
|
@@ -2331,23 +2331,9 @@ var RpcClient = class _RpcClient {
|
|
|
2331
2331
|
async ethGetTransactionReceipt(txHash) {
|
|
2332
2332
|
return normalizeTransactionReceipt(await this.call("eth_getTransactionReceipt", [txHash]));
|
|
2333
2333
|
}
|
|
2334
|
-
/** `eth_sendRawTransaction` — submit a signed raw tx. */
|
|
2335
|
-
async ethSendRawTransaction(rawTx) {
|
|
2336
|
-
return this.call("eth_sendRawTransaction", [rawTx]);
|
|
2337
|
-
}
|
|
2338
|
-
/** `eth_call` — dry-run a transaction. */
|
|
2339
|
-
async ethCall(request, block = "latest") {
|
|
2340
|
-
return this.call("eth_call", [request, encodeBlockSelector(block)]);
|
|
2341
|
-
}
|
|
2342
|
-
/** `eth_estimateGas` — gas estimate for a dry-run. */
|
|
2343
|
-
async ethEstimateGas(request, block = "latest") {
|
|
2344
|
-
return parseQuantityBig(
|
|
2345
|
-
await this.call("eth_estimateGas", [request, encodeBlockSelector(block)])
|
|
2346
|
-
);
|
|
2347
|
-
}
|
|
2348
2334
|
/**
|
|
2349
|
-
* `eth_gasPrice` —
|
|
2350
|
-
* Native
|
|
2335
|
+
* `eth_gasPrice` — passive compatibility fee quote for EVM-shaped read
|
|
2336
|
+
* tooling. Native callers should prefer `lythExecutionUnitPrice`.
|
|
2351
2337
|
*/
|
|
2352
2338
|
async ethGasPrice() {
|
|
2353
2339
|
return parseQuantityBig(await this.call("eth_gasPrice", []));
|
|
@@ -2386,7 +2372,7 @@ var RpcClient = class _RpcClient {
|
|
|
2386
2372
|
async web3Sha3(data) {
|
|
2387
2373
|
return this.call("web3_sha3", [data]);
|
|
2388
2374
|
}
|
|
2389
|
-
// ---- lyth_*
|
|
2375
|
+
// ---- lyth_* native namespace --------------------------------------
|
|
2390
2376
|
/** `lyth_listProviders` — paged registry enumeration. */
|
|
2391
2377
|
async lythListProviders(capabilityMask, cursor = null, limit = 100) {
|
|
2392
2378
|
return this.call("lyth_listProviders", [capabilityMask, cursor, limit]);
|
|
@@ -2618,14 +2604,26 @@ var RpcClient = class _RpcClient {
|
|
|
2618
2604
|
async lythCurrentRound() {
|
|
2619
2605
|
return normalizeRoundInfo(await this.call("lyth_currentRound", []));
|
|
2620
2606
|
}
|
|
2607
|
+
/** `lyth_getTransactionCount` — native sender nonce. */
|
|
2608
|
+
async lythGetTransactionCount(address) {
|
|
2609
|
+
return parseRpcBigint(
|
|
2610
|
+
await this.call("lyth_getTransactionCount", [
|
|
2611
|
+
sdkTypedAddress(address, "user", "address")
|
|
2612
|
+
]),
|
|
2613
|
+
"lyth_getTransactionCount"
|
|
2614
|
+
);
|
|
2615
|
+
}
|
|
2616
|
+
/** `lyth_executionUnitPrice` — native execution-unit price in lythoshi. */
|
|
2617
|
+
async lythExecutionUnitPrice() {
|
|
2618
|
+
return normalizeExecutionUnitPriceResponse(
|
|
2619
|
+
await this.call("lyth_executionUnitPrice", [])
|
|
2620
|
+
);
|
|
2621
|
+
}
|
|
2621
2622
|
/** `lyth_peerSummary` — public-safe aggregate peer-network diagnostics. */
|
|
2622
2623
|
async lythPeerSummary() {
|
|
2623
2624
|
return this.call("lyth_peerSummary", []);
|
|
2624
2625
|
}
|
|
2625
|
-
/**
|
|
2626
|
-
* `lyth_listActivePrecompiles` — milestone-gated precompile catalogue
|
|
2627
|
-
* (OI-0170 / ADR-0015 §5).
|
|
2628
|
-
*/
|
|
2626
|
+
/** `lyth_listActivePrecompiles` — native precompile catalogue. */
|
|
2629
2627
|
async lythListActivePrecompiles(block = "latest") {
|
|
2630
2628
|
return this.call("lyth_listActivePrecompiles", [encodeBlockSelector(block)]);
|
|
2631
2629
|
}
|
|
@@ -2853,14 +2851,6 @@ var RpcClient = class _RpcClient {
|
|
|
2853
2851
|
async debugTraceTransaction(txHash) {
|
|
2854
2852
|
return this.call("debug_traceTransaction", [txHash]);
|
|
2855
2853
|
}
|
|
2856
|
-
/** `debug_traceCall` — legacy compatibility trace for a dry-run. */
|
|
2857
|
-
async debugTraceCall(request, block = "latest") {
|
|
2858
|
-
return this.call("debug_traceCall", [request, encodeBlockSelector(block)]);
|
|
2859
|
-
}
|
|
2860
|
-
/** `debug_traceBlockByNumber` — legacy compatibility traces for an entire block. */
|
|
2861
|
-
async debugTraceBlockByNumber(block) {
|
|
2862
|
-
return this.call("debug_traceBlockByNumber", [encodeBlockSelector(block)]);
|
|
2863
|
-
}
|
|
2864
2854
|
/** `debug_mempoolDump` — full mempool snapshot. */
|
|
2865
2855
|
async debugMempoolDump() {
|
|
2866
2856
|
return normalizeMempoolSnapshot(await this.call("debug_mempoolDump", []));
|
|
@@ -3550,6 +3540,34 @@ function normalizeRoundInfo(value) {
|
|
|
3550
3540
|
height: parseRpcBigint(row["height"], "round height")
|
|
3551
3541
|
};
|
|
3552
3542
|
}
|
|
3543
|
+
function normalizeExecutionUnitPriceResponse(value) {
|
|
3544
|
+
if (!value || typeof value !== "object") {
|
|
3545
|
+
throw SdkError.malformed("execution unit price response must be an object");
|
|
3546
|
+
}
|
|
3547
|
+
const row = value;
|
|
3548
|
+
return {
|
|
3549
|
+
executionUnitPriceLythoshi: parseRpcBigint(
|
|
3550
|
+
fieldAlias(row, ["executionUnitPriceLythoshi", "execution_unit_price_lythoshi"]),
|
|
3551
|
+
"executionUnitPriceLythoshi"
|
|
3552
|
+
).toString(),
|
|
3553
|
+
basePricePerExecutionUnitLythoshi: parseRpcBigint(
|
|
3554
|
+
fieldAlias(row, [
|
|
3555
|
+
"basePricePerExecutionUnitLythoshi",
|
|
3556
|
+
"base_price_per_execution_unit_lythoshi"
|
|
3557
|
+
]),
|
|
3558
|
+
"basePricePerExecutionUnitLythoshi"
|
|
3559
|
+
).toString(),
|
|
3560
|
+
priorityTipLythoshi: parseRpcBigint(
|
|
3561
|
+
fieldAlias(row, ["priorityTipLythoshi", "priority_tip_lythoshi"]),
|
|
3562
|
+
"priorityTipLythoshi"
|
|
3563
|
+
).toString(),
|
|
3564
|
+
blockNumber: parseRpcNumberNullable(
|
|
3565
|
+
fieldAlias(row, ["blockNumber", "block_number"]),
|
|
3566
|
+
"blockNumber"
|
|
3567
|
+
),
|
|
3568
|
+
source: readStringField(row, ["source"], "execution unit price source")
|
|
3569
|
+
};
|
|
3570
|
+
}
|
|
3553
3571
|
function normalizeMempoolSnapshot(value) {
|
|
3554
3572
|
if (!value || typeof value !== "object") {
|
|
3555
3573
|
throw SdkError.malformed("mempool snapshot must be an object");
|
|
@@ -3566,6 +3584,19 @@ function normalizeMempoolSnapshot(value) {
|
|
|
3566
3584
|
bytes_by_class: bytesByClass.map((v, i) => parseRpcBigint(v, `mempool bytes_by_class[${i}]`))
|
|
3567
3585
|
};
|
|
3568
3586
|
}
|
|
3587
|
+
function fieldAlias(record, keys) {
|
|
3588
|
+
for (const key of keys) {
|
|
3589
|
+
if (Object.prototype.hasOwnProperty.call(record, key)) return record[key];
|
|
3590
|
+
}
|
|
3591
|
+
return void 0;
|
|
3592
|
+
}
|
|
3593
|
+
function readStringField(record, keys, label) {
|
|
3594
|
+
const value = fieldAlias(record, keys);
|
|
3595
|
+
if (typeof value !== "string" || value.trim().length === 0) {
|
|
3596
|
+
throw SdkError.malformed(`${label} must be a non-empty string`);
|
|
3597
|
+
}
|
|
3598
|
+
return value.trim();
|
|
3599
|
+
}
|
|
3569
3600
|
function normalizeCapabilitiesResponse(value) {
|
|
3570
3601
|
return {
|
|
3571
3602
|
...value,
|
|
@@ -4070,6 +4101,8 @@ var BRIDGE_REVERT_TAGS = {
|
|
|
4070
4101
|
};
|
|
4071
4102
|
var BRIDGE_QUOTE_API_BLOCKED_REASON = "bridge quote requires a mono-core live quote API/runtime primitive";
|
|
4072
4103
|
var BRIDGE_SUBMIT_API_BLOCKED_REASON = "bridge submit requires a mono-core live submit API/runtime primitive";
|
|
4104
|
+
var V1_BRIDGE_ALLOWED_FEE_TOKEN = "LINK";
|
|
4105
|
+
var V1_BRIDGE_ALLOWED_PROTOCOL = "chainlink-ccip";
|
|
4073
4106
|
var BridgePrecompileError = class extends Error {
|
|
4074
4107
|
constructor(message) {
|
|
4075
4108
|
super(message);
|
|
@@ -4128,9 +4161,18 @@ function isBridgeFinalityZeroRevert(data) {
|
|
|
4128
4161
|
function assessBridgeRoute(route) {
|
|
4129
4162
|
const blockedReasons = [];
|
|
4130
4163
|
const warnings = [];
|
|
4164
|
+
const feeToken = String(route.feeToken ?? "").trim();
|
|
4131
4165
|
if (route.routeId.trim() === "") blockedReasons.push("route id missing");
|
|
4132
4166
|
if (route.bridge.trim() === "") blockedReasons.push("bridge name missing");
|
|
4167
|
+
if (!isChainlinkCcipRoute(route.protocol, route.bridge, route.verifier.model)) {
|
|
4168
|
+
blockedReasons.push("bridge protocol must be Chainlink CCIP");
|
|
4169
|
+
}
|
|
4133
4170
|
if (route.asset.trim() === "") blockedReasons.push("asset disclosure missing");
|
|
4171
|
+
if (feeToken === "") {
|
|
4172
|
+
blockedReasons.push("route fee token missing");
|
|
4173
|
+
} else if (feeToken.toUpperCase() !== V1_BRIDGE_ALLOWED_FEE_TOKEN) {
|
|
4174
|
+
blockedReasons.push("CCIP route fee token must be LINK");
|
|
4175
|
+
}
|
|
4134
4176
|
if (route.verifier.model.trim() === "") blockedReasons.push("verifier model missing");
|
|
4135
4177
|
if (route.verifier.threshold < 2 || route.verifier.participantCount < 2) {
|
|
4136
4178
|
blockedReasons.push("verifier set must not be 1-of-1");
|
|
@@ -4372,8 +4414,23 @@ function validateBridgeRouteCatalogueRoute(idx, value, seen, blockedReasons) {
|
|
|
4372
4414
|
20,
|
|
4373
4415
|
blockedReasons
|
|
4374
4416
|
);
|
|
4375
|
-
validateTextField(`${prefix}.bridge`, value.bridge, 64, blockedReasons);
|
|
4417
|
+
const bridge = validateTextField(`${prefix}.bridge`, value.bridge, 64, blockedReasons);
|
|
4418
|
+
const protocol = validateOptionalTextField(
|
|
4419
|
+
`${prefix}.protocol`,
|
|
4420
|
+
field(value, "protocol", "routeProtocol", "route_protocol"),
|
|
4421
|
+
64,
|
|
4422
|
+
blockedReasons
|
|
4423
|
+
);
|
|
4376
4424
|
validateTextField(`${prefix}.asset`, value.asset, 64, blockedReasons);
|
|
4425
|
+
const feeToken = validateTextField(
|
|
4426
|
+
`${prefix}.feeToken`,
|
|
4427
|
+
field(value, "feeToken", "fee_token"),
|
|
4428
|
+
32,
|
|
4429
|
+
blockedReasons
|
|
4430
|
+
);
|
|
4431
|
+
if (feeToken != null && feeToken.toUpperCase() !== V1_BRIDGE_ALLOWED_FEE_TOKEN) {
|
|
4432
|
+
blockedReasons.push(`${prefix}.feeToken must be LINK for CCIP routes`);
|
|
4433
|
+
}
|
|
4377
4434
|
validateTextField(
|
|
4378
4435
|
`${prefix}.sourceChain`,
|
|
4379
4436
|
field(value, "sourceChain", "source_chain"),
|
|
@@ -4387,10 +4444,11 @@ function validateBridgeRouteCatalogueRoute(idx, value, seen, blockedReasons) {
|
|
|
4387
4444
|
blockedReasons
|
|
4388
4445
|
);
|
|
4389
4446
|
const verifier = value.verifier;
|
|
4447
|
+
let verifierModel = null;
|
|
4390
4448
|
if (!isRecord2(verifier)) {
|
|
4391
4449
|
blockedReasons.push(`${prefix}.verifier must be an object`);
|
|
4392
4450
|
} else {
|
|
4393
|
-
validateTextField(`${prefix}.verifier.model`, verifier.model, 64, blockedReasons);
|
|
4451
|
+
verifierModel = validateTextField(`${prefix}.verifier.model`, verifier.model, 64, blockedReasons);
|
|
4394
4452
|
const participantCount = field(verifier, "participantCount", "participant_count");
|
|
4395
4453
|
if (!isU16(participantCount) || participantCount === 0) {
|
|
4396
4454
|
blockedReasons.push(`${prefix}.verifier.participantCount must be non-zero`);
|
|
@@ -4401,6 +4459,9 @@ function validateBridgeRouteCatalogueRoute(idx, value, seen, blockedReasons) {
|
|
|
4401
4459
|
blockedReasons.push(`${prefix}.verifier.threshold must be in 1..=participantCount`);
|
|
4402
4460
|
}
|
|
4403
4461
|
}
|
|
4462
|
+
if (!isChainlinkCcipRoute(protocol, bridge ?? "", verifierModel ?? "")) {
|
|
4463
|
+
blockedReasons.push(`${prefix}.protocol must be Chainlink CCIP`);
|
|
4464
|
+
}
|
|
4404
4465
|
if (!decimalStringIsPositiveU256(field(value, "drainCapAtomic", "drain_cap_atomic"))) {
|
|
4405
4466
|
blockedReasons.push(`${prefix}.drainCapAtomic must be a non-zero decimal u256`);
|
|
4406
4467
|
}
|
|
@@ -4442,7 +4503,9 @@ function coerceBridgeRouteCatalogueRoute(value) {
|
|
|
4442
4503
|
bridgeId: stringField2(value, "bridgeId", "bridge_id"),
|
|
4443
4504
|
wrappedAsset: stringField2(value, "wrappedAsset", "wrapped_asset"),
|
|
4444
4505
|
bridge: stringField2(value, "bridge").trim(),
|
|
4506
|
+
protocol: optionalStringField(value, "protocol", "routeProtocol", "route_protocol"),
|
|
4445
4507
|
asset: stringField2(value, "asset").trim(),
|
|
4508
|
+
feeToken: stringField2(value, "feeToken", "fee_token").trim(),
|
|
4446
4509
|
sourceChain: stringField2(value, "sourceChain", "source_chain").trim(),
|
|
4447
4510
|
destinationChain: stringField2(value, "destinationChain", "destination_chain").trim(),
|
|
4448
4511
|
verifier: {
|
|
@@ -4471,6 +4534,19 @@ function cloneBridgeRouteCatalogueRoute(route) {
|
|
|
4471
4534
|
verifier: { ...route.verifier }
|
|
4472
4535
|
};
|
|
4473
4536
|
}
|
|
4537
|
+
function isChainlinkCcipRoute(protocol, bridge, verifierModel) {
|
|
4538
|
+
const normalizedProtocol = normalizeBridgeProtocol(protocol ?? "");
|
|
4539
|
+
if (normalizedProtocol.length > 0) {
|
|
4540
|
+
return normalizedProtocol === "chainlinkccip" || normalizedProtocol === "ccip";
|
|
4541
|
+
}
|
|
4542
|
+
return bridgeLabelLooksCcip(bridge) || bridgeLabelLooksCcip(verifierModel);
|
|
4543
|
+
}
|
|
4544
|
+
function bridgeLabelLooksCcip(value) {
|
|
4545
|
+
return normalizeBridgeProtocol(value).includes("ccip");
|
|
4546
|
+
}
|
|
4547
|
+
function normalizeBridgeProtocol(value) {
|
|
4548
|
+
return value.trim().toLowerCase().replace(/[^a-z0-9]/g, "");
|
|
4549
|
+
}
|
|
4474
4550
|
function bridgeRouteCandidate(intent, intentReasons, route) {
|
|
4475
4551
|
const assessment = assessBridgeRoute(route);
|
|
4476
4552
|
const blockedReasons = [...intentReasons, ...assessment.blockedReasons];
|
|
@@ -4566,16 +4642,28 @@ function trimmedEq(left, right) {
|
|
|
4566
4642
|
function isRecord2(value) {
|
|
4567
4643
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
4568
4644
|
}
|
|
4569
|
-
function field(record,
|
|
4570
|
-
|
|
4571
|
-
|
|
4645
|
+
function field(record, ...keys) {
|
|
4646
|
+
for (const key of keys) {
|
|
4647
|
+
if (Object.prototype.hasOwnProperty.call(record, key)) return record[key];
|
|
4648
|
+
}
|
|
4572
4649
|
return void 0;
|
|
4573
4650
|
}
|
|
4574
|
-
function stringField2(record,
|
|
4575
|
-
return field(record,
|
|
4651
|
+
function stringField2(record, ...keys) {
|
|
4652
|
+
return field(record, ...keys);
|
|
4653
|
+
}
|
|
4654
|
+
function optionalStringField(record, ...keys) {
|
|
4655
|
+
let raw;
|
|
4656
|
+
for (const key of keys) {
|
|
4657
|
+
if (Object.prototype.hasOwnProperty.call(record, key)) {
|
|
4658
|
+
raw = record[key];
|
|
4659
|
+
break;
|
|
4660
|
+
}
|
|
4661
|
+
}
|
|
4662
|
+
if (raw === void 0 || raw === null) return null;
|
|
4663
|
+
return typeof raw === "string" ? raw.trim() : "";
|
|
4576
4664
|
}
|
|
4577
|
-
function numberField(record,
|
|
4578
|
-
return field(record,
|
|
4665
|
+
function numberField(record, ...keys) {
|
|
4666
|
+
return field(record, ...keys);
|
|
4579
4667
|
}
|
|
4580
4668
|
function validateTextField(name, value, maxLen, blockedReasons) {
|
|
4581
4669
|
if (typeof value !== "string") {
|
|
@@ -4589,6 +4677,10 @@ function validateTextField(name, value, maxLen, blockedReasons) {
|
|
|
4589
4677
|
}
|
|
4590
4678
|
return trimmed;
|
|
4591
4679
|
}
|
|
4680
|
+
function validateOptionalTextField(name, value, maxLen, blockedReasons) {
|
|
4681
|
+
if (value === void 0 || value === null) return null;
|
|
4682
|
+
return validateTextField(name, value, maxLen, blockedReasons);
|
|
4683
|
+
}
|
|
4592
4684
|
function validateHexBytes(name, value, expectedBytes, blockedReasons) {
|
|
4593
4685
|
if (typeof value !== "string") {
|
|
4594
4686
|
blockedReasons.push(`${name} must be ${expectedBytes} bytes of hex`);
|
|
@@ -4718,9 +4810,10 @@ function concatBytes4(...parts) {
|
|
|
4718
4810
|
var NO_EVM_RECEIPT_PROOF_SCHEMA = "mono.no_evm_receipt_proof.v1";
|
|
4719
4811
|
var NO_EVM_RECEIPT_PROOF_TYPE = "canonicalReceiptsTranscript";
|
|
4720
4812
|
var NO_EVM_RECEIPT_INCLUSION_PROOF_TYPE = "canonicalReceiptInclusion";
|
|
4721
|
-
var NO_EVM_RECEIPT_ROOT_ALGORITHM = "keccak256(monolythium/v4.1/
|
|
4813
|
+
var NO_EVM_RECEIPT_ROOT_ALGORITHM = "keccak256-binary-merkle(monolythium/v4.1/receipt_leaf/1, monolythium/v4.1/receipt_node/1, duplicate-last padding)";
|
|
4814
|
+
var NO_EVM_LEGACY_BINARY_RECEIPT_ROOT_ALGORITHM = "keccak256(monolythium/v4.1/receipts_root_empty/1|receipt_leaf/1|receipt_node/1 binary Merkle)";
|
|
4722
4815
|
var NO_EVM_LEGACY_RECEIPT_ROOT_ALGORITHM = "keccak256(monolythium/v2/receipts_root/1 || len || indexed bincode receipts)";
|
|
4723
|
-
var NO_EVM_RECEIPT_CODEC = "bincode(
|
|
4816
|
+
var NO_EVM_RECEIPT_CODEC = "bincode(protocore_execution_types::Receipt)";
|
|
4724
4817
|
var NO_EVM_RECEIPTS_ROOT_DOMAIN = "monolythium/v4.1/receipts_root_empty/1";
|
|
4725
4818
|
var NO_EVM_RECEIPT_LEAF_DOMAIN = "monolythium/v4.1/receipt_leaf/1";
|
|
4726
4819
|
var NO_EVM_RECEIPT_NODE_DOMAIN = "monolythium/v4.1/receipt_node/1";
|
|
@@ -5957,7 +6050,7 @@ function getOptionalHistorySource(proof) {
|
|
|
5957
6050
|
return value === void 0 ? void 0 : String(value);
|
|
5958
6051
|
}
|
|
5959
6052
|
function assertSupportedRootAlgorithm(actual) {
|
|
5960
|
-
if (actual !== NO_EVM_RECEIPT_ROOT_ALGORITHM && actual !== NO_EVM_LEGACY_RECEIPT_ROOT_ALGORITHM && actual !== NO_EVM_COMPACT_INCLUSION_TREE_ALGORITHM) {
|
|
6053
|
+
if (actual !== NO_EVM_RECEIPT_ROOT_ALGORITHM && actual !== NO_EVM_LEGACY_BINARY_RECEIPT_ROOT_ALGORITHM && actual !== NO_EVM_LEGACY_RECEIPT_ROOT_ALGORITHM && actual !== NO_EVM_COMPACT_INCLUSION_TREE_ALGORITHM) {
|
|
5961
6054
|
throw new NoEvmReceiptProofError(
|
|
5962
6055
|
"unsupported_root_algorithm",
|
|
5963
6056
|
`unsupported no-EVM receipt proof rootAlgorithm: ${actual}`
|
|
@@ -7880,13 +7973,19 @@ function normalizeNativeAgentAddressString(address, expectedKind, name) {
|
|
|
7880
7973
|
}
|
|
7881
7974
|
}
|
|
7882
7975
|
|
|
7883
|
-
// src/
|
|
7976
|
+
// src/network.ts
|
|
7884
7977
|
var MONOLYTHIUM_TESTNET_CHAIN_ID = 69420n;
|
|
7885
7978
|
var MONOLYTHIUM_TESTNET_NETWORK_NAME = "monolythium-testnet";
|
|
7979
|
+
var MONOLYTHIUM_NETWORKS = {
|
|
7980
|
+
testnet: {
|
|
7981
|
+
chainId: MONOLYTHIUM_TESTNET_CHAIN_ID,
|
|
7982
|
+
name: MONOLYTHIUM_TESTNET_NETWORK_NAME
|
|
7983
|
+
}
|
|
7984
|
+
};
|
|
7886
7985
|
|
|
7887
7986
|
// src/index.ts
|
|
7888
|
-
var version = "0.2.
|
|
7987
|
+
var version = "0.2.2";
|
|
7889
7988
|
|
|
7890
|
-
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, DELEGATION_REVERT_TAGS, DELEGATION_SELECTORS, DelegationPrecompileError, LYTHOSHI_PER_LYTH, LYTH_DECIMALS, MAX_NATIVE_CALL_FORWARDER_REQUEST_BYTES, MAX_NATIVE_RECEIPT_EVENTS, 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_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, MarketActionError, MrvValidationError, 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_CAPABILITIES, NODE_REGISTRY_CAPABILITY_MASK, NODE_REGISTRY_PUBLIC_SERVICE_MASK, NODE_REGISTRY_SELECTORS, 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, NoEvmReceiptProofError, NodeRegistryError, PRECOMPILE_ADDRESSES, PUBKEY_REGISTRY_ML_DSA_65_PUBLIC_KEY_LEN, PUBKEY_REGISTRY_SELECTORS, PubkeyRegistryError, RESERVED_ADDRESS_HRPS, RpcClient, SERVICE_PROBE_STATUS, SET_POLICY_CLAIM_DOMAIN_TAG, SPENDING_POLICY_SELECTORS, SdkError, SpendingPolicyError, TESTNET_69420, addressBytesToHex, addressToBech32, addressToTypedBech32, apiEndpointFromRpcEndpoint, assertMrvCallNativeSubmissionPlan, assertMrvDeployNativeSubmissionPlan, assertMrvFeeDisplayConformance, assertMrvStructuredFeeConformance, assertNativeDevMrcTokenPlan, assertNativeDevMrvDeployPlan, assertNativeDevWalletApprovalRequest, assertNativeMarketOrderBookStreamPayload, assessBridgeRoute, bech32ToAddress, bech32ToAddressBytes, bridgeAddressHex, 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, buildPlaceSpotLimitOrderPlan, buildPlaceSpotMarketOrderExPlan, buildPlaceSpotMarketOrderPlan, checkMrvFeeDisplayConformance, checkMrvStructuredFeeConformance, checkNativeDevkitCompatibility, clobAddressHex, compareNativeDevVersions, composeClaimBoundMessage, computeNoEvmDacFinalityMessage, computeNoEvmLeaderFinalityMessage, computeNoEvmReceiptsRoot, computeNoEvmRoundFinalityMessage, computeNoEvmTargetReceiptHash, consumeNativeEvents, decodeHasPubkeyReturn, decodeLookupPubkeyReturn, decodeNativeAgentStateResponse, decodeNativeMarketOrderBookDeltasResponse, decodeNativeReceiptResponse, decodeNoEvmReceiptTranscript, decodeTxFeedResponse, delegationAddressHex, deriveClobMarketId, deriveMrvContractAddress, deriveNativeSpotMarketId, deriveNativeSpotOrderId, encodeBlockSelector, encodeCancelOrderCalldata, encodeClaimPolicyByAddressCalldata, encodeCompleteRedemptionCalldata, encodeDisableCalldata, encodeEnableCalldata, encodeHasPubkeyCalldata, encodeLockBridgeConfigCalldata, encodeLookupPubkeyCalldata, encodeMrvDeployPayload, 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, encodePlaceMarketOrderCalldata, encodePlaceMarketOrderExCalldata, encodeRegisterPubkeyCalldata, encodeReportServiceProbeCalldata, encodeSetBridgeResumeCooldownCalldata, encodeSetBridgeRouteFinalityCalldata, encodeSetPolicyCalldata, encodeSetPolicyClaimCalldata, exportBridgeRouteCatalogueJson, fetchChainInfoLatest, fetchChainRegistryLatest, formatLyth, formatLythoshi, formatNativeReceiptFeeDisplay, getChainInfo, getNoEvmReceiptTrustPolicy, getP2pSeeds, getRpcEndpoints, hexToAddressBytes, isBridgeAdminLockedRevert, isBridgeCooldownZeroRevert, isBridgeFinalityZeroRevert, isBridgeResumeCooldownActiveRevert, isConcreteServiceProbeStatus, isNativeDecodedEvent, isNativeMarketOrderBookStreamPayload, isRedemptionPrincipalUnavailableRevert, isSinglePublicServiceProbeMask, isValidNodeRegistryCapabilities, isValidPublicServiceProbeMask, mrvAddressToBech32, mrvBech32ToAddress, mrvCodeHashHex, mrvV1TransactionExtension, nativeAgentStateFilterParams, nativeDevSchemaFieldNames, nativeDevUiStrings, nativeEventMatches, nativeEventsFilterParams, nativeEventsFromHistory, nativeEventsFromReceipt, nativeMarketEventFilter, nativeMarketEventsFromHistory, nativeMarketEventsFromReceipt, nativeMarketStateFilterParams, noEvmReceiptTrustPolicyFromChainInfo, nodeRegistryAddressHex, normalizeAddressHex, normalizeBridgeRouteCatalogue, parseAddress, parseBridgeRouteCatalogueJson, parseChainRegistryToml, parseLythToLythoshi, parseNativeDecodedEvent, parseQuantity, parseQuantityBig, pubkeyRegistryAddressHex, rankBridgeRoutes, requireTypedAddress, resolveStudioHostStatus, selectBridgeTransferRoute, serviceProbeStatusLabel, spendingPolicyAddressHex, submitMrvCallNativeTx, submitMrvDeployNativeTx, submitMrvDeployPayloadNativeTx, typedBech32ToAddress, validateAddress, validateBridgeRouteCatalogue, validateMrvArtifactMetadata, validateMrvCallRequest, validateMrvDeployRequest, verifyNoEvmArchiveProofSignatures, verifyNoEvmBlockFinalityEvidenceMultisig, verifyNoEvmBlockFinalityEvidenceThreshold, verifyNoEvmFinalityEvidenceMultisig, verifyNoEvmFinalityEvidenceThreshold, verifyNoEvmReceiptProof, verifyNoEvmReceiptProofTrust, version };
|
|
7989
|
+
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, DELEGATION_REVERT_TAGS, DELEGATION_SELECTORS, DelegationPrecompileError, LYTHOSHI_PER_LYTH, LYTH_DECIMALS, MAX_NATIVE_CALL_FORWARDER_REQUEST_BYTES, MAX_NATIVE_RECEIPT_EVENTS, 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, MarketActionError, MrvValidationError, 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_CAPABILITIES, NODE_REGISTRY_CAPABILITY_MASK, NODE_REGISTRY_PUBLIC_SERVICE_MASK, NODE_REGISTRY_SELECTORS, 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, NoEvmReceiptProofError, NodeRegistryError, PRECOMPILE_ADDRESSES, PUBKEY_REGISTRY_ML_DSA_65_PUBLIC_KEY_LEN, PUBKEY_REGISTRY_SELECTORS, PubkeyRegistryError, RESERVED_ADDRESS_HRPS, RpcClient, SERVICE_PROBE_STATUS, SET_POLICY_CLAIM_DOMAIN_TAG, SPENDING_POLICY_SELECTORS, SdkError, SpendingPolicyError, TESTNET_69420, V1_BRIDGE_ALLOWED_FEE_TOKEN, V1_BRIDGE_ALLOWED_PROTOCOL, addressBytesToHex, addressToBech32, addressToTypedBech32, apiEndpointFromRpcEndpoint, assertMrvCallNativeSubmissionPlan, assertMrvDeployNativeSubmissionPlan, assertMrvFeeDisplayConformance, assertMrvStructuredFeeConformance, assertNativeDevMrcTokenPlan, assertNativeDevMrvDeployPlan, assertNativeDevWalletApprovalRequest, assertNativeMarketOrderBookStreamPayload, assessBridgeRoute, bech32ToAddress, bech32ToAddressBytes, bridgeAddressHex, 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, buildPlaceSpotLimitOrderPlan, buildPlaceSpotMarketOrderExPlan, buildPlaceSpotMarketOrderPlan, checkMrvFeeDisplayConformance, checkMrvStructuredFeeConformance, checkNativeDevkitCompatibility, clobAddressHex, compareNativeDevVersions, composeClaimBoundMessage, computeNoEvmDacFinalityMessage, computeNoEvmLeaderFinalityMessage, computeNoEvmReceiptsRoot, computeNoEvmRoundFinalityMessage, computeNoEvmTargetReceiptHash, consumeNativeEvents, decodeHasPubkeyReturn, decodeLookupPubkeyReturn, decodeNativeAgentStateResponse, decodeNativeMarketOrderBookDeltasResponse, decodeNativeReceiptResponse, decodeNoEvmReceiptTranscript, decodeTxFeedResponse, delegationAddressHex, deriveClobMarketId, deriveMrvContractAddress, deriveNativeSpotMarketId, deriveNativeSpotOrderId, encodeBlockSelector, encodeCancelOrderCalldata, encodeClaimPolicyByAddressCalldata, encodeCompleteRedemptionCalldata, encodeDisableCalldata, encodeEnableCalldata, encodeHasPubkeyCalldata, encodeLockBridgeConfigCalldata, encodeLookupPubkeyCalldata, encodeMrvDeployPayload, 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, encodePlaceMarketOrderCalldata, encodePlaceMarketOrderExCalldata, encodeRegisterPubkeyCalldata, encodeReportServiceProbeCalldata, encodeSetBridgeResumeCooldownCalldata, encodeSetBridgeRouteFinalityCalldata, encodeSetPolicyCalldata, encodeSetPolicyClaimCalldata, exportBridgeRouteCatalogueJson, fetchChainInfoLatest, fetchChainRegistryLatest, formatLyth, formatLythoshi, formatNativeReceiptFeeDisplay, getChainInfo, getNoEvmReceiptTrustPolicy, getP2pSeeds, getRpcEndpoints, hexToAddressBytes, isBridgeAdminLockedRevert, isBridgeCooldownZeroRevert, isBridgeFinalityZeroRevert, isBridgeResumeCooldownActiveRevert, isConcreteServiceProbeStatus, isNativeDecodedEvent, isNativeMarketOrderBookStreamPayload, isRedemptionPrincipalUnavailableRevert, isSinglePublicServiceProbeMask, isValidNodeRegistryCapabilities, isValidPublicServiceProbeMask, mrvAddressToBech32, mrvBech32ToAddress, mrvCodeHashHex, mrvV1TransactionExtension, nativeAgentStateFilterParams, nativeDevSchemaFieldNames, nativeDevUiStrings, nativeEventMatches, nativeEventsFilterParams, nativeEventsFromHistory, nativeEventsFromReceipt, nativeMarketEventFilter, nativeMarketEventsFromHistory, nativeMarketEventsFromReceipt, nativeMarketStateFilterParams, noEvmReceiptTrustPolicyFromChainInfo, nodeRegistryAddressHex, normalizeAddressHex, normalizeBridgeRouteCatalogue, parseAddress, parseBridgeRouteCatalogueJson, parseChainRegistryToml, parseLythToLythoshi, parseNativeDecodedEvent, parseQuantity, parseQuantityBig, pubkeyRegistryAddressHex, rankBridgeRoutes, requireTypedAddress, resolveStudioHostStatus, selectBridgeTransferRoute, serviceProbeStatusLabel, spendingPolicyAddressHex, submitMrvCallNativeTx, submitMrvDeployNativeTx, submitMrvDeployPayloadNativeTx, typedBech32ToAddress, validateAddress, validateBridgeRouteCatalogue, validateMrvArtifactMetadata, validateMrvCallRequest, validateMrvDeployRequest, verifyNoEvmArchiveProofSignatures, verifyNoEvmBlockFinalityEvidenceMultisig, verifyNoEvmBlockFinalityEvidenceThreshold, verifyNoEvmFinalityEvidenceMultisig, verifyNoEvmFinalityEvidenceThreshold, verifyNoEvmReceiptProof, verifyNoEvmReceiptProofTrust, version };
|
|
7891
7990
|
//# sourceMappingURL=index.js.map
|
|
7892
7991
|
//# sourceMappingURL=index.js.map
|