Deposit
The deposit function transfers and locks QBT into the locker, which results in giving qScore to the user. If the user already has an unexpired lock, the unlockTime
argument is ignored and additional amount
of QBT is appended to the locker.
QubitLocker
amount: The amount of QBT to be locked, in wei.
unlockTime: The time when the lock will be expired. It should be greater than current time and smaller than the maximum lockup period (2 years after from now). The unlockTime value might be round-down to meet a week-based granularity rule.
Solidity
Ethers.js
Last updated