MP-3391: make sure locked and unlocking is taken into account (#477)

* MP-3391: make sure locked and unlocking is taken into account

* fix: accounts was missing unlocked and locked value

* fix: fixed small layout bug

* fix: rebuild the addValueToVaults function

* tidy: refactor

* fix: unwrapped BN on BigNumber values from

* fix: removed the refreshInterval from accounts
This commit is contained in:
Linkie Link
2023-09-18 16:22:11 +02:00
committed by GitHub
parent 1d5595d687
commit dc9a757224
12 changed files with 55 additions and 35 deletions
+2
View File
@@ -134,6 +134,8 @@ export const MOCK_DEPOSITED_VAULT_POSITION = {
values: {
primary: BN_ZERO,
secondary: BN_ZERO,
unlocked: BN_ZERO,
unlocking: BN_ZERO,
},
amounts: {
primary: BN_ZERO,