Skip to main content

Pool

Stores liquidity assets, handle liquidity manipulations and swaps, supports dynamic fees and farming features.

Farming interfaces

start_farming

This message should be sent as forward_payload of jetton-transfer.

PathMnemonicTypeDescription
opuint320xbe761948
query_iduint64query id
farming_x_per_secondcoinsreward rate of token x
farming_y_per_secondcoinsreward rate of token y
previous_calluint64timestamp of last farming tick
end_of_farminguint64timestamp when farming ends
farming_per_secondcoinsfarming reward rate per second

native start_farming

PathMnemonicTypeDescription
opuint320xbe761948
query_iduint64query id
native_amountcoinsamount of nanoton
farming_x_per_secondcoinsreward rate of token x
farming_y_per_secondcoinsreward rate of token y
previous_calluint64timestamp of last farming tick
end_of_farminguint64timestamp when farming ends
farming_per_secondcoinsfarming reward rate per second

change_farming_duration

PathMnemonicTypeDescription
opuint320xa957dd3d
query_iduint64query id
new_end_of_farminguint64timestamp of new end of farming

get_farming_info

Return

PathMnemonicTypeDescription
farming_x_per_secondnumberreward rate of token x
farming_y_per_secondnumberreward rate of token y
previous_callnumbertimestamp of last farming tick
end_of_farmingnumbertimestamp when farming ends