@continuumdao/ctm-mpc-defi 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/README.md +20 -78
- package/dist/agent/catalog.cjs +563 -5
- package/dist/agent/catalog.cjs.map +1 -1
- package/dist/agent/catalog.d.ts +166 -20
- package/dist/agent/catalog.js +551 -7
- package/dist/agent/catalog.js.map +1 -1
- package/dist/agent/skills/aave-v4/SKILL.md +43 -0
- package/dist/agent/skills/curve-dao/SKILL.md +13 -0
- package/dist/agent/skills/ethena/SKILL.md +10 -0
- package/dist/agent/skills/euler-v2/SKILL.md +10 -0
- package/dist/agent/skills/lido/SKILL.md +22 -0
- package/dist/agent/skills/maple-syrup/SKILL.md +10 -0
- package/dist/agent/skills/sky/SKILL.md +10 -0
- package/dist/agent/skills/uniswap-v4/SKILL.md +22 -0
- package/dist/chains/evm/index.cjs +79 -224
- package/dist/chains/evm/index.cjs.map +1 -1
- package/dist/chains/evm/index.d.ts +26 -26
- package/dist/chains/evm/index.js +69 -209
- package/dist/chains/evm/index.js.map +1 -1
- package/dist/chains/near/index.d.ts +1 -1
- package/dist/chains/solana/index.d.ts +1 -1
- package/dist/core/index.cjs +68 -106
- package/dist/core/index.cjs.map +1 -1
- package/dist/core/index.d.ts +21 -36
- package/dist/core/index.js +57 -96
- package/dist/core/index.js.map +1 -1
- package/dist/{envelope-CcE5Cz_q.d.ts → envelope-CpBUh9eP.d.ts} +1 -1
- package/dist/index.cjs +356 -1855
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +7 -11
- package/dist/index.js +332 -1826
- package/dist/index.js.map +1 -1
- package/dist/protocols/evm/aave-v4/index.cjs +1152 -669
- package/dist/protocols/evm/aave-v4/index.cjs.map +1 -1
- package/dist/protocols/evm/aave-v4/index.d.ts +418 -3
- package/dist/protocols/evm/aave-v4/index.js +1126 -670
- package/dist/protocols/evm/aave-v4/index.js.map +1 -1
- package/dist/protocols/evm/curve-dao/index.cjs +257 -131
- package/dist/protocols/evm/curve-dao/index.cjs.map +1 -1
- package/dist/protocols/evm/curve-dao/index.d.ts +69 -5
- package/dist/protocols/evm/curve-dao/index.js +242 -124
- package/dist/protocols/evm/curve-dao/index.js.map +1 -1
- package/dist/protocols/evm/ethena/index.cjs +394 -402
- package/dist/protocols/evm/ethena/index.cjs.map +1 -1
- package/dist/protocols/evm/ethena/index.d.ts +47 -3
- package/dist/protocols/evm/ethena/index.js +390 -404
- package/dist/protocols/evm/ethena/index.js.map +1 -1
- package/dist/protocols/evm/euler-v2/index.cjs +2810 -1191
- package/dist/protocols/evm/euler-v2/index.cjs.map +1 -1
- package/dist/protocols/evm/euler-v2/index.d.ts +465 -3
- package/dist/protocols/evm/euler-v2/index.js +2761 -1192
- package/dist/protocols/evm/euler-v2/index.js.map +1 -1
- package/dist/protocols/evm/lido/index.cjs +351 -236
- package/dist/protocols/evm/lido/index.cjs.map +1 -1
- package/dist/protocols/evm/lido/index.d.ts +34 -4
- package/dist/protocols/evm/lido/index.js +348 -238
- package/dist/protocols/evm/lido/index.js.map +1 -1
- package/dist/protocols/evm/maple/index.cjs +390 -395
- package/dist/protocols/evm/maple/index.cjs.map +1 -1
- package/dist/protocols/evm/maple/index.d.ts +23 -3
- package/dist/protocols/evm/maple/index.js +390 -397
- package/dist/protocols/evm/maple/index.js.map +1 -1
- package/dist/protocols/evm/sky/index.cjs +454 -232
- package/dist/protocols/evm/sky/index.cjs.map +1 -1
- package/dist/protocols/evm/sky/index.d.ts +57 -3
- package/dist/protocols/evm/sky/index.js +444 -231
- package/dist/protocols/evm/sky/index.js.map +1 -1
- package/dist/protocols/evm/uniswap-v4/index.cjs +423 -658
- package/dist/protocols/evm/uniswap-v4/index.cjs.map +1 -1
- package/dist/protocols/evm/uniswap-v4/index.d.ts +3 -4
- package/dist/protocols/evm/uniswap-v4/index.js +422 -657
- package/dist/protocols/evm/uniswap-v4/index.js.map +1 -1
- package/dist/{registry-oMKlO_5z.d.ts → registry-Bv5o37_w.d.ts} +1 -1
- package/dist/{types-Ce2qNHai.d.cts → types-BfjWdw1j.d.ts} +3 -1
- package/dist/{types-5u863Fd9.d.ts → types-DUeNJLr9.d.ts} +1 -1
- package/package.json +7 -6
- package/dist/agent/catalog.d.cts +0 -939
- package/dist/chains/evm/index.d.cts +0 -64
- package/dist/chains/near/index.d.cts +0 -37
- package/dist/chains/solana/index.d.cts +0 -40
- package/dist/core/index.d.cts +0 -43
- package/dist/envelope-DYDPnrHZ.d.cts +0 -35
- package/dist/index.d.cts +0 -16
- package/dist/keygen-CfNp8yKJ.d.cts +0 -9
- package/dist/keygen-DsINazx8.d.ts +0 -9
- package/dist/nodeRead-BnmSaMGO.d.cts +0 -8
- package/dist/nodeRead-BnmSaMGO.d.ts +0 -8
- package/dist/protocols/evm/aave-v4/index.d.cts +0 -500
- package/dist/protocols/evm/curve-dao/index.d.cts +0 -147
- package/dist/protocols/evm/ethena/index.d.cts +0 -161
- package/dist/protocols/evm/euler-v2/index.d.cts +0 -317
- package/dist/protocols/evm/lido/index.d.cts +0 -120
- package/dist/protocols/evm/maple/index.d.cts +0 -109
- package/dist/protocols/evm/sky/index.d.cts +0 -218
- package/dist/protocols/evm/uniswap-v4/index.d.cts +0 -324
- package/dist/registry-BwZoE668.d.cts +0 -8
- package/dist/txParams-BC7ogvdR.d.cts +0 -19
- package/dist/txParams-BC7ogvdR.d.ts +0 -19
- package/dist/types-B8idm_gu.d.cts +0 -34
- package/dist/types-Ce2qNHai.d.ts +0 -57
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import { b as EvmTxStep, a as EvmProtocolContext, E as EvmChainDetail } from '../../types-B8idm_gu.cjs';
|
|
2
|
-
export { i as isEvmNativeToken, m as matchEvmTokenKind } from '../../types-B8idm_gu.cjs';
|
|
3
|
-
export { P as ProposalTxParams, c as composeFeePayloadToTxParams, g as gasLimitFromEstimateAndChainConfig, p as proposalTxParamsToFeeSnapshot, r as routerSwapGasLimitFromEstimate, t as triggerTxParamsFromComposeBody } from '../../txParams-BC7ogvdR.cjs';
|
|
4
|
-
import { Address, PublicClient } from 'viem';
|
|
5
|
-
import { M as MultisignBuildResult } from '../../types-Ce2qNHai.cjs';
|
|
6
|
-
import { f as finalizeMultisign } from '../../envelope-DYDPnrHZ.cjs';
|
|
7
|
-
|
|
8
|
-
type EvmBatchMetaBuilder = (args: {
|
|
9
|
-
step: EvmTxStep;
|
|
10
|
-
index: number;
|
|
11
|
-
gasLimit: bigint;
|
|
12
|
-
}) => Record<string, unknown>;
|
|
13
|
-
type EvmBuildBatchArgs = {
|
|
14
|
-
context: EvmProtocolContext;
|
|
15
|
-
steps: EvmTxStep[];
|
|
16
|
-
purposeSuffix?: string;
|
|
17
|
-
buildBatchMeta: EvmBatchMetaBuilder;
|
|
18
|
-
/** First leg msgRaw without 0x prefix; defaults to first step calldata */
|
|
19
|
-
firstMsgRawNo0x?: string;
|
|
20
|
-
destinationAddress?: Address;
|
|
21
|
-
/** Top-level `value` on bodyForSign when the payable amount is not on the first leg */
|
|
22
|
-
payableValueWei?: bigint;
|
|
23
|
-
resolveGasLimit?: (args: {
|
|
24
|
-
step: EvmTxStep;
|
|
25
|
-
index: number;
|
|
26
|
-
estimatedGas: bigint;
|
|
27
|
-
publicClient: PublicClient;
|
|
28
|
-
}) => Promise<bigint> | bigint;
|
|
29
|
-
};
|
|
30
|
-
/**
|
|
31
|
-
* Build unsigned EVM txs, estimate gas, serialize, hash — then assemble mpc-auth body via core envelope.
|
|
32
|
-
*/
|
|
33
|
-
declare function buildEvmMultisignBatch(args: EvmBuildBatchArgs): Promise<MultisignBuildResult>;
|
|
34
|
-
declare const evmChainCategoryModule: {
|
|
35
|
-
category: "evm";
|
|
36
|
-
finalizeMultisign: typeof finalizeMultisign;
|
|
37
|
-
buildEvmMultisignBatch: typeof buildEvmMultisignBatch;
|
|
38
|
-
};
|
|
39
|
-
|
|
40
|
-
interface ChainFeeParams {
|
|
41
|
-
isEip1559: boolean;
|
|
42
|
-
baseFeeGwei?: number;
|
|
43
|
-
priorityFeeGwei?: number;
|
|
44
|
-
gasPriceGwei?: number;
|
|
45
|
-
}
|
|
46
|
-
declare function fetchChainFeeParams(rpcUrl: string, chainId: number | string): Promise<ChainFeeParams>;
|
|
47
|
-
|
|
48
|
-
type ResolvedEip1559Fees = {
|
|
49
|
-
maxFeePerGas: bigint;
|
|
50
|
-
maxPriorityFeePerGas: bigint;
|
|
51
|
-
};
|
|
52
|
-
/** Align EIP-1559 fees with the latest head base fee (same rules as Get Sig). */
|
|
53
|
-
declare function alignEip1559FeesWithLatestBase(maxFeePerGas: bigint, maxPriorityFeePerGas: bigint, latestBlockBaseFeeWei: bigint): ResolvedEip1559Fees;
|
|
54
|
-
declare function gweiToDecimalString(n: number): string;
|
|
55
|
-
|
|
56
|
-
/** Snapshot chain gas config for extraJSON when Use Custom Gas is on. */
|
|
57
|
-
declare function chainSnapshotForCustomGasExtraJSON(chainDetail: EvmChainDetail): Record<string, unknown>;
|
|
58
|
-
|
|
59
|
-
/** Parse chain id for comparisons (decimal, 0x hex, CAIP-2 eip155:N, bigint). */
|
|
60
|
-
declare function parseEvmChainIdToNumber(chainId: string | number | bigint | null | undefined): number;
|
|
61
|
-
|
|
62
|
-
declare function isValidRpcUrl(url: string): boolean;
|
|
63
|
-
|
|
64
|
-
export { type ChainFeeParams, type EvmBatchMetaBuilder, type EvmBuildBatchArgs, EvmChainDetail, EvmProtocolContext, EvmTxStep, type ResolvedEip1559Fees, alignEip1559FeesWithLatestBase, buildEvmMultisignBatch, chainSnapshotForCustomGasExtraJSON, evmChainCategoryModule, fetchChainFeeParams, gweiToDecimalString, isValidRpcUrl, parseEvmChainIdToNumber };
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { K as KeyGenSubset } from '../../types-Ce2qNHai.cjs';
|
|
2
|
-
|
|
3
|
-
type NearSigningDefaults = {
|
|
4
|
-
gasPriceYocto?: string;
|
|
5
|
-
};
|
|
6
|
-
type NearChainDetail = {
|
|
7
|
-
chainType: 'near';
|
|
8
|
-
chainId: string;
|
|
9
|
-
chainName: string;
|
|
10
|
-
rpcGateway: string;
|
|
11
|
-
endpointKind: 'json-rpc';
|
|
12
|
-
testnet: boolean;
|
|
13
|
-
nativeSymbol: string;
|
|
14
|
-
nativeDecimals: number;
|
|
15
|
-
signingDefaults?: NearSigningDefaults;
|
|
16
|
-
};
|
|
17
|
-
interface NearProtocolContext {
|
|
18
|
-
chainCategory: 'near';
|
|
19
|
-
chainId: string;
|
|
20
|
-
rpcGateway: string;
|
|
21
|
-
executorAddress: string;
|
|
22
|
-
chainDetail: NearChainDetail;
|
|
23
|
-
useCustomFees: boolean;
|
|
24
|
-
keyGen: KeyGenSubset;
|
|
25
|
-
purposeText: string;
|
|
26
|
-
}
|
|
27
|
-
declare class NotImplementedError extends Error {
|
|
28
|
-
constructor(feature: string);
|
|
29
|
-
}
|
|
30
|
-
declare function buildNearMultisignBatch(): Promise<never>;
|
|
31
|
-
declare const nearChainCategoryModule: {
|
|
32
|
-
category: "near";
|
|
33
|
-
};
|
|
34
|
-
|
|
35
|
-
declare const NEAR_CHAIN_CATEGORY: "near";
|
|
36
|
-
|
|
37
|
-
export { NEAR_CHAIN_CATEGORY, type NearChainDetail, type NearProtocolContext, type NearSigningDefaults, NotImplementedError, buildNearMultisignBatch, nearChainCategoryModule };
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { K as KeyGenSubset } from '../../types-Ce2qNHai.cjs';
|
|
2
|
-
|
|
3
|
-
/** Solana signing defaults — mirrors app NonEvmChainDetailRow.signingDefaults. */
|
|
4
|
-
type SolanaSigningDefaults = {
|
|
5
|
-
commitment?: 'confirmed' | 'finalized';
|
|
6
|
-
computeUnitLimit?: number;
|
|
7
|
-
priorityFeeMicroLamports?: number;
|
|
8
|
-
};
|
|
9
|
-
type SolanaChainDetail = {
|
|
10
|
-
chainType: 'solana';
|
|
11
|
-
chainId: string;
|
|
12
|
-
chainName: string;
|
|
13
|
-
rpcGateway: string;
|
|
14
|
-
endpointKind: 'json-rpc';
|
|
15
|
-
testnet: boolean;
|
|
16
|
-
nativeSymbol: string;
|
|
17
|
-
nativeDecimals: number;
|
|
18
|
-
signingDefaults?: SolanaSigningDefaults;
|
|
19
|
-
};
|
|
20
|
-
interface SolanaProtocolContext {
|
|
21
|
-
chainCategory: 'solana';
|
|
22
|
-
chainId: string;
|
|
23
|
-
rpcGateway: string;
|
|
24
|
-
executorAddress: string;
|
|
25
|
-
chainDetail: SolanaChainDetail;
|
|
26
|
-
useCustomFees: boolean;
|
|
27
|
-
keyGen: KeyGenSubset;
|
|
28
|
-
purposeText: string;
|
|
29
|
-
}
|
|
30
|
-
declare class NotImplementedError extends Error {
|
|
31
|
-
constructor(feature: string);
|
|
32
|
-
}
|
|
33
|
-
declare function buildSolanaMultisignBatch(): Promise<never>;
|
|
34
|
-
declare const solanaChainCategoryModule: {
|
|
35
|
-
category: "solana";
|
|
36
|
-
};
|
|
37
|
-
|
|
38
|
-
declare const SOLANA_CHAIN_CATEGORY: "solana";
|
|
39
|
-
|
|
40
|
-
export { NotImplementedError, SOLANA_CHAIN_CATEGORY, type SolanaChainDetail, type SolanaProtocolContext, type SolanaSigningDefaults, buildSolanaMultisignBatch, solanaChainCategoryModule };
|
package/dist/core/index.d.cts
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
export { C as ChainCategory, a as ChainSupportContext, E as EvmTokenKind, K as KeyGenSubset, M as MultisignBuildResult, b as MultisignCommonArgs, N as NearTokenKind, P as ParamDoc, c as ProtocolActionDescriptor, d as ProtocolModule, S as SolanaTokenKind, T as TokenRef } from '../types-Ce2qNHai.cjs';
|
|
2
|
-
export { K as KeyGenSubsetForPermit, f as firstClientIdFromKeyGen, k as keyListFromKeyGen, r as requirePubKeyHex } from '../keygen-CfNp8yKJ.cjs';
|
|
3
|
-
export { C as ChainCategoryBuildInput, a as ChainCategoryModule, M as MultisignLeg, c as coreChainCategoryModule, f as finalizeMultisign } from '../envelope-DYDPnrHZ.cjs';
|
|
4
|
-
export { g as getActionsByChainCategory, a as getProtocolModule, b as getProtocolModules, r as registerProtocolModule } from '../registry-BwZoE668.cjs';
|
|
5
|
-
import { N as NodeReadAuth } from '../nodeRead-BnmSaMGO.cjs';
|
|
6
|
-
export { n as nodeFetchWithReadAuth } from '../nodeRead-BnmSaMGO.cjs';
|
|
7
|
-
|
|
8
|
-
/** Merge user purpose text with an optional batch / protocol suffix. */
|
|
9
|
-
declare function mergePurposeText(purposeText: string, purposeSuffix?: string): string;
|
|
10
|
-
|
|
11
|
-
/** mpc-auth NodeMgtKeySig envelope: `{ nonce, clientSig, nodeKey }` (all lowercase). */
|
|
12
|
-
type ManagementSigFields = {
|
|
13
|
-
nonce: number;
|
|
14
|
-
clientSig: string;
|
|
15
|
-
nodeKey: string;
|
|
16
|
-
};
|
|
17
|
-
declare function normalizeManagementNodeKey(nodeKey: string | null | undefined): string;
|
|
18
|
-
/** Base fields for NodeMgtKeySig-style POST bodies (`clientSig` cleared for signing). */
|
|
19
|
-
declare function managementSigFields(nonce: number, nodeKey: string | null | undefined): ManagementSigFields;
|
|
20
|
-
/** Spread management fields first, then endpoint-specific fields (preserves key order when spreading). */
|
|
21
|
-
declare function buildManagementPostBody(nonce: number, nodeKey: string | null | undefined, fields?: Record<string, unknown>): Record<string, unknown>;
|
|
22
|
-
/** Exact UTF-8 string to sign: same JSON with `clientSig` cleared. */
|
|
23
|
-
declare function messageToSignManagementBody(body: Record<string, unknown>): string;
|
|
24
|
-
declare function withManagementClientSig(body: Record<string, unknown>, clientSig: string): Record<string, unknown>;
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* GET /getNodeKey — 128-hex MPC node id required on all NodeMgtKeySig POST bodies.
|
|
28
|
-
*/
|
|
29
|
-
declare function fetchNodeKey(nodeUrl: string, readAuth?: NodeReadAuth): Promise<{
|
|
30
|
-
nodeKey: string;
|
|
31
|
-
ok: boolean;
|
|
32
|
-
}>;
|
|
33
|
-
/**
|
|
34
|
-
* Fetch management nonce: GET /getPublicMgtKeyNonce (Ed25519) or GET /getNodeMgtKeyNonce (Ethereum NodeMgtKey).
|
|
35
|
-
* For Ed25519 added keys, pass `?publicKey=<64-hex>`.
|
|
36
|
-
*/
|
|
37
|
-
declare function fetchManagementNonce(nodeUrl: string, useEd25519: boolean, ed25519PublicKey?: string, readAuth?: NodeReadAuth): Promise<{
|
|
38
|
-
nonce: number;
|
|
39
|
-
ok: boolean;
|
|
40
|
-
code: number;
|
|
41
|
-
}>;
|
|
42
|
-
|
|
43
|
-
export { type ManagementSigFields, NodeReadAuth, buildManagementPostBody, fetchManagementNonce, fetchNodeKey, managementSigFields, mergePurposeText, messageToSignManagementBody, normalizeManagementNodeKey, withManagementClientSig };
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { K as KeyGenSubset, C as ChainCategory, M as MultisignBuildResult } from './types-Ce2qNHai.cjs';
|
|
2
|
-
|
|
3
|
-
interface MultisignLeg {
|
|
4
|
-
msgHash: string;
|
|
5
|
-
msgRaw: string;
|
|
6
|
-
destinationAddress: string;
|
|
7
|
-
signatureText: string;
|
|
8
|
-
audit: Record<string, unknown>;
|
|
9
|
-
feeSnapshot: Record<string, unknown>;
|
|
10
|
-
proposalTxParams?: Record<string, unknown>;
|
|
11
|
-
/** Payable value wei string for first leg only when relevant */
|
|
12
|
-
valueWei?: bigint;
|
|
13
|
-
}
|
|
14
|
-
interface ChainCategoryBuildInput {
|
|
15
|
-
keyGen: KeyGenSubset;
|
|
16
|
-
purposeText: string;
|
|
17
|
-
purposeSuffix?: string;
|
|
18
|
-
destinationChainID: string;
|
|
19
|
-
legs: MultisignLeg[];
|
|
20
|
-
extraJSON?: Record<string, unknown>;
|
|
21
|
-
/** Top-level destination address (first leg destination if omitted) */
|
|
22
|
-
destinationAddress?: string;
|
|
23
|
-
}
|
|
24
|
-
interface ChainCategoryModule {
|
|
25
|
-
category: ChainCategory;
|
|
26
|
-
finalizeMultisign(input: ChainCategoryBuildInput): MultisignBuildResult;
|
|
27
|
-
}
|
|
28
|
-
/**
|
|
29
|
-
* Assemble mpc-auth `bodyForSign` from category-built legs.
|
|
30
|
-
* Supports single-tx and batch (messageHashes / messageRawBatch / proposalTxParams).
|
|
31
|
-
*/
|
|
32
|
-
declare function finalizeMultisign(input: ChainCategoryBuildInput): MultisignBuildResult;
|
|
33
|
-
declare const coreChainCategoryModule: ChainCategoryModule;
|
|
34
|
-
|
|
35
|
-
export { type ChainCategoryBuildInput as C, type MultisignLeg as M, type ChainCategoryModule as a, coreChainCategoryModule as c, finalizeMultisign as f };
|
package/dist/index.d.cts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export { C as ChainCategory, a as ChainSupportContext, E as EvmTokenKind, K as KeyGenSubset, M as MultisignBuildResult, b as MultisignCommonArgs, N as NearTokenKind, P as ParamDoc, c as ProtocolActionDescriptor, d as ProtocolModule, S as SolanaTokenKind, T as TokenRef } from './types-Ce2qNHai.cjs';
|
|
2
|
-
export { K as KeyGenSubsetForPermit, f as firstClientIdFromKeyGen, k as keyListFromKeyGen, r as requirePubKeyHex } from './keygen-CfNp8yKJ.cjs';
|
|
3
|
-
export { ManagementSigFields, buildManagementPostBody, fetchManagementNonce, fetchNodeKey, managementSigFields, mergePurposeText, messageToSignManagementBody, normalizeManagementNodeKey, withManagementClientSig } from './core/index.cjs';
|
|
4
|
-
export { C as ChainCategoryBuildInput, a as ChainCategoryModule, M as MultisignLeg, c as coreChainCategoryModule, f as finalizeMultisign } from './envelope-DYDPnrHZ.cjs';
|
|
5
|
-
export { g as getActionsByChainCategory, a as getProtocolModule, b as getProtocolModules, r as registerProtocolModule } from './registry-BwZoE668.cjs';
|
|
6
|
-
export { N as NodeReadAuth, n as nodeFetchWithReadAuth } from './nodeRead-BnmSaMGO.cjs';
|
|
7
|
-
export { E as EvmChainDetail, a as EvmProtocolContext, b as EvmTxStep, i as isEvmNativeToken, m as matchEvmTokenKind } from './types-B8idm_gu.cjs';
|
|
8
|
-
export { P as ProposalTxParams, c as composeFeePayloadToTxParams, g as gasLimitFromEstimateAndChainConfig, p as proposalTxParamsToFeeSnapshot, r as routerSwapGasLimitFromEstimate, t as triggerTxParamsFromComposeBody } from './txParams-BC7ogvdR.cjs';
|
|
9
|
-
export { ChainFeeParams, EvmBatchMetaBuilder, EvmBuildBatchArgs, ResolvedEip1559Fees, alignEip1559FeesWithLatestBase, buildEvmMultisignBatch, chainSnapshotForCustomGasExtraJSON, evmChainCategoryModule, fetchChainFeeParams, gweiToDecimalString, isValidRpcUrl, parseEvmChainIdToNumber } from './chains/evm/index.cjs';
|
|
10
|
-
export { SOLANA_CHAIN_CATEGORY, solanaChainCategoryModule } from './chains/solana/index.cjs';
|
|
11
|
-
export { NEAR_CHAIN_CATEGORY, nearChainCategoryModule } from './chains/near/index.cjs';
|
|
12
|
-
export { getAgentCatalog } from './agent/catalog.cjs';
|
|
13
|
-
export { uniswapV4, uniswapV4ProtocolModule } from './protocols/evm/uniswap-v4/index.cjs';
|
|
14
|
-
export { curveDao, curveDaoProtocolModule } from './protocols/evm/curve-dao/index.cjs';
|
|
15
|
-
import 'viem';
|
|
16
|
-
import 'zod';
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { K as KeyGenSubset } from './types-Ce2qNHai.cjs';
|
|
2
|
-
|
|
3
|
-
/** App-compatible alias used by existing multisign builders. */
|
|
4
|
-
type KeyGenSubsetForPermit = KeyGenSubset;
|
|
5
|
-
declare function firstClientIdFromKeyGen(data: KeyGenSubset | null | undefined): string | null;
|
|
6
|
-
declare function requirePubKeyHex(keyGen: KeyGenSubset): string;
|
|
7
|
-
declare function keyListFromKeyGen(keyGen: KeyGenSubset): string[];
|
|
8
|
-
|
|
9
|
-
export { type KeyGenSubsetForPermit as K, firstClientIdFromKeyGen as f, keyListFromKeyGen as k, requirePubKeyHex as r };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { K as KeyGenSubset } from './types-Ce2qNHai.js';
|
|
2
|
-
|
|
3
|
-
/** App-compatible alias used by existing multisign builders. */
|
|
4
|
-
type KeyGenSubsetForPermit = KeyGenSubset;
|
|
5
|
-
declare function firstClientIdFromKeyGen(data: KeyGenSubset | null | undefined): string | null;
|
|
6
|
-
declare function requirePubKeyHex(keyGen: KeyGenSubset): string;
|
|
7
|
-
declare function keyListFromKeyGen(keyGen: KeyGenSubset): string[];
|
|
8
|
-
|
|
9
|
-
export { type KeyGenSubsetForPermit as K, firstClientIdFromKeyGen as f, keyListFromKeyGen as k, requirePubKeyHex as r };
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/** GET requests to mpc-auth management node with optional Bearer JWT (Browser HTTPS). */
|
|
2
|
-
type NodeReadAuth = {
|
|
3
|
-
bearerOnGet: boolean;
|
|
4
|
-
jwt: string | null;
|
|
5
|
-
};
|
|
6
|
-
declare function nodeFetchWithReadAuth(url: string, init: RequestInit | undefined, auth: NodeReadAuth): Promise<Response>;
|
|
7
|
-
|
|
8
|
-
export { type NodeReadAuth as N, nodeFetchWithReadAuth as n };
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/** GET requests to mpc-auth management node with optional Bearer JWT (Browser HTTPS). */
|
|
2
|
-
type NodeReadAuth = {
|
|
3
|
-
bearerOnGet: boolean;
|
|
4
|
-
jwt: string | null;
|
|
5
|
-
};
|
|
6
|
-
declare function nodeFetchWithReadAuth(url: string, init: RequestInit | undefined, auth: NodeReadAuth): Promise<Response>;
|
|
7
|
-
|
|
8
|
-
export { type NodeReadAuth as N, nodeFetchWithReadAuth as n };
|