UNPKG

@q-dev/q-js-sdk

Version:

Typescript Library to interact with Q System Contracts

76 lines 1.28 kB
[ { "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" } ]