UNPKG

@ardier16/q-js-sdk

Version:

Typescript Library to interact with Q System Contracts

170 lines 2.91 kB
[ { "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" } ], "name": "purgeTimeLocks", "outputs": [], "stateMutability": "nonpayable", "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" }, { "internalType": "uint256", "name": "_timestamp", "type": "uint256" } ], "name": "getMinimumBalance", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" } ]