Defines the wallet address to copy, maximum buy amount, and slippage tolerance.
Stores the trader's public key hash, copied wallet address, maximum amount, and slippage.
Defines the actions (CopyTrade or UpdateParams) that can be performed on the contract.
Contains the logic to validate copy trades and parameter updates.
Functions to fetch transactions, calculate trade amounts, and adjust for slippage.