> For the complete documentation index, see [llms.txt](https://lumiwave-inno.gitbook.io/lumiwave-whitepaper/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://lumiwave-inno.gitbook.io/lumiwave-whitepaper/tokenomics/lumiwave-lwa-token/contract-spec/lock_coin.move.md).

# lock\_coin.move

#### make\_lock\_coin (public func)

```
// func parameter
recipient [address]: recipient wallet address
lock_ts[u64]: coin lock timestamp (UTC / ms)
unlock_ts[u64]: coin unlock timestamp (UTC / ms)
balance [Balance<T>]: information of the coins to be locked
ctx[TxContext]: transaction information (auto-filled)
```

{% hint style="info" %}
This function wraps the coin in a LockedCoinobject, locking it and then transferring it to a specified wallet, preventing any unlocking until the unlock\_tstimestamp.
{% endhint %}

#### unlock\_wrapper (public func)

```
// func parameter
locked_coin[LockedCoin<T>]: lock object created by the make_lock_coinfunction
cur_lock[Clock]: object containing the current time (fixed at 0x6)
ctx[TxContext]: transaction information (auto-filled)
```

{% hint style="info" %}
Unwraps the owned LockedCoinobject to unlock it, allowing the user to use it as their own coin.
{% endhint %}
