> For the complete documentation index, see [llms.txt](https://lfg-club.gitbook.io/lfgclub/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://lfg-club.gitbook.io/lfgclub/bonding-curve/locks.md).

# Locks

You can confirm token locks by calling following functions on the feeOwner Contract (once a token has migrated):

```solidity
function locks(address token, uint256 id) public view returns (LockNativeInfo)
```

Where LockNativeInfo has following entries:

```solidity
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

```solidity
function lockedTokensTotal(address token) public view returns (uint256)
```
