@airgap/ethereum 0.13.7-beta.12 → 0.13.7-beta.13

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.
@@ -29946,6 +29946,433 @@ module.exports = function whichTypedArray(value) {
29946
29946
  }).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
29947
29947
  },{"available-typed-arrays":20,"call-bind/callBound":69,"es-abstract/helpers/getOwnPropertyDescriptor":107,"for-each":110,"has-tostringtag/shams":116,"is-typed-array":153}],214:[function(require,module,exports){
29948
29948
  "use strict";
29949
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
29950
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
29951
+ return new (P || (P = Promise))(function (resolve, reject) {
29952
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
29953
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
29954
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
29955
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
29956
+ });
29957
+ };
29958
+ var __generator = (this && this.__generator) || function (thisArg, body) {
29959
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
29960
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
29961
+ function verb(n) { return function (v) { return step([n, v]); }; }
29962
+ function step(op) {
29963
+ if (f) throw new TypeError("Generator is already executing.");
29964
+ while (_) try {
29965
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
29966
+ if (y = 0, t) op = [op[0] & 2, t.value];
29967
+ switch (op[0]) {
29968
+ case 0: case 1: t = op; break;
29969
+ case 4: _.label++; return { value: op[1], done: false };
29970
+ case 5: _.label++; y = op[1]; op = [0]; continue;
29971
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
29972
+ default:
29973
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
29974
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
29975
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
29976
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
29977
+ if (t[2]) _.ops.pop();
29978
+ _.trys.pop(); continue;
29979
+ }
29980
+ op = body.call(thisArg, _);
29981
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
29982
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
29983
+ }
29984
+ };
29985
+ Object.defineProperty(exports, "__esModule", { value: true });
29986
+ exports.Action = exports.ActionState = void 0;
29987
+ var errors_1 = require("../errors");
29988
+ var coinlib_error_1 = require("../errors/coinlib-error");
29989
+ var StateMachine_1 = require("./StateMachine");
29990
+ var ActionState;
29991
+ (function (ActionState) {
29992
+ ActionState[ActionState["READY"] = 0] = "READY";
29993
+ ActionState[ActionState["EXECUTING"] = 1] = "EXECUTING";
29994
+ ActionState[ActionState["COMPLETED"] = 2] = "COMPLETED";
29995
+ ActionState[ActionState["CANCELLED"] = 3] = "CANCELLED";
29996
+ })(ActionState = exports.ActionState || (exports.ActionState = {}));
29997
+ var Action = /** @class */ (function () {
29998
+ function Action(context) {
29999
+ this.stateMachine = new StateMachine_1.StateMachine(ActionState.READY, new Map([
30000
+ [ActionState.READY, []],
30001
+ [ActionState.EXECUTING, [ActionState.READY]],
30002
+ [ActionState.COMPLETED, [ActionState.EXECUTING]],
30003
+ [ActionState.CANCELLED, [ActionState.READY, ActionState.EXECUTING]]
30004
+ ]));
30005
+ this.context = context;
30006
+ }
30007
+ Object.defineProperty(Action.prototype, "identifier", {
30008
+ get: function () {
30009
+ return 'action';
30010
+ },
30011
+ enumerable: false,
30012
+ configurable: true
30013
+ });
30014
+ Action.prototype.getState = function () {
30015
+ return this.stateMachine.getState();
30016
+ };
30017
+ Action.prototype.start = function () {
30018
+ return __awaiter(this, void 0, void 0, function () {
30019
+ var result, error_1;
30020
+ return __generator(this, function (_a) {
30021
+ switch (_a.label) {
30022
+ case 0:
30023
+ _a.trys.push([0, 2, , 3]);
30024
+ this.stateMachine.transitionTo(ActionState.EXECUTING);
30025
+ return [4 /*yield*/, this.perform()];
30026
+ case 1:
30027
+ result = _a.sent();
30028
+ this.handleSuccess(result);
30029
+ return [3 /*break*/, 3];
30030
+ case 2:
30031
+ error_1 = _a.sent();
30032
+ this.handleError(error_1);
30033
+ return [3 /*break*/, 3];
30034
+ case 3: return [2 /*return*/];
30035
+ }
30036
+ });
30037
+ });
30038
+ };
30039
+ Action.prototype.cancel = function () {
30040
+ this.stateMachine.transitionTo(ActionState.CANCELLED);
30041
+ if (this.onCancel) {
30042
+ this.onCancel();
30043
+ }
30044
+ };
30045
+ Action.prototype.addValidTransition = function (from, to) {
30046
+ this.stateMachine.addValidStateTransition(from, to);
30047
+ };
30048
+ Action.prototype.handleSuccess = function (result) {
30049
+ this.result = result;
30050
+ this.stateMachine.transitionTo(ActionState.COMPLETED);
30051
+ if (this.onComplete) {
30052
+ this.onComplete(result);
30053
+ }
30054
+ };
30055
+ Action.prototype.handleError = function (error) {
30056
+ this.error = error;
30057
+ this.stateMachine.transitionTo(ActionState.COMPLETED);
30058
+ if (this.onError) {
30059
+ this.onError(error);
30060
+ }
30061
+ throw new errors_1.InvalidValueError(coinlib_error_1.Domain.ACTIONS, error.message);
30062
+ };
30063
+ return Action;
30064
+ }());
30065
+ exports.Action = Action;
30066
+
30067
+ },{"../errors":421,"../errors/coinlib-error":420,"./StateMachine":218}],215:[function(require,module,exports){
30068
+ "use strict";
30069
+ var __extends = (this && this.__extends) || (function () {
30070
+ var extendStatics = function (d, b) {
30071
+ extendStatics = Object.setPrototypeOf ||
30072
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
30073
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
30074
+ return extendStatics(d, b);
30075
+ };
30076
+ return function (d, b) {
30077
+ extendStatics(d, b);
30078
+ function __() { this.constructor = d; }
30079
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
30080
+ };
30081
+ })();
30082
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
30083
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
30084
+ return new (P || (P = Promise))(function (resolve, reject) {
30085
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
30086
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
30087
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
30088
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
30089
+ });
30090
+ };
30091
+ var __generator = (this && this.__generator) || function (thisArg, body) {
30092
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
30093
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
30094
+ function verb(n) { return function (v) { return step([n, v]); }; }
30095
+ function step(op) {
30096
+ if (f) throw new TypeError("Generator is already executing.");
30097
+ while (_) try {
30098
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
30099
+ if (y = 0, t) op = [op[0] & 2, t.value];
30100
+ switch (op[0]) {
30101
+ case 0: case 1: t = op; break;
30102
+ case 4: _.label++; return { value: op[1], done: false };
30103
+ case 5: _.label++; y = op[1]; op = [0]; continue;
30104
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
30105
+ default:
30106
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
30107
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
30108
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
30109
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
30110
+ if (t[2]) _.ops.pop();
30111
+ _.trys.pop(); continue;
30112
+ }
30113
+ op = body.call(thisArg, _);
30114
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
30115
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
30116
+ }
30117
+ };
30118
+ Object.defineProperty(exports, "__esModule", { value: true });
30119
+ exports.LinkedAction = void 0;
30120
+ var Action_1 = require("./Action");
30121
+ var LinkedAction = /** @class */ (function (_super) {
30122
+ __extends(LinkedAction, _super);
30123
+ function LinkedAction(action, linkedActionType) {
30124
+ var _this = _super.call(this) || this;
30125
+ _this.linkedActionType = linkedActionType;
30126
+ _this.action = action;
30127
+ return _this;
30128
+ }
30129
+ LinkedAction.prototype.getLinkedAction = function () {
30130
+ return this.linkedAction;
30131
+ };
30132
+ LinkedAction.prototype.perform = function () {
30133
+ return __awaiter(this, void 0, void 0, function () {
30134
+ return __generator(this, function (_a) {
30135
+ switch (_a.label) {
30136
+ case 0: return [4 /*yield*/, this.action.start()];
30137
+ case 1:
30138
+ _a.sent();
30139
+ this.linkedAction = new this.linkedActionType(this.action.result);
30140
+ return [4 /*yield*/, this.linkedAction.start()];
30141
+ case 2:
30142
+ _a.sent();
30143
+ return [2 /*return*/, this.linkedAction.result];
30144
+ }
30145
+ });
30146
+ });
30147
+ };
30148
+ LinkedAction.prototype.cancel = function () {
30149
+ if (this.action.getState() === Action_1.ActionState.EXECUTING) {
30150
+ this.action.cancel();
30151
+ }
30152
+ else if (this.linkedAction !== undefined && this.linkedAction.getState() === Action_1.ActionState.EXECUTING) {
30153
+ this.linkedAction.cancel();
30154
+ }
30155
+ _super.prototype.cancel.call(this);
30156
+ };
30157
+ return LinkedAction;
30158
+ }(Action_1.Action));
30159
+ exports.LinkedAction = LinkedAction;
30160
+
30161
+ },{"./Action":214}],216:[function(require,module,exports){
30162
+ "use strict";
30163
+ var __extends = (this && this.__extends) || (function () {
30164
+ var extendStatics = function (d, b) {
30165
+ extendStatics = Object.setPrototypeOf ||
30166
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
30167
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
30168
+ return extendStatics(d, b);
30169
+ };
30170
+ return function (d, b) {
30171
+ extendStatics(d, b);
30172
+ function __() { this.constructor = d; }
30173
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
30174
+ };
30175
+ })();
30176
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
30177
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
30178
+ return new (P || (P = Promise))(function (resolve, reject) {
30179
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
30180
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
30181
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
30182
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
30183
+ });
30184
+ };
30185
+ var __generator = (this && this.__generator) || function (thisArg, body) {
30186
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
30187
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
30188
+ function verb(n) { return function (v) { return step([n, v]); }; }
30189
+ function step(op) {
30190
+ if (f) throw new TypeError("Generator is already executing.");
30191
+ while (_) try {
30192
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
30193
+ if (y = 0, t) op = [op[0] & 2, t.value];
30194
+ switch (op[0]) {
30195
+ case 0: case 1: t = op; break;
30196
+ case 4: _.label++; return { value: op[1], done: false };
30197
+ case 5: _.label++; y = op[1]; op = [0]; continue;
30198
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
30199
+ default:
30200
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
30201
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
30202
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
30203
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
30204
+ if (t[2]) _.ops.pop();
30205
+ _.trys.pop(); continue;
30206
+ }
30207
+ op = body.call(thisArg, _);
30208
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
30209
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
30210
+ }
30211
+ };
30212
+ Object.defineProperty(exports, "__esModule", { value: true });
30213
+ exports.RepeatableAction = void 0;
30214
+ var Action_1 = require("./Action");
30215
+ var RepeatableAction = /** @class */ (function (_super) {
30216
+ __extends(RepeatableAction, _super);
30217
+ function RepeatableAction(context, actionFactory) {
30218
+ var _this = _super.call(this, context) || this;
30219
+ _this.actionFactory = actionFactory;
30220
+ _this.addValidTransition(Action_1.ActionState.EXECUTING, Action_1.ActionState.EXECUTING);
30221
+ _this.addValidTransition(Action_1.ActionState.COMPLETED, Action_1.ActionState.EXECUTING);
30222
+ _this.addValidTransition(Action_1.ActionState.CANCELLED, Action_1.ActionState.EXECUTING);
30223
+ return _this;
30224
+ }
30225
+ RepeatableAction.prototype.perform = function () {
30226
+ return __awaiter(this, void 0, void 0, function () {
30227
+ return __generator(this, function (_a) {
30228
+ switch (_a.label) {
30229
+ case 0:
30230
+ if (this.innerAction !== undefined && this.innerAction.getState() === Action_1.ActionState.EXECUTING) {
30231
+ this.innerAction.cancel();
30232
+ }
30233
+ this.innerAction = this.actionFactory();
30234
+ return [4 /*yield*/, this.innerAction.start()];
30235
+ case 1:
30236
+ _a.sent();
30237
+ return [2 /*return*/, this.innerAction.result];
30238
+ }
30239
+ });
30240
+ });
30241
+ };
30242
+ RepeatableAction.prototype.cancel = function () {
30243
+ if (this.innerAction !== undefined && this.innerAction.getState() === Action_1.ActionState.EXECUTING) {
30244
+ this.innerAction.cancel();
30245
+ }
30246
+ _super.prototype.cancel.call(this);
30247
+ };
30248
+ return RepeatableAction;
30249
+ }(Action_1.Action));
30250
+ exports.RepeatableAction = RepeatableAction;
30251
+
30252
+ },{"./Action":214}],217:[function(require,module,exports){
30253
+ "use strict";
30254
+ var __extends = (this && this.__extends) || (function () {
30255
+ var extendStatics = function (d, b) {
30256
+ extendStatics = Object.setPrototypeOf ||
30257
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
30258
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
30259
+ return extendStatics(d, b);
30260
+ };
30261
+ return function (d, b) {
30262
+ extendStatics(d, b);
30263
+ function __() { this.constructor = d; }
30264
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
30265
+ };
30266
+ })();
30267
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
30268
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
30269
+ return new (P || (P = Promise))(function (resolve, reject) {
30270
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
30271
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
30272
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
30273
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
30274
+ });
30275
+ };
30276
+ var __generator = (this && this.__generator) || function (thisArg, body) {
30277
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
30278
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
30279
+ function verb(n) { return function (v) { return step([n, v]); }; }
30280
+ function step(op) {
30281
+ if (f) throw new TypeError("Generator is already executing.");
30282
+ while (_) try {
30283
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
30284
+ if (y = 0, t) op = [op[0] & 2, t.value];
30285
+ switch (op[0]) {
30286
+ case 0: case 1: t = op; break;
30287
+ case 4: _.label++; return { value: op[1], done: false };
30288
+ case 5: _.label++; y = op[1]; op = [0]; continue;
30289
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
30290
+ default:
30291
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
30292
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
30293
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
30294
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
30295
+ if (t[2]) _.ops.pop();
30296
+ _.trys.pop(); continue;
30297
+ }
30298
+ op = body.call(thisArg, _);
30299
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
30300
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
30301
+ }
30302
+ };
30303
+ Object.defineProperty(exports, "__esModule", { value: true });
30304
+ exports.SimpleAction = void 0;
30305
+ var Action_1 = require("./Action");
30306
+ var SimpleAction = /** @class */ (function (_super) {
30307
+ __extends(SimpleAction, _super);
30308
+ function SimpleAction(promise) {
30309
+ var _this = _super.call(this) || this;
30310
+ _this.promise = promise;
30311
+ return _this;
30312
+ }
30313
+ Object.defineProperty(SimpleAction.prototype, "identifier", {
30314
+ get: function () {
30315
+ return 'simple-action';
30316
+ },
30317
+ enumerable: false,
30318
+ configurable: true
30319
+ });
30320
+ SimpleAction.prototype.perform = function () {
30321
+ return __awaiter(this, void 0, void 0, function () {
30322
+ return __generator(this, function (_a) {
30323
+ return [2 /*return*/, this.promise()];
30324
+ });
30325
+ });
30326
+ };
30327
+ return SimpleAction;
30328
+ }(Action_1.Action));
30329
+ exports.SimpleAction = SimpleAction;
30330
+
30331
+ },{"./Action":214}],218:[function(require,module,exports){
30332
+ "use strict";
30333
+ Object.defineProperty(exports, "__esModule", { value: true });
30334
+ exports.StateMachine = void 0;
30335
+ var errors_1 = require("../errors");
30336
+ var coinlib_error_1 = require("../errors/coinlib-error");
30337
+ var StateMachine = /** @class */ (function () {
30338
+ function StateMachine(initialState, validTransitions) {
30339
+ this.state = initialState;
30340
+ this.validTransitions = validTransitions;
30341
+ }
30342
+ StateMachine.prototype.transitionTo = function (state) {
30343
+ if (this.canTransitionTo(state)) {
30344
+ this.state = state;
30345
+ }
30346
+ else {
30347
+ throw new errors_1.OperationFailedError(coinlib_error_1.Domain.ACTIONS, "Invalid state transition: " + this.state + " -> " + state);
30348
+ }
30349
+ };
30350
+ StateMachine.prototype.getState = function () {
30351
+ return this.state;
30352
+ };
30353
+ StateMachine.prototype.addValidStateTransition = function (from, to) {
30354
+ var states = this.validTransitions.get(to);
30355
+ if (states !== undefined && states.indexOf(from) === -1) {
30356
+ states.push(from);
30357
+ this.validTransitions.set(to, states);
30358
+ }
30359
+ else {
30360
+ this.validTransitions.set(to, [from]);
30361
+ }
30362
+ };
30363
+ StateMachine.prototype.canTransitionTo = function (state) {
30364
+ var states = this.validTransitions.get(state);
30365
+ if (states !== undefined) {
30366
+ return states.indexOf(this.state) !== -1;
30367
+ }
30368
+ return false;
30369
+ };
30370
+ return StateMachine;
30371
+ }());
30372
+ exports.StateMachine = StateMachine;
30373
+
30374
+ },{"../errors":421,"../errors/coinlib-error":420}],219:[function(require,module,exports){
30375
+ "use strict";
29949
30376
  Object.defineProperty(exports, "__esModule", { value: true });
29950
30377
  exports.RPCBody = void 0;
29951
30378
  var RPCBody = /** @class */ (function () {
@@ -29961,9 +30388,9 @@ var RPCBody = /** @class */ (function () {
29961
30388
  }());
29962
30389
  exports.RPCBody = RPCBody;
29963
30390
 
29964
- },{}],215:[function(require,module,exports){
30391
+ },{}],220:[function(require,module,exports){
29965
30392
  module.exports = require('./lib/axios');
29966
- },{"./lib/axios":217}],216:[function(require,module,exports){
30393
+ },{"./lib/axios":222}],221:[function(require,module,exports){
29967
30394
  'use strict';
29968
30395
 
29969
30396
  var utils = require('./../utils');
@@ -30139,7 +30566,7 @@ module.exports = function xhrAdapter(config) {
30139
30566
  });
30140
30567
  };
30141
30568
 
30142
- },{"../core/createError":223,"./../core/settle":227,"./../helpers/buildURL":231,"./../helpers/cookies":233,"./../helpers/isURLSameOrigin":235,"./../helpers/parseHeaders":237,"./../utils":239}],217:[function(require,module,exports){
30569
+ },{"../core/createError":228,"./../core/settle":232,"./../helpers/buildURL":236,"./../helpers/cookies":238,"./../helpers/isURLSameOrigin":240,"./../helpers/parseHeaders":242,"./../utils":244}],222:[function(require,module,exports){
30143
30570
  'use strict';
30144
30571
 
30145
30572
  var utils = require('./utils');
@@ -30194,7 +30621,7 @@ module.exports = axios;
30194
30621
  // Allow use of default import syntax in TypeScript
30195
30622
  module.exports.default = axios;
30196
30623
 
30197
- },{"./cancel/Cancel":218,"./cancel/CancelToken":219,"./cancel/isCancel":220,"./core/Axios":221,"./core/mergeConfig":226,"./defaults":229,"./helpers/bind":230,"./helpers/spread":238,"./utils":239}],218:[function(require,module,exports){
30624
+ },{"./cancel/Cancel":223,"./cancel/CancelToken":224,"./cancel/isCancel":225,"./core/Axios":226,"./core/mergeConfig":231,"./defaults":234,"./helpers/bind":235,"./helpers/spread":243,"./utils":244}],223:[function(require,module,exports){
30198
30625
  'use strict';
30199
30626
 
30200
30627
  /**
@@ -30215,7 +30642,7 @@ Cancel.prototype.__CANCEL__ = true;
30215
30642
 
30216
30643
  module.exports = Cancel;
30217
30644
 
30218
- },{}],219:[function(require,module,exports){
30645
+ },{}],224:[function(require,module,exports){
30219
30646
  'use strict';
30220
30647
 
30221
30648
  var Cancel = require('./Cancel');
@@ -30274,14 +30701,14 @@ CancelToken.source = function source() {
30274
30701
 
30275
30702
  module.exports = CancelToken;
30276
30703
 
30277
- },{"./Cancel":218}],220:[function(require,module,exports){
30704
+ },{"./Cancel":223}],225:[function(require,module,exports){
30278
30705
  'use strict';
30279
30706
 
30280
30707
  module.exports = function isCancel(value) {
30281
30708
  return !!(value && value.__CANCEL__);
30282
30709
  };
30283
30710
 
30284
- },{}],221:[function(require,module,exports){
30711
+ },{}],226:[function(require,module,exports){
30285
30712
  'use strict';
30286
30713
 
30287
30714
  var utils = require('./../utils');
@@ -30369,7 +30796,7 @@ utils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {
30369
30796
 
30370
30797
  module.exports = Axios;
30371
30798
 
30372
- },{"../helpers/buildURL":231,"./../utils":239,"./InterceptorManager":222,"./dispatchRequest":224,"./mergeConfig":226}],222:[function(require,module,exports){
30799
+ },{"../helpers/buildURL":236,"./../utils":244,"./InterceptorManager":227,"./dispatchRequest":229,"./mergeConfig":231}],227:[function(require,module,exports){
30373
30800
  'use strict';
30374
30801
 
30375
30802
  var utils = require('./../utils');
@@ -30423,7 +30850,7 @@ InterceptorManager.prototype.forEach = function forEach(fn) {
30423
30850
 
30424
30851
  module.exports = InterceptorManager;
30425
30852
 
30426
- },{"./../utils":239}],223:[function(require,module,exports){
30853
+ },{"./../utils":244}],228:[function(require,module,exports){
30427
30854
  'use strict';
30428
30855
 
30429
30856
  var enhanceError = require('./enhanceError');
@@ -30443,7 +30870,7 @@ module.exports = function createError(message, config, code, request, response)
30443
30870
  return enhanceError(error, config, code, request, response);
30444
30871
  };
30445
30872
 
30446
- },{"./enhanceError":225}],224:[function(require,module,exports){
30873
+ },{"./enhanceError":230}],229:[function(require,module,exports){
30447
30874
  'use strict';
30448
30875
 
30449
30876
  var utils = require('./../utils');
@@ -30531,7 +30958,7 @@ module.exports = function dispatchRequest(config) {
30531
30958
  });
30532
30959
  };
30533
30960
 
30534
- },{"../cancel/isCancel":220,"../defaults":229,"./../helpers/combineURLs":232,"./../helpers/isAbsoluteURL":234,"./../utils":239,"./transformData":228}],225:[function(require,module,exports){
30961
+ },{"../cancel/isCancel":225,"../defaults":234,"./../helpers/combineURLs":237,"./../helpers/isAbsoluteURL":239,"./../utils":244,"./transformData":233}],230:[function(require,module,exports){
30535
30962
  'use strict';
30536
30963
 
30537
30964
  /**
@@ -30575,7 +31002,7 @@ module.exports = function enhanceError(error, config, code, request, response) {
30575
31002
  return error;
30576
31003
  };
30577
31004
 
30578
- },{}],226:[function(require,module,exports){
31005
+ },{}],231:[function(require,module,exports){
30579
31006
  'use strict';
30580
31007
 
30581
31008
  var utils = require('../utils');
@@ -30628,7 +31055,7 @@ module.exports = function mergeConfig(config1, config2) {
30628
31055
  return config;
30629
31056
  };
30630
31057
 
30631
- },{"../utils":239}],227:[function(require,module,exports){
31058
+ },{"../utils":244}],232:[function(require,module,exports){
30632
31059
  'use strict';
30633
31060
 
30634
31061
  var createError = require('./createError');
@@ -30655,7 +31082,7 @@ module.exports = function settle(resolve, reject, response) {
30655
31082
  }
30656
31083
  };
30657
31084
 
30658
- },{"./createError":223}],228:[function(require,module,exports){
31085
+ },{"./createError":228}],233:[function(require,module,exports){
30659
31086
  'use strict';
30660
31087
 
30661
31088
  var utils = require('./../utils');
@@ -30677,7 +31104,7 @@ module.exports = function transformData(data, headers, fns) {
30677
31104
  return data;
30678
31105
  };
30679
31106
 
30680
- },{"./../utils":239}],229:[function(require,module,exports){
31107
+ },{"./../utils":244}],234:[function(require,module,exports){
30681
31108
  (function (process){(function (){
30682
31109
  'use strict';
30683
31110
 
@@ -30779,7 +31206,7 @@ utils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {
30779
31206
  module.exports = defaults;
30780
31207
 
30781
31208
  }).call(this)}).call(this,require('_process'))
30782
- },{"./adapters/http":216,"./adapters/xhr":216,"./helpers/normalizeHeaderName":236,"./utils":239,"_process":171}],230:[function(require,module,exports){
31209
+ },{"./adapters/http":221,"./adapters/xhr":221,"./helpers/normalizeHeaderName":241,"./utils":244,"_process":171}],235:[function(require,module,exports){
30783
31210
  'use strict';
30784
31211
 
30785
31212
  module.exports = function bind(fn, thisArg) {
@@ -30792,7 +31219,7 @@ module.exports = function bind(fn, thisArg) {
30792
31219
  };
30793
31220
  };
30794
31221
 
30795
- },{}],231:[function(require,module,exports){
31222
+ },{}],236:[function(require,module,exports){
30796
31223
  'use strict';
30797
31224
 
30798
31225
  var utils = require('./../utils');
@@ -30865,7 +31292,7 @@ module.exports = function buildURL(url, params, paramsSerializer) {
30865
31292
  return url;
30866
31293
  };
30867
31294
 
30868
- },{"./../utils":239}],232:[function(require,module,exports){
31295
+ },{"./../utils":244}],237:[function(require,module,exports){
30869
31296
  'use strict';
30870
31297
 
30871
31298
  /**
@@ -30881,7 +31308,7 @@ module.exports = function combineURLs(baseURL, relativeURL) {
30881
31308
  : baseURL;
30882
31309
  };
30883
31310
 
30884
- },{}],233:[function(require,module,exports){
31311
+ },{}],238:[function(require,module,exports){
30885
31312
  'use strict';
30886
31313
 
30887
31314
  var utils = require('./../utils');
@@ -30936,7 +31363,7 @@ module.exports = (
30936
31363
  })()
30937
31364
  );
30938
31365
 
30939
- },{"./../utils":239}],234:[function(require,module,exports){
31366
+ },{"./../utils":244}],239:[function(require,module,exports){
30940
31367
  'use strict';
30941
31368
 
30942
31369
  /**
@@ -30952,7 +31379,7 @@ module.exports = function isAbsoluteURL(url) {
30952
31379
  return /^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(url);
30953
31380
  };
30954
31381
 
30955
- },{}],235:[function(require,module,exports){
31382
+ },{}],240:[function(require,module,exports){
30956
31383
  'use strict';
30957
31384
 
30958
31385
  var utils = require('./../utils');
@@ -31022,7 +31449,7 @@ module.exports = (
31022
31449
  })()
31023
31450
  );
31024
31451
 
31025
- },{"./../utils":239}],236:[function(require,module,exports){
31452
+ },{"./../utils":244}],241:[function(require,module,exports){
31026
31453
  'use strict';
31027
31454
 
31028
31455
  var utils = require('../utils');
@@ -31036,7 +31463,7 @@ module.exports = function normalizeHeaderName(headers, normalizedName) {
31036
31463
  });
31037
31464
  };
31038
31465
 
31039
- },{"../utils":239}],237:[function(require,module,exports){
31466
+ },{"../utils":244}],242:[function(require,module,exports){
31040
31467
  'use strict';
31041
31468
 
31042
31469
  var utils = require('./../utils');
@@ -31091,7 +31518,7 @@ module.exports = function parseHeaders(headers) {
31091
31518
  return parsed;
31092
31519
  };
31093
31520
 
31094
- },{"./../utils":239}],238:[function(require,module,exports){
31521
+ },{"./../utils":244}],243:[function(require,module,exports){
31095
31522
  'use strict';
31096
31523
 
31097
31524
  /**
@@ -31120,7 +31547,7 @@ module.exports = function spread(callback) {
31120
31547
  };
31121
31548
  };
31122
31549
 
31123
- },{}],239:[function(require,module,exports){
31550
+ },{}],244:[function(require,module,exports){
31124
31551
  'use strict';
31125
31552
 
31126
31553
  var bind = require('./helpers/bind');
@@ -31456,7 +31883,7 @@ module.exports = {
31456
31883
  trim: trim
31457
31884
  };
31458
31885
 
31459
- },{"../../is-buffer-2.0.3/index":364,"./helpers/bind":230}],240:[function(require,module,exports){
31886
+ },{"../../is-buffer-2.0.3/index":369,"./helpers/bind":235}],245:[function(require,module,exports){
31460
31887
  'use strict'
31461
31888
  // base-x encoding / decoding
31462
31889
  // Copyright (c) 2018 base-x contributors
@@ -31578,7 +32005,7 @@ function base (ALPHABET) {
31578
32005
  }
31579
32006
  module.exports = base
31580
32007
 
31581
- },{"../../safe-buffer-5.2.0/index":387}],241:[function(require,module,exports){
32008
+ },{"../../safe-buffer-5.2.0/index":392}],246:[function(require,module,exports){
31582
32009
  'use strict'
31583
32010
  let ALPHABET = 'qpzry9x8gf2tvdw0s3jn54khce6mua7l'
31584
32011
 
@@ -31719,7 +32146,7 @@ function fromWords (words) {
31719
32146
 
31720
32147
  module.exports = { decode, encode, toWords, fromWords }
31721
32148
 
31722
- },{}],242:[function(require,module,exports){
32149
+ },{}],247:[function(require,module,exports){
31723
32150
  // (public) Constructor
31724
32151
  function BigInteger(a, b, c) {
31725
32152
  if (!(this instanceof BigInteger))
@@ -33230,7 +33657,7 @@ BigInteger.valueOf = nbv
33230
33657
 
33231
33658
  module.exports = BigInteger
33232
33659
 
33233
- },{"../package.json":245}],243:[function(require,module,exports){
33660
+ },{"../package.json":250}],248:[function(require,module,exports){
33234
33661
  (function (Buffer){(function (){
33235
33662
  // FIXME: Kind of a weird way to throw exceptions, consider removing
33236
33663
  var assert = require('assert')
@@ -33325,14 +33752,14 @@ BigInteger.prototype.toHex = function(size) {
33325
33752
  }
33326
33753
 
33327
33754
  }).call(this)}).call(this,require("buffer").Buffer)
33328
- },{"./bigi":242,"assert":16,"buffer":67}],244:[function(require,module,exports){
33755
+ },{"./bigi":247,"assert":16,"buffer":67}],249:[function(require,module,exports){
33329
33756
  var BigInteger = require('./bigi')
33330
33757
 
33331
33758
  //addons
33332
33759
  require('./convert')
33333
33760
 
33334
33761
  module.exports = BigInteger
33335
- },{"./bigi":242,"./convert":243}],245:[function(require,module,exports){
33762
+ },{"./bigi":247,"./convert":248}],250:[function(require,module,exports){
33336
33763
  module.exports={
33337
33764
  "name": "bigi",
33338
33765
  "version": "1.4.2",
@@ -33388,7 +33815,7 @@ module.exports={
33388
33815
  ]
33389
33816
  }
33390
33817
  }
33391
- },{}],246:[function(require,module,exports){
33818
+ },{}],251:[function(require,module,exports){
33392
33819
  ;(function (globalObject) {
33393
33820
  'use strict';
33394
33821
 
@@ -36292,7 +36719,7 @@ module.exports={
36292
36719
  }
36293
36720
  })(this);
36294
36721
 
36295
- },{}],247:[function(require,module,exports){
36722
+ },{}],252:[function(require,module,exports){
36296
36723
  var Buffer = require('../safe-buffer-5.2.0/index').Buffer
36297
36724
  var createHash = require('../create-hash-1.2.0/browser')
36298
36725
  var pbkdf2 = require('../pbkdf2-3.0.17/index').pbkdf2Sync
@@ -36447,7 +36874,7 @@ module.exports = {
36447
36874
  }
36448
36875
  }
36449
36876
 
36450
- },{"../create-hash-1.2.0/browser":308,"../pbkdf2-3.0.17/index":378,"../randombytes-2.1.0/browser":384,"../safe-buffer-5.2.0/index":387,"../unorm-1.6.0/lib/unorm":410,"./wordlists/chinese_simplified.json":248,"./wordlists/chinese_traditional.json":249,"./wordlists/english.json":250,"./wordlists/french.json":251,"./wordlists/italian.json":252,"./wordlists/japanese.json":253,"./wordlists/korean.json":254,"./wordlists/spanish.json":255}],248:[function(require,module,exports){
36877
+ },{"../create-hash-1.2.0/browser":313,"../pbkdf2-3.0.17/index":383,"../randombytes-2.1.0/browser":389,"../safe-buffer-5.2.0/index":392,"../unorm-1.6.0/lib/unorm":415,"./wordlists/chinese_simplified.json":253,"./wordlists/chinese_traditional.json":254,"./wordlists/english.json":255,"./wordlists/french.json":256,"./wordlists/italian.json":257,"./wordlists/japanese.json":258,"./wordlists/korean.json":259,"./wordlists/spanish.json":260}],253:[function(require,module,exports){
36451
36878
  module.exports=[
36452
36879
  "的",
36453
36880
  "一",
@@ -38498,7 +38925,7 @@ module.exports=[
38498
38925
  "矮",
38499
38926
  "歇"
38500
38927
  ]
38501
- },{}],249:[function(require,module,exports){
38928
+ },{}],254:[function(require,module,exports){
38502
38929
  module.exports=[
38503
38930
  "的",
38504
38931
  "一",
@@ -40549,7 +40976,7 @@ module.exports=[
40549
40976
  "矮",
40550
40977
  "歇"
40551
40978
  ]
40552
- },{}],250:[function(require,module,exports){
40979
+ },{}],255:[function(require,module,exports){
40553
40980
  module.exports=[
40554
40981
  "abandon",
40555
40982
  "ability",
@@ -42600,7 +43027,7 @@ module.exports=[
42600
43027
  "zone",
42601
43028
  "zoo"
42602
43029
  ]
42603
- },{}],251:[function(require,module,exports){
43030
+ },{}],256:[function(require,module,exports){
42604
43031
  module.exports=[
42605
43032
  "abaisser",
42606
43033
  "abandon",
@@ -44651,7 +45078,7 @@ module.exports=[
44651
45078
  "zeste",
44652
45079
  "zoologie"
44653
45080
  ]
44654
- },{}],252:[function(require,module,exports){
45081
+ },{}],257:[function(require,module,exports){
44655
45082
  module.exports=[
44656
45083
  "abaco",
44657
45084
  "abbaglio",
@@ -46702,7 +47129,7 @@ module.exports=[
46702
47129
  "zulu",
46703
47130
  "zuppa"
46704
47131
  ]
46705
- },{}],253:[function(require,module,exports){
47132
+ },{}],258:[function(require,module,exports){
46706
47133
  module.exports=[
46707
47134
  "あいこくしん",
46708
47135
  "あいさつ",
@@ -48753,7 +49180,7 @@ module.exports=[
48753
49180
  "わらう",
48754
49181
  "われる"
48755
49182
  ]
48756
- },{}],254:[function(require,module,exports){
49183
+ },{}],259:[function(require,module,exports){
48757
49184
  module.exports=[
48758
49185
  "가격",
48759
49186
  "가끔",
@@ -50804,7 +51231,7 @@ module.exports=[
50804
51231
  "흰색",
50805
51232
  "힘껏"
50806
51233
  ]
50807
- },{}],255:[function(require,module,exports){
51234
+ },{}],260:[function(require,module,exports){
50808
51235
  module.exports=[
50809
51236
  "ábaco",
50810
51237
  "abdomen",
@@ -52855,7 +53282,7 @@ module.exports=[
52855
53282
  "zumo",
52856
53283
  "zurdo"
52857
53284
  ]
52858
- },{}],256:[function(require,module,exports){
53285
+ },{}],261:[function(require,module,exports){
52859
53286
  // Reference https://github.com/bitcoin/bips/blob/master/bip-0066.mediawiki
52860
53287
  // Format: 0x30 [total-length] 0x02 [R-length] [R] 0x02 [S-length] [S]
52861
53288
  // NOTE: SIGHASH byte ignored AND restricted, truncate before use
@@ -52970,7 +53397,7 @@ module.exports = {
52970
53397
  encode: encode
52971
53398
  }
52972
53399
 
52973
- },{"../safe-buffer-5.2.0/index":387}],257:[function(require,module,exports){
53400
+ },{"../safe-buffer-5.2.0/index":392}],262:[function(require,module,exports){
52974
53401
  module.exports={
52975
53402
  "OP_FALSE": 0,
52976
53403
  "OP_0": 0,
@@ -53091,7 +53518,7 @@ module.exports={
53091
53518
  "OP_PUBKEY": 254,
53092
53519
  "OP_INVALIDOPCODE": 255
53093
53520
  }
53094
- },{}],258:[function(require,module,exports){
53521
+ },{}],263:[function(require,module,exports){
53095
53522
  var OPS = require('./index.json')
53096
53523
 
53097
53524
  var map = {}
@@ -53102,7 +53529,7 @@ for (var op in OPS) {
53102
53529
 
53103
53530
  module.exports = map
53104
53531
 
53105
- },{"./index.json":257}],259:[function(require,module,exports){
53532
+ },{"./index.json":262}],264:[function(require,module,exports){
53106
53533
  var Buffer = require('../../safe-buffer-5.2.0/index').Buffer
53107
53534
  var bech32 = require('../../bech32-0.0.3/index')
53108
53535
  var bs58check = require('../../bs58check-2.1.2/index')
@@ -53213,7 +53640,7 @@ module.exports = {
53213
53640
  toOutputScript: toOutputScript
53214
53641
  }
53215
53642
 
53216
- },{"../../bech32-0.0.3/index":241,"../../bs58check-2.1.2/base":305,"../../bs58check-2.1.2/index":306,"../../safe-buffer-5.2.0/index":387,"../../typeforce-1.18.0/index":408,"./networks":271,"./script":272,"./templates":274,"./types":298}],260:[function(require,module,exports){
53643
+ },{"../../bech32-0.0.3/index":246,"../../bs58check-2.1.2/base":310,"../../bs58check-2.1.2/index":311,"../../safe-buffer-5.2.0/index":392,"../../typeforce-1.18.0/index":413,"./networks":276,"./script":277,"./templates":279,"./types":303}],265:[function(require,module,exports){
53217
53644
  var Buffer = require('../../safe-buffer-5.2.0/index').Buffer
53218
53645
  var bcrypto = require('./crypto')
53219
53646
  var fastMerkleRoot = require('../../merkle-lib-2.0.10/fastRoot')
@@ -53449,7 +53876,7 @@ Block.prototype.checkProofOfWork = function () {
53449
53876
 
53450
53877
  module.exports = Block
53451
53878
 
53452
- },{"../../merkle-lib-2.0.10/fastRoot":373,"../../safe-buffer-5.2.0/index":387,"../../typeforce-1.18.0/index":408,"../../varuint-bitcoin-1.1.2/index":413,"./coins":263,"./crypto":264,"./networks":271,"./transaction":296,"./types":298}],261:[function(require,module,exports){
53879
+ },{"../../merkle-lib-2.0.10/fastRoot":378,"../../safe-buffer-5.2.0/index":392,"../../typeforce-1.18.0/index":413,"../../varuint-bitcoin-1.1.2/index":418,"./coins":268,"./crypto":269,"./networks":276,"./transaction":301,"./types":303}],266:[function(require,module,exports){
53453
53880
  var Buffer = require('../../safe-buffer-5.2.0/index').Buffer
53454
53881
  var bufferutils = require('./bufferutils')
53455
53882
  var varuint = require('../../varuint-bitcoin-1.1.2/index')
@@ -53491,7 +53918,7 @@ BufferWriter.prototype.writeVarSlice = function (slice) {
53491
53918
 
53492
53919
  module.exports = BufferWriter
53493
53920
 
53494
- },{"../../safe-buffer-5.2.0/index":387,"../../varuint-bitcoin-1.1.2/index":413,"./bufferutils":262}],262:[function(require,module,exports){
53921
+ },{"../../safe-buffer-5.2.0/index":392,"../../varuint-bitcoin-1.1.2/index":418,"./bufferutils":267}],267:[function(require,module,exports){
53495
53922
  var pushdata = require('../../pushdata-bitcoin-1.0.1/index')
53496
53923
  var varuint = require('../../varuint-bitcoin-1.1.2/index')
53497
53924
 
@@ -53558,7 +53985,7 @@ module.exports = {
53558
53985
  writeVarInt: writeVarInt
53559
53986
  }
53560
53987
 
53561
- },{"../../pushdata-bitcoin-1.0.1/index":383,"../../varuint-bitcoin-1.1.2/index":413}],263:[function(require,module,exports){
53988
+ },{"../../pushdata-bitcoin-1.0.1/index":388,"../../varuint-bitcoin-1.1.2/index":418}],268:[function(require,module,exports){
53562
53989
  // Coins supported by bitgo-bitcoinjs-lib
53563
53990
  const typeforce = require('../../typeforce-1.18.0/index')
53564
53991
 
@@ -53613,7 +54040,7 @@ coins.isValidCoin = typeforce.oneOf(
53613
54040
 
53614
54041
  module.exports = coins
53615
54042
 
53616
- },{"../../typeforce-1.18.0/index":408}],264:[function(require,module,exports){
54043
+ },{"../../typeforce-1.18.0/index":413}],269:[function(require,module,exports){
53617
54044
  (function (Buffer){(function (){
53618
54045
  var createHash = require('../../create-hash-1.2.0/browser')
53619
54046
  var groestlhash = require('../../groestl-hash-js-ef6a04f1c4d2f0448f0882b5f213ef7a0659baee/index')
@@ -53660,7 +54087,7 @@ module.exports = {
53660
54087
  }
53661
54088
 
53662
54089
  }).call(this)}).call(this,require("buffer").Buffer)
53663
- },{"../../create-hash-1.2.0/browser":308,"../../groestl-hash-js-ef6a04f1c4d2f0448f0882b5f213ef7a0659baee/index":344,"buffer":67,"crypto":78}],265:[function(require,module,exports){
54090
+ },{"../../create-hash-1.2.0/browser":313,"../../groestl-hash-js-ef6a04f1c4d2f0448f0882b5f213ef7a0659baee/index":349,"buffer":67,"crypto":78}],270:[function(require,module,exports){
53664
54091
  var Buffer = require('../../safe-buffer-5.2.0/index').Buffer
53665
54092
  var createHmac = require('../../create-hmac-1.1.4/browser')
53666
54093
  var typeforce = require('../../typeforce-1.18.0/index')
@@ -53823,7 +54250,7 @@ module.exports = {
53823
54250
  __curve: secp256k1
53824
54251
  }
53825
54252
 
53826
- },{"../../bigi-1.4.2/lib/index":244,"../../create-hmac-1.1.4/browser":310,"../../ecurve-1.0.6/lib/index":320,"../../safe-buffer-5.2.0/index":387,"../../typeforce-1.18.0/index":408,"./ecsignature":267,"./types":298}],266:[function(require,module,exports){
54253
+ },{"../../bigi-1.4.2/lib/index":249,"../../create-hmac-1.1.4/browser":315,"../../ecurve-1.0.6/lib/index":325,"../../safe-buffer-5.2.0/index":392,"../../typeforce-1.18.0/index":413,"./ecsignature":272,"./types":303}],271:[function(require,module,exports){
53827
54254
  (function (Buffer){(function (){
53828
54255
  var baddress = require('./address')
53829
54256
  var bcrypto = require('./crypto')
@@ -53982,7 +54409,7 @@ ECPair.prototype.verify = function (hash, signature) {
53982
54409
  module.exports = ECPair
53983
54410
 
53984
54411
  }).call(this)}).call(this,require("buffer").Buffer)
53985
- },{"../../bigi-1.4.2/lib/index":244,"../../ecurve-1.0.6/lib/index":320,"../../randombytes-2.1.0/browser":384,"../../typeforce-1.18.0/index":408,"../../wif-2.0.6/index":414,"./address":259,"./crypto":264,"./ecdsa":265,"./fastcurve":268,"./networks":271,"./types":298,"buffer":67}],267:[function(require,module,exports){
54412
+ },{"../../bigi-1.4.2/lib/index":249,"../../ecurve-1.0.6/lib/index":325,"../../randombytes-2.1.0/browser":389,"../../typeforce-1.18.0/index":413,"../../wif-2.0.6/index":419,"./address":264,"./crypto":269,"./ecdsa":270,"./fastcurve":273,"./networks":276,"./types":303,"buffer":67}],272:[function(require,module,exports){
53986
54413
  (function (Buffer){(function (){
53987
54414
  var bip66 = require('../../bip66-1.1.5/index')
53988
54415
  var typeforce = require('../../typeforce-1.18.0/index')
@@ -54083,7 +54510,7 @@ ECSignature.prototype.toScriptSignature = function (hashType) {
54083
54510
  module.exports = ECSignature
54084
54511
 
54085
54512
  }).call(this)}).call(this,require("buffer").Buffer)
54086
- },{"../../bigi-1.4.2/lib/index":244,"../../bip66-1.1.5/index":256,"../../typeforce-1.18.0/index":408,"./types":298,"buffer":67}],268:[function(require,module,exports){
54513
+ },{"../../bigi-1.4.2/lib/index":249,"../../bip66-1.1.5/index":261,"../../typeforce-1.18.0/index":413,"./types":303,"buffer":67}],273:[function(require,module,exports){
54087
54514
  var typeforce = require('../../typeforce-1.18.0/index')
54088
54515
 
54089
54516
  var ECSignature = require('./ecsignature')
@@ -54177,7 +54604,7 @@ module.exports = {
54177
54604
  verify: verify
54178
54605
  }
54179
54606
 
54180
- },{"../../secp256k1-3.7.1/elliptic":388,"../../typeforce-1.18.0/index":408,"./ecsignature":267,"./types":298}],269:[function(require,module,exports){
54607
+ },{"../../secp256k1-3.7.1/elliptic":393,"../../typeforce-1.18.0/index":413,"./ecsignature":272,"./types":303}],274:[function(require,module,exports){
54181
54608
  var Buffer = require('../../safe-buffer-5.2.0/index').Buffer
54182
54609
  var base58check = require('../../bs58check-2.1.2/index')
54183
54610
  var bcrypto = require('./crypto')
@@ -54542,7 +54969,7 @@ HDNode.prototype.cloneKeypair = function () {
54542
54969
 
54543
54970
  module.exports = HDNode
54544
54971
 
54545
- },{"../../bigi-1.4.2/lib/index":244,"../../bs58check-2.1.2/base":305,"../../bs58check-2.1.2/index":306,"../../create-hmac-1.1.4/browser":310,"../../ecurve-1.0.6/lib/index":320,"../../safe-buffer-5.2.0/index":387,"../../typeforce-1.18.0/index":408,"./crypto":264,"./ecpair":266,"./fastcurve":268,"./networks":271,"./types":298}],270:[function(require,module,exports){
54972
+ },{"../../bigi-1.4.2/lib/index":249,"../../bs58check-2.1.2/base":310,"../../bs58check-2.1.2/index":311,"../../create-hmac-1.1.4/browser":315,"../../ecurve-1.0.6/lib/index":325,"../../safe-buffer-5.2.0/index":392,"../../typeforce-1.18.0/index":413,"./crypto":269,"./ecpair":271,"./fastcurve":273,"./networks":276,"./types":303}],275:[function(require,module,exports){
54546
54973
  var script = require('./script')
54547
54974
 
54548
54975
  var templates = require('./templates')
@@ -54568,7 +54995,7 @@ module.exports = {
54568
54995
  script: script
54569
54996
  }
54570
54997
 
54571
- },{"../../bitcoin-ops-1.4.1/index.json":257,"./address":259,"./block":260,"./bufferutils":262,"./coins":263,"./crypto":264,"./ecpair":266,"./ecsignature":267,"./hdnode":269,"./networks":271,"./script":272,"./templates":274,"./transaction":296,"./transaction_builder":297}],271:[function(require,module,exports){
54998
+ },{"../../bitcoin-ops-1.4.1/index.json":262,"./address":264,"./block":265,"./bufferutils":267,"./coins":268,"./crypto":269,"./ecpair":271,"./ecsignature":272,"./hdnode":274,"./networks":276,"./script":277,"./templates":279,"./transaction":301,"./transaction_builder":302}],276:[function(require,module,exports){
54572
54999
  // https://en.bitcoin.it/wiki/List_of_address_prefixes
54573
55000
  // Dogecoin BIP32 is a proposed standard: https://bitcointalk.org/index.php?topic=409731
54574
55001
  var coins = require('./coins')
@@ -54784,7 +55211,7 @@ module.exports = {
54784
55211
  }
54785
55212
  }
54786
55213
 
54787
- },{"./coins":263,"./crypto":264}],272:[function(require,module,exports){
55214
+ },{"./coins":268,"./crypto":269}],277:[function(require,module,exports){
54788
55215
  var Buffer = require('../../safe-buffer-5.2.0/index').Buffer
54789
55216
  var bip66 = require('../../bip66-1.1.5/index')
54790
55217
  var pushdata = require('../../pushdata-bitcoin-1.0.1/index')
@@ -55000,7 +55427,7 @@ module.exports = {
55000
55427
  isDefinedHashType: isDefinedHashType
55001
55428
  }
55002
55429
 
55003
- },{"../../bip66-1.1.5/index":256,"../../bitcoin-ops-1.4.1/index.json":257,"../../bitcoin-ops-1.4.1/map":258,"../../pushdata-bitcoin-1.0.1/index":383,"../../safe-buffer-5.2.0/index":387,"../../typeforce-1.18.0/index":408,"./script_number":273,"./types":298}],273:[function(require,module,exports){
55430
+ },{"../../bip66-1.1.5/index":261,"../../bitcoin-ops-1.4.1/index.json":262,"../../bitcoin-ops-1.4.1/map":263,"../../pushdata-bitcoin-1.0.1/index":388,"../../safe-buffer-5.2.0/index":392,"../../typeforce-1.18.0/index":413,"./script_number":278,"./types":303}],278:[function(require,module,exports){
55004
55431
  var Buffer = require('../../safe-buffer-5.2.0/index').Buffer
55005
55432
 
55006
55433
  function decode (buffer, maxLength, minimal) {
@@ -55070,7 +55497,7 @@ module.exports = {
55070
55497
  encode: encode
55071
55498
  }
55072
55499
 
55073
- },{"../../safe-buffer-5.2.0/index":387}],274:[function(require,module,exports){
55500
+ },{"../../safe-buffer-5.2.0/index":392}],279:[function(require,module,exports){
55074
55501
  var decompile = require('../script').decompile
55075
55502
  var multisig = require('./multisig')
55076
55503
  var nullData = require('./nulldata')
@@ -55146,13 +55573,13 @@ module.exports = {
55146
55573
  types: types
55147
55574
  }
55148
55575
 
55149
- },{"../script":272,"./multisig":275,"./nulldata":278,"./pubkey":279,"./pubkeyhash":282,"./scripthash":285,"./witnesscommitment":288,"./witnesspubkeyhash":290,"./witnessscripthash":293}],275:[function(require,module,exports){
55576
+ },{"../script":277,"./multisig":280,"./nulldata":283,"./pubkey":284,"./pubkeyhash":287,"./scripthash":290,"./witnesscommitment":293,"./witnesspubkeyhash":295,"./witnessscripthash":298}],280:[function(require,module,exports){
55150
55577
  module.exports = {
55151
55578
  input: require('./input'),
55152
55579
  output: require('./output')
55153
55580
  }
55154
55581
 
55155
- },{"./input":276,"./output":277}],276:[function(require,module,exports){
55582
+ },{"./input":281,"./output":282}],281:[function(require,module,exports){
55156
55583
  // OP_0 [signatures ...]
55157
55584
 
55158
55585
  var Buffer = require('../../../../safe-buffer-5.2.0/index').Buffer
@@ -55225,7 +55652,7 @@ module.exports = {
55225
55652
  encodeStack: encodeStack
55226
55653
  }
55227
55654
 
55228
- },{"../../../../bitcoin-ops-1.4.1/index.json":257,"../../../../safe-buffer-5.2.0/index":387,"../../../../typeforce-1.18.0/index":408,"../../script":272,"./output":277}],277:[function(require,module,exports){
55655
+ },{"../../../../bitcoin-ops-1.4.1/index.json":262,"../../../../safe-buffer-5.2.0/index":392,"../../../../typeforce-1.18.0/index":413,"../../script":277,"./output":282}],282:[function(require,module,exports){
55229
55656
  // m [pubKeys ...] n OP_CHECKMULTISIG
55230
55657
 
55231
55658
  var bscript = require('../../script')
@@ -55291,7 +55718,7 @@ module.exports = {
55291
55718
  encode: encode
55292
55719
  }
55293
55720
 
55294
- },{"../../../../bitcoin-ops-1.4.1/index.json":257,"../../../../typeforce-1.18.0/index":408,"../../script":272,"../../types":298}],278:[function(require,module,exports){
55721
+ },{"../../../../bitcoin-ops-1.4.1/index.json":262,"../../../../typeforce-1.18.0/index":413,"../../script":277,"../../types":303}],283:[function(require,module,exports){
55295
55722
  // OP_RETURN {data}
55296
55723
 
55297
55724
  var bscript = require('../script')
@@ -55332,9 +55759,9 @@ module.exports = {
55332
55759
  }
55333
55760
  }
55334
55761
 
55335
- },{"../../../bitcoin-ops-1.4.1/index.json":257,"../../../typeforce-1.18.0/index":408,"../script":272,"../types":298}],279:[function(require,module,exports){
55336
- arguments[4][275][0].apply(exports,arguments)
55337
- },{"./input":280,"./output":281,"dup":275}],280:[function(require,module,exports){
55762
+ },{"../../../bitcoin-ops-1.4.1/index.json":262,"../../../typeforce-1.18.0/index":413,"../script":277,"../types":303}],284:[function(require,module,exports){
55763
+ arguments[4][280][0].apply(exports,arguments)
55764
+ },{"./input":285,"./output":286,"dup":280}],285:[function(require,module,exports){
55338
55765
  // {signature}
55339
55766
 
55340
55767
  var bscript = require('../../script')
@@ -55375,7 +55802,7 @@ module.exports = {
55375
55802
  encodeStack: encodeStack
55376
55803
  }
55377
55804
 
55378
- },{"../../../../typeforce-1.18.0/index":408,"../../script":272}],281:[function(require,module,exports){
55805
+ },{"../../../../typeforce-1.18.0/index":413,"../../script":277}],286:[function(require,module,exports){
55379
55806
  // {pubKey} OP_CHECKSIG
55380
55807
 
55381
55808
  var bscript = require('../../script')
@@ -55410,9 +55837,9 @@ module.exports = {
55410
55837
  encode: encode
55411
55838
  }
55412
55839
 
55413
- },{"../../../../bitcoin-ops-1.4.1/index.json":257,"../../../../typeforce-1.18.0/index":408,"../../script":272}],282:[function(require,module,exports){
55414
- arguments[4][275][0].apply(exports,arguments)
55415
- },{"./input":283,"./output":284,"dup":275}],283:[function(require,module,exports){
55840
+ },{"../../../../bitcoin-ops-1.4.1/index.json":262,"../../../../typeforce-1.18.0/index":413,"../../script":277}],287:[function(require,module,exports){
55841
+ arguments[4][280][0].apply(exports,arguments)
55842
+ },{"./input":288,"./output":289,"dup":280}],288:[function(require,module,exports){
55416
55843
  // {signature} {pubKey}
55417
55844
 
55418
55845
  var bscript = require('../../script')
@@ -55465,7 +55892,7 @@ module.exports = {
55465
55892
  encodeStack: encodeStack
55466
55893
  }
55467
55894
 
55468
- },{"../../../../typeforce-1.18.0/index":408,"../../script":272}],284:[function(require,module,exports){
55895
+ },{"../../../../typeforce-1.18.0/index":413,"../../script":277}],289:[function(require,module,exports){
55469
55896
  // OP_DUP OP_HASH160 {pubKeyHash} OP_EQUALVERIFY OP_CHECKSIG
55470
55897
 
55471
55898
  var bscript = require('../../script')
@@ -55509,9 +55936,9 @@ module.exports = {
55509
55936
  encode: encode
55510
55937
  }
55511
55938
 
55512
- },{"../../../../bitcoin-ops-1.4.1/index.json":257,"../../../../typeforce-1.18.0/index":408,"../../script":272,"../../types":298}],285:[function(require,module,exports){
55513
- arguments[4][275][0].apply(exports,arguments)
55514
- },{"./input":286,"./output":287,"dup":275}],286:[function(require,module,exports){
55939
+ },{"../../../../bitcoin-ops-1.4.1/index.json":262,"../../../../typeforce-1.18.0/index":413,"../../script":277,"../../types":303}],290:[function(require,module,exports){
55940
+ arguments[4][280][0].apply(exports,arguments)
55941
+ },{"./input":291,"./output":292,"dup":280}],291:[function(require,module,exports){
55515
55942
  // <scriptSig> {serialized scriptPubKey script}
55516
55943
 
55517
55944
  var Buffer = require('../../../../safe-buffer-5.2.0/index').Buffer
@@ -55597,7 +56024,7 @@ module.exports = {
55597
56024
  encodeStack: encodeStack
55598
56025
  }
55599
56026
 
55600
- },{"../../../../safe-buffer-5.2.0/index":387,"../../../../typeforce-1.18.0/index":408,"../../script":272,"../multisig/":275,"../pubkey/":279,"../pubkeyhash/":282,"../witnesspubkeyhash/output":292,"../witnessscripthash/output":295}],287:[function(require,module,exports){
56027
+ },{"../../../../safe-buffer-5.2.0/index":392,"../../../../typeforce-1.18.0/index":413,"../../script":277,"../multisig/":280,"../pubkey/":284,"../pubkeyhash/":287,"../witnesspubkeyhash/output":297,"../witnessscripthash/output":300}],292:[function(require,module,exports){
55601
56028
  // OP_HASH160 {scriptHash} OP_EQUAL
55602
56029
 
55603
56030
  var bscript = require('../../script')
@@ -55633,12 +56060,12 @@ module.exports = {
55633
56060
  encode: encode
55634
56061
  }
55635
56062
 
55636
- },{"../../../../bitcoin-ops-1.4.1/index.json":257,"../../../../typeforce-1.18.0/index":408,"../../script":272,"../../types":298}],288:[function(require,module,exports){
56063
+ },{"../../../../bitcoin-ops-1.4.1/index.json":262,"../../../../typeforce-1.18.0/index":413,"../../script":277,"../../types":303}],293:[function(require,module,exports){
55637
56064
  module.exports = {
55638
56065
  output: require('./output')
55639
56066
  }
55640
56067
 
55641
- },{"./output":289}],289:[function(require,module,exports){
56068
+ },{"./output":294}],294:[function(require,module,exports){
55642
56069
  // OP_RETURN {aa21a9ed} {commitment}
55643
56070
 
55644
56071
  var Buffer = require('../../../../safe-buffer-5.2.0/index').Buffer
@@ -55682,9 +56109,9 @@ module.exports = {
55682
56109
  encode: encode
55683
56110
  }
55684
56111
 
55685
- },{"../../../../bitcoin-ops-1.4.1/index.json":257,"../../../../safe-buffer-5.2.0/index":387,"../../../../typeforce-1.18.0/index":408,"../../script":272,"../../types":298}],290:[function(require,module,exports){
55686
- arguments[4][275][0].apply(exports,arguments)
55687
- },{"./input":291,"./output":292,"dup":275}],291:[function(require,module,exports){
56112
+ },{"../../../../bitcoin-ops-1.4.1/index.json":262,"../../../../safe-buffer-5.2.0/index":392,"../../../../typeforce-1.18.0/index":413,"../../script":277,"../../types":303}],295:[function(require,module,exports){
56113
+ arguments[4][280][0].apply(exports,arguments)
56114
+ },{"./input":296,"./output":297,"dup":280}],296:[function(require,module,exports){
55688
56115
  // {signature} {pubKey}
55689
56116
 
55690
56117
  var bscript = require('../../script')
@@ -55730,7 +56157,7 @@ module.exports = {
55730
56157
  encodeStack: encodeStack
55731
56158
  }
55732
56159
 
55733
- },{"../../../../typeforce-1.18.0/index":408,"../../script":272}],292:[function(require,module,exports){
56160
+ },{"../../../../typeforce-1.18.0/index":413,"../../script":277}],297:[function(require,module,exports){
55734
56161
  // OP_0 {pubKeyHash}
55735
56162
 
55736
56163
  var bscript = require('../../script')
@@ -55765,9 +56192,9 @@ module.exports = {
55765
56192
  encode: encode
55766
56193
  }
55767
56194
 
55768
- },{"../../../../bitcoin-ops-1.4.1/index.json":257,"../../../../typeforce-1.18.0/index":408,"../../script":272,"../../types":298}],293:[function(require,module,exports){
55769
- arguments[4][275][0].apply(exports,arguments)
55770
- },{"./input":294,"./output":295,"dup":275}],294:[function(require,module,exports){
56195
+ },{"../../../../bitcoin-ops-1.4.1/index.json":262,"../../../../typeforce-1.18.0/index":413,"../../script":277,"../../types":303}],298:[function(require,module,exports){
56196
+ arguments[4][280][0].apply(exports,arguments)
56197
+ },{"./input":299,"./output":300,"dup":280}],299:[function(require,module,exports){
55771
56198
  (function (Buffer){(function (){
55772
56199
  // <scriptSig> {serialized scriptPubKey script}
55773
56200
 
@@ -55834,7 +56261,7 @@ module.exports = {
55834
56261
  }
55835
56262
 
55836
56263
  }).call(this)}).call(this,{"isBuffer":require("../../../../../../../../../node_modules/is-buffer/index.js")})
55837
- },{"../../../../../../../../../node_modules/is-buffer/index.js":150,"../../../../typeforce-1.18.0/index":408,"../../script":272,"../../types":298,"../multisig/":275,"../pubkey/":279,"../pubkeyhash/":282}],295:[function(require,module,exports){
56264
+ },{"../../../../../../../../../node_modules/is-buffer/index.js":150,"../../../../typeforce-1.18.0/index":413,"../../script":277,"../../types":303,"../multisig/":280,"../pubkey/":284,"../pubkeyhash/":287}],300:[function(require,module,exports){
55838
56265
  // OP_0 {scriptHash}
55839
56266
 
55840
56267
  var bscript = require('../../script')
@@ -55869,7 +56296,7 @@ module.exports = {
55869
56296
  encode: encode
55870
56297
  }
55871
56298
 
55872
- },{"../../../../bitcoin-ops-1.4.1/index.json":257,"../../../../typeforce-1.18.0/index":408,"../../script":272,"../../types":298}],296:[function(require,module,exports){
56299
+ },{"../../../../bitcoin-ops-1.4.1/index.json":262,"../../../../typeforce-1.18.0/index":413,"../../script":277,"../../types":303}],301:[function(require,module,exports){
55873
56300
  var Buffer = require('../../safe-buffer-5.2.0/index').Buffer
55874
56301
  var BufferWriter = require('./bufferWriter')
55875
56302
  var bcrypto = require('./crypto')
@@ -56996,7 +57423,7 @@ Transaction.prototype.setWitness = function (index, witness) {
56996
57423
 
56997
57424
  module.exports = Transaction
56998
57425
 
56999
- },{"../../bitcoin-ops-1.4.1/index.json":257,"../../blake2b-6268e6dd678661e0acc4359e9171b97eb1ebf8ac/index":299,"../../safe-buffer-5.2.0/index":387,"../../typeforce-1.18.0/index":408,"../../varuint-bitcoin-1.1.2/index":413,"./bufferWriter":261,"./bufferutils":262,"./coins":263,"./crypto":264,"./networks":271,"./script":272,"./types":298}],297:[function(require,module,exports){
57426
+ },{"../../bitcoin-ops-1.4.1/index.json":262,"../../blake2b-6268e6dd678661e0acc4359e9171b97eb1ebf8ac/index":304,"../../safe-buffer-5.2.0/index":392,"../../typeforce-1.18.0/index":413,"../../varuint-bitcoin-1.1.2/index":418,"./bufferWriter":266,"./bufferutils":267,"./coins":268,"./crypto":269,"./networks":276,"./script":277,"./types":303}],302:[function(require,module,exports){
57000
57427
  var Buffer = require('../../safe-buffer-5.2.0/index').Buffer
57001
57428
  var baddress = require('./address')
57002
57429
  var bcrypto = require('./crypto')
@@ -57890,7 +58317,7 @@ TransactionBuilder.prototype.__overMaximumFees = function (bytes) {
57890
58317
 
57891
58318
  module.exports = TransactionBuilder
57892
58319
 
57893
- },{"../../bitcoin-ops-1.4.1/index.json":257,"../../debug-3.1.0/src/browser":311,"../../safe-buffer-5.2.0/index":387,"../../typeforce-1.18.0/index":408,"./address":259,"./coins":263,"./crypto":264,"./ecpair":266,"./ecsignature":267,"./networks":271,"./script":272,"./templates":274,"./transaction":296,"./types":298}],298:[function(require,module,exports){
58320
+ },{"../../bitcoin-ops-1.4.1/index.json":262,"../../debug-3.1.0/src/browser":316,"../../safe-buffer-5.2.0/index":392,"../../typeforce-1.18.0/index":413,"./address":264,"./coins":268,"./crypto":269,"./ecpair":271,"./ecsignature":272,"./networks":276,"./script":277,"./templates":279,"./transaction":301,"./types":303}],303:[function(require,module,exports){
57894
58321
  var typeforce = require('../../typeforce-1.18.0/index')
57895
58322
 
57896
58323
  var UINT31_MAX = Math.pow(2, 31) - 1
@@ -57947,7 +58374,7 @@ for (var typeName in typeforce) {
57947
58374
 
57948
58375
  module.exports = types
57949
58376
 
57950
- },{"../../typeforce-1.18.0/index":408}],299:[function(require,module,exports){
58377
+ },{"../../typeforce-1.18.0/index":413}],304:[function(require,module,exports){
57951
58378
  var assert = require('../nanoassert-1.1.0/index')
57952
58379
  var b2wasm = require('../blake2b-wasm-193cdb71656c1a6c7f89b05d0327bb9b758d071b/index')
57953
58380
 
@@ -58262,7 +58689,7 @@ b2wasm.ready(function (err) {
58262
58689
  }
58263
58690
  })
58264
58691
 
58265
- },{"../blake2b-wasm-193cdb71656c1a6c7f89b05d0327bb9b758d071b/index":301,"../nanoassert-1.1.0/index":377}],300:[function(require,module,exports){
58692
+ },{"../blake2b-wasm-193cdb71656c1a6c7f89b05d0327bb9b758d071b/index":306,"../nanoassert-1.1.0/index":382}],305:[function(require,module,exports){
58266
58693
 
58267
58694
  module.exports = loadWebAssembly
58268
58695
 
@@ -58327,7 +58754,7 @@ function charCodeAt (c) {
58327
58754
  return c.charCodeAt(0)
58328
58755
  }
58329
58756
 
58330
- },{}],301:[function(require,module,exports){
58757
+ },{}],306:[function(require,module,exports){
58331
58758
  var assert = require('../nanoassert-1.1.0/index')
58332
58759
  var wasm = require('./blake2b')()
58333
58760
 
@@ -58457,7 +58884,7 @@ function toHex (n) {
58457
58884
  return n.toString(16)
58458
58885
  }
58459
58886
 
58460
- },{"../nanoassert-1.1.0/index":377,"./blake2b":300}],302:[function(require,module,exports){
58887
+ },{"../nanoassert-1.1.0/index":382,"./blake2b":305}],307:[function(require,module,exports){
58461
58888
  (function (module, exports) {
58462
58889
  'use strict';
58463
58890
 
@@ -61886,15 +62313,15 @@ function toHex (n) {
61886
62313
  };
61887
62314
  })(typeof module === 'undefined' || module, this);
61888
62315
 
61889
- },{"buffer":67}],303:[function(require,module,exports){
62316
+ },{"buffer":67}],308:[function(require,module,exports){
61890
62317
  arguments[4][23][0].apply(exports,arguments)
61891
- },{"crypto":78,"dup":23}],304:[function(require,module,exports){
62318
+ },{"crypto":78,"dup":23}],309:[function(require,module,exports){
61892
62319
  var basex = require('../base-x-3.0.7/src/index')
61893
62320
  var ALPHABET = '123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz'
61894
62321
 
61895
62322
  module.exports = basex(ALPHABET)
61896
62323
 
61897
- },{"../base-x-3.0.7/src/index":240}],305:[function(require,module,exports){
62324
+ },{"../base-x-3.0.7/src/index":245}],310:[function(require,module,exports){
61898
62325
  'use strict'
61899
62326
 
61900
62327
  var base58 = require('../bs58-4.0.1/index')
@@ -61946,7 +62373,7 @@ module.exports = function (checksumFn) {
61946
62373
  }
61947
62374
  }
61948
62375
 
61949
- },{"../bs58-4.0.1/index":304,"../safe-buffer-5.2.0/index":387}],306:[function(require,module,exports){
62376
+ },{"../bs58-4.0.1/index":309,"../safe-buffer-5.2.0/index":392}],311:[function(require,module,exports){
61950
62377
  'use strict'
61951
62378
 
61952
62379
  var createHash = require('../create-hash-1.2.0/browser')
@@ -61960,7 +62387,7 @@ function sha256x2 (buffer) {
61960
62387
 
61961
62388
  module.exports = bs58checkBase(sha256x2)
61962
62389
 
61963
- },{"../create-hash-1.2.0/browser":308,"./base":305}],307:[function(require,module,exports){
62390
+ },{"../create-hash-1.2.0/browser":313,"./base":310}],312:[function(require,module,exports){
61964
62391
  var Buffer = require('../safe-buffer-5.2.0/index').Buffer
61965
62392
  var Transform = require('stream').Transform
61966
62393
  var StringDecoder = require('string_decoder').StringDecoder
@@ -62061,7 +62488,7 @@ CipherBase.prototype._toString = function (value, enc, fin) {
62061
62488
 
62062
62489
  module.exports = CipherBase
62063
62490
 
62064
- },{"../inherits-2.0.4/inherits":362,"../safe-buffer-5.2.0/index":387,"stream":192,"string_decoder":207}],308:[function(require,module,exports){
62491
+ },{"../inherits-2.0.4/inherits":367,"../safe-buffer-5.2.0/index":392,"stream":192,"string_decoder":207}],313:[function(require,module,exports){
62065
62492
  'use strict'
62066
62493
  var inherits = require('../inherits-2.0.4/inherits')
62067
62494
  var MD5 = require('../md5.js-1.3.5/index')
@@ -62093,10 +62520,10 @@ module.exports = function createHash (alg) {
62093
62520
  return new Hash(sha(alg))
62094
62521
  }
62095
62522
 
62096
- },{"../cipher-base-1.0.4/index":307,"../inherits-2.0.4/inherits":362,"../md5.js-1.3.5/index":372,"../ripemd160-2.0.2/index":385,"../sha.js-2.4.11/index":398}],309:[function(require,module,exports){
62523
+ },{"../cipher-base-1.0.4/index":312,"../inherits-2.0.4/inherits":367,"../md5.js-1.3.5/index":377,"../ripemd160-2.0.2/index":390,"../sha.js-2.4.11/index":403}],314:[function(require,module,exports){
62097
62524
  module.exports = require('crypto').createHash
62098
62525
 
62099
- },{"crypto":78}],310:[function(require,module,exports){
62526
+ },{"crypto":78}],315:[function(require,module,exports){
62100
62527
  (function (Buffer){(function (){
62101
62528
  'use strict';
62102
62529
  var createHash = require('../create-hash-1.2.0/browser')
@@ -62168,7 +62595,7 @@ module.exports = function createHmac(alg, key) {
62168
62595
  }
62169
62596
 
62170
62597
  }).call(this)}).call(this,require("buffer").Buffer)
62171
- },{"../create-hash-1.2.0/browser":308,"../inherits-2.0.4/inherits":362,"buffer":67,"stream":192}],311:[function(require,module,exports){
62598
+ },{"../create-hash-1.2.0/browser":313,"../inherits-2.0.4/inherits":367,"buffer":67,"stream":192}],316:[function(require,module,exports){
62172
62599
  (function (process){(function (){
62173
62600
  /**
62174
62601
  * This is the web browser implementation of `debug()`.
@@ -62367,7 +62794,7 @@ function localstorage() {
62367
62794
  }
62368
62795
 
62369
62796
  }).call(this)}).call(this,require('_process'))
62370
- },{"./debug":312,"_process":171}],312:[function(require,module,exports){
62797
+ },{"./debug":317,"_process":171}],317:[function(require,module,exports){
62371
62798
 
62372
62799
  /**
62373
62800
  * This is the common logic for both the Node.js and web browser
@@ -62594,7 +63021,7 @@ function coerce(val) {
62594
63021
  return val;
62595
63022
  }
62596
63023
 
62597
- },{"../../ms-2.1.2/index":376}],313:[function(require,module,exports){
63024
+ },{"../../ms-2.1.2/index":381}],318:[function(require,module,exports){
62598
63025
  (function (Buffer){(function (){
62599
63026
  "use strict";
62600
63027
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -62628,7 +63055,7 @@ exports.utils = {
62628
63055
  };
62629
63056
 
62630
63057
  }).call(this)}).call(this,require("buffer").Buffer)
62631
- },{"./keys":316,"./utils":317,"buffer":67}],314:[function(require,module,exports){
63058
+ },{"./keys":321,"./utils":322,"buffer":67}],319:[function(require,module,exports){
62632
63059
  (function (Buffer){(function (){
62633
63060
  "use strict";
62634
63061
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
@@ -62689,7 +63116,7 @@ var PrivateKey = /** @class */ (function () {
62689
63116
  exports.default = PrivateKey;
62690
63117
 
62691
63118
  }).call(this)}).call(this,require("buffer").Buffer)
