@hashgraphonline/standards-sdk 0.0.106 → 0.0.107
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/es/standards-sdk.es100.js +58 -129
- package/dist/es/standards-sdk.es100.js.map +1 -1
- package/dist/es/standards-sdk.es101.js +5 -171
- package/dist/es/standards-sdk.es101.js.map +1 -1
- package/dist/es/standards-sdk.es102.js +15 -2282
- package/dist/es/standards-sdk.es102.js.map +1 -1
- package/dist/es/standards-sdk.es103.js +4 -10
- package/dist/es/standards-sdk.es103.js.map +1 -1
- package/dist/es/standards-sdk.es104.js +45 -13
- package/dist/es/standards-sdk.es104.js.map +1 -1
- package/dist/es/standards-sdk.es105.js +2 -32
- package/dist/es/standards-sdk.es105.js.map +1 -1
- package/dist/es/standards-sdk.es106.js +135 -14
- package/dist/es/standards-sdk.es106.js.map +1 -1
- package/dist/es/standards-sdk.es107.js +172 -4
- package/dist/es/standards-sdk.es107.js.map +1 -1
- package/dist/es/standards-sdk.es108.js +13 -4
- package/dist/es/standards-sdk.es108.js.map +1 -1
- package/dist/es/standards-sdk.es109.js +13 -16
- package/dist/es/standards-sdk.es109.js.map +1 -1
- package/dist/es/standards-sdk.es110.js +31 -4
- package/dist/es/standards-sdk.es110.js.map +1 -1
- package/dist/es/standards-sdk.es111.js +15 -39
- package/dist/es/standards-sdk.es111.js.map +1 -1
- package/dist/es/standards-sdk.es112.js +4 -40
- package/dist/es/standards-sdk.es112.js.map +1 -1
- package/dist/es/standards-sdk.es113.js +4 -37
- package/dist/es/standards-sdk.es113.js.map +1 -1
- package/dist/es/standards-sdk.es114.js +15 -77
- package/dist/es/standards-sdk.es114.js.map +1 -1
- package/dist/es/standards-sdk.es115.js +5 -3
- package/dist/es/standards-sdk.es115.js.map +1 -1
- package/dist/es/standards-sdk.es116.js +39 -2
- package/dist/es/standards-sdk.es116.js.map +1 -1
- package/dist/es/standards-sdk.es117.js +40 -2
- package/dist/es/standards-sdk.es117.js.map +1 -1
- package/dist/es/standards-sdk.es118.js +37 -34
- package/dist/es/standards-sdk.es118.js.map +1 -1
- package/dist/es/standards-sdk.es119.js +74 -29
- package/dist/es/standards-sdk.es119.js.map +1 -1
- package/dist/es/standards-sdk.es120.js +3 -9
- package/dist/es/standards-sdk.es120.js.map +1 -1
- package/dist/es/standards-sdk.es121.js +2 -34
- package/dist/es/standards-sdk.es121.js.map +1 -1
- package/dist/es/standards-sdk.es122.js +2 -10
- package/dist/es/standards-sdk.es122.js.map +1 -1
- package/dist/es/standards-sdk.es123.js +33 -10
- package/dist/es/standards-sdk.es123.js.map +1 -1
- package/dist/es/standards-sdk.es124.js +31 -16
- package/dist/es/standards-sdk.es124.js.map +1 -1
- package/dist/es/standards-sdk.es125.js +9 -6
- package/dist/es/standards-sdk.es125.js.map +1 -1
- package/dist/es/standards-sdk.es126.js +34 -9
- package/dist/es/standards-sdk.es126.js.map +1 -1
- package/dist/es/standards-sdk.es13.js +2 -2
- package/dist/es/standards-sdk.es15.js +1 -1
- package/dist/es/standards-sdk.es18.js +2 -2
- package/dist/es/standards-sdk.es19.js +88 -1
- package/dist/es/standards-sdk.es19.js.map +1 -1
- package/dist/es/standards-sdk.es20.js +1 -1
- package/dist/es/standards-sdk.es21.js +2 -2
- package/dist/es/standards-sdk.es24.js +6 -6
- package/dist/es/standards-sdk.es26.js +3 -7190
- package/dist/es/standards-sdk.es26.js.map +1 -1
- package/dist/es/standards-sdk.es27.js +4168 -36
- package/dist/es/standards-sdk.es27.js.map +1 -1
- package/dist/es/standards-sdk.es28.js +7163 -21
- package/dist/es/standards-sdk.es28.js.map +1 -1
- package/dist/es/standards-sdk.es29.js +9 -5
- package/dist/es/standards-sdk.es29.js.map +1 -1
- package/dist/es/standards-sdk.es30.js +2 -10
- package/dist/es/standards-sdk.es30.js.map +1 -1
- package/dist/es/standards-sdk.es31.js +36 -3
- package/dist/es/standards-sdk.es31.js.map +1 -1
- package/dist/es/standards-sdk.es32.js +48 -4168
- package/dist/es/standards-sdk.es32.js.map +1 -1
- package/dist/es/standards-sdk.es33.js +5 -9
- package/dist/es/standards-sdk.es33.js.map +1 -1
- package/dist/es/standards-sdk.es34.js +10 -2
- package/dist/es/standards-sdk.es34.js.map +1 -1
- package/dist/es/standards-sdk.es35.js +2 -419
- package/dist/es/standards-sdk.es35.js.map +1 -1
- package/dist/es/standards-sdk.es36.js +101 -2
- package/dist/es/standards-sdk.es36.js.map +1 -1
- package/dist/es/standards-sdk.es37.js +2 -120
- package/dist/es/standards-sdk.es37.js.map +1 -1
- package/dist/es/standards-sdk.es38.js +15 -7135
- package/dist/es/standards-sdk.es38.js.map +1 -1
- package/dist/es/standards-sdk.es39.js +408 -3
- package/dist/es/standards-sdk.es39.js.map +1 -1
- package/dist/es/standards-sdk.es40.js +2282 -3
- package/dist/es/standards-sdk.es40.js.map +1 -1
- package/dist/es/standards-sdk.es41.js +164 -2
- package/dist/es/standards-sdk.es41.js.map +1 -1
- package/dist/es/standards-sdk.es42.js +21 -82
- package/dist/es/standards-sdk.es42.js.map +1 -1
- package/dist/es/standards-sdk.es43.js +172 -21
- package/dist/es/standards-sdk.es43.js.map +1 -1
- package/dist/es/standards-sdk.es44.js +73 -130
- package/dist/es/standards-sdk.es44.js.map +1 -1
- package/dist/es/standards-sdk.es45.js +185 -81
- package/dist/es/standards-sdk.es45.js.map +1 -1
- package/dist/es/standards-sdk.es46.js +431 -167
- package/dist/es/standards-sdk.es46.js.map +1 -1
- package/dist/es/standards-sdk.es47.js +21 -191
- package/dist/es/standards-sdk.es47.js.map +1 -1
- package/dist/es/standards-sdk.es48.js +115 -414
- package/dist/es/standards-sdk.es48.js.map +1 -1
- package/dist/es/standards-sdk.es49.js +8 -15
- package/dist/es/standards-sdk.es49.js.map +1 -1
- package/dist/es/standards-sdk.es50.js +22 -132
- package/dist/es/standards-sdk.es50.js.map +1 -1
- package/dist/es/standards-sdk.es51.js +20 -9
- package/dist/es/standards-sdk.es51.js.map +1 -1
- package/dist/es/standards-sdk.es52.js +13 -21
- package/dist/es/standards-sdk.es52.js.map +1 -1
- package/dist/es/standards-sdk.es53.js +28 -13
- package/dist/es/standards-sdk.es53.js.map +1 -1
- package/dist/es/standards-sdk.es54.js +10 -13
- package/dist/es/standards-sdk.es54.js.map +1 -1
- package/dist/es/standards-sdk.es55.js +49 -32
- package/dist/es/standards-sdk.es55.js.map +1 -1
- package/dist/es/standards-sdk.es56.js +1284 -13
- package/dist/es/standards-sdk.es56.js.map +1 -1
- package/dist/es/standards-sdk.es57.js +139 -52
- package/dist/es/standards-sdk.es57.js.map +1 -1
- package/dist/es/standards-sdk.es58.js +79 -1284
- package/dist/es/standards-sdk.es58.js.map +1 -1
- package/dist/es/standards-sdk.es60.js +1 -1
- package/dist/es/standards-sdk.es61.js +1 -1
- package/dist/es/standards-sdk.es62.js +1 -1
- package/dist/es/standards-sdk.es63.js +2 -2
- package/dist/es/standards-sdk.es64.js +22 -359
- package/dist/es/standards-sdk.es64.js.map +1 -1
- package/dist/es/standards-sdk.es65.js +25 -5
- package/dist/es/standards-sdk.es65.js.map +1 -1
- package/dist/es/standards-sdk.es66.js +36 -177
- package/dist/es/standards-sdk.es66.js.map +1 -1
- package/dist/es/standards-sdk.es67.js +16 -76
- package/dist/es/standards-sdk.es67.js.map +1 -1
- package/dist/es/standards-sdk.es68.js +3 -114
- package/dist/es/standards-sdk.es68.js.map +1 -1
- package/dist/es/standards-sdk.es69.js +3 -51
- package/dist/es/standards-sdk.es69.js.map +1 -1
- package/dist/es/standards-sdk.es7.js +3 -3
- package/dist/es/standards-sdk.es70.js +7136 -10
- package/dist/es/standards-sdk.es70.js.map +1 -1
- package/dist/es/standards-sdk.es71.js +9 -96
- package/dist/es/standards-sdk.es71.js.map +1 -1
- package/dist/es/standards-sdk.es72.js +10 -3
- package/dist/es/standards-sdk.es72.js.map +1 -1
- package/dist/es/standards-sdk.es73.js +18 -2
- package/dist/es/standards-sdk.es73.js.map +1 -1
- package/dist/es/standards-sdk.es74.js +4 -111
- package/dist/es/standards-sdk.es74.js.map +1 -1
- package/dist/es/standards-sdk.es75.js +8 -73
- package/dist/es/standards-sdk.es75.js.map +1 -1
- package/dist/es/standards-sdk.es76.js +417 -4
- package/dist/es/standards-sdk.es76.js.map +1 -1
- package/dist/es/standards-sdk.es77.js +2 -5
- package/dist/es/standards-sdk.es77.js.map +1 -1
- package/dist/es/standards-sdk.es78.js +109 -210
- package/dist/es/standards-sdk.es78.js.map +1 -1
- package/dist/es/standards-sdk.es79.js +361 -55
- package/dist/es/standards-sdk.es79.js.map +1 -1
- package/dist/es/standards-sdk.es8.js +2 -2
- package/dist/es/standards-sdk.es80.js +6 -69
- package/dist/es/standards-sdk.es80.js.map +1 -1
- package/dist/es/standards-sdk.es81.js +177 -25
- package/dist/es/standards-sdk.es81.js.map +1 -1
- package/dist/es/standards-sdk.es82.js +79 -24
- package/dist/es/standards-sdk.es82.js.map +1 -1
- package/dist/es/standards-sdk.es83.js +112 -36
- package/dist/es/standards-sdk.es83.js.map +1 -1
- package/dist/es/standards-sdk.es84.js +48 -17
- package/dist/es/standards-sdk.es84.js.map +1 -1
- package/dist/es/standards-sdk.es85.js +9 -100
- package/dist/es/standards-sdk.es85.js.map +1 -1
- package/dist/es/standards-sdk.es86.js +97 -2
- package/dist/es/standards-sdk.es86.js.map +1 -1
- package/dist/es/standards-sdk.es87.js +3 -15
- package/dist/es/standards-sdk.es87.js.map +1 -1
- package/dist/es/standards-sdk.es88.js +2 -409
- package/dist/es/standards-sdk.es88.js.map +1 -1
- package/dist/es/standards-sdk.es89.js +98 -149
- package/dist/es/standards-sdk.es89.js.map +1 -1
- package/dist/es/standards-sdk.es9.js +1 -1
- package/dist/es/standards-sdk.es90.js +70 -28
- package/dist/es/standards-sdk.es90.js.map +1 -1
- package/dist/es/standards-sdk.es91.js +5 -62
- package/dist/es/standards-sdk.es91.js.map +1 -1
- package/dist/es/standards-sdk.es92.js +4 -49
- package/dist/es/standards-sdk.es92.js.map +1 -1
- package/dist/es/standards-sdk.es93.js +219 -8
- package/dist/es/standards-sdk.es93.js.map +1 -1
- package/dist/es/standards-sdk.es94.js +52 -59
- package/dist/es/standards-sdk.es94.js.map +1 -1
- package/dist/es/standards-sdk.es95.js +68 -5
- package/dist/es/standards-sdk.es95.js.map +1 -1
- package/dist/es/standards-sdk.es96.js +30 -13
- package/dist/es/standards-sdk.es96.js.map +1 -1
- package/dist/es/standards-sdk.es97.js +63 -7
- package/dist/es/standards-sdk.es97.js.map +1 -1
- package/dist/es/standards-sdk.es98.js +47 -42
- package/dist/es/standards-sdk.es98.js.map +1 -1
- package/dist/es/standards-sdk.es99.js +10 -2
- package/dist/es/standards-sdk.es99.js.map +1 -1
- package/dist/es/utils/transaction-parser.d.ts +25 -0
- package/dist/es/utils/transaction-parser.d.ts.map +1 -1
- package/dist/umd/standards-sdk.umd.js +1 -1
- package/dist/umd/standards-sdk.umd.js.map +1 -1
- package/dist/umd/utils/transaction-parser.d.ts +25 -0
- package/dist/umd/utils/transaction-parser.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"standards-sdk.es40.js","sources":[
|
|
1
|
+
{"version":3,"file":"standards-sdk.es40.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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var browser = { exports: {} };
|
|
5
|
+
var process = browser.exports = {};
|
|
6
|
+
var cachedSetTimeout;
|
|
7
|
+
var cachedClearTimeout;
|
|
8
|
+
function defaultSetTimout() {
|
|
9
|
+
throw new Error("setTimeout has not been defined");
|
|
10
|
+
}
|
|
11
|
+
function defaultClearTimeout() {
|
|
12
|
+
throw new Error("clearTimeout has not been defined");
|
|
13
|
+
}
|
|
14
|
+
(function() {
|
|
15
|
+
try {
|
|
16
|
+
if (typeof setTimeout === "function") {
|
|
17
|
+
cachedSetTimeout = setTimeout;
|
|
18
|
+
} else {
|
|
19
|
+
cachedSetTimeout = defaultSetTimout;
|
|
20
|
+
}
|
|
21
|
+
} catch (e) {
|
|
22
|
+
cachedSetTimeout = defaultSetTimout;
|
|
23
|
+
}
|
|
24
|
+
try {
|
|
25
|
+
if (typeof clearTimeout === "function") {
|
|
26
|
+
cachedClearTimeout = clearTimeout;
|
|
27
|
+
} else {
|
|
28
|
+
cachedClearTimeout = defaultClearTimeout;
|
|
29
|
+
}
|
|
30
|
+
} catch (e) {
|
|
31
|
+
cachedClearTimeout = defaultClearTimeout;
|
|
32
|
+
}
|
|
33
|
+
})();
|
|
34
|
+
function runTimeout(fun) {
|
|
35
|
+
if (cachedSetTimeout === setTimeout) {
|
|
36
|
+
return setTimeout(fun, 0);
|
|
37
|
+
}
|
|
38
|
+
if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {
|
|
39
|
+
cachedSetTimeout = setTimeout;
|
|
40
|
+
return setTimeout(fun, 0);
|
|
41
|
+
}
|
|
42
|
+
try {
|
|
43
|
+
return cachedSetTimeout(fun, 0);
|
|
44
|
+
} catch (e) {
|
|
45
|
+
try {
|
|
46
|
+
return cachedSetTimeout.call(null, fun, 0);
|
|
47
|
+
} catch (e2) {
|
|
48
|
+
return cachedSetTimeout.call(this, fun, 0);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
function runClearTimeout(marker) {
|
|
53
|
+
if (cachedClearTimeout === clearTimeout) {
|
|
54
|
+
return clearTimeout(marker);
|
|
55
|
+
}
|
|
56
|
+
if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {
|
|
57
|
+
cachedClearTimeout = clearTimeout;
|
|
58
|
+
return clearTimeout(marker);
|
|
59
|
+
}
|
|
60
|
+
try {
|
|
61
|
+
return cachedClearTimeout(marker);
|
|
62
|
+
} catch (e) {
|
|
63
|
+
try {
|
|
64
|
+
return cachedClearTimeout.call(null, marker);
|
|
65
|
+
} catch (e2) {
|
|
66
|
+
return cachedClearTimeout.call(this, marker);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
var queue = [];
|
|
71
|
+
var draining = false;
|
|
72
|
+
var currentQueue;
|
|
73
|
+
var queueIndex = -1;
|
|
74
|
+
function cleanUpNextTick() {
|
|
75
|
+
if (!draining || !currentQueue) {
|
|
76
|
+
return;
|
|
77
|
+
}
|
|
78
|
+
draining = false;
|
|
79
|
+
if (currentQueue.length) {
|
|
80
|
+
queue = currentQueue.concat(queue);
|
|
81
|
+
} else {
|
|
82
|
+
queueIndex = -1;
|
|
83
|
+
}
|
|
84
|
+
if (queue.length) {
|
|
85
|
+
drainQueue();
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
function drainQueue() {
|
|
89
|
+
if (draining) {
|
|
90
|
+
return;
|
|
91
|
+
}
|
|
92
|
+
var timeout = runTimeout(cleanUpNextTick);
|
|
93
|
+
draining = true;
|
|
94
|
+
var len = queue.length;
|
|
95
|
+
while (len) {
|
|
96
|
+
currentQueue = queue;
|
|
97
|
+
queue = [];
|
|
98
|
+
while (++queueIndex < len) {
|
|
99
|
+
if (currentQueue) {
|
|
100
|
+
currentQueue[queueIndex].run();
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
queueIndex = -1;
|
|
104
|
+
len = queue.length;
|
|
105
|
+
}
|
|
106
|
+
currentQueue = null;
|
|
107
|
+
draining = false;
|
|
108
|
+
runClearTimeout(timeout);
|
|
109
|
+
}
|
|
110
|
+
process.nextTick = function(fun) {
|
|
111
|
+
var args = new Array(arguments.length - 1);
|
|
112
|
+
if (arguments.length > 1) {
|
|
113
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
114
|
+
args[i - 1] = arguments[i];
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
queue.push(new Item(fun, args));
|
|
118
|
+
if (queue.length === 1 && !draining) {
|
|
119
|
+
runTimeout(drainQueue);
|
|
120
|
+
}
|
|
121
|
+
};
|
|
122
|
+
function Item(fun, array) {
|
|
123
|
+
this.fun = fun;
|
|
124
|
+
this.array = array;
|
|
125
|
+
}
|
|
126
|
+
Item.prototype.run = function() {
|
|
127
|
+
this.fun.apply(null, this.array);
|
|
128
|
+
};
|
|
129
|
+
process.title = "browser";
|
|
130
|
+
process.browser = true;
|
|
131
|
+
process.env = {};
|
|
132
|
+
process.argv = [];
|
|
133
|
+
process.version = "";
|
|
134
|
+
process.versions = {};
|
|
135
|
+
function noop() {
|
|
136
|
+
}
|
|
137
|
+
process.on = noop;
|
|
138
|
+
process.addListener = noop;
|
|
139
|
+
process.once = noop;
|
|
140
|
+
process.off = noop;
|
|
141
|
+
process.removeListener = noop;
|
|
142
|
+
process.removeAllListeners = noop;
|
|
143
|
+
process.emit = noop;
|
|
144
|
+
process.prependListener = noop;
|
|
145
|
+
process.prependOnceListener = noop;
|
|
146
|
+
process.listeners = function(name) {
|
|
147
|
+
return [];
|
|
148
|
+
};
|
|
149
|
+
process.binding = function(name) {
|
|
150
|
+
throw new Error("process.binding is not supported");
|
|
151
|
+
};
|
|
152
|
+
process.cwd = function() {
|
|
153
|
+
return "/";
|
|
154
|
+
};
|
|
155
|
+
process.chdir = function(dir) {
|
|
156
|
+
throw new Error("process.chdir is not supported");
|
|
157
|
+
};
|
|
158
|
+
process.umask = function() {
|
|
159
|
+
return 0;
|
|
160
|
+
};
|
|
161
|
+
var browserExports = browser.exports;
|
|
162
|
+
const process$1 = /* @__PURE__ */ getDefaultExportFromCjs(browserExports);
|
|
2
163
|
export {
|
|
3
|
-
|
|
164
|
+
process$1 as default,
|
|
165
|
+
process$1 as process
|
|
4
166
|
};
|
|
5
167
|
//# sourceMappingURL=standards-sdk.es41.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"standards-sdk.es41.js","sources":["../../node_modules/
|
|
1
|
+
{"version":3,"file":"standards-sdk.es41.js","sources":["../../node_modules/vite-plugin-node-polyfills/shims/process/dist/index.js"],"sourcesContent":["function getDefaultExportFromCjs (x) {\n\treturn x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;\n}\n\nvar browser = {exports: {}};\n\n// shim for using process in browser\nvar process = browser.exports = {};\n\n// cached from whatever global is present so that test runners that stub it\n// don't break things. But we need to wrap it in a try catch in case it is\n// wrapped in strict mode code which doesn't define any globals. It's inside a\n// function because try/catches deoptimize in certain engines.\n\nvar cachedSetTimeout;\nvar cachedClearTimeout;\n\nfunction defaultSetTimout() {\n throw new Error('setTimeout has not been defined');\n}\nfunction defaultClearTimeout () {\n throw new Error('clearTimeout has not been defined');\n}\n(function () {\n try {\n if (typeof setTimeout === 'function') {\n cachedSetTimeout = setTimeout;\n } else {\n cachedSetTimeout = defaultSetTimout;\n }\n } catch (e) {\n cachedSetTimeout = defaultSetTimout;\n }\n try {\n if (typeof clearTimeout === 'function') {\n cachedClearTimeout = clearTimeout;\n } else {\n cachedClearTimeout = defaultClearTimeout;\n }\n } catch (e) {\n cachedClearTimeout = defaultClearTimeout;\n }\n} ());\nfunction runTimeout(fun) {\n if (cachedSetTimeout === setTimeout) {\n //normal enviroments in sane situations\n return setTimeout(fun, 0);\n }\n // if setTimeout wasn't available but was latter defined\n if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {\n cachedSetTimeout = setTimeout;\n return setTimeout(fun, 0);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedSetTimeout(fun, 0);\n } catch(e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedSetTimeout.call(null, fun, 0);\n } catch(e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error\n return cachedSetTimeout.call(this, fun, 0);\n }\n }\n\n\n}\nfunction runClearTimeout(marker) {\n if (cachedClearTimeout === clearTimeout) {\n //normal enviroments in sane situations\n return clearTimeout(marker);\n }\n // if clearTimeout wasn't available but was latter defined\n if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {\n cachedClearTimeout = clearTimeout;\n return clearTimeout(marker);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedClearTimeout(marker);\n } catch (e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedClearTimeout.call(null, marker);\n } catch (e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.\n // Some versions of I.E. have different rules for clearTimeout vs setTimeout\n return cachedClearTimeout.call(this, marker);\n }\n }\n\n\n\n}\nvar queue = [];\nvar draining = false;\nvar currentQueue;\nvar queueIndex = -1;\n\nfunction cleanUpNextTick() {\n if (!draining || !currentQueue) {\n return;\n }\n draining = false;\n if (currentQueue.length) {\n queue = currentQueue.concat(queue);\n } else {\n queueIndex = -1;\n }\n if (queue.length) {\n drainQueue();\n }\n}\n\nfunction drainQueue() {\n if (draining) {\n return;\n }\n var timeout = runTimeout(cleanUpNextTick);\n draining = true;\n\n var len = queue.length;\n while(len) {\n currentQueue = queue;\n queue = [];\n while (++queueIndex < len) {\n if (currentQueue) {\n currentQueue[queueIndex].run();\n }\n }\n queueIndex = -1;\n len = queue.length;\n }\n currentQueue = null;\n draining = false;\n runClearTimeout(timeout);\n}\n\nprocess.nextTick = function (fun) {\n var args = new Array(arguments.length - 1);\n if (arguments.length > 1) {\n for (var i = 1; i < arguments.length; i++) {\n args[i - 1] = arguments[i];\n }\n }\n queue.push(new Item(fun, args));\n if (queue.length === 1 && !draining) {\n runTimeout(drainQueue);\n }\n};\n\n// v8 likes predictible objects\nfunction Item(fun, array) {\n this.fun = fun;\n this.array = array;\n}\nItem.prototype.run = function () {\n this.fun.apply(null, this.array);\n};\nprocess.title = 'browser';\nprocess.browser = true;\nprocess.env = {};\nprocess.argv = [];\nprocess.version = ''; // empty string to avoid regexp issues\nprocess.versions = {};\n\nfunction noop() {}\n\nprocess.on = noop;\nprocess.addListener = noop;\nprocess.once = noop;\nprocess.off = noop;\nprocess.removeListener = noop;\nprocess.removeAllListeners = noop;\nprocess.emit = noop;\nprocess.prependListener = noop;\nprocess.prependOnceListener = noop;\n\nprocess.listeners = function (name) { return [] };\n\nprocess.binding = function (name) {\n throw new Error('process.binding is not supported');\n};\n\nprocess.cwd = function () { return '/' };\nprocess.chdir = function (dir) {\n throw new Error('process.chdir is not supported');\n};\nprocess.umask = function() { return 0; };\n\nvar browserExports = browser.exports;\nconst process$1 = /*@__PURE__*/getDefaultExportFromCjs(browserExports);\n\nexport { process$1 as default, process$1 as process };\n//# sourceMappingURL=index.js.map\n"],"names":["e"],"mappings":"AAAA,SAAS,wBAAyB,GAAG;AACpC,SAAO,KAAK,EAAE,cAAc,OAAO,UAAU,eAAe,KAAK,GAAG,SAAS,IAAI,EAAE,SAAS,IAAI;AACjG;AAEA,IAAI,UAAU,EAAC,SAAS,GAAE;AAG1B,IAAI,UAAU,QAAQ,UAAU,CAAE;AAOlC,IAAI;AACJ,IAAI;AAEJ,SAAS,mBAAmB;AACxB,QAAM,IAAI,MAAM,iCAAiC;AACrD;AACA,SAAS,sBAAuB;AAC5B,QAAM,IAAI,MAAM,mCAAmC;AACvD;AAAA,CACC,WAAY;AACT,MAAI;AACA,QAAI,OAAO,eAAe,YAAY;AAClC,yBAAmB;AAAA,IAC/B,OAAe;AACH,yBAAmB;AAAA,IAC/B;AAAA,EACK,SAAQ,GAAG;AACR,uB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,QAAQ,kBAAkB;AAC1B,QAAQ,sBAAsB;AAE9B,QAAQ,YAAY,SAAU,MAAM;AAAE,SAAO,CAAA;AAAI;AAEjD,QAAQ,UAAU,SAAU,MAAM;AAC9B,QAAM,IAAI,MAAM,kCAAkC;AACtD;AAEA,QAAQ,MAAM,WAAY;AAAE,SAAO;AAAK;AACxC,QAAQ,QAAQ,SAAU,KAAK;AAC3B,QAAM,IAAI,MAAM,gCAAgC;AACpD;AACA,QAAQ,QAAQ,WAAW;AAAE,SAAO;AAAI;AAExC,IAAI,iBAAiB,QAAQ;AACxB,MAAC,YAAyB,wCAAwB,cAAc;","x_google_ignoreList":[0]}
|
|
@@ -1,87 +1,26 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
const
|
|
10
|
-
|
|
11
|
-
expanded[i] = chars[i].charCodeAt(0);
|
|
12
|
-
}
|
|
13
|
-
const hashed = getBytes(keccak256(expanded));
|
|
14
|
-
for (let i = 0; i < 40; i += 2) {
|
|
15
|
-
if (hashed[i >> 1] >> 4 >= 8) {
|
|
16
|
-
chars[i] = chars[i].toUpperCase();
|
|
17
|
-
}
|
|
18
|
-
if ((hashed[i >> 1] & 15) >= 8) {
|
|
19
|
-
chars[i + 1] = chars[i + 1].toUpperCase();
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
return "0x" + chars.join("");
|
|
23
|
-
}
|
|
24
|
-
const ibanLookup = {};
|
|
25
|
-
for (let i = 0; i < 10; i++) {
|
|
26
|
-
ibanLookup[String(i)] = String(i);
|
|
27
|
-
}
|
|
28
|
-
for (let i = 0; i < 26; i++) {
|
|
29
|
-
ibanLookup[String.fromCharCode(65 + i)] = String(10 + i);
|
|
30
|
-
}
|
|
31
|
-
const safeDigits = 15;
|
|
32
|
-
function ibanChecksum(address) {
|
|
33
|
-
address = address.toUpperCase();
|
|
34
|
-
address = address.substring(4) + address.substring(0, 2) + "00";
|
|
35
|
-
let expanded = address.split("").map((c) => {
|
|
36
|
-
return ibanLookup[c];
|
|
37
|
-
}).join("");
|
|
38
|
-
while (expanded.length >= safeDigits) {
|
|
39
|
-
let block = expanded.substring(0, safeDigits);
|
|
40
|
-
expanded = parseInt(block, 10) % 97 + expanded.substring(block.length);
|
|
41
|
-
}
|
|
42
|
-
let checksum = String(98 - parseInt(expanded, 10) % 97);
|
|
43
|
-
while (checksum.length < 2) {
|
|
44
|
-
checksum = "0" + checksum;
|
|
45
|
-
}
|
|
46
|
-
return checksum;
|
|
47
|
-
}
|
|
48
|
-
const Base36 = function() {
|
|
49
|
-
const result = {};
|
|
50
|
-
for (let i = 0; i < 36; i++) {
|
|
51
|
-
const key = "0123456789abcdefghijklmnopqrstuvwxyz"[i];
|
|
52
|
-
result[key] = BigInt(i);
|
|
53
|
-
}
|
|
54
|
-
return result;
|
|
55
|
-
}();
|
|
56
|
-
function fromBase36(value) {
|
|
57
|
-
value = value.toLowerCase();
|
|
58
|
-
let result = BN_0;
|
|
59
|
-
for (let i = 0; i < value.length; i++) {
|
|
60
|
-
result = result * BN_36 + Base36[value[i]];
|
|
61
|
-
}
|
|
62
|
-
return result;
|
|
1
|
+
import { keccak_256 } from "./standards-sdk.es43.js";
|
|
2
|
+
import { getBytes, hexlify } from "./standards-sdk.es44.js";
|
|
3
|
+
let locked = false;
|
|
4
|
+
const _keccak256 = function(data) {
|
|
5
|
+
return keccak_256(data);
|
|
6
|
+
};
|
|
7
|
+
let __keccak256 = _keccak256;
|
|
8
|
+
function keccak256(_data) {
|
|
9
|
+
const data = getBytes(_data, "data");
|
|
10
|
+
return hexlify(__keccak256(data));
|
|
63
11
|
}
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
assertArgument(!address.match(/([A-F].*[a-f])|([a-f].*[A-F])/) || result === address, "bad address checksum", "address", address);
|
|
72
|
-
return result;
|
|
73
|
-
}
|
|
74
|
-
if (address.match(/^XE[0-9]{2}[0-9A-Za-z]{30,31}$/)) {
|
|
75
|
-
assertArgument(address.substring(2, 4) === ibanChecksum(address), "bad icap checksum", "address", address);
|
|
76
|
-
let result = fromBase36(address.substring(4)).toString(16);
|
|
77
|
-
while (result.length < 40) {
|
|
78
|
-
result = "0" + result;
|
|
79
|
-
}
|
|
80
|
-
return getChecksumAddress("0x" + result);
|
|
12
|
+
keccak256._ = _keccak256;
|
|
13
|
+
keccak256.lock = function() {
|
|
14
|
+
locked = true;
|
|
15
|
+
};
|
|
16
|
+
keccak256.register = function(func) {
|
|
17
|
+
if (locked) {
|
|
18
|
+
throw new TypeError("keccak256 is locked");
|
|
81
19
|
}
|
|
82
|
-
|
|
83
|
-
}
|
|
20
|
+
__keccak256 = func;
|
|
21
|
+
};
|
|
22
|
+
Object.freeze(keccak256);
|
|
84
23
|
export {
|
|
85
|
-
|
|
24
|
+
keccak256
|
|
86
25
|
};
|
|
87
26
|
//# sourceMappingURL=standards-sdk.es42.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"standards-sdk.es42.js","sources":["../../node_modules/ethers/lib.esm/
|
|
1
|
+
{"version":3,"file":"standards-sdk.es42.js","sources":["../../node_modules/ethers/lib.esm/crypto/keccak.js"],"sourcesContent":["/**\n * Cryptographic hashing functions\n *\n * @_subsection: api/crypto:Hash Functions [about-crypto-hashing]\n */\nimport { keccak_256 } from \"@noble/hashes/sha3\";\nimport { getBytes, hexlify } from \"../utils/index.js\";\nlet locked = false;\nconst _keccak256 = function (data) {\n return keccak_256(data);\n};\nlet __keccak256 = _keccak256;\n/**\n * Compute the cryptographic KECCAK256 hash of %%data%%.\n *\n * The %%data%% **must** be a data representation, to compute the\n * hash of UTF-8 data use the [[id]] function.\n *\n * @returns DataHexstring\n * @example:\n * keccak256(\"0x\")\n * //_result:\n *\n * keccak256(\"0x1337\")\n * //_result:\n *\n * keccak256(new Uint8Array([ 0x13, 0x37 ]))\n * //_result:\n *\n * // Strings are assumed to be DataHexString, otherwise it will\n * // throw. To hash UTF-8 data, see the note above.\n * keccak256(\"Hello World\")\n * //_error:\n */\nexport function keccak256(_data) {\n const data = getBytes(_data, \"data\");\n return hexlify(__keccak256(data));\n}\nkeccak256._ = _keccak256;\nkeccak256.lock = function () { locked = true; };\nkeccak256.register = function (func) {\n if (locked) {\n throw new TypeError(\"keccak256 is locked\");\n }\n __keccak256 = func;\n};\nObject.freeze(keccak256);\n//# sourceMappingURL=keccak.js.map"],"names":[],"mappings":";;AAOA,IAAI,SAAS;AACb,MAAM,aAAa,SAAU,MAAM;AAC/B,SAAO,WAAW,IAAI;AAC1B;AACA,IAAI,cAAc;AAuBX,SAAS,UAAU,OAAO;AAC7B,QAAM,OAAO,SAAS,OAAO,MAAM;AACnC,SAAO,QAAQ,YAAY,IAAI,CAAC;AACpC;AACA,UAAU,IAAI;AACd,UAAU,OAAO,WAAY;AAAE,WAAS;AAAO;AAC/C,UAAU,WAAW,SAAU,MAAM;AACjC,MAAI,QAAQ;AACR,UAAM,IAAI,UAAU,qBAAqB;AAAA,EACjD;AACI,gBAAc;AAClB;AACA,OAAO,OAAO,SAAS;","x_google_ignoreList":[0]}
|
|
@@ -1,26 +1,177 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
import { number, exists, bytes, output } from "./standards-sdk.es64.js";
|
|
2
|
+
import { rotlSH, rotlSL, rotlBH, rotlBL, split } from "./standards-sdk.es65.js";
|
|
3
|
+
import { wrapConstructor, Hash, u32, toBytes } from "./standards-sdk.es66.js";
|
|
4
|
+
const [SHA3_PI, SHA3_ROTL, _SHA3_IOTA] = [[], [], []];
|
|
5
|
+
const _0n = /* @__PURE__ */ BigInt(0);
|
|
6
|
+
const _1n = /* @__PURE__ */ BigInt(1);
|
|
7
|
+
const _2n = /* @__PURE__ */ BigInt(2);
|
|
8
|
+
const _7n = /* @__PURE__ */ BigInt(7);
|
|
9
|
+
const _256n = /* @__PURE__ */ BigInt(256);
|
|
10
|
+
const _0x71n = /* @__PURE__ */ BigInt(113);
|
|
11
|
+
for (let round = 0, R = _1n, x = 1, y = 0; round < 24; round++) {
|
|
12
|
+
[x, y] = [y, (2 * x + 3 * y) % 5];
|
|
13
|
+
SHA3_PI.push(2 * (5 * y + x));
|
|
14
|
+
SHA3_ROTL.push((round + 1) * (round + 2) / 2 % 64);
|
|
15
|
+
let t = _0n;
|
|
16
|
+
for (let j = 0; j < 7; j++) {
|
|
17
|
+
R = (R << _1n ^ (R >> _7n) * _0x71n) % _256n;
|
|
18
|
+
if (R & _2n)
|
|
19
|
+
t ^= _1n << (_1n << /* @__PURE__ */ BigInt(j)) - _1n;
|
|
20
|
+
}
|
|
21
|
+
_SHA3_IOTA.push(t);
|
|
11
22
|
}
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
23
|
+
const [SHA3_IOTA_H, SHA3_IOTA_L] = /* @__PURE__ */ split(_SHA3_IOTA, true);
|
|
24
|
+
const rotlH = (h, l, s) => s > 32 ? rotlBH(h, l, s) : rotlSH(h, l, s);
|
|
25
|
+
const rotlL = (h, l, s) => s > 32 ? rotlBL(h, l, s) : rotlSL(h, l, s);
|
|
26
|
+
function keccakP(s, rounds = 24) {
|
|
27
|
+
const B = new Uint32Array(5 * 2);
|
|
28
|
+
for (let round = 24 - rounds; round < 24; round++) {
|
|
29
|
+
for (let x = 0; x < 10; x++)
|
|
30
|
+
B[x] = s[x] ^ s[x + 10] ^ s[x + 20] ^ s[x + 30] ^ s[x + 40];
|
|
31
|
+
for (let x = 0; x < 10; x += 2) {
|
|
32
|
+
const idx1 = (x + 8) % 10;
|
|
33
|
+
const idx0 = (x + 2) % 10;
|
|
34
|
+
const B0 = B[idx0];
|
|
35
|
+
const B1 = B[idx0 + 1];
|
|
36
|
+
const Th = rotlH(B0, B1, 1) ^ B[idx1];
|
|
37
|
+
const Tl = rotlL(B0, B1, 1) ^ B[idx1 + 1];
|
|
38
|
+
for (let y = 0; y < 50; y += 10) {
|
|
39
|
+
s[x + y] ^= Th;
|
|
40
|
+
s[x + y + 1] ^= Tl;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
let curH = s[2];
|
|
44
|
+
let curL = s[3];
|
|
45
|
+
for (let t = 0; t < 24; t++) {
|
|
46
|
+
const shift = SHA3_ROTL[t];
|
|
47
|
+
const Th = rotlH(curH, curL, shift);
|
|
48
|
+
const Tl = rotlL(curH, curL, shift);
|
|
49
|
+
const PI = SHA3_PI[t];
|
|
50
|
+
curH = s[PI];
|
|
51
|
+
curL = s[PI + 1];
|
|
52
|
+
s[PI] = Th;
|
|
53
|
+
s[PI + 1] = Tl;
|
|
54
|
+
}
|
|
55
|
+
for (let y = 0; y < 50; y += 10) {
|
|
56
|
+
for (let x = 0; x < 10; x++)
|
|
57
|
+
B[x] = s[y + x];
|
|
58
|
+
for (let x = 0; x < 10; x++)
|
|
59
|
+
s[y + x] ^= ~B[(x + 2) % 10] & B[(x + 4) % 10];
|
|
60
|
+
}
|
|
61
|
+
s[0] ^= SHA3_IOTA_H[round];
|
|
62
|
+
s[1] ^= SHA3_IOTA_L[round];
|
|
19
63
|
}
|
|
20
|
-
|
|
21
|
-
}
|
|
22
|
-
|
|
64
|
+
B.fill(0);
|
|
65
|
+
}
|
|
66
|
+
class Keccak extends Hash {
|
|
67
|
+
// NOTE: we accept arguments in bytes instead of bits here.
|
|
68
|
+
constructor(blockLen, suffix, outputLen, enableXOF = false, rounds = 24) {
|
|
69
|
+
super();
|
|
70
|
+
this.blockLen = blockLen;
|
|
71
|
+
this.suffix = suffix;
|
|
72
|
+
this.outputLen = outputLen;
|
|
73
|
+
this.enableXOF = enableXOF;
|
|
74
|
+
this.rounds = rounds;
|
|
75
|
+
this.pos = 0;
|
|
76
|
+
this.posOut = 0;
|
|
77
|
+
this.finished = false;
|
|
78
|
+
this.destroyed = false;
|
|
79
|
+
number(outputLen);
|
|
80
|
+
if (0 >= this.blockLen || this.blockLen >= 200)
|
|
81
|
+
throw new Error("Sha3 supports only keccak-f1600 function");
|
|
82
|
+
this.state = new Uint8Array(200);
|
|
83
|
+
this.state32 = u32(this.state);
|
|
84
|
+
}
|
|
85
|
+
keccak() {
|
|
86
|
+
keccakP(this.state32, this.rounds);
|
|
87
|
+
this.posOut = 0;
|
|
88
|
+
this.pos = 0;
|
|
89
|
+
}
|
|
90
|
+
update(data) {
|
|
91
|
+
exists(this);
|
|
92
|
+
const { blockLen, state } = this;
|
|
93
|
+
data = toBytes(data);
|
|
94
|
+
const len = data.length;
|
|
95
|
+
for (let pos = 0; pos < len; ) {
|
|
96
|
+
const take = Math.min(blockLen - this.pos, len - pos);
|
|
97
|
+
for (let i = 0; i < take; i++)
|
|
98
|
+
state[this.pos++] ^= data[pos++];
|
|
99
|
+
if (this.pos === blockLen)
|
|
100
|
+
this.keccak();
|
|
101
|
+
}
|
|
102
|
+
return this;
|
|
103
|
+
}
|
|
104
|
+
finish() {
|
|
105
|
+
if (this.finished)
|
|
106
|
+
return;
|
|
107
|
+
this.finished = true;
|
|
108
|
+
const { state, suffix, pos, blockLen } = this;
|
|
109
|
+
state[pos] ^= suffix;
|
|
110
|
+
if ((suffix & 128) !== 0 && pos === blockLen - 1)
|
|
111
|
+
this.keccak();
|
|
112
|
+
state[blockLen - 1] ^= 128;
|
|
113
|
+
this.keccak();
|
|
114
|
+
}
|
|
115
|
+
writeInto(out) {
|
|
116
|
+
exists(this, false);
|
|
117
|
+
bytes(out);
|
|
118
|
+
this.finish();
|
|
119
|
+
const bufferOut = this.state;
|
|
120
|
+
const { blockLen } = this;
|
|
121
|
+
for (let pos = 0, len = out.length; pos < len; ) {
|
|
122
|
+
if (this.posOut >= blockLen)
|
|
123
|
+
this.keccak();
|
|
124
|
+
const take = Math.min(blockLen - this.posOut, len - pos);
|
|
125
|
+
out.set(bufferOut.subarray(this.posOut, this.posOut + take), pos);
|
|
126
|
+
this.posOut += take;
|
|
127
|
+
pos += take;
|
|
128
|
+
}
|
|
129
|
+
return out;
|
|
130
|
+
}
|
|
131
|
+
xofInto(out) {
|
|
132
|
+
if (!this.enableXOF)
|
|
133
|
+
throw new Error("XOF is not possible for this instance");
|
|
134
|
+
return this.writeInto(out);
|
|
135
|
+
}
|
|
136
|
+
xof(bytes2) {
|
|
137
|
+
number(bytes2);
|
|
138
|
+
return this.xofInto(new Uint8Array(bytes2));
|
|
139
|
+
}
|
|
140
|
+
digestInto(out) {
|
|
141
|
+
output(out, this);
|
|
142
|
+
if (this.finished)
|
|
143
|
+
throw new Error("digest() was already called");
|
|
144
|
+
this.writeInto(out);
|
|
145
|
+
this.destroy();
|
|
146
|
+
return out;
|
|
147
|
+
}
|
|
148
|
+
digest() {
|
|
149
|
+
return this.digestInto(new Uint8Array(this.outputLen));
|
|
150
|
+
}
|
|
151
|
+
destroy() {
|
|
152
|
+
this.destroyed = true;
|
|
153
|
+
this.state.fill(0);
|
|
154
|
+
}
|
|
155
|
+
_cloneInto(to) {
|
|
156
|
+
const { blockLen, suffix, outputLen, rounds, enableXOF } = this;
|
|
157
|
+
to || (to = new Keccak(blockLen, suffix, outputLen, enableXOF, rounds));
|
|
158
|
+
to.state32.set(this.state32);
|
|
159
|
+
to.pos = this.pos;
|
|
160
|
+
to.posOut = this.posOut;
|
|
161
|
+
to.finished = this.finished;
|
|
162
|
+
to.rounds = rounds;
|
|
163
|
+
to.suffix = suffix;
|
|
164
|
+
to.outputLen = outputLen;
|
|
165
|
+
to.enableXOF = enableXOF;
|
|
166
|
+
to.destroyed = this.destroyed;
|
|
167
|
+
return to;
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
const gen = (suffix, blockLen, outputLen) => wrapConstructor(() => new Keccak(blockLen, suffix, outputLen));
|
|
171
|
+
const keccak_256 = /* @__PURE__ */ gen(1, 136, 256 / 8);
|
|
23
172
|
export {
|
|
24
|
-
|
|
173
|
+
Keccak,
|
|
174
|
+
keccakP,
|
|
175
|
+
keccak_256
|
|
25
176
|
};
|
|
26
177
|
//# sourceMappingURL=standards-sdk.es43.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"standards-sdk.es43.js","sources":["../../node_modules/ethers/lib.esm/crypto/keccak.js"],"sourcesContent":["/**\n * Cryptographic hashing functions\n *\n * @_subsection: api/crypto:Hash Functions [about-crypto-hashing]\n */\nimport { keccak_256 } from \"@noble/hashes/sha3\";\nimport { getBytes, hexlify } from \"../utils/index.js\";\nlet locked = false;\nconst _keccak256 = function (data) {\n return keccak_256(data);\n};\nlet __keccak256 = _keccak256;\n/**\n * Compute the cryptographic KECCAK256 hash of %%data%%.\n *\n * The %%data%% **must** be a data representation, to compute the\n * hash of UTF-8 data use the [[id]] function.\n *\n * @returns DataHexstring\n * @example:\n * keccak256(\"0x\")\n * //_result:\n *\n * keccak256(\"0x1337\")\n * //_result:\n *\n * keccak256(new Uint8Array([ 0x13, 0x37 ]))\n * //_result:\n *\n * // Strings are assumed to be DataHexString, otherwise it will\n * // throw. To hash UTF-8 data, see the note above.\n * keccak256(\"Hello World\")\n * //_error:\n */\nexport function keccak256(_data) {\n const data = getBytes(_data, \"data\");\n return hexlify(__keccak256(data));\n}\nkeccak256._ = _keccak256;\nkeccak256.lock = function () { locked = true; };\nkeccak256.register = function (func) {\n if (locked) {\n throw new TypeError(\"keccak256 is locked\");\n }\n __keccak256 = func;\n};\nObject.freeze(keccak256);\n//# sourceMappingURL=keccak.js.map"],"names":[],"mappings":";;AAOA,IAAI,SAAS;AACb,MAAM,aAAa,SAAU,MAAM;AAC/B,SAAO,WAAW,IAAI;AAC1B;AACA,IAAI,cAAc;AAuBX,SAAS,UAAU,OAAO;AAC7B,QAAM,OAAO,SAAS,OAAO,MAAM;AACnC,SAAO,QAAQ,YAAY,IAAI,CAAC;AACpC;AACA,UAAU,IAAI;AACd,UAAU,OAAO,WAAY;AAAE,WAAS;AAAO;AAC/C,UAAU,WAAW,SAAU,MAAM;AACjC,MAAI,QAAQ;AACR,UAAM,IAAI,UAAU,qBAAqB;AAAA,EACjD;AACI,gBAAc;AAClB;AACA,OAAO,OAAO,SAAS;","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"standards-sdk.es43.js","sources":["../../node_modules/@noble/hashes/esm/sha3.js"],"sourcesContent":["import { bytes, exists, number, output } from './_assert.js';\nimport { rotlBH, rotlBL, rotlSH, rotlSL, split } from './_u64.js';\nimport { Hash, u32, toBytes, wrapConstructor, wrapXOFConstructorWithOpts, } from './utils.js';\n// SHA3 (keccak) is based on a new design: basically, the internal state is bigger than output size.\n// It's called a sponge function.\n// Various per round constants calculations\nconst [SHA3_PI, SHA3_ROTL, _SHA3_IOTA] = [[], [], []];\nconst _0n = /* @__PURE__ */ BigInt(0);\nconst _1n = /* @__PURE__ */ BigInt(1);\nconst _2n = /* @__PURE__ */ BigInt(2);\nconst _7n = /* @__PURE__ */ BigInt(7);\nconst _256n = /* @__PURE__ */ BigInt(256);\nconst _0x71n = /* @__PURE__ */ BigInt(0x71);\nfor (let round = 0, R = _1n, x = 1, y = 0; round < 24; round++) {\n // Pi\n [x, y] = [y, (2 * x + 3 * y) % 5];\n SHA3_PI.push(2 * (5 * y + x));\n // Rotational\n SHA3_ROTL.push((((round + 1) * (round + 2)) / 2) % 64);\n // Iota\n let t = _0n;\n for (let j = 0; j < 7; j++) {\n R = ((R << _1n) ^ ((R >> _7n) * _0x71n)) % _256n;\n if (R & _2n)\n t ^= _1n << ((_1n << /* @__PURE__ */ BigInt(j)) - _1n);\n }\n _SHA3_IOTA.push(t);\n}\nconst [SHA3_IOTA_H, SHA3_IOTA_L] = /* @__PURE__ */ split(_SHA3_IOTA, true);\n// Left rotation (without 0, 32, 64)\nconst rotlH = (h, l, s) => (s > 32 ? rotlBH(h, l, s) : rotlSH(h, l, s));\nconst rotlL = (h, l, s) => (s > 32 ? rotlBL(h, l, s) : rotlSL(h, l, s));\n// Same as keccakf1600, but allows to skip some rounds\nexport function keccakP(s, rounds = 24) {\n const B = new Uint32Array(5 * 2);\n // NOTE: all indices are x2 since we store state as u32 instead of u64 (bigints to slow in js)\n for (let round = 24 - rounds; round < 24; round++) {\n // Theta θ\n for (let x = 0; x < 10; x++)\n B[x] = s[x] ^ s[x + 10] ^ s[x + 20] ^ s[x + 30] ^ s[x + 40];\n for (let x = 0; x < 10; x += 2) {\n const idx1 = (x + 8) % 10;\n const idx0 = (x + 2) % 10;\n const B0 = B[idx0];\n const B1 = B[idx0 + 1];\n const Th = rotlH(B0, B1, 1) ^ B[idx1];\n const Tl = rotlL(B0, B1, 1) ^ B[idx1 + 1];\n for (let y = 0; y < 50; y += 10) {\n s[x + y] ^= Th;\n s[x + y + 1] ^= Tl;\n }\n }\n // Rho (ρ) and Pi (π)\n let curH = s[2];\n let curL = s[3];\n for (let t = 0; t < 24; t++) {\n const shift = SHA3_ROTL[t];\n const Th = rotlH(curH, curL, shift);\n const Tl = rotlL(curH, curL, shift);\n const PI = SHA3_PI[t];\n curH = s[PI];\n curL = s[PI + 1];\n s[PI] = Th;\n s[PI + 1] = Tl;\n }\n // Chi (χ)\n for (let y = 0; y < 50; y += 10) {\n for (let x = 0; x < 10; x++)\n B[x] = s[y + x];\n for (let x = 0; x < 10; x++)\n s[y + x] ^= ~B[(x + 2) % 10] & B[(x + 4) % 10];\n }\n // Iota (ι)\n s[0] ^= SHA3_IOTA_H[round];\n s[1] ^= SHA3_IOTA_L[round];\n }\n B.fill(0);\n}\nexport class Keccak extends Hash {\n // NOTE: we accept arguments in bytes instead of bits here.\n constructor(blockLen, suffix, outputLen, enableXOF = false, rounds = 24) {\n super();\n this.blockLen = blockLen;\n this.suffix = suffix;\n this.outputLen = outputLen;\n this.enableXOF = enableXOF;\n this.rounds = rounds;\n this.pos = 0;\n this.posOut = 0;\n this.finished = false;\n this.destroyed = false;\n // Can be passed from user as dkLen\n number(outputLen);\n // 1600 = 5x5 matrix of 64bit. 1600 bits === 200 bytes\n if (0 >= this.blockLen || this.blockLen >= 200)\n throw new Error('Sha3 supports only keccak-f1600 function');\n this.state = new Uint8Array(200);\n this.state32 = u32(this.state);\n }\n keccak() {\n keccakP(this.state32, this.rounds);\n this.posOut = 0;\n this.pos = 0;\n }\n update(data) {\n exists(this);\n const { blockLen, state } = this;\n data = toBytes(data);\n const len = data.length;\n for (let pos = 0; pos < len;) {\n const take = Math.min(blockLen - this.pos, len - pos);\n for (let i = 0; i < take; i++)\n state[this.pos++] ^= data[pos++];\n if (this.pos === blockLen)\n this.keccak();\n }\n return this;\n }\n finish() {\n if (this.finished)\n return;\n this.finished = true;\n const { state, suffix, pos, blockLen } = this;\n // Do the padding\n state[pos] ^= suffix;\n if ((suffix & 0x80) !== 0 && pos === blockLen - 1)\n this.keccak();\n state[blockLen - 1] ^= 0x80;\n this.keccak();\n }\n writeInto(out) {\n exists(this, false);\n bytes(out);\n this.finish();\n const bufferOut = this.state;\n const { blockLen } = this;\n for (let pos = 0, len = out.length; pos < len;) {\n if (this.posOut >= blockLen)\n this.keccak();\n const take = Math.min(blockLen - this.posOut, len - pos);\n out.set(bufferOut.subarray(this.posOut, this.posOut + take), pos);\n this.posOut += take;\n pos += take;\n }\n return out;\n }\n xofInto(out) {\n // Sha3/Keccak usage with XOF is probably mistake, only SHAKE instances can do XOF\n if (!this.enableXOF)\n throw new Error('XOF is not possible for this instance');\n return this.writeInto(out);\n }\n xof(bytes) {\n number(bytes);\n return this.xofInto(new Uint8Array(bytes));\n }\n digestInto(out) {\n output(out, this);\n if (this.finished)\n throw new Error('digest() was already called');\n this.writeInto(out);\n this.destroy();\n return out;\n }\n digest() {\n return this.digestInto(new Uint8Array(this.outputLen));\n }\n destroy() {\n this.destroyed = true;\n this.state.fill(0);\n }\n _cloneInto(to) {\n const { blockLen, suffix, outputLen, rounds, enableXOF } = this;\n to || (to = new Keccak(blockLen, suffix, outputLen, enableXOF, rounds));\n to.state32.set(this.state32);\n to.pos = this.pos;\n to.posOut = this.posOut;\n to.finished = this.finished;\n to.rounds = rounds;\n // Suffix can change in cSHAKE\n to.suffix = suffix;\n to.outputLen = outputLen;\n to.enableXOF = enableXOF;\n to.destroyed = this.destroyed;\n return to;\n }\n}\nconst gen = (suffix, blockLen, outputLen) => wrapConstructor(() => new Keccak(blockLen, suffix, outputLen));\nexport const sha3_224 = /* @__PURE__ */ gen(0x06, 144, 224 / 8);\n/**\n * SHA3-256 hash function\n * @param message - that would be hashed\n */\nexport const sha3_256 = /* @__PURE__ */ gen(0x06, 136, 256 / 8);\nexport const sha3_384 = /* @__PURE__ */ gen(0x06, 104, 384 / 8);\nexport const sha3_512 = /* @__PURE__ */ gen(0x06, 72, 512 / 8);\nexport const keccak_224 = /* @__PURE__ */ gen(0x01, 144, 224 / 8);\n/**\n * keccak-256 hash function. Different from SHA3-256.\n * @param message - that would be hashed\n */\nexport const keccak_256 = /* @__PURE__ */ gen(0x01, 136, 256 / 8);\nexport const keccak_384 = /* @__PURE__ */ gen(0x01, 104, 384 / 8);\nexport const keccak_512 = /* @__PURE__ */ gen(0x01, 72, 512 / 8);\nconst genShake = (suffix, blockLen, outputLen) => wrapXOFConstructorWithOpts((opts = {}) => new Keccak(blockLen, suffix, opts.dkLen === undefined ? outputLen : opts.dkLen, true));\nexport const shake128 = /* @__PURE__ */ genShake(0x1f, 168, 128 / 8);\nexport const shake256 = /* @__PURE__ */ genShake(0x1f, 136, 256 / 8);\n//# sourceMappingURL=sha3.js.map"],"names":["bytes"],"mappings":";;;AAMA,MAAM,CAAC,SAAS,WAAW,UAAU,IAAI,CAAC,CAAE,GAAE,CAAE,GAAE,EAAE;AACpD,MAAM,MAAsB,uBAAO,CAAC;AACpC,MAAM,MAAsB,uBAAO,CAAC;AACpC,MAAM,MAAsB,uBAAO,CAAC;AACpC,MAAM,MAAsB,uBAAO,CAAC;AACpC,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