@continuumdao/ctm-mpc-defi 0.2.52 → 0.2.53
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 +11 -8
- package/dist/agent/catalog.cjs.map +1 -1
- package/dist/agent/catalog.js +11 -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 +10 -4
- package/dist/protocols/evm/continuum-dao/index.cjs.map +1 -1
- package/dist/protocols/evm/continuum-dao/index.d.ts +1 -1
- package/dist/protocols/evm/continuum-dao/index.js +10 -4
- package/dist/protocols/evm/continuum-dao/index.js.map +1 -1
- package/package.json +1 -1
package/dist/agent/catalog.cjs
CHANGED
|
@@ -573,7 +573,7 @@ function listContinuumDaoDefaultAssets() {
|
|
|
573
573
|
}
|
|
574
574
|
return out;
|
|
575
575
|
}
|
|
576
|
-
var CONTINUUM_DAO_PROTOCOL_ID, CONTINUUM_DAO_ETHEREUM_CHAIN_ID, CONTINUUM_DAO_LINEA_CHAIN_ID, CONTINUUM_DAO_LINEA_SEPOLIA_CHAIN_ID, CTM_TOKEN_NAME, CTM_TOKEN_SYMBOL, VECTM_TOKEN_NAME, VECTM_TOKEN_SYMBOL, CTM_TOKEN_DECIMALS, UNSET, CTM_TOKEN_ADDRESS, VOTING_ESCROW_LINEA_ADDRESS, VOTING_ESCROW_MARKETPLACE_LINEA_ADDRESS, CONTINUUM_DAO_MARKETPLACE_PROTOCOL_ID, CONTINUUM_DAO_DEPLOYMENTS;
|
|
576
|
+
var CONTINUUM_DAO_PROTOCOL_ID, CONTINUUM_DAO_ETHEREUM_CHAIN_ID, CONTINUUM_DAO_LINEA_CHAIN_ID, CONTINUUM_DAO_LINEA_SEPOLIA_CHAIN_ID, CTM_TOKEN_NAME, CTM_TOKEN_SYMBOL, VECTM_TOKEN_NAME, VECTM_TOKEN_SYMBOL, CTM_TOKEN_DECIMALS, UNSET, CTM_TOKEN_ADDRESS, VOTING_ESCROW_LINEA_ADDRESS, VOTING_ESCROW_MARKETPLACE_LINEA_ADDRESS, CONTINUUM_DAO_MARKETPLACE_PROTOCOL_ID, CONTINUUM_DAO_LINEA_GOVERNOR_ADDRESS, CONTINUUM_DAO_DEPLOYMENTS;
|
|
577
577
|
var init_constants2 = __esm({
|
|
578
578
|
"src/protocols/evm/continuum-dao/constants.ts"() {
|
|
579
579
|
CONTINUUM_DAO_PROTOCOL_ID = "continuum-dao";
|
|
@@ -599,7 +599,7 @@ var init_constants2 = __esm({
|
|
|
599
599
|
viem.getAddress("0xe5D7C2a44FfDDf6b295A15c148167daaAf5Cf34f");
|
|
600
600
|
viem.getAddress("0x176211869cA2b568f2A7D4EE941E073a821EE1ff");
|
|
601
601
|
CONTINUUM_DAO_MARKETPLACE_PROTOCOL_ID = "continuum-dao-marketplace";
|
|
602
|
-
viem.getAddress("0x76FF2CB03175900F1D83328C82D27EA9aeaF2355");
|
|
602
|
+
CONTINUUM_DAO_LINEA_GOVERNOR_ADDRESS = viem.getAddress("0x76FF2CB03175900F1D83328C82D27EA9aeaF2355");
|
|
603
603
|
viem.getAddress("0x4800F9f1dC1b6daCA841B71E0531F547D374168E");
|
|
604
604
|
[
|
|
605
605
|
viem.getAddress("0xd23eecBe0362F36b254F774C274823Cbfc482a10"),
|
|
@@ -610,7 +610,8 @@ var init_constants2 = __esm({
|
|
|
610
610
|
[CONTINUUM_DAO_LINEA_CHAIN_ID]: {
|
|
611
611
|
...UNSET,
|
|
612
612
|
ctm: CTM_TOKEN_ADDRESS,
|
|
613
|
-
votingEscrow: VOTING_ESCROW_LINEA_ADDRESS
|
|
613
|
+
votingEscrow: VOTING_ESCROW_LINEA_ADDRESS,
|
|
614
|
+
governor: CONTINUUM_DAO_LINEA_GOVERNOR_ADDRESS
|
|
614
615
|
},
|
|
615
616
|
[CONTINUUM_DAO_LINEA_SEPOLIA_CHAIN_ID]: { ...UNSET },
|
|
616
617
|
[CONTINUUM_DAO_ETHEREUM_CHAIN_ID]: {
|
|
@@ -4021,12 +4022,14 @@ var mcpContinuumDaoForumSignInEligibleOutputSchema = zod.z.object({
|
|
|
4021
4022
|
tokenId: zod.z.string().optional()
|
|
4022
4023
|
});
|
|
4023
4024
|
var mcpContinuumDaoForumSignInInputSchema = mcpMultisignInput({
|
|
4024
|
-
nodeKey: zod.z.string().optional().describe(
|
|
4025
|
+
nodeKey: zod.z.string().optional().describe(
|
|
4026
|
+
"Node key bound to this KeyGen. Always required on KeyGen forum sign-in, including when username is a custom name. The server fills it from this node when omitted. useNodeKeyUsername does not replace it."
|
|
4027
|
+
),
|
|
4025
4028
|
username: zod.z.string().min(2).max(16).regex(/^[A-Za-z0-9._-]+$/).optional().describe(
|
|
4026
4029
|
"Custom forum username for a wallet or a KeyGen. Ask the operator before calling. 2\u201316 letters, numbers, . _ -."
|
|
4027
4030
|
),
|
|
4028
4031
|
useNodeKeyUsername: zod.z.boolean().optional().describe(
|
|
4029
|
-
"Set true only after the operator declines a custom username. The forum assigns the first 16 characters of nodeKey."
|
|
4032
|
+
"Set true only after the operator declines a custom username. The forum assigns the first 16 characters of nodeKey as the username. Still pass nodeKey."
|
|
4030
4033
|
),
|
|
4031
4034
|
forumUrl: zod.z.string().optional()
|
|
4032
4035
|
});
|
|
@@ -7180,11 +7183,11 @@ var MCP_PROTOCOL_TOOL_DEFINITIONS = [
|
|
|
7180
7183
|
actionId: "continuum-dao.forum-sign-in",
|
|
7181
7184
|
protocolId: "continuum-dao",
|
|
7182
7185
|
chainCategory: "evm",
|
|
7183
|
-
description: "Build an EIP-712 forum login multi-sign (no EVM tx). Refuses when this node already has a live forum session for the KeyGen (getForumSession plus forum_me loggedIn) and returns that ticket instead of creating a sign request. Checks current balanceOfNFT on an owned or attached veCTM against MultiSignAgentWallet.veCtmThresholdPower and refuses if that power is short, so other nodes never enter the sign loop. Ask the operator for a custom username (2\u201316 letters, numbers, . _ -) and pass it as username. If they decline, set useNodeKeyUsername true
|
|
7186
|
+
description: "Build an EIP-712 forum login multi-sign (no EVM tx). Refuses when this node already has a live forum session for the KeyGen (getForumSession plus forum_me loggedIn) and returns that ticket instead of creating a sign request. Checks current balanceOfNFT on an owned or attached veCTM against MultiSignAgentWallet.veCtmThresholdPower and refuses if that power is short, so other nodes never enter the sign loop. Always include nodeKey from this node; a custom username does not omit it. Ask the operator for a custom username (2\u201316 letters, numbers, . _ -) and pass it as username. If they decline, set useNodeKeyUsername true; the forum assigns the first 16 characters of the node key as the username. After Get Sig, node-app stores the ticket on the node. The forum stores the verified node key on that user, including when the user already exists, which is what allows MPA Wallet Chat.",
|
|
7184
7187
|
prerequisites: [
|
|
7185
7188
|
"keyGen",
|
|
7186
7189
|
"current balanceOfNFT on an owned or attached veCTM at or above MultiSignAgentWallet.veCtmThresholdPower",
|
|
7187
|
-
"username from the operator
|
|
7190
|
+
"nodeKey from this node, plus username from the operator or useNodeKeyUsername"
|
|
7188
7191
|
],
|
|
7189
7192
|
followUp: [...MCP_MULTISIGN_SUBMIT_FOLLOW_UP, "ctm_continuum_dao_forum_me"],
|
|
7190
7193
|
handler: { importPath: "protocols/evm/continuum-dao", exportName: "buildEvmMultisignBodyContinuumDaoForumSignIn" },
|
|
@@ -9667,7 +9670,7 @@ var CORE_MCP_TOOL_DEFINITIONS = [
|
|
|
9667
9670
|
actionId: "continuum-dao.forum-me",
|
|
9668
9671
|
protocolId: "continuum-dao",
|
|
9669
9672
|
chainCategory: "evm",
|
|
9670
|
-
description: "Current forum user, votes, canPropose (Governance), canPostIdea (Ideas), and canPostMpa (MPA Wallet Chat listings / mailbox).",
|
|
9673
|
+
description: "Current forum user, votes, canPropose (Governance), canPostIdea (Ideas), and canPostMpa (MPA Wallet Chat listings / mailbox). canPropose is governor getVotes(address, clock-1) >= proposalThreshold(). Null votes means that read failed \u2014 do not say the KeyGen has no veCTM. Attachment is get_ve_ctm_attach_status, not this flag.",
|
|
9671
9674
|
prerequisites: [],
|
|
9672
9675
|
followUp: [
|
|
9673
9676
|
"ctm_continuum_dao_forum_unread",
|