hedge-web3 0.2.26 → 0.2.27
Sign up to get free protection for your applications and to get access to all the features.
@@ -52,8 +52,8 @@ function getLinkedListAccounts(program, vaultTypeAccountPublicKey, vaultPublicKe
|
|
52
52
|
deposited: new anchor_1.BN(0),
|
53
53
|
denormalizedDebt: new anchor_1.BN(0),
|
54
54
|
vaultNumber: new anchor_1.BN(0),
|
55
|
-
debtProductSnapshotBytes: new anchor_1.BN(
|
56
|
-
collateralAccumulatorSnapshotBytes: new anchor_1.BN(
|
55
|
+
debtProductSnapshotBytes: new anchor_1.BN(1),
|
56
|
+
collateralAccumulatorSnapshotBytes: new anchor_1.BN(1),
|
57
57
|
vaultTypeName: vaultType.name,
|
58
58
|
nextVaultToRedeem: new web3_js_1.PublicKey('11111111111111111111111111111111'),
|
59
59
|
vaultStatus: { open: true },
|
package/package.json
CHANGED
@@ -54,8 +54,8 @@ export async function getLinkedListAccounts(
|
|
54
54
|
deposited: new BN(0),
|
55
55
|
denormalizedDebt: new BN(0),
|
56
56
|
vaultNumber: new BN(0),
|
57
|
-
debtProductSnapshotBytes: new BN(
|
58
|
-
collateralAccumulatorSnapshotBytes: new BN(
|
57
|
+
debtProductSnapshotBytes: new BN(1),
|
58
|
+
collateralAccumulatorSnapshotBytes: new BN(1),
|
59
59
|
vaultTypeName: vaultType.name,
|
60
60
|
nextVaultToRedeem: new PublicKey('11111111111111111111111111111111'),
|
61
61
|
vaultStatus: {open: true},
|