> For the complete documentation index, see [llms.txt](https://docs.tread.fi/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tread.fi/tread-improvement-proposals/tip-4-exchange-integration-lock.md).

# TIP-4: Exchange Integration Lock

Upcoming exchanges that integrate with tread.fi buy TREAD and lock it for a fixed term. The tokens are held by a smart contract on [HyperEVM](https://hyperevmscan.io/address/0x51463e6681d630b7bd6f93198c756b59f74fbcfc), not by tread.fi. Every token returns to the same wallet on the unlock date. There are no rewards and no early exit.

[**https://stake.tread.fi**](https://stake.tread.fi/) is where the exchange locks its TREAD per its agreement with tread.fi. The amount and term come from that agreement; the page records them on-chain.

### What you need <a href="#user-content-what-you-need" id="user-content-what-you-need"></a>

* A wallet on HyperEVM holding the TREAD to lock and a little HYPE for gas.
* A browser wallet such as MetaMask or Rabby, or a multisig/ self- custody wallet that can submit transactions.
* The staking contract address from your agreement. The page shows the address it is bound to in the **Verified contract** card. Make sure they match before signing.

Only use the page at the URL tread.fi gave you. tread.fi will never ask for a seed phrase or an unlimited approval.

### Locking <a href="#user-content-locking" id="user-content-locking"></a>

1. **Connect your wallet.** Pick your wallet from the list and approve the connection. The page then shows your address, TREAD balance and HYPE balance.
2. **Amount and term.** Enter the amount of TREAD and the number of whole days from your agreement. The page shows the unlock date and the current limits, and will not let you submit anything outside them.&#x20;
3. **Sign in your wallet.** Two prompts: an approval for exactly the amount, then the lock. The page shows the status of each and links to the transaction.

Once the lock confirms, the page shows **Your TIP-4 lock**: the amount, the term, a countdown to the unlock date, and a Withdraw button that becomes active on that date.

A wallet can hold one lock at a time. The amount and unlock date cannot be changed, topped up or extended once signed.

**The current limits are:**

**10,000 to 10,000,000 TREAD, 7 to 1,800 days.**

### Withdrawing <a href="#user-content-withdrawing" id="user-content-withdrawing"></a>

On the unlock date the lock shows **Ready to withdraw**. Press **Withdraw** and sign once. The full amount returns to the wallet that locked it. Locked tokens are never automatically returned/deposited; you must manually sign and withdraw.

There is no deadline to withdraw.

### Locking from a multisig or custody wallet <a href="#user-content-locking-from-a-safe-or-custody-wallet" id="user-content-locking-from-a-safe-or-custody-wallet"></a>

If you are depositing from a multisig or self-custody wallet, use the relevant fields at at the bottom of the page.&#x20;

Enter the amount and days, and the page produces the two transactions to submit from your own tooling, in order: `approve` on the TREAD token, then `stake` on the staking contract. Both carry zero value. The `stake` term argument is in seconds, which the page spells out. A `withdraw` transaction for the unlock date is in the same panel.

<figure><img src="https://3498068627-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzGueudbPNYpRWNpS3Ilo%2Fuploads%2FgN5qPw7hoxe0aAaUceDX%2Fimage.png?alt=media&amp;token=6f7b6c0f-ca79-4ced-a13f-30f8ffbcc9a1" alt=""><figcaption></figcaption></figure>

The lock belongs to the wallet that sends the `stake` transaction. The same wallet must send the withdrawal.

### What tread.fi can and cannot change <a href="#user-content-what-treadfi-can-and-cannot-change" id="user-content-what-treadfi-can-and-cannot-change"></a>

Locked TREAD sits in the smart contract, not with tread.fi. tread.fi holds the contract's owner role, which can change the limits for new locks, pause new locks, and permanently close the programme, which lets every existing lock withdraw early. The owner cannot change an existing lock's amount or unlock date, and cannot move or withdraw anyone's tokens. The contract is not upgradeable.

### Contract <a href="#user-content-contract" id="user-content-contract"></a>

| Network          | HyperEVM, chain id 999                                                                                                    |
| ---------------- | ------------------------------------------------------------------------------------------------------------------------- |
| Locking contract | [`0x51463e6681D630B7BD6f93198c756B59f74Fbcf`](https://hyperevmscan.io/address/0x51463e6681d630b7bd6f93198c756b59f74fbcfc) |
| TREAD token      | `0xd5EE1c81fE161e985dce6b90713c965f9979cf80`                                                                              |
