impermax-sdk 2.1.63 → 2.1.64
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.
|
@@ -126,7 +126,7 @@ class OffchainMultichainAccount {
|
|
|
126
126
|
value: totalValue,
|
|
127
127
|
type: PositionType.MARKET,
|
|
128
128
|
network: network,
|
|
129
|
-
|
|
129
|
+
address: data.id,
|
|
130
130
|
factory: factory,
|
|
131
131
|
};
|
|
132
132
|
})));
|
|
@@ -143,7 +143,7 @@ class OffchainMultichainAccount {
|
|
|
143
143
|
value: value,
|
|
144
144
|
type: PositionType.VAULT,
|
|
145
145
|
network: network,
|
|
146
|
-
|
|
146
|
+
address: data.id,
|
|
147
147
|
factory: undefined,
|
|
148
148
|
};
|
|
149
149
|
})));
|
|
@@ -163,7 +163,7 @@ class OffchainMultichainAccount {
|
|
|
163
163
|
value: remainingValue,
|
|
164
164
|
type: PositionType.OTHER,
|
|
165
165
|
network: types_1.Networks.Mainnet,
|
|
166
|
-
|
|
166
|
+
address: "",
|
|
167
167
|
factory: undefined,
|
|
168
168
|
},
|
|
169
169
|
].map((pos) => (Object.assign(Object.assign({}, pos), { percentage: (pos.value / totalValue) * 100 })));
|