Deposit to farm
deposit lp tokens is a command that allows you to deposit Liquidity Provider (LP) tokens into a yield farm.
Use this command to start earning rewards on your LP tokens through yield farming in a specific farm.
Parameters
Farm: The yield farm where you want to deposit your LP tokens. The available farms will depend on the "FarmNames" list set in your environment.
Amount: The amount of LP tokens that you want to deposit into the yield farm.
Transaction Info Variable: (optional) The variable to store the transaction information after the deposit is made. The default is '#txinfo'.
Example
deposit lp tokens("PancakeSwap", "10", "#transaction") alert(#transaction)
The above script deposits 10 LP tokens into a yield farm on PancakeSwap. It then alerts the user to the details of the transaction.
Always remember to double-check your input values before depositing LP tokens, as all transactions on blockchain are irreversible. Ensure that the farm name and the amount you use in the command actually correspond to the existing farms and your holdings of LP tokens.