createDeployFarmingTxParams
@bidask-protocol/sdk / createDeployFarmingTxParams
Function: createDeployFarmingTxParams()
createDeployFarmingTxParams(
params):TxParams
Defined in: transactions/deploy-farming.ts:25
Creates transaction parameters for deploying a farming (staking) contract via the memefactory using a jetton transfer.
Parameters
params
endOfFarming
bigint
– End of farming timestamp (uint64)
factoryAddress?
Address
– Address of the memefactory contract (optional, defaults to MEME_FACTORY_ADDRESS)
farmingTokenWallet
Address
– Jetton wallet address for the farming token
forwardAmount?
bigint
jettonAmount
bigint
– Amount of farming jettons to transfer
jettonWalletAddress
Address
lpTokenWallet
Address
– Jetton wallet address for the LP token (used for transfer)
queryId?
bigint
refundAddress
Address
– Address for refunds
seed
Cell
– Seed cell (unchanged after deployment)
senderAddress?
Address
– Address of the sender (default is userAddress)
userAddress
Address
– Address of the user deploying the farm
Returns
TxParams ready to be sent via the SDK