UNPKG

cotiv2-mcp

Version:

> A plug-and-play MCP tool server to **send COTI**, **transfer BEP-20 tokens**, **deploy tokens**, and **interact with smart contracts** on the **COTI v2 Network (COTI)** — built for **Claude Desktop**, **AI agents**, and **developers.**

448 lines (447 loc) 11.2 kB
export const portfolioTokenFactoryAbi = [ { inputs: [ { internalType: "address", name: "standardImpl", type: "address", }, { internalType: "address", name: "privacyImpl", type: "address", }, ], stateMutability: "nonpayable", type: "constructor", }, { inputs: [], name: "AccessControlBadConfirmation", type: "error", }, { inputs: [ { internalType: "address", name: "account", type: "address", }, { internalType: "bytes32", name: "neededRole", type: "bytes32", }, ], name: "AccessControlUnauthorizedAccount", type: "error", }, { inputs: [], name: "FailedDeployment", type: "error", }, { inputs: [ { internalType: "uint256", name: "balance", type: "uint256", }, { internalType: "uint256", name: "needed", type: "uint256", }, ], name: "InsufficientBalance", type: "error", }, { anonymous: false, inputs: [ { indexed: true, internalType: "bytes32", name: "role", type: "bytes32", }, { indexed: true, internalType: "bytes32", name: "previousAdminRole", type: "bytes32", }, { indexed: true, internalType: "bytes32", name: "newAdminRole", type: "bytes32", }, ], name: "RoleAdminChanged", type: "event", }, { anonymous: false, inputs: [ { indexed: true, internalType: "bytes32", name: "role", type: "bytes32", }, { indexed: true, internalType: "address", name: "account", type: "address", }, { indexed: true, internalType: "address", name: "sender", type: "address", }, ], name: "RoleGranted", type: "event", }, { anonymous: false, inputs: [ { indexed: true, internalType: "bytes32", name: "role", type: "bytes32", }, { indexed: true, internalType: "address", name: "account", type: "address", }, { indexed: true, internalType: "address", name: "sender", type: "address", }, ], name: "RoleRevoked", type: "event", }, { anonymous: false, inputs: [ { indexed: true, internalType: "bool", name: "isPrivate", type: "bool", }, { indexed: true, internalType: "address", name: "owner", type: "address", }, { indexed: false, internalType: "address", name: "newToken", type: "address", }, { indexed: false, internalType: "string", name: "name", type: "string", }, { indexed: false, internalType: "string", name: "symbol", type: "string", }, { indexed: false, internalType: "uint256", name: "maxSupply", type: "uint256", }, ], name: "TokenDeployed", type: "event", }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "string", name: "name", type: "string", }, { internalType: "string", name: "symbol", type: "string", }, { components: [ { internalType: "ctUint64", name: "ciphertext", type: "uint256", }, { internalType: "bytes", name: "signature", type: "bytes", }, ], internalType: "struct itUint64", name: "initialSupply", type: "tuple", }, { components: [ { internalType: "ctUint64", name: "ciphertext", type: "uint256", }, { internalType: "bytes", name: "signature", type: "bytes", }, ], internalType: "struct itUint64", name: "maxSupply", type: "tuple", }, { components: [ { internalType: "ctUint64", name: "ciphertext", type: "uint256", }, { internalType: "bytes", name: "signature", type: "bytes", }, ], internalType: "struct itUint64", name: "amountPerMint", type: "tuple", }, ], name: "createPrivacyToken", outputs: [ { internalType: "address", name: "", type: "address", }, ], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "string", name: "name", type: "string", }, { internalType: "string", name: "symbol", type: "string", }, { internalType: "uint256", name: "initialSupply", type: "uint256", }, { internalType: "uint256", name: "maxSupply", type: "uint256", }, { internalType: "uint256", name: "amountPerMint", type: "uint256", }, ], name: "createStandardToken", outputs: [ { internalType: "address", name: "", type: "address", }, ], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32", }, ], name: "getRoleAdmin", outputs: [ { internalType: "bytes32", name: "", type: "bytes32", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32", }, { internalType: "address", name: "account", type: "address", }, ], name: "grantRole", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32", }, { internalType: "address", name: "account", type: "address", }, ], name: "hasRole", outputs: [ { internalType: "bool", name: "", type: "bool", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32", }, { internalType: "address", name: "callerConfirmation", type: "address", }, ], name: "renounceRole", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32", }, { internalType: "address", name: "account", type: "address", }, ], name: "revokeRole", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "privacyImpl_", type: "address", }, ], name: "setPrivacyImpl", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "standardImpl_", type: "address", }, ], name: "setStandardImpl", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "bytes4", name: "interfaceId", type: "bytes4", }, ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "", type: "bool", }, ], stateMutability: "view", type: "function", }, ];