@continuumdao/ctm-mpc-defi 0.2.45 → 0.2.46
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 +14 -8
- package/dist/agent/catalog.cjs.map +1 -1
- package/dist/agent/catalog.d.ts +34 -0
- package/dist/agent/catalog.js +14 -8
- package/dist/agent/catalog.js.map +1 -1
- package/dist/agent/skills/continuum-dao/SKILL.md +1 -1
- package/dist/protocols/evm/continuum-dao/index.cjs +75 -13
- package/dist/protocols/evm/continuum-dao/index.cjs.map +1 -1
- package/dist/protocols/evm/continuum-dao/index.d.ts +45 -6
- package/dist/protocols/evm/continuum-dao/index.js +70 -14
- package/dist/protocols/evm/continuum-dao/index.js.map +1 -1
- package/package.json +1 -1
package/dist/agent/catalog.cjs
CHANGED
|
@@ -3158,12 +3158,14 @@ var mcpContinuumDaoFetchProposalStateOutputSchema = zod.z.object({
|
|
|
3158
3158
|
abstainVotes: zod.z.string()
|
|
3159
3159
|
});
|
|
3160
3160
|
var mcpContinuumDaoFetchProposalsInputSchema = zod.z.object({
|
|
3161
|
-
start: zod.z.number().int().
|
|
3162
|
-
end: zod.z.number().int().
|
|
3161
|
+
start: zod.z.number().int().optional(),
|
|
3162
|
+
end: zod.z.number().int().optional()
|
|
3163
3163
|
});
|
|
3164
3164
|
var mcpContinuumDaoFetchProposalsOutputSchema = zod.z.object({
|
|
3165
3165
|
proposals: zod.z.array(zod.z.unknown()),
|
|
3166
|
-
total: zod.z.number().optional()
|
|
3166
|
+
total: zod.z.number().optional(),
|
|
3167
|
+
minIndex: zod.z.number().optional(),
|
|
3168
|
+
maxIndex: zod.z.number().optional()
|
|
3167
3169
|
});
|
|
3168
3170
|
var mcpContinuumDaoFetchProposalInputSchema = zod.z.object({
|
|
3169
3171
|
id: zod.z.union([zod.z.string(), zod.z.number()])
|
|
@@ -3176,6 +3178,7 @@ var liveProposalRowSchema = zod.z.object({
|
|
|
3176
3178
|
onchainId: zod.z.string(),
|
|
3177
3179
|
title: zod.z.string(),
|
|
3178
3180
|
configuration: zod.z.number().optional(),
|
|
3181
|
+
governorAddress: zod.z.string().optional(),
|
|
3179
3182
|
state: zod.z.number().nullable(),
|
|
3180
3183
|
stateLabel: zod.z.string(),
|
|
3181
3184
|
bucket: zod.z.enum(["live", "pending", "readyToExecute", "recentlyCompleted", "unknown"]),
|
|
@@ -3217,6 +3220,7 @@ var mcpContinuumDaoExplainProposalOutputSchema = zod.z.object({
|
|
|
3217
3220
|
typeLabel: zod.z.string(),
|
|
3218
3221
|
configuration: zod.z.enum(["bravo", "delta"]),
|
|
3219
3222
|
nWinners: zod.z.number().optional(),
|
|
3223
|
+
governorAddress: zod.z.string().optional(),
|
|
3220
3224
|
briefing: zod.z.string(),
|
|
3221
3225
|
actions: zod.z.array(zod.z.unknown()),
|
|
3222
3226
|
options: zod.z.array(zod.z.unknown()),
|
|
@@ -7455,7 +7459,7 @@ var CORE_MCP_TOOL_DEFINITIONS = [
|
|
|
7455
7459
|
actionId: "continuum-dao.fetch-proposal-state",
|
|
7456
7460
|
protocolId: "continuum-dao",
|
|
7457
7461
|
chainCategory: "evm",
|
|
7458
|
-
description: "Read ContinuumDAO.state and proposalVotes for an on-chain proposal id.",
|
|
7462
|
+
description: "Read ContinuumDAO.state and proposalVotes for an on-chain proposal id. Pass the proposal\u2019s own `governorAddress` when set \u2014 catalog ids -2 and -1 live on the superseded Linea governor 0x4800F9f1dC1b6daCA841B71E0531F547D374168E, not the current contract.",
|
|
7459
7463
|
prerequisites: ["rpcUrl", "proposalId", "governor"],
|
|
7460
7464
|
followUp: [
|
|
7461
7465
|
"ctm_continuum_dao_build_cast_vote_bravo_multisign",
|
|
@@ -7470,7 +7474,7 @@ var CORE_MCP_TOOL_DEFINITIONS = [
|
|
|
7470
7474
|
actionId: "continuum-dao.fetch-proposals",
|
|
7471
7475
|
protocolId: "continuum-dao",
|
|
7472
7476
|
chainCategory: "evm",
|
|
7473
|
-
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.",
|
|
7477
|
+
description: "List proposals from the public ContinuumDAO backend (POST /proposals). start/end are catalog id indexes (end exclusive), not offsets, and may be negative: the superseded Linea governor 0x4800F9f1\u2026 is stored as ids -2 and -1 so the current contract can start at 0. Omit start/end to fetch the full catalog (minIndex..maxIndex). 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.",
|
|
7474
7478
|
prerequisites: [],
|
|
7475
7479
|
followUp: ["ctm_continuum_dao_fetch_live_proposals", "ctm_continuum_dao_fetch_proposal"],
|
|
7476
7480
|
handler: { importPath: "protocols/evm/continuum-dao", exportName: "continuumDaoFetchProposals" },
|
|
@@ -7482,7 +7486,7 @@ var CORE_MCP_TOOL_DEFINITIONS = [
|
|
|
7482
7486
|
actionId: "continuum-dao.fetch-proposal",
|
|
7483
7487
|
protocolId: "continuum-dao",
|
|
7484
7488
|
chainCategory: "evm",
|
|
7485
|
-
description: "Fetch one proposal from the public ContinuumDAO backend (GET /proposals/:id).",
|
|
7489
|
+
description: "Fetch one proposal from the public ContinuumDAO backend (GET /proposals/:id). Id may be negative: -2 and -1 are the two proposals from the superseded Linea governor 0x4800F9f1dC1b6daCA841B71E0531F547D374168E.",
|
|
7486
7490
|
prerequisites: ["id"],
|
|
7487
7491
|
followUp: ["ctm_continuum_dao_explain_proposal", "ctm_continuum_dao_fetch_proposal_state"],
|
|
7488
7492
|
handler: { importPath: "protocols/evm/continuum-dao", exportName: "continuumDaoFetchProposal" },
|
|
@@ -7494,7 +7498,7 @@ var CORE_MCP_TOOL_DEFINITIONS = [
|
|
|
7494
7498
|
actionId: "continuum-dao.fetch-live-proposals",
|
|
7495
7499
|
protocolId: "continuum-dao",
|
|
7496
7500
|
chainCategory: "evm",
|
|
7497
|
-
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.",
|
|
7501
|
+
description: "Answer \u201Cwhat proposals are live now?\u201D. Lists the backend catalog (including negative ids on the superseded Linea governor) and overlays ContinuumDAO.state using each row\u2019s governorAddress. 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.",
|
|
7498
7502
|
prerequisites: ["load_defi_protocol continuum-dao", "Linea chainId 59144 or 59141", "rpcUrl", "governor if constant is zero"],
|
|
7499
7503
|
followUp: [
|
|
7500
7504
|
"ctm_continuum_dao_explain_proposal",
|
|
@@ -7511,7 +7515,7 @@ var CORE_MCP_TOOL_DEFINITIONS = [
|
|
|
7511
7515
|
actionId: "continuum-dao.explain-proposal",
|
|
7512
7516
|
protocolId: "continuum-dao",
|
|
7513
7517
|
chainCategory: "evm",
|
|
7514
|
-
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.",
|
|
7518
|
+
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. `network.c3governor` is always present; an action is C3-remote only when network.name is not Linea (home chain 59144 / 59141). Read the `briefing` field aloud. Does not vote. For a policy recommendation load the mpc-config continuum-dao-vote-policy skill.",
|
|
7515
7519
|
prerequisites: ["id (backend) or onchainId"],
|
|
7516
7520
|
followUp: ["ctm_continuum_dao_fetch_proposal_state", "ctm_continuum_dao_forum_fetch_thread"],
|
|
7517
7521
|
handler: { importPath: "protocols/evm/continuum-dao", exportName: "continuumDaoExplainProposal" },
|
|
@@ -10066,6 +10070,8 @@ var UNSET = {
|
|
|
10066
10070
|
};
|
|
10067
10071
|
var CTM_TOKEN_ADDRESS = viem.getAddress("0x2026027054F5beBCEB650aBD62dC623e327658e7");
|
|
10068
10072
|
var VOTING_ESCROW_LINEA_ADDRESS = viem.getAddress("0x221EC90B3B083A8501A37bdeb7035CeaedF3C31f");
|
|
10073
|
+
viem.getAddress("0x76FF2CB03175900F1D83328C82D27EA9aeaF2355");
|
|
10074
|
+
viem.getAddress("0x4800F9f1dC1b6daCA841B71E0531F547D374168E");
|
|
10069
10075
|
var CONTINUUM_DAO_DEPLOYMENTS = {
|
|
10070
10076
|
[CONTINUUM_DAO_LINEA_CHAIN_ID]: {
|
|
10071
10077
|
...UNSET,
|