UNPKG

@d8x/perpetuals-sdk

Version:

Node TypeScript SDK for D8X Perpetual Futures

250 lines 5.96 kB
/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import { Contract, Interface } from "ethers"; 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", }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint24", name: "perpetualId", type: "uint24", }, { indexed: false, internalType: "address", name: "perpManagerAddress", type: "address", }, { indexed: false, internalType: "address", name: "limitOrderBookAddress", type: "address", }, ], name: "PerpetualLimitOrderBookDeployed", type: "event", }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint24", name: "perpetualId", type: "uint24", }, { indexed: false, internalType: "uint32", name: "gasLimit", type: "uint32", }, ], name: "SetCallbackGasLimit", type: "event", }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "executor", type: "address", }, { indexed: false, internalType: "bool", name: "authorized", type: "bool", }, ], name: "SetExecutor", type: "event", }, { inputs: [ { internalType: "address", name: "_executor", type: "address", }, ], name: "addExecutor", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "", type: "address", }, ], name: "approvedExecutor", outputs: [ { internalType: "bool", name: "", type: "bool", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address", name: "_perpetualManagerAddr", type: "address", }, { internalType: "uint24", name: "_perpetualId", type: "uint24", }, ], name: "deployLimitOrderBookProxy", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [], name: "getBeacon", outputs: [ { internalType: "address", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "getImplementation", outputs: [ { internalType: "address", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "uint24", name: "", type: "uint24", }, ], name: "orderBooks", outputs: [ { internalType: "address", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address", name: "_executor", type: "address", }, ], name: "removeExecutor", outputs: [], stateMutability: "nonpayable", 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 LimitOrderBookFactory__factory { static createInterface() { return new Interface(_abi); } static connect(address, runner) { return new Contract(address, _abi, runner); } } LimitOrderBookFactory__factory.abi = _abi; //# sourceMappingURL=LimitOrderBookFactory__factory.js.map