/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ // @ts-nocheck import { newContract, newInterface } from "@sentio/sdk/eth"; import { Contract, Signer, Provider, Interface } from "ethers"; import type { ERC20Bytes, ERC20BytesInterface } from "../ERC20Bytes.js"; const _abi = [ { constant: true, inputs: [], name: "name", outputs: [ { name: "", type: "bytes32", }, ], payable: false, stateMutability: "view", type: "function", }, { constant: false, inputs: [ { name: "spender", type: "address", }, { name: "value", type: "uint256", }, ], name: "approve", outputs: [ { name: "", type: "bool", }, ], payable: false, stateMutability: "nonpayable", type: "function", }, { constant: true, inputs: [], name: "totalSupply", outputs: [ { name: "", type: "uint256", }, ], payable: false, stateMutability: "view", type: "function", }, { constant: false, inputs: [ { name: "from", type: "address", }, { name: "to", type: "address", }, { name: "value", type: "uint256", }, ], name: "transferFrom", outputs: [ { name: "", type: "bool", }, ], payable: false, stateMutability: "nonpayable", type: "function", }, { constant: true, inputs: [], name: "decimals", outputs: [ { name: "", type: "uint8", }, ], payable: false, stateMutability: "view", type: "function", }, { constant: true, inputs: [ { name: "who", type: "address", }, ], name: "balanceOf", outputs: [ { name: "", type: "uint256", }, ], payable: false, stateMutability: "view", type: "function", }, { constant: true, inputs: [], name: "symbol", outputs: [ { name: "", type: "bytes32", }, ], payable: false, stateMutability: "view", type: "function", }, { constant: false, inputs: [ { name: "to", type: "address", }, { name: "value", type: "uint256", }, ], name: "transfer", outputs: [ { name: "", type: "bool", }, ], payable: false, stateMutability: "nonpayable", type: "function", }, { constant: true, inputs: [ { name: "owner", type: "address", }, { name: "spender", type: "address", }, ], name: "allowance", outputs: [ { name: "", type: "uint256", }, ], payable: false, stateMutability: "view", type: "function", }, { inputs: [ { name: "_name", type: "string", }, { name: "_symbol", type: "string", }, { name: "_decimals", type: "uint8", }, ], payable: false, stateMutability: "nonpayable", type: "constructor", }, { anonymous: false, inputs: [ { indexed: true, name: "owner", type: "address", }, { indexed: true, name: "spender", type: "address", }, { indexed: false, name: "value", type: "uint256", }, ], name: "Approval", type: "event", }, { anonymous: false, inputs: [ { indexed: true, name: "from", type: "address", }, { indexed: true, name: "to", type: "address", }, { indexed: false, name: "value", type: "uint256", }, ], name: "Transfer", type: "event", }, ] as const; export class ERC20Bytes__factory { static readonly abi = _abi; static createInterface(): ERC20BytesInterface { return newInterface(_abi) as ERC20BytesInterface; } static connect( address: string, signerOrProvider: Signer | Provider, ): ERC20Bytes { return newContract(address, _abi, signerOrProvider) as ERC20Bytes; } }