Skip to main content
Glama

agentek-eth

by NaniDAO
abis.ts7 kB
export const XNaniAbi = [ { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256", }, ], name: "Approval", type: "event", }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256", }, ], name: "Transfer", type: "event", }, { inputs: [], name: "NANI", outputs: [{ internalType: "address", name: "", type: "address" }], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "address", name: "", type: "address" }, ], name: "allowance", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" }, ], name: "approve", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "nonpayable", type: "function", }, { inputs: [{ internalType: "address", name: "", type: "address" }], name: "balanceOf", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function", }, { inputs: [], name: "decimals", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function", }, { inputs: [], name: "name", outputs: [{ internalType: "string", name: "", type: "string" }], stateMutability: "view", type: "function", }, { inputs: [{ internalType: "uint256", name: "amount", type: "uint256" }], name: "stake", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [{ internalType: "address", name: "user", type: "address" }], name: "stakedBalance", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function", }, { inputs: [], name: "symbol", outputs: [{ internalType: "string", name: "", type: "string" }], stateMutability: "view", type: "function", }, { inputs: [], name: "totalSupply", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "uint256", name: "", type: "uint256" }, ], name: "transfer", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "address", name: "", type: "address" }, { internalType: "uint256", name: "", type: "uint256" }, ], name: "transferFrom", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "nonpayable", type: "function", }, { inputs: [{ internalType: "uint256", name: "share", type: "uint256" }], name: "unstake", outputs: [], stateMutability: "nonpayable", type: "function", }, ] as const; export const SignalsAbi = [ { inputs: [], name: "AlreadyVoted", type: "error" }, { inputs: [], name: "InvalidProposal", type: "error" }, { inputs: [], name: "NoTokens", type: "error" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "id", type: "uint256" }, { indexed: false, internalType: "string", name: "content", type: "string", }, ], name: "ProposalCreated", type: "event", }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "id", type: "uint256" }, { indexed: false, internalType: "bool", name: "approve", type: "bool" }, { indexed: false, internalType: "uint96", name: "weight", type: "uint96", }, ], name: "VoteCast", type: "event", }, { inputs: [], name: "XNANI", outputs: [{ internalType: "address", name: "", type: "address" }], stateMutability: "view", type: "function", }, { inputs: [], name: "getLatestProposals", outputs: [ { components: [ { internalType: "address", name: "proposer", type: "address" }, { internalType: "uint96", name: "yes", type: "uint96" }, { internalType: "uint96", name: "no", type: "uint96" }, { internalType: "uint40", name: "created", type: "uint40" }, { internalType: "string", name: "content", type: "string" }, ], internalType: "struct xNANI_Signal_Voter.Vote[]", name: "latest", type: "tuple[]", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" }, { internalType: "address", name: "", type: "address" }, ], name: "hasVoted", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "view", type: "function", }, { inputs: [{ internalType: "uint256", name: "id", type: "uint256" }], name: "isPassing", outputs: [{ internalType: "bool", name: "", type: "bool" }], stateMutability: "view", type: "function", }, { inputs: [], name: "proposalCount", outputs: [{ internalType: "uint256", name: "", type: "uint256" }], stateMutability: "view", type: "function", }, { inputs: [{ internalType: "string", name: "content", type: "string" }], name: "propose", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "bool", name: "approve", type: "bool" }, ], name: "vote", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [{ internalType: "uint256", name: "", type: "uint256" }], name: "votes", outputs: [ { internalType: "address", name: "proposer", type: "address" }, { internalType: "uint96", name: "yes", type: "uint96" }, { internalType: "uint96", name: "no", type: "uint96" }, { internalType: "uint40", name: "created", type: "uint40" }, { internalType: "string", name: "content", type: "string" }, ], stateMutability: "view", type: "function", }, ] as const;

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/NaniDAO/agentek'

If you have feedback or need assistance with the MCP directory API, please join our Discord server