@gearbox-protocol/deploy-tools 5.56.0 → 5.57.1
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 +555 -146
- package/package.json +7 -7
package/dist/index.mjs
CHANGED
|
@@ -2672,7 +2672,7 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
2672
2672
|
return arg.length > 1 && arg[0] === "-";
|
|
2673
2673
|
}
|
|
2674
2674
|
const negativeNumberArg = (arg) => {
|
|
2675
|
-
if (
|
|
2675
|
+
if (!/^-(\d+|\d*\.\d+)(e[+-]?\d+)?$/.test(arg)) return false;
|
|
2676
2676
|
return !this._getCommandAndAncestors().some(
|
|
2677
2677
|
(cmd) => cmd.options.map((opt) => opt.short).some((short) => /^-\d$/.test(short))
|
|
2678
2678
|
);
|
|
@@ -4470,7 +4470,7 @@ var init_size = __esm({
|
|
|
4470
4470
|
var version2;
|
|
4471
4471
|
var init_version2 = __esm({
|
|
4472
4472
|
"../../node_modules/viem/_esm/errors/version.js"() {
|
|
4473
|
-
version2 = "2.38.
|
|
4473
|
+
version2 = "2.38.6";
|
|
4474
4474
|
}
|
|
4475
4475
|
});
|
|
4476
4476
|
|
|
@@ -10652,6 +10652,8 @@ function formatTransactionRequest(request, _) {
|
|
|
10652
10652
|
}
|
|
10653
10653
|
if (typeof request.data !== "undefined")
|
|
10654
10654
|
rpcRequest.data = request.data;
|
|
10655
|
+
if (request.account)
|
|
10656
|
+
rpcRequest.from = request.account.address;
|
|
10655
10657
|
if (typeof request.from !== "undefined")
|
|
10656
10658
|
rpcRequest.from = request.from;
|
|
10657
10659
|
if (typeof request.gas !== "undefined")
|
|
@@ -12576,8 +12578,8 @@ async function call(client, args) {
|
|
|
12576
12578
|
const request = format({
|
|
12577
12579
|
// Pick out extra data that might exist on the chain's transaction request type.
|
|
12578
12580
|
...extract(rest, { format: chainFormat }),
|
|
12579
|
-
from: account?.address,
|
|
12580
12581
|
accessList,
|
|
12582
|
+
account,
|
|
12581
12583
|
authorizationList,
|
|
12582
12584
|
blobs,
|
|
12583
12585
|
data,
|
|
@@ -78981,8 +78983,9 @@ var require_axios = __commonJS({
|
|
|
78981
78983
|
var FormData$1 = require_form_data();
|
|
78982
78984
|
var crypto3 = __require("crypto");
|
|
78983
78985
|
var url2 = __require("url");
|
|
78986
|
+
var http2 = __require("http2");
|
|
78984
78987
|
var proxyFromEnv = require_proxy_from_env();
|
|
78985
|
-
var
|
|
78988
|
+
var http3 = __require("http");
|
|
78986
78989
|
var https = __require("https");
|
|
78987
78990
|
var util = __require("util");
|
|
78988
78991
|
var followRedirects = require_follow_redirects();
|
|
@@ -78996,7 +78999,7 @@ var require_axios = __commonJS({
|
|
|
78996
78999
|
var crypto__default = /* @__PURE__ */ _interopDefaultLegacy(crypto3);
|
|
78997
79000
|
var url__default = /* @__PURE__ */ _interopDefaultLegacy(url2);
|
|
78998
79001
|
var proxyFromEnv__default = /* @__PURE__ */ _interopDefaultLegacy(proxyFromEnv);
|
|
78999
|
-
var http__default = /* @__PURE__ */ _interopDefaultLegacy(
|
|
79002
|
+
var http__default = /* @__PURE__ */ _interopDefaultLegacy(http3);
|
|
79000
79003
|
var https__default = /* @__PURE__ */ _interopDefaultLegacy(https);
|
|
79001
79004
|
var util__default = /* @__PURE__ */ _interopDefaultLegacy(util);
|
|
79002
79005
|
var followRedirects__default = /* @__PURE__ */ _interopDefaultLegacy(followRedirects);
|
|
@@ -79663,7 +79666,7 @@ var require_axios = __commonJS({
|
|
|
79663
79666
|
*
|
|
79664
79667
|
* @param {Number} id The ID that was returned by `use`
|
|
79665
79668
|
*
|
|
79666
|
-
* @returns {
|
|
79669
|
+
* @returns {void}
|
|
79667
79670
|
*/
|
|
79668
79671
|
eject(id) {
|
|
79669
79672
|
if (this.handlers[id]) {
|
|
@@ -80240,7 +80243,7 @@ var require_axios = __commonJS({
|
|
|
80240
80243
|
}
|
|
80241
80244
|
return requestedURL;
|
|
80242
80245
|
}
|
|
80243
|
-
var VERSION = "1.
|
|
80246
|
+
var VERSION = "1.13.1";
|
|
80244
80247
|
function parseProtocol(url3) {
|
|
80245
80248
|
const match2 = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url3);
|
|
80246
80249
|
return match2 && match2[1] || "";
|
|
@@ -80661,6 +80664,12 @@ var require_axios = __commonJS({
|
|
|
80661
80664
|
flush: zlib__default["default"].constants.BROTLI_OPERATION_FLUSH,
|
|
80662
80665
|
finishFlush: zlib__default["default"].constants.BROTLI_OPERATION_FLUSH
|
|
80663
80666
|
};
|
|
80667
|
+
var {
|
|
80668
|
+
HTTP2_HEADER_SCHEME,
|
|
80669
|
+
HTTP2_HEADER_METHOD,
|
|
80670
|
+
HTTP2_HEADER_PATH,
|
|
80671
|
+
HTTP2_HEADER_STATUS
|
|
80672
|
+
} = http2.constants;
|
|
80664
80673
|
var isBrotliSupported = utils$1.isFunction(zlib__default["default"].createBrotliDecompress);
|
|
80665
80674
|
var { http: httpFollow, https: httpsFollow } = followRedirects__default["default"];
|
|
80666
80675
|
var isHttps = /https:?/;
|
|
@@ -80671,6 +80680,75 @@ var require_axios = __commonJS({
|
|
|
80671
80680
|
stream2.on("end", flush).on("error", flush);
|
|
80672
80681
|
return throttled;
|
|
80673
80682
|
};
|
|
80683
|
+
var Http2Sessions = class {
|
|
80684
|
+
constructor() {
|
|
80685
|
+
this.sessions = /* @__PURE__ */ Object.create(null);
|
|
80686
|
+
}
|
|
80687
|
+
getSession(authority, options) {
|
|
80688
|
+
options = Object.assign({
|
|
80689
|
+
sessionTimeout: 1e3
|
|
80690
|
+
}, options);
|
|
80691
|
+
let authoritySessions;
|
|
80692
|
+
if (authoritySessions = this.sessions[authority]) {
|
|
80693
|
+
let len = authoritySessions.length;
|
|
80694
|
+
for (let i = 0; i < len; i++) {
|
|
80695
|
+
const [sessionHandle, sessionOptions] = authoritySessions[i];
|
|
80696
|
+
if (!sessionHandle.destroyed && !sessionHandle.closed && util__default["default"].isDeepStrictEqual(sessionOptions, options)) {
|
|
80697
|
+
return sessionHandle;
|
|
80698
|
+
}
|
|
80699
|
+
}
|
|
80700
|
+
}
|
|
80701
|
+
const session = http2.connect(authority, options);
|
|
80702
|
+
let removed;
|
|
80703
|
+
const removeSession = () => {
|
|
80704
|
+
if (removed) {
|
|
80705
|
+
return;
|
|
80706
|
+
}
|
|
80707
|
+
removed = true;
|
|
80708
|
+
let entries2 = authoritySessions, len = entries2.length, i = len;
|
|
80709
|
+
while (i--) {
|
|
80710
|
+
if (entries2[i][0] === session) {
|
|
80711
|
+
entries2.splice(i, 1);
|
|
80712
|
+
if (len === 1) {
|
|
80713
|
+
delete this.sessions[authority];
|
|
80714
|
+
return;
|
|
80715
|
+
}
|
|
80716
|
+
}
|
|
80717
|
+
}
|
|
80718
|
+
};
|
|
80719
|
+
const originalRequestFn = session.request;
|
|
80720
|
+
const { sessionTimeout } = options;
|
|
80721
|
+
if (sessionTimeout != null) {
|
|
80722
|
+
let timer;
|
|
80723
|
+
let streamsCount = 0;
|
|
80724
|
+
session.request = function() {
|
|
80725
|
+
const stream2 = originalRequestFn.apply(this, arguments);
|
|
80726
|
+
streamsCount++;
|
|
80727
|
+
if (timer) {
|
|
80728
|
+
clearTimeout(timer);
|
|
80729
|
+
timer = null;
|
|
80730
|
+
}
|
|
80731
|
+
stream2.once("close", () => {
|
|
80732
|
+
if (!--streamsCount) {
|
|
80733
|
+
timer = setTimeout(() => {
|
|
80734
|
+
timer = null;
|
|
80735
|
+
removeSession();
|
|
80736
|
+
}, sessionTimeout);
|
|
80737
|
+
}
|
|
80738
|
+
});
|
|
80739
|
+
return stream2;
|
|
80740
|
+
};
|
|
80741
|
+
}
|
|
80742
|
+
session.once("close", removeSession);
|
|
80743
|
+
let entries = this.sessions[authority], entry = [
|
|
80744
|
+
session,
|
|
80745
|
+
options
|
|
80746
|
+
];
|
|
80747
|
+
entries ? this.sessions[authority].push(entry) : authoritySessions = this.sessions[authority] = [entry];
|
|
80748
|
+
return session;
|
|
80749
|
+
}
|
|
80750
|
+
};
|
|
80751
|
+
var http2Sessions = new Http2Sessions();
|
|
80674
80752
|
function dispatchBeforeRedirect(options, responseDetails) {
|
|
80675
80753
|
if (options.beforeRedirects.proxy) {
|
|
80676
80754
|
options.beforeRedirects.proxy(options);
|
|
@@ -80743,14 +80821,48 @@ var require_axios = __commonJS({
|
|
|
80743
80821
|
};
|
|
80744
80822
|
};
|
|
80745
80823
|
var buildAddressEntry = (address, family) => resolveFamily(utils$1.isObject(address) ? address : { address, family });
|
|
80824
|
+
var http2Transport = {
|
|
80825
|
+
request(options, cb) {
|
|
80826
|
+
const authority = options.protocol + "//" + options.hostname + ":" + (options.port || 80);
|
|
80827
|
+
const { http2Options, headers } = options;
|
|
80828
|
+
const session = http2Sessions.getSession(authority, http2Options);
|
|
80829
|
+
const http2Headers = {
|
|
80830
|
+
[HTTP2_HEADER_SCHEME]: options.protocol.replace(":", ""),
|
|
80831
|
+
[HTTP2_HEADER_METHOD]: options.method,
|
|
80832
|
+
[HTTP2_HEADER_PATH]: options.path
|
|
80833
|
+
};
|
|
80834
|
+
utils$1.forEach(headers, (header, name) => {
|
|
80835
|
+
name.charAt(0) !== ":" && (http2Headers[name] = header);
|
|
80836
|
+
});
|
|
80837
|
+
const req = session.request(http2Headers);
|
|
80838
|
+
req.once("response", (responseHeaders) => {
|
|
80839
|
+
const response = req;
|
|
80840
|
+
responseHeaders = Object.assign({}, responseHeaders);
|
|
80841
|
+
const status = responseHeaders[HTTP2_HEADER_STATUS];
|
|
80842
|
+
delete responseHeaders[HTTP2_HEADER_STATUS];
|
|
80843
|
+
response.headers = responseHeaders;
|
|
80844
|
+
response.statusCode = +status;
|
|
80845
|
+
cb(response);
|
|
80846
|
+
});
|
|
80847
|
+
return req;
|
|
80848
|
+
}
|
|
80849
|
+
};
|
|
80746
80850
|
var httpAdapter = isHttpAdapterSupported && function httpAdapter2(config2) {
|
|
80747
80851
|
return wrapAsync(async function dispatchHttpRequest(resolve2, reject, onDone) {
|
|
80748
|
-
let { data, lookup, family } = config2;
|
|
80852
|
+
let { data, lookup, family, httpVersion = 1, http2Options } = config2;
|
|
80749
80853
|
const { responseType, responseEncoding } = config2;
|
|
80750
80854
|
const method = config2.method.toUpperCase();
|
|
80751
80855
|
let isDone;
|
|
80752
80856
|
let rejected = false;
|
|
80753
80857
|
let req;
|
|
80858
|
+
httpVersion = +httpVersion;
|
|
80859
|
+
if (Number.isNaN(httpVersion)) {
|
|
80860
|
+
throw TypeError(`Invalid protocol version: '${config2.httpVersion}' is not a number`);
|
|
80861
|
+
}
|
|
80862
|
+
if (httpVersion !== 1 && httpVersion !== 2) {
|
|
80863
|
+
throw TypeError(`Unsupported protocol version '${httpVersion}'`);
|
|
80864
|
+
}
|
|
80865
|
+
const isHttp2 = httpVersion === 2;
|
|
80754
80866
|
if (lookup) {
|
|
80755
80867
|
const _lookup = callbackify$1(lookup, (value) => utils$1.isArray(value) ? value : [value]);
|
|
80756
80868
|
lookup = (hostname3, opt, cb) => {
|
|
@@ -80763,7 +80875,15 @@ var require_axios = __commonJS({
|
|
|
80763
80875
|
});
|
|
80764
80876
|
};
|
|
80765
80877
|
}
|
|
80766
|
-
const
|
|
80878
|
+
const abortEmitter = new events.EventEmitter();
|
|
80879
|
+
function abort(reason) {
|
|
80880
|
+
try {
|
|
80881
|
+
abortEmitter.emit("abort", !reason || reason.type ? new CanceledError(null, config2, req) : reason);
|
|
80882
|
+
} catch (err) {
|
|
80883
|
+
console.warn("emit error", err);
|
|
80884
|
+
}
|
|
80885
|
+
}
|
|
80886
|
+
abortEmitter.once("abort", reject);
|
|
80767
80887
|
const onFinished = () => {
|
|
80768
80888
|
if (config2.cancelToken) {
|
|
80769
80889
|
config2.cancelToken.unsubscribe(abort);
|
|
@@ -80771,25 +80891,31 @@ var require_axios = __commonJS({
|
|
|
80771
80891
|
if (config2.signal) {
|
|
80772
80892
|
config2.signal.removeEventListener("abort", abort);
|
|
80773
80893
|
}
|
|
80774
|
-
|
|
80894
|
+
abortEmitter.removeAllListeners();
|
|
80775
80895
|
};
|
|
80776
|
-
onDone((value, isRejected) => {
|
|
80777
|
-
isDone = true;
|
|
80778
|
-
if (isRejected) {
|
|
80779
|
-
rejected = true;
|
|
80780
|
-
onFinished();
|
|
80781
|
-
}
|
|
80782
|
-
});
|
|
80783
|
-
function abort(reason) {
|
|
80784
|
-
emitter.emit("abort", !reason || reason.type ? new CanceledError(null, config2, req) : reason);
|
|
80785
|
-
}
|
|
80786
|
-
emitter.once("abort", reject);
|
|
80787
80896
|
if (config2.cancelToken || config2.signal) {
|
|
80788
80897
|
config2.cancelToken && config2.cancelToken.subscribe(abort);
|
|
80789
80898
|
if (config2.signal) {
|
|
80790
80899
|
config2.signal.aborted ? abort() : config2.signal.addEventListener("abort", abort);
|
|
80791
80900
|
}
|
|
80792
80901
|
}
|
|
80902
|
+
onDone((response, isRejected) => {
|
|
80903
|
+
isDone = true;
|
|
80904
|
+
if (isRejected) {
|
|
80905
|
+
rejected = true;
|
|
80906
|
+
onFinished();
|
|
80907
|
+
return;
|
|
80908
|
+
}
|
|
80909
|
+
const { data: data2 } = response;
|
|
80910
|
+
if (data2 instanceof stream__default["default"].Readable || data2 instanceof stream__default["default"].Duplex) {
|
|
80911
|
+
const offListeners = stream__default["default"].finished(data2, () => {
|
|
80912
|
+
offListeners();
|
|
80913
|
+
onFinished();
|
|
80914
|
+
});
|
|
80915
|
+
} else {
|
|
80916
|
+
onFinished();
|
|
80917
|
+
}
|
|
80918
|
+
});
|
|
80793
80919
|
const fullPath = buildFullPath(config2.baseURL, config2.url, config2.allowAbsoluteUrls);
|
|
80794
80920
|
const parsed = new URL(fullPath, platform.hasBrowserEnv ? platform.origin : void 0);
|
|
80795
80921
|
const protocol = parsed.protocol || supportedProtocols[0];
|
|
@@ -80955,7 +81081,8 @@ var require_axios = __commonJS({
|
|
|
80955
81081
|
protocol,
|
|
80956
81082
|
family,
|
|
80957
81083
|
beforeRedirect: dispatchBeforeRedirect,
|
|
80958
|
-
beforeRedirects: {}
|
|
81084
|
+
beforeRedirects: {},
|
|
81085
|
+
http2Options
|
|
80959
81086
|
};
|
|
80960
81087
|
!utils$1.isUndefined(lookup) && (options.lookup = lookup);
|
|
80961
81088
|
if (config2.socketPath) {
|
|
@@ -80968,18 +81095,22 @@ var require_axios = __commonJS({
|
|
|
80968
81095
|
let transport;
|
|
80969
81096
|
const isHttpsRequest = isHttps.test(options.protocol);
|
|
80970
81097
|
options.agent = isHttpsRequest ? config2.httpsAgent : config2.httpAgent;
|
|
80971
|
-
if (
|
|
80972
|
-
transport =
|
|
80973
|
-
} else if (config2.maxRedirects === 0) {
|
|
80974
|
-
transport = isHttpsRequest ? https__default["default"] : http__default["default"];
|
|
81098
|
+
if (isHttp2) {
|
|
81099
|
+
transport = http2Transport;
|
|
80975
81100
|
} else {
|
|
80976
|
-
if (config2.
|
|
80977
|
-
|
|
80978
|
-
}
|
|
80979
|
-
|
|
80980
|
-
|
|
81101
|
+
if (config2.transport) {
|
|
81102
|
+
transport = config2.transport;
|
|
81103
|
+
} else if (config2.maxRedirects === 0) {
|
|
81104
|
+
transport = isHttpsRequest ? https__default["default"] : http__default["default"];
|
|
81105
|
+
} else {
|
|
81106
|
+
if (config2.maxRedirects) {
|
|
81107
|
+
options.maxRedirects = config2.maxRedirects;
|
|
81108
|
+
}
|
|
81109
|
+
if (config2.beforeRedirect) {
|
|
81110
|
+
options.beforeRedirects.config = config2.beforeRedirect;
|
|
81111
|
+
}
|
|
81112
|
+
transport = isHttpsRequest ? httpsFollow : httpFollow;
|
|
80981
81113
|
}
|
|
80982
|
-
transport = isHttpsRequest ? httpsFollow : httpFollow;
|
|
80983
81114
|
}
|
|
80984
81115
|
if (config2.maxBodyLength > -1) {
|
|
80985
81116
|
options.maxBodyLength = config2.maxBodyLength;
|
|
@@ -80992,7 +81123,7 @@ var require_axios = __commonJS({
|
|
|
80992
81123
|
req = transport.request(options, function handleResponse(res) {
|
|
80993
81124
|
if (req.destroyed) return;
|
|
80994
81125
|
const streams = [res];
|
|
80995
|
-
const responseLength =
|
|
81126
|
+
const responseLength = utils$1.toFiniteNumber(res.headers["content-length"]);
|
|
80996
81127
|
if (onDownloadProgress || maxDownloadRate) {
|
|
80997
81128
|
const transformStream = new AxiosTransformStream$1({
|
|
80998
81129
|
maxRate: utils$1.toFiniteNumber(maxDownloadRate)
|
|
@@ -81034,10 +81165,6 @@ var require_axios = __commonJS({
|
|
|
81034
81165
|
}
|
|
81035
81166
|
}
|
|
81036
81167
|
responseStream = streams.length > 1 ? stream__default["default"].pipeline(streams, utils$1.noop) : streams[0];
|
|
81037
|
-
const offListeners = stream__default["default"].finished(responseStream, () => {
|
|
81038
|
-
offListeners();
|
|
81039
|
-
onFinished();
|
|
81040
|
-
});
|
|
81041
81168
|
const response = {
|
|
81042
81169
|
status: res.statusCode,
|
|
81043
81170
|
statusText: res.statusMessage,
|
|
@@ -81057,7 +81184,7 @@ var require_axios = __commonJS({
|
|
|
81057
81184
|
if (config2.maxContentLength > -1 && totalResponseBytes > config2.maxContentLength) {
|
|
81058
81185
|
rejected = true;
|
|
81059
81186
|
responseStream.destroy();
|
|
81060
|
-
|
|
81187
|
+
abort(new AxiosError(
|
|
81061
81188
|
"maxContentLength size of " + config2.maxContentLength + " exceeded",
|
|
81062
81189
|
AxiosError.ERR_BAD_RESPONSE,
|
|
81063
81190
|
config2,
|
|
@@ -81098,16 +81225,19 @@ var require_axios = __commonJS({
|
|
|
81098
81225
|
settle(resolve2, reject, response);
|
|
81099
81226
|
});
|
|
81100
81227
|
}
|
|
81101
|
-
|
|
81228
|
+
abortEmitter.once("abort", (err) => {
|
|
81102
81229
|
if (!responseStream.destroyed) {
|
|
81103
81230
|
responseStream.emit("error", err);
|
|
81104
81231
|
responseStream.destroy();
|
|
81105
81232
|
}
|
|
81106
81233
|
});
|
|
81107
81234
|
});
|
|
81108
|
-
|
|
81109
|
-
|
|
81110
|
-
|
|
81235
|
+
abortEmitter.once("abort", (err) => {
|
|
81236
|
+
if (req.close) {
|
|
81237
|
+
req.close();
|
|
81238
|
+
} else {
|
|
81239
|
+
req.destroy(err);
|
|
81240
|
+
}
|
|
81111
81241
|
});
|
|
81112
81242
|
req.on("error", function handleRequestError(err) {
|
|
81113
81243
|
reject(AxiosError.from(err, null, config2, req));
|
|
@@ -81118,7 +81248,7 @@ var require_axios = __commonJS({
|
|
|
81118
81248
|
if (config2.timeout) {
|
|
81119
81249
|
const timeout = parseInt(config2.timeout, 10);
|
|
81120
81250
|
if (Number.isNaN(timeout)) {
|
|
81121
|
-
|
|
81251
|
+
abort(new AxiosError(
|
|
81122
81252
|
"error trying to parse `config.timeout` to int",
|
|
81123
81253
|
AxiosError.ERR_BAD_OPTION_VALUE,
|
|
81124
81254
|
config2,
|
|
@@ -81133,13 +81263,12 @@ var require_axios = __commonJS({
|
|
|
81133
81263
|
if (config2.timeoutErrorMessage) {
|
|
81134
81264
|
timeoutErrorMessage = config2.timeoutErrorMessage;
|
|
81135
81265
|
}
|
|
81136
|
-
|
|
81266
|
+
abort(new AxiosError(
|
|
81137
81267
|
timeoutErrorMessage,
|
|
81138
81268
|
transitional.clarifyTimeoutError ? AxiosError.ETIMEDOUT : AxiosError.ECONNABORTED,
|
|
81139
81269
|
config2,
|
|
81140
81270
|
req
|
|
81141
81271
|
));
|
|
81142
|
-
abort();
|
|
81143
81272
|
});
|
|
81144
81273
|
}
|
|
81145
81274
|
if (utils$1.isStream(data)) {
|
|
@@ -81159,7 +81288,8 @@ var require_axios = __commonJS({
|
|
|
81159
81288
|
});
|
|
81160
81289
|
data.pipe(req);
|
|
81161
81290
|
} else {
|
|
81162
|
-
req.
|
|
81291
|
+
data && req.write(data);
|
|
81292
|
+
req.end();
|
|
81163
81293
|
}
|
|
81164
81294
|
});
|
|
81165
81295
|
};
|
|
@@ -81173,20 +81303,33 @@ var require_axios = __commonJS({
|
|
|
81173
81303
|
var cookies = platform.hasStandardBrowserEnv ? (
|
|
81174
81304
|
// Standard browser envs support document.cookie
|
|
81175
81305
|
{
|
|
81176
|
-
write(name, value, expires, path9, domain2, secure) {
|
|
81177
|
-
|
|
81178
|
-
|
|
81179
|
-
utils$1.
|
|
81180
|
-
|
|
81181
|
-
|
|
81306
|
+
write(name, value, expires, path9, domain2, secure, sameSite) {
|
|
81307
|
+
if (typeof document === "undefined") return;
|
|
81308
|
+
const cookie = [`${name}=${encodeURIComponent(value)}`];
|
|
81309
|
+
if (utils$1.isNumber(expires)) {
|
|
81310
|
+
cookie.push(`expires=${new Date(expires).toUTCString()}`);
|
|
81311
|
+
}
|
|
81312
|
+
if (utils$1.isString(path9)) {
|
|
81313
|
+
cookie.push(`path=${path9}`);
|
|
81314
|
+
}
|
|
81315
|
+
if (utils$1.isString(domain2)) {
|
|
81316
|
+
cookie.push(`domain=${domain2}`);
|
|
81317
|
+
}
|
|
81318
|
+
if (secure === true) {
|
|
81319
|
+
cookie.push("secure");
|
|
81320
|
+
}
|
|
81321
|
+
if (utils$1.isString(sameSite)) {
|
|
81322
|
+
cookie.push(`SameSite=${sameSite}`);
|
|
81323
|
+
}
|
|
81182
81324
|
document.cookie = cookie.join("; ");
|
|
81183
81325
|
},
|
|
81184
81326
|
read(name) {
|
|
81185
|
-
|
|
81186
|
-
|
|
81327
|
+
if (typeof document === "undefined") return null;
|
|
81328
|
+
const match2 = document.cookie.match(new RegExp("(?:^|; )" + name + "=([^;]*)"));
|
|
81329
|
+
return match2 ? decodeURIComponent(match2[1]) : null;
|
|
81187
81330
|
},
|
|
81188
81331
|
remove(name) {
|
|
81189
|
-
this.write(name, "", Date.now() - 864e5);
|
|
81332
|
+
this.write(name, "", Date.now() - 864e5, "/");
|
|
81190
81333
|
}
|
|
81191
81334
|
}
|
|
81192
81335
|
) : (
|
|
@@ -81741,7 +81884,7 @@ var require_axios = __commonJS({
|
|
|
81741
81884
|
};
|
|
81742
81885
|
var seedCache = /* @__PURE__ */ new Map();
|
|
81743
81886
|
var getFetch = (config2) => {
|
|
81744
|
-
let env2 = config2
|
|
81887
|
+
let env2 = config2 && config2.env || {};
|
|
81745
81888
|
const { fetch: fetch2, Request: Request2, Response } = env2;
|
|
81746
81889
|
const seeds = [
|
|
81747
81890
|
Request2,
|
|
@@ -81776,40 +81919,49 @@ var require_axios = __commonJS({
|
|
|
81776
81919
|
});
|
|
81777
81920
|
var renderReason = (reason) => `- ${reason}`;
|
|
81778
81921
|
var isResolvedHandle = (adapter) => utils$1.isFunction(adapter) || adapter === null || adapter === false;
|
|
81779
|
-
|
|
81780
|
-
|
|
81781
|
-
|
|
81782
|
-
|
|
81783
|
-
|
|
81784
|
-
|
|
81785
|
-
|
|
81786
|
-
|
|
81787
|
-
|
|
81788
|
-
|
|
81789
|
-
|
|
81790
|
-
|
|
81791
|
-
|
|
81792
|
-
|
|
81793
|
-
throw new AxiosError(`Unknown adapter '${id}'`);
|
|
81794
|
-
}
|
|
81795
|
-
}
|
|
81796
|
-
if (adapter && (utils$1.isFunction(adapter) || (adapter = adapter.get(config2)))) {
|
|
81797
|
-
break;
|
|
81922
|
+
function getAdapter(adapters2, config2) {
|
|
81923
|
+
adapters2 = utils$1.isArray(adapters2) ? adapters2 : [adapters2];
|
|
81924
|
+
const { length } = adapters2;
|
|
81925
|
+
let nameOrAdapter;
|
|
81926
|
+
let adapter;
|
|
81927
|
+
const rejectedReasons = {};
|
|
81928
|
+
for (let i = 0; i < length; i++) {
|
|
81929
|
+
nameOrAdapter = adapters2[i];
|
|
81930
|
+
let id;
|
|
81931
|
+
adapter = nameOrAdapter;
|
|
81932
|
+
if (!isResolvedHandle(nameOrAdapter)) {
|
|
81933
|
+
adapter = knownAdapters[(id = String(nameOrAdapter)).toLowerCase()];
|
|
81934
|
+
if (adapter === void 0) {
|
|
81935
|
+
throw new AxiosError(`Unknown adapter '${id}'`);
|
|
81798
81936
|
}
|
|
81799
|
-
rejectedReasons[id || "#" + i] = adapter;
|
|
81800
81937
|
}
|
|
81801
|
-
if (
|
|
81802
|
-
|
|
81803
|
-
([id, state]) => `adapter ${id} ` + (state === false ? "is not supported by the environment" : "is not available in the build")
|
|
81804
|
-
);
|
|
81805
|
-
let s = length ? reasons.length > 1 ? "since :\n" + reasons.map(renderReason).join("\n") : " " + renderReason(reasons[0]) : "as no adapter specified";
|
|
81806
|
-
throw new AxiosError(
|
|
81807
|
-
`There is no suitable adapter to dispatch the request ` + s,
|
|
81808
|
-
"ERR_NOT_SUPPORT"
|
|
81809
|
-
);
|
|
81938
|
+
if (adapter && (utils$1.isFunction(adapter) || (adapter = adapter.get(config2)))) {
|
|
81939
|
+
break;
|
|
81810
81940
|
}
|
|
81811
|
-
|
|
81812
|
-
}
|
|
81941
|
+
rejectedReasons[id || "#" + i] = adapter;
|
|
81942
|
+
}
|
|
81943
|
+
if (!adapter) {
|
|
81944
|
+
const reasons = Object.entries(rejectedReasons).map(
|
|
81945
|
+
([id, state]) => `adapter ${id} ` + (state === false ? "is not supported by the environment" : "is not available in the build")
|
|
81946
|
+
);
|
|
81947
|
+
let s = length ? reasons.length > 1 ? "since :\n" + reasons.map(renderReason).join("\n") : " " + renderReason(reasons[0]) : "as no adapter specified";
|
|
81948
|
+
throw new AxiosError(
|
|
81949
|
+
`There is no suitable adapter to dispatch the request ` + s,
|
|
81950
|
+
"ERR_NOT_SUPPORT"
|
|
81951
|
+
);
|
|
81952
|
+
}
|
|
81953
|
+
return adapter;
|
|
81954
|
+
}
|
|
81955
|
+
var adapters = {
|
|
81956
|
+
/**
|
|
81957
|
+
* Resolve an adapter from a list of adapter names or functions.
|
|
81958
|
+
* @type {Function}
|
|
81959
|
+
*/
|
|
81960
|
+
getAdapter,
|
|
81961
|
+
/**
|
|
81962
|
+
* Exposes all known adapters
|
|
81963
|
+
* @type {Object<string, Function|Object>}
|
|
81964
|
+
*/
|
|
81813
81965
|
adapters: knownAdapters
|
|
81814
81966
|
};
|
|
81815
81967
|
function throwIfCancellationRequested(config2) {
|
|
@@ -82254,7 +82406,13 @@ var require_axios = __commonJS({
|
|
|
82254
82406
|
InsufficientStorage: 507,
|
|
82255
82407
|
LoopDetected: 508,
|
|
82256
82408
|
NotExtended: 510,
|
|
82257
|
-
NetworkAuthenticationRequired: 511
|
|
82409
|
+
NetworkAuthenticationRequired: 511,
|
|
82410
|
+
WebServerIsDown: 521,
|
|
82411
|
+
ConnectionTimedOut: 522,
|
|
82412
|
+
OriginIsUnreachable: 523,
|
|
82413
|
+
TimeoutOccurred: 524,
|
|
82414
|
+
SslHandshakeFailed: 525,
|
|
82415
|
+
InvalidSslCertificate: 526
|
|
82258
82416
|
};
|
|
82259
82417
|
Object.entries(HttpStatusCode).forEach(([key, value]) => {
|
|
82260
82418
|
HttpStatusCode[value] = key;
|
|
@@ -110400,7 +110558,7 @@ var require_version5 = __commonJS({
|
|
|
110400
110558
|
"use strict";
|
|
110401
110559
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
110402
110560
|
exports2.version = void 0;
|
|
110403
|
-
exports2.version = "2.38.
|
|
110561
|
+
exports2.version = "2.38.6";
|
|
110404
110562
|
}
|
|
110405
110563
|
});
|
|
110406
110564
|
|
|
@@ -118198,6 +118356,8 @@ var require_transactionRequest = __commonJS({
|
|
|
118198
118356
|
}
|
|
118199
118357
|
if (typeof request.data !== "undefined")
|
|
118200
118358
|
rpcRequest.data = request.data;
|
|
118359
|
+
if (request.account)
|
|
118360
|
+
rpcRequest.from = request.account.address;
|
|
118201
118361
|
if (typeof request.from !== "undefined")
|
|
118202
118362
|
rpcRequest.from = request.from;
|
|
118203
118363
|
if (typeof request.gas !== "undefined")
|
|
@@ -119241,7 +119401,8 @@ var require_prepareTransactionRequest = __commonJS({
|
|
|
119241
119401
|
if (parameters.includes("gas") && typeof gas === "undefined")
|
|
119242
119402
|
request.gas = await (0, getAction_js_1.getAction)(client, estimateGas_js_1.estimateGas, "estimateGas")({
|
|
119243
119403
|
...request,
|
|
119244
|
-
account
|
|
119404
|
+
account,
|
|
119405
|
+
prepare: account?.type === "local" ? [] : ["blobVersionedHashes"]
|
|
119245
119406
|
});
|
|
119246
119407
|
(0, assertRequest_js_1.assertRequest)(request);
|
|
119247
119408
|
delete request.parameters;
|
|
@@ -119267,13 +119428,20 @@ var require_estimateGas2 = __commonJS({
|
|
|
119267
119428
|
var assertRequest_js_1 = require_assertRequest();
|
|
119268
119429
|
var prepareTransactionRequest_js_1 = require_prepareTransactionRequest();
|
|
119269
119430
|
async function estimateGas2(client, args) {
|
|
119270
|
-
const { account: account_ = client.account } = args;
|
|
119431
|
+
const { account: account_ = client.account, prepare = true } = args;
|
|
119271
119432
|
const account = account_ ? (0, parseAccount_js_1.parseAccount)(account_) : void 0;
|
|
119433
|
+
const parameters = (() => {
|
|
119434
|
+
if (Array.isArray(prepare))
|
|
119435
|
+
return prepare;
|
|
119436
|
+
if (account?.type !== "local")
|
|
119437
|
+
return ["blobVersionedHashes"];
|
|
119438
|
+
return void 0;
|
|
119439
|
+
})();
|
|
119272
119440
|
try {
|
|
119273
|
-
const { accessList, authorizationList, blobs, blobVersionedHashes, blockNumber, blockTag, data, gas, gasPrice, maxFeePerBlobGas, maxFeePerGas, maxPriorityFeePerGas, nonce, value, stateOverride, ...rest } = await (0, prepareTransactionRequest_js_1.prepareTransactionRequest)(client, {
|
|
119441
|
+
const { accessList, authorizationList, blobs, blobVersionedHashes, blockNumber, blockTag, data, gas, gasPrice, maxFeePerBlobGas, maxFeePerGas, maxPriorityFeePerGas, nonce, value, stateOverride, ...rest } = prepare ? await (0, prepareTransactionRequest_js_1.prepareTransactionRequest)(client, {
|
|
119274
119442
|
...args,
|
|
119275
|
-
parameters
|
|
119276
|
-
});
|
|
119443
|
+
parameters
|
|
119444
|
+
}) : args;
|
|
119277
119445
|
const blockNumberHex = typeof blockNumber === "bigint" ? (0, toHex_js_1.numberToHex)(blockNumber) : void 0;
|
|
119278
119446
|
const block = blockNumberHex || blockTag;
|
|
119279
119447
|
const rpcStateOverride = (0, stateOverride_js_1.serializeStateOverride)(stateOverride);
|
|
@@ -119293,7 +119461,7 @@ var require_estimateGas2 = __commonJS({
|
|
|
119293
119461
|
const format = chainFormat || transactionRequest_js_1.formatTransactionRequest;
|
|
119294
119462
|
const request = format({
|
|
119295
119463
|
...(0, extract_js_1.extract)(rest, { format: chainFormat }),
|
|
119296
|
-
|
|
119464
|
+
account,
|
|
119297
119465
|
accessList,
|
|
119298
119466
|
authorizationList,
|
|
119299
119467
|
blobs,
|
|
@@ -123275,8 +123443,8 @@ var require_call = __commonJS({
|
|
|
123275
123443
|
const format = chainFormat || transactionRequest_js_1.formatTransactionRequest;
|
|
123276
123444
|
const request = format({
|
|
123277
123445
|
...(0, extract_js_1.extract)(rest, { format: chainFormat }),
|
|
123278
|
-
from: account?.address,
|
|
123279
123446
|
accessList,
|
|
123447
|
+
account,
|
|
123280
123448
|
authorizationList,
|
|
123281
123449
|
blobs,
|
|
123282
123450
|
data,
|
|
@@ -124093,11 +124261,11 @@ var require_sendTransaction = __commonJS({
|
|
|
124093
124261
|
const request = format({
|
|
124094
124262
|
...(0, extract_js_1.extract)(rest, { format: chainFormat }),
|
|
124095
124263
|
accessList,
|
|
124264
|
+
account,
|
|
124096
124265
|
authorizationList,
|
|
124097
124266
|
blobs,
|
|
124098
124267
|
chainId,
|
|
124099
124268
|
data,
|
|
124100
|
-
from: account?.address,
|
|
124101
124269
|
gas,
|
|
124102
124270
|
gasPrice,
|
|
124103
124271
|
maxFeePerBlobGas,
|
|
@@ -125580,7 +125748,7 @@ var require_createAccessList = __commonJS({
|
|
|
125580
125748
|
const format = chainFormat || transactionRequest_js_1.formatTransactionRequest;
|
|
125581
125749
|
const request = format({
|
|
125582
125750
|
...(0, extract_js_1.extract)(rest, { format: chainFormat }),
|
|
125583
|
-
|
|
125751
|
+
account,
|
|
125584
125752
|
blobs,
|
|
125585
125753
|
data,
|
|
125586
125754
|
gas,
|
|
@@ -135300,6 +135468,7 @@ var require_simulateBlocks = __commonJS({
|
|
|
135300
135468
|
const data = call2.abi ? (0, encodeFunctionData_js_1.encodeFunctionData)(call2) : call2.data;
|
|
135301
135469
|
const request = {
|
|
135302
135470
|
...call2,
|
|
135471
|
+
account,
|
|
135303
135472
|
data: call2.dataSuffix ? (0, concat_js_1.concat)([data || "0x", call2.dataSuffix]) : data,
|
|
135304
135473
|
from: call2.from ?? account?.address
|
|
135305
135474
|
};
|
|
@@ -138231,11 +138400,11 @@ var require_sendTransactionSync = __commonJS({
|
|
|
138231
138400
|
const request = format({
|
|
138232
138401
|
...(0, extract_js_1.extract)(rest, { format: chainFormat }),
|
|
138233
138402
|
accessList,
|
|
138403
|
+
account,
|
|
138234
138404
|
authorizationList,
|
|
138235
138405
|
blobs,
|
|
138236
138406
|
chainId,
|
|
138237
138407
|
data,
|
|
138238
|
-
from: account?.address,
|
|
138239
138408
|
gas,
|
|
138240
138409
|
gasPrice,
|
|
138241
138410
|
maxFeePerBlobGas,
|
|
@@ -138463,7 +138632,10 @@ var require_signTransaction = __commonJS({
|
|
|
138463
138632
|
method: "eth_signTransaction",
|
|
138464
138633
|
params: [
|
|
138465
138634
|
{
|
|
138466
|
-
...format(
|
|
138635
|
+
...format({
|
|
138636
|
+
...transaction,
|
|
138637
|
+
account
|
|
138638
|
+
}, "signTransaction"),
|
|
138467
138639
|
chainId: (0, toHex_js_1.numberToHex)(chainId),
|
|
138468
138640
|
from: account.address
|
|
138469
138641
|
}
|
|
@@ -168313,6 +168485,33 @@ var require_gMainnet = __commonJS({
|
|
|
168313
168485
|
}
|
|
168314
168486
|
});
|
|
168315
168487
|
|
|
168488
|
+
// ../../node_modules/viem/_cjs/chains/definitions/0gTestnet.js
|
|
168489
|
+
var require_gTestnet = __commonJS({
|
|
168490
|
+
"../../node_modules/viem/_cjs/chains/definitions/0gTestnet.js"(exports2) {
|
|
168491
|
+
"use strict";
|
|
168492
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
168493
|
+
exports2.zeroGTestnet = void 0;
|
|
168494
|
+
var defineChain_js_1 = require_defineChain();
|
|
168495
|
+
exports2.zeroGTestnet = (0, defineChain_js_1.defineChain)({
|
|
168496
|
+
id: 16602,
|
|
168497
|
+
name: "0G Galileo Testnet",
|
|
168498
|
+
nativeCurrency: { name: "A0GI", symbol: "A0GI", decimals: 18 },
|
|
168499
|
+
rpcUrls: {
|
|
168500
|
+
default: {
|
|
168501
|
+
http: ["https://evmrpc-testnet.0g.ai"]
|
|
168502
|
+
}
|
|
168503
|
+
},
|
|
168504
|
+
blockExplorers: {
|
|
168505
|
+
default: {
|
|
168506
|
+
name: "0G BlockChain Explorer",
|
|
168507
|
+
url: "https://chainscan-galileo.0g.ai"
|
|
168508
|
+
}
|
|
168509
|
+
},
|
|
168510
|
+
testnet: true
|
|
168511
|
+
});
|
|
168512
|
+
}
|
|
168513
|
+
});
|
|
168514
|
+
|
|
168316
168515
|
// ../../node_modules/viem/_cjs/chains/definitions/5ireChain.js
|
|
168317
168516
|
var require_ireChain = __commonJS({
|
|
168318
168517
|
"../../node_modules/viem/_cjs/chains/definitions/5ireChain.js"(exports2) {
|
|
@@ -168778,6 +168977,7 @@ var require_abstract = __commonJS({
|
|
|
168778
168977
|
var chainConfig_js_1 = require_chainConfig();
|
|
168779
168978
|
exports2.abstract = (0, defineChain_js_1.defineChain)({
|
|
168780
168979
|
...chainConfig_js_1.chainConfig,
|
|
168980
|
+
blockTime: 200,
|
|
168781
168981
|
id: 2741,
|
|
168782
168982
|
name: "Abstract",
|
|
168783
168983
|
nativeCurrency: {
|
|
@@ -168825,6 +169025,7 @@ var require_abstractTestnet = __commonJS({
|
|
|
168825
169025
|
var chainConfig_js_1 = require_chainConfig();
|
|
168826
169026
|
exports2.abstractTestnet = (0, defineChain_js_1.defineChain)({
|
|
168827
169027
|
...chainConfig_js_1.chainConfig,
|
|
169028
|
+
blockTime: 200,
|
|
168828
169029
|
id: 11124,
|
|
168829
169030
|
name: "Abstract Testnet",
|
|
168830
169031
|
nativeCurrency: {
|
|
@@ -169630,6 +169831,52 @@ var require_arbitrumSepolia = __commonJS({
|
|
|
169630
169831
|
}
|
|
169631
169832
|
});
|
|
169632
169833
|
|
|
169834
|
+
// ../../node_modules/viem/_cjs/chains/definitions/arcTestnet.js
|
|
169835
|
+
var require_arcTestnet = __commonJS({
|
|
169836
|
+
"../../node_modules/viem/_cjs/chains/definitions/arcTestnet.js"(exports2) {
|
|
169837
|
+
"use strict";
|
|
169838
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
169839
|
+
exports2.arcTestnet = void 0;
|
|
169840
|
+
var defineChain_js_1 = require_defineChain();
|
|
169841
|
+
exports2.arcTestnet = (0, defineChain_js_1.defineChain)({
|
|
169842
|
+
id: 5042002,
|
|
169843
|
+
name: "Arc Testnet",
|
|
169844
|
+
nativeCurrency: {
|
|
169845
|
+
name: "USDC",
|
|
169846
|
+
symbol: "USDC",
|
|
169847
|
+
decimals: 18
|
|
169848
|
+
},
|
|
169849
|
+
rpcUrls: {
|
|
169850
|
+
default: {
|
|
169851
|
+
http: [
|
|
169852
|
+
"https://rpc.testnet.arc.network",
|
|
169853
|
+
"https://rpc.quicknode.testnet.arc.network",
|
|
169854
|
+
"https://rpc.blockdaemon.testnet.arc.network"
|
|
169855
|
+
],
|
|
169856
|
+
webSocket: [
|
|
169857
|
+
"wss://rpc.testnet.arc.network",
|
|
169858
|
+
"wss://rpc.quicknode.testnet.arc.network"
|
|
169859
|
+
]
|
|
169860
|
+
}
|
|
169861
|
+
},
|
|
169862
|
+
blockExplorers: {
|
|
169863
|
+
default: {
|
|
169864
|
+
name: "ArcScan",
|
|
169865
|
+
url: "https://testnet.arcscan.app",
|
|
169866
|
+
apiUrl: "https://testnet.arcscan.app/api"
|
|
169867
|
+
}
|
|
169868
|
+
},
|
|
169869
|
+
contracts: {
|
|
169870
|
+
multicall3: {
|
|
169871
|
+
address: "0xcA11bde05977b3631167028862bE2a173976CA11",
|
|
169872
|
+
blockCreated: 0
|
|
169873
|
+
}
|
|
169874
|
+
},
|
|
169875
|
+
testnet: true
|
|
169876
|
+
});
|
|
169877
|
+
}
|
|
169878
|
+
});
|
|
169879
|
+
|
|
169633
169880
|
// ../../node_modules/viem/_cjs/chains/definitions/arenaz.js
|
|
169634
169881
|
var require_arenaz = __commonJS({
|
|
169635
169882
|
"../../node_modules/viem/_cjs/chains/definitions/arenaz.js"(exports2) {
|
|
@@ -176241,6 +176488,35 @@ var require_garnet = __commonJS({
|
|
|
176241
176488
|
}
|
|
176242
176489
|
});
|
|
176243
176490
|
|
|
176491
|
+
// ../../node_modules/viem/_cjs/chains/definitions/gatechain.js
|
|
176492
|
+
var require_gatechain = __commonJS({
|
|
176493
|
+
"../../node_modules/viem/_cjs/chains/definitions/gatechain.js"(exports2) {
|
|
176494
|
+
"use strict";
|
|
176495
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
176496
|
+
exports2.gatechain = void 0;
|
|
176497
|
+
var defineChain_js_1 = require_defineChain();
|
|
176498
|
+
exports2.gatechain = (0, defineChain_js_1.defineChain)({
|
|
176499
|
+
id: 86,
|
|
176500
|
+
name: "GateChain Mainnet",
|
|
176501
|
+
nativeCurrency: { name: "GateChainToken", symbol: "GT", decimals: 18 },
|
|
176502
|
+
rpcUrls: {
|
|
176503
|
+
default: {
|
|
176504
|
+
http: ["https://evm.nodeinfo.cc"],
|
|
176505
|
+
webSocket: ["wss://evm-ws.gatenode.cc"]
|
|
176506
|
+
}
|
|
176507
|
+
},
|
|
176508
|
+
blockExplorers: {
|
|
176509
|
+
default: {
|
|
176510
|
+
name: "Gate Scan",
|
|
176511
|
+
url: "https://www.gatescan.org",
|
|
176512
|
+
apiUrl: "https://gatescan.org/api"
|
|
176513
|
+
}
|
|
176514
|
+
},
|
|
176515
|
+
testnet: false
|
|
176516
|
+
});
|
|
176517
|
+
}
|
|
176518
|
+
});
|
|
176519
|
+
|
|
176244
176520
|
// ../../node_modules/viem/_cjs/chains/definitions/geist.js
|
|
176245
176521
|
var require_geist = __commonJS({
|
|
176246
176522
|
"../../node_modules/viem/_cjs/chains/definitions/geist.js"(exports2) {
|
|
@@ -177104,13 +177380,13 @@ var require_hashkeyChainTestnet = __commonJS({
|
|
|
177104
177380
|
},
|
|
177105
177381
|
rpcUrls: {
|
|
177106
177382
|
default: {
|
|
177107
|
-
http: ["https://
|
|
177383
|
+
http: ["https://testnet.hsk.xyz"]
|
|
177108
177384
|
}
|
|
177109
177385
|
},
|
|
177110
177386
|
blockExplorers: {
|
|
177111
177387
|
default: {
|
|
177112
|
-
name: "HashKey Chain
|
|
177113
|
-
url: "https://
|
|
177388
|
+
name: "HashKey Chain Testnet explorer",
|
|
177389
|
+
url: "https://testnet-explorer.hsk.xyz"
|
|
177114
177390
|
}
|
|
177115
177391
|
},
|
|
177116
177392
|
testnet: true
|
|
@@ -178458,13 +178734,13 @@ var require_jovay = __commonJS({
|
|
|
178458
178734
|
},
|
|
178459
178735
|
rpcUrls: {
|
|
178460
178736
|
default: {
|
|
178461
|
-
http: ["https://
|
|
178737
|
+
http: ["https://rpc.jovay.io"]
|
|
178462
178738
|
}
|
|
178463
178739
|
},
|
|
178464
178740
|
blockExplorers: {
|
|
178465
178741
|
default: {
|
|
178466
178742
|
name: "Jovay Explorer",
|
|
178467
|
-
url: "https://explorer.jovay.io"
|
|
178743
|
+
url: "https://explorer.jovay.io/l2"
|
|
178468
178744
|
}
|
|
178469
178745
|
},
|
|
178470
178746
|
testnet: false
|
|
@@ -179718,7 +179994,7 @@ var require_estimateGas3 = __commonJS({
|
|
|
179718
179994
|
const format = chainFormat || transactionRequest_js_1.formatTransactionRequest;
|
|
179719
179995
|
const request = format({
|
|
179720
179996
|
...(0, extract_js_1.extract)(rest, { format: chainFormat }),
|
|
179721
|
-
|
|
179997
|
+
account,
|
|
179722
179998
|
accessList,
|
|
179723
179999
|
data,
|
|
179724
180000
|
gas,
|
|
@@ -182403,6 +182679,38 @@ var require_nitrographTestnet = __commonJS({
|
|
|
182403
182679
|
}
|
|
182404
182680
|
});
|
|
182405
182681
|
|
|
182682
|
+
// ../../node_modules/viem/_cjs/chains/definitions/nomina.js
|
|
182683
|
+
var require_nomina = __commonJS({
|
|
182684
|
+
"../../node_modules/viem/_cjs/chains/definitions/nomina.js"(exports2) {
|
|
182685
|
+
"use strict";
|
|
182686
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
182687
|
+
exports2.nomina = void 0;
|
|
182688
|
+
var defineChain_js_1 = require_defineChain();
|
|
182689
|
+
exports2.nomina = (0, defineChain_js_1.defineChain)({
|
|
182690
|
+
id: 166,
|
|
182691
|
+
name: "Nomina",
|
|
182692
|
+
nativeCurrency: {
|
|
182693
|
+
name: "Nomina",
|
|
182694
|
+
symbol: "NOM",
|
|
182695
|
+
decimals: 18
|
|
182696
|
+
},
|
|
182697
|
+
rpcUrls: {
|
|
182698
|
+
default: {
|
|
182699
|
+
http: ["https://mainnet.nomina.io"],
|
|
182700
|
+
webSocket: ["wss://mainnet.nomina.io"]
|
|
182701
|
+
}
|
|
182702
|
+
},
|
|
182703
|
+
blockExplorers: {
|
|
182704
|
+
default: {
|
|
182705
|
+
name: "Nomina Explorer",
|
|
182706
|
+
url: "https://nomscan.io"
|
|
182707
|
+
}
|
|
182708
|
+
},
|
|
182709
|
+
testnet: false
|
|
182710
|
+
});
|
|
182711
|
+
}
|
|
182712
|
+
});
|
|
182713
|
+
|
|
182406
182714
|
// ../../node_modules/viem/_cjs/chains/definitions/oasisTestnet.js
|
|
182407
182715
|
var require_oasisTestnet = __commonJS({
|
|
182408
182716
|
"../../node_modules/viem/_cjs/chains/definitions/oasisTestnet.js"(exports2) {
|
|
@@ -183279,7 +183587,7 @@ var require_pgnTestnet = __commonJS({
|
|
|
183279
183587
|
exports2.pgnTestnet = (0, defineChain_js_1.defineChain)({
|
|
183280
183588
|
id: 58008,
|
|
183281
183589
|
network: "pgn-testnet",
|
|
183282
|
-
name: "PGN
|
|
183590
|
+
name: "PGN",
|
|
183283
183591
|
nativeCurrency: { name: "Ether", symbol: "ETH", decimals: 18 },
|
|
183284
183592
|
rpcUrls: {
|
|
183285
183593
|
default: {
|
|
@@ -184354,6 +184662,66 @@ var require_qTestnet = __commonJS({
|
|
|
184354
184662
|
}
|
|
184355
184663
|
});
|
|
184356
184664
|
|
|
184665
|
+
// ../../node_modules/viem/_cjs/chains/definitions/quai.js
|
|
184666
|
+
var require_quai = __commonJS({
|
|
184667
|
+
"../../node_modules/viem/_cjs/chains/definitions/quai.js"(exports2) {
|
|
184668
|
+
"use strict";
|
|
184669
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
184670
|
+
exports2.quai = void 0;
|
|
184671
|
+
var defineChain_js_1 = require_defineChain();
|
|
184672
|
+
exports2.quai = (0, defineChain_js_1.defineChain)({
|
|
184673
|
+
id: 9,
|
|
184674
|
+
name: "Quai Network Mainnet",
|
|
184675
|
+
nativeCurrency: {
|
|
184676
|
+
decimals: 18,
|
|
184677
|
+
name: "Quai",
|
|
184678
|
+
symbol: "QUAI"
|
|
184679
|
+
},
|
|
184680
|
+
rpcUrls: {
|
|
184681
|
+
default: { http: ["https://rpc.quai.network/cyprus1"] }
|
|
184682
|
+
},
|
|
184683
|
+
blockExplorers: {
|
|
184684
|
+
default: {
|
|
184685
|
+
name: "Quaiscan",
|
|
184686
|
+
url: "https://quaiscan.io",
|
|
184687
|
+
apiUrl: "https://quaiscan.io/api"
|
|
184688
|
+
}
|
|
184689
|
+
},
|
|
184690
|
+
testnet: false
|
|
184691
|
+
});
|
|
184692
|
+
}
|
|
184693
|
+
});
|
|
184694
|
+
|
|
184695
|
+
// ../../node_modules/viem/_cjs/chains/definitions/quaiTestnet.js
|
|
184696
|
+
var require_quaiTestnet = __commonJS({
|
|
184697
|
+
"../../node_modules/viem/_cjs/chains/definitions/quaiTestnet.js"(exports2) {
|
|
184698
|
+
"use strict";
|
|
184699
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
184700
|
+
exports2.quaiTestnet = void 0;
|
|
184701
|
+
var defineChain_js_1 = require_defineChain();
|
|
184702
|
+
exports2.quaiTestnet = (0, defineChain_js_1.defineChain)({
|
|
184703
|
+
id: 15e3,
|
|
184704
|
+
name: "Quai Network Testnet",
|
|
184705
|
+
nativeCurrency: {
|
|
184706
|
+
decimals: 18,
|
|
184707
|
+
name: "Quai",
|
|
184708
|
+
symbol: "QUAI"
|
|
184709
|
+
},
|
|
184710
|
+
rpcUrls: {
|
|
184711
|
+
default: { http: ["https://orchard.rpc.quai.network/cyprus1"] }
|
|
184712
|
+
},
|
|
184713
|
+
blockExplorers: {
|
|
184714
|
+
default: {
|
|
184715
|
+
name: "Orchard Quaiscan",
|
|
184716
|
+
url: "https://orchard.quaiscan.io",
|
|
184717
|
+
apiUrl: "https://orchard.quaiscan.io/api"
|
|
184718
|
+
}
|
|
184719
|
+
},
|
|
184720
|
+
testnet: true
|
|
184721
|
+
});
|
|
184722
|
+
}
|
|
184723
|
+
});
|
|
184724
|
+
|
|
184357
184725
|
// ../../node_modules/viem/_cjs/chains/definitions/real.js
|
|
184358
184726
|
var require_real = __commonJS({
|
|
184359
184727
|
"../../node_modules/viem/_cjs/chains/definitions/real.js"(exports2) {
|
|
@@ -185508,7 +185876,7 @@ var require_sepolia = __commonJS({
|
|
|
185508
185876
|
nativeCurrency: { name: "Sepolia Ether", symbol: "ETH", decimals: 18 },
|
|
185509
185877
|
rpcUrls: {
|
|
185510
185878
|
default: {
|
|
185511
|
-
http: ["https://
|
|
185879
|
+
http: ["https://11155111.rpc.thirdweb.com"]
|
|
185512
185880
|
}
|
|
185513
185881
|
},
|
|
185514
185882
|
blockExplorers: {
|
|
@@ -186888,6 +187256,7 @@ var require_sophon = __commonJS({
|
|
|
186888
187256
|
var chainConfig_js_1 = require_chainConfig();
|
|
186889
187257
|
exports2.sophon = (0, defineChain_js_1.defineChain)({
|
|
186890
187258
|
...chainConfig_js_1.chainConfig,
|
|
187259
|
+
blockTime: 200,
|
|
186891
187260
|
id: 50104,
|
|
186892
187261
|
name: "Sophon",
|
|
186893
187262
|
nativeCurrency: {
|
|
@@ -186928,6 +187297,7 @@ var require_sophonTestnet = __commonJS({
|
|
|
186928
187297
|
var chainConfig_js_1 = require_chainConfig();
|
|
186929
187298
|
exports2.sophonTestnet = (0, defineChain_js_1.defineChain)({
|
|
186930
187299
|
...chainConfig_js_1.chainConfig,
|
|
187300
|
+
blockTime: 200,
|
|
186931
187301
|
id: 531050104,
|
|
186932
187302
|
name: "Sophon Testnet",
|
|
186933
187303
|
nativeCurrency: {
|
|
@@ -190691,6 +191061,7 @@ var require_zksync = __commonJS({
|
|
|
190691
191061
|
var chainConfig_js_1 = require_chainConfig();
|
|
190692
191062
|
exports2.zksync = (0, defineChain_js_1.defineChain)({
|
|
190693
191063
|
...chainConfig_js_1.chainConfig,
|
|
191064
|
+
blockTime: 200,
|
|
190694
191065
|
id: 324,
|
|
190695
191066
|
name: "ZKsync Era",
|
|
190696
191067
|
network: "zksync-era",
|
|
@@ -190878,6 +191249,7 @@ var require_zksyncSepoliaTestnet = __commonJS({
|
|
|
190878
191249
|
var chainConfig_js_1 = require_chainConfig();
|
|
190879
191250
|
exports2.zksyncSepoliaTestnet = (0, defineChain_js_1.defineChain)({
|
|
190880
191251
|
...chainConfig_js_1.chainConfig,
|
|
191252
|
+
blockTime: 200,
|
|
190881
191253
|
id: 300,
|
|
190882
191254
|
name: "ZKsync Sepolia Testnet",
|
|
190883
191255
|
network: "zksync-sepolia-testnet",
|
|
@@ -191086,19 +191458,20 @@ var require_chains2 = __commonJS({
|
|
|
191086
191458
|
"../../node_modules/viem/_cjs/chains/index.js"(exports2) {
|
|
191087
191459
|
"use strict";
|
|
191088
191460
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
191089
|
-
exports2.
|
|
191090
|
-
exports2.
|
|
191091
|
-
exports2.
|
|
191092
|
-
exports2.
|
|
191093
|
-
exports2.
|
|
191094
|
-
exports2.
|
|
191095
|
-
exports2.
|
|
191096
|
-
exports2.
|
|
191097
|
-
exports2.
|
|
191098
|
-
exports2.
|
|
191099
|
-
exports2.
|
|
191100
|
-
exports2.
|
|
191101
|
-
exports2.
|
|
191461
|
+
exports2.base = exports2.bahamut = exports2.b3Sepolia = exports2.b3 = exports2.avalancheFuji = exports2.avalanche = exports2.autheoTestnet = exports2.auroria = exports2.auroraTestnet = exports2.aurora = exports2.atletaOlympia = exports2.astarZkyoto = exports2.astarZkEVM = exports2.astar = exports2.assetChainTestnet = exports2.assetChain = exports2.artheraTestnet = exports2.arthera = exports2.artelaTestnet = exports2.areum = exports2.areonNetworkTestnet = exports2.areonNetwork = exports2.arenaz = exports2.arcTestnet = exports2.arbitrumSepolia = exports2.arbitrumNova = exports2.arbitrumGoerli = exports2.arbitrum = exports2.apexTestnet = exports2.apeChain = exports2.anvil = exports2.ancient8Sepolia = exports2.ancient8 = exports2.alienxHalTestnet = exports2.alienx = exports2.alephZeroTestnet = exports2.alephZero = exports2.aioz = exports2.agungTestnet = exports2.adf = exports2.acria = exports2.acala = exports2.abstractTestnet = exports2.abstract = exports2.abey = exports2.fireChain = exports2.zeroGTestnet = exports2.zeroGMainnet = exports2.zeroGGalileoTestnet = exports2.zeroG = void 0;
|
|
191462
|
+
exports2.celoAlfajores = exports2.celo = exports2.canto = exports2.cannon = exports2.bxnTestnet = exports2.bxn = exports2.btrTestnet = exports2.btr = exports2.bsquaredTestnet = exports2.bsquared = exports2.bscTestnet = exports2.bscGreenfield = exports2.bsc = exports2.bronosTestnet = exports2.bronos = exports2.bounceBitTestnet = exports2.bounceBit = exports2.botanixTestnet = exports2.botanix = exports2.boolBetaMainnet = exports2.bobSepolia = exports2.bobaSepolia = exports2.boba = exports2.bob = exports2.blastSepolia = exports2.blast = exports2.bitTorrentTestnet = exports2.bitTorrent = exports2.bitrock = exports2.bitlayerTestnet = exports2.bitlayer = exports2.bitkubTestnet = exports2.bitkub = exports2.bitgert = exports2.birdlayer = exports2.bifrost = exports2.bevmMainnet = exports2.berachainTestnetbArtio = exports2.berachainTestnet = exports2.berachainBepolia = exports2.berachain = exports2.bearNetworkChainTestnet = exports2.bearNetworkChainMainnet = exports2.beamTestnet = exports2.beam = exports2.baseSepoliaPreconf = exports2.baseSepolia = exports2.baseGoerli = exports2.basecampTestnet = exports2.basePreconf = void 0;
|
|
191463
|
+
exports2.dustboyIoT = exports2.dreyerxTestnet = exports2.dreyerxMainnet = exports2.dosChainTestnet = exports2.dosChain = exports2.donatuz = exports2.domaTestnet = exports2.dogechain = exports2.dodochainTestnet = exports2.disChain = exports2.diode = exports2.dfk = exports2.degen = exports2.defichainEvmTestnet = exports2.defichainEvm = exports2.dchainTestnet = exports2.dchain = exports2.dbkchain = exports2.darwinia = exports2.dailyNetworkTestnet = exports2.dailyNetwork = exports2.cyberTestnet = exports2.cyber = exports2.curtis = exports2.crossfi = exports2.crossbell = exports2.cronoszkEVMTestnet = exports2.cronoszkEVM = exports2.cronosTestnet = exports2.cronos = exports2.creditCoin3Testnet = exports2.creditCoin3Mainnet = exports2.creditCoin3Devnet = exports2.creatorTestnet = exports2.crab = exports2.cornTestnet = exports2.corn = exports2.coreTestnet2 = exports2.coreTestnet1 = exports2.coreDao = exports2.confluxESpaceTestnet = exports2.confluxESpace = exports2.coinex = exports2.coinbit = exports2.classic = exports2.citreaTestnet = exports2.chips = exports2.chiliz = exports2.chang = exports2.celoSepolia = void 0;
|
|
191464
|
+
exports2.fluenceTestnet = exports2.fluenceStage = exports2.fluence = exports2.flowTestnet = exports2.flowPreviewnet = exports2.flowMainnet = exports2.flareTestnet = exports2.flare = exports2.flame = exports2.filecoinHyperspace = exports2.filecoinCalibration = exports2.filecoin = exports2.fibo = exports2.fantomTestnet = exports2.fantomSonicTestnet = exports2.fantom = exports2.exsatTestnet = exports2.exsat = exports2.expanse = exports2.excelonMainnet = exports2.evmosTestnet = exports2.evmos = exports2.etp = exports2.ethernity = exports2.etherlinkTestnet = exports2.etherlink = exports2.eteria = exports2.eosTestnet = exports2.eos = exports2.eon = exports2.enuls = exports2.eniTestnet = exports2.eni = exports2.energy = exports2.elysiumTestnet = exports2.electroneumTestnet = exports2.electroneum = exports2.elastosTestnet = exports2.elastos = exports2.ektaTestnet = exports2.ekta = exports2.eduChainTestnet = exports2.eduChain = exports2.edgewareTestnet = exports2.edgeware = exports2.edgelessTestnet = exports2.edgeless = exports2.edexaTestnet = exports2.edexa = exports2.dymension = void 0;
|
|
191465
|
+
exports2.holesky = exports2.hemiSepolia = exports2.hemi = exports2.hela = exports2.hederaTestnet = exports2.hederaPreviewnet = exports2.hedera = exports2.haustTestnet = exports2.hashkeyTestnet = exports2.hashkey = exports2.harmonyOne = exports2.hardhat = exports2.haqqTestedge2 = exports2.haqqMainnet = exports2.happychainTestnet = exports2.ham = exports2.guruTestnet = exports2.guruNetwork = exports2.gunz = exports2.gravity = exports2.graphiteTestnet = exports2.graphite = exports2.goerli = exports2.godwoken = exports2.goChain = exports2.gobi = exports2.goat = exports2.gnosisChiado = exports2.gnosis = exports2.glideL2Protocol = exports2.glideL1Protocol = exports2.giwaSepolia = exports2.genesys = exports2.geist = exports2.gatechain = exports2.garnet = exports2.fusionTestnet = exports2.fusion = exports2.fuseSparknet = exports2.fuse = exports2.funkiSepolia = exports2.funkiMainnet = exports2.fraxtalTestnet = exports2.fraxtal = exports2.foundry = exports2.forta = exports2.formTestnet = exports2.forma = exports2.form = exports2.fluentTestnet = void 0;
|
|
191466
|
+
exports2.kakarotStarknetSepolia = exports2.kakarotSepolia = exports2.kairos = exports2.kaia = exports2.juneoUSDT1Chain = exports2.juneoUSD1Chain = exports2.juneoSocotraTestnet = exports2.juneoSGD1Chain = exports2.juneomBTC1Chain = exports2.juneoLTC1Chain = exports2.juneoLINK1Chain = exports2.juneoGLD1Chain = exports2.juneoEUR1Chain = exports2.juneoDOGE1Chain = exports2.juneoDAI1Chain = exports2.juneoBCH1Chain = exports2.juneo = exports2.jovaySepolia = exports2.jovay = exports2.jocTestnet = exports2.jocMainnet = exports2.jbcTestnet = exports2.jbc = exports2.iSunCoin = exports2.iotexTestnet = exports2.iotex = exports2.iotaTestnet = exports2.iota = exports2.inkSepolia = exports2.ink = exports2.injectiveTestnet = exports2.injective = exports2.initVerseGenesis = exports2.initVerse = exports2.inEVM = exports2.immutableZkEvmTestnet = exports2.immutableZkEvm = exports2.idchain = exports2.icbNetwork = exports2.hyperliquidEvmTestnet = exports2.hychainTestnet = exports2.hychain = exports2.humanodeTestnet5 = exports2.humanode = exports2.humanityTestnet = exports2.humanity = exports2.huddle01Testnet = exports2.huddle01Mainnet = exports2.hpb = exports2.hoodi = void 0;
|
|
191467
|
+
exports2.matchain = exports2.mapProtocol = exports2.mantraEVM = exports2.mantraDuKongEVMTestnet = exports2.mantleTestnet = exports2.mantleSepoliaTestnet = exports2.mantle = exports2.mantaTestnet = exports2.mantaSepoliaTestnet = exports2.manta = exports2.mandala = exports2.mainnet = exports2.lyra = exports2.lycan = exports2.lumozTestnet = exports2.lumoz = exports2.lumiaTestnet = exports2.lumiaMainnet = exports2.luksoTestnet = exports2.lukso = exports2.loop = exports2.localhost = exports2.loadAlphanet = exports2.liskSepolia = exports2.lisk = exports2.lineaTestnet = exports2.lineaSepolia = exports2.lineaGoerli = exports2.linea = exports2.lightlinkPhoenix = exports2.lightlinkPegasus = exports2.lestnet = exports2.lensTestnet = exports2.lens = exports2.lavita = exports2.l3xTestnet = exports2.l3x = exports2.kromaSepolia = exports2.kroma = exports2.koi = exports2.klaytnBaobab = exports2.klaytn = exports2.kinto = exports2.kiiTestnetOro = exports2.kcc = exports2.kavaTestnet = exports2.kava = exports2.katana = exports2.karura = exports2.kardiaChain = void 0;
|
|
191468
|
+
exports2.odysseyTestnet = exports2.oasys = exports2.oasisTestnet = exports2.nomina = exports2.nitrographTestnet = exports2.nibiru = exports2.nexilix = exports2.nexi = exports2.newton = exports2.neoxT4 = exports2.neoxMainnet = exports2.neonMainnet = exports2.neonDevnet = exports2.nearTestnet = exports2.near = exports2.nautilus = exports2.nahmii = exports2.morphSepolia = exports2.morphHolesky = exports2.morph = exports2.moonriver = exports2.moonbeamDev = exports2.moonbeam = exports2.moonbaseAlpha = exports2.monadTestnet = exports2.modeTestnet = exports2.mode = exports2.mitosisTestnet = exports2.mintSepoliaTestnet = exports2.mint = exports2.mevTestnet = exports2.mev = exports2.metisSepolia = exports2.metisGoerli = exports2.metis = exports2.meterTestnet = exports2.meter = exports2.metalL2 = exports2.metadium = exports2.metachainIstanbul = exports2.metachain = exports2.merlinErigonTestnet = exports2.merlin = exports2.formicarium = exports2.memecore = exports2.meld = exports2.mekong = exports2.megaethTestnet = exports2.mchVerse = exports2.matchainTestnet = void 0;
|
|
191469
|
+
exports2.qMainnet = exports2.ql1 = exports2.pyrope = exports2.pumpfiTestnet = exports2.pulsechainV4 = exports2.pulsechain = exports2.premiumBlockTestnet = exports2.polynomialSepolia = exports2.polynomial = exports2.polygonZkEvmTestnet = exports2.polygonZkEvmCardona = exports2.polygonZkEvm = exports2.polygonMumbai = exports2.polygonAmoy = exports2.polygon = exports2.polterTestnet = exports2.plumeTestnet = exports2.plumeSepolia = exports2.plumeMainnet = exports2.plumeDevnet = exports2.plume = exports2.plinga = exports2.playfiAlbireo = exports2.plasmaTestnet = exports2.plasmaDevnet = exports2.plasma = exports2.planq = exports2.phoenix = exports2.pgnTestnet = exports2.pgn = exports2.peaq = exports2.palmTestnet = exports2.palm = exports2.otimDevnet = exports2.orderlySepolia = exports2.orderly = exports2.optopiaTestnet = exports2.optopia = exports2.optimismSepolia = exports2.optimismGoerli = exports2.optimism = exports2.openledger = exports2.opBNBTestnet = exports2.opBNB = exports2.oortMainnetDev = exports2.oneWorld = exports2.omniOmega = exports2.omni = exports2.omax = exports2.okc = void 0;
|
|
191470
|
+
exports2.skaleBlockBrawlers = exports2.sixProtocol = exports2.siliconSepolia = exports2.silicon = exports2.sidraChain = exports2.shimmerTestnet = exports2.shimmer = exports2.shiden = exports2.shibariumTestnet = exports2.shibarium = exports2.shardeumSphinx = exports2.shardeum = exports2.shapeSepolia = exports2.shape = exports2.sepolia = exports2.seiTestnet = exports2.seismicDevnet = exports2.seiDevnet = exports2.sei = exports2.scrollSepolia = exports2.satoshiVMTestnet = exports2.satoshiVM = exports2.sapphireTestnet = exports2.sapphire = exports2.sanko = exports2.saigon = exports2.saga = exports2.saakuru = exports2.rss3Sepolia = exports2.rss3 = exports2.rootstockTestnet = exports2.rootstock = exports2.rootPorcini = exports2.root = exports2.ronin = exports2.rolluxTestnet = exports2.rollux = exports2.rivalz = exports2.riseTestnet = exports2.reyaNetwork = exports2.rei = exports2.redstone = exports2.reddioSepolia = exports2.reddio = exports2.redbellyTestnet = exports2.redbellyMainnet = exports2.real = exports2.quaiTestnet = exports2.quai = exports2.qTestnet = void 0;
|
|
191471
|
+
exports2.syscoinTestnet = exports2.syscoin = exports2.swissdlt = exports2.swellchainTestnet = exports2.swellchain = exports2.swanSaturnTestnet = exports2.swanProximaTestnet = exports2.swan = exports2.surgeTestnet = exports2.superseedSepolia = exports2.superseed = exports2.superposition = exports2.superlumio = exports2.stratis = exports2.storyTestnet = exports2.storyOdyssey = exports2.storyAeneid = exports2.story = exports2.step = exports2.statusNetworkSepolia = exports2.statusSepolia = exports2.spicy = exports2.sovaSepolia = exports2.sova = exports2.sophonTestnet = exports2.sophon = exports2.sonicTestnet = exports2.sonicBlazeTestnet = exports2.sonic = exports2.songbirdTestnet = exports2.songbird = exports2.soneiumMinato = exports2.soneium = exports2.somniaTestnet = exports2.snaxTestnet = exports2.snax = exports2.sketchpad = exports2.skaleTitanTestnet = exports2.skaleTitan = exports2.skaleRazor = exports2.skaleNebulaTestnet = exports2.skaleNebula = exports2.skaleHumanProtocol = exports2.skaleExorde = exports2.skaleEuropaTestnet = exports2.skaleEuropa = exports2.skaleCryptoColosseum = exports2.skaleCryptoBlades = exports2.skaleCalypsoTestnet = exports2.skaleCalypso = void 0;
|
|
191472
|
+
exports2.wanchainTestnet = exports2.wanchain = exports2.visionTestnet = exports2.vision = exports2.victionTestnet = exports2.viction = exports2.velas = exports2.vechain = exports2.vanar = exports2.vanaMoksha = exports2.vana = exports2.unreal = exports2.uniqueQuartz = exports2.uniqueOpal = exports2.unique = exports2.unichainSepolia = exports2.unichain = exports2.ultronTestnet = exports2.ultron = exports2.ultraTestnet = exports2.ultra = exports2.ubiq = exports2.tronShasta = exports2.tronNile = exports2.tron = exports2.treasureTopaz = exports2.treasure = exports2.tomb = exports2.tiktrixTestnet = exports2.thunderTestnet = exports2.thunderCore = exports2.thetaTestnet = exports2.theta = exports2.that = exports2.thaiChain = exports2.ternoa = exports2.tenet = exports2.telosTestnet = exports2.telos = exports2.telcoinTestnet = exports2.teaSepolia = exports2.taraxaTestnet = exports2.taraxa = exports2.taikoTestnetSepolia = exports2.taikoKatla = exports2.taikoJolnir = exports2.taikoHekla = exports2.taiko = exports2.tacSPB = exports2.tac = void 0;
|
|
191473
|
+
exports2.zkSyncSepoliaTestnet = exports2.zksyncLocalNode = exports2.zkSyncLocalNode = exports2.zksyncLocalHyperchainL1 = exports2.zksyncLocalHyperchain = exports2.zksyncLocalCustomHyperchain = exports2.zksyncInMemoryNode = exports2.zkSyncInMemoryNode = exports2.zksync = exports2.zkSync = exports2.zkLinkNovaSepoliaTestnet = exports2.zkLinkNova = exports2.zkFairTestnet = exports2.zkFair = exports2.zircuitTestnet = exports2.zircuitGarfieldTestnet = exports2.zircuit = exports2.zilliqaTestnet = exports2.zilliqa = exports2.zhejiang = exports2.zetachainAthensTestnet = exports2.zetachain = exports2.zeroNetwork = exports2.zeniq = exports2.zenchainTestnet = exports2.yooldoVerseTestnet = exports2.yooldoVerse = exports2.xrSepolia = exports2.xrplevmTestnet = exports2.xrplevmDevnet = exports2.xrOne = exports2.xphereTestnet = exports2.xphereMainnet = exports2.xLayerTestnet = exports2.x1Testnet = exports2.xLayer = exports2.xdcTestnet = exports2.xdc = exports2.xaiTestnet = exports2.xai = exports2.worldLand = exports2.worldchainSepolia = exports2.worldchain = exports2.wmcTestnet = exports2.whitechainTestnet = exports2.whitechain = exports2.westendAssetHub = exports2.wemixTestnet = exports2.wemix = exports2.weaveVMAlphanet = void 0;
|
|
191474
|
+
exports2.zoraTestnet = exports2.zoraSepolia = exports2.zora = exports2.zksyncSepoliaTestnet = void 0;
|
|
191102
191475
|
var _0g_js_1 = require_g();
|
|
191103
191476
|
Object.defineProperty(exports2, "zeroG", { enumerable: true, get: function() {
|
|
191104
191477
|
return _0g_js_1.zeroG;
|
|
@@ -191111,6 +191484,10 @@ var require_chains2 = __commonJS({
|
|
|
191111
191484
|
Object.defineProperty(exports2, "zeroGMainnet", { enumerable: true, get: function() {
|
|
191112
191485
|
return _0gMainnet_js_1.zeroGMainnet;
|
|
191113
191486
|
} });
|
|
191487
|
+
var _0gTestnet_js_1 = require_gTestnet();
|
|
191488
|
+
Object.defineProperty(exports2, "zeroGTestnet", { enumerable: true, get: function() {
|
|
191489
|
+
return _0gTestnet_js_1.zeroGTestnet;
|
|
191490
|
+
} });
|
|
191114
191491
|
var _5ireChain_js_1 = require_ireChain();
|
|
191115
191492
|
Object.defineProperty(exports2, "fireChain", { enumerable: true, get: function() {
|
|
191116
191493
|
return _5ireChain_js_1.fireChain;
|
|
@@ -191199,6 +191576,10 @@ var require_chains2 = __commonJS({
|
|
|
191199
191576
|
Object.defineProperty(exports2, "arbitrumSepolia", { enumerable: true, get: function() {
|
|
191200
191577
|
return arbitrumSepolia_js_1.arbitrumSepolia;
|
|
191201
191578
|
} });
|
|
191579
|
+
var arcTestnet_js_1 = require_arcTestnet();
|
|
191580
|
+
Object.defineProperty(exports2, "arcTestnet", { enumerable: true, get: function() {
|
|
191581
|
+
return arcTestnet_js_1.arcTestnet;
|
|
191582
|
+
} });
|
|
191202
191583
|
var arenaz_js_1 = require_arenaz();
|
|
191203
191584
|
Object.defineProperty(exports2, "arenaz", { enumerable: true, get: function() {
|
|
191204
191585
|
return arenaz_js_1.arenaz;
|
|
@@ -191949,6 +192330,10 @@ var require_chains2 = __commonJS({
|
|
|
191949
192330
|
Object.defineProperty(exports2, "garnet", { enumerable: true, get: function() {
|
|
191950
192331
|
return garnet_js_1.garnet;
|
|
191951
192332
|
} });
|
|
192333
|
+
var gatechain_js_1 = require_gatechain();
|
|
192334
|
+
Object.defineProperty(exports2, "gatechain", { enumerable: true, get: function() {
|
|
192335
|
+
return gatechain_js_1.gatechain;
|
|
192336
|
+
} });
|
|
191952
192337
|
var geist_js_1 = require_geist();
|
|
191953
192338
|
Object.defineProperty(exports2, "geist", { enumerable: true, get: function() {
|
|
191954
192339
|
return geist_js_1.geist;
|
|
@@ -192669,6 +193054,10 @@ var require_chains2 = __commonJS({
|
|
|
192669
193054
|
Object.defineProperty(exports2, "nitrographTestnet", { enumerable: true, get: function() {
|
|
192670
193055
|
return nitrographTestnet_js_1.nitrographTestnet;
|
|
192671
193056
|
} });
|
|
193057
|
+
var nomina_js_1 = require_nomina();
|
|
193058
|
+
Object.defineProperty(exports2, "nomina", { enumerable: true, get: function() {
|
|
193059
|
+
return nomina_js_1.nomina;
|
|
193060
|
+
} });
|
|
192672
193061
|
var oasisTestnet_js_1 = require_oasisTestnet();
|
|
192673
193062
|
Object.defineProperty(exports2, "oasisTestnet", { enumerable: true, get: function() {
|
|
192674
193063
|
return oasisTestnet_js_1.oasisTestnet;
|
|
@@ -192885,6 +193274,14 @@ var require_chains2 = __commonJS({
|
|
|
192885
193274
|
Object.defineProperty(exports2, "qTestnet", { enumerable: true, get: function() {
|
|
192886
193275
|
return qTestnet_js_1.qTestnet;
|
|
192887
193276
|
} });
|
|
193277
|
+
var quai_js_1 = require_quai();
|
|
193278
|
+
Object.defineProperty(exports2, "quai", { enumerable: true, get: function() {
|
|
193279
|
+
return quai_js_1.quai;
|
|
193280
|
+
} });
|
|
193281
|
+
var quaiTestnet_js_1 = require_quaiTestnet();
|
|
193282
|
+
Object.defineProperty(exports2, "quaiTestnet", { enumerable: true, get: function() {
|
|
193283
|
+
return quaiTestnet_js_1.quaiTestnet;
|
|
193284
|
+
} });
|
|
192888
193285
|
var real_js_1 = require_real();
|
|
192889
193286
|
Object.defineProperty(exports2, "real", { enumerable: true, get: function() {
|
|
192890
193287
|
return real_js_1.real;
|
|
@@ -265379,9 +265776,9 @@ var require_stream4 = __commonJS({
|
|
|
265379
265776
|
}
|
|
265380
265777
|
});
|
|
265381
265778
|
|
|
265382
|
-
// ../../node_modules/safe-buffer/index.js
|
|
265779
|
+
// ../../node_modules/jszip/node_modules/safe-buffer/index.js
|
|
265383
265780
|
var require_safe_buffer = __commonJS({
|
|
265384
|
-
"../../node_modules/safe-buffer/index.js"(exports2, module2) {
|
|
265781
|
+
"../../node_modules/jszip/node_modules/safe-buffer/index.js"(exports2, module2) {
|
|
265385
265782
|
var buffer2 = __require("buffer");
|
|
265386
265783
|
var Buffer3 = buffer2.Buffer;
|
|
265387
265784
|
function copyProps(src, dst) {
|
|
@@ -322272,7 +322669,8 @@ async function prepareTransactionRequest(client, args) {
|
|
|
322272
322669
|
if (parameters.includes("gas") && typeof gas === "undefined")
|
|
322273
322670
|
request.gas = await getAction(client, estimateGas, "estimateGas")({
|
|
322274
322671
|
...request,
|
|
322275
|
-
account
|
|
322672
|
+
account,
|
|
322673
|
+
prepare: account?.type === "local" ? [] : ["blobVersionedHashes"]
|
|
322276
322674
|
});
|
|
322277
322675
|
assertRequest(request);
|
|
322278
322676
|
delete request.parameters;
|
|
@@ -322281,17 +322679,20 @@ async function prepareTransactionRequest(client, args) {
|
|
|
322281
322679
|
|
|
322282
322680
|
// ../../node_modules/viem/_esm/actions/public/estimateGas.js
|
|
322283
322681
|
async function estimateGas(client, args) {
|
|
322284
|
-
const { account: account_ = client.account } = args;
|
|
322682
|
+
const { account: account_ = client.account, prepare = true } = args;
|
|
322285
322683
|
const account = account_ ? parseAccount(account_) : void 0;
|
|
322684
|
+
const parameters = (() => {
|
|
322685
|
+
if (Array.isArray(prepare))
|
|
322686
|
+
return prepare;
|
|
322687
|
+
if (account?.type !== "local")
|
|
322688
|
+
return ["blobVersionedHashes"];
|
|
322689
|
+
return void 0;
|
|
322690
|
+
})();
|
|
322286
322691
|
try {
|
|
322287
|
-
const { accessList, authorizationList, blobs, blobVersionedHashes, blockNumber, blockTag, data, gas, gasPrice, maxFeePerBlobGas, maxFeePerGas, maxPriorityFeePerGas, nonce, value, stateOverride, ...rest } = await prepareTransactionRequest(client, {
|
|
322692
|
+
const { accessList, authorizationList, blobs, blobVersionedHashes, blockNumber, blockTag, data, gas, gasPrice, maxFeePerBlobGas, maxFeePerGas, maxPriorityFeePerGas, nonce, value, stateOverride, ...rest } = prepare ? await prepareTransactionRequest(client, {
|
|
322288
322693
|
...args,
|
|
322289
|
-
parameters
|
|
322290
|
-
|
|
322291
|
-
// to compute them.
|
|
322292
|
-
account?.type === "local" ? void 0 : ["blobVersionedHashes"]
|
|
322293
|
-
)
|
|
322294
|
-
});
|
|
322694
|
+
parameters
|
|
322695
|
+
}) : args;
|
|
322295
322696
|
const blockNumberHex = typeof blockNumber === "bigint" ? numberToHex(blockNumber) : void 0;
|
|
322296
322697
|
const block = blockNumberHex || blockTag;
|
|
322297
322698
|
const rpcStateOverride = serializeStateOverride(stateOverride);
|
|
@@ -322312,7 +322713,7 @@ async function estimateGas(client, args) {
|
|
|
322312
322713
|
const request = format({
|
|
322313
322714
|
// Pick out extra data that might exist on the chain's transaction request type.
|
|
322314
322715
|
...extract(rest, { format: chainFormat }),
|
|
322315
|
-
|
|
322716
|
+
account,
|
|
322316
322717
|
accessList,
|
|
322317
322718
|
authorizationList,
|
|
322318
322719
|
blobs,
|
|
@@ -323156,11 +323557,11 @@ async function sendTransaction(client, parameters) {
|
|
|
323156
323557
|
// Pick out extra data that might exist on the chain's transaction request type.
|
|
323157
323558
|
...extract(rest, { format: chainFormat }),
|
|
323158
323559
|
accessList,
|
|
323560
|
+
account,
|
|
323159
323561
|
authorizationList,
|
|
323160
323562
|
blobs,
|
|
323161
323563
|
chainId,
|
|
323162
323564
|
data,
|
|
323163
|
-
from: account?.address,
|
|
323164
323565
|
gas,
|
|
323165
323566
|
gasPrice,
|
|
323166
323567
|
maxFeePerBlobGas,
|
|
@@ -324254,7 +324655,7 @@ async function createAccessList(client, args) {
|
|
|
324254
324655
|
const request = format({
|
|
324255
324656
|
// Pick out extra data that might exist on the chain's transaction request type.
|
|
324256
324657
|
...extract(rest, { format: chainFormat }),
|
|
324257
|
-
|
|
324658
|
+
account,
|
|
324258
324659
|
blobs,
|
|
324259
324660
|
data,
|
|
324260
324661
|
gas,
|
|
@@ -327387,6 +327788,7 @@ async function simulateBlocks(client, parameters) {
|
|
|
327387
327788
|
const data = call2.abi ? encodeFunctionData(call2) : call2.data;
|
|
327388
327789
|
const request = {
|
|
327389
327790
|
...call2,
|
|
327791
|
+
account,
|
|
327390
327792
|
data: call2.dataSuffix ? concat([data || "0x", call2.dataSuffix]) : data,
|
|
327391
327793
|
from: call2.from ?? account?.address
|
|
327392
327794
|
};
|
|
@@ -329597,11 +329999,11 @@ async function sendTransactionSync(client, parameters) {
|
|
|
329597
329999
|
// Pick out extra data that might exist on the chain's transaction request type.
|
|
329598
330000
|
...extract(rest, { format: chainFormat }),
|
|
329599
330001
|
accessList,
|
|
330002
|
+
account,
|
|
329600
330003
|
authorizationList,
|
|
329601
330004
|
blobs,
|
|
329602
330005
|
chainId,
|
|
329603
330006
|
data,
|
|
329604
|
-
from: account?.address,
|
|
329605
330007
|
gas,
|
|
329606
330008
|
gasPrice,
|
|
329607
330009
|
maxFeePerBlobGas,
|
|
@@ -329794,7 +330196,10 @@ async function signTransaction(client, parameters) {
|
|
|
329794
330196
|
method: "eth_signTransaction",
|
|
329795
330197
|
params: [
|
|
329796
330198
|
{
|
|
329797
|
-
...format(
|
|
330199
|
+
...format({
|
|
330200
|
+
...transaction,
|
|
330201
|
+
account
|
|
330202
|
+
}, "signTransaction"),
|
|
329798
330203
|
chainId: numberToHex(chainId),
|
|
329799
330204
|
from: account.address
|
|
329800
330205
|
}
|
|
@@ -344173,6 +344578,9 @@ var limitNum = (n, d = 18) => {
|
|
|
344173
344578
|
}
|
|
344174
344579
|
};
|
|
344175
344580
|
function toHumanFormat(num2, precision = 2) {
|
|
344581
|
+
if (num2 >= BigInt(1e18)) {
|
|
344582
|
+
return `${formatBn4dig(num2 / BigInt(1e12), precision)}T`;
|
|
344583
|
+
}
|
|
344176
344584
|
if (num2 >= BigInt(1e15)) {
|
|
344177
344585
|
return `${formatBn4dig(num2 / BigInt(1e9), precision)}Bn`;
|
|
344178
344586
|
}
|
|
@@ -344479,7 +344887,8 @@ var chains = {
|
|
|
344479
344887
|
defaultMarketConfigurators: {
|
|
344480
344888
|
"0x7a133fbd01736fd076158307c9476cc3877f1af5": "Invariant Group",
|
|
344481
344889
|
"0x4bce62622be621ce036691de98afcab0e41a77a3": "Edge UltraYield",
|
|
344482
|
-
"0xce1cf71a28837daaa7b92d00ca4ef2fd649c2a67": "Hyperithm"
|
|
344890
|
+
"0xce1cf71a28837daaa7b92d00ca4ef2fd649c2a67": "Hyperithm",
|
|
344891
|
+
"0x9655f82b585b11cee8a05576ed8efcf755cec04b": "TelosC"
|
|
344483
344892
|
},
|
|
344484
344893
|
isPublic: true,
|
|
344485
344894
|
wellKnownToken: {
|
|
@@ -374186,7 +374595,7 @@ function getRenderer(opts) {
|
|
|
374186
374595
|
var package_default = {
|
|
374187
374596
|
name: "@gearbox-protocol/deploy-tools",
|
|
374188
374597
|
description: "Gearbox deploy tools",
|
|
374189
|
-
version: "5.
|
|
374598
|
+
version: "5.57.1",
|
|
374190
374599
|
homepage: "https://gearbox.fi",
|
|
374191
374600
|
keywords: [
|
|
374192
374601
|
"gearbox"
|
|
@@ -374220,23 +374629,23 @@ var package_default = {
|
|
|
374220
374629
|
"@actions/core": "^1.11.1",
|
|
374221
374630
|
"@chialab/esbuild-plugin-commonjs": "^0.19.0",
|
|
374222
374631
|
"@commander-js/extra-typings": "^14.0.0",
|
|
374223
|
-
"@ethereum-sourcify/bytecode-utils": "^1.3.
|
|
374632
|
+
"@ethereum-sourcify/bytecode-utils": "^1.3.15",
|
|
374224
374633
|
"@ethereum-sourcify/lib-sourcify": "^1.12.1",
|
|
374225
374634
|
"@gearbox-protocol/cli-utils": "0.0.0",
|
|
374226
374635
|
"@gearbox-protocol/deploy-tools-node": "0.0.0",
|
|
374227
374636
|
"@gearbox-protocol/deploy-tools-shared": "0.0.0",
|
|
374228
374637
|
"@gearbox-protocol/deploy-tools-types": "0.0.0",
|
|
374229
|
-
"@gearbox-protocol/sdk": "10.
|
|
374638
|
+
"@gearbox-protocol/sdk": "10.4.3",
|
|
374230
374639
|
"@gearbox-protocol/sdk-gov": "v2.38.0",
|
|
374231
374640
|
"@types/lodash-es": "^4.17.12",
|
|
374232
|
-
"@types/node": "^24.
|
|
374641
|
+
"@types/node": "^24.10.0",
|
|
374233
374642
|
"@types/react": "^19.2.0",
|
|
374234
374643
|
"@types/react-dom": "^19.2.0",
|
|
374235
374644
|
abitype: "^1.1.1",
|
|
374236
374645
|
chalk: "^5.6.2",
|
|
374237
|
-
commander: "^14.0.
|
|
374646
|
+
commander: "^14.0.2",
|
|
374238
374647
|
"date-fns": "^4.1.0",
|
|
374239
|
-
esbuild: "^0.25.
|
|
374648
|
+
esbuild: "^0.25.12",
|
|
374240
374649
|
"lodash-es": "^4.17.21",
|
|
374241
374650
|
"p-retry": "^7.0.0",
|
|
374242
374651
|
pino: "^10.0.0",
|
|
@@ -374246,7 +374655,7 @@ var package_default = {
|
|
|
374246
374655
|
"react-dom": "^19.2.0",
|
|
374247
374656
|
table: "^6.9.0",
|
|
374248
374657
|
tsx: "^4.20.6",
|
|
374249
|
-
viem: "^2.
|
|
374658
|
+
viem: "^2.38.6",
|
|
374250
374659
|
yaml: "^2.8.1",
|
|
374251
374660
|
zod: "^4.1.12"
|
|
374252
374661
|
}
|
|
@@ -374396,7 +374805,7 @@ aes-js/lib.commonjs/aes.js:
|
|
|
374396
374805
|
(*! MIT License. Copyright 2015-2022 Richard Moore <me@ricmoo.com>. See LICENSE.txt. *)
|
|
374397
374806
|
|
|
374398
374807
|
axios/dist/node/axios.cjs:
|
|
374399
|
-
(*! Axios v1.
|
|
374808
|
+
(*! Axios v1.13.1 Copyright (c) 2025 Matt Zabriskie and contributors *)
|
|
374400
374809
|
|
|
374401
374810
|
js-sha3/src/sha3.js:
|
|
374402
374811
|
(**
|