UNPKG

ufomarketplace-sdk-new

Version:

SDK to interact with set ufo marketplace contracts

86 lines (82 loc) 1.84 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 { EIP712SuperGalaticFactory, EIP712SuperGalaticFactoryInterface, } from "../EIP712SuperGalaticFactory"; const _abi = [ { type: "function", name: "backendSigner", inputs: [], outputs: [ { name: "", type: "address", internalType: "address", }, ], stateMutability: "view", }, { type: "function", name: "concatSignature", inputs: [ { name: "v", type: "uint8", internalType: "uint8", }, { name: "r", type: "bytes32", internalType: "bytes32", }, { name: "s", type: "bytes32", internalType: "bytes32", }, ], outputs: [ { name: "", type: "bytes", internalType: "bytes", }, ], stateMutability: "pure", }, { type: "function", name: "setBackendSigner", inputs: [ { name: "_bkSigner", type: "address", internalType: "address", }, ], outputs: [], stateMutability: "nonpayable", }, ] as const; export class EIP712SuperGalaticFactory__factory { static readonly abi = _abi; static createInterface(): EIP712SuperGalaticFactoryInterface { return new utils.Interface(_abi) as EIP712SuperGalaticFactoryInterface; } static connect( address: string, signerOrProvider: Signer | Provider ): EIP712SuperGalaticFactory { return new Contract( address, _abi, signerOrProvider ) as EIP712SuperGalaticFactory; } }