ERC20_ABI: readonly [
{
inputs: readonly [{ name: "account"; type: "address" }];
name: "balanceOf";
outputs: readonly [{ name: ""; type: "uint256" }];
stateMutability: "view";
type: "function";
},
{
inputs: readonly [
{ name: "to"; type: "address" },
{ name: "amount"; type: "uint256" },
];
name: "transfer";
outputs: readonly [{ name: ""; type: "bool" }];
stateMutability: "nonpayable";
type: "function";
},
{
inputs: readonly [
{ name: "from"; type: "address" },
{ name: "to"; type: "address" },
{ name: "amount"; type: "uint256" },
];
name: "transferFrom";
outputs: readonly [{ name: ""; type: "bool" }];
stateMutability: "nonpayable";
type: "function";
},
{
inputs: readonly [
{ name: "spender"; type: "address" },
{ name: "amount"; type: "uint256" },
];
name: "approve";
outputs: readonly [{ name: ""; type: "bool" }];
stateMutability: "nonpayable";
type: "function";
},
{
inputs: readonly [
{ name: "owner"; type: "address" },
{ name: "spender"; type: "address" },
];
name: "allowance";
outputs: readonly [{ name: ""; type: "uint256" }];
stateMutability: "view";
type: "function";
},
{
inputs: readonly [];
name: "decimals";
outputs: readonly [{ name: ""; type: "uint8" }];
stateMutability: "view";
type: "function";
},
{
inputs: readonly [];
name: "symbol";
outputs: readonly [{ name: ""; type: "string" }];
stateMutability: "view";
type: "function";
},
] = ...
ERC-20 ABI for token interactions (minimal)