@continuumdao/ctm-mpc-defi 0.2.29 → 0.2.31
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 +2892 -13
- package/dist/agent/catalog.cjs.map +1 -1
- package/dist/agent/catalog.d.ts +5454 -977
- package/dist/agent/catalog.js +2784 -15
- package/dist/agent/catalog.js.map +1 -1
- package/dist/agent/skills/aerodrome/SKILL.md +93 -0
- package/dist/agent/skills/compound-v3/SKILL.md +132 -0
- package/dist/agent/skills/continuum-dao/SKILL.md +139 -0
- package/dist/agent/skills/morpho/SKILL.md +16 -8
- package/dist/buildBatch-CngvebiD.d.ts +45 -0
- package/dist/chains/evm/index.d.ts +6 -44
- package/dist/core/index.cjs +44 -40
- package/dist/core/index.cjs.map +1 -1
- package/dist/core/index.d.ts +1 -1
- package/dist/core/index.js +44 -40
- package/dist/core/index.js.map +1 -1
- package/dist/{eip712Multisign-xhXpUYp3.d.ts → eip712Multisign-DCW7heqX.d.ts} +11 -8
- package/dist/index.cjs +183 -58
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +5 -2
- package/dist/index.js +182 -58
- package/dist/index.js.map +1 -1
- package/dist/protocols/evm/aerodrome/index.cjs +3922 -0
- package/dist/protocols/evm/aerodrome/index.cjs.map +1 -0
- package/dist/protocols/evm/aerodrome/index.d.ts +792 -0
- package/dist/protocols/evm/aerodrome/index.js +3843 -0
- package/dist/protocols/evm/aerodrome/index.js.map +1 -0
- package/dist/protocols/evm/arcus/index.cjs +62 -55
- package/dist/protocols/evm/arcus/index.cjs.map +1 -1
- package/dist/protocols/evm/arcus/index.js +62 -55
- package/dist/protocols/evm/arcus/index.js.map +1 -1
- package/dist/protocols/evm/compound-v3/index.cjs +1542 -0
- package/dist/protocols/evm/compound-v3/index.cjs.map +1 -0
- package/dist/protocols/evm/compound-v3/index.d.ts +683 -0
- package/dist/protocols/evm/compound-v3/index.js +1488 -0
- package/dist/protocols/evm/compound-v3/index.js.map +1 -0
- package/dist/protocols/evm/continuum-dao/index.cjs +2237 -0
- package/dist/protocols/evm/continuum-dao/index.cjs.map +1 -0
- package/dist/protocols/evm/continuum-dao/index.d.ts +700 -0
- package/dist/protocols/evm/continuum-dao/index.js +2110 -0
- package/dist/protocols/evm/continuum-dao/index.js.map +1 -0
- package/dist/protocols/evm/hyperliquid/index.cjs +125 -110
- package/dist/protocols/evm/hyperliquid/index.cjs.map +1 -1
- package/dist/protocols/evm/hyperliquid/index.js +125 -110
- package/dist/protocols/evm/hyperliquid/index.js.map +1 -1
- package/dist/protocols/evm/morpho/index.cjs +746 -39
- package/dist/protocols/evm/morpho/index.cjs.map +1 -1
- package/dist/protocols/evm/morpho/index.d.ts +161 -14
- package/dist/protocols/evm/morpho/index.js +736 -42
- package/dist/protocols/evm/morpho/index.js.map +1 -1
- package/dist/protocols/evm/permit2/index.cjs +66 -59
- package/dist/protocols/evm/permit2/index.cjs.map +1 -1
- package/dist/protocols/evm/permit2/index.js +66 -59
- package/dist/protocols/evm/permit2/index.js.map +1 -1
- package/dist/protocols/evm/uniswap-v4/index.cjs +63 -56
- package/dist/protocols/evm/uniswap-v4/index.cjs.map +1 -1
- package/dist/protocols/evm/uniswap-v4/index.d.ts +1 -1
- package/dist/protocols/evm/uniswap-v4/index.js +63 -56
- package/dist/protocols/evm/uniswap-v4/index.js.map +1 -1
- package/package.json +20 -1
package/dist/index.d.ts
CHANGED
|
@@ -3,11 +3,14 @@ export { getClientIdFromKeyGenResult as firstClientIdFromKeyGen } from '@continu
|
|
|
3
3
|
export { BuildPayloadSignEd25519MultisignBodyArgs, DEFAULT_DEFI_MULTISIGN_EXPIRY_SECONDS, DEFI_PROTOCOLS_WITH_30MIN_EXPIRY, PAYLOAD_SIGN_ED25519_REQUEST_KIND, PayloadSignEd25519Delivery, buildPayloadSignEd25519MultisignBody, defiMultisignExpiryUnixSeconds, getAaveGraphqlProxyUrl, getCoingeckoProxyUrl, getEulerGraphqlProxyUrl, getJsonViaOptionalProxy, getMapleGraphqlProxyUrl, getMorphoGraphqlProxyUrl, getMorphoMidnightRestProxyUrl, mergePurposeText, postJsonViaOptionalProxy, setAaveGraphqlProxyUrl, setCoingeckoProxyUrl, setEulerGraphqlProxyUrl, setMapleGraphqlProxyUrl, setMorphoGraphqlProxyUrl, setMorphoMidnightRestProxyUrl } from './core/index.js';
|
|
4
4
|
export { C as ChainCategoryBuildInput, a as ChainCategoryModule, M as MultisignLeg, c as coreChainCategoryModule, f as finalizeMultisign } from './envelope-C_bfuKab.js';
|
|
5
5
|
export { g as getActionsByChainCategory, a as getProtocolModule, b as getProtocolModules, r as registerProtocolModule } from './registry-DxDSPQ-p.js';
|
|
6
|
-
export { B as
|
|
6
|
+
export { B as BuildEip712MultisignArgs, a as BuildEip712MultisignLeg, E as EIP712_SIGN_REQUEST_KIND, b as Eip712MultisignDelivery, c as Eip712TypedDataField, d as Eip712TypedDataPayload, e as buildEip712Multisign } from './eip712Multisign-DCW7heqX.js';
|
|
7
7
|
export { E as EvmChainDetail, a as EvmProtocolContext, b as EvmTxStep, i as isEvmNativeToken, m as matchEvmTokenKind } from './types-RZWOTm8c.js';
|
|
8
|
-
export {
|
|
8
|
+
export { E as EvmBatchMetaBuilder, a as EvmBuildBatchArgs, b as buildEvmMultisignBatch, e as evmChainCategoryModule } from './buildBatch-CngvebiD.js';
|
|
9
|
+
export { COINGECKO_PLATFORM_BY_CHAIN_ID, ConditionalApproveStep, approveStepsToEvmTxSteps, buildConditionalErc20ApproveSteps, coingeckoPlatformForChainId, normalizeCurveRouterAmountString, normalizeHumanDecimalAmount, parseEvmChainIdToNumber, publicClientForRpc, resolveErc20Decimals, routerSwapGasLimitFromEstimate } from './chains/evm/index.js';
|
|
9
10
|
export { SOLANA_CHAIN_CATEGORY, solanaChainCategoryModule } from './chains/solana/index.js';
|
|
10
11
|
export { NEAR_CHAIN_CATEGORY, nearChainCategoryModule } from './chains/near/index.js';
|
|
11
12
|
export { uniswapV4, uniswapV4ProtocolModule } from './protocols/evm/uniswap-v4/index.js';
|
|
12
13
|
export { curveDao, curveDaoProtocolModule } from './protocols/evm/curve-dao/index.js';
|
|
14
|
+
export { aerodromeProtocolModule } from './protocols/evm/aerodrome/index.js';
|
|
13
15
|
import 'viem';
|
|
16
|
+
import 'abitype';
|
package/dist/index.js
CHANGED
|
@@ -181,57 +181,60 @@ function eip712SignatureText(domain, primaryType) {
|
|
|
181
181
|
function jsonStringifyForAudit(value) {
|
|
182
182
|
return JSON.stringify(value, (_, v) => typeof v === "bigint" ? v.toString() : v);
|
|
183
183
|
}
|
|
184
|
-
function
|
|
185
|
-
|
|
184
|
+
function eip712LegEnvelope(typedData, delivery, digest) {
|
|
185
|
+
return {
|
|
186
186
|
version: 1,
|
|
187
|
-
|
|
188
|
-
delivery
|
|
189
|
-
};
|
|
190
|
-
return stringToHex(jsonStringifyForAudit(envelope));
|
|
191
|
-
}
|
|
192
|
-
function buildEip712MultisignBody(args) {
|
|
193
|
-
const { typedData, delivery } = args;
|
|
194
|
-
const digest = hashTypedData({
|
|
187
|
+
digest,
|
|
195
188
|
domain: typedData.domain,
|
|
196
189
|
types: typedData.types,
|
|
197
190
|
primaryType: typedData.primaryType,
|
|
198
|
-
message: typedData.message
|
|
199
|
-
});
|
|
200
|
-
const extraJSON = {
|
|
201
|
-
signRequestKind: EIP712_SIGN_REQUEST_KIND,
|
|
202
|
-
eip712: {
|
|
203
|
-
version: 1,
|
|
204
|
-
digest,
|
|
205
|
-
domain: typedData.domain,
|
|
206
|
-
types: typedData.types,
|
|
207
|
-
primaryType: typedData.primaryType,
|
|
208
|
-
message: typedData.message
|
|
209
|
-
},
|
|
191
|
+
message: typedData.message,
|
|
210
192
|
delivery
|
|
211
193
|
};
|
|
194
|
+
}
|
|
195
|
+
function eip712MsgRawHex(envelope) {
|
|
196
|
+
return stringToHex(jsonStringifyForAudit(envelope));
|
|
197
|
+
}
|
|
198
|
+
function buildEip712Multisign(args) {
|
|
199
|
+
if (args.legs.length < 1) {
|
|
200
|
+
throw new Error("buildEip712Multisign requires at least one leg");
|
|
201
|
+
}
|
|
202
|
+
const eip712 = [];
|
|
203
|
+
const legs = args.legs.map((leg) => {
|
|
204
|
+
const digest = hashTypedData({
|
|
205
|
+
domain: leg.typedData.domain,
|
|
206
|
+
types: leg.typedData.types,
|
|
207
|
+
primaryType: leg.typedData.primaryType,
|
|
208
|
+
message: leg.typedData.message
|
|
209
|
+
});
|
|
210
|
+
const envelope = eip712LegEnvelope(leg.typedData, leg.delivery, digest);
|
|
211
|
+
eip712.push(envelope);
|
|
212
|
+
return {
|
|
213
|
+
msgHash: msgHashNo0x(digest),
|
|
214
|
+
msgRaw: eip712MsgRawHex(envelope),
|
|
215
|
+
destinationAddress: args.destinationAddress,
|
|
216
|
+
signatureText: eip712SignatureText(leg.typedData.domain, leg.typedData.primaryType),
|
|
217
|
+
audit: {
|
|
218
|
+
kind: "EIP712",
|
|
219
|
+
primaryType: leg.typedData.primaryType,
|
|
220
|
+
deliveryKind: leg.delivery.kind,
|
|
221
|
+
...leg.audit ?? {}
|
|
222
|
+
},
|
|
223
|
+
feeSnapshot: {}
|
|
224
|
+
};
|
|
225
|
+
});
|
|
212
226
|
return finalizeMultisign({
|
|
213
227
|
keyGen: args.keyGen,
|
|
214
228
|
purposeText: args.purposeText,
|
|
215
229
|
purposeSuffix: args.purposeSuffix,
|
|
216
230
|
destinationChainID: args.destinationChainID,
|
|
217
231
|
destinationAddress: args.destinationAddress,
|
|
218
|
-
extraJSON
|
|
232
|
+
extraJSON: {
|
|
233
|
+
signRequestKind: EIP712_SIGN_REQUEST_KIND,
|
|
234
|
+
eip712
|
|
235
|
+
},
|
|
219
236
|
expiryDate: args.expiryDate,
|
|
220
|
-
legs
|
|
221
|
-
{
|
|
222
|
-
msgHash: msgHashNo0x(digest),
|
|
223
|
-
msgRaw: eip712MsgRawHex(typedData, delivery),
|
|
224
|
-
destinationAddress: args.destinationAddress,
|
|
225
|
-
signatureText: eip712SignatureText(typedData.domain, typedData.primaryType),
|
|
226
|
-
audit: {
|
|
227
|
-
kind: "EIP712",
|
|
228
|
-
primaryType: typedData.primaryType,
|
|
229
|
-
deliveryKind: delivery.kind,
|
|
230
|
-
...args.audit ?? {}
|
|
231
|
-
},
|
|
232
|
-
feeSnapshot: {}
|
|
233
|
-
}
|
|
234
|
-
]
|
|
237
|
+
legs
|
|
235
238
|
});
|
|
236
239
|
}
|
|
237
240
|
var PAYLOAD_SIGN_ED25519_REQUEST_KIND = "payload_sign_ed25519";
|
|
@@ -294,7 +297,8 @@ var DEFI_PROTOCOLS_WITH_30MIN_EXPIRY = /* @__PURE__ */ new Set([
|
|
|
294
297
|
"gmx",
|
|
295
298
|
"hyperliquid",
|
|
296
299
|
"arcus",
|
|
297
|
-
"curve-dao"
|
|
300
|
+
"curve-dao",
|
|
301
|
+
"aerodrome"
|
|
298
302
|
]);
|
|
299
303
|
function defiMultisignExpiryUnixSeconds(protocolId, explicitExpiryDate) {
|
|
300
304
|
if (typeof explicitExpiryDate === "number" && Number.isFinite(explicitExpiryDate) && explicitExpiryDate > 0) {
|
|
@@ -2894,28 +2898,32 @@ async function buildEvmMultisignBodyUniswapV4LimitOrderBatch(args) {
|
|
|
2894
2898
|
quoteResponse: args.fullLimitQuote,
|
|
2895
2899
|
signatureHex: "0x"
|
|
2896
2900
|
});
|
|
2897
|
-
return
|
|
2901
|
+
return buildEip712Multisign({
|
|
2898
2902
|
keyGen: args.keyGen,
|
|
2899
2903
|
purposeText: args.purposeText,
|
|
2900
2904
|
destinationChainID: String(UNISWAP_LIMIT_ORDER_CHAIN_ID),
|
|
2901
2905
|
destinationAddress: PERMIT2_ADDRESS,
|
|
2902
|
-
|
|
2903
|
-
|
|
2904
|
-
|
|
2905
|
-
|
|
2906
|
-
|
|
2907
|
-
|
|
2908
|
-
|
|
2909
|
-
|
|
2910
|
-
|
|
2911
|
-
|
|
2912
|
-
|
|
2913
|
-
|
|
2914
|
-
|
|
2915
|
-
|
|
2916
|
-
|
|
2917
|
-
|
|
2918
|
-
|
|
2906
|
+
legs: [
|
|
2907
|
+
{
|
|
2908
|
+
typedData,
|
|
2909
|
+
delivery: {
|
|
2910
|
+
kind: "uniswapx_limit_order",
|
|
2911
|
+
chainId: UNISWAP_LIMIT_ORDER_CHAIN_ID,
|
|
2912
|
+
swapper: getAddress(args.swapper),
|
|
2913
|
+
submitBodyTemplate: submitTemplate,
|
|
2914
|
+
quoteResponse: args.fullLimitQuote,
|
|
2915
|
+
uniswapApiKey: args.uniswapApiKey,
|
|
2916
|
+
tradeApiBaseUrl: args.tradeApiBaseUrl ?? "https://trade-api.gateway.uniswap.org/v1"
|
|
2917
|
+
},
|
|
2918
|
+
audit: {
|
|
2919
|
+
protocol: "uniswap-v4",
|
|
2920
|
+
action: "limitOrder",
|
|
2921
|
+
routing: args.fullLimitQuote.routing ?? "LIMIT_ORDER",
|
|
2922
|
+
orderType: "Limit",
|
|
2923
|
+
primaryType: typedData.primaryType
|
|
2924
|
+
}
|
|
2925
|
+
}
|
|
2926
|
+
],
|
|
2919
2927
|
expiryDate: args.expiryDate
|
|
2920
2928
|
});
|
|
2921
2929
|
}
|
|
@@ -3423,11 +3431,127 @@ var curveDao = {
|
|
|
3423
3431
|
isChainSupported: isCurveApiChainSupported,
|
|
3424
3432
|
loadSession: loadFullCurveSessionForRpc
|
|
3425
3433
|
};
|
|
3434
|
+
var AERODROME_PROTOCOL_ID = "aerodrome";
|
|
3435
|
+
var AERODROME_CHAIN_ID = 8453;
|
|
3436
|
+
function isAerodromeChainSupported(chainId) {
|
|
3437
|
+
const n = typeof chainId === "number" ? chainId : Number.parseInt(String(chainId), 10);
|
|
3438
|
+
return n === AERODROME_CHAIN_ID;
|
|
3439
|
+
}
|
|
3440
|
+
|
|
3441
|
+
// src/protocols/evm/aerodrome/index.ts
|
|
3442
|
+
var aerodromeProtocolModule = {
|
|
3443
|
+
id: AERODROME_PROTOCOL_ID,
|
|
3444
|
+
chainCategory: "evm",
|
|
3445
|
+
isChainSupported(ctx) {
|
|
3446
|
+
if (ctx.chainCategory !== "evm") return false;
|
|
3447
|
+
return isAerodromeChainSupported(ctx.chainId);
|
|
3448
|
+
},
|
|
3449
|
+
isTokenSupported(token) {
|
|
3450
|
+
if (token.category !== "evm") return false;
|
|
3451
|
+
return token.kind === "native" || token.kind === "erc20";
|
|
3452
|
+
},
|
|
3453
|
+
actions: [
|
|
3454
|
+
{
|
|
3455
|
+
id: "aerodrome.quote",
|
|
3456
|
+
protocolId: AERODROME_PROTOCOL_ID,
|
|
3457
|
+
chainCategory: "evm",
|
|
3458
|
+
description: "Quote an Aerodrome swap on Base via factory discovery + MixedRouteQuoterV3 / Router. Tickers (AAPLc, USDC, ETH) accepted.",
|
|
3459
|
+
commonParams: [],
|
|
3460
|
+
params: {
|
|
3461
|
+
chainId: { type: "number", required: true, description: `Must be ${AERODROME_CHAIN_ID}` },
|
|
3462
|
+
tokenIn: { type: "address", required: true, description: "Ticker (AAPLc, USDC, ETH, WETH, AERO) or 0x / 0x0 native" },
|
|
3463
|
+
tokenOut: { type: "address", required: true, description: "Ticker (AAPLc, USDC, ETH, WETH, AERO) or 0x / 0x0 native" },
|
|
3464
|
+
amountHuman: { type: "string", required: true, description: "Human-readable input amount (B20 stocks are 8 decimals)" }
|
|
3465
|
+
}
|
|
3466
|
+
},
|
|
3467
|
+
{
|
|
3468
|
+
id: "aerodrome.swap",
|
|
3469
|
+
protocolId: AERODROME_PROTOCOL_ID,
|
|
3470
|
+
chainCategory: "evm",
|
|
3471
|
+
description: "Swap via Aerodrome Router / Slipstream SwapRouter (optional ERC-20 approve batch)",
|
|
3472
|
+
commonParams: ["keyGen", "purposeText", "useCustomGas"],
|
|
3473
|
+
params: {
|
|
3474
|
+
tokenIn: { type: "address", required: true, description: "Ticker (AAPLc, USDC, ETH) or 0x / 0x0 native" },
|
|
3475
|
+
tokenOut: { type: "address", required: true, description: "Ticker (AAPLc, USDC, ETH) or 0x / 0x0 native" },
|
|
3476
|
+
amountHuman: { type: "string", required: true, description: "Human-readable input amount" },
|
|
3477
|
+
slippagePercent: { type: "number", required: true, description: "Slippage percent (0\u2013100 exclusive)" }
|
|
3478
|
+
}
|
|
3479
|
+
},
|
|
3480
|
+
{
|
|
3481
|
+
id: "aerodrome.add-liquidity",
|
|
3482
|
+
protocolId: AERODROME_PROTOCOL_ID,
|
|
3483
|
+
chainCategory: "evm",
|
|
3484
|
+
description: "Deposit into a basic vAMM/sAMM pool (one-sided amounts; tickers OK)",
|
|
3485
|
+
commonParams: ["keyGen", "purposeText", "useCustomGas"],
|
|
3486
|
+
params: {
|
|
3487
|
+
tokenA: { type: "address", required: true, description: "Ticker (AAPLc, USDC, ETH) or 0x / 0x0 native" },
|
|
3488
|
+
tokenB: { type: "address", required: true, description: "Ticker (AAPLc, USDC, ETH) or 0x / 0x0 native" },
|
|
3489
|
+
stable: { type: "boolean", required: true, description: "true = sAMM, false = vAMM" },
|
|
3490
|
+
amountAHuman: { type: "string", required: false, description: "Amount A; omit to solve from B" },
|
|
3491
|
+
amountBHuman: { type: "string", required: false, description: "Amount B; omit to solve from A" },
|
|
3492
|
+
slippagePercent: { type: "number", required: true, description: "Slippage percent" }
|
|
3493
|
+
}
|
|
3494
|
+
},
|
|
3495
|
+
{
|
|
3496
|
+
id: "aerodrome.remove-liquidity",
|
|
3497
|
+
protocolId: AERODROME_PROTOCOL_ID,
|
|
3498
|
+
chainCategory: "evm",
|
|
3499
|
+
description: "Withdraw from a basic vAMM/sAMM pool",
|
|
3500
|
+
commonParams: ["keyGen", "purposeText", "useCustomGas"],
|
|
3501
|
+
params: {
|
|
3502
|
+
lpToken: { type: "address", required: true, description: "LP token" },
|
|
3503
|
+
liquidityHuman: { type: "string", required: true, description: "LP amount" }
|
|
3504
|
+
}
|
|
3505
|
+
},
|
|
3506
|
+
{
|
|
3507
|
+
id: "aerodrome.cl-mint",
|
|
3508
|
+
protocolId: AERODROME_PROTOCOL_ID,
|
|
3509
|
+
chainCategory: "evm",
|
|
3510
|
+
description: "Mint a Slipstream concentrated liquidity NFT",
|
|
3511
|
+
commonParams: ["keyGen", "purposeText", "useCustomGas"],
|
|
3512
|
+
params: {
|
|
3513
|
+
token0: { type: "address", required: true, description: "Token0" },
|
|
3514
|
+
token1: { type: "address", required: true, description: "Token1" },
|
|
3515
|
+
tickSpacing: { type: "number", required: true, description: "Pool tick spacing" },
|
|
3516
|
+
tickLower: { type: "number", required: true, description: "Lower tick" },
|
|
3517
|
+
tickUpper: { type: "number", required: true, description: "Upper tick" }
|
|
3518
|
+
}
|
|
3519
|
+
},
|
|
3520
|
+
{
|
|
3521
|
+
id: "aerodrome.gauge-stake",
|
|
3522
|
+
protocolId: AERODROME_PROTOCOL_ID,
|
|
3523
|
+
chainCategory: "evm",
|
|
3524
|
+
description: "Stake basic LP tokens or a Slipstream NFT in a gauge",
|
|
3525
|
+
commonParams: ["keyGen", "purposeText", "useCustomGas"],
|
|
3526
|
+
params: {
|
|
3527
|
+
gauge: { type: "address", required: true, description: "Gauge address" }
|
|
3528
|
+
}
|
|
3529
|
+
},
|
|
3530
|
+
{
|
|
3531
|
+
id: "aerodrome.claim-fees",
|
|
3532
|
+
protocolId: AERODROME_PROTOCOL_ID,
|
|
3533
|
+
chainCategory: "evm",
|
|
3534
|
+
description: "Claim unstaked fees from the pool (not the gauge)",
|
|
3535
|
+
commonParams: ["keyGen", "purposeText", "useCustomGas"],
|
|
3536
|
+
params: { pool: { type: "address", required: true, description: "Pool lp from fetch_positions claimFees.pool" } }
|
|
3537
|
+
},
|
|
3538
|
+
{
|
|
3539
|
+
id: "aerodrome.claim-emissions",
|
|
3540
|
+
protocolId: AERODROME_PROTOCOL_ID,
|
|
3541
|
+
chainCategory: "evm",
|
|
3542
|
+
description: "Claim gauge emissions in AERO (not the pool)",
|
|
3543
|
+
commonParams: ["keyGen", "purposeText", "useCustomGas"],
|
|
3544
|
+
params: { gauge: { type: "address", required: true, description: "Gauge from fetch_positions claimEmissions" } }
|
|
3545
|
+
}
|
|
3546
|
+
]
|
|
3547
|
+
};
|
|
3548
|
+
registerProtocolModule(aerodromeProtocolModule);
|
|
3426
3549
|
|
|
3427
3550
|
// src/index.ts
|
|
3428
3551
|
registerProtocolModule(uniswapV4ProtocolModule);
|
|
3429
3552
|
registerProtocolModule(curveDaoProtocolModule);
|
|
3553
|
+
registerProtocolModule(aerodromeProtocolModule);
|
|
3430
3554
|
|
|
3431
|
-
export { COINGECKO_PLATFORM_BY_CHAIN_ID, DEFAULT_DEFI_MULTISIGN_EXPIRY_SECONDS, DEFI_PROTOCOLS_WITH_30MIN_EXPIRY, EIP712_SIGN_REQUEST_KIND, NEAR_CHAIN_CATEGORY, PAYLOAD_SIGN_ED25519_REQUEST_KIND, SOLANA_CHAIN_CATEGORY, approveStepsToEvmTxSteps, buildConditionalErc20ApproveSteps,
|
|
3555
|
+
export { COINGECKO_PLATFORM_BY_CHAIN_ID, DEFAULT_DEFI_MULTISIGN_EXPIRY_SECONDS, DEFI_PROTOCOLS_WITH_30MIN_EXPIRY, EIP712_SIGN_REQUEST_KIND, NEAR_CHAIN_CATEGORY, PAYLOAD_SIGN_ED25519_REQUEST_KIND, SOLANA_CHAIN_CATEGORY, aerodromeProtocolModule, approveStepsToEvmTxSteps, buildConditionalErc20ApproveSteps, buildEip712Multisign, buildEvmMultisignBatch, buildPayloadSignEd25519MultisignBody, coingeckoPlatformForChainId, coreChainCategoryModule, curveDao, curveDaoProtocolModule, defiMultisignExpiryUnixSeconds, evmChainCategoryModule, finalizeMultisign, getAaveGraphqlProxyUrl, getActionsByChainCategory, getCoingeckoProxyUrl, getEulerGraphqlProxyUrl, getJsonViaOptionalProxy, getMapleGraphqlProxyUrl, getMorphoGraphqlProxyUrl, getMorphoMidnightRestProxyUrl, getProtocolModule, getProtocolModules, isEvmNativeToken, matchEvmTokenKind, mergePurposeText, nearChainCategoryModule, normalizeCurveRouterAmountString, normalizeHumanDecimalAmount, parseEvmChainIdToNumber, postJsonViaOptionalProxy, publicClientForRpc, registerProtocolModule, resolveErc20Decimals, routerSwapGasLimitFromEstimate, setAaveGraphqlProxyUrl, setCoingeckoProxyUrl, setEulerGraphqlProxyUrl, setMapleGraphqlProxyUrl, setMorphoGraphqlProxyUrl, setMorphoMidnightRestProxyUrl, solanaChainCategoryModule, uniswapV4, uniswapV4ProtocolModule };
|
|
3432
3556
|
//# sourceMappingURL=index.js.map
|
|
3433
3557
|
//# sourceMappingURL=index.js.map
|