User-specific contract to synchronize two-asset provision
Interfaces
refund
| Path | Mnemonic | Type | Description |
|---|
| op | uint32 | 0xc8786132 |
| query_id | uint64 | query id |
provide
| Path | Mnemonic | Type | Description |
|---|
| op | uint32 | 0xb463abab |
| query_id | uint64 | query id |
| new_amount_x | coins | None |
| new_amount_y | coins | None |
| lock_liquidity? | bool | None |
| refund_addr | address | whom refund tokens to |
| reject_payload | maybe_cell | reject payload for swap. Sender recieves it with tokens refund. |
| forward_payload | maybe_cell | forward payload for swap. Sender recieves it with swapped tokens. |
reset_gas
| Path | Mnemonic | Type | Description |
|---|
| op | uint32 | 0x39aead78 |
| query_id | uint64 | query id |
get_data
| Path | Mnemonic | Type | Description |
|---|
| op | uint32 | 0x7fb8bbf1 |
| query_id | uint64 | query id |
add_referral_value
| Path | Mnemonic | Type | Description |
|---|
| op | uint32 | 0xf2fbc5fd |
| query_id | uint64 | query id |
| new_amount_x | coins | None |
| new_amount_y | coins | None |
Get-methods
get_liquidity_data
Return
| Path | Mnemonic | Type | Description |
|---|
| user_address | address | None |
| pool_address | address | None |
| amount_x | coins | None |
| amount_y | coins | None |