Skip to main content
Glama
abi.ts2.15 kB
export const STANDARD_ERC20_ABI: string[] = [ // ERC20 Standard Interface with correct constructor "constructor(string name, string symbol, uint256 initialSupply, uint8 decimals_)", "function name() view returns (string)", "function symbol() view returns (string)", "function decimals() view returns (uint8)", "function totalSupply() view returns (uint256)", "function balanceOf(address owner) view returns (uint256)", "function allowance(address owner, address spender) view returns (uint256)", "function transfer(address to, uint256 amount) returns (bool)", "function approve(address spender, uint256 amount) returns (bool)", "function transferFrom(address from, address to, uint256 amount) returns (bool)", "event Transfer(address indexed from, address indexed to, uint256 value)", "event Approval(address indexed owner, address indexed spender, uint256 value)" ]; export const MINTABLE_ERC20_ABI: string[] = [ // Mintable ERC20 Interface with correct constructor "constructor(string name, string symbol, uint256 initialSupply, uint8 decimals_)", "function name() view returns (string)", "function symbol() view returns (string)", "function decimals() view returns (uint8)", "function totalSupply() view returns (uint256)", "function balanceOf(address owner) view returns (uint256)", "function allowance(address owner, address spender) view returns (uint256)", "function transfer(address to, uint256 amount) returns (bool)", "function approve(address spender, uint256 amount) returns (bool)", "function transferFrom(address from, address to, uint256 amount) returns (bool)", "function mint(address to, uint256 amount)", "function burn(uint256 amount)", "function burnFrom(address account, uint256 amount)", "function owner() view returns (address)", "function renounceOwnership()", "function transferOwnership(address newOwner)", "event Transfer(address indexed from, address indexed to, uint256 value)", "event Approval(address indexed owner, address indexed spender, uint256 value)", "event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)" ];

Latest Blog Posts

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/cuongpo/hyperion-mcp-server'

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