invest
This entrypoint is designed to add liquidity to a specific DEX pool.
This method includes a balanced and imbalanced ways of investing.
Call parameters
Field | Type | Description |
---|---|---|
pool_id |
| pool identifier |
shares |
| the minimal amount of shares to receive |
in_amounts |
| map of token amounts to be invested |
deadline |
| dealine of current operation |
receiver |
| optional, address of the receiver of the LP tokens. If not provided the |
referral |
| optional, address of the referral of the current operation. If not provided the |
Last updated