UNPKG

@etherspot/contracts

Version:

Etherspot Solidity contracts

48 lines (47 loc) 1.17 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.IWETH__factory = void 0; const ethers_1 = require("ethers"); 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", }, ]; class IWETH__factory { static createInterface() { return new ethers_1.utils.Interface(_abi); } static connect(address, signerOrProvider) { return new ethers_1.Contract(address, _abi, signerOrProvider); } } exports.IWETH__factory = IWETH__factory; IWETH__factory.abi = _abi;