UNPKG

@q-dev/q-js-sdk

Version:

Typescript Library to interact with Q System Contracts

94 lines (93 loc) 3.21 kB
import { Signer } from "ethers"; import type { Provider } from "@ethersproject/providers"; import type { SystemReserve, SystemReserveInterface } from "../SystemReserve"; export declare class SystemReserve__factory { static readonly abi: readonly [{ readonly inputs: readonly []; readonly stateMutability: "nonpayable"; readonly type: "constructor"; }, { readonly inputs: readonly []; readonly name: "availableAmount"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "coolDownPhase"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "systemPaused"; readonly outputs: readonly [{ readonly internalType: "bool"; readonly name: ""; readonly type: "bool"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly stateMutability: "payable"; readonly type: "receive"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_registry"; readonly type: "address"; }, { readonly internalType: "string[]"; readonly name: "_keys"; readonly type: "string[]"; }]; readonly name: "initialize"; readonly outputs: readonly []; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "bool"; readonly name: "_state"; readonly type: "bool"; }]; readonly name: "setPauseState"; readonly outputs: readonly []; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "uint256"; readonly name: "_amount"; readonly type: "uint256"; }]; readonly name: "withdraw"; readonly outputs: readonly [{ readonly internalType: "bool"; readonly name: ""; readonly type: "bool"; }]; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "getEligibleContractKeys"; readonly outputs: readonly [{ readonly internalType: "string[]"; readonly name: ""; readonly type: "string[]"; }]; readonly stateMutability: "view"; readonly type: "function"; }]; static createInterface(): SystemReserveInterface; static connect(address: string, signerOrProvider: Signer | Provider): SystemReserve; }