UNPKG

ufomarketplace-sdk-new

Version:

SDK to interact with set ufo marketplace contracts

80 lines (76 loc) 1.74 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 { IFactoryHelper, IFactoryHelperInterface, } from "../../FactoryHelper.sol/IFactoryHelper"; const _abi = [ { type: "function", name: "getNftUAPCost", inputs: [ { name: "rarity", type: "uint256", internalType: "uint256", }, { name: "level", type: "uint256", internalType: "uint256", }, ], outputs: [ { name: "", type: "uint256", internalType: "uint256", }, ], stateMutability: "view", }, { type: "function", name: "getWeaponUAPCost", inputs: [ { name: "rarity", type: "uint256", internalType: "uint256", }, { name: "weaponType", type: "uint256", internalType: "uint256", }, { name: "level", type: "uint256", internalType: "uint256", }, ], outputs: [ { name: "", type: "uint256", internalType: "uint256", }, ], stateMutability: "view", }, ] as const; export class IFactoryHelper__factory { static readonly abi = _abi; static createInterface(): IFactoryHelperInterface { return new utils.Interface(_abi) as IFactoryHelperInterface; } static connect( address: string, signerOrProvider: Signer | Provider ): IFactoryHelper { return new Contract(address, _abi, signerOrProvider) as IFactoryHelper; } }