LP Account
The LP account holds staged funds for users. There is one LP account per pool per user. This is useful when users want to provide liquidity that requires a non-zero amount in both pool tokens.
Interface
get_titan_lp_account_data
get_titan_lp_account_dataReturns user's LP account data.
Arguments
None
Returns
slice
User address
slice
Pool manager address
int
Amount0 staged
int
Amount1 staged
Messages
Stage Liquidity
Opcode: 0xb4eb90efBody Format
Uint32
Opcode
Uint64
Query ID
Coins
Amount0
Coins
Amount1
Coins
Provide amount0
Coins
Provide amount1
Int32
Low tick
Int32
High tick
Uint128
Liquidity to provide
Int32
Pool index
^Cell
Farm data cell
Uint1
Should stake
Maybe Uint32
Farm index
Refund User
Opcode: 0x0bf3f447Body Format
Uint32
Opcode
Uint64
Query ID
Directly Add Liquidity
Opcode: 0x8dc3c672Body Format
Uint32
Opcode
Uint64
Query ID
Int32
Low tick
Int32
High tick
Coins
Amount0
Coins
Amount1
Uint128
Liquidity to add
Int32
Pool index
^Cell
Farm data
Uint1
Should stake
Maybe Uint32
Farm index