@etherspot/contracts
Version:
Etherspot Solidity contracts
92 lines (88 loc) • 1.86 kB
text/typescript
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import { Contract, Signer, utils } from "ethers";
import { Provider } from "@ethersproject/providers";
import type {
OwnableUpgradeable,
OwnableUpgradeableInterface,
} from "../OwnableUpgradeable";
const _abi = [
{
anonymous: false,
inputs: [
{
indexed: false,
internalType: "uint8",
name: "version",
type: "uint8",
},
],
name: "Initialized",
type: "event",
},
{
anonymous: false,
inputs: [
{
indexed: true,
internalType: "address",
name: "previousOwner",
type: "address",
},
{
indexed: true,
internalType: "address",
name: "newOwner",
type: "address",
},
],
name: "OwnershipTransferred",
type: "event",
},
{
inputs: [],
name: "owner",
outputs: [
{
internalType: "address",
name: "",
type: "address",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [],
name: "renounceOwnership",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [
{
internalType: "address",
name: "newOwner",
type: "address",
},
],
name: "transferOwnership",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
];
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;
}
}