Locked Period
QubitLocker
function expiryOf(address account) external view returns (uint);Solidity
QubitLocker qubitLocker = QubitLocker(<qubitLockerAddress>);
uint expiry = qubitLocker.expiryOf(<account>);Ethers.js
const qubitLocker = await ethers.getContractAt(<lockerABI>, <lockerAddress>);
const expiry = await qubitLocker.expiryOf(<account>);Last updated
Was this helpful?