randomness-js
Version:
A library for consuming, verifying and using randomness from the dcipher network
68 lines (64 loc) • 1.36 kB
text/typescript
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import { Contract, Interface, type ContractRunner } from "ethers";
import type {
ERC165Upgradeable,
ERC165UpgradeableInterface,
} from "../ERC165Upgradeable";
const _abi = [
{
type: "function",
name: "supportsInterface",
inputs: [
{
name: "interfaceId",
type: "bytes4",
internalType: "bytes4",
},
],
outputs: [
{
name: "",
type: "bool",
internalType: "bool",
},
],
stateMutability: "view",
},
{
type: "event",
name: "Initialized",
inputs: [
{
name: "version",
type: "uint64",
indexed: false,
internalType: "uint64",
},
],
anonymous: false,
},
{
type: "error",
name: "InvalidInitialization",
inputs: [],
},
{
type: "error",
name: "NotInitializing",
inputs: [],
},
] as const;
export class ERC165Upgradeable__factory {
static readonly abi = _abi;
static createInterface(): ERC165UpgradeableInterface {
return new Interface(_abi) as ERC165UpgradeableInterface;
}
static connect(
address: string,
runner?: ContractRunner | null
): ERC165Upgradeable {
return new Contract(address, _abi, runner) as unknown as ERC165Upgradeable;
}
}