@monolythium/core-sdk 0.2.0 → 0.2.2
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/dist/crypto/index.cjs.map +1 -1
- package/dist/crypto/index.d.cts +3 -3
- package/dist/crypto/index.d.ts +3 -3
- package/dist/crypto/index.js.map +1 -1
- package/dist/ethers/index.cjs +58 -5
- package/dist/ethers/index.cjs.map +1 -1
- package/dist/ethers/index.d.cts +1 -1
- package/dist/ethers/index.d.ts +1 -1
- package/dist/ethers/index.js +58 -5
- package/dist/ethers/index.js.map +1 -1
- package/dist/index.cjs +183 -32
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +40 -22
- package/dist/index.d.ts +40 -22
- package/dist/index.js +181 -33
- package/dist/index.js.map +1 -1
- package/dist/{native-events-BEkkGoak.d.cts → native-events-CA0yrnj-.d.cts} +33 -16
- package/dist/{native-events-BEkkGoak.d.ts → native-events-CA0yrnj-.d.ts} +33 -16
- package/dist/{submission-BrsftNSl.d.cts → submission-AOqfeSIS.d.cts} +1 -1
- package/dist/{submission-CelGfDRQ.d.ts → submission-msoZzFIa.d.ts} +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -126,6 +126,41 @@ function parseAddress(address) {
|
|
|
126
126
|
}
|
|
127
127
|
return bech32ToAddressBytes(address);
|
|
128
128
|
}
|
|
129
|
+
function validateAddress(address) {
|
|
130
|
+
if (typeof address !== "string" || address.length === 0) {
|
|
131
|
+
return { valid: false, reason: "address cannot be empty" };
|
|
132
|
+
}
|
|
133
|
+
const trimmed = address.trim();
|
|
134
|
+
if (trimmed.length === 0) {
|
|
135
|
+
return { valid: false, reason: "address cannot be empty" };
|
|
136
|
+
}
|
|
137
|
+
if (trimmed.startsWith("0x") || trimmed.startsWith("0X")) {
|
|
138
|
+
try {
|
|
139
|
+
const bytes = hexToAddressBytes(trimmed);
|
|
140
|
+
return {
|
|
141
|
+
valid: true,
|
|
142
|
+
normalized: addressToBech32(bytes),
|
|
143
|
+
kind: null,
|
|
144
|
+
format: "hex",
|
|
145
|
+
bytes
|
|
146
|
+
};
|
|
147
|
+
} catch (err) {
|
|
148
|
+
return { valid: false, reason: err instanceof Error ? err.message : String(err) };
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
try {
|
|
152
|
+
const typed = typedBech32ToAddress(trimmed);
|
|
153
|
+
return {
|
|
154
|
+
valid: true,
|
|
155
|
+
normalized: typed.address,
|
|
156
|
+
kind: typed.kind,
|
|
157
|
+
format: "bech32m",
|
|
158
|
+
bytes: typed.bytes
|
|
159
|
+
};
|
|
160
|
+
} catch (err) {
|
|
161
|
+
return { valid: false, reason: err instanceof Error ? err.message : String(err) };
|
|
162
|
+
}
|
|
163
|
+
}
|
|
129
164
|
function normalizeAddressHex(address) {
|
|
130
165
|
return addressBytesToHex(parseAddress(address));
|
|
131
166
|
}
|
|
@@ -312,28 +347,24 @@ var PRECOMPILE_ADDRESSES = {
|
|
|
312
347
|
TOKEN_FACTORY: "0x0000000000000000000000000000000000001000",
|
|
313
348
|
/** Native central-limit order book — gateable. */
|
|
314
349
|
CLOB: "0x0000000000000000000000000000000000001001",
|
|
315
|
-
/** Agent execution surface
|
|
350
|
+
/** Agent execution surface — gateable. */
|
|
316
351
|
AGENT: "0x0000000000000000000000000000000000001003",
|
|
317
352
|
/** Account privacy policy + stealth/confidential ops — gateable. */
|
|
318
353
|
PRIVACY: "0x0000000000000000000000000000000000001004",
|
|
319
354
|
/** Operator + RPC node registry — non-gateable consensus invariant. */
|
|
320
355
|
NODE_REGISTRY: "0x0000000000000000000000000000000000001005",
|
|
321
|
-
/**
|
|
322
|
-
IBC: "0x0000000000000000000000000000000000001007",
|
|
323
|
-
/** Native zk-light-client bridge — gateable. */
|
|
356
|
+
/** Native bridge route-control surface — gateable. */
|
|
324
357
|
BRIDGE: "0x0000000000000000000000000000000000001008",
|
|
325
|
-
/** Decentralized multi-signer oracle
|
|
358
|
+
/** Decentralized multi-signer oracle — non-gateable. */
|
|
326
359
|
ORACLE: "0x0000000000000000000000000000000000001009",
|
|
327
|
-
/** Distributed delegation primitive
|
|
360
|
+
/** Distributed delegation primitive — gateable. */
|
|
328
361
|
DELEGATION: "0x000000000000000000000000000000000000100A",
|
|
329
|
-
/** One-time emergency-key registry
|
|
362
|
+
/** One-time emergency-key registry — non-gateable. */
|
|
330
363
|
EMERGENCY_KEY: "0x0000000000000000000000000000000000001100",
|
|
331
|
-
/** VRF precompile
|
|
364
|
+
/** VRF precompile. */
|
|
332
365
|
VRF: "0x0000000000000000000000000000000000001101",
|
|
333
|
-
/** Streaming-payments primitive
|
|
366
|
+
/** Streaming-payments primitive — gateable. */
|
|
334
367
|
STREAMING_PAYMENTS: "0x0000000000000000000000000000000000001102",
|
|
335
|
-
/** Human-readable name registry (Law §5.4 / §5.8) — gateable. */
|
|
336
|
-
NAME_REGISTRY: "0x0000000000000000000000000000000000001103",
|
|
337
368
|
/** Cluster-name registry. */
|
|
338
369
|
CLUSTER_NAME_REGISTRY: "0x0000000000000000000000000000000000001104",
|
|
339
370
|
/** Agent-commerce attestation precompile. */
|
|
@@ -350,10 +381,12 @@ var PRECOMPILE_ADDRESSES = {
|
|
|
350
381
|
ESCROW: "0x000000000000000000000000000000000000110A",
|
|
351
382
|
/** Agent-commerce arbiter registry. */
|
|
352
383
|
ARBITER_REGISTRY: "0x000000000000000000000000000000000000110B",
|
|
353
|
-
/** Agent spending policy — gateable
|
|
384
|
+
/** Agent spending policy — gateable. */
|
|
354
385
|
SPENDING_POLICY: "0x000000000000000000000000000000000000110C",
|
|
355
|
-
/** Primary ML-DSA-65 pubkey registry — gateable
|
|
356
|
-
PUBKEY_REGISTRY: "0x000000000000000000000000000000000000110D"
|
|
386
|
+
/** Primary ML-DSA-65 pubkey registry — gateable. */
|
|
387
|
+
PUBKEY_REGISTRY: "0x000000000000000000000000000000000000110D",
|
|
388
|
+
/** Hierarchical name registry — gateable. */
|
|
389
|
+
NAME_REGISTRY: "0x000000000000000000000000000000000000110E"
|
|
357
390
|
};
|
|
358
391
|
|
|
359
392
|
// src/node-registry.ts
|
|
@@ -2353,7 +2386,7 @@ var RpcClient = class _RpcClient {
|
|
|
2353
2386
|
async web3Sha3(data) {
|
|
2354
2387
|
return this.call("web3_sha3", [data]);
|
|
2355
2388
|
}
|
|
2356
|
-
// ---- lyth_*
|
|
2389
|
+
// ---- lyth_* native namespace --------------------------------------
|
|
2357
2390
|
/** `lyth_listProviders` — paged registry enumeration. */
|
|
2358
2391
|
async lythListProviders(capabilityMask, cursor = null, limit = 100) {
|
|
2359
2392
|
return this.call("lyth_listProviders", [capabilityMask, cursor, limit]);
|
|
@@ -2585,14 +2618,26 @@ var RpcClient = class _RpcClient {
|
|
|
2585
2618
|
async lythCurrentRound() {
|
|
2586
2619
|
return normalizeRoundInfo(await this.call("lyth_currentRound", []));
|
|
2587
2620
|
}
|
|
2621
|
+
/** `lyth_getTransactionCount` — native sender nonce. */
|
|
2622
|
+
async lythGetTransactionCount(address) {
|
|
2623
|
+
return parseRpcBigint(
|
|
2624
|
+
await this.call("lyth_getTransactionCount", [
|
|
2625
|
+
sdkTypedAddress(address, "user", "address")
|
|
2626
|
+
]),
|
|
2627
|
+
"lyth_getTransactionCount"
|
|
2628
|
+
);
|
|
2629
|
+
}
|
|
2630
|
+
/** `lyth_executionUnitPrice` — native execution-unit price in lythoshi. */
|
|
2631
|
+
async lythExecutionUnitPrice() {
|
|
2632
|
+
return normalizeExecutionUnitPriceResponse(
|
|
2633
|
+
await this.call("lyth_executionUnitPrice", [])
|
|
2634
|
+
);
|
|
2635
|
+
}
|
|
2588
2636
|
/** `lyth_peerSummary` — public-safe aggregate peer-network diagnostics. */
|
|
2589
2637
|
async lythPeerSummary() {
|
|
2590
2638
|
return this.call("lyth_peerSummary", []);
|
|
2591
2639
|
}
|
|
2592
|
-
/**
|
|
2593
|
-
* `lyth_listActivePrecompiles` — milestone-gated precompile catalogue
|
|
2594
|
-
* (OI-0170 / ADR-0015 §5).
|
|
2595
|
-
*/
|
|
2640
|
+
/** `lyth_listActivePrecompiles` — native precompile catalogue. */
|
|
2596
2641
|
async lythListActivePrecompiles(block = "latest") {
|
|
2597
2642
|
return this.call("lyth_listActivePrecompiles", [encodeBlockSelector(block)]);
|
|
2598
2643
|
}
|
|
@@ -3517,6 +3562,34 @@ function normalizeRoundInfo(value) {
|
|
|
3517
3562
|
height: parseRpcBigint(row["height"], "round height")
|
|
3518
3563
|
};
|
|
3519
3564
|
}
|
|
3565
|
+
function normalizeExecutionUnitPriceResponse(value) {
|
|
3566
|
+
if (!value || typeof value !== "object") {
|
|
3567
|
+
throw SdkError.malformed("execution unit price response must be an object");
|
|
3568
|
+
}
|
|
3569
|
+
const row = value;
|
|
3570
|
+
return {
|
|
3571
|
+
executionUnitPriceLythoshi: parseRpcBigint(
|
|
3572
|
+
fieldAlias(row, ["executionUnitPriceLythoshi", "execution_unit_price_lythoshi"]),
|
|
3573
|
+
"executionUnitPriceLythoshi"
|
|
3574
|
+
).toString(),
|
|
3575
|
+
basePricePerExecutionUnitLythoshi: parseRpcBigint(
|
|
3576
|
+
fieldAlias(row, [
|
|
3577
|
+
"basePricePerExecutionUnitLythoshi",
|
|
3578
|
+
"base_price_per_execution_unit_lythoshi"
|
|
3579
|
+
]),
|
|
3580
|
+
"basePricePerExecutionUnitLythoshi"
|
|
3581
|
+
).toString(),
|
|
3582
|
+
priorityTipLythoshi: parseRpcBigint(
|
|
3583
|
+
fieldAlias(row, ["priorityTipLythoshi", "priority_tip_lythoshi"]),
|
|
3584
|
+
"priorityTipLythoshi"
|
|
3585
|
+
).toString(),
|
|
3586
|
+
blockNumber: parseRpcNumberNullable(
|
|
3587
|
+
fieldAlias(row, ["blockNumber", "block_number"]),
|
|
3588
|
+
"blockNumber"
|
|
3589
|
+
),
|
|
3590
|
+
source: readStringField(row, ["source"], "execution unit price source")
|
|
3591
|
+
};
|
|
3592
|
+
}
|
|
3520
3593
|
function normalizeMempoolSnapshot(value) {
|
|
3521
3594
|
if (!value || typeof value !== "object") {
|
|
3522
3595
|
throw SdkError.malformed("mempool snapshot must be an object");
|
|
@@ -3533,6 +3606,19 @@ function normalizeMempoolSnapshot(value) {
|
|
|
3533
3606
|
bytes_by_class: bytesByClass.map((v, i) => parseRpcBigint(v, `mempool bytes_by_class[${i}]`))
|
|
3534
3607
|
};
|
|
3535
3608
|
}
|
|
3609
|
+
function fieldAlias(record, keys) {
|
|
3610
|
+
for (const key of keys) {
|
|
3611
|
+
if (Object.prototype.hasOwnProperty.call(record, key)) return record[key];
|
|
3612
|
+
}
|
|
3613
|
+
return void 0;
|
|
3614
|
+
}
|
|
3615
|
+
function readStringField(record, keys, label) {
|
|
3616
|
+
const value = fieldAlias(record, keys);
|
|
3617
|
+
if (typeof value !== "string" || value.trim().length === 0) {
|
|
3618
|
+
throw SdkError.malformed(`${label} must be a non-empty string`);
|
|
3619
|
+
}
|
|
3620
|
+
return value.trim();
|
|
3621
|
+
}
|
|
3536
3622
|
function normalizeCapabilitiesResponse(value) {
|
|
3537
3623
|
return {
|
|
3538
3624
|
...value,
|
|
@@ -4037,6 +4123,8 @@ var BRIDGE_REVERT_TAGS = {
|
|
|
4037
4123
|
};
|
|
4038
4124
|
var BRIDGE_QUOTE_API_BLOCKED_REASON = "bridge quote requires a mono-core live quote API/runtime primitive";
|
|
4039
4125
|
var BRIDGE_SUBMIT_API_BLOCKED_REASON = "bridge submit requires a mono-core live submit API/runtime primitive";
|
|
4126
|
+
var V1_BRIDGE_ALLOWED_FEE_TOKEN = "LINK";
|
|
4127
|
+
var V1_BRIDGE_ALLOWED_PROTOCOL = "chainlink-ccip";
|
|
4040
4128
|
var BridgePrecompileError = class extends Error {
|
|
4041
4129
|
constructor(message) {
|
|
4042
4130
|
super(message);
|
|
@@ -4095,9 +4183,18 @@ function isBridgeFinalityZeroRevert(data) {
|
|
|
4095
4183
|
function assessBridgeRoute(route) {
|
|
4096
4184
|
const blockedReasons = [];
|
|
4097
4185
|
const warnings = [];
|
|
4186
|
+
const feeToken = String(route.feeToken ?? "").trim();
|
|
4098
4187
|
if (route.routeId.trim() === "") blockedReasons.push("route id missing");
|
|
4099
4188
|
if (route.bridge.trim() === "") blockedReasons.push("bridge name missing");
|
|
4189
|
+
if (!isChainlinkCcipRoute(route.protocol, route.bridge, route.verifier.model)) {
|
|
4190
|
+
blockedReasons.push("bridge protocol must be Chainlink CCIP");
|
|
4191
|
+
}
|
|
4100
4192
|
if (route.asset.trim() === "") blockedReasons.push("asset disclosure missing");
|
|
4193
|
+
if (feeToken === "") {
|
|
4194
|
+
blockedReasons.push("route fee token missing");
|
|
4195
|
+
} else if (feeToken.toUpperCase() !== V1_BRIDGE_ALLOWED_FEE_TOKEN) {
|
|
4196
|
+
blockedReasons.push("CCIP route fee token must be LINK");
|
|
4197
|
+
}
|
|
4101
4198
|
if (route.verifier.model.trim() === "") blockedReasons.push("verifier model missing");
|
|
4102
4199
|
if (route.verifier.threshold < 2 || route.verifier.participantCount < 2) {
|
|
4103
4200
|
blockedReasons.push("verifier set must not be 1-of-1");
|
|
@@ -4339,8 +4436,23 @@ function validateBridgeRouteCatalogueRoute(idx, value, seen, blockedReasons) {
|
|
|
4339
4436
|
20,
|
|
4340
4437
|
blockedReasons
|
|
4341
4438
|
);
|
|
4342
|
-
validateTextField(`${prefix}.bridge`, value.bridge, 64, blockedReasons);
|
|
4439
|
+
const bridge = validateTextField(`${prefix}.bridge`, value.bridge, 64, blockedReasons);
|
|
4440
|
+
const protocol = validateOptionalTextField(
|
|
4441
|
+
`${prefix}.protocol`,
|
|
4442
|
+
field(value, "protocol", "routeProtocol", "route_protocol"),
|
|
4443
|
+
64,
|
|
4444
|
+
blockedReasons
|
|
4445
|
+
);
|
|
4343
4446
|
validateTextField(`${prefix}.asset`, value.asset, 64, blockedReasons);
|
|
4447
|
+
const feeToken = validateTextField(
|
|
4448
|
+
`${prefix}.feeToken`,
|
|
4449
|
+
field(value, "feeToken", "fee_token"),
|
|
4450
|
+
32,
|
|
4451
|
+
blockedReasons
|
|
4452
|
+
);
|
|
4453
|
+
if (feeToken != null && feeToken.toUpperCase() !== V1_BRIDGE_ALLOWED_FEE_TOKEN) {
|
|
4454
|
+
blockedReasons.push(`${prefix}.feeToken must be LINK for CCIP routes`);
|
|
4455
|
+
}
|
|
4344
4456
|
validateTextField(
|
|
4345
4457
|
`${prefix}.sourceChain`,
|
|
4346
4458
|
field(value, "sourceChain", "source_chain"),
|
|
@@ -4354,10 +4466,11 @@ function validateBridgeRouteCatalogueRoute(idx, value, seen, blockedReasons) {
|
|
|
4354
4466
|
blockedReasons
|
|
4355
4467
|
);
|
|
4356
4468
|
const verifier = value.verifier;
|
|
4469
|
+
let verifierModel = null;
|
|
4357
4470
|
if (!isRecord2(verifier)) {
|
|
4358
4471
|
blockedReasons.push(`${prefix}.verifier must be an object`);
|
|
4359
4472
|
} else {
|
|
4360
|
-
validateTextField(`${prefix}.verifier.model`, verifier.model, 64, blockedReasons);
|
|
4473
|
+
verifierModel = validateTextField(`${prefix}.verifier.model`, verifier.model, 64, blockedReasons);
|
|
4361
4474
|
const participantCount = field(verifier, "participantCount", "participant_count");
|
|
4362
4475
|
if (!isU16(participantCount) || participantCount === 0) {
|
|
4363
4476
|
blockedReasons.push(`${prefix}.verifier.participantCount must be non-zero`);
|
|
@@ -4368,6 +4481,9 @@ function validateBridgeRouteCatalogueRoute(idx, value, seen, blockedReasons) {
|
|
|
4368
4481
|
blockedReasons.push(`${prefix}.verifier.threshold must be in 1..=participantCount`);
|
|
4369
4482
|
}
|
|
4370
4483
|
}
|
|
4484
|
+
if (!isChainlinkCcipRoute(protocol, bridge ?? "", verifierModel ?? "")) {
|
|
4485
|
+
blockedReasons.push(`${prefix}.protocol must be Chainlink CCIP`);
|
|
4486
|
+
}
|
|
4371
4487
|
if (!decimalStringIsPositiveU256(field(value, "drainCapAtomic", "drain_cap_atomic"))) {
|
|
4372
4488
|
blockedReasons.push(`${prefix}.drainCapAtomic must be a non-zero decimal u256`);
|
|
4373
4489
|
}
|
|
@@ -4409,7 +4525,9 @@ function coerceBridgeRouteCatalogueRoute(value) {
|
|
|
4409
4525
|
bridgeId: stringField2(value, "bridgeId", "bridge_id"),
|
|
4410
4526
|
wrappedAsset: stringField2(value, "wrappedAsset", "wrapped_asset"),
|
|
4411
4527
|
bridge: stringField2(value, "bridge").trim(),
|
|
4528
|
+
protocol: optionalStringField(value, "protocol", "routeProtocol", "route_protocol"),
|
|
4412
4529
|
asset: stringField2(value, "asset").trim(),
|
|
4530
|
+
feeToken: stringField2(value, "feeToken", "fee_token").trim(),
|
|
4413
4531
|
sourceChain: stringField2(value, "sourceChain", "source_chain").trim(),
|
|
4414
4532
|
destinationChain: stringField2(value, "destinationChain", "destination_chain").trim(),
|
|
4415
4533
|
verifier: {
|
|
@@ -4438,6 +4556,19 @@ function cloneBridgeRouteCatalogueRoute(route) {
|
|
|
4438
4556
|
verifier: { ...route.verifier }
|
|
4439
4557
|
};
|
|
4440
4558
|
}
|
|
4559
|
+
function isChainlinkCcipRoute(protocol, bridge, verifierModel) {
|
|
4560
|
+
const normalizedProtocol = normalizeBridgeProtocol(protocol ?? "");
|
|
4561
|
+
if (normalizedProtocol.length > 0) {
|
|
4562
|
+
return normalizedProtocol === "chainlinkccip" || normalizedProtocol === "ccip";
|
|
4563
|
+
}
|
|
4564
|
+
return bridgeLabelLooksCcip(bridge) || bridgeLabelLooksCcip(verifierModel);
|
|
4565
|
+
}
|
|
4566
|
+
function bridgeLabelLooksCcip(value) {
|
|
4567
|
+
return normalizeBridgeProtocol(value).includes("ccip");
|
|
4568
|
+
}
|
|
4569
|
+
function normalizeBridgeProtocol(value) {
|
|
4570
|
+
return value.trim().toLowerCase().replace(/[^a-z0-9]/g, "");
|
|
4571
|
+
}
|
|
4441
4572
|
function bridgeRouteCandidate(intent, intentReasons, route) {
|
|
4442
4573
|
const assessment = assessBridgeRoute(route);
|
|
4443
4574
|
const blockedReasons = [...intentReasons, ...assessment.blockedReasons];
|
|
@@ -4533,16 +4664,28 @@ function trimmedEq(left, right) {
|
|
|
4533
4664
|
function isRecord2(value) {
|
|
4534
4665
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
4535
4666
|
}
|
|
4536
|
-
function field(record,
|
|
4537
|
-
|
|
4538
|
-
|
|
4667
|
+
function field(record, ...keys) {
|
|
4668
|
+
for (const key of keys) {
|
|
4669
|
+
if (Object.prototype.hasOwnProperty.call(record, key)) return record[key];
|
|
4670
|
+
}
|
|
4539
4671
|
return void 0;
|
|
4540
4672
|
}
|
|
4541
|
-
function stringField2(record,
|
|
4542
|
-
return field(record,
|
|
4673
|
+
function stringField2(record, ...keys) {
|
|
4674
|
+
return field(record, ...keys);
|
|
4675
|
+
}
|
|
4676
|
+
function optionalStringField(record, ...keys) {
|
|
4677
|
+
let raw;
|
|
4678
|
+
for (const key of keys) {
|
|
4679
|
+
if (Object.prototype.hasOwnProperty.call(record, key)) {
|
|
4680
|
+
raw = record[key];
|
|
4681
|
+
break;
|
|
4682
|
+
}
|
|
4683
|
+
}
|
|
4684
|
+
if (raw === void 0 || raw === null) return null;
|
|
4685
|
+
return typeof raw === "string" ? raw.trim() : "";
|
|
4543
4686
|
}
|
|
4544
|
-
function numberField(record,
|
|
4545
|
-
return field(record,
|
|
4687
|
+
function numberField(record, ...keys) {
|
|
4688
|
+
return field(record, ...keys);
|
|
4546
4689
|
}
|
|
4547
4690
|
function validateTextField(name, value, maxLen, blockedReasons) {
|
|
4548
4691
|
if (typeof value !== "string") {
|
|
@@ -4556,6 +4699,10 @@ function validateTextField(name, value, maxLen, blockedReasons) {
|
|
|
4556
4699
|
}
|
|
4557
4700
|
return trimmed;
|
|
4558
4701
|
}
|
|
4702
|
+
function validateOptionalTextField(name, value, maxLen, blockedReasons) {
|
|
4703
|
+
if (value === void 0 || value === null) return null;
|
|
4704
|
+
return validateTextField(name, value, maxLen, blockedReasons);
|
|
4705
|
+
}
|
|
4559
4706
|
function validateHexBytes(name, value, expectedBytes, blockedReasons) {
|
|
4560
4707
|
if (typeof value !== "string") {
|
|
4561
4708
|
blockedReasons.push(`${name} must be ${expectedBytes} bytes of hex`);
|
|
@@ -4685,9 +4832,10 @@ function concatBytes4(...parts) {
|
|
|
4685
4832
|
var NO_EVM_RECEIPT_PROOF_SCHEMA = "mono.no_evm_receipt_proof.v1";
|
|
4686
4833
|
var NO_EVM_RECEIPT_PROOF_TYPE = "canonicalReceiptsTranscript";
|
|
4687
4834
|
var NO_EVM_RECEIPT_INCLUSION_PROOF_TYPE = "canonicalReceiptInclusion";
|
|
4688
|
-
var NO_EVM_RECEIPT_ROOT_ALGORITHM = "keccak256(monolythium/v4.1/
|
|
4835
|
+
var NO_EVM_RECEIPT_ROOT_ALGORITHM = "keccak256-binary-merkle(monolythium/v4.1/receipt_leaf/1, monolythium/v4.1/receipt_node/1, duplicate-last padding)";
|
|
4836
|
+
var NO_EVM_LEGACY_BINARY_RECEIPT_ROOT_ALGORITHM = "keccak256(monolythium/v4.1/receipts_root_empty/1|receipt_leaf/1|receipt_node/1 binary Merkle)";
|
|
4689
4837
|
var NO_EVM_LEGACY_RECEIPT_ROOT_ALGORITHM = "keccak256(monolythium/v2/receipts_root/1 || len || indexed bincode receipts)";
|
|
4690
|
-
var NO_EVM_RECEIPT_CODEC = "bincode(
|
|
4838
|
+
var NO_EVM_RECEIPT_CODEC = "bincode(protocore_execution_types::Receipt)";
|
|
4691
4839
|
var NO_EVM_RECEIPTS_ROOT_DOMAIN = "monolythium/v4.1/receipts_root_empty/1";
|
|
4692
4840
|
var NO_EVM_RECEIPT_LEAF_DOMAIN = "monolythium/v4.1/receipt_leaf/1";
|
|
4693
4841
|
var NO_EVM_RECEIPT_NODE_DOMAIN = "monolythium/v4.1/receipt_node/1";
|
|
@@ -5924,7 +6072,7 @@ function getOptionalHistorySource(proof) {
|
|
|
5924
6072
|
return value === void 0 ? void 0 : String(value);
|
|
5925
6073
|
}
|
|
5926
6074
|
function assertSupportedRootAlgorithm(actual) {
|
|
5927
|
-
if (actual !== NO_EVM_RECEIPT_ROOT_ALGORITHM && actual !== NO_EVM_LEGACY_RECEIPT_ROOT_ALGORITHM && actual !== NO_EVM_COMPACT_INCLUSION_TREE_ALGORITHM) {
|
|
6075
|
+
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) {
|
|
5928
6076
|
throw new NoEvmReceiptProofError(
|
|
5929
6077
|
"unsupported_root_algorithm",
|
|
5930
6078
|
`unsupported no-EVM receipt proof rootAlgorithm: ${actual}`
|
|
@@ -7852,8 +8000,8 @@ var MONOLYTHIUM_TESTNET_CHAIN_ID = 69420n;
|
|
|
7852
8000
|
var MONOLYTHIUM_TESTNET_NETWORK_NAME = "monolythium-testnet";
|
|
7853
8001
|
|
|
7854
8002
|
// src/index.ts
|
|
7855
|
-
var version = "0.2.
|
|
8003
|
+
var version = "0.2.2";
|
|
7856
8004
|
|
|
7857
|
-
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, validateBridgeRouteCatalogue, validateMrvArtifactMetadata, validateMrvCallRequest, validateMrvDeployRequest, verifyNoEvmArchiveProofSignatures, verifyNoEvmBlockFinalityEvidenceMultisig, verifyNoEvmBlockFinalityEvidenceThreshold, verifyNoEvmFinalityEvidenceMultisig, verifyNoEvmFinalityEvidenceThreshold, verifyNoEvmReceiptProof, verifyNoEvmReceiptProofTrust, version };
|
|
8005
|
+
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, 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 };
|
|
7858
8006
|
//# sourceMappingURL=index.js.map
|
|
7859
8007
|
//# sourceMappingURL=index.js.map
|