# Developer Docs

{% hint style="warning" %}
SteakHut Liquidity is currently undergoing external smart contract auditing by Paladin Blockchain Security, Developer Docs are subject to change
{% endhint %}

The GitHub repository for the latest version of the contracts can be found at the below links:&#x20;

{% embed url="<https://github.com/0xSirloin/steakhut-lb>" %}
SteakHut Liquidity GitHub Repo
{% endembed %}

The GitHub repo will explain how to get your environment set up. At launch, there are three base contracts. The main contract developers / integrating protocols will be interested in is the LBStrategy.sol contract.&#x20;

In the Strategy, there is a role called "keeper". The Keeper role allows some privileged functions to be called; mainly setting bin parameters and calling a rebalance.&#x20;

Exposing this endpoint allows for some complex strategies to be executed on top of SteakHut Liquidity.&#x20;

**Core Contracts:**

SteakHut Liquidity has at present three main contracts:&#x20;

* The [LBVault](https://github.com/0xSirloin/steakhut-lb/blob/master/src/LBVault.sol) is the contract that manages the entry and exit point of funds into the strategy. It mints a receipt token in proportion to the total amount of liquidity already managed by the vault for the given strategy.&#x20;
* The [LBVaultNative](https://github.com/0xSirloin/steakhut-lb/blob/master/src/LBVaultNative.sol) contains wrappers around the deposit and withdrawal of Native AVAX into the system. It is essentially the same as the LBVault contract however with a few modifications.

  *Strategies do not need to handle Native AVAX as the Vault handles the conversion of AVAX -> WAVAX and deposits into the strategy.*&#x20;
* The [LBStrategy](https://github.com/0xSirloin/steakhut-lb/blob/master/src/LBStrategy.sol) contains the logic required to add and remove liquidity from the TraderJoe DexV2 pools. It handles the harvesting of fees and the re-balancing of tokens as required. A "keeper" may be assigned which will allow independent access to some strategy features (mainly the re-balancing).&#x20;


---

# 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://whitepaper-old.steakhut.finance/developer-docs.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.
