Liquidity Deposit
Operations
Operation cancel_deposit
Cancels a pending deposit and optionally includes a custom payload.
TL-B
cancel_deposit#166cedee query_id:uint64 payload:(Maybe ^Cell) = InMsgBody;
Parameters
Name | Type | Description |
---|---|---|
query_id | uint64 | Query ID to track the operation. |
payload | Maybe ^Cell | An optional custom payload to attach to the funds transfer to the user. |
Get-Methods
Method get_factory_addr
Retrieves the address of the factory associated with the pool.
Returns
Name | Type | Description |
---|---|---|
factory_addr | slice (MsgAddressInt ) | The address of the factory. |
Method get_owner_addr
Retrieves the address of the owner who has deposited funds.
Returns
Name | Type | Description |
---|---|---|
owner_addr | slice (MsgAddressInt ) | The address of the fund owner. |
Method get_pool_addr
Retrieves the address of the pool where funds are being deposited.
Returns
Name | Type | Description |
---|---|---|
pool_addr | slice (MsgAddressInt ) | The address of the deposit pool. |
Method get_balances
Retrieves the current balances of accrued assets in the deposit.
Returns
Name | Type | Description |
---|---|---|
balance0 | int (Coins ) | The current balance of asset0 . |
balance1 | int (Coins ) | The current balance of asset1 . |
Method get_target_balances
Retrieves the target balances at which a deposit will be submitted.
Returns
Name | Type | Description |
---|---|---|
target_balance0 | int (Coins ) | The target balance for asset0 . |
target_balance1 | int (Coins ) | The target balance for asset1 . |