UNPKG

raiden-ts

Version:

Raiden Light Client Typescript/Javascript SDK

239 lines (235 loc) 4.46 kB
/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import { Contract, Signer, utils } from "ethers"; import type { Provider } from "@ethersproject/providers"; import type { StandardToken, StandardTokenInterface } from "../StandardToken"; const _abi = [ { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_owner", type: "address", }, { indexed: true, internalType: "address", name: "_spender", type: "address", }, { indexed: false, internalType: "uint256", name: "_value", 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: "_value", type: "uint256", }, ], name: "Transfer", type: "event", }, { inputs: [ { internalType: "address", name: "_owner", type: "address", }, { internalType: "address", name: "_spender", type: "address", }, ], name: "allowance", outputs: [ { internalType: "uint256", name: "remaining", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address", name: "_spender", type: "address", }, { internalType: "uint256", name: "_value", type: "uint256", }, ], name: "approve", outputs: [ { internalType: "bool", name: "success", type: "bool", }, ], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "_owner", type: "address", }, ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "balance", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address", name: "", type: "address", }, ], name: "balances", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "decimals", outputs: [ { internalType: "uint8", name: "decimals", type: "uint8", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "totalSupply", outputs: [ { internalType: "uint256", name: "supply", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address", name: "_to", type: "address", }, { internalType: "uint256", name: "_value", type: "uint256", }, ], name: "transfer", outputs: [ { internalType: "bool", name: "success", type: "bool", }, ], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "_from", type: "address", }, { internalType: "address", name: "_to", type: "address", }, { internalType: "uint256", name: "_value", type: "uint256", }, ], name: "transferFrom", outputs: [ { internalType: "bool", name: "success", type: "bool", }, ], stateMutability: "nonpayable", type: "function", }, ]; export class StandardToken__factory { static readonly abi = _abi; static createInterface(): StandardTokenInterface { return new utils.Interface(_abi) as StandardTokenInterface; } static connect( address: string, signerOrProvider: Signer | Provider ): StandardToken { return new Contract(address, _abi, signerOrProvider) as StandardToken; } }