mint_stake.gno
Last updated
Last updated
Creates a new position and stakes it in a single transaction.
Mints and stakes an LP token.
Name | Type | Description |
---|---|---|
| string | The path of token0. |
| string | The path of token1. |
| uint32 | The fee tier of the pool. |
| int32 | The lower tick of the price range of the position. |
| int32 | The upper tick of the price range of the position. |
| string | The maximum amount of token0 to add and stake. |
| string | The maximum amount of token1 to add and stake. |
| string | The minimum amount of token0 to add and stake. |
| string | The minimum amount of token1 to add and stake. |
| int64 | The deadline at which the transaction will expire. |
Name | Type | Description |
---|---|---|
| uint64 | The ID of the position to be created and staked. |
| string | The liquidity amount of the position. |
| string | The amount of token0 to be staked. |
| string | The amount of token1 to be staked. |
| string | The path of the pool that the position will be created and staked in. |