Integrating SteakHut Liquidity
Receipt Token:
SteakHut Liquidity pools automatically issue an ERC20 receipt token which represents the users underlying position.
The receipt token may be used to review the underlying shares in the vault and also hence the underlying tokens that a user may withdraw at any time.
Underlying Assets
In the Vault contracts there exists a function named getUnderlyingAssets(). If you pass in the amount of shares that a user holds the function will output the amount of tokenX and tokenY which is redeemable with that proportion of shares.
This returns all of the underlying assets including both the assets currently at work in the Liquidity Book and those assets which are sitting idle (waiting to be put to work) in the Strategy Contract.
Questions Regarding Integrations
If you need any assistance in integrating with SteakHut Liquidity, feel free to reach out at anytime on any of our social links and a member of our development team will be in touch.
Last updated