randomness-js
Version:
A library for consuming, verifying and using randomness from the dcipher network
49 lines (45 loc) • 1.04 kB
text/typescript
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import { Contract, Interface, type ContractRunner } from "ethers";
import type {
ContextUpgradeable,
ContextUpgradeableInterface,
} from "../ContextUpgradeable";
const _abi = [
{
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 ContextUpgradeable__factory {
static readonly abi = _abi;
static createInterface(): ContextUpgradeableInterface {
return new Interface(_abi) as ContextUpgradeableInterface;
}
static connect(
address: string,
runner?: ContractRunner | null
): ContextUpgradeable {
return new Contract(address, _abi, runner) as unknown as ContextUpgradeable;
}
}