UNPKG

@d8x/perpetuals-sdk

Version:

Node TypeScript SDK for D8X Perpetual Futures

132 lines (128 loc) 2.51 kB
/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import { Contract, Interface, type ContractRunner } from "ethers"; import type { LimitOrderBookBeacon, LimitOrderBookBeaconInterface, } from "../LimitOrderBookBeacon"; const _abi = [ { inputs: [ { internalType: "address", name: "_implementation", type: "address", }, ], stateMutability: "nonpayable", type: "constructor", }, { 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: "blueprint", outputs: [ { internalType: "address", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, { 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", }, { inputs: [ { internalType: "address", name: "_newBlueprint", type: "address", }, ], name: "update", outputs: [], stateMutability: "nonpayable", type: "function", }, ] as const; export class LimitOrderBookBeacon__factory { static readonly abi = _abi; static createInterface(): LimitOrderBookBeaconInterface { return new Interface(_abi) as LimitOrderBookBeaconInterface; } static connect( address: string, runner?: ContractRunner | null ): LimitOrderBookBeacon { return new Contract( address, _abi, runner ) as unknown as LimitOrderBookBeacon; } }