UNPKG

@d8x/perpetuals-sdk

Version:

Node TypeScript SDK for D8X Perpetual Futures

254 lines 6.16 kB
"use strict"; /* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ Object.defineProperty(exports, "__esModule", { value: true }); exports.LimitOrderBookFactory__factory = void 0; const ethers_1 = require("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", }, ]; class LimitOrderBookFactory__factory { static createInterface() { return new ethers_1.Interface(_abi); } static connect(address, runner) { return new ethers_1.Contract(address, _abi, runner); } } exports.LimitOrderBookFactory__factory = LimitOrderBookFactory__factory; LimitOrderBookFactory__factory.abi = _abi; //# sourceMappingURL=LimitOrderBookFactory__factory.js.map