@continuumdao/ctm-mpc-defi 0.2.48 → 0.2.49
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/agent/catalog.cjs +1083 -4
- package/dist/agent/catalog.cjs.map +1 -1
- package/dist/agent/catalog.d.ts +1191 -7
- package/dist/agent/catalog.js +1047 -5
- package/dist/agent/catalog.js.map +1 -1
- package/dist/agent/skills/derive/SKILL.md +112 -0
- package/dist/agent/skills/hyperliquid/SKILL.md +22 -2
- package/dist/chains/evm/index.d.ts +118 -6
- package/dist/chains/near/index.d.ts +7 -1
- package/dist/chains/solana/index.d.ts +7 -1
- package/dist/core/index.cjs +2 -1
- package/dist/core/index.cjs.map +1 -1
- package/dist/core/index.d.ts +138 -7
- package/dist/core/index.js +2 -1
- package/dist/core/index.js.map +1 -1
- package/dist/index.cjs +2 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +848 -16
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/protocols/evm/aave-v4/index.d.ts +600 -6
- package/dist/protocols/evm/aerodrome/index.cjs.map +1 -1
- package/dist/protocols/evm/aerodrome/index.d.ts +125 -5
- package/dist/protocols/evm/aerodrome/index.js.map +1 -1
- package/dist/protocols/evm/arcus/index.d.ts +66 -2
- package/dist/protocols/evm/circle-cctp/index.d.ts +71 -2
- package/dist/protocols/evm/compound-v3/index.d.ts +52 -1
- package/dist/protocols/evm/continuum-dao/index.d.ts +56 -1
- package/dist/protocols/evm/curve-dao/index.d.ts +66 -2
- package/dist/protocols/evm/derive/index.cjs +2655 -0
- package/dist/protocols/evm/derive/index.cjs.map +1 -0
- package/dist/protocols/evm/derive/index.d.ts +859 -0
- package/dist/protocols/evm/derive/index.js +2536 -0
- package/dist/protocols/evm/derive/index.js.map +1 -0
- package/dist/protocols/evm/ethena/index.d.ts +52 -1
- package/dist/protocols/evm/euler-v2/index.d.ts +115 -16
- package/dist/protocols/evm/gmx/index.d.ts +66 -2
- package/dist/protocols/evm/hyperliquid/index.cjs +545 -267
- package/dist/protocols/evm/hyperliquid/index.cjs.map +1 -1
- package/dist/protocols/evm/hyperliquid/index.d.ts +152 -7
- package/dist/protocols/evm/hyperliquid/index.js +535 -269
- package/dist/protocols/evm/hyperliquid/index.js.map +1 -1
- package/dist/protocols/evm/lido/index.d.ts +52 -1
- package/dist/protocols/evm/maple/index.d.ts +52 -1
- package/dist/protocols/evm/morpho/index.d.ts +115 -4
- package/dist/protocols/evm/pendle/index.cjs +2 -1
- package/dist/protocols/evm/pendle/index.cjs.map +1 -1
- package/dist/protocols/evm/pendle/index.d.ts +125 -5
- package/dist/protocols/evm/pendle/index.js +2 -1
- package/dist/protocols/evm/pendle/index.js.map +1 -1
- package/dist/protocols/evm/permit2/index.d.ts +14 -1
- package/dist/protocols/evm/sky/index.d.ts +52 -1
- package/dist/protocols/evm/uniswap-v4/index.d.ts +78 -4
- package/dist/protocols/evm/venice/index.d.ts +52 -1
- package/package.json +7 -2
- package/dist/buildBatch-tsEUVn_a.d.ts +0 -45
- package/dist/eip712Multisign-6oNIlObj.d.ts +0 -39
- package/dist/envelope-Cm-llShH.d.ts +0 -37
- package/dist/merklDistributor-CdqtZC9N.d.ts +0 -65
- package/dist/multisign-Dr0j9fHm.d.ts +0 -489
- package/dist/registry-BvsXh0-r.d.ts +0 -8
- package/dist/types-RJpoU4Pc.d.ts +0 -34
- package/dist/types-lIfv59N1.d.ts +0 -63
|
@@ -1,6 +1,60 @@
|
|
|
1
|
-
import { K as KeyGenSubset, M as MultisignBuildResult, b as KeyGenSubsetForPermit, e as ProtocolModule } from '../../../types-lIfv59N1.js';
|
|
2
1
|
import { Address } from 'viem';
|
|
3
|
-
|
|
2
|
+
|
|
3
|
+
/** Aligns with app NonEvmChainType + 'evm'. Extend as mpc-auth adds chains. */
|
|
4
|
+
type ChainCategory = 'evm' | 'solana' | 'near' | 'sui' | 'ton' | 'stellar';
|
|
5
|
+
type MultisignBuildResult = {
|
|
6
|
+
bodyForSign: Record<string, unknown>;
|
|
7
|
+
messageToSign: string;
|
|
8
|
+
};
|
|
9
|
+
type EvmTokenKind = 'native' | 'erc20' | 'erc721' | 'ctmerc20' | 'ctmrwa1';
|
|
10
|
+
type SolanaTokenKind = 'native' | 'spl' | 'spl2022';
|
|
11
|
+
type NearTokenKind = 'native' | 'nep141';
|
|
12
|
+
type TokenRef = {
|
|
13
|
+
category: 'evm';
|
|
14
|
+
kind: EvmTokenKind;
|
|
15
|
+
address: `0x${string}`;
|
|
16
|
+
} | {
|
|
17
|
+
category: 'solana';
|
|
18
|
+
kind: SolanaTokenKind;
|
|
19
|
+
mint: string;
|
|
20
|
+
} | {
|
|
21
|
+
category: 'near';
|
|
22
|
+
kind: NearTokenKind;
|
|
23
|
+
contractId: string;
|
|
24
|
+
};
|
|
25
|
+
type ParamDoc = {
|
|
26
|
+
type: string;
|
|
27
|
+
required: boolean;
|
|
28
|
+
description: string;
|
|
29
|
+
};
|
|
30
|
+
type ProtocolActionDescriptor = {
|
|
31
|
+
id: string;
|
|
32
|
+
protocolId: string;
|
|
33
|
+
chainCategory: ChainCategory;
|
|
34
|
+
description: string;
|
|
35
|
+
commonParams: Array<'keyGen' | 'purposeText' | 'useCustomGas' | 'useCustomFees'>;
|
|
36
|
+
params: Record<string, ParamDoc>;
|
|
37
|
+
};
|
|
38
|
+
type ChainSupportContext = {
|
|
39
|
+
chainCategory: ChainCategory;
|
|
40
|
+
chainId: string | number;
|
|
41
|
+
};
|
|
42
|
+
interface ProtocolModule {
|
|
43
|
+
id: string;
|
|
44
|
+
chainCategory: ChainCategory;
|
|
45
|
+
isChainSupported(ctx: ChainSupportContext): boolean | Promise<boolean>;
|
|
46
|
+
isTokenSupported(token: TokenRef): boolean | Promise<boolean>;
|
|
47
|
+
actions: ProtocolActionDescriptor[];
|
|
48
|
+
}
|
|
49
|
+
type KeyGenSubset = {
|
|
50
|
+
pubkeyhex?: string;
|
|
51
|
+
keylist?: string[];
|
|
52
|
+
ClientKeys?: Record<string, string>;
|
|
53
|
+
groupId?: string;
|
|
54
|
+
GroupId?: string;
|
|
55
|
+
};
|
|
56
|
+
/** App-compatible alias used by multisign builders and Permit2 helpers. */
|
|
57
|
+
type KeyGenSubsetForPermit = KeyGenSubset;
|
|
4
58
|
|
|
5
59
|
/** Robinhood Chain — Arcus perps + spot Stock Tokens. */
|
|
6
60
|
declare const ARCUS_SUPPORTED_CHAIN_IDS: readonly [4663];
|
|
@@ -688,6 +742,16 @@ declare function buildArcusWithdrawTypedData(args: {
|
|
|
688
742
|
};
|
|
689
743
|
};
|
|
690
744
|
|
|
745
|
+
type EvmChainDetail = {
|
|
746
|
+
legacy?: boolean;
|
|
747
|
+
gasLimit?: number;
|
|
748
|
+
gasMultiplier?: number;
|
|
749
|
+
gasPrice?: number;
|
|
750
|
+
baseFee?: number;
|
|
751
|
+
priorityFee?: number;
|
|
752
|
+
baseFeeMultiplier?: number;
|
|
753
|
+
};
|
|
754
|
+
|
|
691
755
|
type ArcusDepositMultisignArgs = {
|
|
692
756
|
keyGen: KeyGenSubsetForPermit;
|
|
693
757
|
chainId: number;
|
|
@@ -1,6 +1,56 @@
|
|
|
1
|
-
import { b as KeyGenSubsetForPermit, e as ProtocolModule } from '../../../types-lIfv59N1.js';
|
|
2
1
|
import { Address } from 'viem';
|
|
3
|
-
|
|
2
|
+
|
|
3
|
+
/** Aligns with app NonEvmChainType + 'evm'. Extend as mpc-auth adds chains. */
|
|
4
|
+
type ChainCategory = 'evm' | 'solana' | 'near' | 'sui' | 'ton' | 'stellar';
|
|
5
|
+
type EvmTokenKind = 'native' | 'erc20' | 'erc721' | 'ctmerc20' | 'ctmrwa1';
|
|
6
|
+
type SolanaTokenKind = 'native' | 'spl' | 'spl2022';
|
|
7
|
+
type NearTokenKind = 'native' | 'nep141';
|
|
8
|
+
type TokenRef = {
|
|
9
|
+
category: 'evm';
|
|
10
|
+
kind: EvmTokenKind;
|
|
11
|
+
address: `0x${string}`;
|
|
12
|
+
} | {
|
|
13
|
+
category: 'solana';
|
|
14
|
+
kind: SolanaTokenKind;
|
|
15
|
+
mint: string;
|
|
16
|
+
} | {
|
|
17
|
+
category: 'near';
|
|
18
|
+
kind: NearTokenKind;
|
|
19
|
+
contractId: string;
|
|
20
|
+
};
|
|
21
|
+
type ParamDoc = {
|
|
22
|
+
type: string;
|
|
23
|
+
required: boolean;
|
|
24
|
+
description: string;
|
|
25
|
+
};
|
|
26
|
+
type ProtocolActionDescriptor = {
|
|
27
|
+
id: string;
|
|
28
|
+
protocolId: string;
|
|
29
|
+
chainCategory: ChainCategory;
|
|
30
|
+
description: string;
|
|
31
|
+
commonParams: Array<'keyGen' | 'purposeText' | 'useCustomGas' | 'useCustomFees'>;
|
|
32
|
+
params: Record<string, ParamDoc>;
|
|
33
|
+
};
|
|
34
|
+
type ChainSupportContext = {
|
|
35
|
+
chainCategory: ChainCategory;
|
|
36
|
+
chainId: string | number;
|
|
37
|
+
};
|
|
38
|
+
interface ProtocolModule {
|
|
39
|
+
id: string;
|
|
40
|
+
chainCategory: ChainCategory;
|
|
41
|
+
isChainSupported(ctx: ChainSupportContext): boolean | Promise<boolean>;
|
|
42
|
+
isTokenSupported(token: TokenRef): boolean | Promise<boolean>;
|
|
43
|
+
actions: ProtocolActionDescriptor[];
|
|
44
|
+
}
|
|
45
|
+
type KeyGenSubset = {
|
|
46
|
+
pubkeyhex?: string;
|
|
47
|
+
keylist?: string[];
|
|
48
|
+
ClientKeys?: Record<string, string>;
|
|
49
|
+
groupId?: string;
|
|
50
|
+
GroupId?: string;
|
|
51
|
+
};
|
|
52
|
+
/** App-compatible alias used by multisign builders and Permit2 helpers. */
|
|
53
|
+
type KeyGenSubsetForPermit = KeyGenSubset;
|
|
4
54
|
|
|
5
55
|
/** Circle CCTP V2 + Forwarding Service — shared constants. */
|
|
6
56
|
declare const CIRCLE_CCTP_PROTOCOL_ID = "circle-cctp";
|
|
@@ -169,6 +219,25 @@ declare function cctpAssertBurnPreconditions(args: {
|
|
|
169
219
|
totalBurn: bigint;
|
|
170
220
|
}>;
|
|
171
221
|
|
|
222
|
+
type EvmChainDetail = {
|
|
223
|
+
legacy?: boolean;
|
|
224
|
+
gasLimit?: number;
|
|
225
|
+
gasMultiplier?: number;
|
|
226
|
+
gasPrice?: number;
|
|
227
|
+
baseFee?: number;
|
|
228
|
+
priorityFee?: number;
|
|
229
|
+
baseFeeMultiplier?: number;
|
|
230
|
+
};
|
|
231
|
+
type EvmTxStep = {
|
|
232
|
+
to: Address;
|
|
233
|
+
data: `0x${string}`;
|
|
234
|
+
value: bigint;
|
|
235
|
+
/** Fallback when estimateGas reverts */
|
|
236
|
+
fallbackGas?: bigint;
|
|
237
|
+
/** When set, use routerSwapGasLimitFromEstimate instead of plain estimate */
|
|
238
|
+
routerSwap?: boolean;
|
|
239
|
+
};
|
|
240
|
+
|
|
172
241
|
type CctpBurnExtra = {
|
|
173
242
|
version: number;
|
|
174
243
|
sourceChainId: number;
|
|
@@ -1,6 +1,57 @@
|
|
|
1
|
-
import { b as KeyGenSubsetForPermit, e as ProtocolModule } from '../../../types-lIfv59N1.js';
|
|
2
1
|
import { Address, PublicClient } from 'viem';
|
|
3
2
|
|
|
3
|
+
/** Aligns with app NonEvmChainType + 'evm'. Extend as mpc-auth adds chains. */
|
|
4
|
+
type ChainCategory = 'evm' | 'solana' | 'near' | 'sui' | 'ton' | 'stellar';
|
|
5
|
+
type EvmTokenKind = 'native' | 'erc20' | 'erc721' | 'ctmerc20' | 'ctmrwa1';
|
|
6
|
+
type SolanaTokenKind = 'native' | 'spl' | 'spl2022';
|
|
7
|
+
type NearTokenKind = 'native' | 'nep141';
|
|
8
|
+
type TokenRef = {
|
|
9
|
+
category: 'evm';
|
|
10
|
+
kind: EvmTokenKind;
|
|
11
|
+
address: `0x${string}`;
|
|
12
|
+
} | {
|
|
13
|
+
category: 'solana';
|
|
14
|
+
kind: SolanaTokenKind;
|
|
15
|
+
mint: string;
|
|
16
|
+
} | {
|
|
17
|
+
category: 'near';
|
|
18
|
+
kind: NearTokenKind;
|
|
19
|
+
contractId: string;
|
|
20
|
+
};
|
|
21
|
+
type ParamDoc = {
|
|
22
|
+
type: string;
|
|
23
|
+
required: boolean;
|
|
24
|
+
description: string;
|
|
25
|
+
};
|
|
26
|
+
type ProtocolActionDescriptor = {
|
|
27
|
+
id: string;
|
|
28
|
+
protocolId: string;
|
|
29
|
+
chainCategory: ChainCategory;
|
|
30
|
+
description: string;
|
|
31
|
+
commonParams: Array<'keyGen' | 'purposeText' | 'useCustomGas' | 'useCustomFees'>;
|
|
32
|
+
params: Record<string, ParamDoc>;
|
|
33
|
+
};
|
|
34
|
+
type ChainSupportContext = {
|
|
35
|
+
chainCategory: ChainCategory;
|
|
36
|
+
chainId: string | number;
|
|
37
|
+
};
|
|
38
|
+
interface ProtocolModule {
|
|
39
|
+
id: string;
|
|
40
|
+
chainCategory: ChainCategory;
|
|
41
|
+
isChainSupported(ctx: ChainSupportContext): boolean | Promise<boolean>;
|
|
42
|
+
isTokenSupported(token: TokenRef): boolean | Promise<boolean>;
|
|
43
|
+
actions: ProtocolActionDescriptor[];
|
|
44
|
+
}
|
|
45
|
+
type KeyGenSubset = {
|
|
46
|
+
pubkeyhex?: string;
|
|
47
|
+
keylist?: string[];
|
|
48
|
+
ClientKeys?: Record<string, string>;
|
|
49
|
+
groupId?: string;
|
|
50
|
+
GroupId?: string;
|
|
51
|
+
};
|
|
52
|
+
/** App-compatible alias used by multisign builders and Permit2 helpers. */
|
|
53
|
+
type KeyGenSubsetForPermit = KeyGenSubset;
|
|
54
|
+
|
|
4
55
|
declare const COMPOUND_V3_PROTOCOL_ID = "compound-v3";
|
|
5
56
|
/** Live Comet deployments. Scroll and Ronin omitted (effectively dead). Testnets omitted. */
|
|
6
57
|
declare const COMPOUND_V3_CHAIN_IDS: readonly [1, 8453, 42161, 10, 137, 5000, 130, 59144];
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { b as KeyGenSubsetForPermit, K as KeyGenSubset, M as MultisignBuildResult, e as ProtocolModule } from '../../../types-lIfv59N1.js';
|
|
2
1
|
import * as viem from 'viem';
|
|
3
2
|
import { Address, Hex as Hex$2 } from 'viem';
|
|
4
3
|
import { Hex } from '../../types/misc.js';
|
|
@@ -8,6 +7,62 @@ import { VerifyHashParameters } from '../public/verifyHash.js';
|
|
|
8
7
|
import * as abitype from 'abitype';
|
|
9
8
|
import { Hex as Hex$1 } from '../types/misc.js';
|
|
10
9
|
|
|
10
|
+
/** Aligns with app NonEvmChainType + 'evm'. Extend as mpc-auth adds chains. */
|
|
11
|
+
type ChainCategory = 'evm' | 'solana' | 'near' | 'sui' | 'ton' | 'stellar';
|
|
12
|
+
type MultisignBuildResult = {
|
|
13
|
+
bodyForSign: Record<string, unknown>;
|
|
14
|
+
messageToSign: string;
|
|
15
|
+
};
|
|
16
|
+
type EvmTokenKind = 'native' | 'erc20' | 'erc721' | 'ctmerc20' | 'ctmrwa1';
|
|
17
|
+
type SolanaTokenKind = 'native' | 'spl' | 'spl2022';
|
|
18
|
+
type NearTokenKind = 'native' | 'nep141';
|
|
19
|
+
type TokenRef = {
|
|
20
|
+
category: 'evm';
|
|
21
|
+
kind: EvmTokenKind;
|
|
22
|
+
address: `0x${string}`;
|
|
23
|
+
} | {
|
|
24
|
+
category: 'solana';
|
|
25
|
+
kind: SolanaTokenKind;
|
|
26
|
+
mint: string;
|
|
27
|
+
} | {
|
|
28
|
+
category: 'near';
|
|
29
|
+
kind: NearTokenKind;
|
|
30
|
+
contractId: string;
|
|
31
|
+
};
|
|
32
|
+
type ParamDoc = {
|
|
33
|
+
type: string;
|
|
34
|
+
required: boolean;
|
|
35
|
+
description: string;
|
|
36
|
+
};
|
|
37
|
+
type ProtocolActionDescriptor = {
|
|
38
|
+
id: string;
|
|
39
|
+
protocolId: string;
|
|
40
|
+
chainCategory: ChainCategory;
|
|
41
|
+
description: string;
|
|
42
|
+
commonParams: Array<'keyGen' | 'purposeText' | 'useCustomGas' | 'useCustomFees'>;
|
|
43
|
+
params: Record<string, ParamDoc>;
|
|
44
|
+
};
|
|
45
|
+
type ChainSupportContext = {
|
|
46
|
+
chainCategory: ChainCategory;
|
|
47
|
+
chainId: string | number;
|
|
48
|
+
};
|
|
49
|
+
interface ProtocolModule {
|
|
50
|
+
id: string;
|
|
51
|
+
chainCategory: ChainCategory;
|
|
52
|
+
isChainSupported(ctx: ChainSupportContext): boolean | Promise<boolean>;
|
|
53
|
+
isTokenSupported(token: TokenRef): boolean | Promise<boolean>;
|
|
54
|
+
actions: ProtocolActionDescriptor[];
|
|
55
|
+
}
|
|
56
|
+
type KeyGenSubset = {
|
|
57
|
+
pubkeyhex?: string;
|
|
58
|
+
keylist?: string[];
|
|
59
|
+
ClientKeys?: Record<string, string>;
|
|
60
|
+
groupId?: string;
|
|
61
|
+
GroupId?: string;
|
|
62
|
+
};
|
|
63
|
+
/** App-compatible alias used by multisign builders and Permit2 helpers. */
|
|
64
|
+
type KeyGenSubsetForPermit = KeyGenSubset;
|
|
65
|
+
|
|
11
66
|
declare const CONTINUUM_DAO_PROTOCOL_ID = "continuum-dao";
|
|
12
67
|
declare const CONTINUUM_DAO_ETHEREUM_CHAIN_ID = 1;
|
|
13
68
|
declare const CONTINUUM_DAO_LINEA_CHAIN_ID = 59144;
|
|
@@ -1,8 +1,62 @@
|
|
|
1
|
-
import { b as KeyGenSubsetForPermit, M as MultisignBuildResult, e as ProtocolModule } from '../../../types-lIfv59N1.js';
|
|
2
1
|
import { Address } from 'viem';
|
|
3
|
-
import { E as EvmChainDetail } from '../../../types-RJpoU4Pc.js';
|
|
4
2
|
export { ProposalTxParams } from '@continuumdao/continuum-node-sdk';
|
|
5
3
|
|
|
4
|
+
/** Aligns with app NonEvmChainType + 'evm'. Extend as mpc-auth adds chains. */
|
|
5
|
+
type ChainCategory = 'evm' | 'solana' | 'near' | 'sui' | 'ton' | 'stellar';
|
|
6
|
+
type MultisignBuildResult = {
|
|
7
|
+
bodyForSign: Record<string, unknown>;
|
|
8
|
+
messageToSign: string;
|
|
9
|
+
};
|
|
10
|
+
type EvmTokenKind = 'native' | 'erc20' | 'erc721' | 'ctmerc20' | 'ctmrwa1';
|
|
11
|
+
type SolanaTokenKind = 'native' | 'spl' | 'spl2022';
|
|
12
|
+
type NearTokenKind = 'native' | 'nep141';
|
|
13
|
+
type TokenRef = {
|
|
14
|
+
category: 'evm';
|
|
15
|
+
kind: EvmTokenKind;
|
|
16
|
+
address: `0x${string}`;
|
|
17
|
+
} | {
|
|
18
|
+
category: 'solana';
|
|
19
|
+
kind: SolanaTokenKind;
|
|
20
|
+
mint: string;
|
|
21
|
+
} | {
|
|
22
|
+
category: 'near';
|
|
23
|
+
kind: NearTokenKind;
|
|
24
|
+
contractId: string;
|
|
25
|
+
};
|
|
26
|
+
type ParamDoc = {
|
|
27
|
+
type: string;
|
|
28
|
+
required: boolean;
|
|
29
|
+
description: string;
|
|
30
|
+
};
|
|
31
|
+
type ProtocolActionDescriptor = {
|
|
32
|
+
id: string;
|
|
33
|
+
protocolId: string;
|
|
34
|
+
chainCategory: ChainCategory;
|
|
35
|
+
description: string;
|
|
36
|
+
commonParams: Array<'keyGen' | 'purposeText' | 'useCustomGas' | 'useCustomFees'>;
|
|
37
|
+
params: Record<string, ParamDoc>;
|
|
38
|
+
};
|
|
39
|
+
type ChainSupportContext = {
|
|
40
|
+
chainCategory: ChainCategory;
|
|
41
|
+
chainId: string | number;
|
|
42
|
+
};
|
|
43
|
+
interface ProtocolModule {
|
|
44
|
+
id: string;
|
|
45
|
+
chainCategory: ChainCategory;
|
|
46
|
+
isChainSupported(ctx: ChainSupportContext): boolean | Promise<boolean>;
|
|
47
|
+
isTokenSupported(token: TokenRef): boolean | Promise<boolean>;
|
|
48
|
+
actions: ProtocolActionDescriptor[];
|
|
49
|
+
}
|
|
50
|
+
type KeyGenSubset = {
|
|
51
|
+
pubkeyhex?: string;
|
|
52
|
+
keylist?: string[];
|
|
53
|
+
ClientKeys?: Record<string, string>;
|
|
54
|
+
groupId?: string;
|
|
55
|
+
GroupId?: string;
|
|
56
|
+
};
|
|
57
|
+
/** App-compatible alias used by multisign builders and Permit2 helpers. */
|
|
58
|
+
type KeyGenSubsetForPermit = KeyGenSubset;
|
|
59
|
+
|
|
6
60
|
declare function isCurveApiChainSupported(chainId: string | number | bigint | null | undefined): boolean;
|
|
7
61
|
|
|
8
62
|
declare const CURVE_NATIVE_PLACEHOLDER = "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee";
|
|
@@ -131,6 +185,16 @@ declare function isCurveDaoSwapEvmSignRequest(detail: Record<string, unknown> |
|
|
|
131
185
|
declare function isCurveDaoErc20ApproveEvmSignRequest(detail: Record<string, unknown> | null | undefined, batchIndex?: number): boolean;
|
|
132
186
|
declare function resolveCurveDaoRouterGasUnitsFromSignRequest(detail: Record<string, unknown> | null | undefined, batchIndex?: number): bigint | null;
|
|
133
187
|
|
|
188
|
+
type EvmChainDetail = {
|
|
189
|
+
legacy?: boolean;
|
|
190
|
+
gasLimit?: number;
|
|
191
|
+
gasMultiplier?: number;
|
|
192
|
+
gasPrice?: number;
|
|
193
|
+
baseFee?: number;
|
|
194
|
+
priorityFee?: number;
|
|
195
|
+
baseFeeMultiplier?: number;
|
|
196
|
+
};
|
|
197
|
+
|
|
134
198
|
/**
|
|
135
199
|
* Build `POST /multiSignRequest` body: optional ERC-20 approve(s) to the Curve router, then
|
|
136
200
|
* `CurveRouterNG.exchange` via `@curvefi/api` `router.populateSwap`.
|