UNPKG

ufomarketplace-sdk-new

Version:

SDK to interact with set ufo marketplace contracts

51 lines (47 loc) 1.18 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 { IPlasmaCounter, IPlasmaCounterInterface, } from "../IPlasmaCounter"; const _abi = [ { type: "function", name: "getAllocationFraction", inputs: [ { name: "_stakingContract", type: "address", internalType: "address", }, ], outputs: [ { name: "num", type: "uint256", internalType: "uint256", }, { name: "den", type: "uint256", internalType: "uint256", }, ], stateMutability: "view", }, ] as const; export class IPlasmaCounter__factory { static readonly abi = _abi; static createInterface(): IPlasmaCounterInterface { return new utils.Interface(_abi) as IPlasmaCounterInterface; } static connect( address: string, signerOrProvider: Signer | Provider ): IPlasmaCounter { return new Contract(address, _abi, signerOrProvider) as IPlasmaCounter; } }