@sodax/sdk 1.0.3-beta → 1.0.4-beta-rc1

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.
package/dist/index.mjs CHANGED
@@ -14823,8 +14823,8 @@ var MoneyMarketService = class _MoneyMarketService {
14823
14823
  if (bnUSDVault.toLowerCase() === vaultAddress.toLowerCase()) {
14824
14824
  repayToken = bnUSD;
14825
14825
  if (assetAddress.toLowerCase() !== bnUSDVault.toLowerCase()) {
14826
- calls.push(Erc20Service.encodeApprove(assetAddress, vaultAddress, translatedAmountIn));
14827
- calls.push(EvmVaultTokenService.encodeDeposit(vaultAddress, assetAddress, translatedAmountIn));
14826
+ calls.push(Erc20Service.encodeApprove(assetAddress, vaultAddress, amount));
14827
+ calls.push(EvmVaultTokenService.encodeDeposit(vaultAddress, assetAddress, amount));
14828
14828
  }
14829
14829
  calls.push(EvmVaultTokenService.encodeWithdraw(bnUSDVault, bnUSD, translatedAmountIn));
14830
14830
  } else {