@ember-finance/sdk 2.2.0-rc.3 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -72,7 +72,8 @@ export class EVMUserCalls extends EVMOnChainCalls {
|
|
|
72
72
|
// Async deposit: route through the vault's deposit parking lot. Funds are
|
|
73
73
|
// escrowed + queued and forwarded into the vault later by the operator.
|
|
74
74
|
// The collateral must be approved to the parking lot (not the vault).
|
|
75
|
-
|
|
75
|
+
// Ignored for ETH vaults — the parking lot has no ETH entrypoint.
|
|
76
|
+
if (options?.depositToParkingLot && !options?.isETHVault) {
|
|
76
77
|
const parkingLotAddress = this.parser.resolveParkingLotAddress(vaultAddress, options.parkingLotAddress);
|
|
77
78
|
const txCall = this.txBuilder.depositToParkingLot(parkingLotAddress, assets, receiver);
|
|
78
79
|
return this.execCall(txCall, options);
|