UNPKG

@q-dev/q-js-sdk

Version:

Typescript Library to interact with Q System Contracts

331 lines 8.68 kB
"use strict"; /* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ Object.defineProperty(exports, "__esModule", { value: true }); exports.Vesting__factory = void 0; const ethers_1 = require("ethers"); const _abi = [ { inputs: [], stateMutability: "nonpayable", type: "constructor", }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_account", type: "address", }, { components: [ { internalType: "uint256", name: "amount", type: "uint256", }, { internalType: "uint256", name: "releaseStart", type: "uint256", }, { internalType: "uint256", name: "releaseEnd", type: "uint256", }, ], indexed: false, internalType: "struct TimeLockEntry", name: "_timelock", type: "tuple", }, ], name: "NewTimeLock", type: "event", }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_account", type: "address", }, { components: [ { internalType: "uint256", name: "amount", type: "uint256", }, { internalType: "uint256", name: "releaseStart", type: "uint256", }, { internalType: "uint256", name: "releaseEnd", type: "uint256", }, ], indexed: false, internalType: "struct TimeLockEntry", name: "_timelock", type: "tuple", }, ], name: "Purged", type: "event", }, { inputs: [ { internalType: "address", name: "_account", type: "address", }, { internalType: "uint256", name: "_releaseStart", type: "uint256", }, { internalType: "uint256", name: "_releaseEnd", type: "uint256", }, ], name: "depositOnBehalfOf", outputs: [], stateMutability: "payable", type: "function", }, { inputs: [ { internalType: "address", name: "_account", type: "address", }, { internalType: "uint256", name: "_timestamp", type: "uint256", }, ], name: "getMinimumBalance", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address", name: "_account", type: "address", }, ], name: "getTimeLocks", outputs: [ { components: [ { internalType: "uint256", name: "amount", type: "uint256", }, { internalType: "uint256", name: "releaseStart", type: "uint256", }, { internalType: "uint256", name: "releaseEnd", type: "uint256", }, ], internalType: "struct TimeLockEntry[]", name: "", type: "tuple[]", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address", name: "_account", type: "address", }, ], name: "purgeTimeLocks", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "_registry", type: "address", }, ], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "uint256", name: "_amount", type: "uint256", }, ], name: "lock", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "uint256", name: "_amount", type: "uint256", }, ], name: "withdraw", 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", }, { inputs: [ { internalType: "address", name: "_account", type: "address", }, ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address", name: "_account", type: "address", }, ], name: "withdrawableBalanceOf", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "view", type: "function", }, ]; class Vesting__factory { static createInterface() { return new ethers_1.utils.Interface(_abi); } static connect(address, signerOrProvider) { return new ethers_1.Contract(address, _abi, signerOrProvider); } } exports.Vesting__factory = Vesting__factory; Vesting__factory.abi = _abi; //# sourceMappingURL=Vesting__factory.js.map