@gearbox-protocol/deploy-tools 4.61.21 → 4.61.22
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.
- package/dist/index.mjs +5 -5
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -9162,10 +9162,10 @@ var require_token = __commonJS({
|
|
|
9162
9162
|
return exports2.tokenSymbolByAddress[address.toLowerCase()];
|
|
9163
9163
|
}
|
|
9164
9164
|
exports2.getTokenSymbol = getTokenSymbol;
|
|
9165
|
-
function
|
|
9165
|
+
function getTokenSymbolOrTicker2(address) {
|
|
9166
9166
|
return exports2.tokenSymbolByAddress[address.toLowerCase()] || exports2.tickerSymbolByAddress[address.toLowerCase()];
|
|
9167
9167
|
}
|
|
9168
|
-
exports2.getTokenSymbolOrTicker =
|
|
9168
|
+
exports2.getTokenSymbolOrTicker = getTokenSymbolOrTicker2;
|
|
9169
9169
|
function getTokenSymbolOrETH(address) {
|
|
9170
9170
|
if (address.toLowerCase() === exports2.ETH_ADDRESS.toLowerCase())
|
|
9171
9171
|
return "ETH";
|
|
@@ -329117,7 +329117,7 @@ var parseAddressArray = (humanName) => (parameter) => {
|
|
|
329117
329117
|
};
|
|
329118
329118
|
};
|
|
329119
329119
|
function getParsedToken(address) {
|
|
329120
|
-
let symbol = import_sdk_gov10.
|
|
329120
|
+
let symbol = (0, import_sdk_gov10.getTokenSymbolOrTicker)(address);
|
|
329121
329121
|
let isCreate2;
|
|
329122
329122
|
if (!symbol) {
|
|
329123
329123
|
const pool = container.addressTree.getContract(address);
|
|
@@ -329144,7 +329144,7 @@ var parseToken = (humanName) => (parameter) => {
|
|
|
329144
329144
|
};
|
|
329145
329145
|
};
|
|
329146
329146
|
var parseTokenAmount = (token, humanName) => (parameter) => {
|
|
329147
|
-
const symbol = import_sdk_gov10.
|
|
329147
|
+
const symbol = (0, import_sdk_gov10.getTokenSymbolOrTicker)(token);
|
|
329148
329148
|
if (!symbol) {
|
|
329149
329149
|
throw new Error(`unknown token ${token}`);
|
|
329150
329150
|
}
|
|
@@ -332795,7 +332795,7 @@ function getRenderer(opts) {
|
|
|
332795
332795
|
}
|
|
332796
332796
|
|
|
332797
332797
|
// package.json
|
|
332798
|
-
var version2 = "4.61.
|
|
332798
|
+
var version2 = "4.61.22";
|
|
332799
332799
|
|
|
332800
332800
|
// src/version.ts
|
|
332801
332801
|
var version_default = version2;
|