UNPKG

@q-dev/q-js-sdk

Version:

Typescript Library to interact with Q System Contracts

94 lines 2.58 kB
"use strict"; /* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ Object.defineProperty(exports, "__esModule", { value: true }); exports.ITokenLock__factory = void 0; const ethers_1 = require("ethers"); const _abi = [ { inputs: [ { internalType: "uint256", name: "_amount", type: "uint256", }, ], name: "lock", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "uint256", name: "_amount", type: "uint256", }, ], name: "announceUnlock", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "uint256", name: "_amount", type: "uint256", }, ], name: "unlock", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [], name: "getLockInfo", outputs: [ { components: [ { internalType: "uint256", name: "lockedAmount", type: "uint256", }, { internalType: "uint256", name: "lockedUntil", type: "uint256", }, { internalType: "uint256", name: "pendingUnlockAmount", type: "uint256", }, { internalType: "uint256", name: "pendingUnlockTime", type: "uint256", }, ], internalType: "struct VotingLockInfo", name: "", type: "tuple", }, ], stateMutability: "view", type: "function", }, ]; class ITokenLock__factory { static createInterface() { return new ethers_1.utils.Interface(_abi); } static connect(address, signerOrProvider) { return new ethers_1.Contract(address, _abi, signerOrProvider); } } exports.ITokenLock__factory = ITokenLock__factory; ITokenLock__factory.abi = _abi; //# sourceMappingURL=ITokenLock__factory.js.map