From d537a5152a637ec393f16e360c75f681c36333eb Mon Sep 17 00:00:00 2001 From: marcomariscal Date: Mon, 29 Aug 2022 12:09:59 -0700 Subject: [PATCH 1/2] fix: more generous buffer when repaying vault --- src/hooks/viewHelperHooks/useBorrowHelpers.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hooks/viewHelperHooks/useBorrowHelpers.ts b/src/hooks/viewHelperHooks/useBorrowHelpers.ts index 338d3d38e..93033574a 100644 --- a/src/hooks/viewHelperHooks/useBorrowHelpers.ts +++ b/src/hooks/viewHelperHooks/useBorrowHelpers.ts @@ -243,7 +243,7 @@ export const useBorrowHelpers = ( const _debtInBase = isMature(vaultSeries.maturity) ? vault.accruedArt : _baseRequired; // add buffer to handle moving interest accumulation - const _debtInBaseWithBuffer = _debtInBase.mul(10000).div(9999); + const _debtInBaseWithBuffer = _debtInBase.mul(1000).div(999); setDebtInBase(_debtInBaseWithBuffer); setDebtInBase_(ethers.utils.formatUnits(_debtInBaseWithBuffer, vaultBase.decimals)); From 0d7b57a365d016be00b5bd01f2a07eb03dfa837c Mon Sep 17 00:00:00 2001 From: Bruce Donovan Date: Mon, 5 Sep 2022 08:45:22 +0100 Subject: [PATCH 2/2] version bump --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 956cee6e4..78b92787a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "app-v2", - "version": "2.4.4", + "version": "2.4.5", "private": true, "dependencies": { "@ethersproject/providers": "^5.6.8",