ufomarketplace-sdk-new
Version:
SDK to interact with set ufo marketplace contracts
42 lines (38 loc) • 1.02 kB
text/typescript
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import { Contract, Signer, utils } from "ethers";
import type { Provider } from "@ethersproject/providers";
import type { IRootToken, IRootTokenInterface } from "../IRootToken";
const _abi = [
{
type: "function",
name: "publicMint",
inputs: [
{
name: "user",
type: "address",
internalType: "address",
},
{
name: "amount",
type: "uint256",
internalType: "uint256",
},
],
outputs: [],
stateMutability: "nonpayable",
},
] as const;
export class IRootToken__factory {
static readonly abi = _abi;
static createInterface(): IRootTokenInterface {
return new utils.Interface(_abi) as IRootTokenInterface;
}
static connect(
address: string,
signerOrProvider: Signer | Provider
): IRootToken {
return new Contract(address, _abi, signerOrProvider) as IRootToken;
}
}