@etherspot/contracts
Version:
Etherspot Solidity contracts
52 lines (48 loc) • 1.12 kB
text/typescript
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import { Contract, Signer, utils } from "ethers";
import { Provider } from "@ethersproject/providers";
import type { IWETH, IWETHInterface } from "../IWETH";
const _abi = [
{
inputs: [
{
internalType: "address",
name: "spender",
type: "address",
},
{
internalType: "uint256",
name: "amount",
type: "uint256",
},
],
name: "approve",
outputs: [
{
internalType: "bool",
name: "",
type: "bool",
},
],
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [],
name: "deposit",
outputs: [],
stateMutability: "payable",
type: "function",
},
];
export class IWETH__factory {
static readonly abi = _abi;
static createInterface(): IWETHInterface {
return new utils.Interface(_abi) as IWETHInterface;
}
static connect(address: string, signerOrProvider: Signer | Provider): IWETH {
return new Contract(address, _abi, signerOrProvider) as IWETH;
}
}