UNPKG

@q-dev/q-js-sdk

Version:

Typescript Library to interact with Q System Contracts

131 lines 3.1 kB
"use strict"; /* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ Object.defineProperty(exports, "__esModule", { value: true }); exports.SystemReserve__factory = void 0; const ethers_1 = require("ethers"); const _abi = [ { inputs: [], stateMutability: "nonpayable", type: "constructor", }, { inputs: [], name: "availableAmount", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "coolDownPhase", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "systemPaused", outputs: [ { internalType: "bool", name: "", type: "bool", }, ], stateMutability: "view", type: "function", }, { stateMutability: "payable", type: "receive", }, { inputs: [ { internalType: "address", name: "_registry", type: "address", }, { internalType: "string[]", name: "_keys", type: "string[]", }, ], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "bool", name: "_state", type: "bool", }, ], name: "setPauseState", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "uint256", name: "_amount", type: "uint256", }, ], name: "withdraw", outputs: [ { internalType: "bool", name: "", type: "bool", }, ], stateMutability: "nonpayable", type: "function", }, { inputs: [], name: "getEligibleContractKeys", outputs: [ { internalType: "string[]", name: "", type: "string[]", }, ], stateMutability: "view", type: "function", }, ]; class SystemReserve__factory { static createInterface() { return new ethers_1.utils.Interface(_abi); } static connect(address, signerOrProvider) { return new ethers_1.Contract(address, _abi, signerOrProvider); } } exports.SystemReserve__factory = SystemReserve__factory; SystemReserve__factory.abi = _abi; //# sourceMappingURL=SystemReserve__factory.js.map