UNPKG

ufomarketplace-sdk-new

Version:

SDK to interact with set ufo marketplace contracts

42 lines (38 loc) 1.01 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 { IEscrow, IEscrowInterface } from "../../Escrow.sol/IEscrow"; const _abi = [ { type: "function", name: "transferUAP", inputs: [ { name: "receiver", type: "address", internalType: "address", }, { name: "amount", type: "uint256", internalType: "uint256", }, ], outputs: [], stateMutability: "nonpayable", }, ] as const; export class IEscrow__factory { static readonly abi = _abi; static createInterface(): IEscrowInterface { return new utils.Interface(_abi) as IEscrowInterface; } static connect( address: string, signerOrProvider: Signer | Provider ): IEscrow { return new Contract(address, _abi, signerOrProvider) as IEscrow; } }