UNPKG

@ethsub/sol

Version:
68 lines (64 loc) 1.44 kB
/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import { Contract, Signer, utils } from "ethers"; import { Provider } from "@ethersproject/providers"; import type { IERCHandler, IERCHandlerInterface } from "../IERCHandler"; const _abi = [ { inputs: [ { internalType: "bytes32", name: "resourceID", type: "bytes32", }, { internalType: "address", name: "contractAddress", type: "address", }, ], name: "setResource", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "contractAddress", type: "address", }, ], name: "setBurnable", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "bytes", name: "data", type: "bytes", }, ], name: "withdraw", outputs: [], stateMutability: "nonpayable", type: "function", }, ]; export class IERCHandler__factory { static readonly abi = _abi; static createInterface(): IERCHandlerInterface { return new utils.Interface(_abi) as IERCHandlerInterface; } static connect( address: string, signerOrProvider: Signer | Provider ): IERCHandler { return new Contract(address, _abi, signerOrProvider) as IERCHandler; } }