# Inventory management

When completing a bridge-out, there are different ways possible to choose which bitcoin UTXOs in the Spiderchain to take. These different options share similarities with inventory management. There is LIFO (Last In First Out) and FIFO (First In First Out) and various hybrid solutions.\
Each of the three have benefits and cons.  In the case of FIFO the coins are refreshed the fastest, and any potential malicious adversary will have to wait a certain amount before the coins are turned around and the forward security of the spiderchain is lost.&#x20;

LIFO on the other hand will ensure the oldest coins are secured by the oldest orchestrators, therefore giving a malicious adversary no chance to gain control of these older coins.&#x20;

Botanix Labs has chosen LIFO bitcoin management because of the higher security guarantees.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.botanixlabs.com/botanix/get-to-know-botanix/security/forward-security/inventory-management.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