62692
- },{"../../../futoin-hkdf-1.3.3/hkdf.js":343,"../../../secp256k1-4.0.2/elliptic":394,"../utils":317,"./PublicKey":315,"buffer":67}],315:[function(require,module,exports){
63119
+ },{"../../../futoin-hkdf-1.3.3/hkdf.js":348,"../../../secp256k1-4.0.2/elliptic":399,"../utils":322,"./PublicKey":320,"buffer":67}],320:[function(require,module,exports){
62693
63120
  (function (Buffer){(function (){
62694
63121
  "use strict";
62695
63122
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
@@ -62753,7 +63180,7 @@ var PublicKey = /** @class */ (function () {
62753
63180
  exports.default = PublicKey;
62754
63181
 
62755
63182
  }).call(this)}).call(this,require("buffer").Buffer)
62756
- },{"../../../futoin-hkdf-1.3.3/hkdf.js":343,"../../../secp256k1-4.0.2/elliptic":394,"../utils":317,"buffer":67}],316:[function(require,module,exports){
63183
+ },{"../../../futoin-hkdf-1.3.3/hkdf.js":348,"../../../secp256k1-4.0.2/elliptic":399,"../utils":322,"buffer":67}],321:[function(require,module,exports){
62757
63184
  "use strict";
62758
63185
  var __importDefault = (this && this.__importDefault) || function (mod) {
62759
63186
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -62765,7 +63192,7 @@ Object.defineProperty(exports, "PrivateKey", { enumerable: true, get: function (
62765
63192
  var PublicKey_1 = require("./PublicKey");
62766
63193
  Object.defineProperty(exports, "PublicKey", { enumerable: true, get: function () { return __importDefault(PublicKey_1).default; } });
62767
63194
 
62768
- },{"./PrivateKey":314,"./PublicKey":315}],317:[function(require,module,exports){
63195
+ },{"./PrivateKey":319,"./PublicKey":320}],322:[function(require,module,exports){
62769
63196
  (function (Buffer){(function (){
62770
63197
  "use strict";
62771
63198
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
@@ -62829,7 +63256,7 @@ function aesDecrypt(key, cipherText) {
62829
63256
  exports.aesDecrypt = aesDecrypt;
62830
63257
 
62831
63258
  }).call(this)}).call(this,require("buffer").Buffer)
62832
- },{"../../secp256k1-4.0.2/elliptic":394,"buffer":67,"crypto":78}],318:[function(require,module,exports){
63259
+ },{"../../secp256k1-4.0.2/elliptic":399,"buffer":67,"crypto":78}],323:[function(require,module,exports){
62833
63260
  var assert = require('assert')
62834
63261
  var BigInteger = require('../../bigi-1.4.2/lib/index')
62835
63262
 
@@ -62908,7 +63335,7 @@ Curve.prototype.validate = function (Q) {
62908
63335
 
62909
63336
  module.exports = Curve
62910
63337
 
62911
- },{"../../bigi-1.4.2/lib/index":244,"./point":322,"assert":16}],319:[function(require,module,exports){
63338
+ },{"../../bigi-1.4.2/lib/index":249,"./point":327,"assert":16}],324:[function(require,module,exports){
62912
63339
  module.exports={
62913
63340
  "secp128r1": {
62914
63341
  "p": "fffffffdffffffffffffffffffffffff",
@@ -62974,7 +63401,7 @@ module.exports={
62974
63401
  "Gy": "4fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5"
62975
63402
  }
62976
63403
  }
62977
- },{}],320:[function(require,module,exports){
63404
+ },{}],325:[function(require,module,exports){
62978
63405
  var Point = require('./point')
62979
63406
  var Curve = require('./curve')
62980
63407
 
@@ -62986,7 +63413,7 @@ module.exports = {
62986
63413
  getCurveByName: getCurveByName
62987
63414
  }
62988
63415
 
62989
- },{"./curve":318,"./names":321,"./point":322}],321:[function(require,module,exports){
63416
+ },{"./curve":323,"./names":326,"./point":327}],326:[function(require,module,exports){
62990
63417
  var BigInteger = require('../../bigi-1.4.2/lib/index')
62991
63418
 
62992
63419
  var curves = require('./curves.json')
@@ -63009,7 +63436,7 @@ function getCurveByName (name) {
63009
63436
 
63010
63437
  module.exports = getCurveByName
63011
63438
 
63012
- },{"../../bigi-1.4.2/lib/index":244,"./curve":318,"./curves.json":319}],322:[function(require,module,exports){
63439
+ },{"../../bigi-1.4.2/lib/index":249,"./curve":323,"./curves.json":324}],327:[function(require,module,exports){
63013
63440
  var assert = require('assert')
63014
63441
  var Buffer = require('../../safe-buffer-5.2.0/index').Buffer
63015
63442
  var BigInteger = require('../../bigi-1.4.2/lib/index')
@@ -63255,7 +63682,7 @@ Point.prototype.toString = function () {
63255
63682
 
63256
63683
  module.exports = Point
63257
63684
 
63258
- },{"../../bigi-1.4.2/lib/index":244,"../../safe-buffer-5.2.0/index":387,"assert":16}],323:[function(require,module,exports){
63685
+ },{"../../bigi-1.4.2/lib/index":249,"../../safe-buffer-5.2.0/index":392,"assert":16}],328:[function(require,module,exports){
63259
63686
  'use strict';
63260
63687
 
63261
63688
  var elliptic = exports;
@@ -63270,7 +63697,7 @@ elliptic.curves = require('./elliptic/curves');
63270
63697
  elliptic.ec = require('./elliptic/ec');
63271
63698
  elliptic.eddsa = require('./elliptic/eddsa');
63272
63699
 
63273
- },{"../../brorand-1.1.0/index":303,"../package.json":338,"./elliptic/curve":326,"./elliptic/curves":329,"./elliptic/ec":330,"./elliptic/eddsa":333,"./elliptic/utils":337}],324:[function(require,module,exports){
63700
+ },{"../../brorand-1.1.0/index":308,"../package.json":343,"./elliptic/curve":331,"./elliptic/curves":334,"./elliptic/ec":335,"./elliptic/eddsa":338,"./elliptic/utils":342}],329:[function(require,module,exports){
63274
63701
  'use strict';
63275
63702
 
63276
63703
  var BN = require('../../../../bn.js-4.11.8/lib/bn');
@@ -63648,7 +64075,7 @@ BasePoint.prototype.dblp = function dblp(k) {
63648
64075
  return r;
63649
64076
  };
63650
64077
 
63651
- },{"../../../../bn.js-4.11.8/lib/bn":302,"../utils":337}],325:[function(require,module,exports){
64078
+ },{"../../../../bn.js-4.11.8/lib/bn":307,"../utils":342}],330:[function(require,module,exports){
63652
64079
  'use strict';
63653
64080
 
63654
64081
  var utils = require('../utils');
@@ -64082,9 +64509,9 @@ Point.prototype.eqXToP = function eqXToP(x) {
64082
64509
  Point.prototype.toP = Point.prototype.normalize;
64083
64510
  Point.prototype.mixedAdd = Point.prototype.add;
64084
64511
 
64085
- },{"../../../../bn.js-4.11.8/lib/bn":302,"../../../../inherits-2.0.4/inherits":362,"../utils":337,"./base":324}],326:[function(require,module,exports){
64512
+ },{"../../../../bn.js-4.11.8/lib/bn":307,"../../../../inherits-2.0.4/inherits":367,"../utils":342,"./base":329}],331:[function(require,module,exports){
64086
64513
  arguments[4][93][0].apply(exports,arguments)
64087
- },{"./base":324,"./edwards":325,"./mont":327,"./short":328,"dup":93}],327:[function(require,module,exports){
64514
+ },{"./base":329,"./edwards":330,"./mont":332,"./short":333,"dup":93}],332:[function(require,module,exports){
64088
64515
  'use strict';
64089
64516
 
64090
64517
  var BN = require('../../../../bn.js-4.11.8/lib/bn');
@@ -64264,7 +64691,7 @@ Point.prototype.getX = function getX() {
64264
64691
  return this.x.fromRed();
64265
64692
  };
64266
64693
 
64267
- },{"../../../../bn.js-4.11.8/lib/bn":302,"../../../../inherits-2.0.4/inherits":362,"../utils":337,"./base":324}],328:[function(require,module,exports){
64694
+ },{"../../../../bn.js-4.11.8/lib/bn":307,"../../../../inherits-2.0.4/inherits":367,"../utils":342,"./base":329}],333:[function(require,module,exports){
64268
64695
  'use strict';
64269
64696
 
64270
64697
  var utils = require('../utils');
@@ -65203,7 +65630,7 @@ JPoint.prototype.isInfinity = function isInfinity() {
65203
65630
  return this.z.cmpn(0) === 0;
65204
65631
  };
65205
65632
 
65206
- },{"../../../../bn.js-4.11.8/lib/bn":302,"../../../../inherits-2.0.4/inherits":362,"../utils":337,"./base":324}],329:[function(require,module,exports){
65633
+ },{"../../../../bn.js-4.11.8/lib/bn":307,"../../../../inherits-2.0.4/inherits":367,"../utils":342,"./base":329}],334:[function(require,module,exports){
65207
65634
  'use strict';
65208
65635
 
65209
65636
  var curves = exports;
@@ -65411,7 +65838,7 @@ defineCurve('secp256k1', {
65411
65838
  ]
65412
65839
  });
65413
65840
 
65414
- },{"../../../hash.js-1.1.7/lib/hash":349,"./curve":326,"./precomputed/secp256k1":336,"./utils":337}],330:[function(require,module,exports){
65841
+ },{"../../../hash.js-1.1.7/lib/hash":354,"./curve":331,"./precomputed/secp256k1":341,"./utils":342}],335:[function(require,module,exports){
65415
65842
  'use strict';
65416
65843
 
65417
65844
  var BN = require('../../../../bn.js-4.11.8/lib/bn');
@@ -65654,7 +66081,7 @@ EC.prototype.getKeyRecoveryParam = function(e, signature, Q, enc) {
65654
66081
  throw new Error('Unable to find valid recovery factor');
65655
66082
  };
65656
66083
 
65657
- },{"../../../../bn.js-4.11.8/lib/bn":302,"../../../../brorand-1.1.0/index":303,"../../../../hmac-drbg-1.0.1/lib/hmac-drbg":361,"../curves":329,"../utils":337,"./key":331,"./signature":332}],331:[function(require,module,exports){
66084
+ },{"../../../../bn.js-4.11.8/lib/bn":307,"../../../../brorand-1.1.0/index":308,"../../../../hmac-drbg-1.0.1/lib/hmac-drbg":366,"../curves":334,"../utils":342,"./key":336,"./signature":337}],336:[function(require,module,exports){
65658
66085
  'use strict';
65659
66086
 
65660
66087
  var BN = require('../../../../bn.js-4.11.8/lib/bn');
@@ -65774,7 +66201,7 @@ KeyPair.prototype.inspect = function inspect() {
65774
66201
  ' pub: ' + (this.pub && this.pub.inspect()) + ' >';
65775
66202
  };
65776
66203
 
65777
- },{"../../../../bn.js-4.11.8/lib/bn":302,"../utils":337}],332:[function(require,module,exports){
66204
+ },{"../../../../bn.js-4.11.8/lib/bn":307,"../utils":342}],337:[function(require,module,exports){
65778
66205
  'use strict';
65779
66206
 
65780
66207
  var BN = require('../../../../bn.js-4.11.8/lib/bn');
@@ -65942,7 +66369,7 @@ Signature.prototype.toDER = function toDER(enc) {
65942
66369
  return utils.encode(res, enc);
65943
66370
  };
65944
66371
 
65945
- },{"../../../../bn.js-4.11.8/lib/bn":302,"../utils":337}],333:[function(require,module,exports){
66372
+ },{"../../../../bn.js-4.11.8/lib/bn":307,"../utils":342}],338:[function(require,module,exports){
65946
66373
  'use strict';
65947
66374
 
65948
66375
  var hash = require('../../../../hash.js-1.1.7/lib/hash');
@@ -66062,9 +66489,9 @@ EDDSA.prototype.isPoint = function isPoint(val) {
66062
66489
  return val instanceof this.pointClass;
66063
66490
  };
66064
66491
 
66065
- },{"../../../../hash.js-1.1.7/lib/hash":349,"../curves":329,"../utils":337,"./key":334,"./signature":335}],334:[function(require,module,exports){
66492
+ },{"../../../../hash.js-1.1.7/lib/hash":354,"../curves":334,"../utils":342,"./key":339,"./signature":340}],339:[function(require,module,exports){
66066
66493
  arguments[4][101][0].apply(exports,arguments)
66067
- },{"../utils":337,"dup":101}],335:[function(require,module,exports){
66494
+ },{"../utils":342,"dup":101}],340:[function(require,module,exports){
66068
66495
  'use strict';
66069
66496
 
66070
66497
  var BN = require('../../../../bn.js-4.11.8/lib/bn');
@@ -66131,7 +66558,7 @@ Signature.prototype.toHex = function toHex() {
66131
66558
 
66132
66559
  module.exports = Signature;
66133
66560
 
66134
- },{"../../../../bn.js-4.11.8/lib/bn":302,"../utils":337}],336:[function(require,module,exports){
66561
+ },{"../../../../bn.js-4.11.8/lib/bn":307,"../utils":342}],341:[function(require,module,exports){
66135
66562
  module.exports = {
66136
66563
  doubles: {
66137
66564
  step: 4,
@@ -66913,7 +67340,7 @@ module.exports = {
66913
67340
  }
66914
67341
  };
66915
67342
 
66916
- },{}],337:[function(require,module,exports){
67343
+ },{}],342:[function(require,module,exports){
66917
67344
  'use strict';
66918
67345
 
66919
67346
  var utils = exports;
@@ -67034,7 +67461,7 @@ function intFromLE(bytes) {
67034
67461
  utils.intFromLE = intFromLE;
67035
67462
 
67036
67463
 
67037
- },{"../../../bn.js-4.11.8/lib/bn":302,"../../../minimalistic-assert-1.0.1/index":374,"../../../minimalistic-crypto-utils-1.0.1/lib/utils":375}],338:[function(require,module,exports){
67464
+ },{"../../../bn.js-4.11.8/lib/bn":307,"../../../minimalistic-assert-1.0.1/index":379,"../../../minimalistic-crypto-utils-1.0.1/lib/utils":380}],343:[function(require,module,exports){
67038
67465
  module.exports={
67039
67466
  "name": "elliptic",
67040
67467
  "version": "6.5.3",
@@ -67090,7 +67517,7 @@ module.exports={
67090
67517
  "minimalistic-crypto-utils": "^1.0.0"
67091
67518
  }
67092
67519
  }
67093
- },{}],339:[function(require,module,exports){
67520
+ },{}],344:[function(require,module,exports){
67094
67521
  module.exports={
67095
67522
  "genesisGasLimit": {
67096
67523
  "v": 5000,
@@ -67336,7 +67763,7 @@ module.exports={
67336
67763
  "v": 2
67337
67764
  }
67338
67765
  }
67339
- },{}],340:[function(require,module,exports){
67766
+ },{}],345:[function(require,module,exports){
67340
67767
  (function (Buffer){(function (){
67341
67768
  'use strict'
67342
67769
  const ethUtil = require('../ethereumjs-util-5.2.0/index')
@@ -67638,7 +68065,7 @@ class Transaction {
67638
68065
  module.exports = Transaction
67639
68066
 
67640
68067
  }).call(this)}).call(this,require("buffer").Buffer)
67641
- },{"../ethereum-common-0.2.1/params.json":339,"../ethereumjs-util-5.2.0/index":341,"buffer":67}],341:[function(require,module,exports){
68068
+ },{"../ethereum-common-0.2.1/params.json":344,"../ethereumjs-util-5.2.0/index":346,"buffer":67}],346:[function(require,module,exports){
67642
68069
  const createKeccakHash = require('../keccak-1.0.2/js')
67643
68070
  const secp256k1 = require('../secp256k1-3.7.1/elliptic')
67644
68071
  const assert = require('assert')
@@ -68354,7 +68781,7 @@ exports.defineProperties = function (self, fields, data) {
68354
68781
  }
68355
68782
  }
68356
68783
 
68357
- },{"../bn.js-4.11.8/lib/bn":302,"../create-hash-1.2.0/browser":308,"../ethjs-util-0.1.4/src/index":342,"../keccak-1.0.2/js":366,"../rlp-2.2.3/index":386,"../safe-buffer-5.2.0/index":387,"../secp256k1-3.7.1/elliptic":388,"assert":16}],342:[function(require,module,exports){
68784
+ },{"../bn.js-4.11.8/lib/bn":307,"../create-hash-1.2.0/browser":313,"../ethjs-util-0.1.4/src/index":347,"../keccak-1.0.2/js":371,"../rlp-2.2.3/index":391,"../safe-buffer-5.2.0/index":392,"../secp256k1-3.7.1/elliptic":393,"assert":16}],347:[function(require,module,exports){
68358
68785
  (function (Buffer){(function (){
68359
68786
  const isHexPrefixed = require('../../is-hex-prefixed-1.0.0/src/index');
68360
68787
  const stripHexPrefix = require('../../strip-hex-prefix-1.0.0/src/index');
@@ -68561,7 +68988,7 @@ module.exports = {
68561
68988
  };
68562
68989
 
68563
68990
  }).call(this)}).call(this,require("buffer").Buffer)
68564
- },{"../../is-hex-prefixed-1.0.0/src/index":365,"../../strip-hex-prefix-1.0.0/src/index":405,"buffer":67}],343:[function(require,module,exports){
68991
+ },{"../../is-hex-prefixed-1.0.0/src/index":370,"../../strip-hex-prefix-1.0.0/src/index":410,"buffer":67}],348:[function(require,module,exports){
68565
68992
  (function (Buffer){(function (){
68566
68993
  'use strict';
68567
68994
 
@@ -68739,7 +69166,7 @@ Object.defineProperties( hkdf, {
68739
69166
  module.exports = hkdf;
68740
69167
 
68741
69168
  }).call(this)}).call(this,require("buffer").Buffer)
68742
- },{"buffer":67,"crypto":78}],344:[function(require,module,exports){
69169
+ },{"buffer":67,"crypto":78}],349:[function(require,module,exports){
68743
69170
  'use strict';
68744
69171
 
68745
69172
  var groestl = require('./lib/groestl');
@@ -68779,7 +69206,7 @@ module.exports.groestl_2 = function(str,format, output) {
68779
69206
  return h.int32ArrayToHexString(a);
68780
69207
  }
68781
69208
  }
68782
- },{"./lib/groestl":345,"./lib/helper":346}],345:[function(require,module,exports){
69209
+ },{"./lib/groestl":350,"./lib/helper":351}],350:[function(require,module,exports){
68783
69210
  /////////////////////////////////////
68784
69211
  //////////// groestl ///////////////
68785
69212
 
@@ -70028,7 +70455,7 @@ module.exports = function(input, format, output) {
70028
70455
  }
70029
70456
  return out;
70030
70457
  }
70031
- },{"./helper":346,"./op":347}],346:[function(require,module,exports){
70458
+ },{"./helper":351,"./op":352}],351:[function(require,module,exports){
70032
70459
  'use strict';
70033
70460
  // String functions
70034
70461
 
@@ -70282,7 +70709,7 @@ module.exports.b64Decode = function(input) {
70282
70709
  }
70283
70710
  return output;
70284
70711
  };
70285
- },{"./op.js":347}],347:[function(require,module,exports){
70712
+ },{"./op.js":352}],352:[function(require,module,exports){
70286
70713
  'use strict';
70287
70714
  //the right shift is important, it has to do with 32 bit operations in javascript, it will make things faster
70288
70715
  function u64(h, l) {
@@ -70746,7 +71173,7 @@ module.exports.xORTable = function(d, s1, s2, len) {
70746
71173
  }
70747
71174
  }
70748
71175
 
70749
- },{}],348:[function(require,module,exports){
71176
+ },{}],353:[function(require,module,exports){
70750
71177
  'use strict'
70751
71178
  var Buffer = require('../safe-buffer-5.2.0/index').Buffer
70752
71179
  var Transform = require('stream').Transform
@@ -70843,9 +71270,9 @@ HashBase.prototype._digest = function () {
70843
71270
 
70844
71271
  module.exports = HashBase
70845
71272
 
70846
- },{"../inherits-2.0.4/inherits":362,"../safe-buffer-5.2.0/index":387,"stream":192}],349:[function(require,module,exports){
71273
+ },{"../inherits-2.0.4/inherits":367,"../safe-buffer-5.2.0/index":392,"stream":192}],354:[function(require,module,exports){
70847
71274
  arguments[4][134][0].apply(exports,arguments)
70848
- },{"./hash/common":350,"./hash/hmac":351,"./hash/ripemd":352,"./hash/sha":353,"./hash/utils":360,"dup":134}],350:[function(require,module,exports){
71275
+ },{"./hash/common":355,"./hash/hmac":356,"./hash/ripemd":357,"./hash/sha":358,"./hash/utils":365,"dup":134}],355:[function(require,module,exports){
70849
71276
  'use strict';
70850
71277
 
70851
71278
  var utils = require('./utils');
@@ -70939,7 +71366,7 @@ BlockHash.prototype._pad = function pad() {
70939
71366
  return res;
70940
71367
  };
70941
71368
 
70942
- },{"../../../minimalistic-assert-1.0.1/index":374,"./utils":360}],351:[function(require,module,exports){
71369
+ },{"../../../minimalistic-assert-1.0.1/index":379,"./utils":365}],356:[function(require,module,exports){
70943
71370
  'use strict';
70944
71371
 
70945
71372
  var utils = require('./utils');
@@ -70988,15 +71415,15 @@ Hmac.prototype.digest = function digest(enc) {
70988
71415
  return this.outer.digest(enc);
70989
71416
  };
70990
71417
 
70991
- },{"../../../minimalistic-assert-1.0.1/index":374,"./utils":360}],352:[function(require,module,exports){
71418
+ },{"../../../minimalistic-assert-1.0.1/index":379,"./utils":365}],357:[function(require,module,exports){
70992
71419
  arguments[4][137][0].apply(exports,arguments)
70993
- },{"./common":350,"./utils":360,"dup":137}],353:[function(require,module,exports){
71420
+ },{"./common":355,"./utils":365,"dup":137}],358:[function(require,module,exports){
70994
71421
  arguments[4][138][0].apply(exports,arguments)
70995
- },{"./sha/1":354,"./sha/224":355,"./sha/256":356,"./sha/384":357,"./sha/512":358,"dup":138}],354:[function(require,module,exports){
71422
+ },{"./sha/1":359,"./sha/224":360,"./sha/256":361,"./sha/384":362,"./sha/512":363,"dup":138}],359:[function(require,module,exports){
70996
71423
  arguments[4][139][0].apply(exports,arguments)
70997
- },{"../common":350,"../utils":360,"./common":359,"dup":139}],355:[function(require,module,exports){
71424
+ },{"../common":355,"../utils":365,"./common":364,"dup":139}],360:[function(require,module,exports){
70998
71425
  arguments[4][140][0].apply(exports,arguments)
70999
- },{"../utils":360,"./256":356,"dup":140}],356:[function(require,module,exports){
71426
+ },{"../utils":365,"./256":361,"dup":140}],361:[function(require,module,exports){
71000
71427
  'use strict';
71001
71428
 
71002
71429
  var utils = require('../utils');
@@ -71103,9 +71530,9 @@ SHA256.prototype._digest = function digest(enc) {
71103
71530
  return utils.split32(this.h, 'big');
71104
71531
  };
71105
71532
 
71106
- },{"../../../../minimalistic-assert-1.0.1/index":374,"../common":350,"../utils":360,"./common":359}],357:[function(require,module,exports){
71533
+ },{"../../../../minimalistic-assert-1.0.1/index":379,"../common":355,"../utils":365,"./common":364}],362:[function(require,module,exports){
71107
71534
  arguments[4][142][0].apply(exports,arguments)
71108
- },{"../utils":360,"./512":358,"dup":142}],358:[function(require,module,exports){
71535
+ },{"../utils":365,"./512":363,"dup":142}],363:[function(require,module,exports){
71109
71536
  'use strict';
71110
71537
 
71111
71538
  var utils = require('../utils');
@@ -71437,9 +71864,9 @@ function g1_512_lo(xh, xl) {
71437
71864
  return r;
71438
71865
  }
71439
71866
 
71440
- },{"../../../../minimalistic-assert-1.0.1/index":374,"../common":350,"../utils":360}],359:[function(require,module,exports){
71867
+ },{"../../../../minimalistic-assert-1.0.1/index":379,"../common":355,"../utils":365}],364:[function(require,module,exports){
71441
71868
  arguments[4][144][0].apply(exports,arguments)
71442
- },{"../utils":360,"dup":144}],360:[function(require,module,exports){
71869
+ },{"../utils":365,"dup":144}],365:[function(require,module,exports){
71443
71870
  'use strict';
71444
71871
 
71445
71872
  var assert = require('../../../minimalistic-assert-1.0.1/index');
@@ -71719,7 +72146,7 @@ function shr64_lo(ah, al, num) {
71719
72146
  }
71720
72147
  exports.shr64_lo = shr64_lo;
71721
72148
 
71722
- },{"../../../inherits-2.0.4/inherits":362,"../../../minimalistic-assert-1.0.1/index":374}],361:[function(require,module,exports){
72149
+ },{"../../../inherits-2.0.4/inherits":367,"../../../minimalistic-assert-1.0.1/index":379}],366:[function(require,module,exports){
71723
72150
  'use strict';
71724
72151
 
71725
72152
  var hash = require('../../hash.js-1.1.7/lib/hash');
@@ -71834,7 +72261,7 @@ HmacDRBG.prototype.generate = function generate(len, enc, add, addEnc) {
71834
72261
  return utils.encode(res, enc);
71835
72262
  };
71836
72263
 
71837
- },{"../../hash.js-1.1.7/lib/hash":349,"../../minimalistic-assert-1.0.1/index":374,"../../minimalistic-crypto-utils-1.0.1/lib/utils":375}],362:[function(require,module,exports){
72264
+ },{"../../hash.js-1.1.7/lib/hash":354,"../../minimalistic-assert-1.0.1/index":379,"../../minimalistic-crypto-utils-1.0.1/lib/utils":380}],367:[function(require,module,exports){
71838
72265
  try {
71839
72266
  var util = require('util');
71840
72267
  /* istanbul ignore next */
@@ -71845,9 +72272,9 @@ try {
71845
72272
  module.exports = require('./inherits_browser.js');
71846
72273
  }
71847
72274
 
71848
- },{"./inherits_browser.js":363,"util":212}],363:[function(require,module,exports){
72275
+ },{"./inherits_browser.js":368,"util":212}],368:[function(require,module,exports){
71849
72276
  arguments[4][148][0].apply(exports,arguments)
71850
- },{"dup":148}],364:[function(require,module,exports){
72277
+ },{"dup":148}],369:[function(require,module,exports){
71851
72278
  /*!
71852
72279
  * Determine if an object is a Buffer
71853
72280
  *
@@ -71860,7 +72287,7 @@ module.exports = function isBuffer (obj) {
71860
72287
  typeof obj.constructor.isBuffer === 'function' && obj.constructor.isBuffer(obj)
71861
72288
  }
71862
72289
 
71863
- },{}],365:[function(require,module,exports){
72290
+ },{}],370:[function(require,module,exports){
71864
72291
  /**
71865
72292
  * Returns a `Boolean` on whether or not the a `String` starts with '0x'
71866
72293
  * @param {String} str the string input value
@@ -71875,11 +72302,11 @@ module.exports = function isHexPrefixed(str) {
71875
72302
  return str.slice(0, 2) === '0x';
71876
72303
  }
71877
72304
 
71878
- },{}],366:[function(require,module,exports){
72305
+ },{}],371:[function(require,module,exports){
71879
72306
  'use strict'
71880
72307
  module.exports = require('./lib/api')({ Keccak: require('./lib/keccak') })
71881
72308
 
71882
- },{"./lib/api":367,"./lib/keccak":371}],367:[function(require,module,exports){
72309
+ },{"./lib/api":372,"./lib/keccak":376}],372:[function(require,module,exports){
71883
72310
  'use strict'
71884
72311
  var createKeccak = require('./keccak')
71885
72312
  var createShake = require('./shake')
@@ -71909,7 +72336,7 @@ module.exports = function (internal) {
71909
72336
  }
71910
72337
  }
71911
72338
 
71912
- },{"./keccak":368,"./shake":369}],368:[function(require,module,exports){
72339
+ },{"./keccak":373,"./shake":374}],373:[function(require,module,exports){
71913
72340
  (function (Buffer){(function (){
71914
72341
  'use strict'
71915
72342
  var Transform = require('stream').Transform
@@ -71996,7 +72423,7 @@ module.exports = function (internal) {
71996
72423
  }
71997
72424
 
71998
72425
  }).call(this)}).call(this,require("buffer").Buffer)
71999
- },{"../../../inherits-2.0.4/inherits":362,"buffer":67,"stream":192}],369:[function(require,module,exports){
72426
+ },{"../../../inherits-2.0.4/inherits":367,"buffer":67,"stream":192}],374:[function(require,module,exports){
72000
72427
  (function (Buffer){(function (){
72001
72428
  'use strict'
72002
72429
  var Transform = require('stream').Transform
@@ -72074,7 +72501,7 @@ module.exports = function (internal) {
72074
72501
  }
72075
72502
 
72076
72503
  }).call(this)}).call(this,require("buffer").Buffer)
72077
- },{"../../../inherits-2.0.4/inherits":362,"buffer":67,"stream":192}],370:[function(require,module,exports){
72504
+ },{"../../../inherits-2.0.4/inherits":367,"buffer":67,"stream":192}],375:[function(require,module,exports){
72078
72505
  'use strict'
72079
72506
  var P1600_ROUND_CONSTANTS = [1, 0, 32898, 0, 32906, 2147483648, 2147516416, 2147483648, 32907, 0, 2147483649, 0, 2147516545, 2147483648, 32777, 2147483648, 138, 0, 136, 0, 2147516425, 0, 2147483658, 0, 2147516555, 0, 139, 2147483648, 32905, 2147483648, 32771, 2147483648, 32770, 2147483648, 128, 2147483648, 32778, 0, 2147483658, 2147483648, 2147516545, 2147483648, 32896, 2147483648, 2147483649, 0, 2147516424, 2147483648]
72080
72507
 
@@ -72263,7 +72690,7 @@ exports.p1600 = function (s) {
72263
72690
  }
72264
72691
  }
72265
72692
 
72266
- },{}],371:[function(require,module,exports){
72693
+ },{}],376:[function(require,module,exports){
72267
72694
  (function (Buffer){(function (){
72268
72695
  'use strict'
72269
72696
  var keccakState = require('./keccak-state')
@@ -72336,7 +72763,7 @@ Keccak.prototype.copy = function (dest) {
72336
72763
  module.exports = Keccak
72337
72764
 
72338
72765
  }).call(this)}).call(this,require("buffer").Buffer)
72339
- },{"./keccak-state":370,"buffer":67}],372:[function(require,module,exports){
72766
+ },{"./keccak-state":375,"buffer":67}],377:[function(require,module,exports){
72340
72767
  'use strict'
72341
72768
  var inherits = require('../inherits-2.0.4/inherits')
72342
72769
  var HashBase = require('../hash-base-3.0.4/index')
@@ -72484,7 +72911,7 @@ function fnI (a, b, c, d, m, k, s) {
72484
72911
 
72485
72912
  module.exports = MD5
72486
72913
 
72487
- },{"../hash-base-3.0.4/index":348,"../inherits-2.0.4/inherits":362,"../safe-buffer-5.2.0/index":387}],373:[function(require,module,exports){
72914
+ },{"../hash-base-3.0.4/index":353,"../inherits-2.0.4/inherits":367,"../safe-buffer-5.2.0/index":392}],378:[function(require,module,exports){
72488
72915
  (function (Buffer){(function (){
72489
72916
  // constant-space merkle root calculation algorithm
72490
72917
  module.exports = function fastRoot (values, digestFn) {
@@ -72512,11 +72939,11 @@ module.exports = function fastRoot (values, digestFn) {
72512
72939
  }
72513
72940
 
72514
72941
  }).call(this)}).call(this,require("buffer").Buffer)
72515
- },{"buffer":67}],374:[function(require,module,exports){
72942
+ },{"buffer":67}],379:[function(require,module,exports){
72516
72943
  arguments[4][157][0].apply(exports,arguments)
72517
- },{"dup":157}],375:[function(require,module,exports){
72944
+ },{"dup":157}],380:[function(require,module,exports){
72518
72945
  arguments[4][158][0].apply(exports,arguments)
72519
- },{"dup":158}],376:[function(require,module,exports){
72946
+ },{"dup":158}],381:[function(require,module,exports){
72520
72947
  /**
72521
72948
  * Helpers.
72522
72949
  */
@@ -72680,7 +73107,7 @@ function plural(ms, msAbs, n, name) {
72680
73107
  return Math.round(ms / n) + ' ' + name + (isPlural ? 's' : '');
72681
73108
  }
72682
73109
 
72683
- },{}],377:[function(require,module,exports){
73110
+ },{}],382:[function(require,module,exports){
72684
73111
  assert.notEqual = notEqual
72685
73112
  assert.notOk = notOk
72686
73113
  assert.equal = equal
@@ -72704,7 +73131,7 @@ function assert (t, m) {
72704
73131
  if (!t) throw new Error(m || 'AssertionError')
72705
73132
  }
72706
73133
 
72707
- },{}],378:[function(require,module,exports){
73134
+ },{}],383:[function(require,module,exports){
72708
73135
  var checkParameters = require('./lib/precondition')
72709
73136
  var native = require('crypto')
72710
73137
 
@@ -72737,7 +73164,7 @@ if (!native.pbkdf2Sync || native.pbkdf2Sync.toString().indexOf('keylen, digest')
72737
73164
  exports.pbkdf2 = nativePBKDF2
72738
73165
  }
72739
73166
 
72740
- },{"./lib/async":379,"./lib/precondition":381,"./lib/sync":382,"crypto":78}],379:[function(require,module,exports){
73167
+ },{"./lib/async":384,"./lib/precondition":386,"./lib/sync":387,"crypto":78}],384:[function(require,module,exports){
72741
73168
  (function (process,global){(function (){
72742
73169
  var checkParameters = require('./precondition')
72743
73170
  var defaultEncoding = require('./default-encoding')
@@ -72841,7 +73268,7 @@ module.exports = function (password, salt, iterations, keylen, digest, callback)
72841
73268
  }
72842
73269
 
72843
73270
  }).call(this)}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
72844
- },{"../../safe-buffer-5.2.0/index":387,"./default-encoding":380,"./precondition":381,"./sync":382,"_process":171}],380:[function(require,module,exports){
73271
+ },{"../../safe-buffer-5.2.0/index":392,"./default-encoding":385,"./precondition":386,"./sync":387,"_process":171}],385:[function(require,module,exports){
72845
73272
  (function (process){(function (){
72846
73273
  var defaultEncoding
72847
73274
  /* istanbul ignore next */
@@ -72855,7 +73282,7 @@ if (process.browser) {
72855
73282
  module.exports = defaultEncoding
72856
73283
 
72857
73284
  }).call(this)}).call(this,require('_process'))
72858
- },{"_process":171}],381:[function(require,module,exports){
73285
+ },{"_process":171}],386:[function(require,module,exports){
72859
73286
  (function (Buffer){(function (){
72860
73287
  var MAX_ALLOC = Math.pow(2, 30) - 1 // default in iojs
72861
73288
 
@@ -72887,7 +73314,7 @@ module.exports = function (password, salt, iterations, keylen) {
72887
73314
  }
72888
73315
 
72889
73316
  }).call(this)}).call(this,{"isBuffer":require("../../../../../../../node_modules/is-buffer/index.js")})
72890
- },{"../../../../../../../node_modules/is-buffer/index.js":150}],382:[function(require,module,exports){
73317
+ },{"../../../../../../../node_modules/is-buffer/index.js":150}],387:[function(require,module,exports){
72891
73318
  var sizes = {
72892
73319
  md5: 16,
72893
73320
  sha1: 20,
@@ -72940,7 +73367,7 @@ function pbkdf2 (password, salt, iterations, keylen, digest) {
72940
73367
 
72941
73368
  module.exports = pbkdf2
72942
73369
 
72943
- },{"../../create-hmac-1.1.4/browser":310,"../../safe-buffer-5.2.0/index":387,"../lib/default-encoding":380,"../lib/precondition":381}],383:[function(require,module,exports){
73370
+ },{"../../create-hmac-1.1.4/browser":315,"../../safe-buffer-5.2.0/index":392,"../lib/default-encoding":385,"../lib/precondition":386}],388:[function(require,module,exports){
72944
73371
  var OPS = require('../bitcoin-ops-1.4.1/index.json')
72945
73372
 
72946
73373
  function encodingLength (i) {
@@ -73019,7 +73446,7 @@ module.exports = {
73019
73446
  decode: decode
73020
73447
  }
73021
73448
 
73022
- },{"../bitcoin-ops-1.4.1/index.json":257}],384:[function(require,module,exports){
73449
+ },{"../bitcoin-ops-1.4.1/index.json":262}],389:[function(require,module,exports){
73023
73450
  (function (process,global){(function (){
73024
73451
  'use strict'
73025
73452
 
@@ -73073,7 +73500,7 @@ function randomBytes (size, cb) {
73073
73500
  }
73074
73501
 
73075
73502
  }).call(this)}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
73076
- },{"../safe-buffer-5.2.0/index":387,"_process":171}],385:[function(require,module,exports){
73503
+ },{"../safe-buffer-5.2.0/index":392,"_process":171}],390:[function(require,module,exports){
73077
73504
  'use strict'
73078
73505
  var Buffer = require('buffer').Buffer
73079
73506
  var inherits = require('../inherits-2.0.4/inherits')
@@ -73238,7 +73665,7 @@ function fn5 (a, b, c, d, e, m, k, s) {
73238
73665
 
73239
73666
  module.exports = RIPEMD160
73240
73667
 
73241
- },{"../hash-base-3.0.4/index":348,"../inherits-2.0.4/inherits":362,"buffer":67}],386:[function(require,module,exports){
73668
+ },{"../hash-base-3.0.4/index":353,"../inherits-2.0.4/inherits":367,"buffer":67}],391:[function(require,module,exports){
73242
73669
  const assert = require('assert')
73243
73670
  const Buffer = require('../safe-buffer-5.2.0/index').Buffer
73244
73671
  /**
@@ -73470,7 +73897,7 @@ function toBuffer (v) {
73470
73897
  return v
73471
73898
  }
73472
73899
 
73473
- },{"../safe-buffer-5.2.0/index":387,"assert":16}],387:[function(require,module,exports){
73900
+ },{"../safe-buffer-5.2.0/index":392,"assert":16}],392:[function(require,module,exports){
73474
73901
  /* eslint-disable node/no-deprecated-api */
73475
73902
  var buffer = require('buffer')
73476
73903
  var Buffer = buffer.Buffer
@@ -73536,11 +73963,11 @@ SafeBuffer.allocUnsafeSlow = function (size) {
73536
73963
  return buffer.SlowBuffer(size)
73537
73964
  }
73538
73965
 
73539
- },{"buffer":67}],388:[function(require,module,exports){
73966
+ },{"buffer":67}],393:[function(require,module,exports){
73540
73967
  'use strict'
73541
73968
  module.exports = require('./lib')(require('./lib/elliptic'))
73542
73969
 
73543
- },{"./lib":392,"./lib/elliptic":391}],389:[function(require,module,exports){
73970
+ },{"./lib":397,"./lib/elliptic":396}],394:[function(require,module,exports){
73544
73971
  (function (Buffer){(function (){
73545
73972
  'use strict'
73546
73973
  var toString = Object.prototype.toString
@@ -73588,7 +74015,7 @@ exports.isNumberInInterval = function (number, x, y, message) {
73588
74015
  }
73589
74016
 
73590
74017
  }).call(this)}).call(this,{"isBuffer":require("../../../../../../../node_modules/is-buffer/index.js")})
73591
- },{"../../../../../../../node_modules/is-buffer/index.js":150}],390:[function(require,module,exports){
74018
+ },{"../../../../../../../node_modules/is-buffer/index.js":150}],395:[function(require,module,exports){
73592
74019
  'use strict'
73593
74020
  var Buffer = require('../../safe-buffer-5.2.0/index').Buffer
73594
74021
  var bip66 = require('../../bip66-1.1.5/index')
@@ -73783,7 +74210,7 @@ exports.signatureImportLax = function (sig) {
73783
74210
  return { r: r, s: s }
73784
74211
  }
73785
74212
 
73786
- },{"../../bip66-1.1.5/index":256,"../../safe-buffer-5.2.0/index":387}],391:[function(require,module,exports){
74213
+ },{"../../bip66-1.1.5/index":261,"../../safe-buffer-5.2.0/index":392}],396:[function(require,module,exports){
73787
74214
  'use strict'
73788
74215
  var Buffer = require('../../../safe-buffer-5.2.0/index').Buffer
73789
74216
  var createHash = require('../../../create-hash-1.2.0/browser')
@@ -74048,7 +74475,7 @@ exports.ecdhUnsafe = function (publicKey, privateKey, compressed) {
74048
74475
  return Buffer.from(pair.pub.mul(scalar).encode(true, compressed))
74049
74476
  }
74050
74477
 
74051
- },{"../../../bn.js-4.11.8/lib/bn":302,"../../../create-hash-1.2.0/browser":308,"../../../elliptic-6.5.3/lib/elliptic":323,"../../../safe-buffer-5.2.0/index":387,"../messages.json":393}],392:[function(require,module,exports){
74478
+ },{"../../../bn.js-4.11.8/lib/bn":307,"../../../create-hash-1.2.0/browser":313,"../../../elliptic-6.5.3/lib/elliptic":328,"../../../safe-buffer-5.2.0/index":392,"../messages.json":398}],397:[function(require,module,exports){
74052
74479
  'use strict'
74053
74480
  var assert = require('./assert')
74054
74481
  var der = require('./der')
@@ -74295,7 +74722,7 @@ module.exports = function (secp256k1) {
74295
74722
  }
74296
74723
  }
74297
74724
 
74298
- },{"./assert":389,"./der":390,"./messages.json":393}],393:[function(require,module,exports){
74725
+ },{"./assert":394,"./der":395,"./messages.json":398}],398:[function(require,module,exports){
74299
74726
  module.exports={
74300
74727
  "COMPRESSED_TYPE_INVALID": "compressed should be a boolean",
74301
74728
  "EC_PRIVATE_KEY_TYPE_INVALID": "private key should be a Buffer",
@@ -74333,10 +74760,10 @@ module.exports={
74333
74760
  "TWEAK_TYPE_INVALID": "tweak should be a Buffer",
74334
74761
  "TWEAK_LENGTH_INVALID": "tweak length is invalid"
74335
74762
  }
74336
- },{}],394:[function(require,module,exports){
74763
+ },{}],399:[function(require,module,exports){
74337
74764
  module.exports = require('./lib')(require('./lib/elliptic'))
74338
74765
 
74339
- },{"./lib":396,"./lib/elliptic":395}],395:[function(require,module,exports){
74766
+ },{"./lib":401,"./lib/elliptic":400}],400:[function(require,module,exports){
74340
74767
  const EC = require('../../elliptic-6.5.3/lib/elliptic').ec
74341
74768
 
74342
74769
  const ec = new EC('secp256k1')
@@ -74740,7 +75167,7 @@ module.exports = {
74740
75167
  }
74741
75168
  }
74742
75169
 
74743
- },{"../../elliptic-6.5.3/lib/elliptic":323}],396:[function(require,module,exports){
75170
+ },{"../../elliptic-6.5.3/lib/elliptic":328}],401:[function(require,module,exports){
74744
75171
  const errors = {
74745
75172
  IMPOSSIBLE_CASE: 'Impossible case. Please create issue.',
74746
75173
  TWEAK_ADD:
@@ -75078,7 +75505,7 @@ module.exports = (secp256k1) => {
75078
75505
  }
75079
75506
  }
75080
75507
 
75081
- },{}],397:[function(require,module,exports){
75508
+ },{}],402:[function(require,module,exports){
75082
75509
  var Buffer = require('../safe-buffer-5.2.0/index').Buffer
75083
75510
 
75084
75511
  // prototype class for hash functions
@@ -75161,7 +75588,7 @@ Hash.prototype._update = function () {
75161
75588
 
75162
75589
  module.exports = Hash
75163
75590
 
75164
- },{"../safe-buffer-5.2.0/index":387}],398:[function(require,module,exports){
75591
+ },{"../safe-buffer-5.2.0/index":392}],403:[function(require,module,exports){
75165
75592
  'use strict'
75166
75593
  var exports = (module.exports = function SHA(algorithm) {
75167
75594
  algorithm = algorithm.toLowerCase()
@@ -75179,7 +75606,7 @@ exports.sha256 = require('./sha256')
75179
75606
  exports.sha384 = require('./sha384')
75180
75607
  exports.sha512 = require('./sha512')
75181
75608
 
75182
- },{"./sha":399,"./sha1":400,"./sha224":401,"./sha256":402,"./sha384":403,"./sha512":404}],399:[function(require,module,exports){
75609
+ },{"./sha":404,"./sha1":405,"./sha224":406,"./sha256":407,"./sha384":408,"./sha512":409}],404:[function(require,module,exports){
75183
75610
  /*
75184
75611
  * A JavaScript implementation of the Secure Hash Algorithm, SHA-0, as defined
75185
75612
  * in FIPS PUB 180-1
@@ -75275,7 +75702,7 @@ Sha.prototype._hash = function () {
75275
75702
 
75276
75703
  module.exports = Sha
75277
75704
 
75278
- },{"../inherits-2.0.4/inherits":362,"../safe-buffer-5.2.0/index":387,"./hash":397}],400:[function(require,module,exports){
75705
+ },{"../inherits-2.0.4/inherits":367,"../safe-buffer-5.2.0/index":392,"./hash":402}],405:[function(require,module,exports){
75279
75706
  /*
75280
75707
  * A JavaScript implementation of the Secure Hash Algorithm, SHA-1, as defined
75281
75708
  * in FIPS PUB 180-1
@@ -75376,7 +75803,7 @@ Sha1.prototype._hash = function () {
75376
75803
 
75377
75804
  module.exports = Sha1
75378
75805
 
75379
- },{"../inherits-2.0.4/inherits":362,"../safe-buffer-5.2.0/index":387,"./hash":397}],401:[function(require,module,exports){
75806
+ },{"../inherits-2.0.4/inherits":367,"../safe-buffer-5.2.0/index":392,"./hash":402}],406:[function(require,module,exports){
75380
75807
  /**
75381
75808
  * A JavaScript implementation of the Secure Hash Algorithm, SHA-256, as defined
75382
75809
  * in FIPS 180-2
@@ -75431,7 +75858,7 @@ Sha224.prototype._hash = function () {
75431
75858
 
75432
75859
  module.exports = Sha224
75433
75860
 
75434
- },{"../inherits-2.0.4/inherits":362,"../safe-buffer-5.2.0/index":387,"./hash":397,"./sha256":402}],402:[function(require,module,exports){
75861
+ },{"../inherits-2.0.4/inherits":367,"../safe-buffer-5.2.0/index":392,"./hash":402,"./sha256":407}],407:[function(require,module,exports){
75435
75862
  /**
75436
75863
  * A JavaScript implementation of the Secure Hash Algorithm, SHA-256, as defined
75437
75864
  * in FIPS 180-2
@@ -75568,7 +75995,7 @@ Sha256.prototype._hash = function () {
75568
75995
 
75569
75996
  module.exports = Sha256
75570
75997
 
75571
- },{"../inherits-2.0.4/inherits":362,"../safe-buffer-5.2.0/index":387,"./hash":397}],403:[function(require,module,exports){
75998
+ },{"../inherits-2.0.4/inherits":367,"../safe-buffer-5.2.0/index":392,"./hash":402}],408:[function(require,module,exports){
75572
75999
  var inherits = require('../inherits-2.0.4/inherits')
75573
76000
  var SHA512 = require('./sha512')
75574
76001
  var Hash = require('./hash')
@@ -75627,7 +76054,7 @@ Sha384.prototype._hash = function () {
75627
76054
 
75628
76055
  module.exports = Sha384
75629
76056
 
75630
- },{"../inherits-2.0.4/inherits":362,"../safe-buffer-5.2.0/index":387,"./hash":397,"./sha512":404}],404:[function(require,module,exports){
76057
+ },{"../inherits-2.0.4/inherits":367,"../safe-buffer-5.2.0/index":392,"./hash":402,"./sha512":409}],409:[function(require,module,exports){
75631
76058
  var inherits = require('../inherits-2.0.4/inherits')
75632
76059
  var Hash = require('./hash')
75633
76060
  var Buffer = require('../safe-buffer-5.2.0/index').Buffer
@@ -75889,7 +76316,7 @@ Sha512.prototype._hash = function () {
75889
76316
 
75890
76317
  module.exports = Sha512
75891
76318
 
75892
- },{"../inherits-2.0.4/inherits":362,"../safe-buffer-5.2.0/index":387,"./hash":397}],405:[function(require,module,exports){
76319
+ },{"../inherits-2.0.4/inherits":367,"../safe-buffer-5.2.0/index":392,"./hash":402}],410:[function(require,module,exports){
75893
76320
  var isHexPrefixed = require('../../is-hex-prefixed-1.0.0/src/index');
75894
76321
 
75895
76322
  /**
@@ -75905,7 +76332,7 @@ module.exports = function stripHexPrefix(str) {
75905
76332
  return isHexPrefixed(str) ? str.slice(2) : str;
75906
76333
  }
75907
76334
 
75908
- },{"../../is-hex-prefixed-1.0.0/src/index":365}],406:[function(require,module,exports){
76335
+ },{"../../is-hex-prefixed-1.0.0/src/index":370}],411:[function(require,module,exports){
75909
76336
  var native = require('./native')
75910
76337
 
75911
76338
  function getTypeName (fn) {
@@ -76017,7 +76444,7 @@ module.exports = {
76017
76444
  getValueTypeName: getValueTypeName
76018
76445
  }
76019
76446
 
76020
- },{"./native":409}],407:[function(require,module,exports){
76447
+ },{"./native":414}],412:[function(require,module,exports){
76021
76448
  (function (Buffer){(function (){
76022
76449
  var NATIVE = require('./native')
76023
76450
  var ERRORS = require('./errors')
@@ -76112,7 +76539,7 @@ for (var typeName in types) {
76112
76539
  module.exports = types
76113
76540
 
76114
76541
  }).call(this)}).call(this,{"isBuffer":require("../../../../../../node_modules/is-buffer/index.js")})
76115
- },{"../../../../../../node_modules/is-buffer/index.js":150,"./errors":406,"./native":409}],408:[function(require,module,exports){
76542
+ },{"../../../../../../node_modules/is-buffer/index.js":150,"./errors":411,"./native":414}],413:[function(require,module,exports){
76116
76543
  var ERRORS = require('./errors')
76117
76544
  var NATIVE = require('./native')
76118
76545
 
@@ -76374,7 +76801,7 @@ typeforce.TfPropertyTypeError = TfPropertyTypeError
76374
76801
 
76375
76802
  module.exports = typeforce
76376
76803
 
76377
- },{"./errors":406,"./extra":407,"./native":409}],409:[function(require,module,exports){
76804
+ },{"./errors":411,"./extra":412,"./native":414}],414:[function(require,module,exports){
76378
76805
  var types = {
76379
76806
  Array: function (value) { return value !== null && value !== undefined && value.constructor === Array },
76380
76807
  Boolean: function (value) { return typeof value === 'boolean' },
@@ -76397,7 +76824,7 @@ for (var typeName in types) {
76397
76824
 
76398
76825
  module.exports = types
76399
76826
 
76400
- },{}],410:[function(require,module,exports){
76827
+ },{}],415:[function(require,module,exports){
76401
76828
  (function (root) {
76402
76829
  "use strict";
76403
76830
 
@@ -76851,7 +77278,7 @@ UChar.udata={
76851
77278
  }
76852
77279
  }(this));
76853
77280
 
76854
- },{}],411:[function(require,module,exports){
77281
+ },{}],416:[function(require,module,exports){
76855
77282
  /*! https://mths.be/utf8js v3.0.0 by @mathias */
76856
77283
  ;(function(root) {
76857
77284
 
@@ -77055,7 +77482,7 @@ UChar.udata={
77055
77482
 
77056
77483
  }(typeof exports === 'undefined' ? this.utf8 = {} : exports));
77057
77484
 
77058
- },{}],412:[function(require,module,exports){
77485
+ },{}],417:[function(require,module,exports){
77059
77486
  /*!
77060
77487
  * validate.js 0.13.1
77061
77488
  *
@@ -78310,7 +78737,7 @@ UChar.udata={
78310
78737
  typeof module !== 'undefined' ? /* istanbul ignore next */ module : null,
78311
78738
  typeof define !== 'undefined' ? /* istanbul ignore next */ define : null);
78312
78739
 
78313
- },{}],413:[function(require,module,exports){
78740
+ },{}],418:[function(require,module,exports){
78314
78741
  'use strict'
78315
78742
  var Buffer = require('../safe-buffer-5.2.0/index').Buffer
78316
78743
 
@@ -78402,7 +78829,7 @@ function encodingLength (number) {
78402
78829
 
78403
78830
  module.exports = { encode: encode, decode: decode, encodingLength: encodingLength }
78404
78831
 
78405
- },{"../safe-buffer-5.2.0/index":387}],414:[function(require,module,exports){
78832
+ },{"../safe-buffer-5.2.0/index":392}],419:[function(require,module,exports){
78406
78833
  (function (Buffer){(function (){
78407
78834
  var bs58check = require('../bs58check-2.1.2/index')
78408
78835
 
@@ -78469,7 +78896,7 @@ module.exports = {
78469
78896
  }
78470
78897
 
78471
78898
  }).call(this)}).call(this,require("buffer").Buffer)
78472
- },{"../bs58check-2.1.2/index":306,"buffer":67}],415:[function(require,module,exports){
78899
+ },{"../bs58check-2.1.2/index":311,"buffer":67}],420:[function(require,module,exports){
78473
78900
  "use strict";
78474
78901
  var __extends = (this && this.__extends) || (function () {
78475
78902
  var extendStatics = function (d, b) {
@@ -78529,7 +78956,7 @@ var CoinlibAssertionError = /** @class */ (function (_super) {
78529
78956
  }(Error));
78530
78957
  exports.CoinlibAssertionError = CoinlibAssertionError;
78531
78958
 
78532
- },{}],416:[function(require,module,exports){
78959
+ },{}],421:[function(require,module,exports){
78533
78960
  "use strict";
78534
78961
  var __extends = (this && this.__extends) || (function () {
78535
78962
  var extendStatics = function (d, b) {
@@ -78808,7 +79235,63 @@ var InvalidString = /** @class */ (function (_super) {
78808
79235
  }(SerializerError));
78809
79236
  exports.InvalidString = InvalidString;
78810
79237
 
78811
- },{"./coinlib-error":415}],417:[function(require,module,exports){
79238
+ },{"./coinlib-error":420}],422:[function(require,module,exports){
79239
+ "use strict";
79240
+ Object.defineProperty(exports, "__esModule", { value: true });
79241
+ exports.bufferFrom = exports.assertNever = exports.SubProtocolType = exports.TimeInterval = exports.Domain = exports.TransactionError = exports.BalanceError = exports.ProtocolErrorType = exports.SerializerErrorType = exports.CoinlibError = exports.NetworkError = exports.ProtocolNotSupported = exports.SerializerVersionMismatch = exports.TypeNotSupported = exports.isSubProtocolSymbol = exports.isMainProtocolSymbol = exports.isProtocolSymbol = exports.isNetworkEqual = exports.SimpleAction = exports.LinkedAction = exports.RepeatableAction = exports.Action = exports.NetworkType = exports.SubProtocolSymbols = exports.MainProtocolSymbols = exports.ProtocolNetwork = exports.ProtocolBlockExplorer = exports.CryptoClient = exports.AirGapNFTWallet = exports.AirGapWalletStatus = exports.AirGapCoinWallet = exports.AirGapMarketWallet = exports.AirGapWallet = void 0;
79242
+ var Action_1 = require("./actions/Action");
79243
+ Object.defineProperty(exports, "Action", { enumerable: true, get: function () { return Action_1.Action; } });
79244
+ var LinkedAction_1 = require("./actions/LinkedAction");
79245
+ Object.defineProperty(exports, "LinkedAction", { enumerable: true, get: function () { return LinkedAction_1.LinkedAction; } });
79246
+ var RepeatableAction_1 = require("./actions/RepeatableAction");
79247
+ Object.defineProperty(exports, "RepeatableAction", { enumerable: true, get: function () { return RepeatableAction_1.RepeatableAction; } });
79248
+ var SimpleAction_1 = require("./actions/SimpleAction");
79249
+ Object.defineProperty(exports, "SimpleAction", { enumerable: true, get: function () { return SimpleAction_1.SimpleAction; } });
79250
+ var errors_1 = require("./errors");
79251
+ Object.defineProperty(exports, "BalanceError", { enumerable: true, get: function () { return errors_1.BalanceError; } });
79252
+ Object.defineProperty(exports, "NetworkError", { enumerable: true, get: function () { return errors_1.NetworkError; } });
79253
+ Object.defineProperty(exports, "ProtocolErrorType", { enumerable: true, get: function () { return errors_1.ProtocolErrorType; } });
79254
+ Object.defineProperty(exports, "ProtocolNotSupported", { enumerable: true, get: function () { return errors_1.ProtocolNotSupported; } });
79255
+ Object.defineProperty(exports, "SerializerErrorType", { enumerable: true, get: function () { return errors_1.SerializerErrorType; } });
79256
+ Object.defineProperty(exports, "SerializerVersionMismatch", { enumerable: true, get: function () { return errors_1.SerializerVersionMismatch; } });
79257
+ Object.defineProperty(exports, "TransactionError", { enumerable: true, get: function () { return errors_1.TransactionError; } });
79258
+ Object.defineProperty(exports, "TypeNotSupported", { enumerable: true, get: function () { return errors_1.TypeNotSupported; } });
79259
+ var coinlib_error_1 = require("./errors/coinlib-error");
79260
+ Object.defineProperty(exports, "CoinlibError", { enumerable: true, get: function () { return coinlib_error_1.CoinlibError; } });
79261
+ Object.defineProperty(exports, "Domain", { enumerable: true, get: function () { return coinlib_error_1.Domain; } });
79262
+ var CryptoClient_1 = require("./protocols/CryptoClient");
79263
+ Object.defineProperty(exports, "CryptoClient", { enumerable: true, get: function () { return CryptoClient_1.CryptoClient; } });
79264
+ var ICoinSubProtocol_1 = require("./protocols/ICoinSubProtocol");
79265
+ Object.defineProperty(exports, "SubProtocolType", { enumerable: true, get: function () { return ICoinSubProtocol_1.SubProtocolType; } });
79266
+ var assert_1 = require("./utils/assert");
79267
+ Object.defineProperty(exports, "assertNever", { enumerable: true, get: function () { return assert_1.assertNever; } });
79268
+ var buffer_1 = require("./utils/buffer");
79269
+ Object.defineProperty(exports, "bufferFrom", { enumerable: true, get: function () { return buffer_1.bufferFrom; } });
79270
+ var Network_1 = require("./utils/Network");
79271
+ Object.defineProperty(exports, "isNetworkEqual", { enumerable: true, get: function () { return Network_1.isNetworkEqual; } });
79272
+ var ProtocolBlockExplorer_1 = require("./utils/ProtocolBlockExplorer");
79273
+ Object.defineProperty(exports, "ProtocolBlockExplorer", { enumerable: true, get: function () { return ProtocolBlockExplorer_1.ProtocolBlockExplorer; } });
79274
+ var ProtocolNetwork_1 = require("./utils/ProtocolNetwork");
79275
+ Object.defineProperty(exports, "NetworkType", { enumerable: true, get: function () { return ProtocolNetwork_1.NetworkType; } });
79276
+ Object.defineProperty(exports, "ProtocolNetwork", { enumerable: true, get: function () { return ProtocolNetwork_1.ProtocolNetwork; } });
79277
+ var ProtocolSymbols_1 = require("./utils/ProtocolSymbols");
79278
+ Object.defineProperty(exports, "isMainProtocolSymbol", { enumerable: true, get: function () { return ProtocolSymbols_1.isMainProtocolSymbol; } });
79279
+ Object.defineProperty(exports, "isProtocolSymbol", { enumerable: true, get: function () { return ProtocolSymbols_1.isProtocolSymbol; } });
79280
+ Object.defineProperty(exports, "isSubProtocolSymbol", { enumerable: true, get: function () { return ProtocolSymbols_1.isSubProtocolSymbol; } });
79281
+ Object.defineProperty(exports, "MainProtocolSymbols", { enumerable: true, get: function () { return ProtocolSymbols_1.MainProtocolSymbols; } });
79282
+ Object.defineProperty(exports, "SubProtocolSymbols", { enumerable: true, get: function () { return ProtocolSymbols_1.SubProtocolSymbols; } });
79283
+ var AirGapCoinWallet_1 = require("./wallet/AirGapCoinWallet");
79284
+ Object.defineProperty(exports, "AirGapCoinWallet", { enumerable: true, get: function () { return AirGapCoinWallet_1.AirGapCoinWallet; } });
79285
+ Object.defineProperty(exports, "TimeInterval", { enumerable: true, get: function () { return AirGapCoinWallet_1.TimeInterval; } });
79286
+ var AirGapMarketWallet_1 = require("./wallet/AirGapMarketWallet");
79287
+ Object.defineProperty(exports, "AirGapMarketWallet", { enumerable: true, get: function () { return AirGapMarketWallet_1.AirGapMarketWallet; } });
79288
+ var AirGapNFTWallet_1 = require("./wallet/AirGapNFTWallet");
79289
+ Object.defineProperty(exports, "AirGapNFTWallet", { enumerable: true, get: function () { return AirGapNFTWallet_1.AirGapNFTWallet; } });
79290
+ var AirGapWallet_1 = require("./wallet/AirGapWallet");
79291
+ Object.defineProperty(exports, "AirGapWallet", { enumerable: true, get: function () { return AirGapWallet_1.AirGapWallet; } });
79292
+ Object.defineProperty(exports, "AirGapWalletStatus", { enumerable: true, get: function () { return AirGapWallet_1.AirGapWalletStatus; } });
79293
+
79294
+ },{"./actions/Action":214,"./actions/LinkedAction":215,"./actions/RepeatableAction":216,"./actions/SimpleAction":217,"./errors":421,"./errors/coinlib-error":420,"./protocols/CryptoClient":424,"./protocols/ICoinSubProtocol":425,"./utils/Network":428,"./utils/ProtocolBlockExplorer":429,"./utils/ProtocolNetwork":430,"./utils/ProtocolSymbols":431,"./utils/assert":432,"./utils/buffer":433,"./wallet/AirGapCoinWallet":436,"./wallet/AirGapMarketWallet":437,"./wallet/AirGapNFTWallet":438,"./wallet/AirGapWallet":439}],423:[function(require,module,exports){
78812
79295
  "use strict";
78813
79296
  Object.defineProperty(exports, "__esModule", { value: true });
78814
79297
  exports.AirGapTransactionWarningType = exports.AirGapTransactionStatus = exports.AirGapTransactionType = void 0;
@@ -78831,7 +79314,7 @@ var AirGapTransactionWarningType;
78831
79314
  AirGapTransactionWarningType["ERROR"] = "error";
78832
79315
  })(AirGapTransactionWarningType = exports.AirGapTransactionWarningType || (exports.AirGapTransactionWarningType = {}));
78833
79316
 
78834
- },{}],418:[function(require,module,exports){
79317
+ },{}],424:[function(require,module,exports){
78835
79318
  "use strict";
78836
79319
  var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
78837
79320
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
@@ -78916,7 +79399,7 @@ var CryptoClient = /** @class */ (function () {
78916
79399
  }());
78917
79400
  exports.CryptoClient = CryptoClient;
78918
79401
 
78919
- },{"../errors":416,"../errors/coinlib-error":415,"../utils/AES":421}],419:[function(require,module,exports){
79402
+ },{"../errors":421,"../errors/coinlib-error":420,"../utils/AES":427}],425:[function(require,module,exports){
78920
79403
  "use strict";
78921
79404
  Object.defineProperty(exports, "__esModule", { value: true });
78922
79405
  exports.SubProtocolType = void 0;
@@ -78926,7 +79409,7 @@ var SubProtocolType;
78926
79409
  SubProtocolType["TOKEN"] = "token";
78927
79410
  })(SubProtocolType = exports.SubProtocolType || (exports.SubProtocolType = {}));
78928
79411
 
78929
- },{}],420:[function(require,module,exports){
79412
+ },{}],426:[function(require,module,exports){
78930
79413
  (function (Buffer){(function (){
78931
79414
  "use strict";
78932
79415
  var __extends = (this && this.__extends) || (function () {
@@ -79006,7 +79489,7 @@ var Secp256k1CryptoClient = /** @class */ (function (_super) {
79006
79489
  exports.Secp256k1CryptoClient = Secp256k1CryptoClient;
79007
79490
 
79008
79491
  }).call(this)}).call(this,require("buffer").Buffer)
79009
- },{"../dependencies/src/eciesjs-0.3.9/src/index":313,"./CryptoClient":418,"buffer":67}],421:[function(require,module,exports){
79492
+ },{"../dependencies/src/eciesjs-0.3.9/src/index":318,"./CryptoClient":424,"buffer":67}],427:[function(require,module,exports){
79010
79493
  (function (Buffer){(function (){
79011
79494
  "use strict";
79012
79495
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
@@ -79170,7 +79653,28 @@ var AES = /** @class */ (function () {
79170
79653
  exports.AES = AES;
79171
79654
 
79172
79655
  }).call(this)}).call(this,require("buffer").Buffer)
79173
- },{"../errors":416,"../errors/coinlib-error":415,"./hex":424,"buffer":67,"crypto":78}],422:[function(require,module,exports){
79656
+ },{"../errors":421,"../errors/coinlib-error":420,"./hex":434,"buffer":67,"crypto":78}],428:[function(require,module,exports){
79657
+ "use strict";
79658
+ Object.defineProperty(exports, "__esModule", { value: true });
79659
+ exports.isNetworkEqual = void 0;
79660
+ var isNetworkEqual = function (network1, network2) {
79661
+ return network1.name === network2.name && network1.type === network2.type && network1.rpcUrl === network2.rpcUrl;
79662
+ };
79663
+ exports.isNetworkEqual = isNetworkEqual;
79664
+
79665
+ },{}],429:[function(require,module,exports){
79666
+ "use strict";
79667
+ Object.defineProperty(exports, "__esModule", { value: true });
79668
+ exports.ProtocolBlockExplorer = void 0;
79669
+ var ProtocolBlockExplorer = /** @class */ (function () {
79670
+ function ProtocolBlockExplorer(blockExplorer) {
79671
+ this.blockExplorer = blockExplorer;
79672
+ }
79673
+ return ProtocolBlockExplorer;
79674
+ }());
79675
+ exports.ProtocolBlockExplorer = ProtocolBlockExplorer;
79676
+
79677
+ },{}],430:[function(require,module,exports){
79174
79678
  "use strict";
79175
79679
  Object.defineProperty(exports, "__esModule", { value: true });
79176
79680
  exports.ProtocolNetwork = exports.NetworkType = void 0;
@@ -79206,7 +79710,7 @@ var ProtocolNetwork = /** @class */ (function () {
79206
79710
  }());
79207
79711
  exports.ProtocolNetwork = ProtocolNetwork;
79208
79712
 
79209
- },{"../dependencies/src/create-hash-1.2.0/index":309}],423:[function(require,module,exports){
79713
+ },{"../dependencies/src/create-hash-1.2.0/index":314}],431:[function(require,module,exports){
79210
79714
  "use strict";
79211
79715
  Object.defineProperty(exports, "__esModule", { value: true });
79212
79716
  exports.isProtocolSymbol = exports.isSubProtocolSymbol = exports.isMainProtocolSymbol = exports.SubProtocolSymbols = exports.MainProtocolSymbols = void 0;
@@ -79265,7 +79769,39 @@ function isProtocolSymbol(identifier) {
79265
79769
  }
79266
79770
  exports.isProtocolSymbol = isProtocolSymbol;
79267
79771
 
79268
- },{}],424:[function(require,module,exports){
79772
+ },{}],432:[function(require,module,exports){
79773
+ "use strict";
79774
+ Object.defineProperty(exports, "__esModule", { value: true });
79775
+ exports.assertFields = exports.assertNever = void 0;
79776
+ var errors_1 = require("../errors");
79777
+ var coinlib_error_1 = require("../errors/coinlib-error");
79778
+ var assertNever = function (x) { return undefined; };
79779
+ exports.assertNever = assertNever;
79780
+ function assertFields(name, object) {
79781
+ var fields = [];
79782
+ for (var _i = 2; _i < arguments.length; _i++) {
79783
+ fields[_i - 2] = arguments[_i];
79784
+ }
79785
+ fields.forEach(function (field) {
79786
+ if (object[field] === undefined || object[field] === null) {
79787
+ throw new errors_1.ConditionViolationError(coinlib_error_1.Domain.UTILS, name + ", required: " + fields.join(', ') + ", but " + field + " is missing.");
79788
+ }
79789
+ });
79790
+ }
79791
+ exports.assertFields = assertFields;
79792
+
79793
+ },{"../errors":421,"../errors/coinlib-error":420}],433:[function(require,module,exports){
79794
+ (function (Buffer){(function (){
79795
+ "use strict";
79796
+ Object.defineProperty(exports, "__esModule", { value: true });
79797
+ exports.bufferFrom = void 0;
79798
+ var bufferFrom = function (data, encoding) {
79799
+ return Buffer.from(data, encoding);
79800
+ };
79801
+ exports.bufferFrom = bufferFrom;
79802
+
79803
+ }).call(this)}).call(this,require("buffer").Buffer)
79804
+ },{"buffer":67}],434:[function(require,module,exports){
79269
79805
  (function (Buffer){(function (){
79270
79806
  "use strict";
79271
79807
  var __importDefault = (this && this.__importDefault) || function (mod) {
@@ -79380,7 +79916,7 @@ function fillToTargetLength(hexString, bitLength) {
79380
79916
  }
79381
79917
 
79382
79918
  }).call(this)}).call(this,require("buffer").Buffer)
79383
- },{"../dependencies/src/bignumber.js-9.0.0/bignumber":246,"./padStart":425,"buffer":67}],425:[function(require,module,exports){
79919
+ },{"../dependencies/src/bignumber.js-9.0.0/bignumber":251,"./padStart":435,"buffer":67}],435:[function(require,module,exports){
79384
79920
  "use strict";
79385
79921
  Object.defineProperty(exports, "__esModule", { value: true });
79386
79922
  exports.padStart = void 0;
@@ -79401,10 +79937,746 @@ function padStart(targetString, targetLength, padString) {
79401
79937
  }
79402
79938
  exports.padStart = padStart;
79403
79939
 
79404
- },{}],426:[function(require,module,exports){
79940
+ },{}],436:[function(require,module,exports){
79941
+ "use strict";
79942
+ var __extends = (this && this.__extends) || (function () {
79943
+ var extendStatics = function (d, b) {
79944
+ extendStatics = Object.setPrototypeOf ||
79945
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
79946
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
79947
+ return extendStatics(d, b);
79948
+ };
79949
+ return function (d, b) {
79950
+ extendStatics(d, b);
79951
+ function __() { this.constructor = d; }
79952
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
79953
+ };
79954
+ })();
79955
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
79956
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
79957
+ return new (P || (P = Promise))(function (resolve, reject) {
79958
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
79959
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
79960
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
79961
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
79962
+ });
79963
+ };
79964
+ var __generator = (this && this.__generator) || function (thisArg, body) {
79965
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
79966
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
79967
+ function verb(n) { return function (v) { return step([n, v]); }; }
79968
+ function step(op) {
79969
+ if (f) throw new TypeError("Generator is already executing.");
79970
+ while (_) try {
79971
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
79972
+ if (y = 0, t) op = [op[0] & 2, t.value];
79973
+ switch (op[0]) {
79974
+ case 0: case 1: t = op; break;
79975
+ case 4: _.label++; return { value: op[1], done: false };
79976
+ case 5: _.label++; y = op[1]; op = [0]; continue;
79977
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
79978
+ default:
79979
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
79980
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
79981
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
79982
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
79983
+ if (t[2]) _.ops.pop();
79984
+ _.trys.pop(); continue;
79985
+ }
79986
+ op = body.call(thisArg, _);
79987
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
79988
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
79989
+ }
79990
+ };
79991
+ var __importDefault = (this && this.__importDefault) || function (mod) {
79992
+ return (mod && mod.__esModule) ? mod : { "default": mod };
79993
+ };
79994
+ Object.defineProperty(exports, "__esModule", { value: true });
79995
+ exports.AirGapCoinWallet = exports.TimeInterval = void 0;
79996
+ var bignumber_1 = __importDefault(require("../dependencies/src/bignumber.js-9.0.0/bignumber"));
79997
+ var ProtocolNetwork_1 = require("../utils/ProtocolNetwork");
79998
+ var ProtocolSymbols_1 = require("../utils/ProtocolSymbols");
79999
+ var AirGapMarketWallet_1 = require("./AirGapMarketWallet");
80000
+ var TimeInterval;
80001
+ (function (TimeInterval) {
80002
+ TimeInterval["HOURS"] = "24h";
80003
+ TimeInterval["DAYS"] = "7d";
80004
+ TimeInterval["MONTH"] = "30d";
80005
+ })(TimeInterval = exports.TimeInterval || (exports.TimeInterval = {}));
80006
+ var AirGapCoinWallet = /** @class */ (function (_super) {
80007
+ __extends(AirGapCoinWallet, _super);
80008
+ function AirGapCoinWallet() {
80009
+ return _super !== null && _super.apply(this, arguments) || this;
80010
+ }
80011
+ AirGapCoinWallet.prototype.getCurrentBalance = function () {
80012
+ return this.currentBalance;
80013
+ };
80014
+ AirGapCoinWallet.prototype.setCurrentBalance = function (balance) {
80015
+ this.currentBalance = balance;
80016
+ };
80017
+ AirGapCoinWallet.prototype.getCurrentMarketPrice = function () {
80018
+ return this.currentMarketPrice;
80019
+ };
80020
+ AirGapCoinWallet.prototype.setCurrentMarketPrice = function (marketPrice) {
80021
+ return __awaiter(this, void 0, void 0, function () {
80022
+ var _a;
80023
+ return __generator(this, function (_b) {
80024
+ switch (_b.label) {
80025
+ case 0:
80026
+ _a = this;
80027
+ return [4 /*yield*/, this.protocol.getOptions()];
80028
+ case 1:
80029
+ _a.currentMarketPrice = (_b.sent()).network.type === ProtocolNetwork_1.NetworkType.MAINNET ? marketPrice : new bignumber_1.default(0);
80030
+ return [2 /*return*/];
80031
+ }
80032
+ });
80033
+ });
80034
+ };
80035
+ AirGapCoinWallet.prototype._synchronize = function () {
80036
+ return __awaiter(this, void 0, void 0, function () {
80037
+ var _a, balance, marketPrice;
80038
+ return __generator(this, function (_b) {
80039
+ switch (_b.label) {
80040
+ case 0: return [4 /*yield*/, Promise.all([this.balanceOf(), this.fetchCurrentMarketPrice()])];
80041
+ case 1:
80042
+ _a = _b.sent(), balance = _a[0], marketPrice = _a[1];
80043
+ this.setCurrentBalance(balance);
80044
+ return [4 /*yield*/, this.setCurrentMarketPrice(marketPrice)];
80045
+ case 2:
80046
+ _b.sent();
80047
+ return [2 /*return*/];
80048
+ }
80049
+ });
80050
+ });
80051
+ };
80052
+ AirGapCoinWallet.prototype.reset = function () {
80053
+ this.currentBalance = undefined;
80054
+ this.currentMarketPrice = undefined;
80055
+ };
80056
+ AirGapCoinWallet.prototype.fetchCurrentMarketPrice = function (baseSymbol) {
80057
+ if (baseSymbol === void 0) { baseSymbol = 'USD'; }
80058
+ return __awaiter(this, void 0, void 0, function () {
80059
+ var marketPrice;
80060
+ return __generator(this, function (_a) {
80061
+ switch (_a.label) {
80062
+ case 0: return [4 /*yield*/, this.priceService.getCurrentMarketPrice(this.protocol, baseSymbol)];
80063
+ case 1:
80064
+ marketPrice = _a.sent();
80065
+ return [4 /*yield*/, this.setCurrentMarketPrice(marketPrice)];
80066
+ case 2:
80067
+ _a.sent();
80068
+ return [2 /*return*/, marketPrice];
80069
+ }
80070
+ });
80071
+ });
80072
+ };
80073
+ AirGapCoinWallet.prototype.balanceOf = function () {
80074
+ return __awaiter(this, void 0, void 0, function () {
80075
+ var protocolIdentifier, result, _a, _b, _c, _d, _e;
80076
+ return __generator(this, function (_f) {
80077
+ switch (_f.label) {
80078
+ case 0: return [4 /*yield*/, this.protocol.getIdentifier()];
80079
+ case 1:
80080
+ protocolIdentifier = _f.sent();
80081
+ if (!((protocolIdentifier === ProtocolSymbols_1.MainProtocolSymbols.BTC ||
80082
+ protocolIdentifier === ProtocolSymbols_1.MainProtocolSymbols.BTC_SEGWIT ||
80083
+ protocolIdentifier === ProtocolSymbols_1.MainProtocolSymbols.GRS) &&
80084
+ this.isExtendedPublicKey)) return [3 /*break*/, 3];
80085
+ _a = bignumber_1.default.bind;
80086
+ return [4 /*yield*/, this.protocol.getBalanceOfExtendedPublicKey(this.publicKey, 0)];
80087
+ case 2:
80088
+ // TODO: Remove and test
80089
+ /*
80090
+ We should remove this if BTC also uses blockbook. (And change the order of the if/else below)
80091
+
80092
+ The problem is that we have addresses cached for all protocols. But blockbook (grs) doesn't allow
80093
+ multiple addresses to be checked at once, so we need to xPub key there (or we would do 100s of requests).
80094
+
80095
+ We can also not simply change the order of the following if/else, because then it would use the xPub method for
80096
+ BTC as well, which results in the addresses being derived again, which causes massive lags in the apps.
80097
+ */
80098
+ result = new (_a.apply(bignumber_1.default, [void 0, _f.sent()]))();
80099
+ return [3 /*break*/, 11];
80100
+ case 3:
80101
+ if (!(protocolIdentifier === ProtocolSymbols_1.MainProtocolSymbols.XTZ_SHIELDED) /* TODO: cover ALL sapling protocols */) return [3 /*break*/, 5]; /* TODO: cover ALL sapling protocols */
80102
+ _b = bignumber_1.default.bind;
80103
+ return [4 /*yield*/, this.protocol.getBalanceOfPublicKey(this.publicKey)];
80104
+ case 4:
80105
+ result = new (_b.apply(bignumber_1.default, [void 0, _f.sent()]))();
80106
+ return [3 /*break*/, 11];
80107
+ case 5:
80108
+ if (!(this.addresses.length > 0)) return [3 /*break*/, 7];
80109
+ _c = bignumber_1.default.bind;
80110
+ return [4 /*yield*/, this.protocol.getBalanceOfAddresses(this.addressesToCheck())];
80111
+ case 6:
80112
+ result = new (_c.apply(bignumber_1.default, [void 0, _f.sent()]))();
80113
+ return [3 /*break*/, 11];
80114
+ case 7:
80115
+ if (!this.isExtendedPublicKey) return [3 /*break*/, 9];
80116
+ _d = bignumber_1.default.bind;
80117
+ return [4 /*yield*/, this.protocol.getBalanceOfExtendedPublicKey(this.publicKey, 0)];
80118
+ case 8:
80119
+ result = new (_d.apply(bignumber_1.default, [void 0, _f.sent()]))();
80120
+ return [3 /*break*/, 11];
80121
+ case 9:
80122
+ _e = bignumber_1.default.bind;
80123
+ return [4 /*yield*/, this.protocol.getBalanceOfPublicKey(this.publicKey)];
80124
+ case 10:
80125
+ result = new (_e.apply(bignumber_1.default, [void 0, _f.sent()]))();
80126
+ _f.label = 11;
80127
+ case 11:
80128
+ this.setCurrentBalance(result);
80129
+ return [2 /*return*/, result];
80130
+ }
80131
+ });
80132
+ });
80133
+ };
80134
+ return AirGapCoinWallet;
80135
+ }(AirGapMarketWallet_1.AirGapMarketWallet));
80136
+ exports.AirGapCoinWallet = AirGapCoinWallet;
80137
+
80138
+ },{"../dependencies/src/bignumber.js-9.0.0/bignumber":251,"../utils/ProtocolNetwork":430,"../utils/ProtocolSymbols":431,"./AirGapMarketWallet":437}],437:[function(require,module,exports){
80139
+ "use strict";
80140
+ var __extends = (this && this.__extends) || (function () {
80141
+ var extendStatics = function (d, b) {
80142
+ extendStatics = Object.setPrototypeOf ||
80143
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
80144
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
80145
+ return extendStatics(d, b);
80146
+ };
80147
+ return function (d, b) {
80148
+ extendStatics(d, b);
80149
+ function __() { this.constructor = d; }
80150
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
80151
+ };
80152
+ })();
80153
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
80154
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
80155
+ return new (P || (P = Promise))(function (resolve, reject) {
80156
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
80157
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
80158
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
80159
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
80160
+ });
80161
+ };
80162
+ var __generator = (this && this.__generator) || function (thisArg, body) {
80163
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
80164
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
80165
+ function verb(n) { return function (v) { return step([n, v]); }; }
80166
+ function step(op) {
80167
+ if (f) throw new TypeError("Generator is already executing.");
80168
+ while (_) try {
80169
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
80170
+ if (y = 0, t) op = [op[0] & 2, t.value];
80171
+ switch (op[0]) {
80172
+ case 0: case 1: t = op; break;
80173
+ case 4: _.label++; return { value: op[1], done: false };
80174
+ case 5: _.label++; y = op[1]; op = [0]; continue;
80175
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
80176
+ default:
80177
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
80178
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
80179
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
80180
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
80181
+ if (t[2]) _.ops.pop();
80182
+ _.trys.pop(); continue;
80183
+ }
80184
+ op = body.call(thisArg, _);
80185
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
80186
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
80187
+ }
80188
+ };
80189
+ var __importDefault = (this && this.__importDefault) || function (mod) {
80190
+ return (mod && mod.__esModule) ? mod : { "default": mod };
80191
+ };
80192
+ Object.defineProperty(exports, "__esModule", { value: true });
80193
+ exports.AirGapMarketWallet = void 0;
80194
+ var bignumber_1 = __importDefault(require("../dependencies/src/bignumber.js-9.0.0/bignumber"));
80195
+ var ProtocolSymbols_1 = require("../utils/ProtocolSymbols");
80196
+ var AirGapWallet_1 = require("./AirGapWallet");
80197
+ var AirGapMarketWallet = /** @class */ (function (_super) {
80198
+ __extends(AirGapMarketWallet, _super);
80199
+ function AirGapMarketWallet(protocol, publicKey, isExtendedPublicKey, derivationPath, masterFingerprint, status, priceService, addressIndex) {
80200
+ var _this = _super.call(this, protocol, publicKey, isExtendedPublicKey, derivationPath, masterFingerprint, status, addressIndex) || this;
80201
+ _this.protocol = protocol;
80202
+ _this.publicKey = publicKey;
80203
+ _this.isExtendedPublicKey = isExtendedPublicKey;
80204
+ _this.derivationPath = derivationPath;
80205
+ _this.masterFingerprint = masterFingerprint;
80206
+ _this.status = status;
80207
+ _this.priceService = priceService;
80208
+ _this.addressIndex = addressIndex;
80209
+ return _this;
80210
+ }
80211
+ AirGapMarketWallet.prototype.addressesToCheck = function () {
80212
+ var addressesToReceive = this.addressIndex !== undefined ? [this.addresses[this.addressIndex]] : this.addresses;
80213
+ return addressesToReceive;
80214
+ };
80215
+ AirGapMarketWallet.prototype.setProtocol = function (protocol) {
80216
+ return __awaiter(this, void 0, void 0, function () {
80217
+ return __generator(this, function (_a) {
80218
+ switch (_a.label) {
80219
+ case 0: return [4 /*yield*/, _super.prototype.setProtocol.call(this, protocol)];
80220
+ case 1:
80221
+ _a.sent();
80222
+ this.reset();
80223
+ return [4 /*yield*/, this.synchronize()];
80224
+ case 2:
80225
+ _a.sent();
80226
+ return [2 /*return*/];
80227
+ }
80228
+ });
80229
+ });
80230
+ };
80231
+ AirGapMarketWallet.prototype.synchronize = function () {
80232
+ var args = [];
80233
+ for (var _i = 0; _i < arguments.length; _i++) {
80234
+ args[_i] = arguments[_i];
80235
+ }
80236
+ return __awaiter(this, void 0, void 0, function () {
80237
+ var _this = this;
80238
+ return __generator(this, function (_a) {
80239
+ if (this.synchronizePromise === undefined) {
80240
+ this.synchronizePromise = this._synchronize.apply(this, args).finally(function () {
80241
+ _this.synchronizePromise = undefined;
80242
+ });
80243
+ }
80244
+ return [2 /*return*/, this.synchronizePromise];
80245
+ });
80246
+ });
80247
+ };
80248
+ AirGapMarketWallet.prototype.fetchTransactions = function (limit, cursor) {
80249
+ return __awaiter(this, void 0, void 0, function () {
80250
+ var protocolIdentifier, transactionResult;
80251
+ return __generator(this, function (_a) {
80252
+ switch (_a.label) {
80253
+ case 0: return [4 /*yield*/, this.protocol.getIdentifier()
80254
+ // let transactions: IAirGapTransaction[] = []
80255
+ ];
80256
+ case 1:
80257
+ protocolIdentifier = _a.sent();
80258
+ if (!((protocolIdentifier === ProtocolSymbols_1.MainProtocolSymbols.BTC ||
80259
+ protocolIdentifier === ProtocolSymbols_1.MainProtocolSymbols.BTC_SEGWIT ||
80260
+ protocolIdentifier === ProtocolSymbols_1.MainProtocolSymbols.GRS) &&
80261
+ this.isExtendedPublicKey)) return [3 /*break*/, 3];
80262
+ return [4 /*yield*/, this.protocol.getTransactionsFromExtendedPublicKey(this.publicKey, limit, cursor)];
80263
+ case 2:
80264
+ // TODO: Remove and test
80265
+ /*
80266
+ We should remove this if BTC also uses blockbook. (And change the order of the if/else below)
80267
+
80268
+ The problem is that we have addresses cached for all protocols. But blockbook (grs) doesn't allow
80269
+ multiple addresses to be checked at once, so we need to xPub key there (or we would do 100s of requests).
80270
+
80271
+ We can also not simply change the order of the following if/else, because then it would use the xPub method for
80272
+ BTC as well, which results in the addresses being derived again, which causes massive lags in the apps.
80273
+ */
80274
+ transactionResult = _a.sent();
80275
+ return [3 /*break*/, 11];
80276
+ case 3:
80277
+ if (!(protocolIdentifier === ProtocolSymbols_1.MainProtocolSymbols.XTZ_SHIELDED) /* TODO: cover ALL sapling protocols */) return [3 /*break*/, 5]; /* TODO: cover ALL sapling protocols */
80278
+ return [4 /*yield*/, this.protocol.getTransactionsFromPublicKey(this.publicKey, limit, cursor)];
80279
+ case 4:
80280
+ transactionResult = _a.sent();
80281
+ return [3 /*break*/, 11];
80282
+ case 5:
80283
+ if (!(this.addresses.length > 0)) return [3 /*break*/, 7];
80284
+ return [4 /*yield*/, this.protocol.getTransactionsFromAddresses(this.addressesToCheck(), limit, cursor)];
80285
+ case 6:
80286
+ transactionResult = _a.sent();
80287
+ return [3 /*break*/, 11];
80288
+ case 7:
80289
+ if (!this.isExtendedPublicKey) return [3 /*break*/, 9];
80290
+ return [4 /*yield*/, this.protocol.getTransactionsFromExtendedPublicKey(this.publicKey, limit, cursor)];
80291
+ case 8:
80292
+ transactionResult = _a.sent();
80293
+ return [3 /*break*/, 11];
80294
+ case 9: return [4 /*yield*/, this.protocol.getTransactionsFromPublicKey(this.publicKey, limit, cursor)];
80295
+ case 10:
80296
+ transactionResult = _a.sent();
80297
+ _a.label = 11;
80298
+ case 11: return [2 /*return*/, transactionResult];
80299
+ }
80300
+ });
80301
+ });
80302
+ };
80303
+ AirGapMarketWallet.prototype.prepareTransaction = function (recipients, values, fee, data) {
80304
+ if (this.isExtendedPublicKey) {
80305
+ return this.protocol.prepareTransactionFromExtendedPublicKey(this.publicKey, 0, recipients, values, fee, data);
80306
+ }
80307
+ else {
80308
+ if (this.addressIndex) {
80309
+ data = Object.assign(data, { addressIndex: this.addressIndex });
80310
+ }
80311
+ return this.protocol.prepareTransactionFromPublicKey(this.publicKey, recipients, values, fee, data);
80312
+ }
80313
+ };
80314
+ AirGapMarketWallet.prototype.getMaxTransferValue = function (recipients, fee, data) {
80315
+ return __awaiter(this, void 0, void 0, function () {
80316
+ var _a, _b;
80317
+ return __generator(this, function (_c) {
80318
+ switch (_c.label) {
80319
+ case 0:
80320
+ if (!this.isExtendedPublicKey) return [3 /*break*/, 2];
80321
+ _a = bignumber_1.default.bind;
80322
+ return [4 /*yield*/, this.protocol.estimateMaxTransactionValueFromExtendedPublicKey(this.publicKey, recipients, fee, data)];
80323
+ case 1: return [2 /*return*/, new (_a.apply(bignumber_1.default, [void 0, _c.sent()]))()];
80324
+ case 2:
80325
+ if (this.addressIndex) {
80326
+ data = Object.assign(data, { addressIndex: this.addressIndex });
80327
+ }
80328
+ _b = bignumber_1.default.bind;
80329
+ return [4 /*yield*/, this.protocol.estimateMaxTransactionValueFromPublicKey(this.publicKey, recipients, fee, data)];
80330
+ case 3: return [2 /*return*/, new (_b.apply(bignumber_1.default, [void 0, _c.sent()]))()];
80331
+ }
80332
+ });
80333
+ });
80334
+ };
80335
+ AirGapMarketWallet.prototype.estimateFees = function (recipients, values, data) {
80336
+ return __awaiter(this, void 0, void 0, function () {
80337
+ return __generator(this, function (_a) {
80338
+ if (this.isExtendedPublicKey) {
80339
+ return [2 /*return*/, this.protocol.estimateFeeDefaultsFromExtendedPublicKey(this.publicKey, recipients, values, data)];
80340
+ }
80341
+ else {
80342
+ if (this.addressIndex) {
80343
+ data = Object.assign(data, { addressIndex: this.addressIndex });
80344
+ }
80345
+ return [2 /*return*/, this.protocol.estimateFeeDefaultsFromPublicKey(this.publicKey, recipients, values, data)];
80346
+ }
80347
+ return [2 /*return*/];
80348
+ });
80349
+ });
80350
+ };
80351
+ return AirGapMarketWallet;
80352
+ }(AirGapWallet_1.AirGapWallet));
80353
+ exports.AirGapMarketWallet = AirGapMarketWallet;
80354
+
80355
+ },{"../dependencies/src/bignumber.js-9.0.0/bignumber":251,"../utils/ProtocolSymbols":431,"./AirGapWallet":439}],438:[function(require,module,exports){
80356
+ "use strict";
80357
+ var __extends = (this && this.__extends) || (function () {
80358
+ var extendStatics = function (d, b) {
80359
+ extendStatics = Object.setPrototypeOf ||
80360
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
80361
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
80362
+ return extendStatics(d, b);
80363
+ };
80364
+ return function (d, b) {
80365
+ extendStatics(d, b);
80366
+ function __() { this.constructor = d; }
80367
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
80368
+ };
80369
+ })();
80370
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
80371
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
80372
+ return new (P || (P = Promise))(function (resolve, reject) {
80373
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
80374
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
80375
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
80376
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
80377
+ });
80378
+ };
80379
+ var __generator = (this && this.__generator) || function (thisArg, body) {
80380
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
80381
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
80382
+ function verb(n) { return function (v) { return step([n, v]); }; }
80383
+ function step(op) {
80384
+ if (f) throw new TypeError("Generator is already executing.");
80385
+ while (_) try {
80386
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
80387
+ if (y = 0, t) op = [op[0] & 2, t.value];
80388
+ switch (op[0]) {
80389
+ case 0: case 1: t = op; break;
80390
+ case 4: _.label++; return { value: op[1], done: false };
80391
+ case 5: _.label++; y = op[1]; op = [0]; continue;
80392
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
80393
+ default:
80394
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
80395
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
80396
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
80397
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
80398
+ if (t[2]) _.ops.pop();
80399
+ _.trys.pop(); continue;
80400
+ }
80401
+ op = body.call(thisArg, _);
80402
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
80403
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
80404
+ }
80405
+ };
80406
+ var __importDefault = (this && this.__importDefault) || function (mod) {
80407
+ return (mod && mod.__esModule) ? mod : { "default": mod };
80408
+ };
80409
+ Object.defineProperty(exports, "__esModule", { value: true });
80410
+ exports.AirGapNFTWallet = void 0;
80411
+ var bignumber_1 = __importDefault(require("../dependencies/src/bignumber.js-9.0.0/bignumber"));
80412
+ var ProtocolNetwork_1 = require("../utils/ProtocolNetwork");
80413
+ var AirGapMarketWallet_1 = require("./AirGapMarketWallet");
80414
+ var AirGapNFTWallet = /** @class */ (function (_super) {
80415
+ __extends(AirGapNFTWallet, _super);
80416
+ function AirGapNFTWallet() {
80417
+ var _this = _super !== null && _super.apply(this, arguments) || this;
80418
+ _this.currentBalance = {};
80419
+ _this.currentMarketPrice = {};
80420
+ return _this;
80421
+ }
80422
+ AirGapNFTWallet.prototype.getCurrentBalance = function (assetID) {
80423
+ return this.currentBalance[assetID];
80424
+ };
80425
+ AirGapNFTWallet.prototype.setCurrentBalance = function (balance, assetID) {
80426
+ this.currentBalance[assetID] = balance;
80427
+ };
80428
+ AirGapNFTWallet.prototype.getCurrentMarketPrice = function (assetID) {
80429
+ return this.currentMarketPrice[assetID];
80430
+ };
80431
+ AirGapNFTWallet.prototype.setCurrentMarketPrice = function (marketPrice, assetID) {
80432
+ return __awaiter(this, void 0, void 0, function () {
80433
+ var _a, _b;
80434
+ return __generator(this, function (_c) {
80435
+ switch (_c.label) {
80436
+ case 0:
80437
+ _a = this.getCurrentMarketPrice;
80438
+ _b = assetID;
80439
+ return [4 /*yield*/, this.protocol.getOptions()];
80440
+ case 1:
80441
+ _a[_b] =
80442
+ (_c.sent()).network.type === ProtocolNetwork_1.NetworkType.MAINNET ? marketPrice : new bignumber_1.default(0);
80443
+ return [2 /*return*/];
80444
+ }
80445
+ });
80446
+ });
80447
+ };
80448
+ AirGapNFTWallet.prototype.synchronize = function (assetsID) {
80449
+ if (assetsID === void 0) { assetsID = []; }
80450
+ return __awaiter(this, void 0, void 0, function () {
80451
+ return __generator(this, function (_a) {
80452
+ return [2 /*return*/, _super.prototype.synchronize.call(this, assetsID)];
80453
+ });
80454
+ });
80455
+ };
80456
+ AirGapNFTWallet.prototype._synchronize = function (assetIDs) {
80457
+ if (assetIDs === void 0) { assetIDs = []; }
80458
+ return __awaiter(this, void 0, void 0, function () {
80459
+ var _this = this;
80460
+ return __generator(this, function (_a) {
80461
+ switch (_a.label) {
80462
+ case 0: return [4 /*yield*/, Promise.all(assetIDs.map(function (assetID) { return __awaiter(_this, void 0, void 0, function () {
80463
+ var _a, balance, marketPrice;
80464
+ return __generator(this, function (_b) {
80465
+ switch (_b.label) {
80466
+ case 0: return [4 /*yield*/, Promise.all([this.balanceOf(assetID), this.fetchCurrentMarketPrice(assetID)])];
80467
+ case 1:
80468
+ _a = _b.sent(), balance = _a[0], marketPrice = _a[1];
80469
+ this.setCurrentBalance(balance, assetID);
80470
+ return [4 /*yield*/, this.setCurrentMarketPrice(marketPrice, assetID)];
80471
+ case 2:
80472
+ _b.sent();
80473
+ return [2 /*return*/];
80474
+ }
80475
+ });
80476
+ }); }))];
80477
+ case 1:
80478
+ _a.sent();
80479
+ return [2 /*return*/];
80480
+ }
80481
+ });
80482
+ });
80483
+ };
80484
+ AirGapNFTWallet.prototype.reset = function () {
80485
+ this.currentBalance = {};
80486
+ this.currentMarketPrice = {};
80487
+ };
80488
+ AirGapNFTWallet.prototype.fetchCurrentMarketPrice = function (assetID, _baseSymbol) {
80489
+ if (_baseSymbol === void 0) { _baseSymbol = 'USD'; }
80490
+ return __awaiter(this, void 0, void 0, function () {
80491
+ var result;
80492
+ return __generator(this, function (_a) {
80493
+ switch (_a.label) {
80494
+ case 0:
80495
+ result = new bignumber_1.default(0);
80496
+ return [4 /*yield*/, this.setCurrentMarketPrice(result, assetID)];
80497
+ case 1:
80498
+ _a.sent();
80499
+ return [2 /*return*/, result];
80500
+ }
80501
+ });
80502
+ });
80503
+ };
80504
+ AirGapNFTWallet.prototype.balanceOf = function (assetID) {
80505
+ return __awaiter(this, void 0, void 0, function () {
80506
+ var result, _a, _b;
80507
+ return __generator(this, function (_c) {
80508
+ switch (_c.label) {
80509
+ case 0:
80510
+ if (!this.isExtendedPublicKey) return [3 /*break*/, 2];
80511
+ _a = bignumber_1.default.bind;
80512
+ return [4 /*yield*/, this.protocol.getBalanceOfExtendedPublicKey(this.publicKey, 0, { assetID: assetID })];
80513
+ case 1:
80514
+ result = new (_a.apply(bignumber_1.default, [void 0, _c.sent()]))();
80515
+ return [3 /*break*/, 4];
80516
+ case 2:
80517
+ _b = bignumber_1.default.bind;
80518
+ return [4 /*yield*/, this.protocol.getBalanceOfPublicKey(this.publicKey, { addressIndex: this.addressIndex, assetID: assetID })];
80519
+ case 3:
80520
+ result = new (_b.apply(bignumber_1.default, [void 0, _c.sent()]))();
80521
+ _c.label = 4;
80522
+ case 4:
80523
+ this.setCurrentBalance(result, assetID);
80524
+ return [2 /*return*/, result];
80525
+ }
80526
+ });
80527
+ });
80528
+ };
80529
+ return AirGapNFTWallet;
80530
+ }(AirGapMarketWallet_1.AirGapMarketWallet));
80531
+ exports.AirGapNFTWallet = AirGapNFTWallet;
80532
+
80533
+ },{"../dependencies/src/bignumber.js-9.0.0/bignumber":251,"../utils/ProtocolNetwork":430,"./AirGapMarketWallet":437}],439:[function(require,module,exports){
80534
+ "use strict";
80535
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
80536
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
80537
+ return new (P || (P = Promise))(function (resolve, reject) {
80538
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
80539
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
80540
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
80541
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
80542
+ });
80543
+ };
80544
+ var __generator = (this && this.__generator) || function (thisArg, body) {
80545
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
80546
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
80547
+ function verb(n) { return function (v) { return step([n, v]); }; }
80548
+ function step(op) {
80549
+ if (f) throw new TypeError("Generator is already executing.");
80550
+ while (_) try {
80551
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
80552
+ if (y = 0, t) op = [op[0] & 2, t.value];
80553
+ switch (op[0]) {
80554
+ case 0: case 1: t = op; break;
80555
+ case 4: _.label++; return { value: op[1], done: false };
80556
+ case 5: _.label++; y = op[1]; op = [0]; continue;
80557
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
80558
+ default:
80559
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
80560
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
80561
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
80562
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
80563
+ if (t[2]) _.ops.pop();
80564
+ _.trys.pop(); continue;
80565
+ }
80566
+ op = body.call(thisArg, _);
80567
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
80568
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
80569
+ }
80570
+ };
80571
+ Object.defineProperty(exports, "__esModule", { value: true });
80572
+ exports.AirGapWallet = exports.AirGapWalletStatus = void 0;
80573
+ var errors_1 = require("../errors");
80574
+ var coinlib_error_1 = require("../errors/coinlib-error");
80575
+ var AirGapWalletStatus;
80576
+ (function (AirGapWalletStatus) {
80577
+ AirGapWalletStatus["ACTIVE"] = "active";
80578
+ AirGapWalletStatus["HIDDEN"] = "hidden";
80579
+ AirGapWalletStatus["DELETED"] = "deleted";
80580
+ AirGapWalletStatus["TRANSIENT"] = "transient";
80581
+ })(AirGapWalletStatus = exports.AirGapWalletStatus || (exports.AirGapWalletStatus = {}));
80582
+ var AirGapWallet = /** @class */ (function () {
80583
+ function AirGapWallet(protocol, publicKey, isExtendedPublicKey, derivationPath, masterFingerprint, status, addressIndex) {
80584
+ this.protocol = protocol;
80585
+ this.publicKey = publicKey;
80586
+ this.isExtendedPublicKey = isExtendedPublicKey;
80587
+ this.derivationPath = derivationPath;
80588
+ this.masterFingerprint = masterFingerprint;
80589
+ this.status = status;
80590
+ this.addressIndex = addressIndex;
80591
+ this.addresses = []; // used for cache
80592
+ }
80593
+ Object.defineProperty(AirGapWallet.prototype, "receivingPublicAddress", {
80594
+ get: function () {
80595
+ return this.addresses[this.addressIndex !== undefined ? this.addressIndex : 0];
80596
+ },
80597
+ enumerable: false,
80598
+ configurable: true
80599
+ });
80600
+ AirGapWallet.prototype.setProtocol = function (protocol) {
80601
+ return __awaiter(this, void 0, void 0, function () {
80602
+ var _a;
80603
+ return __generator(this, function (_b) {
80604
+ switch (_b.label) {
80605
+ case 0: return [4 /*yield*/, this.protocol.getIdentifier()];
80606
+ case 1:
80607
+ _a = (_b.sent());
80608
+ return [4 /*yield*/, protocol.getIdentifier()];
80609
+ case 2:
80610
+ if (_a !== (_b.sent())) {
80611
+ throw new errors_1.ConditionViolationError(coinlib_error_1.Domain.WALLET, 'Can only set same protocol with a different network');
80612
+ }
80613
+ this.protocol = protocol;
80614
+ return [2 /*return*/];
80615
+ }
80616
+ });
80617
+ });
80618
+ };
80619
+ AirGapWallet.prototype.deriveAddresses = function (amount) {
80620
+ if (amount === void 0) { amount = 50; }
80621
+ return __awaiter(this, void 0, void 0, function () {
80622
+ var addresses, parts, offset;
80623
+ return __generator(this, function (_a) {
80624
+ switch (_a.label) {
80625
+ case 0:
80626
+ if (!this.isExtendedPublicKey) return [3 /*break*/, 2];
80627
+ parts = this.derivationPath.split('/');
80628
+ offset = 0;
80629
+ if (!parts[parts.length - 1].endsWith("'")) {
80630
+ offset = Number.parseInt(parts[parts.length - 1], 10);
80631
+ }
80632
+ return [4 /*yield*/, Promise.all([
80633
+ this.protocol.getAddressesFromExtendedPublicKey(this.publicKey, 0, amount, offset),
80634
+ this.protocol.getAddressesFromExtendedPublicKey(this.publicKey, 1, amount, offset)
80635
+ ])];
80636
+ case 1:
80637
+ addresses = (_a.sent()).reduce(function (flatten, next) { return flatten.concat(next); }, []);
80638
+ return [3 /*break*/, 4];
80639
+ case 2: return [4 /*yield*/, this.protocol.getAddressesFromPublicKey(this.publicKey)];
80640
+ case 3:
80641
+ addresses = _a.sent();
80642
+ _a.label = 4;
80643
+ case 4: return [2 /*return*/, addresses.map(function (address) { return address.address; })];
80644
+ }
80645
+ });
80646
+ });
80647
+ };
80648
+ AirGapWallet.prototype.toJSON = function () {
80649
+ return __awaiter(this, void 0, void 0, function () {
80650
+ var _a;
80651
+ return __generator(this, function (_b) {
80652
+ switch (_b.label) {
80653
+ case 0:
80654
+ _a = {};
80655
+ return [4 /*yield*/, this.protocol.getIdentifier()];
80656
+ case 1:
80657
+ _a.protocolIdentifier = _b.sent();
80658
+ return [4 /*yield*/, this.protocol.getOptions()];
80659
+ case 2: return [2 /*return*/, (_a.networkIdentifier = (_b.sent()).network.identifier,
80660
+ _a.publicKey = this.publicKey,
80661
+ _a.isExtendedPublicKey = this.isExtendedPublicKey,
80662
+ _a.derivationPath = this.derivationPath,
80663
+ _a.addresses = this.addresses,
80664
+ _a.masterFingerprint = this.masterFingerprint,
80665
+ _a.status = this.status,
80666
+ _a.addressIndex = this.addressIndex,
80667
+ _a)];
80668
+ }
80669
+ });
80670
+ });
80671
+ };
80672
+ return AirGapWallet;
80673
+ }());
80674
+ exports.AirGapWallet = AirGapWallet;
80675
+
80676
+ },{"../errors":421,"../errors/coinlib-error":420}],440:[function(require,module,exports){
79405
80677
  "use strict";
79406
80678
  Object.defineProperty(exports, "__esModule", { value: true });
79407
- exports.EthereumAddress = exports.EthereumERC20ProtocolOptions = exports.EthereumERC20ProtocolConfig = exports.EthereumProtocolOptions = exports.EthereumProtocolConfig = exports.EthereumProtocolNetwork = exports.EtherscanBlockExplorer = exports.EthereumProtocolNetworkExtras = exports.EthereumCryptoClient = exports.GenericERC20 = exports.EthereumClassicProtocol = exports.EthereumRopstenProtocol = exports.EthereumProtocol = void 0;
80679
+ exports.createProtocolByIdentifier = exports.EthereumAddress = exports.EthereumERC20ProtocolOptions = exports.EthereumERC20ProtocolConfig = exports.EthereumProtocolOptions = exports.EthereumProtocolConfig = exports.EthereumProtocolNetwork = exports.EtherscanBlockExplorer = exports.EthereumProtocolNetworkExtras = exports.EthereumCryptoClient = exports.GenericERC20 = exports.EthereumClassicProtocol = exports.EthereumRopstenProtocol = exports.EthereumProtocol = void 0;
79408
80680
  var GenericERC20_1 = require("./protocol/erc20/GenericERC20");
79409
80681
  Object.defineProperty(exports, "GenericERC20", { enumerable: true, get: function () { return GenericERC20_1.GenericERC20; } });
79410
80682
  var EthereumAddress_1 = require("./protocol/EthereumAddress");
@@ -79425,8 +80697,10 @@ Object.defineProperty(exports, "EthereumProtocolOptions", { enumerable: true, ge
79425
80697
  Object.defineProperty(exports, "EtherscanBlockExplorer", { enumerable: true, get: function () { return EthereumProtocolOptions_1.EtherscanBlockExplorer; } });
79426
80698
  var EthereumRopstenProtocol_1 = require("./protocol/EthereumRopstenProtocol");
79427
80699
  Object.defineProperty(exports, "EthereumRopstenProtocol", { enumerable: true, get: function () { return EthereumRopstenProtocol_1.EthereumRopstenProtocol; } });
80700
+ var create_protocol_1 = require("./utils/create-protocol");
80701
+ Object.defineProperty(exports, "createProtocolByIdentifier", { enumerable: true, get: function () { return create_protocol_1.createProtocolByIdentifier; } });
79428
80702
 
79429
- },{"./protocol/EthereumAddress":428,"./protocol/EthereumClassicProtocol":430,"./protocol/EthereumCryptoClient":431,"./protocol/EthereumProtocol":432,"./protocol/EthereumProtocolOptions":433,"./protocol/EthereumRopstenProtocol":434,"./protocol/erc20/GenericERC20":439}],427:[function(require,module,exports){
80703
+ },{"./protocol/EthereumAddress":442,"./protocol/EthereumClassicProtocol":444,"./protocol/EthereumCryptoClient":445,"./protocol/EthereumProtocol":446,"./protocol/EthereumProtocolOptions":447,"./protocol/EthereumRopstenProtocol":448,"./protocol/erc20/GenericERC20":454,"./utils/create-protocol":456}],441:[function(require,module,exports){
79430
80704
  (function (Buffer){(function (){
79431
80705
  "use strict";
79432
80706
  var __assign = (this && this.__assign) || function () {
@@ -80362,7 +81636,7 @@ var BaseEthereumProtocol = /** @class */ (function () {
80362
81636
  exports.BaseEthereumProtocol = BaseEthereumProtocol;
80363
81637
 
80364
81638
  }).call(this)}).call(this,require("buffer").Buffer)
80365
- },{"./EthereumAddress":428,"./EthereumChainIDs":429,"./EthereumCryptoClient":431,"./EthereumProtocolOptions":433,"./utils/utils":440,"@airgap/coinlib-core/dependencies/src/bignumber.js-9.0.0/bignumber":246,"@airgap/coinlib-core/dependencies/src/bip39-2.5.0":247,"@airgap/coinlib-core/dependencies/src/bitgo-utxo-lib-5d91049fd7a988382df81c8260e244ee56d57aac/src":270,"@airgap/coinlib-core/errors":416,"@airgap/coinlib-core/errors/coinlib-error":415,"@airgap/coinlib-core/interfaces/IAirGapTransaction":417,"@airgap/coinlib-core/protocols/ICoinSubProtocol":419,"@airgap/coinlib-core/utils/ProtocolSymbols":423,"@ethereumjs/common":482,"@ethereumjs/tx":486,"buffer":67}],428:[function(require,module,exports){
81639
+ },{"./EthereumAddress":442,"./EthereumChainIDs":443,"./EthereumCryptoClient":445,"./EthereumProtocolOptions":447,"./utils/utils":455,"@airgap/coinlib-core/dependencies/src/bignumber.js-9.0.0/bignumber":251,"@airgap/coinlib-core/dependencies/src/bip39-2.5.0":252,"@airgap/coinlib-core/dependencies/src/bitgo-utxo-lib-5d91049fd7a988382df81c8260e244ee56d57aac/src":275,"@airgap/coinlib-core/errors":421,"@airgap/coinlib-core/errors/coinlib-error":420,"@airgap/coinlib-core/interfaces/IAirGapTransaction":423,"@airgap/coinlib-core/protocols/ICoinSubProtocol":425,"@airgap/coinlib-core/utils/ProtocolSymbols":431,"@ethereumjs/common":498,"@ethereumjs/tx":502,"buffer":67}],442:[function(require,module,exports){
80366
81640
  (function (Buffer){(function (){
80367
81641
  "use strict";
80368
81642
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
@@ -80403,7 +81677,7 @@ var EthereumAddress = /** @class */ (function () {
80403
81677
  exports.EthereumAddress = EthereumAddress;
80404
81678
 
80405
81679
  }).call(this)}).call(this,require("buffer").Buffer)
80406
- },{"@airgap/coinlib-core/dependencies/src/ethereumjs-util-5.2.0":341,"buffer":67}],429:[function(require,module,exports){
81680
+ },{"@airgap/coinlib-core/dependencies/src/ethereumjs-util-5.2.0":346,"buffer":67}],443:[function(require,module,exports){
80407
81681
  "use strict";
80408
81682
  Object.defineProperty(exports, "__esModule", { value: true });
80409
81683
  exports.EthereumChainIDs = void 0;
@@ -80744,7 +82018,7 @@ exports.EthereumChainIDs = new Map([
80744
82018
  [6022140761023, 'Molereum Network']
80745
82019
  ]);
80746
82020
 
80747
- },{}],430:[function(require,module,exports){
82021
+ },{}],444:[function(require,module,exports){
80748
82022
  "use strict";
80749
82023
  var __extends = (this && this.__extends) || (function () {
80750
82024
  var extendStatics = function (d, b) {
@@ -80773,7 +82047,7 @@ var EthereumClassicProtocol = /** @class */ (function (_super) {
80773
82047
  }(BaseEthereumProtocol_1.BaseEthereumProtocol));
80774
82048
  exports.EthereumClassicProtocol = EthereumClassicProtocol;
80775
82049
 
80776
- },{"./BaseEthereumProtocol":427,"./EthereumProtocolOptions":433}],431:[function(require,module,exports){
82050
+ },{"./BaseEthereumProtocol":441,"./EthereumProtocolOptions":447}],445:[function(require,module,exports){
80777
82051
  (function (Buffer){(function (){
80778
82052
  "use strict";
80779
82053
  var __extends = (this && this.__extends) || (function () {
@@ -80917,7 +82191,7 @@ var EthereumCryptoClient = /** @class */ (function (_super) {
80917
82191
  exports.EthereumCryptoClient = EthereumCryptoClient;
80918
82192
 
80919
82193
  }).call(this)}).call(this,require("buffer").Buffer)
80920
- },{"@airgap/coinlib-core/dependencies/src/ethereumjs-util-5.2.0":341,"@airgap/coinlib-core/errors":416,"@airgap/coinlib-core/errors/coinlib-error":415,"@airgap/coinlib-core/protocols/Secp256k1CryptoClient":420,"@metamask/eth-sig-util":492,"buffer":67}],432:[function(require,module,exports){
82194
+ },{"@airgap/coinlib-core/dependencies/src/ethereumjs-util-5.2.0":346,"@airgap/coinlib-core/errors":421,"@airgap/coinlib-core/errors/coinlib-error":420,"@airgap/coinlib-core/protocols/Secp256k1CryptoClient":426,"@metamask/eth-sig-util":508,"buffer":67}],446:[function(require,module,exports){
80921
82195
  "use strict";
80922
82196
  var __extends = (this && this.__extends) || (function () {
80923
82197
  var extendStatics = function (d, b) {
@@ -80950,7 +82224,7 @@ var EthereumProtocol = /** @class */ (function (_super) {
80950
82224
  }(BaseEthereumProtocol_1.BaseEthereumProtocol));
80951
82225
  exports.EthereumProtocol = EthereumProtocol;
80952
82226
 
80953
- },{"./BaseEthereumProtocol":427,"./EthereumProtocolOptions":433}],433:[function(require,module,exports){
82227
+ },{"./BaseEthereumProtocol":441,"./EthereumProtocolOptions":447}],447:[function(require,module,exports){
80954
82228
  "use strict";
80955
82229
  var __extends = (this && this.__extends) || (function () {
80956
82230
  var extendStatics = function (d, b) {
@@ -81099,7 +82373,7 @@ var EthereumERC20ProtocolOptions = /** @class */ (function (_super) {
81099
82373
  }(EthereumProtocolOptions));
81100
82374
  exports.EthereumERC20ProtocolOptions = EthereumERC20ProtocolOptions;
81101
82375
 
81102
- },{"./clients/info-clients/EtherscanInfoClient":435,"./clients/node-clients/AirGapNodeClient":437,"@airgap/coinlib-core/utils/ProtocolNetwork":422}],434:[function(require,module,exports){
82376
+ },{"./clients/info-clients/EtherscanInfoClient":449,"./clients/node-clients/AirGapNodeClient":451,"@airgap/coinlib-core/utils/ProtocolNetwork":430}],448:[function(require,module,exports){
81103
82377
  "use strict";
81104
82378
  var __extends = (this && this.__extends) || (function () {
81105
82379
  var extendStatics = function (d, b) {
@@ -81128,7 +82402,7 @@ var EthereumRopstenProtocol = /** @class */ (function (_super) {
81128
82402
  }(BaseEthereumProtocol_1.BaseEthereumProtocol));
81129
82403
  exports.EthereumRopstenProtocol = EthereumRopstenProtocol;
81130
82404
 
81131
- },{"./BaseEthereumProtocol":427,"./EthereumProtocolOptions":433}],435:[function(require,module,exports){
82405
+ },{"./BaseEthereumProtocol":441,"./EthereumProtocolOptions":447}],449:[function(require,module,exports){
81132
82406
  "use strict";
81133
82407
  var __extends = (this && this.__extends) || (function () {
81134
82408
  var extendStatics = function (d, b) {
@@ -81322,7 +82596,7 @@ var EtherscanInfoClient = /** @class */ (function (_super) {
81322
82596
  }(InfoClient_1.EthereumInfoClient));
81323
82597
  exports.EtherscanInfoClient = EtherscanInfoClient;
81324
82598
 
81325
- },{"../../EthereumProtocolOptions":433,"./InfoClient":436,"@airgap/coinlib-core/dependencies/src/axios-0.19.0":215,"@airgap/coinlib-core/dependencies/src/bignumber.js-9.0.0/bignumber":246,"@airgap/coinlib-core/dependencies/src/validate.js-0.13.1/validate":412,"@airgap/coinlib-core/errors":416,"@airgap/coinlib-core/errors/coinlib-error":415,"@airgap/coinlib-core/interfaces/IAirGapTransaction":417}],436:[function(require,module,exports){
82599
+ },{"../../EthereumProtocolOptions":447,"./InfoClient":450,"@airgap/coinlib-core/dependencies/src/axios-0.19.0":220,"@airgap/coinlib-core/dependencies/src/bignumber.js-9.0.0/bignumber":251,"@airgap/coinlib-core/dependencies/src/validate.js-0.13.1/validate":417,"@airgap/coinlib-core/errors":421,"@airgap/coinlib-core/errors/coinlib-error":420,"@airgap/coinlib-core/interfaces/IAirGapTransaction":423}],450:[function(require,module,exports){
81326
82600
  "use strict";
81327
82601
  Object.defineProperty(exports, "__esModule", { value: true });
81328
82602
  exports.EthereumInfoClient = void 0;
@@ -81334,7 +82608,7 @@ var EthereumInfoClient = /** @class */ (function () {
81334
82608
  }());
81335
82609
  exports.EthereumInfoClient = EthereumInfoClient;
81336
82610
 
81337
- },{}],437:[function(require,module,exports){
82611
+ },{}],451:[function(require,module,exports){
81338
82612
  "use strict";
81339
82613
  var __extends = (this && this.__extends) || (function () {
81340
82614
  var extendStatics = function (d, b) {
@@ -81686,7 +82960,7 @@ var AirGapNodeClient = /** @class */ (function (_super) {
81686
82960
  }(NodeClient_1.EthereumNodeClient));
81687
82961
  exports.AirGapNodeClient = AirGapNodeClient;
81688
82962
 
81689
- },{"../../EthereumProtocolOptions":433,"../../utils/utils":440,"./NodeClient":438,"@airgap/coinlib-core/data/RPCBody":214,"@airgap/coinlib-core/dependencies/src/axios-0.19.0":215,"@airgap/coinlib-core/dependencies/src/bignumber.js-9.0.0/bignumber":246,"@airgap/coinlib-core/errors":416,"@airgap/coinlib-core/errors/coinlib-error":415,"@airgap/coinlib-core/interfaces/IAirGapTransaction":417}],438:[function(require,module,exports){
82963
+ },{"../../EthereumProtocolOptions":447,"../../utils/utils":455,"./NodeClient":452,"@airgap/coinlib-core/data/RPCBody":219,"@airgap/coinlib-core/dependencies/src/axios-0.19.0":220,"@airgap/coinlib-core/dependencies/src/bignumber.js-9.0.0/bignumber":251,"@airgap/coinlib-core/errors":421,"@airgap/coinlib-core/errors/coinlib-error":420,"@airgap/coinlib-core/interfaces/IAirGapTransaction":423}],452:[function(require,module,exports){
81690
82964
  "use strict";
81691
82965
  Object.defineProperty(exports, "__esModule", { value: true });
81692
82966
  exports.EthereumNodeClient = void 0;
@@ -81698,7 +82972,17 @@ var EthereumNodeClient = /** @class */ (function () {
81698
82972
  }());
81699
82973
  exports.EthereumNodeClient = EthereumNodeClient;
81700
82974
 
81701
- },{}],439:[function(require,module,exports){
82975
+ },{}],453:[function(require,module,exports){
82976
+ "use strict";
82977
+ Object.defineProperty(exports, "__esModule", { value: true });
82978
+ exports.ERC20Token = void 0;
82979
+ var ProtocolSymbols_1 = require("@airgap/coinlib-core/utils/ProtocolSymbols");
82980
+ var EthereumProtocolOptions_1 = require("../EthereumProtocolOptions");
82981
+ var GenericERC20_1 = require("./GenericERC20");
82982
+ var ERC20Token = new GenericERC20_1.GenericERC20(new EthereumProtocolOptions_1.EthereumERC20ProtocolOptions(new EthereumProtocolOptions_1.EthereumProtocolNetwork(undefined, undefined, undefined, undefined, new EthereumProtocolOptions_1.EthereumProtocolNetworkExtras(3)), new EthereumProtocolOptions_1.EthereumERC20ProtocolConfig('ETH-ERC20', 'Unknown Ethereum ERC20-Token', 'erc20', ProtocolSymbols_1.SubProtocolSymbols.ETH_ERC20, '0x2dd847af80418D280B7078888B6A6133083001C9', 18)));
82983
+ exports.ERC20Token = ERC20Token;
82984
+
82985
+ },{"../EthereumProtocolOptions":447,"./GenericERC20":454,"@airgap/coinlib-core/utils/ProtocolSymbols":431}],454:[function(require,module,exports){
81702
82986
  "use strict";
81703
82987
  var __extends = (this && this.__extends) || (function () {
81704
82988
  var extendStatics = function (d, b) {
@@ -82027,7 +83311,7 @@ var GenericERC20 = /** @class */ (function (_super) {
82027
83311
  }(BaseEthereumProtocol_1.BaseEthereumProtocol));
82028
83312
  exports.GenericERC20 = GenericERC20;
82029
83313
 
82030
- },{"../BaseEthereumProtocol":427,"../clients/node-clients/AirGapNodeClient":437,"../utils/utils":440,"@airgap/coinlib-core/dependencies/src/bignumber.js-9.0.0/bignumber":246,"@airgap/coinlib-core/dependencies/src/ethereumjs-tx-1.3.7/index":340,"@airgap/coinlib-core/dependencies/src/ethereumjs-util-5.2.0":341,"@airgap/coinlib-core/errors":416,"@airgap/coinlib-core/errors/coinlib-error":415,"@airgap/coinlib-core/protocols/ICoinSubProtocol":419}],440:[function(require,module,exports){
83314
+ },{"../BaseEthereumProtocol":441,"../clients/node-clients/AirGapNodeClient":451,"../utils/utils":455,"@airgap/coinlib-core/dependencies/src/bignumber.js-9.0.0/bignumber":251,"@airgap/coinlib-core/dependencies/src/ethereumjs-tx-1.3.7/index":345,"@airgap/coinlib-core/dependencies/src/ethereumjs-util-5.2.0":346,"@airgap/coinlib-core/errors":421,"@airgap/coinlib-core/errors/coinlib-error":420,"@airgap/coinlib-core/protocols/ICoinSubProtocol":425}],455:[function(require,module,exports){
82031
83315
  "use strict";
82032
83316
  Object.defineProperty(exports, "__esModule", { value: true });
82033
83317
  exports.EthereumUtils = void 0;
@@ -82168,7 +83452,39 @@ var EthereumUtils = /** @class */ (function () {
82168
83452
  }());
82169
83453
  exports.EthereumUtils = EthereumUtils;
82170
83454
 
82171
- },{"@airgap/coinlib-core/dependencies/src/bignumber.js-9.0.0/bignumber":246,"@airgap/coinlib-core/dependencies/src/keccak-1.0.2/js":366,"@airgap/coinlib-core/dependencies/src/utf8-3.0.0/utf8":411,"@airgap/coinlib-core/errors":416,"@airgap/coinlib-core/errors/coinlib-error":415}],441:[function(require,module,exports){
83455
+ },{"@airgap/coinlib-core/dependencies/src/bignumber.js-9.0.0/bignumber":251,"@airgap/coinlib-core/dependencies/src/keccak-1.0.2/js":371,"@airgap/coinlib-core/dependencies/src/utf8-3.0.0/utf8":416,"@airgap/coinlib-core/errors":421,"@airgap/coinlib-core/errors/coinlib-error":420}],456:[function(require,module,exports){
83456
+ "use strict";
83457
+ Object.defineProperty(exports, "__esModule", { value: true });
83458
+ exports.createProtocolByIdentifier = void 0;
83459
+ var coinlib_core_1 = require("@airgap/coinlib-core");
83460
+ var ERC20_1 = require("../protocol/erc20/ERC20");
83461
+ var GenericERC20_1 = require("../protocol/erc20/GenericERC20");
83462
+ var EthereumProtocol_1 = require("../protocol/EthereumProtocol");
83463
+ var EthereumProtocolOptions_1 = require("../protocol/EthereumProtocolOptions");
83464
+ // tslint:disable-next-line: cyclomatic-complexity
83465
+ function createProtocolByIdentifier(identifier, options) {
83466
+ switch (identifier) {
83467
+ case coinlib_core_1.MainProtocolSymbols.ETH:
83468
+ return new EthereumProtocol_1.EthereumProtocol(options);
83469
+ case coinlib_core_1.SubProtocolSymbols.ETH_ERC20:
83470
+ return ERC20_1.ERC20Token;
83471
+ case coinlib_core_1.SubProtocolSymbols.ETH_ERC20_XCHF:
83472
+ var xchfOptions = options
83473
+ ? options
83474
+ : new EthereumProtocolOptions_1.EthereumERC20ProtocolOptions(new EthereumProtocolOptions_1.EthereumProtocolNetwork(), new EthereumProtocolOptions_1.EthereumERC20ProtocolConfig('XCHF', 'CryptoFranc', 'xchf', coinlib_core_1.SubProtocolSymbols.ETH_ERC20_XCHF, '0xB4272071eCAdd69d933AdcD19cA99fe80664fc08', 18));
83475
+ return new GenericERC20_1.GenericERC20(xchfOptions);
83476
+ default:
83477
+ if (identifier.startsWith(coinlib_core_1.SubProtocolSymbols.ETH_ERC20)) {
83478
+ return new GenericERC20_1.GenericERC20(options);
83479
+ }
83480
+ else {
83481
+ throw new Error("Unkown protocol identifier " + identifier + ".");
83482
+ }
83483
+ }
83484
+ }
83485
+ exports.createProtocolByIdentifier = createProtocolByIdentifier;
83486
+
83487
+ },{"../protocol/EthereumProtocol":446,"../protocol/EthereumProtocolOptions":447,"../protocol/erc20/ERC20":453,"../protocol/erc20/GenericERC20":454,"@airgap/coinlib-core":422}],457:[function(require,module,exports){
82172
83488
  module.exports={
82173
83489
  "name": "goerli",
82174
83490
  "chainId": 5,
@@ -82318,7 +83634,7 @@ module.exports={
82318
83634
  ]
82319
83635
  }
82320
83636
 
82321
- },{}],442:[function(require,module,exports){
83637
+ },{}],458:[function(require,module,exports){
82322
83638
  "use strict";
82323
83639
  var __values = (this && this.__values) || function(o) {
82324
83640
  var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
@@ -82387,7 +83703,7 @@ exports._getInitializedChains = _getInitializedChains;
82387
83703
  */
82388
83704
  exports.chains = _getInitializedChains();
82389
83705
 
82390
- },{"./goerli.json":441,"./kovan.json":443,"./mainnet.json":444,"./rinkeby.json":445,"./ropsten.json":446}],443:[function(require,module,exports){
83706
+ },{"./goerli.json":457,"./kovan.json":459,"./mainnet.json":460,"./rinkeby.json":461,"./ropsten.json":462}],459:[function(require,module,exports){
82391
83707
  module.exports={
82392
83708
  "name": "kovan",
82393
83709
  "chainId": 42,
@@ -82503,7 +83819,7 @@ module.exports={
82503
83819
  ]
82504
83820
  }
82505
83821
 
82506
- },{}],444:[function(require,module,exports){
83822
+ },{}],460:[function(require,module,exports){
82507
83823
  module.exports={
82508
83824
  "name": "mainnet",
82509
83825
  "chainId": 1,
@@ -82665,7 +83981,7 @@ module.exports={
82665
83981
  ]
82666
83982
  }
82667
83983
 
82668
- },{}],445:[function(require,module,exports){
83984
+ },{}],461:[function(require,module,exports){
82669
83985
  module.exports={
82670
83986
  "name": "rinkeby",
82671
83987
  "chainId": 4,
@@ -82780,7 +84096,7 @@ module.exports={
82780
84096
  ]
82781
84097
  }
82782
84098
 
82783
- },{}],446:[function(require,module,exports){
84099
+ },{}],462:[function(require,module,exports){
82784
84100
  module.exports={
82785
84101
  "name": "ropsten",
82786
84102
  "chainId": 3,
@@ -82904,7 +84220,7 @@ module.exports={
82904
84220
  ]
82905
84221
  }
82906
84222
 
82907
- },{}],447:[function(require,module,exports){
84223
+ },{}],463:[function(require,module,exports){
82908
84224
  module.exports={
82909
84225
  "name": "EIP-1559",
82910
84226
  "number": 1559,
@@ -82932,7 +84248,7 @@ module.exports={
82932
84248
  "pow": {}
82933
84249
  }
82934
84250
 
82935
- },{}],448:[function(require,module,exports){
84251
+ },{}],464:[function(require,module,exports){
82936
84252
  module.exports={
82937
84253
  "name": "EIP-2315",
82938
84254
  "number": 2315,
@@ -82959,7 +84275,7 @@ module.exports={
82959
84275
  "pow": {}
82960
84276
  }
82961
84277
 
82962
- },{}],449:[function(require,module,exports){
84278
+ },{}],465:[function(require,module,exports){
82963
84279
  module.exports={
82964
84280
  "name": "EIP-2537",
82965
84281
  "number": 2537,
@@ -83010,7 +84326,7 @@ module.exports={
83010
84326
  "pow": {}
83011
84327
  }
83012
84328
 
83013
- },{}],450:[function(require,module,exports){
84329
+ },{}],466:[function(require,module,exports){
83014
84330
  module.exports={
83015
84331
  "name": "EIP-2565",
83016
84332
  "number": 2565,
@@ -83029,7 +84345,7 @@ module.exports={
83029
84345
  "pow": {}
83030
84346
  }
83031
84347
 
83032
- },{}],451:[function(require,module,exports){
84348
+ },{}],467:[function(require,module,exports){
83033
84349
  module.exports={
83034
84350
  "name": "EIP-2718",
83035
84351
  "comment": "Typed Transaction Envelope",
@@ -83042,7 +84358,7 @@ module.exports={
83042
84358
  "pow": {}
83043
84359
  }
83044
84360
 
83045
- },{}],452:[function(require,module,exports){
84361
+ },{}],468:[function(require,module,exports){
83046
84362
  module.exports={
83047
84363
  "name": "EIP-2929",
83048
84364
  "comment": "Gas cost increases for state access opcodes",
@@ -83128,7 +84444,7 @@ module.exports={
83128
84444
  "pow": {}
83129
84445
  }
83130
84446
 
83131
- },{}],453:[function(require,module,exports){
84447
+ },{}],469:[function(require,module,exports){
83132
84448
  module.exports={
83133
84449
  "name": "EIP-2930",
83134
84450
  "comment": "Optional access lists",
@@ -83151,7 +84467,7 @@ module.exports={
83151
84467
  "pow": {}
83152
84468
  }
83153
84469
 
83154
- },{}],454:[function(require,module,exports){
84470
+ },{}],470:[function(require,module,exports){
83155
84471
  module.exports={
83156
84472
  "name": "EIP-3198",
83157
84473
  "number": 3198,
@@ -83170,7 +84486,7 @@ module.exports={
83170
84486
  "pow": {}
83171
84487
  }
83172
84488
 
83173
- },{}],455:[function(require,module,exports){
84489
+ },{}],471:[function(require,module,exports){
83174
84490
  module.exports={
83175
84491
  "name": "EIP-3529",
83176
84492
  "comment": "Reduction in refunds",
@@ -83198,7 +84514,7 @@ module.exports={
83198
84514
  "pow": {}
83199
84515
  }
83200
84516
 
83201
- },{}],456:[function(require,module,exports){
84517
+ },{}],472:[function(require,module,exports){
83202
84518
  module.exports={
83203
84519
  "name": "EIP-3541",
83204
84520
  "comment": "Reject new contracts starting with the 0xEF byte",
@@ -83212,7 +84528,7 @@ module.exports={
83212
84528
  "pow": {}
83213
84529
  }
83214
84530
 
83215
- },{}],457:[function(require,module,exports){
84531
+ },{}],473:[function(require,module,exports){
83216
84532
  module.exports={
83217
84533
  "name": "EIP-3554",
83218
84534
  "comment": "Reduction in refunds",
@@ -83231,7 +84547,7 @@ module.exports={
83231
84547
  }
83232
84548
  }
83233
84549
 
83234
- },{}],458:[function(require,module,exports){
84550
+ },{}],474:[function(require,module,exports){
83235
84551
  module.exports={
83236
84552
  "name": "EIP-3675",
83237
84553
  "number": 3675,
@@ -83246,7 +84562,7 @@ module.exports={
83246
84562
  "pow": {}
83247
84563
  }
83248
84564
 
83249
- },{}],459:[function(require,module,exports){
84565
+ },{}],475:[function(require,module,exports){
83250
84566
  module.exports={
83251
84567
  "name": "EIP-4345",
83252
84568
  "number": 4345,
@@ -83265,7 +84581,7 @@ module.exports={
83265
84581
  }
83266
84582
  }
83267
84583
 
83268
- },{}],460:[function(require,module,exports){
84584
+ },{}],476:[function(require,module,exports){
83269
84585
  "use strict";
83270
84586
  Object.defineProperty(exports, "__esModule", { value: true });
83271
84587
  exports.EIPs = void 0;
@@ -83285,7 +84601,7 @@ exports.EIPs = {
83285
84601
  4345: require('./4345.json'),
83286
84602
  };
83287
84603
 
83288
- },{"./1559.json":447,"./2315.json":448,"./2537.json":449,"./2565.json":450,"./2718.json":451,"./2929.json":452,"./2930.json":453,"./3198.json":454,"./3529.json":455,"./3541.json":456,"./3554.json":457,"./3675.json":458,"./4345.json":459}],461:[function(require,module,exports){
84604
+ },{"./1559.json":463,"./2315.json":464,"./2537.json":465,"./2565.json":466,"./2718.json":467,"./2929.json":468,"./2930.json":469,"./3198.json":470,"./3529.json":471,"./3541.json":472,"./3554.json":473,"./3675.json":474,"./4345.json":475}],477:[function(require,module,exports){
83289
84605
  module.exports={
83290
84606
  "0x0000000000000000000000000000000000000000": "0x1",
83291
84607
  "0x0000000000000000000000000000000000000001": "0x1",
@@ -83549,7 +84865,7 @@ module.exports={
83549
84865
  "0xe0a2bd4258d2768837baa26a28fe71dc079f84c7": "0x4a47e3c12448f4ad000000"
83550
84866
  }
83551
84867
 
83552
- },{}],462:[function(require,module,exports){
84868
+ },{}],478:[function(require,module,exports){
83553
84869
  module.exports={
83554
84870
  "0x0000000000000000000000000000000000000001": "0x1",
83555
84871
  "0x0000000000000000000000000000000000000002": "0x1",
@@ -83558,7 +84874,7 @@ module.exports={
83558
84874
  "0x00521965e7bd230323c423d96c657db5b79d099f": "0x100000000000000000000000000000000000000000000000000"
83559
84875
  }
83560
84876
 
83561
- },{}],463:[function(require,module,exports){
84877
+ },{}],479:[function(require,module,exports){
83562
84878
  module.exports={
83563
84879
  "0x000d836201318ec6899a67540690382780743280": "0xad78ebc5ac6200000",
83564
84880
  "0x001762430ea9c3a26e5749afdb70da5f78ddbb8c": "0xad78ebc5ac6200000",
@@ -92455,7 +93771,7 @@ module.exports={
92455
93771
  "0xfff7ac99c8e4feb60c9750054bdc14ce1857f181": "0x3635c9adc5dea00000"
92456
93772
  }
92457
93773
 
92458
- },{}],464:[function(require,module,exports){
93774
+ },{}],480:[function(require,module,exports){
92459
93775
  module.exports={
92460
93776
  "0x0000000000000000000000000000000000000000": "0x1",
92461
93777
  "0x0000000000000000000000000000000000000001": "0x1",
@@ -92716,7 +94032,7 @@ module.exports={
92716
94032
  "0x31b98d14007bdee637298086988a0bbd31184523": "0x200000000000000000000000000000000000000000000000000000000000000"
92717
94033
  }
92718
94034
 
92719
- },{}],465:[function(require,module,exports){
94035
+ },{}],481:[function(require,module,exports){
92720
94036
  module.exports={
92721
94037
  "0x0000000000000000000000000000000000000000": "0x1",
92722
94038
  "0x0000000000000000000000000000000000000001": "0x1",
@@ -92977,7 +94293,7 @@ module.exports={
92977
94293
  "0x874b54a8bd152966d63f706bae1ffeb0411921e5": "0xc9f2c9cd04674edea40000000"
92978
94294
  }
92979
94295
 
92980
- },{}],466:[function(require,module,exports){
94296
+ },{}],482:[function(require,module,exports){
92981
94297
  module.exports={
92982
94298
  "name": "arrowGlacier",
92983
94299
  "comment": "HF to delay the difficulty bomb",
@@ -92990,7 +94306,7 @@ module.exports={
92990
94306
  "pow": {}
92991
94307
  }
92992
94308
 
92993
- },{}],467:[function(require,module,exports){
94309
+ },{}],483:[function(require,module,exports){
92994
94310
  module.exports={
92995
94311
  "name": "berlin",
92996
94312
  "comment": "HF targeted for July 2020 following the Muir Glacier HF",
@@ -92999,7 +94315,7 @@ module.exports={
92999
94315
  "eips": [2565, 2929, 2718, 2930]
93000
94316
  }
93001
94317
 
93002
- },{}],468:[function(require,module,exports){
94318
+ },{}],484:[function(require,module,exports){
93003
94319
  module.exports={
93004
94320
  "name": "byzantium",
93005
94321
  "comment": "Hardfork with new precompiles, instructions and other protocol changes",
@@ -93057,7 +94373,7 @@ module.exports={
93057
94373
  }
93058
94374
  }
93059
94375
 
93060
- },{}],469:[function(require,module,exports){
94376
+ },{}],485:[function(require,module,exports){
93061
94377
  module.exports={
93062
94378
  "name": "chainstart",
93063
94379
  "comment": "Start of the Ethereum main chain",
@@ -93505,7 +94821,7 @@ module.exports={
93505
94821
  }
93506
94822
  }
93507
94823
 
93508
- },{}],470:[function(require,module,exports){
94824
+ },{}],486:[function(require,module,exports){
93509
94825
  module.exports={
93510
94826
  "name": "constantinople",
93511
94827
  "comment": "Postponed hardfork including EIP-1283 (SSTORE gas metering changes)",
@@ -93575,7 +94891,7 @@ module.exports={
93575
94891
  }
93576
94892
  }
93577
94893
 
93578
- },{}],471:[function(require,module,exports){
94894
+ },{}],487:[function(require,module,exports){
93579
94895
  module.exports={
93580
94896
  "name": "dao",
93581
94897
  "comment": "DAO rescue hardfork",
@@ -93587,7 +94903,7 @@ module.exports={
93587
94903
  "pow": {}
93588
94904
  }
93589
94905
 
93590
- },{}],472:[function(require,module,exports){
94906
+ },{}],488:[function(require,module,exports){
93591
94907
  module.exports={
93592
94908
  "name": "homestead",
93593
94909
  "comment": "Homestead hardfork with protocol and network changes",
@@ -93604,7 +94920,7 @@ module.exports={
93604
94920
  "pow": {}
93605
94921
  }
93606
94922
 
93607
- },{}],473:[function(require,module,exports){
94923
+ },{}],489:[function(require,module,exports){
93608
94924
  "use strict";
93609
94925
  Object.defineProperty(exports, "__esModule", { value: true });
93610
94926
  exports.hardforks = void 0;
@@ -93626,7 +94942,7 @@ exports.hardforks = [
93626
94942
  ['merge', require('./merge.json')],
93627
94943
  ];
93628
94944
 
93629
- },{"./arrowGlacier.json":466,"./berlin.json":467,"./byzantium.json":468,"./chainstart.json":469,"./constantinople.json":470,"./dao.json":471,"./homestead.json":472,"./istanbul.json":474,"./london.json":475,"./merge.json":476,"./muirGlacier.json":477,"./petersburg.json":478,"./shanghai.json":479,"./spuriousDragon.json":480,"./tangerineWhistle.json":481}],474:[function(require,module,exports){
94945
+ },{"./arrowGlacier.json":482,"./berlin.json":483,"./byzantium.json":484,"./chainstart.json":485,"./constantinople.json":486,"./dao.json":487,"./homestead.json":488,"./istanbul.json":490,"./london.json":491,"./merge.json":492,"./muirGlacier.json":493,"./petersburg.json":494,"./shanghai.json":495,"./spuriousDragon.json":496,"./tangerineWhistle.json":497}],490:[function(require,module,exports){
93630
94946
  module.exports={
93631
94947
  "name": "istanbul",
93632
94948
  "comment": "HF targeted for December 2019 following the Constantinople/Petersburg HF",
@@ -93715,7 +95031,7 @@ module.exports={
93715
95031
  "pow": {}
93716
95032
  }
93717
95033
 
93718
- },{}],475:[function(require,module,exports){
95034
+ },{}],491:[function(require,module,exports){
93719
95035
  module.exports={
93720
95036
  "name": "london",
93721
95037
  "comment": "HF targeted for July 2021 following the Berlin fork",
@@ -93724,7 +95040,7 @@ module.exports={
93724
95040
  "eips": [1559, 3198, 3529, 3541]
93725
95041
  }
93726
95042
 
93727
- },{}],476:[function(require,module,exports){
95043
+ },{}],492:[function(require,module,exports){
93728
95044
  module.exports={
93729
95045
  "name": "merge",
93730
95046
  "comment": "Hardfork to upgrade the consensus mechanism to Proof-of-Stake",
@@ -93738,7 +95054,7 @@ module.exports={
93738
95054
  "eips": [3675]
93739
95055
  }
93740
95056
 
93741
- },{}],477:[function(require,module,exports){
95057
+ },{}],493:[function(require,module,exports){
93742
95058
  module.exports={
93743
95059
  "name": "muirGlacier",
93744
95060
  "comment": "HF to delay the difficulty bomb",
@@ -93755,7 +95071,7 @@ module.exports={
93755
95071
  }
93756
95072
  }
93757
95073
 
93758
- },{}],478:[function(require,module,exports){
95074
+ },{}],494:[function(require,module,exports){
93759
95075
  module.exports={
93760
95076
  "name": "petersburg",
93761
95077
  "comment": "Aka constantinopleFix, removes EIP-1283, activate together with or after constantinople",
@@ -93796,7 +95112,7 @@ module.exports={
93796
95112
  "pow": {}
93797
95113
  }
93798
95114
 
93799
- },{}],479:[function(require,module,exports){
95115
+ },{}],495:[function(require,module,exports){
93800
95116
  module.exports={
93801
95117
  "name": "shanghai",
93802
95118
  "comment": "Next feature hardfork after the London HF",
@@ -93805,7 +95121,7 @@ module.exports={
93805
95121
  "eips": []
93806
95122
  }
93807
95123
 
93808
- },{}],480:[function(require,module,exports){
95124
+ },{}],496:[function(require,module,exports){
93809
95125
  module.exports={
93810
95126
  "name": "spuriousDragon",
93811
95127
  "comment": "HF with EIPs for simple replay attack protection, EXP cost increase, state trie clearing, contract code size limit",
@@ -93827,7 +95143,7 @@ module.exports={
93827
95143
  "pow": {}
93828
95144
  }
93829
95145
 
93830
- },{}],481:[function(require,module,exports){
95146
+ },{}],497:[function(require,module,exports){
93831
95147
  module.exports={
93832
95148
  "name": "tangerineWhistle",
93833
95149
  "comment": "Hardfork with gas cost changes for IO-heavy operations",
@@ -93872,7 +95188,7 @@ module.exports={
93872
95188
  "pow": {}
93873
95189
  }
93874
95190
 
93875
- },{}],482:[function(require,module,exports){
95191
+ },{}],498:[function(require,module,exports){
93876
95192
  (function (Buffer){(function (){
93877
95193
  "use strict";
93878
95194
  var __extends = (this && this.__extends) || (function () {
@@ -95160,7 +96476,7 @@ var Common = /** @class */ (function (_super) {
95160
96476
  exports.default = Common;
95161
96477
 
95162
96478
  }).call(this)}).call(this,require("buffer").Buffer)
95163
- },{"./chains":442,"./eips":460,"./genesisStates/goerli.json":461,"./genesisStates/kovan.json":462,"./genesisStates/mainnet.json":463,"./genesisStates/rinkeby.json":464,"./genesisStates/ropsten.json":465,"./hardforks":473,"buffer":67,"crc-32":509,"ethereumjs-util":550,"events":108}],483:[function(require,module,exports){
96479
+ },{"./chains":458,"./eips":476,"./genesisStates/goerli.json":477,"./genesisStates/kovan.json":478,"./genesisStates/mainnet.json":479,"./genesisStates/rinkeby.json":480,"./genesisStates/ropsten.json":481,"./hardforks":489,"buffer":67,"crc-32":525,"ethereumjs-util":566,"events":108}],499:[function(require,module,exports){
95164
96480
  "use strict";
95165
96481
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
95166
96482
  if (k2 === undefined) k2 = k;
@@ -95538,7 +96854,7 @@ var BaseTransaction = /** @class */ (function () {
95538
96854
  }());
95539
96855
  exports.BaseTransaction = BaseTransaction;
95540
96856
 
95541
- },{"./types":489,"@ethereumjs/common":482,"ethereumjs-util":550}],484:[function(require,module,exports){
96857
+ },{"./types":505,"@ethereumjs/common":498,"ethereumjs-util":566}],500:[function(require,module,exports){
95542
96858
  (function (Buffer){(function (){
95543
96859
  "use strict";
95544
96860
  var __extends = (this && this.__extends) || (function () {
@@ -95968,7 +97284,7 @@ var FeeMarketEIP1559Transaction = /** @class */ (function (_super) {
95968
97284
  exports.default = FeeMarketEIP1559Transaction;
95969
97285
 
95970
97286
  }).call(this)}).call(this,require("buffer").Buffer)
95971
- },{"./baseTransaction":483,"./types":489,"./util":490,"buffer":67,"ethereumjs-util":550}],485:[function(require,module,exports){
97287
+ },{"./baseTransaction":499,"./types":505,"./util":506,"buffer":67,"ethereumjs-util":566}],501:[function(require,module,exports){
95972
97288
  (function (Buffer){(function (){
95973
97289
  "use strict";
95974
97290
  var __extends = (this && this.__extends) || (function () {
@@ -96386,7 +97702,7 @@ var AccessListEIP2930Transaction = /** @class */ (function (_super) {
96386
97702
  exports.default = AccessListEIP2930Transaction;
96387
97703
 
96388
97704
  }).call(this)}).call(this,require("buffer").Buffer)
96389
- },{"./baseTransaction":483,"./types":489,"./util":490,"buffer":67,"ethereumjs-util":550}],486:[function(require,module,exports){
97705
+ },{"./baseTransaction":499,"./types":505,"./util":506,"buffer":67,"ethereumjs-util":566}],502:[function(require,module,exports){
96390
97706
  "use strict";
96391
97707
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
96392
97708
  if (k2 === undefined) k2 = k;
@@ -96413,7 +97729,7 @@ var eip1559Transaction_1 = require("./eip1559Transaction");
96413
97729
  Object.defineProperty(exports, "FeeMarketEIP1559Transaction", { enumerable: true, get: function () { return __importDefault(eip1559Transaction_1).default; } });
96414
97730
  __exportStar(require("./types"), exports);
96415
97731
 
96416
- },{"./eip1559Transaction":484,"./eip2930Transaction":485,"./legacyTransaction":487,"./transactionFactory":488,"./types":489}],487:[function(require,module,exports){
97732
+ },{"./eip1559Transaction":500,"./eip2930Transaction":501,"./legacyTransaction":503,"./transactionFactory":504,"./types":505}],503:[function(require,module,exports){
96417
97733
  (function (Buffer){(function (){
96418
97734
  "use strict";
96419
97735
  var __extends = (this && this.__extends) || (function () {
@@ -96829,7 +98145,7 @@ var Transaction = /** @class */ (function (_super) {
96829
98145
  exports.default = Transaction;
96830
98146
 
96831
98147
  }).call(this)}).call(this,require("buffer").Buffer)
96832
- },{"./baseTransaction":483,"./types":489,"buffer":67,"ethereumjs-util":550}],488:[function(require,module,exports){
98148
+ },{"./baseTransaction":499,"./types":505,"buffer":67,"ethereumjs-util":566}],504:[function(require,module,exports){
96833
98149
  (function (Buffer){(function (){
96834
98150
  "use strict";
96835
98151
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -96949,7 +98265,7 @@ var TransactionFactory = /** @class */ (function () {
96949
98265
  exports.default = TransactionFactory;
96950
98266
 
96951
98267
  }).call(this)}).call(this,{"isBuffer":require("../../../../../../node_modules/is-buffer/index.js")})
96952
- },{".":486,"../../../../../../node_modules/is-buffer/index.js":150,"ethereumjs-util":550}],489:[function(require,module,exports){
98268
+ },{".":502,"../../../../../../node_modules/is-buffer/index.js":150,"ethereumjs-util":566}],505:[function(require,module,exports){
96953
98269
  "use strict";
96954
98270
  Object.defineProperty(exports, "__esModule", { value: true });
96955
98271
  exports.N_DIV_2 = exports.isAccessList = exports.isAccessListBuffer = exports.Capability = void 0;
@@ -97001,7 +98317,7 @@ exports.isAccessList = isAccessList;
97001
98317
  */
97002
98318
  exports.N_DIV_2 = new ethereumjs_util_1.BN('7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0', 16);
97003
98319
 
97004
- },{"ethereumjs-util":550}],490:[function(require,module,exports){
98320
+ },{"ethereumjs-util":566}],506:[function(require,module,exports){
97005
98321
  "use strict";
97006
98322
  Object.defineProperty(exports, "__esModule", { value: true });
97007
98323
  exports.AccessLists = void 0;
@@ -97102,7 +98418,7 @@ var AccessLists = /** @class */ (function () {
97102
98418
  }());
97103
98419
  exports.AccessLists = AccessLists;
97104
98420
 
97105
- },{"./types":489,"ethereumjs-util":550}],491:[function(require,module,exports){
98421
+ },{"./types":505,"ethereumjs-util":566}],507:[function(require,module,exports){
97106
98422
  (function (Buffer){(function (){
97107
98423
  "use strict";
97108
98424
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
@@ -97316,7 +98632,7 @@ function nacl_decodeHex(msgHex) {
97316
98632
  }
97317
98633
 
97318
98634
  }).call(this)}).call(this,require("buffer").Buffer)
97319
- },{"./utils":495,"buffer":67,"tweetnacl":616,"tweetnacl-util":615}],492:[function(require,module,exports){
98635
+ },{"./utils":511,"buffer":67,"tweetnacl":632,"tweetnacl-util":631}],508:[function(require,module,exports){
97320
98636
  "use strict";
97321
98637
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
97322
98638
  if (k2 === undefined) k2 = k;
@@ -97337,7 +98653,7 @@ var utils_1 = require("./utils");
97337
98653
  Object.defineProperty(exports, "concatSig", { enumerable: true, get: function () { return utils_1.concatSig; } });
97338
98654
  Object.defineProperty(exports, "normalize", { enumerable: true, get: function () { return utils_1.normalize; } });
97339
98655
 
97340
- },{"./encryption":491,"./personal-sign":493,"./sign-typed-data":494,"./utils":495}],493:[function(require,module,exports){
98656
+ },{"./encryption":507,"./personal-sign":509,"./sign-typed-data":510,"./utils":511}],509:[function(require,module,exports){
97341
98657
  "use strict";
97342
98658
  Object.defineProperty(exports, "__esModule", { value: true });
97343
98659
  exports.extractPublicKey = exports.recoverPersonalSignature = exports.personalSign = void 0;
@@ -97422,7 +98738,7 @@ function getPublicKeyFor(message, signature) {
97422
98738
  return utils_1.recoverPublicKey(messageHash, signature);
97423
98739
  }
97424
98740
 
97425
- },{"./utils":495,"ethereumjs-util":500}],494:[function(require,module,exports){
98741
+ },{"./utils":511,"ethereumjs-util":516}],510:[function(require,module,exports){
97426
98742
  (function (Buffer){(function (){
97427
98743
  "use strict";
97428
98744
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -97798,7 +99114,7 @@ function recoverTypedSignature({ data, signature, version, }) {
97798
99114
  exports.recoverTypedSignature = recoverTypedSignature;
97799
99115
 
97800
99116
  }).call(this)}).call(this,require("buffer").Buffer)
97801
- },{"./utils":495,"buffer":67,"ethereumjs-abi":531,"ethereumjs-util":500}],495:[function(require,module,exports){
99117
+ },{"./utils":511,"buffer":67,"ethereumjs-abi":547,"ethereumjs-util":516}],511:[function(require,module,exports){
97802
99118
  (function (Buffer){(function (){
97803
99119
  "use strict";
97804
99120
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -97905,7 +99221,7 @@ function normalize(input) {
97905
99221
  exports.normalize = normalize;
97906
99222
 
97907
99223
  }).call(this)}).call(this,require("buffer").Buffer)
97908
- },{"buffer":67,"ethereumjs-util":500,"ethjs-util":556}],496:[function(require,module,exports){
99224
+ },{"buffer":67,"ethereumjs-util":516,"ethjs-util":572}],512:[function(require,module,exports){
97909
99225
  (function (Buffer){(function (){
97910
99226
  "use strict";
97911
99227
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -98076,7 +99392,7 @@ exports.importPublic = function (publicKey) {
98076
99392
  };
98077
99393
 
98078
99394
  }).call(this)}).call(this,require("buffer").Buffer)
98079
- },{"./bytes":497,"./hash":499,"./secp256k1v3-adapter":502,"assert":16,"bn.js":506,"buffer":67,"ethjs-util":556}],497:[function(require,module,exports){
99395
+ },{"./bytes":513,"./hash":515,"./secp256k1v3-adapter":518,"assert":16,"bn.js":522,"buffer":67,"ethjs-util":572}],513:[function(require,module,exports){
98080
99396
  (function (Buffer){(function (){
98081
99397
  "use strict";
98082
99398
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -98237,7 +99553,7 @@ exports.baToJSON = function (ba) {
98237
99553
  };
98238
99554
 
98239
99555
  }).call(this)}).call(this,require("buffer").Buffer)
98240
- },{"bn.js":506,"buffer":67,"ethjs-util":556}],498:[function(require,module,exports){
99556
+ },{"bn.js":522,"buffer":67,"ethjs-util":572}],514:[function(require,module,exports){
98241
99557
  (function (Buffer){(function (){
98242
99558
  "use strict";
98243
99559
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -98277,7 +99593,7 @@ exports.KECCAK256_RLP_S = '56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622
98277
99593
  exports.KECCAK256_RLP = Buffer.from(exports.KECCAK256_RLP_S, 'hex');
98278
99594
 
98279
99595
  }).call(this)}).call(this,require("buffer").Buffer)
98280
- },{"bn.js":506,"buffer":67}],499:[function(require,module,exports){
99596
+ },{"bn.js":522,"buffer":67}],515:[function(require,module,exports){
98281
99597
  (function (Buffer){(function (){
98282
99598
  "use strict";
98283
99599
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -98364,7 +99680,7 @@ exports.rlphash = function (a) {
98364
99680
  };
98365
99681
 
98366
99682
  }).call(this)}).call(this,require("buffer").Buffer)
98367
- },{"./bytes":497,"buffer":67,"create-hash":510,"ethereum-cryptography/keccak":528,"ethjs-util":556,"rlp":599}],500:[function(require,module,exports){
99683
+ },{"./bytes":513,"buffer":67,"create-hash":526,"ethereum-cryptography/keccak":544,"ethjs-util":572,"rlp":615}],516:[function(require,module,exports){
98368
99684
  "use strict";
98369
99685
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
98370
99686
  if (k2 === undefined) k2 = k;
@@ -98411,7 +99727,7 @@ __exportStar(require("./bytes"), exports);
98411
99727
  */
98412
99728
  __exportStar(require("./object"), exports);
98413
99729
 
98414
- },{"./account":496,"./bytes":497,"./constants":498,"./hash":499,"./object":501,"./secp256k1v3-adapter":502,"./signature":505,"bn.js":506,"ethjs-util":556,"rlp":599}],501:[function(require,module,exports){
99730
+ },{"./account":512,"./bytes":513,"./constants":514,"./hash":515,"./object":517,"./secp256k1v3-adapter":518,"./signature":521,"bn.js":522,"ethjs-util":572,"rlp":615}],517:[function(require,module,exports){
98415
99731
  (function (Buffer){(function (){
98416
99732
  "use strict";
98417
99733
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -98520,7 +99836,7 @@ exports.defineProperties = function (self, fields, data) {
98520
99836
  };
98521
99837
 
98522
99838
  }).call(this)}).call(this,require("buffer").Buffer)
98523
- },{"./bytes":497,"assert":16,"buffer":67,"ethjs-util":556,"rlp":599}],502:[function(require,module,exports){
99839
+ },{"./bytes":513,"assert":16,"buffer":67,"ethjs-util":572,"rlp":615}],518:[function(require,module,exports){
98524
99840
  (function (Buffer){(function (){
98525
99841
  "use strict";
98526
99842
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -98823,7 +100139,7 @@ exports.ecdhUnsafe = function (publicKey, privateKey, compressed) {
98823
100139
  };
98824
100140
 
98825
100141
  }).call(this)}).call(this,require("buffer").Buffer)
98826
- },{"./secp256k1v3-lib/der":503,"./secp256k1v3-lib/index":504,"buffer":67,"ethereum-cryptography/secp256k1":530}],503:[function(require,module,exports){
100142
+ },{"./secp256k1v3-lib/der":519,"./secp256k1v3-lib/index":520,"buffer":67,"ethereum-cryptography/secp256k1":546}],519:[function(require,module,exports){
98827
100143
  (function (Buffer){(function (){
98828
100144
  "use strict";
98829
100145
  // This file is imported from secp256k1 v3
@@ -99460,7 +100776,7 @@ exports.signatureImportLax = function (signature) {
99460
100776
  };
99461
100777
 
99462
100778
  }).call(this)}).call(this,require("buffer").Buffer)
99463
- },{"buffer":67}],504:[function(require,module,exports){
100779
+ },{"buffer":67}],520:[function(require,module,exports){
99464
100780
  (function (Buffer){(function (){
99465
100781
  "use strict";
99466
100782
  // This file is imported from secp256k1 v3
@@ -99524,7 +100840,7 @@ var toPublicKey = function (x, y, compressed) {
99524
100840
  };
99525
100841
 
99526
100842
  }).call(this)}).call(this,require("buffer").Buffer)
99527
- },{"bn.js":506,"buffer":67,"elliptic":511}],505:[function(require,module,exports){
100843
+ },{"bn.js":522,"buffer":67,"elliptic":527}],521:[function(require,module,exports){
99528
100844
  (function (Buffer){(function (){
99529
100845
  "use strict";
99530
100846
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -99634,13 +100950,13 @@ function isValidSigRecovery(recovery) {
99634
100950
  }
99635
100951
 
99636
100952
  }).call(this)}).call(this,require("buffer").Buffer)
99637
- },{"./bytes":497,"./hash":499,"./secp256k1v3-adapter":502,"bn.js":506,"buffer":67}],506:[function(require,module,exports){
100953
+ },{"./bytes":513,"./hash":515,"./secp256k1v3-adapter":518,"bn.js":522,"buffer":67}],522:[function(require,module,exports){
99638
100954
  arguments[4][15][0].apply(exports,arguments)
99639
- },{"buffer":24,"dup":15}],507:[function(require,module,exports){
100955
+ },{"buffer":24,"dup":15}],523:[function(require,module,exports){
99640
100956
  arguments[4][23][0].apply(exports,arguments)
99641
- },{"crypto":24,"dup":23}],508:[function(require,module,exports){
100957
+ },{"crypto":24,"dup":23}],524:[function(require,module,exports){
99642
100958
  arguments[4][71][0].apply(exports,arguments)
99643
- },{"dup":71,"inherits":571,"safe-buffer":601,"stream":192,"string_decoder":207}],509:[function(require,module,exports){
100959
+ },{"dup":71,"inherits":587,"safe-buffer":617,"stream":192,"string_decoder":207}],525:[function(require,module,exports){
99644
100960
  /*! crc32.js (C) 2014-present SheetJS -- http://sheetjs.com */
99645
100961
  /* vim: set ts=2: */
99646
100962
  /*exported CRC32 */
@@ -99757,41 +101073,41 @@ CRC32.buf = crc32_buf;
99757
101073
  CRC32.str = crc32_str;
99758
101074
  }));
99759
101075
 
99760
- },{}],510:[function(require,module,exports){
101076
+ },{}],526:[function(require,module,exports){
99761
101077
  arguments[4][74][0].apply(exports,arguments)
99762
- },{"cipher-base":508,"dup":74,"inherits":571,"md5.js":579,"ripemd160":598,"sha.js":606}],511:[function(require,module,exports){
101078
+ },{"cipher-base":524,"dup":74,"inherits":587,"md5.js":595,"ripemd160":614,"sha.js":622}],527:[function(require,module,exports){
99763
101079
  arguments[4][90][0].apply(exports,arguments)
99764
- },{"../package.json":526,"./elliptic/curve":514,"./elliptic/curves":517,"./elliptic/ec":518,"./elliptic/eddsa":521,"./elliptic/utils":525,"brorand":507,"dup":90}],512:[function(require,module,exports){
101080
+ },{"../package.json":542,"./elliptic/curve":530,"./elliptic/curves":533,"./elliptic/ec":534,"./elliptic/eddsa":537,"./elliptic/utils":541,"brorand":523,"dup":90}],528:[function(require,module,exports){
99765
101081
  arguments[4][91][0].apply(exports,arguments)
99766
- },{"../utils":525,"bn.js":506,"dup":91}],513:[function(require,module,exports){
101082
+ },{"../utils":541,"bn.js":522,"dup":91}],529:[function(require,module,exports){
99767
101083
  arguments[4][92][0].apply(exports,arguments)
99768
- },{"../utils":525,"./base":512,"bn.js":506,"dup":92,"inherits":571}],514:[function(require,module,exports){
101084
+ },{"../utils":541,"./base":528,"bn.js":522,"dup":92,"inherits":587}],530:[function(require,module,exports){
99769
101085
  arguments[4][93][0].apply(exports,arguments)
99770
- },{"./base":512,"./edwards":513,"./mont":515,"./short":516,"dup":93}],515:[function(require,module,exports){
101086
+ },{"./base":528,"./edwards":529,"./mont":531,"./short":532,"dup":93}],531:[function(require,module,exports){
99771
101087
  arguments[4][94][0].apply(exports,arguments)
99772
- },{"../utils":525,"./base":512,"bn.js":506,"dup":94,"inherits":571}],516:[function(require,module,exports){
101088
+ },{"../utils":541,"./base":528,"bn.js":522,"dup":94,"inherits":587}],532:[function(require,module,exports){
99773
101089
  arguments[4][95][0].apply(exports,arguments)
99774
- },{"../utils":525,"./base":512,"bn.js":506,"dup":95,"inherits":571}],517:[function(require,module,exports){
101090
+ },{"../utils":541,"./base":528,"bn.js":522,"dup":95,"inherits":587}],533:[function(require,module,exports){
99775
101091
  arguments[4][96][0].apply(exports,arguments)
99776
- },{"./curve":514,"./precomputed/secp256k1":524,"./utils":525,"dup":96,"hash.js":558}],518:[function(require,module,exports){
101092
+ },{"./curve":530,"./precomputed/secp256k1":540,"./utils":541,"dup":96,"hash.js":574}],534:[function(require,module,exports){
99777
101093
  arguments[4][97][0].apply(exports,arguments)
99778
- },{"../curves":517,"../utils":525,"./key":519,"./signature":520,"bn.js":506,"brorand":507,"dup":97,"hmac-drbg":570}],519:[function(require,module,exports){
101094
+ },{"../curves":533,"../utils":541,"./key":535,"./signature":536,"bn.js":522,"brorand":523,"dup":97,"hmac-drbg":586}],535:[function(require,module,exports){
99779
101095
  arguments[4][98][0].apply(exports,arguments)
99780
- },{"../utils":525,"bn.js":506,"dup":98}],520:[function(require,module,exports){
101096
+ },{"../utils":541,"bn.js":522,"dup":98}],536:[function(require,module,exports){
99781
101097
  arguments[4][99][0].apply(exports,arguments)
99782
- },{"../utils":525,"bn.js":506,"dup":99}],521:[function(require,module,exports){
101098
+ },{"../utils":541,"bn.js":522,"dup":99}],537:[function(require,module,exports){
99783
101099
  arguments[4][100][0].apply(exports,arguments)
99784
- },{"../curves":517,"../utils":525,"./key":522,"./signature":523,"dup":100,"hash.js":558}],522:[function(require,module,exports){
101100
+ },{"../curves":533,"../utils":541,"./key":538,"./signature":539,"dup":100,"hash.js":574}],538:[function(require,module,exports){
99785
101101
  arguments[4][101][0].apply(exports,arguments)
99786
- },{"../utils":525,"dup":101}],523:[function(require,module,exports){
101102
+ },{"../utils":541,"dup":101}],539:[function(require,module,exports){
99787
101103
  arguments[4][102][0].apply(exports,arguments)
99788
- },{"../utils":525,"bn.js":506,"dup":102}],524:[function(require,module,exports){
101104
+ },{"../utils":541,"bn.js":522,"dup":102}],540:[function(require,module,exports){
99789
101105
  arguments[4][103][0].apply(exports,arguments)
99790
- },{"dup":103}],525:[function(require,module,exports){
101106
+ },{"dup":103}],541:[function(require,module,exports){
99791
101107
  arguments[4][104][0].apply(exports,arguments)
99792
- },{"bn.js":506,"dup":104,"minimalistic-assert":580,"minimalistic-crypto-utils":581}],526:[function(require,module,exports){
101108
+ },{"bn.js":522,"dup":104,"minimalistic-assert":596,"minimalistic-crypto-utils":597}],542:[function(require,module,exports){
99793
101109
  arguments[4][106][0].apply(exports,arguments)
99794
- },{"dup":106}],527:[function(require,module,exports){
101110
+ },{"dup":106}],543:[function(require,module,exports){
99795
101111
  (function (Buffer){(function (){
99796
101112
  "use strict";
99797
101113
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -99805,7 +101121,7 @@ function createHashFunction(hashConstructor) {
99805
101121
  exports.createHashFunction = createHashFunction;
99806
101122
 
99807
101123
  }).call(this)}).call(this,require("buffer").Buffer)
99808
- },{"buffer":67}],528:[function(require,module,exports){
101124
+ },{"buffer":67}],544:[function(require,module,exports){
99809
101125
  "use strict";
99810
101126
  Object.defineProperty(exports, "__esModule", { value: true });
99811
101127
  var hash_utils_1 = require("./hash-utils");
@@ -99823,7 +101139,7 @@ exports.keccak512 = hash_utils_1.createHashFunction(function () {
99823
101139
  return createKeccakHash("keccak512");
99824
101140
  });
99825
101141
 
99826
- },{"./hash-utils":527,"keccak":573}],529:[function(require,module,exports){
101142
+ },{"./hash-utils":543,"keccak":589}],545:[function(require,module,exports){
99827
101143
  "use strict";
99828
101144
  Object.defineProperty(exports, "__esModule", { value: true });
99829
101145
  var randombytes = require("randombytes");
@@ -99844,7 +101160,7 @@ function getRandomBytesSync(bytes) {
99844
101160
  }
99845
101161
  exports.getRandomBytesSync = getRandomBytesSync;
99846
101162
 
99847
- },{"randombytes":582}],530:[function(require,module,exports){
101163
+ },{"randombytes":598}],546:[function(require,module,exports){
99848
101164
  "use strict";
99849
101165
  var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
99850
101166
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
@@ -99920,10 +101236,10 @@ function createPrivateKeySync() {
99920
101236
  exports.createPrivateKeySync = createPrivateKeySync;
99921
101237
  __export(require("secp256k1"));
99922
101238
 
99923
- },{"./random":529,"secp256k1":602}],531:[function(require,module,exports){
101239
+ },{"./random":545,"secp256k1":618}],547:[function(require,module,exports){
99924
101240
  module.exports = require('./lib/index.js')
99925
101241
 
99926
- },{"./lib/index.js":532}],532:[function(require,module,exports){
101242
+ },{"./lib/index.js":548}],548:[function(require,module,exports){
99927
101243
  (function (Buffer){(function (){
99928
101244
  /* eslint-disable no-useless-escape */
99929
101245
  const utils = require('ethereumjs-util')
@@ -100531,27 +101847,27 @@ ABI.toSerpent = function (types) {
100531
101847
  module.exports = ABI
100532
101848
 
100533
101849
  }).call(this)}).call(this,require("buffer").Buffer)
100534
- },{"bn.js":506,"buffer":67,"ethereumjs-util":537}],533:[function(require,module,exports){
100535
- arguments[4][496][0].apply(exports,arguments)
100536
- },{"./bytes":534,"./hash":536,"./secp256k1v3-adapter":539,"assert":16,"bn.js":506,"buffer":67,"dup":496,"ethjs-util":556}],534:[function(require,module,exports){
100537
- arguments[4][497][0].apply(exports,arguments)
100538
- },{"bn.js":506,"buffer":67,"dup":497,"ethjs-util":556}],535:[function(require,module,exports){
100539
- arguments[4][498][0].apply(exports,arguments)
100540
- },{"bn.js":506,"buffer":67,"dup":498}],536:[function(require,module,exports){
100541
- arguments[4][499][0].apply(exports,arguments)
100542
- },{"./bytes":534,"buffer":67,"create-hash":510,"dup":499,"ethereum-cryptography/keccak":528,"ethjs-util":556,"rlp":599}],537:[function(require,module,exports){
100543
- arguments[4][500][0].apply(exports,arguments)
100544
- },{"./account":533,"./bytes":534,"./constants":535,"./hash":536,"./object":538,"./secp256k1v3-adapter":539,"./signature":542,"bn.js":506,"dup":500,"ethjs-util":556,"rlp":599}],538:[function(require,module,exports){
100545
- arguments[4][501][0].apply(exports,arguments)
100546
- },{"./bytes":534,"assert":16,"buffer":67,"dup":501,"ethjs-util":556,"rlp":599}],539:[function(require,module,exports){
100547
- arguments[4][502][0].apply(exports,arguments)
100548
- },{"./secp256k1v3-lib/der":540,"./secp256k1v3-lib/index":541,"buffer":67,"dup":502,"ethereum-cryptography/secp256k1":530}],540:[function(require,module,exports){
100549
- arguments[4][503][0].apply(exports,arguments)
100550
- },{"buffer":67,"dup":503}],541:[function(require,module,exports){
100551
- arguments[4][504][0].apply(exports,arguments)
100552
- },{"bn.js":506,"buffer":67,"dup":504,"elliptic":511}],542:[function(require,module,exports){
100553
- arguments[4][505][0].apply(exports,arguments)
100554
- },{"./bytes":534,"./hash":536,"./secp256k1v3-adapter":539,"bn.js":506,"buffer":67,"dup":505}],543:[function(require,module,exports){
101850
+ },{"bn.js":522,"buffer":67,"ethereumjs-util":553}],549:[function(require,module,exports){
101851
+ arguments[4][512][0].apply(exports,arguments)
101852
+ },{"./bytes":550,"./hash":552,"./secp256k1v3-adapter":555,"assert":16,"bn.js":522,"buffer":67,"dup":512,"ethjs-util":572}],550:[function(require,module,exports){
101853
+ arguments[4][513][0].apply(exports,arguments)
101854
+ },{"bn.js":522,"buffer":67,"dup":513,"ethjs-util":572}],551:[function(require,module,exports){
101855
+ arguments[4][514][0].apply(exports,arguments)
101856
+ },{"bn.js":522,"buffer":67,"dup":514}],552:[function(require,module,exports){
101857
+ arguments[4][515][0].apply(exports,arguments)
101858
+ },{"./bytes":550,"buffer":67,"create-hash":526,"dup":515,"ethereum-cryptography/keccak":544,"ethjs-util":572,"rlp":615}],553:[function(require,module,exports){
101859
+ arguments[4][516][0].apply(exports,arguments)
101860
+ },{"./account":549,"./bytes":550,"./constants":551,"./hash":552,"./object":554,"./secp256k1v3-adapter":555,"./signature":558,"bn.js":522,"dup":516,"ethjs-util":572,"rlp":615}],554:[function(require,module,exports){
101861
+ arguments[4][517][0].apply(exports,arguments)
101862
+ },{"./bytes":550,"assert":16,"buffer":67,"dup":517,"ethjs-util":572,"rlp":615}],555:[function(require,module,exports){
101863
+ arguments[4][518][0].apply(exports,arguments)
101864
+ },{"./secp256k1v3-lib/der":556,"./secp256k1v3-lib/index":557,"buffer":67,"dup":518,"ethereum-cryptography/secp256k1":546}],556:[function(require,module,exports){
101865
+ arguments[4][519][0].apply(exports,arguments)
101866
+ },{"buffer":67,"dup":519}],557:[function(require,module,exports){
101867
+ arguments[4][520][0].apply(exports,arguments)
101868
+ },{"bn.js":522,"buffer":67,"dup":520,"elliptic":527}],558:[function(require,module,exports){
101869
+ arguments[4][521][0].apply(exports,arguments)
101870
+ },{"./bytes":550,"./hash":552,"./secp256k1v3-adapter":555,"bn.js":522,"buffer":67,"dup":521}],559:[function(require,module,exports){
100555
101871
  (function (Buffer){(function (){
100556
101872
  "use strict";
100557
101873
  var __read = (this && this.__read) || function (o, n) {
@@ -100850,7 +102166,7 @@ var isZeroAddress = function (hexAddress) {
100850
102166
  exports.isZeroAddress = isZeroAddress;
100851
102167
 
100852
102168
  }).call(this)}).call(this,require("buffer").Buffer)
100853
- },{"./bytes":545,"./constants":546,"./externals":547,"./hash":548,"./helpers":549,"./internal":551,"./types":554,"assert":16,"buffer":67,"ethereum-cryptography/secp256k1":530}],544:[function(require,module,exports){
102169
+ },{"./bytes":561,"./constants":562,"./externals":563,"./hash":564,"./helpers":565,"./internal":567,"./types":570,"assert":16,"buffer":67,"ethereum-cryptography/secp256k1":546}],560:[function(require,module,exports){
100854
102170
  (function (Buffer){(function (){
100855
102171
  "use strict";
100856
102172
  var __importDefault = (this && this.__importDefault) || function (mod) {
@@ -100958,7 +102274,7 @@ var Address = /** @class */ (function () {
100958
102274
  exports.Address = Address;
100959
102275
 
100960
102276
  }).call(this)}).call(this,require("buffer").Buffer)
100961
- },{"./account":543,"./bytes":545,"./externals":547,"assert":16,"buffer":67}],545:[function(require,module,exports){
102277
+ },{"./account":559,"./bytes":561,"./externals":563,"assert":16,"buffer":67}],561:[function(require,module,exports){
100962
102278
  (function (Buffer){(function (){
100963
102279
  "use strict";
100964
102280
  var __values = (this && this.__values) || function(o) {
@@ -101294,7 +102610,7 @@ function bufArrToArr(arr) {
101294
102610
  exports.bufArrToArr = bufArrToArr;
101295
102611
 
101296
102612
  }).call(this)}).call(this,require("buffer").Buffer)
101297
- },{"./externals":547,"./helpers":549,"./internal":551,"buffer":67}],546:[function(require,module,exports){
102613
+ },{"./externals":563,"./helpers":565,"./internal":567,"buffer":67}],562:[function(require,module,exports){
101298
102614
  "use strict";
101299
102615
  Object.defineProperty(exports, "__esModule", { value: true });
101300
102616
  exports.KECCAK256_RLP = exports.KECCAK256_RLP_S = exports.KECCAK256_RLP_ARRAY = exports.KECCAK256_RLP_ARRAY_S = exports.KECCAK256_NULL = exports.KECCAK256_NULL_S = exports.TWO_POW256 = exports.MAX_INTEGER = exports.MAX_UINT64 = void 0;
@@ -101337,7 +102653,7 @@ exports.KECCAK256_RLP_S = '56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622
101337
102653
  */
101338
102654
  exports.KECCAK256_RLP = buffer_1.Buffer.from(exports.KECCAK256_RLP_S, 'hex');
101339
102655
 
101340
- },{"./externals":547,"buffer":67}],547:[function(require,module,exports){
102656
+ },{"./externals":563,"buffer":67}],563:[function(require,module,exports){
101341
102657
  "use strict";
101342
102658
  /**
101343
102659
  * Re-exports commonly used modules:
@@ -101377,7 +102693,7 @@ exports.BN = bn_js_1.default;
101377
102693
  var rlp = __importStar(require("rlp"));
101378
102694
  exports.rlp = rlp;
101379
102695
 
101380
- },{"bn.js":555,"rlp":599}],548:[function(require,module,exports){
102696
+ },{"bn.js":571,"rlp":615}],564:[function(require,module,exports){
101381
102697
  (function (Buffer){(function (){
101382
102698
  "use strict";
101383
102699
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -101546,7 +102862,7 @@ var rlphash = function (a) {
101546
102862
  exports.rlphash = rlphash;
101547
102863
 
101548
102864
  }).call(this)}).call(this,require("buffer").Buffer)
101549
- },{"./bytes":545,"./externals":547,"./helpers":549,"buffer":67,"create-hash":510,"ethereum-cryptography/keccak":528}],549:[function(require,module,exports){
102865
+ },{"./bytes":561,"./externals":563,"./helpers":565,"buffer":67,"create-hash":526,"ethereum-cryptography/keccak":544}],565:[function(require,module,exports){
101550
102866
  (function (Buffer){(function (){
101551
102867
  "use strict";
101552
102868
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -101598,7 +102914,7 @@ var assertIsString = function (input) {
101598
102914
  exports.assertIsString = assertIsString;
101599
102915
 
101600
102916
  }).call(this)}).call(this,{"isBuffer":require("../../../../../node_modules/is-buffer/index.js")})
101601
- },{"../../../../../node_modules/is-buffer/index.js":150,"./internal":551}],550:[function(require,module,exports){
102917
+ },{"../../../../../node_modules/is-buffer/index.js":150,"./internal":567}],566:[function(require,module,exports){
101602
102918
  "use strict";
101603
102919
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
101604
102920
  if (k2 === undefined) k2 = k;
@@ -101667,7 +102983,7 @@ Object.defineProperty(exports, "fromAscii", { enumerable: true, get: function ()
101667
102983
  Object.defineProperty(exports, "getKeys", { enumerable: true, get: function () { return internal_1.getKeys; } });
101668
102984
  Object.defineProperty(exports, "isHexString", { enumerable: true, get: function () { return internal_1.isHexString; } });
101669
102985
 
101670
- },{"./account":543,"./address":544,"./bytes":545,"./constants":546,"./externals":547,"./hash":548,"./internal":551,"./object":552,"./signature":553,"./types":554}],551:[function(require,module,exports){
102986
+ },{"./account":559,"./address":560,"./bytes":561,"./constants":562,"./externals":563,"./hash":564,"./internal":567,"./object":568,"./signature":569,"./types":570}],567:[function(require,module,exports){
101671
102987
  (function (Buffer){(function (){
101672
102988
  "use strict";
101673
102989
  /*
@@ -101861,7 +103177,7 @@ function isHexString(value, length) {
101861
103177
  exports.isHexString = isHexString;
101862
103178
 
101863
103179
  }).call(this)}).call(this,require("buffer").Buffer)
101864
- },{"buffer":67}],552:[function(require,module,exports){
103180
+ },{"buffer":67}],568:[function(require,module,exports){
101865
103181
  (function (Buffer){(function (){
101866
103182
  "use strict";
101867
103183
  var __importDefault = (this && this.__importDefault) || function (mod) {
@@ -101974,7 +103290,7 @@ var defineProperties = function (self, fields, data) {
101974
103290
  exports.defineProperties = defineProperties;
101975
103291
 
101976
103292
  }).call(this)}).call(this,require("buffer").Buffer)
101977
- },{"./bytes":545,"./externals":547,"./internal":551,"assert":16,"buffer":67}],553:[function(require,module,exports){
103293
+ },{"./bytes":561,"./externals":563,"./internal":567,"assert":16,"buffer":67}],569:[function(require,module,exports){
101978
103294
  (function (Buffer){(function (){
101979
103295
  "use strict";
101980
103296
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -102141,7 +103457,7 @@ var hashPersonalMessage = function (message) {
102141
103457
  exports.hashPersonalMessage = hashPersonalMessage;
102142
103458
 
102143
103459
  }).call(this)}).call(this,require("buffer").Buffer)
102144
- },{"./bytes":545,"./externals":547,"./hash":548,"./helpers":549,"./types":554,"buffer":67,"ethereum-cryptography/secp256k1":530}],554:[function(require,module,exports){
103460
+ },{"./bytes":561,"./externals":563,"./hash":564,"./helpers":565,"./types":570,"buffer":67,"ethereum-cryptography/secp256k1":546}],570:[function(require,module,exports){
102145
103461
  (function (Buffer){(function (){
102146
103462
  "use strict";
102147
103463
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -102221,9 +103537,9 @@ function toType(input, outputType) {
102221
103537
  exports.toType = toType;
102222
103538
 
102223
103539
  }).call(this)}).call(this,require("buffer").Buffer)
102224
- },{"./bytes":545,"./externals":547,"./internal":551,"buffer":67}],555:[function(require,module,exports){
103540
+ },{"./bytes":561,"./externals":563,"./internal":567,"buffer":67}],571:[function(require,module,exports){
102225
103541
  arguments[4][22][0].apply(exports,arguments)
102226
- },{"buffer":24,"dup":22}],556:[function(require,module,exports){
103542
+ },{"buffer":24,"dup":22}],572:[function(require,module,exports){
102227
103543
  (function (Buffer){(function (){
102228
103544
  'use strict';
102229
103545
 
@@ -102446,42 +103762,42 @@ module.exports = {
102446
103762
  isHexString: isHexString
102447
103763
  };
102448
103764
  }).call(this)}).call(this,require("buffer").Buffer)
102449
- },{"buffer":67,"is-hex-prefixed":572,"strip-hex-prefix":614}],557:[function(require,module,exports){
103765
+ },{"buffer":67,"is-hex-prefixed":588,"strip-hex-prefix":630}],573:[function(require,module,exports){
102450
103766
  arguments[4][118][0].apply(exports,arguments)
102451
- },{"dup":118,"inherits":571,"readable-stream":597,"safe-buffer":601}],558:[function(require,module,exports){
103767
+ },{"dup":118,"inherits":587,"readable-stream":613,"safe-buffer":617}],574:[function(require,module,exports){
102452
103768
  arguments[4][134][0].apply(exports,arguments)
102453
- },{"./hash/common":559,"./hash/hmac":560,"./hash/ripemd":561,"./hash/sha":562,"./hash/utils":569,"dup":134}],559:[function(require,module,exports){
103769
+ },{"./hash/common":575,"./hash/hmac":576,"./hash/ripemd":577,"./hash/sha":578,"./hash/utils":585,"dup":134}],575:[function(require,module,exports){
102454
103770
  arguments[4][135][0].apply(exports,arguments)
102455
- },{"./utils":569,"dup":135,"minimalistic-assert":580}],560:[function(require,module,exports){
103771
+ },{"./utils":585,"dup":135,"minimalistic-assert":596}],576:[function(require,module,exports){
102456
103772
  arguments[4][136][0].apply(exports,arguments)
102457
- },{"./utils":569,"dup":136,"minimalistic-assert":580}],561:[function(require,module,exports){
103773
+ },{"./utils":585,"dup":136,"minimalistic-assert":596}],577:[function(require,module,exports){
102458
103774
  arguments[4][137][0].apply(exports,arguments)
102459
- },{"./common":559,"./utils":569,"dup":137}],562:[function(require,module,exports){
103775
+ },{"./common":575,"./utils":585,"dup":137}],578:[function(require,module,exports){
102460
103776
  arguments[4][138][0].apply(exports,arguments)
102461
- },{"./sha/1":563,"./sha/224":564,"./sha/256":565,"./sha/384":566,"./sha/512":567,"dup":138}],563:[function(require,module,exports){
103777
+ },{"./sha/1":579,"./sha/224":580,"./sha/256":581,"./sha/384":582,"./sha/512":583,"dup":138}],579:[function(require,module,exports){
102462
103778
  arguments[4][139][0].apply(exports,arguments)
102463
- },{"../common":559,"../utils":569,"./common":568,"dup":139}],564:[function(require,module,exports){
103779
+ },{"../common":575,"../utils":585,"./common":584,"dup":139}],580:[function(require,module,exports){
102464
103780
  arguments[4][140][0].apply(exports,arguments)
102465
- },{"../utils":569,"./256":565,"dup":140}],565:[function(require,module,exports){
103781
+ },{"../utils":585,"./256":581,"dup":140}],581:[function(require,module,exports){
102466
103782
  arguments[4][141][0].apply(exports,arguments)
102467
- },{"../common":559,"../utils":569,"./common":568,"dup":141,"minimalistic-assert":580}],566:[function(require,module,exports){
103783
+ },{"../common":575,"../utils":585,"./common":584,"dup":141,"minimalistic-assert":596}],582:[function(require,module,exports){
102468
103784
  arguments[4][142][0].apply(exports,arguments)
102469
- },{"../utils":569,"./512":567,"dup":142}],567:[function(require,module,exports){
103785
+ },{"../utils":585,"./512":583,"dup":142}],583:[function(require,module,exports){
102470
103786
  arguments[4][143][0].apply(exports,arguments)
102471
- },{"../common":559,"../utils":569,"dup":143,"minimalistic-assert":580}],568:[function(require,module,exports){
103787
+ },{"../common":575,"../utils":585,"dup":143,"minimalistic-assert":596}],584:[function(require,module,exports){
102472
103788
  arguments[4][144][0].apply(exports,arguments)
102473
- },{"../utils":569,"dup":144}],569:[function(require,module,exports){
103789
+ },{"../utils":585,"dup":144}],585:[function(require,module,exports){
102474
103790
  arguments[4][145][0].apply(exports,arguments)
102475
- },{"dup":145,"inherits":571,"minimalistic-assert":580}],570:[function(require,module,exports){
103791
+ },{"dup":145,"inherits":587,"minimalistic-assert":596}],586:[function(require,module,exports){
102476
103792
  arguments[4][146][0].apply(exports,arguments)
102477
- },{"dup":146,"hash.js":558,"minimalistic-assert":580,"minimalistic-crypto-utils":581}],571:[function(require,module,exports){
103793
+ },{"dup":146,"hash.js":574,"minimalistic-assert":596,"minimalistic-crypto-utils":597}],587:[function(require,module,exports){
102478
103794
  arguments[4][148][0].apply(exports,arguments)
102479
- },{"dup":148}],572:[function(require,module,exports){
102480
- arguments[4][365][0].apply(exports,arguments)
102481
- },{"dup":365}],573:[function(require,module,exports){
103795
+ },{"dup":148}],588:[function(require,module,exports){
103796
+ arguments[4][370][0].apply(exports,arguments)
103797
+ },{"dup":370}],589:[function(require,module,exports){
102482
103798
  module.exports = require('./lib/api')(require('./lib/keccak'))
102483
103799
 
102484
- },{"./lib/api":574,"./lib/keccak":578}],574:[function(require,module,exports){
103800
+ },{"./lib/api":590,"./lib/keccak":594}],590:[function(require,module,exports){
102485
103801
  const createKeccak = require('./keccak')
102486
103802
  const createShake = require('./shake')
102487
103803
 
@@ -102510,7 +103826,7 @@ module.exports = function (KeccakState) {
102510
103826
  }
102511
103827
  }
102512
103828
 
102513
- },{"./keccak":575,"./shake":576}],575:[function(require,module,exports){
103829
+ },{"./keccak":591,"./shake":592}],591:[function(require,module,exports){
102514
103830
  (function (Buffer){(function (){
102515
103831
  const { Transform } = require('readable-stream')
102516
103832
 
@@ -102591,7 +103907,7 @@ module.exports = (KeccakState) => class Keccak extends Transform {
102591
103907
  }
102592
103908
 
102593
103909
  }).call(this)}).call(this,require("buffer").Buffer)
102594
- },{"buffer":67,"readable-stream":597}],576:[function(require,module,exports){
103910
+ },{"buffer":67,"readable-stream":613}],592:[function(require,module,exports){
102595
103911
  (function (Buffer){(function (){
102596
103912
  const { Transform } = require('readable-stream')
102597
103913
 
@@ -102663,7 +103979,7 @@ module.exports = (KeccakState) => class Shake extends Transform {
102663
103979
  }
102664
103980
 
102665
103981
  }).call(this)}).call(this,require("buffer").Buffer)
102666
- },{"buffer":67,"readable-stream":597}],577:[function(require,module,exports){
103982
+ },{"buffer":67,"readable-stream":613}],593:[function(require,module,exports){
102667
103983
  const P1600_ROUND_CONSTANTS = [1, 0, 32898, 0, 32906, 2147483648, 2147516416, 2147483648, 32907, 0, 2147483649, 0, 2147516545, 2147483648, 32777, 2147483648, 138, 0, 136, 0, 2147516425, 0, 2147483658, 0, 2147516555, 0, 139, 2147483648, 32905, 2147483648, 32771, 2147483648, 32770, 2147483648, 128, 2147483648, 32778, 0, 2147483658, 2147483648, 2147516545, 2147483648, 32896, 2147483648, 2147483649, 0, 2147516424, 2147483648]
102668
103984
 
102669
103985
  exports.p1600 = function (s) {
@@ -102851,7 +104167,7 @@ exports.p1600 = function (s) {
102851
104167
  }
102852
104168
  }
102853
104169
 
102854
- },{}],578:[function(require,module,exports){
104170
+ },{}],594:[function(require,module,exports){
102855
104171
  (function (Buffer){(function (){
102856
104172
  const keccakState = require('./keccak-state-unroll')
102857
104173
 
@@ -102923,47 +104239,47 @@ Keccak.prototype.copy = function (dest) {
102923
104239
  module.exports = Keccak
102924
104240
 
102925
104241
  }).call(this)}).call(this,require("buffer").Buffer)
102926
- },{"./keccak-state-unroll":577,"buffer":67}],579:[function(require,module,exports){
104242
+ },{"./keccak-state-unroll":593,"buffer":67}],595:[function(require,module,exports){
102927
104243
  arguments[4][154][0].apply(exports,arguments)
102928
- },{"dup":154,"hash-base":557,"inherits":571,"safe-buffer":601}],580:[function(require,module,exports){
104244
+ },{"dup":154,"hash-base":573,"inherits":587,"safe-buffer":617}],596:[function(require,module,exports){
102929
104245
  arguments[4][157][0].apply(exports,arguments)
102930
- },{"dup":157}],581:[function(require,module,exports){
104246
+ },{"dup":157}],597:[function(require,module,exports){
102931
104247
  arguments[4][158][0].apply(exports,arguments)
102932
- },{"dup":158}],582:[function(require,module,exports){
104248
+ },{"dup":158}],598:[function(require,module,exports){
102933
104249
  arguments[4][179][0].apply(exports,arguments)
102934
- },{"_process":171,"dup":179,"safe-buffer":601}],583:[function(require,module,exports){
104250
+ },{"_process":171,"dup":179,"safe-buffer":617}],599:[function(require,module,exports){
102935
104251
  arguments[4][52][0].apply(exports,arguments)
102936
- },{"dup":52}],584:[function(require,module,exports){
104252
+ },{"dup":52}],600:[function(require,module,exports){
102937
104253
  arguments[4][53][0].apply(exports,arguments)
102938
- },{"./_stream_readable":586,"./_stream_writable":588,"_process":171,"dup":53,"inherits":571}],585:[function(require,module,exports){
104254
+ },{"./_stream_readable":602,"./_stream_writable":604,"_process":171,"dup":53,"inherits":587}],601:[function(require,module,exports){
102939
104255
  arguments[4][54][0].apply(exports,arguments)
102940
- },{"./_stream_transform":587,"dup":54,"inherits":571}],586:[function(require,module,exports){
104256
+ },{"./_stream_transform":603,"dup":54,"inherits":587}],602:[function(require,module,exports){
102941
104257
  arguments[4][55][0].apply(exports,arguments)
102942
- },{"../errors":583,"./_stream_duplex":584,"./internal/streams/async_iterator":589,"./internal/streams/buffer_list":590,"./internal/streams/destroy":591,"./internal/streams/from":593,"./internal/streams/state":595,"./internal/streams/stream":596,"_process":171,"buffer":67,"dup":55,"events":108,"inherits":571,"string_decoder/":613,"util":24}],587:[function(require,module,exports){
104258
+ },{"../errors":599,"./_stream_duplex":600,"./internal/streams/async_iterator":605,"./internal/streams/buffer_list":606,"./internal/streams/destroy":607,"./internal/streams/from":609,"./internal/streams/state":611,"./internal/streams/stream":612,"_process":171,"buffer":67,"dup":55,"events":108,"inherits":587,"string_decoder/":629,"util":24}],603:[function(require,module,exports){
102943
104259
  arguments[4][56][0].apply(exports,arguments)
102944
- },{"../errors":583,"./_stream_duplex":584,"dup":56,"inherits":571}],588:[function(require,module,exports){
104260
+ },{"../errors":599,"./_stream_duplex":600,"dup":56,"inherits":587}],604:[function(require,module,exports){
102945
104261
  arguments[4][57][0].apply(exports,arguments)
102946
- },{"../errors":583,"./_stream_duplex":584,"./internal/streams/destroy":591,"./internal/streams/state":595,"./internal/streams/stream":596,"_process":171,"buffer":67,"dup":57,"inherits":571,"util-deprecate":617}],589:[function(require,module,exports){
104262
+ },{"../errors":599,"./_stream_duplex":600,"./internal/streams/destroy":607,"./internal/streams/state":611,"./internal/streams/stream":612,"_process":171,"buffer":67,"dup":57,"inherits":587,"util-deprecate":633}],605:[function(require,module,exports){
102947
104263
  arguments[4][58][0].apply(exports,arguments)
102948
- },{"./end-of-stream":592,"_process":171,"dup":58}],590:[function(require,module,exports){
104264
+ },{"./end-of-stream":608,"_process":171,"dup":58}],606:[function(require,module,exports){
102949
104265
  arguments[4][59][0].apply(exports,arguments)
102950
- },{"buffer":67,"dup":59,"util":24}],591:[function(require,module,exports){
104266
+ },{"buffer":67,"dup":59,"util":24}],607:[function(require,module,exports){
102951
104267
  arguments[4][60][0].apply(exports,arguments)
102952
- },{"_process":171,"dup":60}],592:[function(require,module,exports){
104268
+ },{"_process":171,"dup":60}],608:[function(require,module,exports){
102953
104269
  arguments[4][61][0].apply(exports,arguments)
102954
- },{"../../../errors":583,"dup":61}],593:[function(require,module,exports){
104270
+ },{"../../../errors":599,"dup":61}],609:[function(require,module,exports){
102955
104271
  arguments[4][62][0].apply(exports,arguments)
102956
- },{"dup":62}],594:[function(require,module,exports){
104272
+ },{"dup":62}],610:[function(require,module,exports){
102957
104273
  arguments[4][63][0].apply(exports,arguments)
102958
- },{"../../../errors":583,"./end-of-stream":592,"dup":63}],595:[function(require,module,exports){
104274
+ },{"../../../errors":599,"./end-of-stream":608,"dup":63}],611:[function(require,module,exports){
102959
104275
  arguments[4][64][0].apply(exports,arguments)
102960
- },{"../../../errors":583,"dup":64}],596:[function(require,module,exports){
104276
+ },{"../../../errors":599,"dup":64}],612:[function(require,module,exports){
102961
104277
  arguments[4][65][0].apply(exports,arguments)
102962
- },{"dup":65,"events":108}],597:[function(require,module,exports){
104278
+ },{"dup":65,"events":108}],613:[function(require,module,exports){
102963
104279
  arguments[4][66][0].apply(exports,arguments)
102964
- },{"./lib/_stream_duplex.js":584,"./lib/_stream_passthrough.js":585,"./lib/_stream_readable.js":586,"./lib/_stream_transform.js":587,"./lib/_stream_writable.js":588,"./lib/internal/streams/end-of-stream.js":592,"./lib/internal/streams/pipeline.js":594,"dup":66}],598:[function(require,module,exports){
104280
+ },{"./lib/_stream_duplex.js":600,"./lib/_stream_passthrough.js":601,"./lib/_stream_readable.js":602,"./lib/_stream_transform.js":603,"./lib/_stream_writable.js":604,"./lib/internal/streams/end-of-stream.js":608,"./lib/internal/streams/pipeline.js":610,"dup":66}],614:[function(require,module,exports){
102965
104281
  arguments[4][181][0].apply(exports,arguments)
102966
- },{"buffer":67,"dup":181,"hash-base":557,"inherits":571}],599:[function(require,module,exports){
104282
+ },{"buffer":67,"dup":181,"hash-base":573,"inherits":587}],615:[function(require,module,exports){
102967
104283
  (function (Buffer){(function (){
102968
104284
  "use strict";
102969
104285
  var __importDefault = (this && this.__importDefault) || function (mod) {
@@ -103218,13 +104534,13 @@ function toBuffer(v) {
103218
104534
  }
103219
104535
 
103220
104536
  }).call(this)}).call(this,require("buffer").Buffer)
103221
- },{"bn.js":600,"buffer":67}],600:[function(require,module,exports){
104537
+ },{"bn.js":616,"buffer":67}],616:[function(require,module,exports){
103222
104538
  arguments[4][22][0].apply(exports,arguments)
103223
- },{"buffer":24,"dup":22}],601:[function(require,module,exports){
104539
+ },{"buffer":24,"dup":22}],617:[function(require,module,exports){
103224
104540
  arguments[4][182][0].apply(exports,arguments)
103225
- },{"buffer":67,"dup":182}],602:[function(require,module,exports){
103226
- arguments[4][394][0].apply(exports,arguments)
103227
- },{"./lib":604,"./lib/elliptic":603,"dup":394}],603:[function(require,module,exports){
104541
+ },{"buffer":67,"dup":182}],618:[function(require,module,exports){
104542
+ arguments[4][399][0].apply(exports,arguments)
104543
+ },{"./lib":620,"./lib/elliptic":619,"dup":399}],619:[function(require,module,exports){
103228
104544
  const EC = require('elliptic').ec
103229
104545
 
103230
104546
  const ec = new EC('secp256k1')
@@ -103628,27 +104944,27 @@ module.exports = {
103628
104944
  }
103629
104945
  }
103630
104946
 
103631
- },{"elliptic":511}],604:[function(require,module,exports){
103632
- arguments[4][396][0].apply(exports,arguments)
103633
- },{"dup":396}],605:[function(require,module,exports){
104947
+ },{"elliptic":527}],620:[function(require,module,exports){
104948
+ arguments[4][401][0].apply(exports,arguments)
104949
+ },{"dup":401}],621:[function(require,module,exports){
103634
104950
  arguments[4][184][0].apply(exports,arguments)
103635
- },{"dup":184,"safe-buffer":601}],606:[function(require,module,exports){
104951
+ },{"dup":184,"safe-buffer":617}],622:[function(require,module,exports){
103636
104952
  arguments[4][185][0].apply(exports,arguments)
103637
- },{"./sha":607,"./sha1":608,"./sha224":609,"./sha256":610,"./sha384":611,"./sha512":612,"dup":185}],607:[function(require,module,exports){
104953
+ },{"./sha":623,"./sha1":624,"./sha224":625,"./sha256":626,"./sha384":627,"./sha512":628,"dup":185}],623:[function(require,module,exports){
103638
104954
  arguments[4][186][0].apply(exports,arguments)
103639
- },{"./hash":605,"dup":186,"inherits":571,"safe-buffer":601}],608:[function(require,module,exports){
104955
+ },{"./hash":621,"dup":186,"inherits":587,"safe-buffer":617}],624:[function(require,module,exports){
103640
104956
  arguments[4][187][0].apply(exports,arguments)
103641
- },{"./hash":605,"dup":187,"inherits":571,"safe-buffer":601}],609:[function(require,module,exports){
104957
+ },{"./hash":621,"dup":187,"inherits":587,"safe-buffer":617}],625:[function(require,module,exports){
103642
104958
  arguments[4][188][0].apply(exports,arguments)
103643
- },{"./hash":605,"./sha256":610,"dup":188,"inherits":571,"safe-buffer":601}],610:[function(require,module,exports){
104959
+ },{"./hash":621,"./sha256":626,"dup":188,"inherits":587,"safe-buffer":617}],626:[function(require,module,exports){
103644
104960
  arguments[4][189][0].apply(exports,arguments)
103645
- },{"./hash":605,"dup":189,"inherits":571,"safe-buffer":601}],611:[function(require,module,exports){
104961
+ },{"./hash":621,"dup":189,"inherits":587,"safe-buffer":617}],627:[function(require,module,exports){
103646
104962
  arguments[4][190][0].apply(exports,arguments)
103647
- },{"./hash":605,"./sha512":612,"dup":190,"inherits":571,"safe-buffer":601}],612:[function(require,module,exports){
104963
+ },{"./hash":621,"./sha512":628,"dup":190,"inherits":587,"safe-buffer":617}],628:[function(require,module,exports){
103648
104964
  arguments[4][191][0].apply(exports,arguments)
103649
- },{"./hash":605,"dup":191,"inherits":571,"safe-buffer":601}],613:[function(require,module,exports){
104965
+ },{"./hash":621,"dup":191,"inherits":587,"safe-buffer":617}],629:[function(require,module,exports){
103650
104966
  arguments[4][207][0].apply(exports,arguments)
103651
- },{"dup":207,"safe-buffer":601}],614:[function(require,module,exports){
104967
+ },{"dup":207,"safe-buffer":617}],630:[function(require,module,exports){
103652
104968
  var isHexPrefixed = require('is-hex-prefixed');
103653
104969
 
103654
104970
  /**
@@ -103664,7 +104980,7 @@ module.exports = function stripHexPrefix(str) {
103664
104980
  return isHexPrefixed(str) ? str.slice(2) : str;
103665
104981
  }
103666
104982
 
103667
- },{"is-hex-prefixed":572}],615:[function(require,module,exports){
104983
+ },{"is-hex-prefixed":588}],631:[function(require,module,exports){
103668
104984
  (function (Buffer){(function (){
103669
104985
  // Written in 2014-2016 by Dmitry Chestnykh and Devi Mandiri.
103670
104986
  // Public domain.
@@ -103749,7 +105065,7 @@ module.exports = function stripHexPrefix(str) {
103749
105065
  }));
103750
105066
 
103751
105067
  }).call(this)}).call(this,require("buffer").Buffer)
103752
- },{"buffer":24}],616:[function(require,module,exports){
105068
+ },{"buffer":24}],632:[function(require,module,exports){
103753
105069
  (function(nacl) {
103754
105070
  'use strict';
103755
105071
 
@@ -106142,7 +107458,7 @@ nacl.setPRNG = function(fn) {
106142
107458
 
106143
107459
  })(typeof module !== 'undefined' && module.exports ? module.exports : (self.nacl = self.nacl || {}));
106144
107460
 
106145
- },{"crypto":24}],617:[function(require,module,exports){
107461
+ },{"crypto":24}],633:[function(require,module,exports){
106146
107462
  arguments[4][209][0].apply(exports,arguments)
106147
- },{"dup":209}]},{},[426])(426)
107463
+ },{"dup":209}]},{},[440])(440)
106148
107464
  });