Locks
You can confirm token locks by calling following functions on the feeOwner Contract (once a token has migrated):
function locks(address token, uint256 id) public view returns (LockNativeInfo)
Where LockNativeInfo has following entries:
struct LockInfo {
uint256 amount;
uint256 unlockTime;
}
Where you will get a return like for example
0:
uint256: amount 1000000000000000000000000
1:
uint256: unlockTime 1771143648
where amount is the amount of tokens locked in this ID, unlockTime is the unlockTime in Unix format, and tokenOwner the current owner of this lock.
To see how many tokens in total are currently locked call
function lockedTokensTotal(address token) public view returns (uint256)
Last updated