@continuumdao/ctm-mpc-defi 0.2.28 → 0.2.30
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 +1305 -21
- package/dist/agent/catalog.cjs.map +1 -1
- package/dist/agent/catalog.d.ts +1468 -1
- package/dist/agent/catalog.js +1236 -23
- package/dist/agent/catalog.js.map +1 -1
- package/dist/agent/skills/continuum-dao/SKILL.md +139 -0
- package/dist/agent/skills/ethena/SKILL.md +1 -1
- package/dist/agent/skills/lido/SKILL.md +4 -1
- package/dist/core/index.cjs +42 -39
- package/dist/core/index.cjs.map +1 -1
- package/dist/core/index.d.ts +1 -1
- package/dist/core/index.js +42 -39
- package/dist/core/index.js.map +1 -1
- package/dist/{eip712Multisign-xhXpUYp3.d.ts → eip712Multisign-DCW7heqX.d.ts} +11 -8
- package/dist/index.cjs +64 -57
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +64 -57
- package/dist/index.js.map +1 -1
- 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/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/ethena/index.cjs +41 -4
- package/dist/protocols/evm/ethena/index.cjs.map +1 -1
- package/dist/protocols/evm/ethena/index.d.ts +12 -2
- package/dist/protocols/evm/ethena/index.js +38 -5
- package/dist/protocols/evm/ethena/index.js.map +1 -1
- 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/lido/index.cjs +66 -1
- package/dist/protocols/evm/lido/index.cjs.map +1 -1
- package/dist/protocols/evm/lido/index.d.ts +11 -1
- package/dist/protocols/evm/lido/index.js +60 -2
- package/dist/protocols/evm/lido/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 +6 -1
package/dist/agent/catalog.cjs
CHANGED
|
@@ -2305,6 +2305,473 @@ var mcpMorphoMidnightRepayInputSchema = withMultisignKeySourceRefine(
|
|
|
2305
2305
|
})
|
|
2306
2306
|
)
|
|
2307
2307
|
);
|
|
2308
|
+
var mcpContinuumDaoCreateLockInputSchema = mcpMultisignInput({
|
|
2309
|
+
amountHuman: zod.z.string().min(1).describe("CTM amount to lock"),
|
|
2310
|
+
lockDurationSeconds: zod.z.union([zod.z.string(), zod.z.number()]).describe("Lock duration in seconds"),
|
|
2311
|
+
ctm: evmAddressSchema.optional(),
|
|
2312
|
+
votingEscrow: evmAddressSchema.optional()
|
|
2313
|
+
});
|
|
2314
|
+
var mcpContinuumDaoIncreaseAmountInputSchema = mcpMultisignInput({
|
|
2315
|
+
tokenId: zod.z.union([zod.z.string(), zod.z.number()]),
|
|
2316
|
+
amountHuman: zod.z.string().min(1),
|
|
2317
|
+
ctm: evmAddressSchema.optional(),
|
|
2318
|
+
votingEscrow: evmAddressSchema.optional()
|
|
2319
|
+
});
|
|
2320
|
+
var mcpContinuumDaoIncreaseUnlockTimeInputSchema = mcpMultisignInput({
|
|
2321
|
+
tokenId: zod.z.union([zod.z.string(), zod.z.number()]),
|
|
2322
|
+
lockDurationSeconds: zod.z.union([zod.z.string(), zod.z.number()]),
|
|
2323
|
+
votingEscrow: evmAddressSchema.optional()
|
|
2324
|
+
});
|
|
2325
|
+
var mcpContinuumDaoSplitInputSchema = mcpMultisignInput({
|
|
2326
|
+
tokenId: zod.z.union([zod.z.string(), zod.z.number()]),
|
|
2327
|
+
extractedHuman: zod.z.string().min(1),
|
|
2328
|
+
votingEscrow: evmAddressSchema.optional()
|
|
2329
|
+
});
|
|
2330
|
+
var mcpContinuumDaoMergeInputSchema = mcpMultisignInput({
|
|
2331
|
+
fromTokenId: zod.z.union([zod.z.string(), zod.z.number()]),
|
|
2332
|
+
toTokenId: zod.z.union([zod.z.string(), zod.z.number()]),
|
|
2333
|
+
votingEscrow: evmAddressSchema.optional()
|
|
2334
|
+
});
|
|
2335
|
+
var mcpContinuumDaoTokenIdInputSchema = mcpMultisignInput({
|
|
2336
|
+
tokenId: zod.z.union([zod.z.string(), zod.z.number()]),
|
|
2337
|
+
votingEscrow: evmAddressSchema.optional()
|
|
2338
|
+
});
|
|
2339
|
+
var mcpContinuumDaoDelegateInputSchema = mcpMultisignInput({
|
|
2340
|
+
delegatee: evmAddressSchema,
|
|
2341
|
+
votingEscrow: evmAddressSchema.optional()
|
|
2342
|
+
});
|
|
2343
|
+
var mcpContinuumDaoUndelegateInputSchema = mcpMultisignInput({
|
|
2344
|
+
votingEscrow: evmAddressSchema.optional()
|
|
2345
|
+
});
|
|
2346
|
+
var mcpContinuumDaoFetchDelegatesInputSchema = zod.z.object({
|
|
2347
|
+
chainId: zod.z.union([zod.z.string(), zod.z.number()]),
|
|
2348
|
+
rpcUrl: zod.z.string().min(1),
|
|
2349
|
+
account: evmAddressSchema,
|
|
2350
|
+
votingEscrow: evmAddressSchema.optional()
|
|
2351
|
+
});
|
|
2352
|
+
var mcpContinuumDaoFetchDelegatesOutputSchema = zod.z.object({
|
|
2353
|
+
account: evmAddressSchema,
|
|
2354
|
+
delegatee: evmAddressSchema,
|
|
2355
|
+
self: zod.z.boolean()
|
|
2356
|
+
});
|
|
2357
|
+
var mcpContinuumDaoTransferInputSchema = mcpMultisignInput({
|
|
2358
|
+
tokenId: zod.z.union([zod.z.string(), zod.z.number()]),
|
|
2359
|
+
to: evmAddressSchema,
|
|
2360
|
+
votingEscrow: evmAddressSchema.optional()
|
|
2361
|
+
});
|
|
2362
|
+
var mcpContinuumDaoAttachInputSchema = mcpMultisignInput({
|
|
2363
|
+
nodeKey: zod.z.string().min(1),
|
|
2364
|
+
tokenId: zod.z.union([zod.z.string(), zod.z.number()]),
|
|
2365
|
+
mpaWallet: evmAddressSchema,
|
|
2366
|
+
forumHandle: zod.z.string().optional(),
|
|
2367
|
+
email: zod.z.string().optional(),
|
|
2368
|
+
vps: zod.z.string().optional(),
|
|
2369
|
+
ram: zod.z.union([zod.z.string(), zod.z.number()]).optional(),
|
|
2370
|
+
cpu: zod.z.union([zod.z.string(), zod.z.number()]).optional(),
|
|
2371
|
+
dIDType: zod.z.string().optional(),
|
|
2372
|
+
dID: zod.z.string().optional()
|
|
2373
|
+
});
|
|
2374
|
+
var mcpContinuumDaoRequestDetachInputSchema = mcpMultisignInput({
|
|
2375
|
+
tokenId: zod.z.union([zod.z.string(), zod.z.number()]),
|
|
2376
|
+
nodeProperties: evmAddressSchema
|
|
2377
|
+
});
|
|
2378
|
+
var govActionSchema = zod.z.object({
|
|
2379
|
+
target: evmAddressSchema,
|
|
2380
|
+
value: zod.z.string().optional(),
|
|
2381
|
+
signature: zod.z.string().optional(),
|
|
2382
|
+
inputs: zod.z.array(zod.z.object({ name: zod.z.string().optional(), type: zod.z.string(), value: zod.z.string() })).optional()
|
|
2383
|
+
});
|
|
2384
|
+
var govOptionSchema = zod.z.object({
|
|
2385
|
+
label: zod.z.string().min(1),
|
|
2386
|
+
actions: zod.z.array(govActionSchema)
|
|
2387
|
+
});
|
|
2388
|
+
var forumTopicKeyField = zod.z.string().min(1).describe(
|
|
2389
|
+
"URL of the Governance forum thread created first with ctm_continuum_dao_forum_create_topic (decision / election / treasury / constitution / admin). Must be /topic/:tid or /t/:tid. Ideas threads and the homepage are refused."
|
|
2390
|
+
);
|
|
2391
|
+
var mcpContinuumDaoProposeBravoInputSchema = mcpMultisignInput({
|
|
2392
|
+
title: zod.z.string().min(1).max(128),
|
|
2393
|
+
actions: zod.z.array(govActionSchema).optional(),
|
|
2394
|
+
governor: evmAddressSchema.optional(),
|
|
2395
|
+
noOpTarget: evmAddressSchema.optional(),
|
|
2396
|
+
forumKey: forumTopicKeyField,
|
|
2397
|
+
forumUrl: zod.z.string().optional()
|
|
2398
|
+
});
|
|
2399
|
+
var mcpContinuumDaoProposeDeltaInputSchema = mcpMultisignInput({
|
|
2400
|
+
title: zod.z.string().min(1).max(128),
|
|
2401
|
+
options: zod.z.array(govOptionSchema).min(2),
|
|
2402
|
+
nWinners: zod.z.union([zod.z.string(), zod.z.number()]),
|
|
2403
|
+
governor: evmAddressSchema.optional(),
|
|
2404
|
+
noOpTarget: evmAddressSchema.optional(),
|
|
2405
|
+
forumKey: forumTopicKeyField,
|
|
2406
|
+
forumUrl: zod.z.string().optional()
|
|
2407
|
+
});
|
|
2408
|
+
var mcpContinuumDaoCastVoteBravoInputSchema = mcpMultisignInput({
|
|
2409
|
+
proposalId: zod.z.union([zod.z.string(), zod.z.number()]),
|
|
2410
|
+
support: zod.z.union([zod.z.literal(0), zod.z.literal(1), zod.z.literal(2), zod.z.string()]),
|
|
2411
|
+
governor: evmAddressSchema.optional()
|
|
2412
|
+
});
|
|
2413
|
+
var mcpContinuumDaoCastVoteDeltaInputSchema = mcpMultisignInput({
|
|
2414
|
+
proposalId: zod.z.union([zod.z.string(), zod.z.number()]),
|
|
2415
|
+
weights: zod.z.array(zod.z.union([zod.z.string(), zod.z.number()])),
|
|
2416
|
+
governor: evmAddressSchema.optional()
|
|
2417
|
+
});
|
|
2418
|
+
var mcpContinuumDaoProposalIdInputSchema = mcpMultisignInput({
|
|
2419
|
+
proposalId: zod.z.union([zod.z.string(), zod.z.number()]),
|
|
2420
|
+
governor: evmAddressSchema.optional()
|
|
2421
|
+
});
|
|
2422
|
+
var mcpContinuumDaoFetchVotingPowerInputSchema = zod.z.object({
|
|
2423
|
+
chainId: zod.z.union([zod.z.string(), zod.z.number()]),
|
|
2424
|
+
rpcUrl: zod.z.string().min(1),
|
|
2425
|
+
account: evmAddressSchema,
|
|
2426
|
+
governor: evmAddressSchema.optional()
|
|
2427
|
+
});
|
|
2428
|
+
var mcpContinuumDaoFetchVotingPowerOutputSchema = zod.z.object({
|
|
2429
|
+
votes: zod.z.string(),
|
|
2430
|
+
threshold: zod.z.string(),
|
|
2431
|
+
clock: zod.z.string()
|
|
2432
|
+
});
|
|
2433
|
+
var mcpContinuumDaoFetchProposalStateInputSchema = zod.z.object({
|
|
2434
|
+
chainId: zod.z.union([zod.z.string(), zod.z.number()]),
|
|
2435
|
+
rpcUrl: zod.z.string().min(1),
|
|
2436
|
+
proposalId: zod.z.union([zod.z.string(), zod.z.number()]),
|
|
2437
|
+
governor: evmAddressSchema.optional()
|
|
2438
|
+
});
|
|
2439
|
+
var mcpContinuumDaoFetchProposalStateOutputSchema = zod.z.object({
|
|
2440
|
+
state: zod.z.number(),
|
|
2441
|
+
againstVotes: zod.z.string(),
|
|
2442
|
+
forVotes: zod.z.string(),
|
|
2443
|
+
abstainVotes: zod.z.string()
|
|
2444
|
+
});
|
|
2445
|
+
var mcpContinuumDaoFetchProposalsInputSchema = zod.z.object({
|
|
2446
|
+
start: zod.z.number().int().nonnegative().optional(),
|
|
2447
|
+
end: zod.z.number().int().positive().optional()
|
|
2448
|
+
});
|
|
2449
|
+
var mcpContinuumDaoFetchProposalsOutputSchema = zod.z.object({
|
|
2450
|
+
proposals: zod.z.array(zod.z.unknown()),
|
|
2451
|
+
total: zod.z.number().optional()
|
|
2452
|
+
});
|
|
2453
|
+
var mcpContinuumDaoFetchProposalInputSchema = zod.z.object({
|
|
2454
|
+
id: zod.z.union([zod.z.string(), zod.z.number()])
|
|
2455
|
+
});
|
|
2456
|
+
var mcpContinuumDaoFetchProposalOutputSchema = zod.z.object({
|
|
2457
|
+
proposal: zod.z.unknown()
|
|
2458
|
+
});
|
|
2459
|
+
var liveProposalRowSchema = zod.z.object({
|
|
2460
|
+
id: zod.z.number().optional(),
|
|
2461
|
+
onchainId: zod.z.string(),
|
|
2462
|
+
title: zod.z.string(),
|
|
2463
|
+
configuration: zod.z.number().optional(),
|
|
2464
|
+
state: zod.z.number().nullable(),
|
|
2465
|
+
stateLabel: zod.z.string(),
|
|
2466
|
+
bucket: zod.z.enum(["live", "pending", "readyToExecute", "recentlyCompleted", "unknown"]),
|
|
2467
|
+
againstVotes: zod.z.string().optional(),
|
|
2468
|
+
forVotes: zod.z.string().optional(),
|
|
2469
|
+
abstainVotes: zod.z.string().optional()
|
|
2470
|
+
});
|
|
2471
|
+
var mcpContinuumDaoFetchLiveProposalsInputSchema = zod.z.object({
|
|
2472
|
+
chainId: zod.z.union([zod.z.string(), zod.z.number()]).optional(),
|
|
2473
|
+
rpcUrl: zod.z.string().optional(),
|
|
2474
|
+
governor: evmAddressSchema.optional(),
|
|
2475
|
+
limit: zod.z.number().int().positive().max(100).optional(),
|
|
2476
|
+
completedLimit: zod.z.number().int().nonnegative().max(20).optional()
|
|
2477
|
+
});
|
|
2478
|
+
var mcpContinuumDaoFetchLiveProposalsOutputSchema = zod.z.object({
|
|
2479
|
+
overlay: zod.z.enum(["on-chain", "backend-only"]),
|
|
2480
|
+
scanned: zod.z.number(),
|
|
2481
|
+
live: zod.z.array(liveProposalRowSchema),
|
|
2482
|
+
pending: zod.z.array(liveProposalRowSchema),
|
|
2483
|
+
readyToExecute: zod.z.array(liveProposalRowSchema),
|
|
2484
|
+
recentlyCompleted: zod.z.array(liveProposalRowSchema),
|
|
2485
|
+
unknown: zod.z.array(liveProposalRowSchema),
|
|
2486
|
+
note: zod.z.string()
|
|
2487
|
+
});
|
|
2488
|
+
var mcpContinuumDaoExplainProposalInputSchema = zod.z.object({
|
|
2489
|
+
id: zod.z.union([zod.z.string(), zod.z.number()]).optional(),
|
|
2490
|
+
onchainId: zod.z.string().optional(),
|
|
2491
|
+
forumUrl: zod.z.string().optional()
|
|
2492
|
+
});
|
|
2493
|
+
var mcpContinuumDaoExplainProposalOutputSchema = zod.z.object({
|
|
2494
|
+
id: zod.z.number().optional(),
|
|
2495
|
+
onchainId: zod.z.string(),
|
|
2496
|
+
title: zod.z.string(),
|
|
2497
|
+
description: zod.z.string(),
|
|
2498
|
+
proposer: zod.z.string(),
|
|
2499
|
+
forumKey: zod.z.string(),
|
|
2500
|
+
forumSection: zod.z.string().nullable().optional(),
|
|
2501
|
+
forumCid: zod.z.number().nullable().optional(),
|
|
2502
|
+
typeLabel: zod.z.string(),
|
|
2503
|
+
configuration: zod.z.enum(["bravo", "delta"]),
|
|
2504
|
+
nWinners: zod.z.number().optional(),
|
|
2505
|
+
briefing: zod.z.string(),
|
|
2506
|
+
actions: zod.z.array(zod.z.unknown()),
|
|
2507
|
+
options: zod.z.array(zod.z.unknown()),
|
|
2508
|
+
risks: zod.z.array(zod.z.string())
|
|
2509
|
+
});
|
|
2510
|
+
var mcpContinuumDaoRegisterProposalInputSchema = zod.z.object({
|
|
2511
|
+
onchainId: zod.z.string().min(1),
|
|
2512
|
+
title: zod.z.string().min(1),
|
|
2513
|
+
description: zod.z.string(),
|
|
2514
|
+
proposer: evmAddressSchema,
|
|
2515
|
+
forumKey: forumTopicKeyField,
|
|
2516
|
+
type: zod.z.number().int().min(0).max(4),
|
|
2517
|
+
configuration: zod.z.union([zod.z.literal(0), zod.z.literal(1)]),
|
|
2518
|
+
actions: zod.z.array(zod.z.unknown()).optional(),
|
|
2519
|
+
options: zod.z.array(zod.z.unknown()).optional()
|
|
2520
|
+
});
|
|
2521
|
+
var mcpContinuumDaoRegisterProposalOutputSchema = zod.z.object({
|
|
2522
|
+
ok: zod.z.literal(true),
|
|
2523
|
+
result: zod.z.unknown()
|
|
2524
|
+
});
|
|
2525
|
+
var forumUrlField = { forumUrl: zod.z.string().optional(), ticket: zod.z.string().optional() };
|
|
2526
|
+
var mcpContinuumDaoForumResolveInputSchema = zod.z.object({
|
|
2527
|
+
url: zod.z.string().optional(),
|
|
2528
|
+
tid: zod.z.union([zod.z.string(), zod.z.number()]).optional(),
|
|
2529
|
+
forumUrl: zod.z.string().optional()
|
|
2530
|
+
});
|
|
2531
|
+
var mcpContinuumDaoForumResolveOutputSchema = zod.z.object({
|
|
2532
|
+
tid: zod.z.number(),
|
|
2533
|
+
slug: zod.z.string().optional(),
|
|
2534
|
+
url: zod.z.string()
|
|
2535
|
+
});
|
|
2536
|
+
var mcpContinuumDaoForumFetchThreadInputSchema = zod.z.object({
|
|
2537
|
+
url: zod.z.string().optional(),
|
|
2538
|
+
tid: zod.z.union([zod.z.string(), zod.z.number()]).optional(),
|
|
2539
|
+
index: zod.z.number().int().nonnegative().optional(),
|
|
2540
|
+
start: zod.z.number().int().nonnegative().optional(),
|
|
2541
|
+
limit: zod.z.number().int().positive().max(100).optional(),
|
|
2542
|
+
forumUrl: zod.z.string().optional()
|
|
2543
|
+
});
|
|
2544
|
+
var mcpContinuumDaoForumFetchThreadOutputSchema = zod.z.unknown();
|
|
2545
|
+
var mcpContinuumDaoForumReplyCountInputSchema = zod.z.object({
|
|
2546
|
+
url: zod.z.string().optional(),
|
|
2547
|
+
tid: zod.z.union([zod.z.string(), zod.z.number()]).optional(),
|
|
2548
|
+
forumUrl: zod.z.string().optional()
|
|
2549
|
+
});
|
|
2550
|
+
var mcpContinuumDaoForumReplyCountOutputSchema = zod.z.object({
|
|
2551
|
+
tid: zod.z.number(),
|
|
2552
|
+
postcount: zod.z.number(),
|
|
2553
|
+
replyCount: zod.z.number()
|
|
2554
|
+
});
|
|
2555
|
+
var mcpContinuumDaoForumFetchPostInputSchema = zod.z.object({
|
|
2556
|
+
pid: zod.z.union([zod.z.string(), zod.z.number()]),
|
|
2557
|
+
forumUrl: zod.z.string().optional()
|
|
2558
|
+
});
|
|
2559
|
+
var mcpContinuumDaoForumFetchPostOutputSchema = zod.z.unknown();
|
|
2560
|
+
var forumRecencyFields = {
|
|
2561
|
+
hours: agentCoercedOptionalNumberSchema(zod.z.number().positive().max(24 * 365)).describe(
|
|
2562
|
+
"Only posts from the last X hours."
|
|
2563
|
+
),
|
|
2564
|
+
since: zod.z.string().min(1).optional().describe("Only posts at or after this ISO date (YYYY-MM-DD or full ISO) or unix timestamp."),
|
|
2565
|
+
start: agentCoercedOptionalIntSchema(zod.z.number().int().nonnegative()),
|
|
2566
|
+
limit: agentCoercedOptionalIntSchema(zod.z.number().int().positive().max(100)),
|
|
2567
|
+
forumUrl: zod.z.string().optional()
|
|
2568
|
+
};
|
|
2569
|
+
var mcpContinuumDaoForumSearchInputSchema = zod.z.object({
|
|
2570
|
+
query: zod.z.string().max(200).optional().describe(
|
|
2571
|
+
"Case-insensitive substring. Matches a new thread title or any post body. Omit with hours/since to list recent posts."
|
|
2572
|
+
),
|
|
2573
|
+
...forumRecencyFields
|
|
2574
|
+
}).refine((v) => Boolean(v.query?.trim()) || v.hours != null || Boolean(v.since?.trim()), {
|
|
2575
|
+
message: "Provide query and/or a time filter (hours or since)"
|
|
2576
|
+
});
|
|
2577
|
+
var forumPostListItemSchema = zod.z.object({
|
|
2578
|
+
id: zod.z.number().int().positive().describe("Post id (pid). Open with ctm_continuum_dao_forum_fetch_post."),
|
|
2579
|
+
title: zod.z.string().describe("Thread title (new thread, or parent thread title for a reply)."),
|
|
2580
|
+
username: zod.z.string().describe("Author username."),
|
|
2581
|
+
timestamp: zod.z.number().int().nonnegative().describe("Creation time as unix milliseconds."),
|
|
2582
|
+
createdAt: zod.z.string().describe("Creation time as UTC ISO-8601.")
|
|
2583
|
+
});
|
|
2584
|
+
var mcpContinuumDaoForumSearchOutputSchema = zod.z.object({
|
|
2585
|
+
results: zod.z.array(forumPostListItemSchema),
|
|
2586
|
+
start: zod.z.number().optional(),
|
|
2587
|
+
limit: zod.z.number().optional(),
|
|
2588
|
+
nextStart: zod.z.number().nullable().optional()
|
|
2589
|
+
});
|
|
2590
|
+
var mcpContinuumDaoForumRecentInputSchema = zod.z.object({
|
|
2591
|
+
...forumRecencyFields,
|
|
2592
|
+
ticket: zod.z.string().optional().describe("Optional forum ticket so private categories the user can read are included.")
|
|
2593
|
+
}).refine((v) => v.hours != null || Boolean(v.since?.trim()), {
|
|
2594
|
+
message: "Provide a time filter (hours or since)"
|
|
2595
|
+
});
|
|
2596
|
+
var mcpContinuumDaoForumRecentOutputSchema = zod.z.object({
|
|
2597
|
+
results: zod.z.array(forumPostListItemSchema),
|
|
2598
|
+
start: zod.z.number().optional(),
|
|
2599
|
+
limit: zod.z.number().optional(),
|
|
2600
|
+
nextStart: zod.z.number().nullable().optional()
|
|
2601
|
+
});
|
|
2602
|
+
var mcpContinuumDaoForumDeleteInputSchema = zod.z.object({
|
|
2603
|
+
pid: zod.z.union([zod.z.string(), zod.z.number()]).optional().describe("Delete this post (pid)."),
|
|
2604
|
+
tid: zod.z.union([zod.z.string(), zod.z.number()]).optional().describe("Delete this thread (tid)."),
|
|
2605
|
+
url: zod.z.string().optional().describe("Delete this thread by forum topic URL."),
|
|
2606
|
+
username: zod.z.string().min(1).optional().describe("Delete all posts by this username (privilege-filtered)."),
|
|
2607
|
+
hours: agentCoercedOptionalNumberSchema(zod.z.number().positive().max(24 * 365)).describe(
|
|
2608
|
+
"Only delete posts/threads in the last X hours. Omit with since for all."
|
|
2609
|
+
),
|
|
2610
|
+
since: zod.z.string().min(1).optional().describe("Only delete posts/threads at or after this ISO date or unix timestamp. Omit with hours for all."),
|
|
2611
|
+
ticket: zod.z.string().min(1).describe("Forum write ticket from EIP-712 sign-in. Caller must be an admin or moderator."),
|
|
2612
|
+
forumUrl: zod.z.string().optional()
|
|
2613
|
+
}).refine(
|
|
2614
|
+
(v) => {
|
|
2615
|
+
const post = v.pid != null && String(v.pid).trim() !== "";
|
|
2616
|
+
const thread = Boolean(v.url?.trim() || v.tid != null && String(v.tid).trim() !== "");
|
|
2617
|
+
const user = Boolean(v.username?.trim());
|
|
2618
|
+
return Number(post) + Number(thread) + Number(user) === 1;
|
|
2619
|
+
},
|
|
2620
|
+
{ message: "Provide exactly one of pid, tid/url, or username" }
|
|
2621
|
+
);
|
|
2622
|
+
var mcpContinuumDaoForumDeleteOutputSchema = zod.z.object({
|
|
2623
|
+
ok: zod.z.literal(true),
|
|
2624
|
+
mode: zod.z.enum(["post", "thread", "user"]),
|
|
2625
|
+
username: zod.z.string().optional(),
|
|
2626
|
+
uid: zod.z.number().optional(),
|
|
2627
|
+
deleted: zod.z.array(
|
|
2628
|
+
zod.z.object({
|
|
2629
|
+
id: zod.z.number().int().positive(),
|
|
2630
|
+
kind: zod.z.enum(["post", "thread"]),
|
|
2631
|
+
title: zod.z.string().optional(),
|
|
2632
|
+
username: zod.z.string().optional()
|
|
2633
|
+
})
|
|
2634
|
+
),
|
|
2635
|
+
skipped: zod.z.array(
|
|
2636
|
+
zod.z.object({
|
|
2637
|
+
id: zod.z.number().int().nonnegative(),
|
|
2638
|
+
reason: zod.z.string()
|
|
2639
|
+
})
|
|
2640
|
+
)
|
|
2641
|
+
});
|
|
2642
|
+
var mcpContinuumDaoForumUserPostIdsInputSchema = zod.z.object({
|
|
2643
|
+
username: zod.z.string().min(1),
|
|
2644
|
+
start: zod.z.number().int().nonnegative().optional(),
|
|
2645
|
+
limit: zod.z.number().int().positive().max(100).optional(),
|
|
2646
|
+
forumUrl: zod.z.string().optional()
|
|
2647
|
+
});
|
|
2648
|
+
var mcpContinuumDaoForumUserPostIdsOutputSchema = zod.z.object({
|
|
2649
|
+
username: zod.z.string(),
|
|
2650
|
+
uid: zod.z.number(),
|
|
2651
|
+
pids: zod.z.array(zod.z.number()),
|
|
2652
|
+
start: zod.z.number().optional(),
|
|
2653
|
+
limit: zod.z.number().optional(),
|
|
2654
|
+
nextStart: zod.z.number().nullable().optional()
|
|
2655
|
+
});
|
|
2656
|
+
var mcpContinuumDaoForumReplyInputSchema = zod.z.object({
|
|
2657
|
+
url: zod.z.string().optional(),
|
|
2658
|
+
tid: zod.z.union([zod.z.string(), zod.z.number()]).optional(),
|
|
2659
|
+
content: zod.z.string().min(1).max(8e3),
|
|
2660
|
+
toPid: zod.z.number().int().positive().optional(),
|
|
2661
|
+
...forumUrlField
|
|
2662
|
+
});
|
|
2663
|
+
var mcpContinuumDaoForumReplyOutputSchema = zod.z.unknown();
|
|
2664
|
+
var mcpContinuumDaoForumReactInputSchema = zod.z.object({
|
|
2665
|
+
pid: zod.z.union([zod.z.string(), zod.z.number()]),
|
|
2666
|
+
emoji: zod.z.string().min(1),
|
|
2667
|
+
...forumUrlField
|
|
2668
|
+
});
|
|
2669
|
+
var mcpContinuumDaoForumReactOutputSchema = zod.z.unknown();
|
|
2670
|
+
var mcpContinuumDaoForumCreateTopicInputSchema = zod.z.object({
|
|
2671
|
+
section: zod.z.enum(["decision", "election", "treasury", "constitution", "admin"]).optional(),
|
|
2672
|
+
cid: zod.z.number().int().positive().optional(),
|
|
2673
|
+
title: zod.z.string().min(8).max(128),
|
|
2674
|
+
content: zod.z.string().min(1).max(8e3),
|
|
2675
|
+
...forumUrlField
|
|
2676
|
+
});
|
|
2677
|
+
var mcpContinuumDaoForumCreateTopicOutputSchema = zod.z.unknown();
|
|
2678
|
+
var mcpContinuumDaoForumCreateIdeaInputSchema = zod.z.object({
|
|
2679
|
+
title: zod.z.string().min(8).max(128),
|
|
2680
|
+
content: zod.z.string().min(1).max(8e3),
|
|
2681
|
+
...forumUrlField
|
|
2682
|
+
});
|
|
2683
|
+
var mcpContinuumDaoForumCreateIdeaOutputSchema = zod.z.unknown();
|
|
2684
|
+
var mcpContinuumDaoForumMeInputSchema = zod.z.object({
|
|
2685
|
+
...forumUrlField
|
|
2686
|
+
});
|
|
2687
|
+
var mcpContinuumDaoForumMeOutputSchema = zod.z.unknown();
|
|
2688
|
+
var mcpContinuumDaoForumUnreadInputSchema = zod.z.object({
|
|
2689
|
+
ticket: zod.z.string().min(1).describe("Forum write ticket from EIP-712 sign-in"),
|
|
2690
|
+
filter: zod.z.enum(["all", "new", "watched", "unreplied"]).optional().describe("NodeBB Unread filter. Default all (watched/tracked categories + followed topics)."),
|
|
2691
|
+
start: agentCoercedOptionalIntSchema(zod.z.number().int().nonnegative()),
|
|
2692
|
+
limit: agentCoercedOptionalIntSchema(zod.z.number().int().positive().max(100)),
|
|
2693
|
+
forumUrl: zod.z.string().optional()
|
|
2694
|
+
});
|
|
2695
|
+
var mcpContinuumDaoForumUnreadOutputSchema = zod.z.object({
|
|
2696
|
+
username: zod.z.string().optional(),
|
|
2697
|
+
uid: zod.z.number().optional(),
|
|
2698
|
+
filter: zod.z.string().optional(),
|
|
2699
|
+
counts: zod.z.object({
|
|
2700
|
+
all: zod.z.number(),
|
|
2701
|
+
new: zod.z.number(),
|
|
2702
|
+
watched: zod.z.number(),
|
|
2703
|
+
unreplied: zod.z.number()
|
|
2704
|
+
}).optional(),
|
|
2705
|
+
results: zod.z.array(
|
|
2706
|
+
zod.z.object({
|
|
2707
|
+
tid: zod.z.number().int().positive(),
|
|
2708
|
+
title: zod.z.string(),
|
|
2709
|
+
url: zod.z.string(),
|
|
2710
|
+
cid: zod.z.number().nullable().optional(),
|
|
2711
|
+
section: zod.z.string().nullable().optional(),
|
|
2712
|
+
postcount: zod.z.number().optional(),
|
|
2713
|
+
replyCount: zod.z.number().optional(),
|
|
2714
|
+
lastposttime: zod.z.number().optional(),
|
|
2715
|
+
lastPostAt: zod.z.string().optional()
|
|
2716
|
+
})
|
|
2717
|
+
),
|
|
2718
|
+
start: zod.z.number().optional(),
|
|
2719
|
+
limit: zod.z.number().optional(),
|
|
2720
|
+
nextStart: zod.z.number().nullable().optional()
|
|
2721
|
+
});
|
|
2722
|
+
var mcpContinuumDaoForumMarkReadInputSchema = zod.z.object({
|
|
2723
|
+
ticket: zod.z.string().min(1).describe("Forum write ticket from EIP-712 sign-in"),
|
|
2724
|
+
tid: zod.z.union([zod.z.string(), zod.z.number()]).optional().describe("Mark this thread read."),
|
|
2725
|
+
url: zod.z.string().optional().describe("Mark this thread read by topic URL."),
|
|
2726
|
+
tids: zod.z.array(zod.z.union([zod.z.string(), zod.z.number()])).optional().describe("Mark these threads read."),
|
|
2727
|
+
all: agentOptionalBooleanSchema().describe("Mark every unread topic read. Confirm with the operator first."),
|
|
2728
|
+
forumUrl: zod.z.string().optional()
|
|
2729
|
+
}).refine(
|
|
2730
|
+
(v) => {
|
|
2731
|
+
const one = Boolean(v.url?.trim() || v.tid != null && String(v.tid).trim() !== "");
|
|
2732
|
+
const many = Boolean(v.tids && v.tids.length > 0);
|
|
2733
|
+
return Number(Boolean(v.all)) + Number(one) + Number(many) === 1;
|
|
2734
|
+
},
|
|
2735
|
+
{ message: "Provide exactly one of tid/url, tids, or all" }
|
|
2736
|
+
);
|
|
2737
|
+
var mcpContinuumDaoForumMarkReadOutputSchema = zod.z.unknown();
|
|
2738
|
+
var mcpContinuumDaoForumMarkUnreadInputSchema = zod.z.object({
|
|
2739
|
+
ticket: zod.z.string().min(1).describe("Forum write ticket from EIP-712 sign-in"),
|
|
2740
|
+
tid: zod.z.union([zod.z.string(), zod.z.number()]).optional(),
|
|
2741
|
+
url: zod.z.string().optional(),
|
|
2742
|
+
forumUrl: zod.z.string().optional()
|
|
2743
|
+
}).refine((v) => Boolean(v.url?.trim() || v.tid != null && String(v.tid).trim() !== ""), {
|
|
2744
|
+
message: "Provide tid or url"
|
|
2745
|
+
});
|
|
2746
|
+
var mcpContinuumDaoForumMarkUnreadOutputSchema = zod.z.unknown();
|
|
2747
|
+
var mcpContinuumDaoForumSignOutInputSchema = zod.z.object({
|
|
2748
|
+
ticket: zod.z.string().min(1).describe("Forum write ticket from EIP-712 sign-in"),
|
|
2749
|
+
forumUrl: zod.z.string().optional()
|
|
2750
|
+
});
|
|
2751
|
+
var mcpContinuumDaoForumSignOutOutputSchema = zod.z.object({
|
|
2752
|
+
ok: zod.z.literal(true),
|
|
2753
|
+
loggedIn: zod.z.literal(false),
|
|
2754
|
+
uid: zod.z.number().optional()
|
|
2755
|
+
});
|
|
2756
|
+
var mcpContinuumDaoForumSectionsInputSchema = zod.z.object({
|
|
2757
|
+
forumUrl: zod.z.string().optional()
|
|
2758
|
+
});
|
|
2759
|
+
var mcpContinuumDaoForumSectionsOutputSchema = zod.z.unknown();
|
|
2760
|
+
var mcpContinuumDaoForumSignInEligibleInputSchema = zod.z.object({
|
|
2761
|
+
address: evmAddressSchema.describe("KeyGen or personal wallet address to check against the forum veCTM login gate"),
|
|
2762
|
+
forumUrl: zod.z.string().optional()
|
|
2763
|
+
});
|
|
2764
|
+
var mcpContinuumDaoForumSignInEligibleOutputSchema = zod.z.object({
|
|
2765
|
+
ok: zod.z.boolean(),
|
|
2766
|
+
eligible: zod.z.boolean(),
|
|
2767
|
+
address: zod.z.string().optional(),
|
|
2768
|
+
reason: zod.z.string().optional()
|
|
2769
|
+
});
|
|
2770
|
+
var mcpContinuumDaoForumSignInInputSchema = mcpMultisignInput({
|
|
2771
|
+
nodeKey: zod.z.string().optional().describe("Attached node key. When set, username is the first 16 characters. Optional for a personal/KeyGen address with no node."),
|
|
2772
|
+
username: zod.z.string().min(2).max(16).optional().describe("Required on first login when there is no node key (2\u201316 letters, numbers, . _ -)."),
|
|
2773
|
+
forumUrl: zod.z.string().optional()
|
|
2774
|
+
});
|
|
2308
2775
|
var mcpEulerV2FetchLendVaultsInputSchema = zod.z.object({
|
|
2309
2776
|
chainId: agentEvmChainIdSchema,
|
|
2310
2777
|
underlyingAddress: evmAddressSchema.describe(
|
|
@@ -3972,6 +4439,217 @@ var MCP_PROTOCOL_TOOL_DEFINITIONS = [
|
|
|
3972
4439
|
exportName: "buildEvmMultisignBodyCctpBurnBatchFromMcp"
|
|
3973
4440
|
},
|
|
3974
4441
|
inputZod: mcpCctpBuildBurnMultisignInputSchema
|
|
4442
|
+
}),
|
|
4443
|
+
defineProtocolMcpTool({
|
|
4444
|
+
name: "ctm_continuum_dao_build_create_lock_multisign",
|
|
4445
|
+
actionId: "continuum-dao.create-lock",
|
|
4446
|
+
protocolId: "continuum-dao",
|
|
4447
|
+
chainCategory: "evm",
|
|
4448
|
+
description: "Build batch: CTM approve (if needed) + VotingEscrow.create_lock. Linea only. Do not prepend billing legs.",
|
|
4449
|
+
prerequisites: ["keyGen", "executorAddress", "Linea RPC", "configured CTM and VotingEscrow addresses"],
|
|
4450
|
+
handler: { importPath: "protocols/evm/continuum-dao", exportName: "buildEvmMultisignBodyContinuumDaoCreateLock" },
|
|
4451
|
+
inputZod: mcpContinuumDaoCreateLockInputSchema
|
|
4452
|
+
}),
|
|
4453
|
+
defineProtocolMcpTool({
|
|
4454
|
+
name: "ctm_continuum_dao_build_increase_amount_multisign",
|
|
4455
|
+
actionId: "continuum-dao.increase-amount",
|
|
4456
|
+
protocolId: "continuum-dao",
|
|
4457
|
+
chainCategory: "evm",
|
|
4458
|
+
description: "Build batch: CTM approve (if needed) + increase_amount.",
|
|
4459
|
+
prerequisites: ["keyGen", "tokenId", "Linea RPC"],
|
|
4460
|
+
handler: { importPath: "protocols/evm/continuum-dao", exportName: "buildEvmMultisignBodyContinuumDaoIncreaseAmount" },
|
|
4461
|
+
inputZod: mcpContinuumDaoIncreaseAmountInputSchema
|
|
4462
|
+
}),
|
|
4463
|
+
defineProtocolMcpTool({
|
|
4464
|
+
name: "ctm_continuum_dao_build_increase_unlock_time_multisign",
|
|
4465
|
+
actionId: "continuum-dao.increase-unlock-time",
|
|
4466
|
+
protocolId: "continuum-dao",
|
|
4467
|
+
chainCategory: "evm",
|
|
4468
|
+
description: "Build increase_unlock_time. lockDurationSeconds is from the week boundary to the new unlock.",
|
|
4469
|
+
prerequisites: ["keyGen", "tokenId", "Linea RPC"],
|
|
4470
|
+
handler: { importPath: "protocols/evm/continuum-dao", exportName: "buildEvmMultisignBodyContinuumDaoIncreaseUnlockTime" },
|
|
4471
|
+
inputZod: mcpContinuumDaoIncreaseUnlockTimeInputSchema
|
|
4472
|
+
}),
|
|
4473
|
+
defineProtocolMcpTool({
|
|
4474
|
+
name: "ctm_continuum_dao_build_split_multisign",
|
|
4475
|
+
actionId: "continuum-dao.split",
|
|
4476
|
+
protocolId: "continuum-dao",
|
|
4477
|
+
chainCategory: "evm",
|
|
4478
|
+
description: "Build VotingEscrow.split. Blocked on-chain while the token is node-attached.",
|
|
4479
|
+
prerequisites: ["keyGen", "tokenId", "Linea RPC"],
|
|
4480
|
+
handler: { importPath: "protocols/evm/continuum-dao", exportName: "buildEvmMultisignBodyContinuumDaoSplit" },
|
|
4481
|
+
inputZod: mcpContinuumDaoSplitInputSchema
|
|
4482
|
+
}),
|
|
4483
|
+
defineProtocolMcpTool({
|
|
4484
|
+
name: "ctm_continuum_dao_build_merge_multisign",
|
|
4485
|
+
actionId: "continuum-dao.merge",
|
|
4486
|
+
protocolId: "continuum-dao",
|
|
4487
|
+
chainCategory: "evm",
|
|
4488
|
+
description: "Build VotingEscrow.merge. Blocked on-chain while either token is node-attached.",
|
|
4489
|
+
prerequisites: ["keyGen", "fromTokenId", "toTokenId", "Linea RPC"],
|
|
4490
|
+
handler: { importPath: "protocols/evm/continuum-dao", exportName: "buildEvmMultisignBodyContinuumDaoMerge" },
|
|
4491
|
+
inputZod: mcpContinuumDaoMergeInputSchema
|
|
4492
|
+
}),
|
|
4493
|
+
defineProtocolMcpTool({
|
|
4494
|
+
name: "ctm_continuum_dao_build_withdraw_multisign",
|
|
4495
|
+
actionId: "continuum-dao.withdraw",
|
|
4496
|
+
protocolId: "continuum-dao",
|
|
4497
|
+
chainCategory: "evm",
|
|
4498
|
+
description: "Build VotingEscrow.withdraw for an expired, unattached lock.",
|
|
4499
|
+
prerequisites: ["keyGen", "tokenId", "Linea RPC"],
|
|
4500
|
+
handler: { importPath: "protocols/evm/continuum-dao", exportName: "buildEvmMultisignBodyContinuumDaoWithdraw" },
|
|
4501
|
+
inputZod: mcpContinuumDaoTokenIdInputSchema
|
|
4502
|
+
}),
|
|
4503
|
+
defineProtocolMcpTool({
|
|
4504
|
+
name: "ctm_continuum_dao_build_liquidate_multisign",
|
|
4505
|
+
actionId: "continuum-dao.liquidate",
|
|
4506
|
+
protocolId: "continuum-dao",
|
|
4507
|
+
chainCategory: "evm",
|
|
4508
|
+
description: "Build VotingEscrow.liquidate. Blocked on-chain while the token is node-attached.",
|
|
4509
|
+
prerequisites: ["keyGen", "tokenId", "Linea RPC"],
|
|
4510
|
+
handler: { importPath: "protocols/evm/continuum-dao", exportName: "buildEvmMultisignBodyContinuumDaoLiquidate" },
|
|
4511
|
+
inputZod: mcpContinuumDaoTokenIdInputSchema
|
|
4512
|
+
}),
|
|
4513
|
+
defineProtocolMcpTool({
|
|
4514
|
+
name: "ctm_continuum_dao_build_delegate_multisign",
|
|
4515
|
+
actionId: "continuum-dao.delegate",
|
|
4516
|
+
protocolId: "continuum-dao",
|
|
4517
|
+
chainCategory: "evm",
|
|
4518
|
+
description: "Build VotingEscrow.delegate(delegatee). Moves all veCTM voting power from the KeyGen to delegatee. Governor getVotes is then at the delegatee. Use undelegate to return power to the KeyGen.",
|
|
4519
|
+
prerequisites: ["keyGen", "delegatee", "Linea RPC"],
|
|
4520
|
+
followUp: ["ctm_continuum_dao_fetch_delegates", "ctm_continuum_dao_build_undelegate_multisign"],
|
|
4521
|
+
handler: { importPath: "protocols/evm/continuum-dao", exportName: "buildEvmMultisignBodyContinuumDaoDelegate" },
|
|
4522
|
+
inputZod: mcpContinuumDaoDelegateInputSchema
|
|
4523
|
+
}),
|
|
4524
|
+
defineProtocolMcpTool({
|
|
4525
|
+
name: "ctm_continuum_dao_build_undelegate_multisign",
|
|
4526
|
+
actionId: "continuum-dao.undelegate",
|
|
4527
|
+
protocolId: "continuum-dao",
|
|
4528
|
+
chainCategory: "evm",
|
|
4529
|
+
description: "Return veCTM voting power to the KeyGen. There is no undelegate() on VotingEscrow \u2014 this calls delegate(self). address(0) would also become self on-chain.",
|
|
4530
|
+
prerequisites: ["keyGen", "Linea RPC"],
|
|
4531
|
+
followUp: ["ctm_continuum_dao_fetch_delegates"],
|
|
4532
|
+
handler: { importPath: "protocols/evm/continuum-dao", exportName: "buildEvmMultisignBodyContinuumDaoUndelegate" },
|
|
4533
|
+
inputZod: mcpContinuumDaoUndelegateInputSchema
|
|
4534
|
+
}),
|
|
4535
|
+
defineProtocolMcpTool({
|
|
4536
|
+
name: "ctm_continuum_dao_build_transfer_multisign",
|
|
4537
|
+
actionId: "continuum-dao.transfer",
|
|
4538
|
+
protocolId: "continuum-dao",
|
|
4539
|
+
chainCategory: "evm",
|
|
4540
|
+
description: "Build VotingEscrow.transferFrom. Blocked on-chain while the token is node-attached.",
|
|
4541
|
+
prerequisites: ["keyGen", "tokenId", "to", "Linea RPC"],
|
|
4542
|
+
handler: { importPath: "protocols/evm/continuum-dao", exportName: "buildEvmMultisignBodyContinuumDaoTransfer" },
|
|
4543
|
+
inputZod: mcpContinuumDaoTransferInputSchema
|
|
4544
|
+
}),
|
|
4545
|
+
defineProtocolMcpTool({
|
|
4546
|
+
name: "ctm_continuum_dao_build_attach_multisign",
|
|
4547
|
+
actionId: "continuum-dao.attach",
|
|
4548
|
+
protocolId: "continuum-dao",
|
|
4549
|
+
chainCategory: "evm",
|
|
4550
|
+
description: "Build MultiSignAgentWallet.attachVeCtm. Authority KeyGen only. Cannot replace an attached NFT. No billing legs.",
|
|
4551
|
+
prerequisites: ["keyGen", "nodeKey", "tokenId", "mpaWallet"],
|
|
4552
|
+
handler: { importPath: "protocols/evm/continuum-dao", exportName: "buildEvmMultisignBodyContinuumDaoAttachVeCtmFromMcp" },
|
|
4553
|
+
inputZod: mcpContinuumDaoAttachInputSchema
|
|
4554
|
+
}),
|
|
4555
|
+
defineProtocolMcpTool({
|
|
4556
|
+
name: "ctm_continuum_dao_build_request_detach_multisign",
|
|
4557
|
+
actionId: "continuum-dao.request-detach",
|
|
4558
|
+
protocolId: "continuum-dao",
|
|
4559
|
+
chainCategory: "evm",
|
|
4560
|
+
description: "Build NodeProperties.setNodeRemovalStatus(tokenId, true). Governance must complete detach.",
|
|
4561
|
+
prerequisites: ["keyGen", "tokenId", "nodeProperties"],
|
|
4562
|
+
handler: { importPath: "protocols/evm/continuum-dao", exportName: "buildEvmMultisignBodyContinuumDaoRequestDetach" },
|
|
4563
|
+
inputZod: mcpContinuumDaoRequestDetachInputSchema
|
|
4564
|
+
}),
|
|
4565
|
+
defineProtocolMcpTool({
|
|
4566
|
+
name: "ctm_continuum_dao_build_propose_bravo_multisign",
|
|
4567
|
+
actionId: "continuum-dao.propose-bravo",
|
|
4568
|
+
protocolId: "continuum-dao",
|
|
4569
|
+
chainCategory: "evm",
|
|
4570
|
+
description: "Build ContinuumDAO.propose for a Bravo (For/Against/Abstain) proposal. Refuses if getVotes(KeyGen) < live proposalThreshold() (max of 1000e18 ve power and 1% of total votes). forumKey is required and must be a Governance thread (/topic/:tid) from ctm_continuum_dao_forum_create_topic (decision / election / treasury / constitution / admin). Ideas threads and the homepage are refused. Empty actions insert a no-op to the KeyGen address. Linea only. No billing legs. After the request is mined, call ctm_continuum_dao_register_proposal with the same forumKey.",
|
|
4571
|
+
prerequisites: [
|
|
4572
|
+
"keyGen",
|
|
4573
|
+
"Linea RPC",
|
|
4574
|
+
"configured governor",
|
|
4575
|
+
"veCTM voting power >= live proposalThreshold()",
|
|
4576
|
+
"forumKey from forum_create_topic"
|
|
4577
|
+
],
|
|
4578
|
+
followUp: [...MCP_MULTISIGN_SUBMIT_FOLLOW_UP, "ctm_continuum_dao_register_proposal"],
|
|
4579
|
+
handler: { importPath: "protocols/evm/continuum-dao", exportName: "buildEvmMultisignBodyContinuumDaoProposeBravo" },
|
|
4580
|
+
inputZod: mcpContinuumDaoProposeBravoInputSchema
|
|
4581
|
+
}),
|
|
4582
|
+
defineProtocolMcpTool({
|
|
4583
|
+
name: "ctm_continuum_dao_build_propose_delta_multisign",
|
|
4584
|
+
actionId: "continuum-dao.propose-delta",
|
|
4585
|
+
protocolId: "continuum-dao",
|
|
4586
|
+
chainCategory: "evm",
|
|
4587
|
+
description: "Build ContinuumDAO.propose for a Delta multi-option proposal. Refuses if getVotes(KeyGen) < live proposalThreshold() (max of 1000e18 ve power and 1% of total votes). forumKey is required and must be a Governance thread from ctm_continuum_dao_forum_create_topic. Ideas threads are not valid forumKey values. Empty options get a no-op so indices increment. Linea only. No billing legs.",
|
|
4588
|
+
prerequisites: [
|
|
4589
|
+
"keyGen",
|
|
4590
|
+
"at least 2 options",
|
|
4591
|
+
"nWinners < nOptions",
|
|
4592
|
+
"veCTM voting power >= live proposalThreshold()",
|
|
4593
|
+
"forumKey from forum_create_topic"
|
|
4594
|
+
],
|
|
4595
|
+
followUp: [...MCP_MULTISIGN_SUBMIT_FOLLOW_UP, "ctm_continuum_dao_register_proposal"],
|
|
4596
|
+
handler: { importPath: "protocols/evm/continuum-dao", exportName: "buildEvmMultisignBodyContinuumDaoProposeDeltaFromMcp" },
|
|
4597
|
+
inputZod: mcpContinuumDaoProposeDeltaInputSchema
|
|
4598
|
+
}),
|
|
4599
|
+
defineProtocolMcpTool({
|
|
4600
|
+
name: "ctm_continuum_dao_build_cast_vote_bravo_multisign",
|
|
4601
|
+
actionId: "continuum-dao.cast-vote-bravo",
|
|
4602
|
+
protocolId: "continuum-dao",
|
|
4603
|
+
chainCategory: "evm",
|
|
4604
|
+
description: "Build ContinuumDAO.castVote. support: 0 against, 1 for, 2 abstain.",
|
|
4605
|
+
prerequisites: ["keyGen", "proposalId", "Active proposal"],
|
|
4606
|
+
handler: { importPath: "protocols/evm/continuum-dao", exportName: "buildEvmMultisignBodyContinuumDaoCastVoteBravoFromMcp" },
|
|
4607
|
+
inputZod: mcpContinuumDaoCastVoteBravoInputSchema
|
|
4608
|
+
}),
|
|
4609
|
+
defineProtocolMcpTool({
|
|
4610
|
+
name: "ctm_continuum_dao_build_cast_vote_delta_multisign",
|
|
4611
|
+
actionId: "continuum-dao.cast-vote-delta",
|
|
4612
|
+
protocolId: "continuum-dao",
|
|
4613
|
+
chainCategory: "evm",
|
|
4614
|
+
description: "Build ContinuumDAO.castVoteWithReasonAndParams. weights must be nOptions + 1 (final slot is NOTA).",
|
|
4615
|
+
prerequisites: ["keyGen", "proposalId", "weights including NOTA"],
|
|
4616
|
+
handler: { importPath: "protocols/evm/continuum-dao", exportName: "buildEvmMultisignBodyContinuumDaoCastVoteDelta" },
|
|
4617
|
+
inputZod: mcpContinuumDaoCastVoteDeltaInputSchema
|
|
4618
|
+
}),
|
|
4619
|
+
defineProtocolMcpTool({
|
|
4620
|
+
name: "ctm_continuum_dao_build_execute_multisign",
|
|
4621
|
+
actionId: "continuum-dao.execute",
|
|
4622
|
+
protocolId: "continuum-dao",
|
|
4623
|
+
chainCategory: "evm",
|
|
4624
|
+
description: "Build ContinuumDAO.execute(proposalId). Call after Succeeded. Queue is not implemented.",
|
|
4625
|
+
prerequisites: ["keyGen", "proposalId", "Succeeded state"],
|
|
4626
|
+
handler: { importPath: "protocols/evm/continuum-dao", exportName: "buildEvmMultisignBodyContinuumDaoExecute" },
|
|
4627
|
+
inputZod: mcpContinuumDaoProposalIdInputSchema
|
|
4628
|
+
}),
|
|
4629
|
+
defineProtocolMcpTool({
|
|
4630
|
+
name: "ctm_continuum_dao_build_cancel_multisign",
|
|
4631
|
+
actionId: "continuum-dao.cancel",
|
|
4632
|
+
protocolId: "continuum-dao",
|
|
4633
|
+
chainCategory: "evm",
|
|
4634
|
+
description: "Build ContinuumDAO.cancel(proposalId). Proposer while Pending, or the proposal guardian.",
|
|
4635
|
+
prerequisites: ["keyGen", "proposalId"],
|
|
4636
|
+
handler: { importPath: "protocols/evm/continuum-dao", exportName: "buildEvmMultisignBodyContinuumDaoCancel" },
|
|
4637
|
+
inputZod: mcpContinuumDaoProposalIdInputSchema
|
|
4638
|
+
}),
|
|
4639
|
+
defineProtocolMcpTool({
|
|
4640
|
+
name: "ctm_continuum_dao_build_forum_sign_in_multisign",
|
|
4641
|
+
actionId: "continuum-dao.forum-sign-in",
|
|
4642
|
+
protocolId: "continuum-dao",
|
|
4643
|
+
chainCategory: "evm",
|
|
4644
|
+
description: "Build an EIP-712 forum login multi-sign (no EVM tx). Checks the KeyGen address against the forum veCTM threshold first and refuses if ineligible so other nodes never enter the sign loop. Pass nodeKey (username = first 16 chars) or a username on first login. After Get Sig, node-app exchanges the signature for a forum ticket.",
|
|
4645
|
+
prerequisites: [
|
|
4646
|
+
"keyGen",
|
|
4647
|
+
"veCTM at or above MultiSignAgentWallet.veCtmThresholdPower (holder or attach-key)",
|
|
4648
|
+
"nodeKey or username"
|
|
4649
|
+
],
|
|
4650
|
+
followUp: [...MCP_MULTISIGN_SUBMIT_FOLLOW_UP, "ctm_continuum_dao_forum_me"],
|
|
4651
|
+
handler: { importPath: "protocols/evm/continuum-dao", exportName: "buildEvmMultisignBodyContinuumDaoForumSignIn" },
|
|
4652
|
+
inputZod: mcpContinuumDaoForumSignInInputSchema
|
|
3975
4653
|
})
|
|
3976
4654
|
];
|
|
3977
4655
|
|
|
@@ -4911,6 +5589,354 @@ var CORE_MCP_TOOL_DEFINITIONS = [
|
|
|
4911
5589
|
handler: { importPath: "protocols/evm/morpho", exportName: "morphoFetchEarnVaultsSummary" },
|
|
4912
5590
|
inputZod: mcpMorphoFetchEarnVaultsInputSchema,
|
|
4913
5591
|
outputZod: mcpMorphoFetchEarnVaultsOutputSchema
|
|
5592
|
+
}),
|
|
5593
|
+
defineMcpTool({
|
|
5594
|
+
name: "ctm_continuum_dao_fetch_voting_power",
|
|
5595
|
+
actionId: "continuum-dao.fetch-voting-power",
|
|
5596
|
+
protocolId: "continuum-dao",
|
|
5597
|
+
chainCategory: "evm",
|
|
5598
|
+
description: "Read ContinuumDAO getVotes(account) and live proposalThreshold() (max of 1000e18 ve power and 1% of total votes). Gate propose on votes >= threshold. Linea only.",
|
|
5599
|
+
prerequisites: ["rpcUrl", "account (KeyGen ETH address)", "governor"],
|
|
5600
|
+
followUp: [
|
|
5601
|
+
"ctm_continuum_dao_fetch_delegates",
|
|
5602
|
+
"ctm_continuum_dao_build_propose_bravo_multisign",
|
|
5603
|
+
"ctm_continuum_dao_build_propose_delta_multisign"
|
|
5604
|
+
],
|
|
5605
|
+
handler: { importPath: "protocols/evm/continuum-dao", exportName: "continuumDaoFetchVotingPower" },
|
|
5606
|
+
inputZod: mcpContinuumDaoFetchVotingPowerInputSchema,
|
|
5607
|
+
outputZod: mcpContinuumDaoFetchVotingPowerOutputSchema
|
|
5608
|
+
}),
|
|
5609
|
+
defineMcpTool({
|
|
5610
|
+
name: "ctm_continuum_dao_fetch_delegates",
|
|
5611
|
+
actionId: "continuum-dao.fetch-delegates",
|
|
5612
|
+
protocolId: "continuum-dao",
|
|
5613
|
+
chainCategory: "evm",
|
|
5614
|
+
description: "Read VotingEscrow.delegates(account). self is true when voting power is not delegated away. Linea only.",
|
|
5615
|
+
prerequisites: ["rpcUrl", "account (KeyGen ETH address)", "votingEscrow"],
|
|
5616
|
+
followUp: [
|
|
5617
|
+
"ctm_continuum_dao_build_delegate_multisign",
|
|
5618
|
+
"ctm_continuum_dao_build_undelegate_multisign"
|
|
5619
|
+
],
|
|
5620
|
+
handler: { importPath: "protocols/evm/continuum-dao", exportName: "continuumDaoFetchDelegates" },
|
|
5621
|
+
inputZod: mcpContinuumDaoFetchDelegatesInputSchema,
|
|
5622
|
+
outputZod: mcpContinuumDaoFetchDelegatesOutputSchema
|
|
5623
|
+
}),
|
|
5624
|
+
defineMcpTool({
|
|
5625
|
+
name: "ctm_continuum_dao_fetch_proposal_state",
|
|
5626
|
+
actionId: "continuum-dao.fetch-proposal-state",
|
|
5627
|
+
protocolId: "continuum-dao",
|
|
5628
|
+
chainCategory: "evm",
|
|
5629
|
+
description: "Read ContinuumDAO.state and proposalVotes for an on-chain proposal id.",
|
|
5630
|
+
prerequisites: ["rpcUrl", "proposalId", "governor"],
|
|
5631
|
+
followUp: [
|
|
5632
|
+
"ctm_continuum_dao_build_cast_vote_bravo_multisign",
|
|
5633
|
+
"ctm_continuum_dao_build_execute_multisign"
|
|
5634
|
+
],
|
|
5635
|
+
handler: { importPath: "protocols/evm/continuum-dao", exportName: "continuumDaoFetchProposalState" },
|
|
5636
|
+
inputZod: mcpContinuumDaoFetchProposalStateInputSchema,
|
|
5637
|
+
outputZod: mcpContinuumDaoFetchProposalStateOutputSchema
|
|
5638
|
+
}),
|
|
5639
|
+
defineMcpTool({
|
|
5640
|
+
name: "ctm_continuum_dao_fetch_proposals",
|
|
5641
|
+
actionId: "continuum-dao.fetch-proposals",
|
|
5642
|
+
protocolId: "continuum-dao",
|
|
5643
|
+
chainCategory: "evm",
|
|
5644
|
+
description: "List proposals from the public ContinuumDAO backend (POST /proposals). Do not use this to answer \u201Cwhat is live now\u201D \u2014 use ctm_continuum_dao_fetch_live_proposals so on-chain state is overlaid.",
|
|
5645
|
+
prerequisites: [],
|
|
5646
|
+
followUp: ["ctm_continuum_dao_fetch_live_proposals", "ctm_continuum_dao_fetch_proposal"],
|
|
5647
|
+
handler: { importPath: "protocols/evm/continuum-dao", exportName: "continuumDaoFetchProposals" },
|
|
5648
|
+
inputZod: mcpContinuumDaoFetchProposalsInputSchema,
|
|
5649
|
+
outputZod: mcpContinuumDaoFetchProposalsOutputSchema
|
|
5650
|
+
}),
|
|
5651
|
+
defineMcpTool({
|
|
5652
|
+
name: "ctm_continuum_dao_fetch_proposal",
|
|
5653
|
+
actionId: "continuum-dao.fetch-proposal",
|
|
5654
|
+
protocolId: "continuum-dao",
|
|
5655
|
+
chainCategory: "evm",
|
|
5656
|
+
description: "Fetch one proposal from the public ContinuumDAO backend (GET /proposals/:id).",
|
|
5657
|
+
prerequisites: ["id"],
|
|
5658
|
+
followUp: ["ctm_continuum_dao_explain_proposal", "ctm_continuum_dao_fetch_proposal_state"],
|
|
5659
|
+
handler: { importPath: "protocols/evm/continuum-dao", exportName: "continuumDaoFetchProposal" },
|
|
5660
|
+
inputZod: mcpContinuumDaoFetchProposalInputSchema,
|
|
5661
|
+
outputZod: mcpContinuumDaoFetchProposalOutputSchema
|
|
5662
|
+
}),
|
|
5663
|
+
defineMcpTool({
|
|
5664
|
+
name: "ctm_continuum_dao_fetch_live_proposals",
|
|
5665
|
+
actionId: "continuum-dao.fetch-live-proposals",
|
|
5666
|
+
protocolId: "continuum-dao",
|
|
5667
|
+
chainCategory: "evm",
|
|
5668
|
+
description: "Answer \u201Cwhat proposals are live now?\u201D. Lists the backend catalog and overlays ContinuumDAO.state. live = Active (voting). pending = Pending. readyToExecute = Succeeded (execute from here; no queue). recentlyCompleted = Canceled/Defeated/Expired/Executed in this scan. Requires Linea chainId + rpcUrl + governor for on-chain overlay. Read the `note` field aloud.",
|
|
5669
|
+
prerequisites: ["load_defi_protocol continuum-dao", "Linea chainId 59144 or 59141", "rpcUrl", "governor if constant is zero"],
|
|
5670
|
+
followUp: [
|
|
5671
|
+
"ctm_continuum_dao_explain_proposal",
|
|
5672
|
+
"ctm_continuum_dao_fetch_proposal",
|
|
5673
|
+
"ctm_continuum_dao_build_cast_vote_bravo_multisign",
|
|
5674
|
+
"ctm_continuum_dao_build_execute_multisign"
|
|
5675
|
+
],
|
|
5676
|
+
handler: { importPath: "protocols/evm/continuum-dao", exportName: "continuumDaoFetchLiveProposals" },
|
|
5677
|
+
inputZod: mcpContinuumDaoFetchLiveProposalsInputSchema,
|
|
5678
|
+
outputZod: mcpContinuumDaoFetchLiveProposalsOutputSchema
|
|
5679
|
+
}),
|
|
5680
|
+
defineMcpTool({
|
|
5681
|
+
name: "ctm_continuum_dao_explain_proposal",
|
|
5682
|
+
actionId: "continuum-dao.explain-proposal",
|
|
5683
|
+
protocolId: "continuum-dao",
|
|
5684
|
+
chainCategory: "evm",
|
|
5685
|
+
description: "Deconstruct a ContinuumDAO proposal for the operator. Walks every user action (Bravo) or every option (Delta), labels encoder no-ops as signaling, flags C3 / value / approve / unknown signatures, and checks the forum thread section against the proposal type. Read the `briefing` field aloud. Does not vote. For a policy recommendation load the mpc-config continuum-dao-vote-policy skill.",
|
|
5686
|
+
prerequisites: ["id (backend) or onchainId"],
|
|
5687
|
+
followUp: ["ctm_continuum_dao_fetch_proposal_state", "ctm_continuum_dao_forum_fetch_thread"],
|
|
5688
|
+
handler: { importPath: "protocols/evm/continuum-dao", exportName: "continuumDaoExplainProposal" },
|
|
5689
|
+
inputZod: mcpContinuumDaoExplainProposalInputSchema,
|
|
5690
|
+
outputZod: mcpContinuumDaoExplainProposalOutputSchema
|
|
5691
|
+
}),
|
|
5692
|
+
defineMcpTool({
|
|
5693
|
+
name: "ctm_continuum_dao_register_proposal",
|
|
5694
|
+
actionId: "continuum-dao.register-proposal",
|
|
5695
|
+
protocolId: "continuum-dao",
|
|
5696
|
+
chainCategory: "evm",
|
|
5697
|
+
description: "POST /proposals/create so app.continuumdao.org stays in sync. Call after the propose multi-sign request is mined. Does not revert the chain tx if this fails \u2014 retry.",
|
|
5698
|
+
prerequisites: ["onchainId from hashProposal or ProposalCreated", "title", "proposer", "forumKey", "type", "configuration"],
|
|
5699
|
+
followUp: [],
|
|
5700
|
+
handler: { importPath: "protocols/evm/continuum-dao", exportName: "continuumDaoRegisterProposal" },
|
|
5701
|
+
inputZod: mcpContinuumDaoRegisterProposalInputSchema,
|
|
5702
|
+
outputZod: mcpContinuumDaoRegisterProposalOutputSchema
|
|
5703
|
+
}),
|
|
5704
|
+
defineMcpTool({
|
|
5705
|
+
name: "ctm_continuum_dao_forum_sign_in_eligible",
|
|
5706
|
+
actionId: "continuum-dao.forum-sign-in-eligible",
|
|
5707
|
+
protocolId: "continuum-dao",
|
|
5708
|
+
chainCategory: "evm",
|
|
5709
|
+
description: "Check whether an address may EIP-712 sign in to the forum (holder or attach-key veCTM at MultiSignAgentWallet.veCtmThresholdPower). Call this before ctm_continuum_dao_build_forum_sign_in_multisign. If eligible is false, do not start a multi-sign request.",
|
|
5710
|
+
prerequisites: ["address (KeyGen ethereumaddress)"],
|
|
5711
|
+
followUp: ["ctm_continuum_dao_build_forum_sign_in_multisign"],
|
|
5712
|
+
handler: { importPath: "protocols/evm/continuum-dao", exportName: "continuumDaoForumSignInEligible" },
|
|
5713
|
+
inputZod: mcpContinuumDaoForumSignInEligibleInputSchema,
|
|
5714
|
+
outputZod: mcpContinuumDaoForumSignInEligibleOutputSchema
|
|
5715
|
+
}),
|
|
5716
|
+
defineMcpTool({
|
|
5717
|
+
name: "ctm_continuum_dao_forum_resolve",
|
|
5718
|
+
actionId: "continuum-dao.forum-resolve",
|
|
5719
|
+
protocolId: "continuum-dao",
|
|
5720
|
+
chainCategory: "evm",
|
|
5721
|
+
description: "Parse a ContinuumDAO forumKey URL into a NodeBB topic id.",
|
|
5722
|
+
prerequisites: ["url or tid"],
|
|
5723
|
+
followUp: ["ctm_continuum_dao_forum_fetch_thread"],
|
|
5724
|
+
handler: { importPath: "protocols/evm/continuum-dao", exportName: "continuumDaoForumResolve" },
|
|
5725
|
+
inputZod: mcpContinuumDaoForumResolveInputSchema,
|
|
5726
|
+
outputZod: mcpContinuumDaoForumResolveOutputSchema
|
|
5727
|
+
}),
|
|
5728
|
+
defineMcpTool({
|
|
5729
|
+
name: "ctm_continuum_dao_forum_fetch_thread",
|
|
5730
|
+
actionId: "continuum-dao.forum-fetch-thread",
|
|
5731
|
+
protocolId: "continuum-dao",
|
|
5732
|
+
chainCategory: "evm",
|
|
5733
|
+
description: "Fetch a forum thread from forum.continuumdao.org. Returns cid and section (ideas / decision / election / treasury / constitution / admin). index 0 is the original post. Omit index to page through posts (start/limit). Prefer forum_fetch_post for one pid. Compare section to proposal type when evaluating.",
|
|
5734
|
+
prerequisites: ["url or tid"],
|
|
5735
|
+
followUp: ["ctm_continuum_dao_forum_fetch_post", "ctm_continuum_dao_forum_reply"],
|
|
5736
|
+
handler: { importPath: "protocols/evm/continuum-dao", exportName: "continuumDaoForumFetchThread" },
|
|
5737
|
+
inputZod: mcpContinuumDaoForumFetchThreadInputSchema,
|
|
5738
|
+
outputZod: mcpContinuumDaoForumFetchThreadOutputSchema
|
|
5739
|
+
}),
|
|
5740
|
+
defineMcpTool({
|
|
5741
|
+
name: "ctm_continuum_dao_forum_fetch_post",
|
|
5742
|
+
actionId: "continuum-dao.forum-fetch-post",
|
|
5743
|
+
protocolId: "continuum-dao",
|
|
5744
|
+
chainCategory: "evm",
|
|
5745
|
+
description: "Read one forum post by pid. Not the whole thread.",
|
|
5746
|
+
prerequisites: ["pid"],
|
|
5747
|
+
followUp: ["ctm_continuum_dao_forum_react", "ctm_continuum_dao_forum_reply"],
|
|
5748
|
+
handler: { importPath: "protocols/evm/continuum-dao", exportName: "continuumDaoForumFetchPost" },
|
|
5749
|
+
inputZod: mcpContinuumDaoForumFetchPostInputSchema,
|
|
5750
|
+
outputZod: mcpContinuumDaoForumFetchPostOutputSchema
|
|
5751
|
+
}),
|
|
5752
|
+
defineMcpTool({
|
|
5753
|
+
name: "ctm_continuum_dao_forum_search",
|
|
5754
|
+
actionId: "continuum-dao.forum-search",
|
|
5755
|
+
protocolId: "continuum-dao",
|
|
5756
|
+
chainCategory: "evm",
|
|
5757
|
+
description: "Search forum.continuumdao.org. Case-insensitive match on a new thread title or any post body. Optional hours (last X hours) or since (ISO date / unix timestamp). Empty query with a time filter lists recent posts. Returns id (pid), thread title, author username, and createdAt \u2014 then ctm_continuum_dao_forum_fetch_post.",
|
|
5758
|
+
prerequisites: ["query and/or hours or since"],
|
|
5759
|
+
followUp: ["ctm_continuum_dao_forum_fetch_post", "ctm_continuum_dao_forum_fetch_thread"],
|
|
5760
|
+
handler: { importPath: "protocols/evm/continuum-dao", exportName: "continuumDaoForumSearch" },
|
|
5761
|
+
inputZod: mcpContinuumDaoForumSearchInputSchema,
|
|
5762
|
+
outputZod: mcpContinuumDaoForumSearchOutputSchema
|
|
5763
|
+
}),
|
|
5764
|
+
defineMcpTool({
|
|
5765
|
+
name: "ctm_continuum_dao_forum_recent",
|
|
5766
|
+
actionId: "continuum-dao.forum-recent",
|
|
5767
|
+
protocolId: "continuum-dao",
|
|
5768
|
+
chainCategory: "evm",
|
|
5769
|
+
description: "List the most recent posts across the whole forum that the caller may read. Requires hours (last X hours) or since (ISO date / unix timestamp). Newest first. Returns id (pid), thread title, author username, and createdAt \u2014 then ctm_continuum_dao_forum_fetch_post. Optional ticket includes private categories the user can access.",
|
|
5770
|
+
prerequisites: ["hours or since"],
|
|
5771
|
+
followUp: ["ctm_continuum_dao_forum_fetch_post", "ctm_continuum_dao_forum_search"],
|
|
5772
|
+
handler: { importPath: "protocols/evm/continuum-dao", exportName: "continuumDaoForumRecent" },
|
|
5773
|
+
inputZod: mcpContinuumDaoForumRecentInputSchema,
|
|
5774
|
+
outputZod: mcpContinuumDaoForumRecentOutputSchema
|
|
5775
|
+
}),
|
|
5776
|
+
defineMcpTool({
|
|
5777
|
+
name: "ctm_continuum_dao_forum_delete",
|
|
5778
|
+
actionId: "continuum-dao.forum-delete",
|
|
5779
|
+
protocolId: "continuum-dao",
|
|
5780
|
+
chainCategory: "evm",
|
|
5781
|
+
description: "Admin or moderator soft-delete on forum.continuumdao.org. Requires a forum ticket. Caller must be an administrator or category moderator \u2014 post owners are refused. Exactly one of: pid (one post), tid/url (one thread), or username (that user\u2019s posts). Optional hours or since; omit both to delete all matches. Confirm with the operator before calling, especially username. Then forum_fetch_post / forum_search to verify.",
|
|
5782
|
+
prerequisites: ["ticket", "exactly one of pid, tid/url, or username"],
|
|
5783
|
+
followUp: ["ctm_continuum_dao_forum_fetch_post", "ctm_continuum_dao_forum_recent", "ctm_continuum_dao_forum_sign_out"],
|
|
5784
|
+
handler: { importPath: "protocols/evm/continuum-dao", exportName: "continuumDaoForumDelete" },
|
|
5785
|
+
inputZod: mcpContinuumDaoForumDeleteInputSchema,
|
|
5786
|
+
outputZod: mcpContinuumDaoForumDeleteOutputSchema
|
|
5787
|
+
}),
|
|
5788
|
+
defineMcpTool({
|
|
5789
|
+
name: "ctm_continuum_dao_forum_user_post_ids",
|
|
5790
|
+
actionId: "continuum-dao.forum-user-post-ids",
|
|
5791
|
+
protocolId: "continuum-dao",
|
|
5792
|
+
chainCategory: "evm",
|
|
5793
|
+
description: "List forum post ids for a username (no bodies). Then call forum_fetch_post for each pid.",
|
|
5794
|
+
prerequisites: ["username"],
|
|
5795
|
+
followUp: ["ctm_continuum_dao_forum_fetch_post"],
|
|
5796
|
+
handler: { importPath: "protocols/evm/continuum-dao", exportName: "continuumDaoForumUserPostIds" },
|
|
5797
|
+
inputZod: mcpContinuumDaoForumUserPostIdsInputSchema,
|
|
5798
|
+
outputZod: mcpContinuumDaoForumUserPostIdsOutputSchema
|
|
5799
|
+
}),
|
|
5800
|
+
defineMcpTool({
|
|
5801
|
+
name: "ctm_continuum_dao_forum_reply_count",
|
|
5802
|
+
actionId: "continuum-dao.forum-reply-count",
|
|
5803
|
+
protocolId: "continuum-dao",
|
|
5804
|
+
chainCategory: "evm",
|
|
5805
|
+
description: "Reply count for a forum thread (excludes the original post).",
|
|
5806
|
+
prerequisites: ["url or tid"],
|
|
5807
|
+
followUp: ["ctm_continuum_dao_forum_fetch_thread"],
|
|
5808
|
+
handler: { importPath: "protocols/evm/continuum-dao", exportName: "continuumDaoForumReplyCount" },
|
|
5809
|
+
inputZod: mcpContinuumDaoForumReplyCountInputSchema,
|
|
5810
|
+
outputZod: mcpContinuumDaoForumReplyCountOutputSchema
|
|
5811
|
+
}),
|
|
5812
|
+
defineMcpTool({
|
|
5813
|
+
name: "ctm_continuum_dao_forum_reply",
|
|
5814
|
+
actionId: "continuum-dao.forum-reply",
|
|
5815
|
+
protocolId: "continuum-dao",
|
|
5816
|
+
chainCategory: "evm",
|
|
5817
|
+
description: "Post an English reply (max 8000 characters) to a forum thread. Requires forumTicket from EIP-712 login.",
|
|
5818
|
+
prerequisites: ["ticket", "content", "url or tid"],
|
|
5819
|
+
followUp: ["ctm_continuum_dao_forum_fetch_thread"],
|
|
5820
|
+
handler: { importPath: "protocols/evm/continuum-dao", exportName: "continuumDaoForumReply" },
|
|
5821
|
+
inputZod: mcpContinuumDaoForumReplyInputSchema,
|
|
5822
|
+
outputZod: mcpContinuumDaoForumReplyOutputSchema
|
|
5823
|
+
}),
|
|
5824
|
+
defineMcpTool({
|
|
5825
|
+
name: "ctm_continuum_dao_forum_react",
|
|
5826
|
+
actionId: "continuum-dao.forum-react",
|
|
5827
|
+
protocolId: "continuum-dao",
|
|
5828
|
+
chainCategory: "evm",
|
|
5829
|
+
description: "Toggle an allowlisted reaction on a post: +1, -1, heart, tada, eyes. Requires forumTicket.",
|
|
5830
|
+
prerequisites: ["ticket", "pid", "emoji"],
|
|
5831
|
+
followUp: ["ctm_continuum_dao_forum_fetch_post"],
|
|
5832
|
+
handler: { importPath: "protocols/evm/continuum-dao", exportName: "continuumDaoForumReact" },
|
|
5833
|
+
inputZod: mcpContinuumDaoForumReactInputSchema,
|
|
5834
|
+
outputZod: mcpContinuumDaoForumReactOutputSchema
|
|
5835
|
+
}),
|
|
5836
|
+
defineMcpTool({
|
|
5837
|
+
name: "ctm_continuum_dao_forum_create_topic",
|
|
5838
|
+
actionId: "continuum-dao.forum-create-topic",
|
|
5839
|
+
protocolId: "continuum-dao",
|
|
5840
|
+
chainCategory: "evm",
|
|
5841
|
+
description: "Create a formal proposal thread in a Governance section: decision, election, treasury, constitution, or admin. Requires getVotes >= live proposalThreshold() and a forumTicket. Never use Ideas & Suggestions here. Pass the returned url as forumKey on build_propose_* and register_proposal. Map type Decision\u2192decision, Election\u2192election, Treasury\u2192treasury, Constitution\u2192constitution, Admin\u2192admin.",
|
|
5842
|
+
prerequisites: ["ticket", "title", "content", "section or cid", "governor configured on the forum"],
|
|
5843
|
+
followUp: ["ctm_continuum_dao_build_propose_bravo_multisign", "ctm_continuum_dao_build_propose_delta_multisign"],
|
|
5844
|
+
handler: { importPath: "protocols/evm/continuum-dao", exportName: "continuumDaoForumCreateTopic" },
|
|
5845
|
+
inputZod: mcpContinuumDaoForumCreateTopicInputSchema,
|
|
5846
|
+
outputZod: mcpContinuumDaoForumCreateTopicOutputSchema
|
|
5847
|
+
}),
|
|
5848
|
+
defineMcpTool({
|
|
5849
|
+
name: "ctm_continuum_dao_forum_create_idea",
|
|
5850
|
+
actionId: "continuum-dao.forum-create-idea",
|
|
5851
|
+
protocolId: "continuum-dao",
|
|
5852
|
+
chainCategory: "evm",
|
|
5853
|
+
description: "Post an Idea or Suggestion (discussion only) to Ideas & Suggestions. Not a proposal and not a valid forumKey. Use this when the operator wants feedback before a Temperature Check, or the ask is not ready for on-chain governance. Wallet login required; proposalThreshold is not. Do not follow with build_propose_*.",
|
|
5854
|
+
prerequisites: ["ticket", "title", "content"],
|
|
5855
|
+
followUp: ["ctm_continuum_dao_forum_reply", "ctm_continuum_dao_forum_sign_out"],
|
|
5856
|
+
handler: { importPath: "protocols/evm/continuum-dao", exportName: "continuumDaoForumCreateIdea" },
|
|
5857
|
+
inputZod: mcpContinuumDaoForumCreateIdeaInputSchema,
|
|
5858
|
+
outputZod: mcpContinuumDaoForumCreateIdeaOutputSchema
|
|
5859
|
+
}),
|
|
5860
|
+
defineMcpTool({
|
|
5861
|
+
name: "ctm_continuum_dao_forum_me",
|
|
5862
|
+
actionId: "continuum-dao.forum-me",
|
|
5863
|
+
protocolId: "continuum-dao",
|
|
5864
|
+
chainCategory: "evm",
|
|
5865
|
+
description: "Current forum user, votes, canPropose (Governance threads), and canPostIdea (Ideas & Suggestions).",
|
|
5866
|
+
prerequisites: [],
|
|
5867
|
+
followUp: [
|
|
5868
|
+
"ctm_continuum_dao_forum_unread",
|
|
5869
|
+
"ctm_continuum_dao_forum_sections",
|
|
5870
|
+
"ctm_continuum_dao_forum_sign_out"
|
|
5871
|
+
],
|
|
5872
|
+
handler: { importPath: "protocols/evm/continuum-dao", exportName: "continuumDaoForumMe" },
|
|
5873
|
+
inputZod: mcpContinuumDaoForumMeInputSchema,
|
|
5874
|
+
outputZod: mcpContinuumDaoForumMeOutputSchema
|
|
5875
|
+
}),
|
|
5876
|
+
defineMcpTool({
|
|
5877
|
+
name: "ctm_continuum_dao_forum_unread",
|
|
5878
|
+
actionId: "continuum-dao.forum-unread",
|
|
5879
|
+
protocolId: "continuum-dao",
|
|
5880
|
+
chainCategory: "evm",
|
|
5881
|
+
description: "List unread Forum topics for the logged-in user (NodeBB Unread). Requires a forum ticket. Optional filter all/new/watched/unreplied. Returns tid, title, url, replyCount, lastPostAt \u2014 then forum_fetch_thread and forum_mark_read. Interactive only; never from cron.",
|
|
5882
|
+
prerequisites: ["ticket"],
|
|
5883
|
+
followUp: ["ctm_continuum_dao_forum_fetch_thread", "ctm_continuum_dao_forum_mark_read"],
|
|
5884
|
+
handler: { importPath: "protocols/evm/continuum-dao", exportName: "continuumDaoForumUnread" },
|
|
5885
|
+
inputZod: mcpContinuumDaoForumUnreadInputSchema,
|
|
5886
|
+
outputZod: mcpContinuumDaoForumUnreadOutputSchema
|
|
5887
|
+
}),
|
|
5888
|
+
defineMcpTool({
|
|
5889
|
+
name: "ctm_continuum_dao_forum_mark_read",
|
|
5890
|
+
actionId: "continuum-dao.forum-mark-read",
|
|
5891
|
+
protocolId: "continuum-dao",
|
|
5892
|
+
chainCategory: "evm",
|
|
5893
|
+
description: "Mark Forum topic(s) read for the logged-in user (clears NodeBB Unread and topic notifications). Requires a ticket. Exactly one of tid/url, tids, or all. Confirm before all. Interactive only; never from cron.",
|
|
5894
|
+
prerequisites: ["ticket", "exactly one of tid/url, tids, or all"],
|
|
5895
|
+
followUp: ["ctm_continuum_dao_forum_unread", "ctm_continuum_dao_forum_fetch_thread"],
|
|
5896
|
+
handler: { importPath: "protocols/evm/continuum-dao", exportName: "continuumDaoForumMarkRead" },
|
|
5897
|
+
inputZod: mcpContinuumDaoForumMarkReadInputSchema,
|
|
5898
|
+
outputZod: mcpContinuumDaoForumMarkReadOutputSchema
|
|
5899
|
+
}),
|
|
5900
|
+
defineMcpTool({
|
|
5901
|
+
name: "ctm_continuum_dao_forum_mark_unread",
|
|
5902
|
+
actionId: "continuum-dao.forum-mark-unread",
|
|
5903
|
+
protocolId: "continuum-dao",
|
|
5904
|
+
chainCategory: "evm",
|
|
5905
|
+
description: "Mark one Forum topic unread for the logged-in user. Requires a ticket and tid or url. Interactive only; never from cron.",
|
|
5906
|
+
prerequisites: ["ticket", "tid or url"],
|
|
5907
|
+
followUp: ["ctm_continuum_dao_forum_unread"],
|
|
5908
|
+
handler: { importPath: "protocols/evm/continuum-dao", exportName: "continuumDaoForumMarkUnread" },
|
|
5909
|
+
inputZod: mcpContinuumDaoForumMarkUnreadInputSchema,
|
|
5910
|
+
outputZod: mcpContinuumDaoForumMarkUnreadOutputSchema
|
|
5911
|
+
}),
|
|
5912
|
+
defineMcpTool({
|
|
5913
|
+
name: "ctm_continuum_dao_forum_sign_out",
|
|
5914
|
+
actionId: "continuum-dao.forum-sign-out",
|
|
5915
|
+
protocolId: "continuum-dao",
|
|
5916
|
+
chainCategory: "evm",
|
|
5917
|
+
description: "Revoke the forum ticket and destroy NodeBB sessions for that user. Requires the ticket from EIP-712 sign-in. Does not create a multi-sign request.",
|
|
5918
|
+
prerequisites: ["ticket from forum sign-in"],
|
|
5919
|
+
followUp: ["ctm_continuum_dao_forum_me"],
|
|
5920
|
+
handler: { importPath: "protocols/evm/continuum-dao", exportName: "continuumDaoForumSignOut" },
|
|
5921
|
+
inputZod: mcpContinuumDaoForumSignOutInputSchema,
|
|
5922
|
+
outputZod: mcpContinuumDaoForumSignOutOutputSchema
|
|
5923
|
+
}),
|
|
5924
|
+
defineMcpTool({
|
|
5925
|
+
name: "ctm_continuum_dao_forum_sections",
|
|
5926
|
+
actionId: "continuum-dao.forum-sections",
|
|
5927
|
+
protocolId: "continuum-dao",
|
|
5928
|
+
chainCategory: "evm",
|
|
5929
|
+
description: "Forum category ids: ideas (discussion only) plus Governance proposal sections decision, election, treasury, constitution, admin. Use forum_create_idea for ideas; forum_create_topic for Governance.",
|
|
5930
|
+
prerequisites: [],
|
|
5931
|
+
followUp: [
|
|
5932
|
+
"ctm_continuum_dao_forum_recent",
|
|
5933
|
+
"ctm_continuum_dao_forum_search",
|
|
5934
|
+
"ctm_continuum_dao_forum_create_topic",
|
|
5935
|
+
"ctm_continuum_dao_forum_create_idea"
|
|
5936
|
+
],
|
|
5937
|
+
handler: { importPath: "protocols/evm/continuum-dao", exportName: "continuumDaoForumSections" },
|
|
5938
|
+
inputZod: mcpContinuumDaoForumSectionsInputSchema,
|
|
5939
|
+
outputZod: mcpContinuumDaoForumSectionsOutputSchema
|
|
4914
5940
|
})
|
|
4915
5941
|
];
|
|
4916
5942
|
var MCP_TOOL_DEFINITIONS = [
|
|
@@ -4988,14 +6014,22 @@ function getAgentCatalogForMcp() {
|
|
|
4988
6014
|
}
|
|
4989
6015
|
};
|
|
4990
6016
|
}
|
|
4991
|
-
viem.getAddress(
|
|
6017
|
+
var LIDO_STETH_CONTRACT_MAINNET = viem.getAddress(
|
|
4992
6018
|
"0xae7ab96520DE3A18E5e111B5EaAb095312D7fE84"
|
|
4993
6019
|
);
|
|
4994
|
-
viem.getAddress(
|
|
6020
|
+
var LIDO_WSTETH_CONTRACT_MAINNET = viem.getAddress(
|
|
4995
6021
|
"0x7f39C581F595B853cBbF37C12FfeeA971C5a5bEa"
|
|
4996
6022
|
);
|
|
4997
6023
|
viem.getAddress("0x889edC2eDab5f40e902b864aD4d7AdE8E412F9B1");
|
|
4998
6024
|
var LIDO_ETHEREUM_MAINNET_CHAIN_ID = 1;
|
|
6025
|
+
var LIDO_ROBINHOOD_CHAIN_ID = 4663;
|
|
6026
|
+
var LIDO_WSTETH_ROBINHOOD = viem.getAddress("0x2dC99af320BC317c567f24eE95811dcbd5983DfD");
|
|
6027
|
+
function listLidoSupportedChainIds() {
|
|
6028
|
+
return [LIDO_ETHEREUM_MAINNET_CHAIN_ID, LIDO_ROBINHOOD_CHAIN_ID];
|
|
6029
|
+
}
|
|
6030
|
+
function isLidoSupportedChainId(chainId) {
|
|
6031
|
+
return chainId === LIDO_ETHEREUM_MAINNET_CHAIN_ID || chainId === LIDO_ROBINHOOD_CHAIN_ID;
|
|
6032
|
+
}
|
|
4999
6033
|
|
|
5000
6034
|
// src/protocols/evm/lido/index.ts
|
|
5001
6035
|
var LIDO_PROTOCOL_ID = "lido";
|
|
@@ -5004,7 +6038,7 @@ var lidoProtocolModule = {
|
|
|
5004
6038
|
chainCategory: "evm",
|
|
5005
6039
|
isChainSupported(ctx) {
|
|
5006
6040
|
if (ctx.chainCategory !== "evm") return false;
|
|
5007
|
-
return Number(ctx.chainId)
|
|
6041
|
+
return isLidoSupportedChainId(Number(ctx.chainId));
|
|
5008
6042
|
},
|
|
5009
6043
|
isTokenSupported(token) {
|
|
5010
6044
|
return token.category === "evm" && (token.kind === "native" || token.kind === "erc20");
|
|
@@ -5021,7 +6055,9 @@ registerProtocolModule(lidoProtocolModule);
|
|
|
5021
6055
|
var USDE_ETHEREUM_MAINNET = "0x4c9edd5852cd905f086c759e8383e09bff1e68b3";
|
|
5022
6056
|
var SUSDE_ETHEREUM_MAINNET = "0x9d39a5de30e57443bff2a8307a4256c8797a3497";
|
|
5023
6057
|
var USDE_MOST_L2S = "0x5d3a1Ff2b6BAb83b63cd9AD0787074081a52ef34";
|
|
6058
|
+
var SUSDE_MOST_L2S = "0x211Cc4DD073734dA055fbF44a2b4667d5E5fE5d2";
|
|
5024
6059
|
var USDE_ZKSYNC_ERA = "0x39Fe7a0DACcE31Bd90418e3e659fb0b5f0B3Db0d";
|
|
6060
|
+
var SUSDE_ZKSYNC_ERA = "0xAD17Da2f6Ac76746EF261E835C50b2651ce36DA8";
|
|
5025
6061
|
var L2_SAME_ADDRESS_CHAIN_IDS = /* @__PURE__ */ new Set([
|
|
5026
6062
|
42161,
|
|
5027
6063
|
// Arbitrum One
|
|
@@ -5057,8 +6093,10 @@ var L2_SAME_ADDRESS_CHAIN_IDS = /* @__PURE__ */ new Set([
|
|
|
5057
6093
|
// Morph
|
|
5058
6094
|
1923,
|
|
5059
6095
|
// Swell
|
|
5060
|
-
48900
|
|
6096
|
+
48900,
|
|
5061
6097
|
// Zircuit
|
|
6098
|
+
4663
|
|
6099
|
+
// Robinhood Chain
|
|
5062
6100
|
]);
|
|
5063
6101
|
var FALLBACK_NAME_BY_ID = {
|
|
5064
6102
|
1: "Ethereum",
|
|
@@ -5080,6 +6118,7 @@ var FALLBACK_NAME_BY_ID = {
|
|
|
5080
6118
|
2818: "Morph",
|
|
5081
6119
|
1923: "Swell",
|
|
5082
6120
|
48900: "Zircuit",
|
|
6121
|
+
4663: "Robinhood Chain",
|
|
5083
6122
|
324: "ZKSync Era"
|
|
5084
6123
|
};
|
|
5085
6124
|
function usdeTokenAddressOnEvmChain(chainId) {
|
|
@@ -5090,17 +6129,28 @@ function usdeTokenAddressOnEvmChain(chainId) {
|
|
|
5090
6129
|
}
|
|
5091
6130
|
function listEthenaUsdeEvmNetworkRows() {
|
|
5092
6131
|
const rows = [
|
|
5093
|
-
{
|
|
6132
|
+
{
|
|
6133
|
+
chainId: 1,
|
|
6134
|
+
label: FALLBACK_NAME_BY_ID[1],
|
|
6135
|
+
usde: USDE_ETHEREUM_MAINNET,
|
|
6136
|
+
susde: SUSDE_ETHEREUM_MAINNET
|
|
6137
|
+
}
|
|
5094
6138
|
];
|
|
5095
6139
|
const l2 = [...L2_SAME_ADDRESS_CHAIN_IDS].sort((a, b) => a - b);
|
|
5096
6140
|
for (const id of l2) {
|
|
5097
6141
|
rows.push({
|
|
5098
6142
|
chainId: id,
|
|
5099
6143
|
label: FALLBACK_NAME_BY_ID[id] ?? `Chain ${id}`,
|
|
5100
|
-
usde: USDE_MOST_L2S
|
|
6144
|
+
usde: USDE_MOST_L2S,
|
|
6145
|
+
susde: SUSDE_MOST_L2S
|
|
5101
6146
|
});
|
|
5102
6147
|
}
|
|
5103
|
-
rows.push({
|
|
6148
|
+
rows.push({
|
|
6149
|
+
chainId: 324,
|
|
6150
|
+
label: FALLBACK_NAME_BY_ID[324],
|
|
6151
|
+
usde: USDE_ZKSYNC_ERA,
|
|
6152
|
+
susde: SUSDE_ZKSYNC_ERA
|
|
6153
|
+
});
|
|
5104
6154
|
return rows.sort((a, b) => {
|
|
5105
6155
|
if (a.chainId === 1) return -1;
|
|
5106
6156
|
if (b.chainId === 1) return 1;
|
|
@@ -6310,6 +7360,138 @@ var veniceProtocolModule = {
|
|
|
6310
7360
|
]
|
|
6311
7361
|
};
|
|
6312
7362
|
registerProtocolModule(veniceProtocolModule);
|
|
7363
|
+
var CONTINUUM_DAO_PROTOCOL_ID = "continuum-dao";
|
|
7364
|
+
var CONTINUUM_DAO_ETHEREUM_CHAIN_ID = 1;
|
|
7365
|
+
var CONTINUUM_DAO_LINEA_CHAIN_ID = 59144;
|
|
7366
|
+
var CONTINUUM_DAO_LINEA_SEPOLIA_CHAIN_ID = 59141;
|
|
7367
|
+
var CTM_TOKEN_NAME = "Continuum";
|
|
7368
|
+
var CTM_TOKEN_SYMBOL = "CTM";
|
|
7369
|
+
var VECTM_TOKEN_NAME = "Voting Escrow Continuum";
|
|
7370
|
+
var VECTM_TOKEN_SYMBOL = "veCTM";
|
|
7371
|
+
var CTM_TOKEN_DECIMALS = 18;
|
|
7372
|
+
var UNSET = {
|
|
7373
|
+
ctm: viem.zeroAddress,
|
|
7374
|
+
votingEscrow: viem.zeroAddress,
|
|
7375
|
+
nodeProperties: viem.zeroAddress,
|
|
7376
|
+
rewards: viem.zeroAddress,
|
|
7377
|
+
governor: viem.zeroAddress
|
|
7378
|
+
};
|
|
7379
|
+
var CONTINUUM_DAO_DEPLOYMENTS = {
|
|
7380
|
+
[CONTINUUM_DAO_LINEA_CHAIN_ID]: { ...UNSET },
|
|
7381
|
+
[CONTINUUM_DAO_LINEA_SEPOLIA_CHAIN_ID]: { ...UNSET },
|
|
7382
|
+
[CONTINUUM_DAO_ETHEREUM_CHAIN_ID]: {
|
|
7383
|
+
ctm: viem.zeroAddress,
|
|
7384
|
+
votingEscrow: viem.zeroAddress,
|
|
7385
|
+
nodeProperties: viem.zeroAddress,
|
|
7386
|
+
rewards: viem.zeroAddress,
|
|
7387
|
+
governor: viem.zeroAddress
|
|
7388
|
+
}
|
|
7389
|
+
};
|
|
7390
|
+
function isConfiguredAddress(addr) {
|
|
7391
|
+
if (!addr?.trim()) return false;
|
|
7392
|
+
try {
|
|
7393
|
+
return viem.getAddress(addr) !== viem.zeroAddress;
|
|
7394
|
+
} catch {
|
|
7395
|
+
return false;
|
|
7396
|
+
}
|
|
7397
|
+
}
|
|
7398
|
+
function continuumDaoDeployment(chainId) {
|
|
7399
|
+
return CONTINUUM_DAO_DEPLOYMENTS[chainId] ?? null;
|
|
7400
|
+
}
|
|
7401
|
+
function isContinuumDaoLockChain(chainId) {
|
|
7402
|
+
return chainId === CONTINUUM_DAO_LINEA_CHAIN_ID || chainId === CONTINUUM_DAO_LINEA_SEPOLIA_CHAIN_ID;
|
|
7403
|
+
}
|
|
7404
|
+
function isContinuumDaoSupportedChainId(chainId) {
|
|
7405
|
+
return continuumDaoDeployment(chainId) != null;
|
|
7406
|
+
}
|
|
7407
|
+
function ctmTokenAddressOnEvmChain(chainId) {
|
|
7408
|
+
const ctm = continuumDaoDeployment(chainId)?.ctm;
|
|
7409
|
+
return ctm && isConfiguredAddress(ctm) ? viem.getAddress(ctm) : null;
|
|
7410
|
+
}
|
|
7411
|
+
function votingEscrowAddressOnEvmChain(chainId) {
|
|
7412
|
+
const ve = continuumDaoDeployment(chainId)?.votingEscrow;
|
|
7413
|
+
return ve && isConfiguredAddress(ve) ? viem.getAddress(ve) : null;
|
|
7414
|
+
}
|
|
7415
|
+
function listContinuumDaoDefaultAssets() {
|
|
7416
|
+
const out = [];
|
|
7417
|
+
for (const chainId of [
|
|
7418
|
+
CONTINUUM_DAO_LINEA_CHAIN_ID,
|
|
7419
|
+
CONTINUUM_DAO_LINEA_SEPOLIA_CHAIN_ID,
|
|
7420
|
+
CONTINUUM_DAO_ETHEREUM_CHAIN_ID
|
|
7421
|
+
]) {
|
|
7422
|
+
const dep = continuumDaoDeployment(chainId);
|
|
7423
|
+
if (!dep) continue;
|
|
7424
|
+
if (isConfiguredAddress(dep.ctm)) {
|
|
7425
|
+
out.push({
|
|
7426
|
+
chainId,
|
|
7427
|
+
tokenType: "CTMERC20",
|
|
7428
|
+
contractAddress: viem.getAddress(dep.ctm),
|
|
7429
|
+
name: CTM_TOKEN_NAME,
|
|
7430
|
+
symbol: CTM_TOKEN_SYMBOL,
|
|
7431
|
+
decimals: CTM_TOKEN_DECIMALS
|
|
7432
|
+
});
|
|
7433
|
+
}
|
|
7434
|
+
if (isContinuumDaoLockChain(chainId) && isConfiguredAddress(dep.votingEscrow)) {
|
|
7435
|
+
out.push({
|
|
7436
|
+
chainId,
|
|
7437
|
+
tokenType: "ERC721",
|
|
7438
|
+
contractAddress: viem.getAddress(dep.votingEscrow),
|
|
7439
|
+
name: VECTM_TOKEN_NAME,
|
|
7440
|
+
symbol: VECTM_TOKEN_SYMBOL
|
|
7441
|
+
});
|
|
7442
|
+
}
|
|
7443
|
+
}
|
|
7444
|
+
return out;
|
|
7445
|
+
}
|
|
7446
|
+
|
|
7447
|
+
// src/protocols/evm/continuum-dao/index.ts
|
|
7448
|
+
var continuumDaoProtocolModule = {
|
|
7449
|
+
id: CONTINUUM_DAO_PROTOCOL_ID,
|
|
7450
|
+
chainCategory: "evm",
|
|
7451
|
+
isChainSupported(ctx) {
|
|
7452
|
+
if (ctx.chainCategory !== "evm") return false;
|
|
7453
|
+
const n = typeof ctx.chainId === "number" ? ctx.chainId : Number.parseInt(String(ctx.chainId), 10);
|
|
7454
|
+
return isContinuumDaoSupportedChainId(n);
|
|
7455
|
+
},
|
|
7456
|
+
isTokenSupported(token) {
|
|
7457
|
+
return token.category === "evm" && (token.kind === "erc20" || token.kind === "erc721");
|
|
7458
|
+
},
|
|
7459
|
+
actions: [
|
|
7460
|
+
{ id: "continuum-dao.create-lock", protocolId: CONTINUUM_DAO_PROTOCOL_ID, chainCategory: "evm", description: "Approve CTM + create_lock", commonParams: ["keyGen", "purposeText", "useCustomGas"], params: { amountHuman: { type: "string", required: true, description: "CTM amount" }, lockDurationSeconds: { type: "string", required: true, description: "Lock duration in seconds" } } },
|
|
7461
|
+
{ id: "continuum-dao.increase-amount", protocolId: CONTINUUM_DAO_PROTOCOL_ID, chainCategory: "evm", description: "Increase lock amount", commonParams: ["keyGen", "purposeText", "useCustomGas"], params: { tokenId: { type: "string", required: true, description: "veCTM token id" }, amountHuman: { type: "string", required: true, description: "CTM amount to add" } } },
|
|
7462
|
+
{ id: "continuum-dao.increase-unlock-time", protocolId: CONTINUUM_DAO_PROTOCOL_ID, chainCategory: "evm", description: "Increase unlock time", commonParams: ["keyGen", "purposeText", "useCustomGas"], params: { tokenId: { type: "string", required: true, description: "veCTM token id" }, lockDurationSeconds: { type: "string", required: true, description: "Duration from week boundary to new unlock" } } },
|
|
7463
|
+
{ id: "continuum-dao.split", protocolId: CONTINUUM_DAO_PROTOCOL_ID, chainCategory: "evm", description: "Split a veCTM lock", commonParams: ["keyGen", "purposeText", "useCustomGas"], params: { tokenId: { type: "string", required: true, description: "Source token id" }, extractedHuman: { type: "string", required: true, description: "CTM extracted into the new lock" } } },
|
|
7464
|
+
{ id: "continuum-dao.merge", protocolId: CONTINUUM_DAO_PROTOCOL_ID, chainCategory: "evm", description: "Merge two veCTM locks", commonParams: ["keyGen", "purposeText", "useCustomGas"], params: { fromTokenId: { type: "string", required: true, description: "Burned token id" }, toTokenId: { type: "string", required: true, description: "Surviving token id" } } },
|
|
7465
|
+
{ id: "continuum-dao.withdraw", protocolId: CONTINUUM_DAO_PROTOCOL_ID, chainCategory: "evm", description: "Withdraw an expired lock", commonParams: ["keyGen", "purposeText", "useCustomGas"], params: { tokenId: { type: "string", required: true, description: "veCTM token id" } } },
|
|
7466
|
+
{ id: "continuum-dao.liquidate", protocolId: CONTINUUM_DAO_PROTOCOL_ID, chainCategory: "evm", description: "Liquidate a lock", commonParams: ["keyGen", "purposeText", "useCustomGas"], params: { tokenId: { type: "string", required: true, description: "veCTM token id" } } },
|
|
7467
|
+
{ id: "continuum-dao.delegate", protocolId: CONTINUUM_DAO_PROTOCOL_ID, chainCategory: "evm", description: "Delegate voting power", commonParams: ["keyGen", "purposeText", "useCustomGas"], params: { delegatee: { type: "string", required: true, description: "Delegatee address" } } },
|
|
7468
|
+
{ id: "continuum-dao.undelegate", protocolId: CONTINUUM_DAO_PROTOCOL_ID, chainCategory: "evm", description: "Return voting power to the KeyGen (delegate to self)", commonParams: ["keyGen", "purposeText", "useCustomGas"], params: {} },
|
|
7469
|
+
{ id: "continuum-dao.fetch-delegates", protocolId: CONTINUUM_DAO_PROTOCOL_ID, chainCategory: "evm", description: "Read VotingEscrow.delegates(account)", commonParams: [], params: { account: { type: "string", required: true, description: "KeyGen or wallet address" } } },
|
|
7470
|
+
{ id: "continuum-dao.transfer", protocolId: CONTINUUM_DAO_PROTOCOL_ID, chainCategory: "evm", description: "Transfer a veCTM NFT", commonParams: ["keyGen", "purposeText", "useCustomGas"], params: { tokenId: { type: "string", required: true, description: "veCTM token id" }, to: { type: "string", required: true, description: "Recipient" } } },
|
|
7471
|
+
{ id: "continuum-dao.attach", protocolId: CONTINUUM_DAO_PROTOCOL_ID, chainCategory: "evm", description: "Attach veCTM to the node (authority KeyGen)", commonParams: ["keyGen", "purposeText", "useCustomGas"], params: { nodeKey: { type: "string", required: true, description: "Node key" }, tokenId: { type: "string", required: true, description: "veCTM token id" }, mpaWallet: { type: "string", required: true, description: "MultiSignAgentWallet address" } } },
|
|
7472
|
+
{ id: "continuum-dao.request-detach", protocolId: CONTINUUM_DAO_PROTOCOL_ID, chainCategory: "evm", description: "Request governance detach", commonParams: ["keyGen", "purposeText", "useCustomGas"], params: { tokenId: { type: "string", required: true, description: "Attached token id" }, nodeProperties: { type: "string", required: true, description: "NodeProperties address" } } },
|
|
7473
|
+
{ id: "continuum-dao.propose-bravo", protocolId: CONTINUUM_DAO_PROTOCOL_ID, chainCategory: "evm", description: "Propose a Bravo (For/Against/Abstain) proposal", commonParams: ["keyGen", "purposeText", "useCustomGas"], params: { title: { type: "string", required: true, description: "On-chain description (title)" }, forumKey: { type: "string", required: true, description: "Created forum thread URL from forum_create_topic" } } },
|
|
7474
|
+
{ id: "continuum-dao.propose-delta", protocolId: CONTINUUM_DAO_PROTOCOL_ID, chainCategory: "evm", description: "Propose a Delta multi-option proposal", commonParams: ["keyGen", "purposeText", "useCustomGas"], params: { title: { type: "string", required: true, description: "On-chain description (title)" }, nWinners: { type: "number", required: true, description: "Winning options to execute" }, forumKey: { type: "string", required: true, description: "Created forum thread URL from forum_create_topic" } } },
|
|
7475
|
+
{ id: "continuum-dao.cast-vote-bravo", protocolId: CONTINUUM_DAO_PROTOCOL_ID, chainCategory: "evm", description: "Cast a Bravo vote", commonParams: ["keyGen", "purposeText", "useCustomGas"], params: { proposalId: { type: "string", required: true, description: "On-chain proposal id" }, support: { type: "number", required: true, description: "0 against, 1 for, 2 abstain" } } },
|
|
7476
|
+
{ id: "continuum-dao.cast-vote-delta", protocolId: CONTINUUM_DAO_PROTOCOL_ID, chainCategory: "evm", description: "Cast a Delta vote including NOTA", commonParams: ["keyGen", "purposeText", "useCustomGas"], params: { proposalId: { type: "string", required: true, description: "On-chain proposal id" } } },
|
|
7477
|
+
{ id: "continuum-dao.execute", protocolId: CONTINUUM_DAO_PROTOCOL_ID, chainCategory: "evm", description: "Execute a succeeded proposal", commonParams: ["keyGen", "purposeText", "useCustomGas"], params: { proposalId: { type: "string", required: true, description: "On-chain proposal id" } } },
|
|
7478
|
+
{ id: "continuum-dao.cancel", protocolId: CONTINUUM_DAO_PROTOCOL_ID, chainCategory: "evm", description: "Cancel a proposal", commonParams: ["keyGen", "purposeText", "useCustomGas"], params: { proposalId: { type: "string", required: true, description: "On-chain proposal id" } } },
|
|
7479
|
+
{ id: "continuum-dao.fetch-live-proposals", protocolId: CONTINUUM_DAO_PROTOCOL_ID, chainCategory: "evm", description: "List live/pending/succeeded proposals with on-chain state overlay", commonParams: [], params: { chainId: { type: "number", required: false, description: "Linea chain id" }, rpcUrl: { type: "string", required: false, description: "Linea RPC for state overlay" } } },
|
|
7480
|
+
{ id: "continuum-dao.explain-proposal", protocolId: CONTINUUM_DAO_PROTOCOL_ID, chainCategory: "evm", description: "Deconstruct a proposal into a readable briefing (actions, C3, no-ops, risks)", commonParams: [], params: { id: { type: "string", required: false, description: "Backend proposal id" }, onchainId: { type: "string", required: false, description: "Governor proposal id" } } },
|
|
7481
|
+
{ id: "continuum-dao.forum-sign-in", protocolId: CONTINUUM_DAO_PROTOCOL_ID, chainCategory: "evm", description: "EIP-712 forum login (veCTM gate first)", commonParams: ["keyGen", "purposeText"], params: { nodeKey: { type: "string", required: false, description: "Attached node key" }, username: { type: "string", required: false, description: "Username when there is no node key" } } },
|
|
7482
|
+
{ id: "continuum-dao.forum-sign-in-eligible", protocolId: CONTINUUM_DAO_PROTOCOL_ID, chainCategory: "evm", description: "Check veCTM forum login eligibility", commonParams: [], params: { address: { type: "string", required: true, description: "KeyGen or wallet address" } } },
|
|
7483
|
+
{ id: "continuum-dao.forum-sign-out", protocolId: CONTINUUM_DAO_PROTOCOL_ID, chainCategory: "evm", description: "Revoke forum ticket and sessions", commonParams: [], params: { ticket: { type: "string", required: true, description: "Forum write ticket" } } },
|
|
7484
|
+
{ id: "continuum-dao.forum-create-topic", protocolId: CONTINUUM_DAO_PROTOCOL_ID, chainCategory: "evm", description: "Create a Governance proposal thread (not Ideas)", commonParams: [], params: { section: { type: "string", required: false, description: "decision | election | treasury | constitution | admin" }, title: { type: "string", required: true, description: "Thread title" }, content: { type: "string", required: true, description: "Proposal body" } } },
|
|
7485
|
+
{ id: "continuum-dao.forum-create-idea", protocolId: CONTINUUM_DAO_PROTOCOL_ID, chainCategory: "evm", description: "Post an Idea or Suggestion (not a proposal)", commonParams: [], params: { title: { type: "string", required: true, description: "Thread title" }, content: { type: "string", required: true, description: "Idea body" } } },
|
|
7486
|
+
{ id: "continuum-dao.forum-search", protocolId: CONTINUUM_DAO_PROTOCOL_ID, chainCategory: "evm", description: "Search forum titles and bodies; optional hours/since", commonParams: [], params: { query: { type: "string", required: false, description: "Case-insensitive title or body substring" }, hours: { type: "number", required: false, description: "Only posts from the last X hours" }, since: { type: "string", required: false, description: "Only posts since this ISO date or unix timestamp" } } },
|
|
7487
|
+
{ id: "continuum-dao.forum-recent", protocolId: CONTINUUM_DAO_PROTOCOL_ID, chainCategory: "evm", description: "List recent readable posts (id, title, username, createdAt); requires hours or since", commonParams: [], params: { hours: { type: "number", required: false, description: "Only posts from the last X hours" }, since: { type: "string", required: false, description: "Only posts since this ISO date or unix timestamp" } } },
|
|
7488
|
+
{ id: "continuum-dao.forum-delete", protocolId: CONTINUUM_DAO_PROTOCOL_ID, chainCategory: "evm", description: "Admin/moderator soft-delete a post, thread, or a user\u2019s posts", commonParams: [], params: { pid: { type: "string", required: false, description: "Post id" }, tid: { type: "string", required: false, description: "Thread id" }, username: { type: "string", required: false, description: "Delete all posts by this user" }, hours: { type: "number", required: false, description: "Only in the last X hours (default all)" }, since: { type: "string", required: false, description: "Only since this date (default all)" } } },
|
|
7489
|
+
{ id: "continuum-dao.forum-unread", protocolId: CONTINUUM_DAO_PROTOCOL_ID, chainCategory: "evm", description: "List unread topics for the logged-in user", commonParams: [], params: { filter: { type: "string", required: false, description: "all | new | watched | unreplied" } } },
|
|
7490
|
+
{ id: "continuum-dao.forum-mark-read", protocolId: CONTINUUM_DAO_PROTOCOL_ID, chainCategory: "evm", description: "Mark topic(s) read (tid/url, tids, or all)", commonParams: [], params: { tid: { type: "string", required: false, description: "Thread id" }, all: { type: "boolean", required: false, description: "Mark every unread topic read" } } },
|
|
7491
|
+
{ id: "continuum-dao.forum-mark-unread", protocolId: CONTINUUM_DAO_PROTOCOL_ID, chainCategory: "evm", description: "Mark one topic unread", commonParams: [], params: { tid: { type: "string", required: false, description: "Thread id" } } }
|
|
7492
|
+
]
|
|
7493
|
+
};
|
|
7494
|
+
registerProtocolModule(continuumDaoProtocolModule);
|
|
6313
7495
|
var skillsDir = path.join(path.dirname(url.fileURLToPath((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('catalog.cjs', document.baseURI).href)))), "skills");
|
|
6314
7496
|
var SKILL_PROTOCOL_IDS = [
|
|
6315
7497
|
"aave-v4",
|
|
@@ -6324,7 +7506,8 @@ var SKILL_PROTOCOL_IDS = [
|
|
|
6324
7506
|
"hyperliquid",
|
|
6325
7507
|
"arcus",
|
|
6326
7508
|
"morpho",
|
|
6327
|
-
"circle-cctp"
|
|
7509
|
+
"circle-cctp",
|
|
7510
|
+
"continuum-dao"
|
|
6328
7511
|
];
|
|
6329
7512
|
function getToolsForProtocol(protocolId) {
|
|
6330
7513
|
return MCP_TOOL_DEFINITIONS.filter((t) => t.protocolId === protocolId);
|
|
@@ -6503,17 +7686,26 @@ var PROTOCOL_SUPPORT_ADVISORS = {
|
|
|
6503
7686
|
}),
|
|
6504
7687
|
lido: advisor("lido", "mainnet_only", {
|
|
6505
7688
|
async supportedChainIds() {
|
|
6506
|
-
return
|
|
7689
|
+
return listLidoSupportedChainIds();
|
|
6507
7690
|
},
|
|
6508
|
-
async supportedTokens() {
|
|
6509
|
-
|
|
6510
|
-
|
|
6511
|
-
|
|
6512
|
-
|
|
6513
|
-
|
|
6514
|
-
|
|
6515
|
-
|
|
6516
|
-
|
|
7691
|
+
async supportedTokens(chainId) {
|
|
7692
|
+
if (chainId === LIDO_ETHEREUM_MAINNET_CHAIN_ID) {
|
|
7693
|
+
return {
|
|
7694
|
+
tokens: [
|
|
7695
|
+
{ address: "0x0000000000000000000000000000000000000000", symbol: "ETH", roles: ["native", "stake"] },
|
|
7696
|
+
{ address: LIDO_STETH_CONTRACT_MAINNET, symbol: "stETH", roles: ["erc20"] },
|
|
7697
|
+
{ address: LIDO_WSTETH_CONTRACT_MAINNET, symbol: "wstETH", roles: ["erc20"] }
|
|
7698
|
+
],
|
|
7699
|
+
notes: "Lido staking, withdrawals, and wrap/unwrap are Ethereum mainnet only."
|
|
7700
|
+
};
|
|
7701
|
+
}
|
|
7702
|
+
if (chainId === LIDO_ROBINHOOD_CHAIN_ID) {
|
|
7703
|
+
return {
|
|
7704
|
+
tokens: [{ address: LIDO_WSTETH_ROBINHOOD, symbol: "wstETH", roles: ["erc20"] }],
|
|
7705
|
+
notes: "Bridged wstETH on Robinhood Chain (CCIP). Stake/withdraw/wrap MCP tools remain mainnet-only."
|
|
7706
|
+
};
|
|
7707
|
+
}
|
|
7708
|
+
return { tokens: [] };
|
|
6517
7709
|
}
|
|
6518
7710
|
}),
|
|
6519
7711
|
ethena: advisor("ethena", "minting_contract", {
|
|
@@ -6527,14 +7719,17 @@ var PROTOCOL_SUPPORT_ADVISORS = {
|
|
|
6527
7719
|
{ address: USDE_ETHEREUM_MAINNET, symbol: "USDe", roles: ["stake"] },
|
|
6528
7720
|
{ address: SUSDE_ETHEREUM_MAINNET, symbol: "sUSDe", roles: ["vault"] }
|
|
6529
7721
|
],
|
|
6530
|
-
notes: "Ethena stake/redeem UI actions are mainnet-only; USDe
|
|
7722
|
+
notes: "Ethena stake/redeem UI actions are mainnet-only; USDe/sUSDe exist on other chains for transfers."
|
|
6531
7723
|
};
|
|
6532
7724
|
}
|
|
6533
7725
|
if (isEvmChainInEthenaUsdeList(chainId)) {
|
|
6534
7726
|
const row = listEthenaUsdeEvmNetworkRows().find((r) => r.chainId === chainId);
|
|
6535
7727
|
return {
|
|
6536
|
-
tokens: row ? [
|
|
6537
|
-
|
|
7728
|
+
tokens: row ? [
|
|
7729
|
+
{ address: row.usde, symbol: "USDe", roles: ["erc20"] },
|
|
7730
|
+
{ address: row.susde, symbol: "sUSDe", roles: ["erc20"] }
|
|
7731
|
+
] : [],
|
|
7732
|
+
notes: "USDe/sUSDe on L2 (incl. Robinhood Chain); staking MCP tools target mainnet only."
|
|
6538
7733
|
};
|
|
6539
7734
|
}
|
|
6540
7735
|
return { tokens: [] };
|
|
@@ -6666,6 +7861,22 @@ var PROTOCOL_SUPPORT_ADVISORS = {
|
|
|
6666
7861
|
}
|
|
6667
7862
|
}
|
|
6668
7863
|
}),
|
|
7864
|
+
[CONTINUUM_DAO_PROTOCOL_ID]: advisor(CONTINUUM_DAO_PROTOCOL_ID, "fixed_addresses", {
|
|
7865
|
+
async supportedChainIds() {
|
|
7866
|
+
return [1, 59144, 59141].filter((id) => isContinuumDaoSupportedChainId(id));
|
|
7867
|
+
},
|
|
7868
|
+
async supportedTokens(chainId) {
|
|
7869
|
+
const tokens = [];
|
|
7870
|
+
const ctm = ctmTokenAddressOnEvmChain(chainId);
|
|
7871
|
+
if (ctm) tokens.push({ address: ctm, symbol: "CTM", roles: ["underlying"] });
|
|
7872
|
+
const ve = votingEscrowAddressOnEvmChain(chainId);
|
|
7873
|
+
if (ve) tokens.push({ address: ve, symbol: "veCTM", roles: ["position_nft"] });
|
|
7874
|
+
return {
|
|
7875
|
+
tokens,
|
|
7876
|
+
notes: tokens.length === 0 ? "ContinuumDAO addresses are placeholders until redeploy. Lock/attach/governance stay Linea-only. Prefer live GET /protocol/dao. For \u201Cwhat proposals are live now?\u201D use ctm_continuum_dao_fetch_live_proposals (not fetch_proposals). Propose requires getVotes >= live proposalThreshold() (max of 1000e18 ve power and 1% of total votes). Bravo empty actions insert a KeyGen no-op; Delta votes need nOptions+1 weights (last is NOTA). No billing legs. After propose is mined, ctm_continuum_dao_register_proposal. Queue is not implemented." : `Default ContinuumDAO assets: ${listContinuumDaoDefaultAssets().filter((a) => a.chainId === chainId).map((a) => a.symbol).join(", ")}. Lock/attach/governance stay Linea-only. For \u201Cwhat proposals are live now?\u201D use ctm_continuum_dao_fetch_live_proposals. Propose requires getVotes >= live proposalThreshold() (max of 1000e18 ve power and 1% of total votes). Bravo empty actions insert a KeyGen no-op; Delta votes need nOptions+1 weights (last is NOTA). No billing legs. After propose is mined, ctm_continuum_dao_register_proposal. Queue is not implemented.`
|
|
7877
|
+
};
|
|
7878
|
+
}
|
|
7879
|
+
}),
|
|
6669
7880
|
arcus: advisor("arcus", "api_underlyings", {
|
|
6670
7881
|
async supportedChainIds() {
|
|
6671
7882
|
return [...ARCUS_SUPPORTED_CHAIN_IDS];
|
|
@@ -6700,6 +7911,7 @@ registerProtocolModule(arcusProtocolModule);
|
|
|
6700
7911
|
registerProtocolModule(morphoProtocolModule);
|
|
6701
7912
|
registerProtocolModule(circleCctpProtocolModule);
|
|
6702
7913
|
registerProtocolModule(veniceProtocolModule);
|
|
7914
|
+
registerProtocolModule(continuumDaoProtocolModule);
|
|
6703
7915
|
function getAgentCatalog() {
|
|
6704
7916
|
return {
|
|
6705
7917
|
protocols: getProtocolModules(),
|
|
@@ -6722,6 +7934,7 @@ function getAgentCatalog() {
|
|
|
6722
7934
|
morpho: morphoProtocolModule,
|
|
6723
7935
|
circleCctp: circleCctpProtocolModule,
|
|
6724
7936
|
venice: veniceProtocolModule,
|
|
7937
|
+
continuumDao: continuumDaoProtocolModule,
|
|
6725
7938
|
/** Prefer getAgentCatalogForMcp() or getMcpToolDefinitions() for MCP servers. */
|
|
6726
7939
|
mcp: getAgentCatalogForMcp()
|
|
6727
7940
|
};
|
|
@@ -6789,6 +8002,77 @@ exports.mcpArcusSpotFetchMarketsInputSchema = mcpArcusSpotFetchMarketsInputSchem
|
|
|
6789
8002
|
exports.mcpArcusSpotFetchMarketsOutputSchema = mcpArcusSpotFetchMarketsOutputSchema;
|
|
6790
8003
|
exports.mcpArcusSpotFetchOhlcvInputSchema = mcpArcusSpotFetchOhlcvInputSchema;
|
|
6791
8004
|
exports.mcpArcusSpotFetchOhlcvOutputSchema = mcpArcusSpotFetchOhlcvOutputSchema;
|
|
8005
|
+
exports.mcpContinuumDaoAttachInputSchema = mcpContinuumDaoAttachInputSchema;
|
|
8006
|
+
exports.mcpContinuumDaoCastVoteBravoInputSchema = mcpContinuumDaoCastVoteBravoInputSchema;
|
|
8007
|
+
exports.mcpContinuumDaoCastVoteDeltaInputSchema = mcpContinuumDaoCastVoteDeltaInputSchema;
|
|
8008
|
+
exports.mcpContinuumDaoCreateLockInputSchema = mcpContinuumDaoCreateLockInputSchema;
|
|
8009
|
+
exports.mcpContinuumDaoDelegateInputSchema = mcpContinuumDaoDelegateInputSchema;
|
|
8010
|
+
exports.mcpContinuumDaoExplainProposalInputSchema = mcpContinuumDaoExplainProposalInputSchema;
|
|
8011
|
+
exports.mcpContinuumDaoExplainProposalOutputSchema = mcpContinuumDaoExplainProposalOutputSchema;
|
|
8012
|
+
exports.mcpContinuumDaoFetchDelegatesInputSchema = mcpContinuumDaoFetchDelegatesInputSchema;
|
|
8013
|
+
exports.mcpContinuumDaoFetchDelegatesOutputSchema = mcpContinuumDaoFetchDelegatesOutputSchema;
|
|
8014
|
+
exports.mcpContinuumDaoFetchLiveProposalsInputSchema = mcpContinuumDaoFetchLiveProposalsInputSchema;
|
|
8015
|
+
exports.mcpContinuumDaoFetchLiveProposalsOutputSchema = mcpContinuumDaoFetchLiveProposalsOutputSchema;
|
|
8016
|
+
exports.mcpContinuumDaoFetchProposalInputSchema = mcpContinuumDaoFetchProposalInputSchema;
|
|
8017
|
+
exports.mcpContinuumDaoFetchProposalOutputSchema = mcpContinuumDaoFetchProposalOutputSchema;
|
|
8018
|
+
exports.mcpContinuumDaoFetchProposalStateInputSchema = mcpContinuumDaoFetchProposalStateInputSchema;
|
|
8019
|
+
exports.mcpContinuumDaoFetchProposalStateOutputSchema = mcpContinuumDaoFetchProposalStateOutputSchema;
|
|
8020
|
+
exports.mcpContinuumDaoFetchProposalsInputSchema = mcpContinuumDaoFetchProposalsInputSchema;
|
|
8021
|
+
exports.mcpContinuumDaoFetchProposalsOutputSchema = mcpContinuumDaoFetchProposalsOutputSchema;
|
|
8022
|
+
exports.mcpContinuumDaoFetchVotingPowerInputSchema = mcpContinuumDaoFetchVotingPowerInputSchema;
|
|
8023
|
+
exports.mcpContinuumDaoFetchVotingPowerOutputSchema = mcpContinuumDaoFetchVotingPowerOutputSchema;
|
|
8024
|
+
exports.mcpContinuumDaoForumCreateIdeaInputSchema = mcpContinuumDaoForumCreateIdeaInputSchema;
|
|
8025
|
+
exports.mcpContinuumDaoForumCreateIdeaOutputSchema = mcpContinuumDaoForumCreateIdeaOutputSchema;
|
|
8026
|
+
exports.mcpContinuumDaoForumCreateTopicInputSchema = mcpContinuumDaoForumCreateTopicInputSchema;
|
|
8027
|
+
exports.mcpContinuumDaoForumCreateTopicOutputSchema = mcpContinuumDaoForumCreateTopicOutputSchema;
|
|
8028
|
+
exports.mcpContinuumDaoForumDeleteInputSchema = mcpContinuumDaoForumDeleteInputSchema;
|
|
8029
|
+
exports.mcpContinuumDaoForumDeleteOutputSchema = mcpContinuumDaoForumDeleteOutputSchema;
|
|
8030
|
+
exports.mcpContinuumDaoForumFetchPostInputSchema = mcpContinuumDaoForumFetchPostInputSchema;
|
|
8031
|
+
exports.mcpContinuumDaoForumFetchPostOutputSchema = mcpContinuumDaoForumFetchPostOutputSchema;
|
|
8032
|
+
exports.mcpContinuumDaoForumFetchThreadInputSchema = mcpContinuumDaoForumFetchThreadInputSchema;
|
|
8033
|
+
exports.mcpContinuumDaoForumFetchThreadOutputSchema = mcpContinuumDaoForumFetchThreadOutputSchema;
|
|
8034
|
+
exports.mcpContinuumDaoForumMarkReadInputSchema = mcpContinuumDaoForumMarkReadInputSchema;
|
|
8035
|
+
exports.mcpContinuumDaoForumMarkReadOutputSchema = mcpContinuumDaoForumMarkReadOutputSchema;
|
|
8036
|
+
exports.mcpContinuumDaoForumMarkUnreadInputSchema = mcpContinuumDaoForumMarkUnreadInputSchema;
|
|
8037
|
+
exports.mcpContinuumDaoForumMarkUnreadOutputSchema = mcpContinuumDaoForumMarkUnreadOutputSchema;
|
|
8038
|
+
exports.mcpContinuumDaoForumMeInputSchema = mcpContinuumDaoForumMeInputSchema;
|
|
8039
|
+
exports.mcpContinuumDaoForumMeOutputSchema = mcpContinuumDaoForumMeOutputSchema;
|
|
8040
|
+
exports.mcpContinuumDaoForumReactInputSchema = mcpContinuumDaoForumReactInputSchema;
|
|
8041
|
+
exports.mcpContinuumDaoForumReactOutputSchema = mcpContinuumDaoForumReactOutputSchema;
|
|
8042
|
+
exports.mcpContinuumDaoForumRecentInputSchema = mcpContinuumDaoForumRecentInputSchema;
|
|
8043
|
+
exports.mcpContinuumDaoForumRecentOutputSchema = mcpContinuumDaoForumRecentOutputSchema;
|
|
8044
|
+
exports.mcpContinuumDaoForumReplyCountInputSchema = mcpContinuumDaoForumReplyCountInputSchema;
|
|
8045
|
+
exports.mcpContinuumDaoForumReplyCountOutputSchema = mcpContinuumDaoForumReplyCountOutputSchema;
|
|
8046
|
+
exports.mcpContinuumDaoForumReplyInputSchema = mcpContinuumDaoForumReplyInputSchema;
|
|
8047
|
+
exports.mcpContinuumDaoForumReplyOutputSchema = mcpContinuumDaoForumReplyOutputSchema;
|
|
8048
|
+
exports.mcpContinuumDaoForumResolveInputSchema = mcpContinuumDaoForumResolveInputSchema;
|
|
8049
|
+
exports.mcpContinuumDaoForumResolveOutputSchema = mcpContinuumDaoForumResolveOutputSchema;
|
|
8050
|
+
exports.mcpContinuumDaoForumSearchInputSchema = mcpContinuumDaoForumSearchInputSchema;
|
|
8051
|
+
exports.mcpContinuumDaoForumSearchOutputSchema = mcpContinuumDaoForumSearchOutputSchema;
|
|
8052
|
+
exports.mcpContinuumDaoForumSectionsInputSchema = mcpContinuumDaoForumSectionsInputSchema;
|
|
8053
|
+
exports.mcpContinuumDaoForumSectionsOutputSchema = mcpContinuumDaoForumSectionsOutputSchema;
|
|
8054
|
+
exports.mcpContinuumDaoForumSignInEligibleInputSchema = mcpContinuumDaoForumSignInEligibleInputSchema;
|
|
8055
|
+
exports.mcpContinuumDaoForumSignInEligibleOutputSchema = mcpContinuumDaoForumSignInEligibleOutputSchema;
|
|
8056
|
+
exports.mcpContinuumDaoForumSignInInputSchema = mcpContinuumDaoForumSignInInputSchema;
|
|
8057
|
+
exports.mcpContinuumDaoForumSignOutInputSchema = mcpContinuumDaoForumSignOutInputSchema;
|
|
8058
|
+
exports.mcpContinuumDaoForumSignOutOutputSchema = mcpContinuumDaoForumSignOutOutputSchema;
|
|
8059
|
+
exports.mcpContinuumDaoForumUnreadInputSchema = mcpContinuumDaoForumUnreadInputSchema;
|
|
8060
|
+
exports.mcpContinuumDaoForumUnreadOutputSchema = mcpContinuumDaoForumUnreadOutputSchema;
|
|
8061
|
+
exports.mcpContinuumDaoForumUserPostIdsInputSchema = mcpContinuumDaoForumUserPostIdsInputSchema;
|
|
8062
|
+
exports.mcpContinuumDaoForumUserPostIdsOutputSchema = mcpContinuumDaoForumUserPostIdsOutputSchema;
|
|
8063
|
+
exports.mcpContinuumDaoIncreaseAmountInputSchema = mcpContinuumDaoIncreaseAmountInputSchema;
|
|
8064
|
+
exports.mcpContinuumDaoIncreaseUnlockTimeInputSchema = mcpContinuumDaoIncreaseUnlockTimeInputSchema;
|
|
8065
|
+
exports.mcpContinuumDaoMergeInputSchema = mcpContinuumDaoMergeInputSchema;
|
|
8066
|
+
exports.mcpContinuumDaoProposalIdInputSchema = mcpContinuumDaoProposalIdInputSchema;
|
|
8067
|
+
exports.mcpContinuumDaoProposeBravoInputSchema = mcpContinuumDaoProposeBravoInputSchema;
|
|
8068
|
+
exports.mcpContinuumDaoProposeDeltaInputSchema = mcpContinuumDaoProposeDeltaInputSchema;
|
|
8069
|
+
exports.mcpContinuumDaoRegisterProposalInputSchema = mcpContinuumDaoRegisterProposalInputSchema;
|
|
8070
|
+
exports.mcpContinuumDaoRegisterProposalOutputSchema = mcpContinuumDaoRegisterProposalOutputSchema;
|
|
8071
|
+
exports.mcpContinuumDaoRequestDetachInputSchema = mcpContinuumDaoRequestDetachInputSchema;
|
|
8072
|
+
exports.mcpContinuumDaoSplitInputSchema = mcpContinuumDaoSplitInputSchema;
|
|
8073
|
+
exports.mcpContinuumDaoTokenIdInputSchema = mcpContinuumDaoTokenIdInputSchema;
|
|
8074
|
+
exports.mcpContinuumDaoTransferInputSchema = mcpContinuumDaoTransferInputSchema;
|
|
8075
|
+
exports.mcpContinuumDaoUndelegateInputSchema = mcpContinuumDaoUndelegateInputSchema;
|
|
6792
8076
|
exports.mcpCurveDaoBuildSwapMultisignInputSchema = mcpCurveDaoBuildSwapMultisignInputSchema;
|
|
6793
8077
|
exports.mcpCurveDaoQuoteInputSchema = mcpCurveDaoQuoteInputSchema;
|
|
6794
8078
|
exports.mcpCurveDaoQuoteOutputSchema = mcpCurveDaoQuoteOutputSchema;
|