@gearbox-protocol/sdk 4.1.5 → 4.1.6
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.
|
@@ -181,7 +181,7 @@ class AccountOpener extends import_sdk.SDKConstruct {
|
|
|
181
181
|
const token = t;
|
|
182
182
|
expectedBalances.push({
|
|
183
183
|
token,
|
|
184
|
-
balance: token === underlying ? BigInt(leverage) * minDebt : 1n
|
|
184
|
+
balance: token === underlying ? BigInt(leverage) * minDebt / import_sdk.PERCENTAGE_FACTOR : 1n
|
|
185
185
|
});
|
|
186
186
|
leftoverBalances.push({
|
|
187
187
|
token,
|
|
@@ -211,6 +211,9 @@ const chains = {
|
|
|
211
211
|
defaultMarketConfigurators: {
|
|
212
212
|
"0x5BCF14d8470e1a6110916371aacC8E1C947A7D9d": "Chaos Labs"
|
|
213
213
|
},
|
|
214
|
+
testMarketConfigurators: {
|
|
215
|
+
"0x19037a281025b83fa37e3264b77af523ff87a3a4": "Chaos Labs"
|
|
216
|
+
},
|
|
214
217
|
isPublic: false,
|
|
215
218
|
wellKnownToken: {
|
|
216
219
|
address: "0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d",
|
|
@@ -167,7 +167,7 @@ class AccountOpener extends SDKConstruct {
|
|
|
167
167
|
const token = t;
|
|
168
168
|
expectedBalances.push({
|
|
169
169
|
token,
|
|
170
|
-
balance: token === underlying ? BigInt(leverage) * minDebt : 1n
|
|
170
|
+
balance: token === underlying ? BigInt(leverage) * minDebt / PERCENTAGE_FACTOR : 1n
|
|
171
171
|
});
|
|
172
172
|
leftoverBalances.push({
|
|
173
173
|
token,
|
|
@@ -194,6 +194,9 @@ const chains = {
|
|
|
194
194
|
defaultMarketConfigurators: {
|
|
195
195
|
"0x5BCF14d8470e1a6110916371aacC8E1C947A7D9d": "Chaos Labs"
|
|
196
196
|
},
|
|
197
|
+
testMarketConfigurators: {
|
|
198
|
+
"0x19037a281025b83fa37e3264b77af523ff87a3a4": "Chaos Labs"
|
|
199
|
+
},
|
|
197
200
|
isPublic: false,
|
|
198
201
|
wellKnownToken: {
|
|
199
202
|
address: "0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d",
|