ufomarketplace-sdk-new
Version:
SDK to interact with set ufo marketplace contracts
92 lines (88 loc) • 1.96 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 {
OwnableUpgradeable,
OwnableUpgradeableInterface,
} from "../OwnableUpgradeable";
const _abi = [
{
type: "function",
name: "owner",
inputs: [],
outputs: [
{
name: "",
type: "address",
internalType: "address",
},
],
stateMutability: "view",
},
{
type: "function",
name: "renounceOwnership",
inputs: [],
outputs: [],
stateMutability: "nonpayable",
},
{
type: "function",
name: "transferOwnership",
inputs: [
{
name: "newOwner",
type: "address",
internalType: "address",
},
],
outputs: [],
stateMutability: "nonpayable",
},
{
type: "event",
name: "Initialized",
inputs: [
{
name: "version",
type: "uint8",
indexed: false,
internalType: "uint8",
},
],
anonymous: false,
},
{
type: "event",
name: "OwnershipTransferred",
inputs: [
{
name: "previousOwner",
type: "address",
indexed: true,
internalType: "address",
},
{
name: "newOwner",
type: "address",
indexed: true,
internalType: "address",
},
],
anonymous: false,
},
] as const;
export class OwnableUpgradeable__factory {
static readonly abi = _abi;
static createInterface(): OwnableUpgradeableInterface {
return new utils.Interface(_abi) as OwnableUpgradeableInterface;
}
static connect(
address: string,
signerOrProvider: Signer | Provider
): OwnableUpgradeable {
return new Contract(address, _abi, signerOrProvider) as OwnableUpgradeable;
}
}