UNPKG

niftyswap

Version:

AMM exchange for ERC-1155 tokens, inspired by Uniswap

69 lines (64 loc) 1.34 kB
/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import { Contract, Signer } from "ethers"; import { Provider } from "@ethersproject/providers"; import type { IERC1271Wallet } from "../IERC1271Wallet"; export class IERC1271Wallet__factory { static connect( address: string, signerOrProvider: Signer | Provider ): IERC1271Wallet { return new Contract(address, _abi, signerOrProvider) as IERC1271Wallet; } } const _abi = [ { inputs: [ { internalType: "bytes32", name: "_hash", type: "bytes32", }, { internalType: "bytes", name: "_signature", type: "bytes", }, ], name: "isValidSignature", outputs: [ { internalType: "bytes4", name: "magicValue", type: "bytes4", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "bytes", name: "_data", type: "bytes", }, { internalType: "bytes", name: "_signature", type: "bytes", }, ], name: "isValidSignature", outputs: [ { internalType: "bytes4", name: "magicValue", type: "bytes4", }, ], stateMutability: "view", type: "function", }, ];