UNPKG

kiban-agent-kit

Version:

Open-source framework connecting AI agents to Katana ecosystem protocols

73 lines (72 loc) 1.87 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ERC20_ABI = void 0; exports.ERC20_ABI = [ // Read methods { inputs: [], name: "name", outputs: [{ type: "string", name: "" }], stateMutability: "view", type: "function", }, { inputs: [], name: "symbol", outputs: [{ type: "string", name: "" }], stateMutability: "view", type: "function", }, { inputs: [], name: "decimals", outputs: [{ type: "uint8", name: "" }], stateMutability: "view", type: "function", }, { inputs: [], name: "totalSupply", outputs: [{ type: "uint256", name: "" }], stateMutability: "view", type: "function", }, { inputs: [{ type: "address", name: "account" }], name: "balanceOf", outputs: [{ type: "uint256", name: "" }], stateMutability: "view", type: "function", }, { inputs: [ { type: "address", name: "owner" }, { type: "address", name: "spender" }, ], name: "allowance", outputs: [{ type: "uint256", name: "" }], stateMutability: "view", type: "function", }, // Write methods { inputs: [ { type: "address", name: "to" }, { type: "uint256", name: "amount" }, ], name: "transfer", outputs: [{ type: "bool", name: "" }], stateMutability: "nonpayable", type: "function", }, { inputs: [ { type: "address", name: "spender" }, { type: "uint256", name: "amount" }, ], name: "approve", outputs: [{ type: "bool", name: "" }], stateMutability: "nonpayable", type: "function", }, ];