Skip to main content

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

NameTypeDescription
query_iduint64Query ID to track the operation.
payloadMaybe ^CellAn 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

NameTypeDescription
factory_addrslice (MsgAddressInt)The address of the factory.

Method get_owner_addr

Retrieves the address of the owner who has deposited funds.

Returns

NameTypeDescription
owner_addrslice (MsgAddressInt)The address of the fund owner.

Method get_pool_addr

Retrieves the address of the pool where funds are being deposited.

Returns

NameTypeDescription
pool_addrslice (MsgAddressInt)The address of the deposit pool.

Method get_balances

Retrieves the current balances of accrued assets in the deposit.

Returns

NameTypeDescription
balance0int (Coins)The current balance of asset0.
balance1int (Coins)The current balance of asset1.

Method get_target_balances

Retrieves the target balances at which a deposit will be submitted.

Returns

NameTypeDescription
target_balance0int (Coins)The target balance for asset0.
target_balance1int (Coins)The target balance for asset1.