Creates list of contract calls to lock assets as collateral for credit account. Supports both underlying assets (e.g., USDC) which are wrapped into earn vault first, and earn positions (e.g., gtUSDCp) which are deposited directly.
Account that holds the asset and will execute calls
Amount in lowest denomination (e.g., wei for ETH)
Asset address in eth format - either underlying asset (USDC) or earn position (gtUSDCp)
Earn strategy to wrap asset before depositing. If omitted, asset is deposited directly without wrapping.
List of contract calls to execute locking of collateral