@airgap/ethereum 0.13.7-beta.13 → 0.13.7-beta.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/airgap-coinlib-ethereum.min.js +423 -1739
- package/index.d.ts +0 -2
- package/index.js +1 -3
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/utils/create-protocol.d.ts +0 -3
- package/utils/create-protocol.js +0 -31
- package/utils/create-protocol.js.map +0 -1
|
@@ -29946,433 +29946,6 @@ 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";
|
|
30376
29949
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30377
29950
|
exports.RPCBody = void 0;
|
|
30378
29951
|
var RPCBody = /** @class */ (function () {
|
|
@@ -30388,9 +29961,9 @@ var RPCBody = /** @class */ (function () {
|
|
|
30388
29961
|
}());
|
|
30389
29962
|
exports.RPCBody = RPCBody;
|
|
30390
29963
|
|
|
30391
|
-
},{}],
|
|
29964
|
+
},{}],215:[function(require,module,exports){
|
|
30392
29965
|
module.exports = require('./lib/axios');
|
|
30393
|
-
},{"./lib/axios":
|
|
29966
|
+
},{"./lib/axios":217}],216:[function(require,module,exports){
|
|
30394
29967
|
'use strict';
|
|
30395
29968
|
|
|
30396
29969
|
var utils = require('./../utils');
|
|
@@ -30566,7 +30139,7 @@ module.exports = function xhrAdapter(config) {
|
|
|
30566
30139
|
});
|
|
30567
30140
|
};
|
|
30568
30141
|
|
|
30569
|
-
},{"../core/createError":
|
|
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){
|
|
30570
30143
|
'use strict';
|
|
30571
30144
|
|
|
30572
30145
|
var utils = require('./utils');
|
|
@@ -30621,7 +30194,7 @@ module.exports = axios;
|
|
|
30621
30194
|
// Allow use of default import syntax in TypeScript
|
|
30622
30195
|
module.exports.default = axios;
|
|
30623
30196
|
|
|
30624
|
-
},{"./cancel/Cancel":
|
|
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){
|
|
30625
30198
|
'use strict';
|
|
30626
30199
|
|
|
30627
30200
|
/**
|
|
@@ -30642,7 +30215,7 @@ Cancel.prototype.__CANCEL__ = true;
|
|
|
30642
30215
|
|
|
30643
30216
|
module.exports = Cancel;
|
|
30644
30217
|
|
|
30645
|
-
},{}],
|
|
30218
|
+
},{}],219:[function(require,module,exports){
|
|
30646
30219
|
'use strict';
|
|
30647
30220
|
|
|
30648
30221
|
var Cancel = require('./Cancel');
|
|
@@ -30701,14 +30274,14 @@ CancelToken.source = function source() {
|
|
|
30701
30274
|
|
|
30702
30275
|
module.exports = CancelToken;
|
|
30703
30276
|
|
|
30704
|
-
},{"./Cancel":
|
|
30277
|
+
},{"./Cancel":218}],220:[function(require,module,exports){
|
|
30705
30278
|
'use strict';
|
|
30706
30279
|
|
|
30707
30280
|
module.exports = function isCancel(value) {
|
|
30708
30281
|
return !!(value && value.__CANCEL__);
|
|
30709
30282
|
};
|
|
30710
30283
|
|
|
30711
|
-
},{}],
|
|
30284
|
+
},{}],221:[function(require,module,exports){
|
|
30712
30285
|
'use strict';
|
|
30713
30286
|
|
|
30714
30287
|
var utils = require('./../utils');
|
|
@@ -30796,7 +30369,7 @@ utils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {
|
|
|
30796
30369
|
|
|
30797
30370
|
module.exports = Axios;
|
|
30798
30371
|
|
|
30799
|
-
},{"../helpers/buildURL":
|
|
30372
|
+
},{"../helpers/buildURL":231,"./../utils":239,"./InterceptorManager":222,"./dispatchRequest":224,"./mergeConfig":226}],222:[function(require,module,exports){
|
|
30800
30373
|
'use strict';
|
|
30801
30374
|
|
|
30802
30375
|
var utils = require('./../utils');
|
|
@@ -30850,7 +30423,7 @@ InterceptorManager.prototype.forEach = function forEach(fn) {
|
|
|
30850
30423
|
|
|
30851
30424
|
module.exports = InterceptorManager;
|
|
30852
30425
|
|
|
30853
|
-
},{"./../utils":
|
|
30426
|
+
},{"./../utils":239}],223:[function(require,module,exports){
|
|
30854
30427
|
'use strict';
|
|
30855
30428
|
|
|
30856
30429
|
var enhanceError = require('./enhanceError');
|
|
@@ -30870,7 +30443,7 @@ module.exports = function createError(message, config, code, request, response)
|
|
|
30870
30443
|
return enhanceError(error, config, code, request, response);
|
|
30871
30444
|
};
|
|
30872
30445
|
|
|
30873
|
-
},{"./enhanceError":
|
|
30446
|
+
},{"./enhanceError":225}],224:[function(require,module,exports){
|
|
30874
30447
|
'use strict';
|
|
30875
30448
|
|
|
30876
30449
|
var utils = require('./../utils');
|
|
@@ -30958,7 +30531,7 @@ module.exports = function dispatchRequest(config) {
|
|
|
30958
30531
|
});
|
|
30959
30532
|
};
|
|
30960
30533
|
|
|
30961
|
-
},{"../cancel/isCancel":
|
|
30534
|
+
},{"../cancel/isCancel":220,"../defaults":229,"./../helpers/combineURLs":232,"./../helpers/isAbsoluteURL":234,"./../utils":239,"./transformData":228}],225:[function(require,module,exports){
|
|
30962
30535
|
'use strict';
|
|
30963
30536
|
|
|
30964
30537
|
/**
|
|
@@ -31002,7 +30575,7 @@ module.exports = function enhanceError(error, config, code, request, response) {
|
|
|
31002
30575
|
return error;
|
|
31003
30576
|
};
|
|
31004
30577
|
|
|
31005
|
-
},{}],
|
|
30578
|
+
},{}],226:[function(require,module,exports){
|
|
31006
30579
|
'use strict';
|
|
31007
30580
|
|
|
31008
30581
|
var utils = require('../utils');
|
|
@@ -31055,7 +30628,7 @@ module.exports = function mergeConfig(config1, config2) {
|
|
|
31055
30628
|
return config;
|
|
31056
30629
|
};
|
|
31057
30630
|
|
|
31058
|
-
},{"../utils":
|
|
30631
|
+
},{"../utils":239}],227:[function(require,module,exports){
|
|
31059
30632
|
'use strict';
|
|
31060
30633
|
|
|
31061
30634
|
var createError = require('./createError');
|
|
@@ -31082,7 +30655,7 @@ module.exports = function settle(resolve, reject, response) {
|
|
|
31082
30655
|
}
|
|
31083
30656
|
};
|
|
31084
30657
|
|
|
31085
|
-
},{"./createError":
|
|
30658
|
+
},{"./createError":223}],228:[function(require,module,exports){
|
|
31086
30659
|
'use strict';
|
|
31087
30660
|
|
|
31088
30661
|
var utils = require('./../utils');
|
|
@@ -31104,7 +30677,7 @@ module.exports = function transformData(data, headers, fns) {
|
|
|
31104
30677
|
return data;
|
|
31105
30678
|
};
|
|
31106
30679
|
|
|
31107
|
-
},{"./../utils":
|
|
30680
|
+
},{"./../utils":239}],229:[function(require,module,exports){
|
|
31108
30681
|
(function (process){(function (){
|
|
31109
30682
|
'use strict';
|
|
31110
30683
|
|
|
@@ -31206,7 +30779,7 @@ utils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {
|
|
|
31206
30779
|
module.exports = defaults;
|
|
31207
30780
|
|
|
31208
30781
|
}).call(this)}).call(this,require('_process'))
|
|
31209
|
-
},{"./adapters/http":
|
|
30782
|
+
},{"./adapters/http":216,"./adapters/xhr":216,"./helpers/normalizeHeaderName":236,"./utils":239,"_process":171}],230:[function(require,module,exports){
|
|
31210
30783
|
'use strict';
|
|
31211
30784
|
|
|
31212
30785
|
module.exports = function bind(fn, thisArg) {
|
|
@@ -31219,7 +30792,7 @@ module.exports = function bind(fn, thisArg) {
|
|
|
31219
30792
|
};
|
|
31220
30793
|
};
|
|
31221
30794
|
|
|
31222
|
-
},{}],
|
|
30795
|
+
},{}],231:[function(require,module,exports){
|
|
31223
30796
|
'use strict';
|
|
31224
30797
|
|
|
31225
30798
|
var utils = require('./../utils');
|
|
@@ -31292,7 +30865,7 @@ module.exports = function buildURL(url, params, paramsSerializer) {
|
|
|
31292
30865
|
return url;
|
|
31293
30866
|
};
|
|
31294
30867
|
|
|
31295
|
-
},{"./../utils":
|
|
30868
|
+
},{"./../utils":239}],232:[function(require,module,exports){
|
|
31296
30869
|
'use strict';
|
|
31297
30870
|
|
|
31298
30871
|
/**
|
|
@@ -31308,7 +30881,7 @@ module.exports = function combineURLs(baseURL, relativeURL) {
|
|
|
31308
30881
|
: baseURL;
|
|
31309
30882
|
};
|
|
31310
30883
|
|
|
31311
|
-
},{}],
|
|
30884
|
+
},{}],233:[function(require,module,exports){
|
|
31312
30885
|
'use strict';
|
|
31313
30886
|
|
|
31314
30887
|
var utils = require('./../utils');
|
|
@@ -31363,7 +30936,7 @@ module.exports = (
|
|
|
31363
30936
|
})()
|
|
31364
30937
|
);
|
|
31365
30938
|
|
|
31366
|
-
},{"./../utils":
|
|
30939
|
+
},{"./../utils":239}],234:[function(require,module,exports){
|
|
31367
30940
|
'use strict';
|
|
31368
30941
|
|
|
31369
30942
|
/**
|
|
@@ -31379,7 +30952,7 @@ module.exports = function isAbsoluteURL(url) {
|
|
|
31379
30952
|
return /^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(url);
|
|
31380
30953
|
};
|
|
31381
30954
|
|
|
31382
|
-
},{}],
|
|
30955
|
+
},{}],235:[function(require,module,exports){
|
|
31383
30956
|
'use strict';
|
|
31384
30957
|
|
|
31385
30958
|
var utils = require('./../utils');
|
|
@@ -31449,7 +31022,7 @@ module.exports = (
|
|
|
31449
31022
|
})()
|
|
31450
31023
|
);
|
|
31451
31024
|
|
|
31452
|
-
},{"./../utils":
|
|
31025
|
+
},{"./../utils":239}],236:[function(require,module,exports){
|
|
31453
31026
|
'use strict';
|
|
31454
31027
|
|
|
31455
31028
|
var utils = require('../utils');
|
|
@@ -31463,7 +31036,7 @@ module.exports = function normalizeHeaderName(headers, normalizedName) {
|
|
|
31463
31036
|
});
|
|
31464
31037
|
};
|
|
31465
31038
|
|
|
31466
|
-
},{"../utils":
|
|
31039
|
+
},{"../utils":239}],237:[function(require,module,exports){
|
|
31467
31040
|
'use strict';
|
|
31468
31041
|
|
|
31469
31042
|
var utils = require('./../utils');
|
|
@@ -31518,7 +31091,7 @@ module.exports = function parseHeaders(headers) {
|
|
|
31518
31091
|
return parsed;
|
|
31519
31092
|
};
|
|
31520
31093
|
|
|
31521
|
-
},{"./../utils":
|
|
31094
|
+
},{"./../utils":239}],238:[function(require,module,exports){
|
|
31522
31095
|
'use strict';
|
|
31523
31096
|
|
|
31524
31097
|
/**
|
|
@@ -31547,7 +31120,7 @@ module.exports = function spread(callback) {
|
|
|
31547
31120
|
};
|
|
31548
31121
|
};
|
|
31549
31122
|
|
|
31550
|
-
},{}],
|
|
31123
|
+
},{}],239:[function(require,module,exports){
|
|
31551
31124
|
'use strict';
|
|
31552
31125
|
|
|
31553
31126
|
var bind = require('./helpers/bind');
|
|
@@ -31883,7 +31456,7 @@ module.exports = {
|
|
|
31883
31456
|
trim: trim
|
|
31884
31457
|
};
|
|
31885
31458
|
|
|
31886
|
-
},{"../../is-buffer-2.0.3/index":
|
|
31459
|
+
},{"../../is-buffer-2.0.3/index":364,"./helpers/bind":230}],240:[function(require,module,exports){
|
|
31887
31460
|
'use strict'
|
|
31888
31461
|
// base-x encoding / decoding
|
|
31889
31462
|
// Copyright (c) 2018 base-x contributors
|
|
@@ -32005,7 +31578,7 @@ function base (ALPHABET) {
|
|
|
32005
31578
|
}
|
|
32006
31579
|
module.exports = base
|
|
32007
31580
|
|
|
32008
|
-
},{"../../safe-buffer-5.2.0/index":
|
|
31581
|
+
},{"../../safe-buffer-5.2.0/index":387}],241:[function(require,module,exports){
|
|
32009
31582
|
'use strict'
|
|
32010
31583
|
let ALPHABET = 'qpzry9x8gf2tvdw0s3jn54khce6mua7l'
|
|
32011
31584
|
|
|
@@ -32146,7 +31719,7 @@ function fromWords (words) {
|
|
|
32146
31719
|
|
|
32147
31720
|
module.exports = { decode, encode, toWords, fromWords }
|
|
32148
31721
|
|
|
32149
|
-
},{}],
|
|
31722
|
+
},{}],242:[function(require,module,exports){
|
|
32150
31723
|
// (public) Constructor
|
|
32151
31724
|
function BigInteger(a, b, c) {
|
|
32152
31725
|
if (!(this instanceof BigInteger))
|
|
@@ -33657,7 +33230,7 @@ BigInteger.valueOf = nbv
|
|
|
33657
33230
|
|
|
33658
33231
|
module.exports = BigInteger
|
|
33659
33232
|
|
|
33660
|
-
},{"../package.json":
|
|
33233
|
+
},{"../package.json":245}],243:[function(require,module,exports){
|
|
33661
33234
|
(function (Buffer){(function (){
|
|
33662
33235
|
// FIXME: Kind of a weird way to throw exceptions, consider removing
|
|
33663
33236
|
var assert = require('assert')
|
|
@@ -33752,14 +33325,14 @@ BigInteger.prototype.toHex = function(size) {
|
|
|
33752
33325
|
}
|
|
33753
33326
|
|
|
33754
33327
|
}).call(this)}).call(this,require("buffer").Buffer)
|
|
33755
|
-
},{"./bigi":
|
|
33328
|
+
},{"./bigi":242,"assert":16,"buffer":67}],244:[function(require,module,exports){
|
|
33756
33329
|
var BigInteger = require('./bigi')
|
|
33757
33330
|
|
|
33758
33331
|
//addons
|
|
33759
33332
|
require('./convert')
|
|
33760
33333
|
|
|
33761
33334
|
module.exports = BigInteger
|
|
33762
|
-
},{"./bigi":
|
|
33335
|
+
},{"./bigi":242,"./convert":243}],245:[function(require,module,exports){
|
|
33763
33336
|
module.exports={
|
|
33764
33337
|
"name": "bigi",
|
|
33765
33338
|
"version": "1.4.2",
|
|
@@ -33815,7 +33388,7 @@ module.exports={
|
|
|
33815
33388
|
]
|
|
33816
33389
|
}
|
|
33817
33390
|
}
|
|
33818
|
-
},{}],
|
|
33391
|
+
},{}],246:[function(require,module,exports){
|
|
33819
33392
|
;(function (globalObject) {
|
|
33820
33393
|
'use strict';
|
|
33821
33394
|
|
|
@@ -36719,7 +36292,7 @@ module.exports={
|
|
|
36719
36292
|
}
|
|
36720
36293
|
})(this);
|
|
36721
36294
|
|
|
36722
|
-
},{}],
|
|
36295
|
+
},{}],247:[function(require,module,exports){
|
|
36723
36296
|
var Buffer = require('../safe-buffer-5.2.0/index').Buffer
|
|
36724
36297
|
var createHash = require('../create-hash-1.2.0/browser')
|
|
36725
36298
|
var pbkdf2 = require('../pbkdf2-3.0.17/index').pbkdf2Sync
|
|
@@ -36874,7 +36447,7 @@ module.exports = {
|
|
|
36874
36447
|
}
|
|
36875
36448
|
}
|
|
36876
36449
|
|
|
36877
|
-
},{"../create-hash-1.2.0/browser":
|
|
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){
|
|
36878
36451
|
module.exports=[
|
|
36879
36452
|
"的",
|
|
36880
36453
|
"一",
|
|
@@ -38925,7 +38498,7 @@ module.exports=[
|
|
|
38925
38498
|
"矮",
|
|
38926
38499
|
"歇"
|
|
38927
38500
|
]
|
|
38928
|
-
},{}],
|
|
38501
|
+
},{}],249:[function(require,module,exports){
|
|
38929
38502
|
module.exports=[
|
|
38930
38503
|
"的",
|
|
38931
38504
|
"一",
|
|
@@ -40976,7 +40549,7 @@ module.exports=[
|
|
|
40976
40549
|
"矮",
|
|
40977
40550
|
"歇"
|
|
40978
40551
|
]
|
|
40979
|
-
},{}],
|
|
40552
|
+
},{}],250:[function(require,module,exports){
|
|
40980
40553
|
module.exports=[
|
|
40981
40554
|
"abandon",
|
|
40982
40555
|
"ability",
|
|
@@ -43027,7 +42600,7 @@ module.exports=[
|
|
|
43027
42600
|
"zone",
|
|
43028
42601
|
"zoo"
|
|
43029
42602
|
]
|
|
43030
|
-
},{}],
|
|
42603
|
+
},{}],251:[function(require,module,exports){
|
|
43031
42604
|
module.exports=[
|
|
43032
42605
|
"abaisser",
|
|
43033
42606
|
"abandon",
|
|
@@ -45078,7 +44651,7 @@ module.exports=[
|
|
|
45078
44651
|
"zeste",
|
|
45079
44652
|
"zoologie"
|
|
45080
44653
|
]
|
|
45081
|
-
},{}],
|
|
44654
|
+
},{}],252:[function(require,module,exports){
|
|
45082
44655
|
module.exports=[
|
|
45083
44656
|
"abaco",
|
|
45084
44657
|
"abbaglio",
|
|
@@ -47129,7 +46702,7 @@ module.exports=[
|
|
|
47129
46702
|
"zulu",
|
|
47130
46703
|
"zuppa"
|
|
47131
46704
|
]
|
|
47132
|
-
},{}],
|
|
46705
|
+
},{}],253:[function(require,module,exports){
|
|
47133
46706
|
module.exports=[
|
|
47134
46707
|
"あいこくしん",
|
|
47135
46708
|
"あいさつ",
|
|
@@ -49180,7 +48753,7 @@ module.exports=[
|
|
|
49180
48753
|
"わらう",
|
|
49181
48754
|
"われる"
|
|
49182
48755
|
]
|
|
49183
|
-
},{}],
|
|
48756
|
+
},{}],254:[function(require,module,exports){
|
|
49184
48757
|
module.exports=[
|
|
49185
48758
|
"가격",
|
|
49186
48759
|
"가끔",
|
|
@@ -51231,7 +50804,7 @@ module.exports=[
|
|
|
51231
50804
|
"흰색",
|
|
51232
50805
|
"힘껏"
|
|
51233
50806
|
]
|
|
51234
|
-
},{}],
|
|
50807
|
+
},{}],255:[function(require,module,exports){
|
|
51235
50808
|
module.exports=[
|
|
51236
50809
|
"ábaco",
|
|
51237
50810
|
"abdomen",
|
|
@@ -53282,7 +52855,7 @@ module.exports=[
|
|
|
53282
52855
|
"zumo",
|
|
53283
52856
|
"zurdo"
|
|
53284
52857
|
]
|
|
53285
|
-
},{}],
|
|
52858
|
+
},{}],256:[function(require,module,exports){
|
|
53286
52859
|
// Reference https://github.com/bitcoin/bips/blob/master/bip-0066.mediawiki
|
|
53287
52860
|
// Format: 0x30 [total-length] 0x02 [R-length] [R] 0x02 [S-length] [S]
|
|
53288
52861
|
// NOTE: SIGHASH byte ignored AND restricted, truncate before use
|
|
@@ -53397,7 +52970,7 @@ module.exports = {
|
|
|
53397
52970
|
encode: encode
|
|
53398
52971
|
}
|
|
53399
52972
|
|
|
53400
|
-
},{"../safe-buffer-5.2.0/index":
|
|
52973
|
+
},{"../safe-buffer-5.2.0/index":387}],257:[function(require,module,exports){
|
|
53401
52974
|
module.exports={
|
|
53402
52975
|
"OP_FALSE": 0,
|
|
53403
52976
|
"OP_0": 0,
|
|
@@ -53518,7 +53091,7 @@ module.exports={
|
|
|
53518
53091
|
"OP_PUBKEY": 254,
|
|
53519
53092
|
"OP_INVALIDOPCODE": 255
|
|
53520
53093
|
}
|
|
53521
|
-
},{}],
|
|
53094
|
+
},{}],258:[function(require,module,exports){
|
|
53522
53095
|
var OPS = require('./index.json')
|
|
53523
53096
|
|
|
53524
53097
|
var map = {}
|
|
@@ -53529,7 +53102,7 @@ for (var op in OPS) {
|
|
|
53529
53102
|
|
|
53530
53103
|
module.exports = map
|
|
53531
53104
|
|
|
53532
|
-
},{"./index.json":
|
|
53105
|
+
},{"./index.json":257}],259:[function(require,module,exports){
|
|
53533
53106
|
var Buffer = require('../../safe-buffer-5.2.0/index').Buffer
|
|
53534
53107
|
var bech32 = require('../../bech32-0.0.3/index')
|
|
53535
53108
|
var bs58check = require('../../bs58check-2.1.2/index')
|
|
@@ -53640,7 +53213,7 @@ module.exports = {
|
|
|
53640
53213
|
toOutputScript: toOutputScript
|
|
53641
53214
|
}
|
|
53642
53215
|
|
|
53643
|
-
},{"../../bech32-0.0.3/index":
|
|
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){
|
|
53644
53217
|
var Buffer = require('../../safe-buffer-5.2.0/index').Buffer
|
|
53645
53218
|
var bcrypto = require('./crypto')
|
|
53646
53219
|
var fastMerkleRoot = require('../../merkle-lib-2.0.10/fastRoot')
|
|
@@ -53876,7 +53449,7 @@ Block.prototype.checkProofOfWork = function () {
|
|
|
53876
53449
|
|
|
53877
53450
|
module.exports = Block
|
|
53878
53451
|
|
|
53879
|
-
},{"../../merkle-lib-2.0.10/fastRoot":
|
|
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){
|
|
53880
53453
|
var Buffer = require('../../safe-buffer-5.2.0/index').Buffer
|
|
53881
53454
|
var bufferutils = require('./bufferutils')
|
|
53882
53455
|
var varuint = require('../../varuint-bitcoin-1.1.2/index')
|
|
@@ -53918,7 +53491,7 @@ BufferWriter.prototype.writeVarSlice = function (slice) {
|
|
|
53918
53491
|
|
|
53919
53492
|
module.exports = BufferWriter
|
|
53920
53493
|
|
|
53921
|
-
},{"../../safe-buffer-5.2.0/index":
|
|
53494
|
+
},{"../../safe-buffer-5.2.0/index":387,"../../varuint-bitcoin-1.1.2/index":413,"./bufferutils":262}],262:[function(require,module,exports){
|
|
53922
53495
|
var pushdata = require('../../pushdata-bitcoin-1.0.1/index')
|
|
53923
53496
|
var varuint = require('../../varuint-bitcoin-1.1.2/index')
|
|
53924
53497
|
|
|
@@ -53985,7 +53558,7 @@ module.exports = {
|
|
|
53985
53558
|
writeVarInt: writeVarInt
|
|
53986
53559
|
}
|
|
53987
53560
|
|
|
53988
|
-
},{"../../pushdata-bitcoin-1.0.1/index":
|
|
53561
|
+
},{"../../pushdata-bitcoin-1.0.1/index":383,"../../varuint-bitcoin-1.1.2/index":413}],263:[function(require,module,exports){
|
|
53989
53562
|
// Coins supported by bitgo-bitcoinjs-lib
|
|
53990
53563
|
const typeforce = require('../../typeforce-1.18.0/index')
|
|
53991
53564
|
|
|
@@ -54040,7 +53613,7 @@ coins.isValidCoin = typeforce.oneOf(
|
|
|
54040
53613
|
|
|
54041
53614
|
module.exports = coins
|
|
54042
53615
|
|
|
54043
|
-
},{"../../typeforce-1.18.0/index":
|
|
53616
|
+
},{"../../typeforce-1.18.0/index":408}],264:[function(require,module,exports){
|
|
54044
53617
|
(function (Buffer){(function (){
|
|
54045
53618
|
var createHash = require('../../create-hash-1.2.0/browser')
|
|
54046
53619
|
var groestlhash = require('../../groestl-hash-js-ef6a04f1c4d2f0448f0882b5f213ef7a0659baee/index')
|
|
@@ -54087,7 +53660,7 @@ module.exports = {
|
|
|
54087
53660
|
}
|
|
54088
53661
|
|
|
54089
53662
|
}).call(this)}).call(this,require("buffer").Buffer)
|
|
54090
|
-
},{"../../create-hash-1.2.0/browser":
|
|
53663
|
+
},{"../../create-hash-1.2.0/browser":308,"../../groestl-hash-js-ef6a04f1c4d2f0448f0882b5f213ef7a0659baee/index":344,"buffer":67,"crypto":78}],265:[function(require,module,exports){
|
|
54091
53664
|
var Buffer = require('../../safe-buffer-5.2.0/index').Buffer
|
|
54092
53665
|
var createHmac = require('../../create-hmac-1.1.4/browser')
|
|
54093
53666
|
var typeforce = require('../../typeforce-1.18.0/index')
|
|
@@ -54250,7 +53823,7 @@ module.exports = {
|
|
|
54250
53823
|
__curve: secp256k1
|
|
54251
53824
|
}
|
|
54252
53825
|
|
|
54253
|
-
},{"../../bigi-1.4.2/lib/index":
|
|
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){
|
|
54254
53827
|
(function (Buffer){(function (){
|
|
54255
53828
|
var baddress = require('./address')
|
|
54256
53829
|
var bcrypto = require('./crypto')
|
|
@@ -54409,7 +53982,7 @@ ECPair.prototype.verify = function (hash, signature) {
|
|
|
54409
53982
|
module.exports = ECPair
|
|
54410
53983
|
|
|
54411
53984
|
}).call(this)}).call(this,require("buffer").Buffer)
|
|
54412
|
-
},{"../../bigi-1.4.2/lib/index":
|
|
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){
|
|
54413
53986
|
(function (Buffer){(function (){
|
|
54414
53987
|
var bip66 = require('../../bip66-1.1.5/index')
|
|
54415
53988
|
var typeforce = require('../../typeforce-1.18.0/index')
|
|
@@ -54510,7 +54083,7 @@ ECSignature.prototype.toScriptSignature = function (hashType) {
|
|
|
54510
54083
|
module.exports = ECSignature
|
|
54511
54084
|
|
|
54512
54085
|
}).call(this)}).call(this,require("buffer").Buffer)
|
|
54513
|
-
},{"../../bigi-1.4.2/lib/index":
|
|
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){
|
|
54514
54087
|
var typeforce = require('../../typeforce-1.18.0/index')
|
|
54515
54088
|
|
|
54516
54089
|
var ECSignature = require('./ecsignature')
|
|
@@ -54604,7 +54177,7 @@ module.exports = {
|
|
|
54604
54177
|
verify: verify
|
|
54605
54178
|
}
|
|
54606
54179
|
|
|
54607
|
-
},{"../../secp256k1-3.7.1/elliptic":
|
|
54180
|
+
},{"../../secp256k1-3.7.1/elliptic":388,"../../typeforce-1.18.0/index":408,"./ecsignature":267,"./types":298}],269:[function(require,module,exports){
|
|
54608
54181
|
var Buffer = require('../../safe-buffer-5.2.0/index').Buffer
|
|
54609
54182
|
var base58check = require('../../bs58check-2.1.2/index')
|
|
54610
54183
|
var bcrypto = require('./crypto')
|
|
@@ -54969,7 +54542,7 @@ HDNode.prototype.cloneKeypair = function () {
|
|
|
54969
54542
|
|
|
54970
54543
|
module.exports = HDNode
|
|
54971
54544
|
|
|
54972
|
-
},{"../../bigi-1.4.2/lib/index":
|
|
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){
|
|
54973
54546
|
var script = require('./script')
|
|
54974
54547
|
|
|
54975
54548
|
var templates = require('./templates')
|
|
@@ -54995,7 +54568,7 @@ module.exports = {
|
|
|
54995
54568
|
script: script
|
|
54996
54569
|
}
|
|
54997
54570
|
|
|
54998
|
-
},{"../../bitcoin-ops-1.4.1/index.json":
|
|
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){
|
|
54999
54572
|
// https://en.bitcoin.it/wiki/List_of_address_prefixes
|
|
55000
54573
|
// Dogecoin BIP32 is a proposed standard: https://bitcointalk.org/index.php?topic=409731
|
|
55001
54574
|
var coins = require('./coins')
|
|
@@ -55211,7 +54784,7 @@ module.exports = {
|
|
|
55211
54784
|
}
|
|
55212
54785
|
}
|
|
55213
54786
|
|
|
55214
|
-
},{"./coins":
|
|
54787
|
+
},{"./coins":263,"./crypto":264}],272:[function(require,module,exports){
|
|
55215
54788
|
var Buffer = require('../../safe-buffer-5.2.0/index').Buffer
|
|
55216
54789
|
var bip66 = require('../../bip66-1.1.5/index')
|
|
55217
54790
|
var pushdata = require('../../pushdata-bitcoin-1.0.1/index')
|
|
@@ -55427,7 +55000,7 @@ module.exports = {
|
|
|
55427
55000
|
isDefinedHashType: isDefinedHashType
|
|
55428
55001
|
}
|
|
55429
55002
|
|
|
55430
|
-
},{"../../bip66-1.1.5/index":
|
|
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){
|
|
55431
55004
|
var Buffer = require('../../safe-buffer-5.2.0/index').Buffer
|
|
55432
55005
|
|
|
55433
55006
|
function decode (buffer, maxLength, minimal) {
|
|
@@ -55497,7 +55070,7 @@ module.exports = {
|
|
|
55497
55070
|
encode: encode
|
|
55498
55071
|
}
|
|
55499
55072
|
|
|
55500
|
-
},{"../../safe-buffer-5.2.0/index":
|
|
55073
|
+
},{"../../safe-buffer-5.2.0/index":387}],274:[function(require,module,exports){
|
|
55501
55074
|
var decompile = require('../script').decompile
|
|
55502
55075
|
var multisig = require('./multisig')
|
|
55503
55076
|
var nullData = require('./nulldata')
|
|
@@ -55573,13 +55146,13 @@ module.exports = {
|
|
|
55573
55146
|
types: types
|
|
55574
55147
|
}
|
|
55575
55148
|
|
|
55576
|
-
},{"../script":
|
|
55149
|
+
},{"../script":272,"./multisig":275,"./nulldata":278,"./pubkey":279,"./pubkeyhash":282,"./scripthash":285,"./witnesscommitment":288,"./witnesspubkeyhash":290,"./witnessscripthash":293}],275:[function(require,module,exports){
|
|
55577
55150
|
module.exports = {
|
|
55578
55151
|
input: require('./input'),
|
|
55579
55152
|
output: require('./output')
|
|
55580
55153
|
}
|
|
55581
55154
|
|
|
55582
|
-
},{"./input":
|
|
55155
|
+
},{"./input":276,"./output":277}],276:[function(require,module,exports){
|
|
55583
55156
|
// OP_0 [signatures ...]
|
|
55584
55157
|
|
|
55585
55158
|
var Buffer = require('../../../../safe-buffer-5.2.0/index').Buffer
|
|
@@ -55652,7 +55225,7 @@ module.exports = {
|
|
|
55652
55225
|
encodeStack: encodeStack
|
|
55653
55226
|
}
|
|
55654
55227
|
|
|
55655
|
-
},{"../../../../bitcoin-ops-1.4.1/index.json":
|
|
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){
|
|
55656
55229
|
// m [pubKeys ...] n OP_CHECKMULTISIG
|
|
55657
55230
|
|
|
55658
55231
|
var bscript = require('../../script')
|
|
@@ -55718,7 +55291,7 @@ module.exports = {
|
|
|
55718
55291
|
encode: encode
|
|
55719
55292
|
}
|
|
55720
55293
|
|
|
55721
|
-
},{"../../../../bitcoin-ops-1.4.1/index.json":
|
|
55294
|
+
},{"../../../../bitcoin-ops-1.4.1/index.json":257,"../../../../typeforce-1.18.0/index":408,"../../script":272,"../../types":298}],278:[function(require,module,exports){
|
|
55722
55295
|
// OP_RETURN {data}
|
|
55723
55296
|
|
|
55724
55297
|
var bscript = require('../script')
|
|
@@ -55759,9 +55332,9 @@ module.exports = {
|
|
|
55759
55332
|
}
|
|
55760
55333
|
}
|
|
55761
55334
|
|
|
55762
|
-
},{"../../../bitcoin-ops-1.4.1/index.json":
|
|
55763
|
-
arguments[4][
|
|
55764
|
-
},{"./input":
|
|
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){
|
|
55765
55338
|
// {signature}
|
|
55766
55339
|
|
|
55767
55340
|
var bscript = require('../../script')
|
|
@@ -55802,7 +55375,7 @@ module.exports = {
|
|
|
55802
55375
|
encodeStack: encodeStack
|
|
55803
55376
|
}
|
|
55804
55377
|
|
|
55805
|
-
},{"../../../../typeforce-1.18.0/index":
|
|
55378
|
+
},{"../../../../typeforce-1.18.0/index":408,"../../script":272}],281:[function(require,module,exports){
|
|
55806
55379
|
// {pubKey} OP_CHECKSIG
|
|
55807
55380
|
|
|
55808
55381
|
var bscript = require('../../script')
|
|
@@ -55837,9 +55410,9 @@ module.exports = {
|
|
|
55837
55410
|
encode: encode
|
|
55838
55411
|
}
|
|
55839
55412
|
|
|
55840
|
-
},{"../../../../bitcoin-ops-1.4.1/index.json":
|
|
55841
|
-
arguments[4][
|
|
55842
|
-
},{"./input":
|
|
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){
|
|
55843
55416
|
// {signature} {pubKey}
|
|
55844
55417
|
|
|
55845
55418
|
var bscript = require('../../script')
|
|
@@ -55892,7 +55465,7 @@ module.exports = {
|
|
|
55892
55465
|
encodeStack: encodeStack
|
|
55893
55466
|
}
|
|
55894
55467
|
|
|
55895
|
-
},{"../../../../typeforce-1.18.0/index":
|
|
55468
|
+
},{"../../../../typeforce-1.18.0/index":408,"../../script":272}],284:[function(require,module,exports){
|
|
55896
55469
|
// OP_DUP OP_HASH160 {pubKeyHash} OP_EQUALVERIFY OP_CHECKSIG
|
|
55897
55470
|
|
|
55898
55471
|
var bscript = require('../../script')
|
|
@@ -55936,9 +55509,9 @@ module.exports = {
|
|
|
55936
55509
|
encode: encode
|
|
55937
55510
|
}
|
|
55938
55511
|
|
|
55939
|
-
},{"../../../../bitcoin-ops-1.4.1/index.json":
|
|
55940
|
-
arguments[4][
|
|
55941
|
-
},{"./input":
|
|
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){
|
|
55942
55515
|
// <scriptSig> {serialized scriptPubKey script}
|
|
55943
55516
|
|
|
55944
55517
|
var Buffer = require('../../../../safe-buffer-5.2.0/index').Buffer
|
|
@@ -56024,7 +55597,7 @@ module.exports = {
|
|
|
56024
55597
|
encodeStack: encodeStack
|
|
56025
55598
|
}
|
|
56026
55599
|
|
|
56027
|
-
},{"../../../../safe-buffer-5.2.0/index":
|
|
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){
|
|
56028
55601
|
// OP_HASH160 {scriptHash} OP_EQUAL
|
|
56029
55602
|
|
|
56030
55603
|
var bscript = require('../../script')
|
|
@@ -56060,12 +55633,12 @@ module.exports = {
|
|
|
56060
55633
|
encode: encode
|
|
56061
55634
|
}
|
|
56062
55635
|
|
|
56063
|
-
},{"../../../../bitcoin-ops-1.4.1/index.json":
|
|
55636
|
+
},{"../../../../bitcoin-ops-1.4.1/index.json":257,"../../../../typeforce-1.18.0/index":408,"../../script":272,"../../types":298}],288:[function(require,module,exports){
|
|
56064
55637
|
module.exports = {
|
|
56065
55638
|
output: require('./output')
|
|
56066
55639
|
}
|
|
56067
55640
|
|
|
56068
|
-
},{"./output":
|
|
55641
|
+
},{"./output":289}],289:[function(require,module,exports){
|
|
56069
55642
|
// OP_RETURN {aa21a9ed} {commitment}
|
|
56070
55643
|
|
|
56071
55644
|
var Buffer = require('../../../../safe-buffer-5.2.0/index').Buffer
|
|
@@ -56109,9 +55682,9 @@ module.exports = {
|
|
|
56109
55682
|
encode: encode
|
|
56110
55683
|
}
|
|
56111
55684
|
|
|
56112
|
-
},{"../../../../bitcoin-ops-1.4.1/index.json":
|
|
56113
|
-
arguments[4][
|
|
56114
|
-
},{"./input":
|
|
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){
|
|
56115
55688
|
// {signature} {pubKey}
|
|
56116
55689
|
|
|
56117
55690
|
var bscript = require('../../script')
|
|
@@ -56157,7 +55730,7 @@ module.exports = {
|
|
|
56157
55730
|
encodeStack: encodeStack
|
|
56158
55731
|
}
|
|
56159
55732
|
|
|
56160
|
-
},{"../../../../typeforce-1.18.0/index":
|
|
55733
|
+
},{"../../../../typeforce-1.18.0/index":408,"../../script":272}],292:[function(require,module,exports){
|
|
56161
55734
|
// OP_0 {pubKeyHash}
|
|
56162
55735
|
|
|
56163
55736
|
var bscript = require('../../script')
|
|
@@ -56192,9 +55765,9 @@ module.exports = {
|
|
|
56192
55765
|
encode: encode
|
|
56193
55766
|
}
|
|
56194
55767
|
|
|
56195
|
-
},{"../../../../bitcoin-ops-1.4.1/index.json":
|
|
56196
|
-
arguments[4][
|
|
56197
|
-
},{"./input":
|
|
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){
|
|
56198
55771
|
(function (Buffer){(function (){
|
|
56199
55772
|
// <scriptSig> {serialized scriptPubKey script}
|
|
56200
55773
|
|
|
@@ -56261,7 +55834,7 @@ module.exports = {
|
|
|
56261
55834
|
}
|
|
56262
55835
|
|
|
56263
55836
|
}).call(this)}).call(this,{"isBuffer":require("../../../../../../../../../node_modules/is-buffer/index.js")})
|
|
56264
|
-
},{"../../../../../../../../../node_modules/is-buffer/index.js":150,"../../../../typeforce-1.18.0/index":
|
|
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){
|
|
56265
55838
|
// OP_0 {scriptHash}
|
|
56266
55839
|
|
|
56267
55840
|
var bscript = require('../../script')
|
|
@@ -56296,7 +55869,7 @@ module.exports = {
|
|
|
56296
55869
|
encode: encode
|
|
56297
55870
|
}
|
|
56298
55871
|
|
|
56299
|
-
},{"../../../../bitcoin-ops-1.4.1/index.json":
|
|
55872
|
+
},{"../../../../bitcoin-ops-1.4.1/index.json":257,"../../../../typeforce-1.18.0/index":408,"../../script":272,"../../types":298}],296:[function(require,module,exports){
|
|
56300
55873
|
var Buffer = require('../../safe-buffer-5.2.0/index').Buffer
|
|
56301
55874
|
var BufferWriter = require('./bufferWriter')
|
|
56302
55875
|
var bcrypto = require('./crypto')
|
|
@@ -57423,7 +56996,7 @@ Transaction.prototype.setWitness = function (index, witness) {
|
|
|
57423
56996
|
|
|
57424
56997
|
module.exports = Transaction
|
|
57425
56998
|
|
|
57426
|
-
},{"../../bitcoin-ops-1.4.1/index.json":
|
|
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){
|
|
57427
57000
|
var Buffer = require('../../safe-buffer-5.2.0/index').Buffer
|
|
57428
57001
|
var baddress = require('./address')
|
|
57429
57002
|
var bcrypto = require('./crypto')
|
|
@@ -58317,7 +57890,7 @@ TransactionBuilder.prototype.__overMaximumFees = function (bytes) {
|
|
|
58317
57890
|
|
|
58318
57891
|
module.exports = TransactionBuilder
|
|
58319
57892
|
|
|
58320
|
-
},{"../../bitcoin-ops-1.4.1/index.json":
|
|
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){
|
|
58321
57894
|
var typeforce = require('../../typeforce-1.18.0/index')
|
|
58322
57895
|
|
|
58323
57896
|
var UINT31_MAX = Math.pow(2, 31) - 1
|
|
@@ -58374,7 +57947,7 @@ for (var typeName in typeforce) {
|
|
|
58374
57947
|
|
|
58375
57948
|
module.exports = types
|
|
58376
57949
|
|
|
58377
|
-
},{"../../typeforce-1.18.0/index":
|
|
57950
|
+
},{"../../typeforce-1.18.0/index":408}],299:[function(require,module,exports){
|
|
58378
57951
|
var assert = require('../nanoassert-1.1.0/index')
|
|
58379
57952
|
var b2wasm = require('../blake2b-wasm-193cdb71656c1a6c7f89b05d0327bb9b758d071b/index')
|
|
58380
57953
|
|
|
@@ -58689,7 +58262,7 @@ b2wasm.ready(function (err) {
|
|
|
58689
58262
|
}
|
|
58690
58263
|
})
|
|
58691
58264
|
|
|
58692
|
-
},{"../blake2b-wasm-193cdb71656c1a6c7f89b05d0327bb9b758d071b/index":
|
|
58265
|
+
},{"../blake2b-wasm-193cdb71656c1a6c7f89b05d0327bb9b758d071b/index":301,"../nanoassert-1.1.0/index":377}],300:[function(require,module,exports){
|
|
58693
58266
|
|
|
58694
58267
|
module.exports = loadWebAssembly
|
|
58695
58268
|
|
|
@@ -58754,7 +58327,7 @@ function charCodeAt (c) {
|
|
|
58754
58327
|
return c.charCodeAt(0)
|
|
58755
58328
|
}
|
|
58756
58329
|
|
|
58757
|
-
},{}],
|
|
58330
|
+
},{}],301:[function(require,module,exports){
|
|
58758
58331
|
var assert = require('../nanoassert-1.1.0/index')
|
|
58759
58332
|
var wasm = require('./blake2b')()
|
|
58760
58333
|
|
|
@@ -58884,7 +58457,7 @@ function toHex (n) {
|
|
|
58884
58457
|
return n.toString(16)
|
|
58885
58458
|
}
|
|
58886
58459
|
|
|
58887
|
-
},{"../nanoassert-1.1.0/index":
|
|
58460
|
+
},{"../nanoassert-1.1.0/index":377,"./blake2b":300}],302:[function(require,module,exports){
|
|
58888
58461
|
(function (module, exports) {
|
|
58889
58462
|
'use strict';
|
|
58890
58463
|
|
|
@@ -62313,15 +61886,15 @@ function toHex (n) {
|
|
|
62313
61886
|
};
|
|
62314
61887
|
})(typeof module === 'undefined' || module, this);
|
|
62315
61888
|
|
|
62316
|
-
},{"buffer":67}],
|
|
61889
|
+
},{"buffer":67}],303:[function(require,module,exports){
|
|
62317
61890
|
arguments[4][23][0].apply(exports,arguments)
|
|
62318
|
-
},{"crypto":78,"dup":23}],
|
|
61891
|
+
},{"crypto":78,"dup":23}],304:[function(require,module,exports){
|
|
62319
61892
|
var basex = require('../base-x-3.0.7/src/index')
|
|
62320
61893
|
var ALPHABET = '123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz'
|
|
62321
61894
|
|
|
62322
61895
|
module.exports = basex(ALPHABET)
|
|
62323
61896
|
|
|
62324
|
-
},{"../base-x-3.0.7/src/index":
|
|
61897
|
+
},{"../base-x-3.0.7/src/index":240}],305:[function(require,module,exports){
|
|
62325
61898
|
'use strict'
|
|
62326
61899
|
|
|
62327
61900
|
var base58 = require('../bs58-4.0.1/index')
|
|
@@ -62373,7 +61946,7 @@ module.exports = function (checksumFn) {
|
|
|
62373
61946
|
}
|
|
62374
61947
|
}
|
|
62375
61948
|
|
|
62376
|
-
},{"../bs58-4.0.1/index":
|
|
61949
|
+
},{"../bs58-4.0.1/index":304,"../safe-buffer-5.2.0/index":387}],306:[function(require,module,exports){
|
|
62377
61950
|
'use strict'
|
|
62378
61951
|
|
|
62379
61952
|
var createHash = require('../create-hash-1.2.0/browser')
|
|
@@ -62387,7 +61960,7 @@ function sha256x2 (buffer) {
|
|
|
62387
61960
|
|
|
62388
61961
|
module.exports = bs58checkBase(sha256x2)
|
|
62389
61962
|
|
|
62390
|
-
},{"../create-hash-1.2.0/browser":
|
|
61963
|
+
},{"../create-hash-1.2.0/browser":308,"./base":305}],307:[function(require,module,exports){
|
|
62391
61964
|
var Buffer = require('../safe-buffer-5.2.0/index').Buffer
|
|
62392
61965
|
var Transform = require('stream').Transform
|
|
62393
61966
|
var StringDecoder = require('string_decoder').StringDecoder
|
|
@@ -62488,7 +62061,7 @@ CipherBase.prototype._toString = function (value, enc, fin) {
|
|
|
62488
62061
|
|
|
62489
62062
|
module.exports = CipherBase
|
|
62490
62063
|
|
|
62491
|
-
},{"../inherits-2.0.4/inherits":
|
|
62064
|
+
},{"../inherits-2.0.4/inherits":362,"../safe-buffer-5.2.0/index":387,"stream":192,"string_decoder":207}],308:[function(require,module,exports){
|
|
62492
62065
|
'use strict'
|
|
62493
62066
|
var inherits = require('../inherits-2.0.4/inherits')
|
|
62494
62067
|
var MD5 = require('../md5.js-1.3.5/index')
|
|
@@ -62520,10 +62093,10 @@ module.exports = function createHash (alg) {
|
|
|
62520
62093
|
return new Hash(sha(alg))
|
|
62521
62094
|
}
|
|
62522
62095
|
|
|
62523
|
-
},{"../cipher-base-1.0.4/index":
|
|
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){
|
|
62524
62097
|
module.exports = require('crypto').createHash
|
|
62525
62098
|
|
|
62526
|
-
},{"crypto":78}],
|
|
62099
|
+
},{"crypto":78}],310:[function(require,module,exports){
|
|
62527
62100
|
(function (Buffer){(function (){
|
|
62528
62101
|
'use strict';
|
|
62529
62102
|
var createHash = require('../create-hash-1.2.0/browser')
|
|
@@ -62595,7 +62168,7 @@ module.exports = function createHmac(alg, key) {
|
|
|
62595
62168
|
}
|
|
62596
62169
|
|
|
62597
62170
|
}).call(this)}).call(this,require("buffer").Buffer)
|
|
62598
|
-
},{"../create-hash-1.2.0/browser":
|
|
62171
|
+
},{"../create-hash-1.2.0/browser":308,"../inherits-2.0.4/inherits":362,"buffer":67,"stream":192}],311:[function(require,module,exports){
|
|
62599
62172
|
(function (process){(function (){
|
|
62600
62173
|
/**
|
|
62601
62174
|
* This is the web browser implementation of `debug()`.
|
|
@@ -62794,7 +62367,7 @@ function localstorage() {
|
|
|
62794
62367
|
}
|
|
62795
62368
|
|
|
62796
62369
|
}).call(this)}).call(this,require('_process'))
|
|
62797
|
-
},{"./debug":
|
|
62370
|
+
},{"./debug":312,"_process":171}],312:[function(require,module,exports){
|
|
62798
62371
|
|
|
62799
62372
|
/**
|
|
62800
62373
|
* This is the common logic for both the Node.js and web browser
|
|
@@ -63021,7 +62594,7 @@ function coerce(val) {
|
|
|
63021
62594
|
return val;
|
|
63022
62595
|
}
|
|
63023
62596
|
|
|
63024
|
-
},{"../../ms-2.1.2/index":
|
|
62597
|
+
},{"../../ms-2.1.2/index":376}],313:[function(require,module,exports){
|
|
63025
62598
|
(function (Buffer){(function (){
|
|
63026
62599
|
"use strict";
|
|
63027
62600
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -63055,7 +62628,7 @@ exports.utils = {
|
|
|
63055
62628
|
};
|
|
63056
62629
|
|
|
63057
62630
|
}).call(this)}).call(this,require("buffer").Buffer)
|
|
63058
|
-
},{"./keys":
|
|
62631
|
+
},{"./keys":316,"./utils":317,"buffer":67}],314:[function(require,module,exports){
|
|
63059
62632
|
(function (Buffer){(function (){
|
|
63060
62633
|
"use strict";
|
|
63061
62634
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
@@ -63116,7 +62689,7 @@ var PrivateKey = /** @class */ (function () {
|
|
|
63116
62689
|
exports.default = PrivateKey;
|
|
63117
62690
|
|
|
63118
62691
|
}).call(this)}).call(this,require("buffer").Buffer)
|
|
63119
|
-
},{"../../../futoin-hkdf-1.3.3/hkdf.js":
|
|
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){
|
|
63120
62693
|
(function (Buffer){(function (){
|
|
63121
62694
|
"use strict";
|
|
63122
62695
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
@@ -63180,7 +62753,7 @@ var PublicKey = /** @class */ (function () {
|
|
|
63180
62753
|
exports.default = PublicKey;
|
|
63181
62754
|
|
|
63182
62755
|
}).call(this)}).call(this,require("buffer").Buffer)
|
|
63183
|
-
},{"../../../futoin-hkdf-1.3.3/hkdf.js":
|
|
62756
|
+
},{"../../../futoin-hkdf-1.3.3/hkdf.js":343,"../../../secp256k1-4.0.2/elliptic":394,"../utils":317,"buffer":67}],316:[function(require,module,exports){
|
|
63184
62757
|
"use strict";
|
|
63185
62758
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
63186
62759
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -63192,7 +62765,7 @@ Object.defineProperty(exports, "PrivateKey", { enumerable: true, get: function (
|
|
|
63192
62765
|
var PublicKey_1 = require("./PublicKey");
|
|
63193
62766
|
Object.defineProperty(exports, "PublicKey", { enumerable: true, get: function () { return __importDefault(PublicKey_1).default; } });
|
|
63194
62767
|
|
|
63195
|
-
},{"./PrivateKey":
|
|
62768
|
+
},{"./PrivateKey":314,"./PublicKey":315}],317:[function(require,module,exports){
|
|
63196
62769
|
(function (Buffer){(function (){
|
|
63197
62770
|
"use strict";
|
|
63198
62771
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
@@ -63256,7 +62829,7 @@ function aesDecrypt(key, cipherText) {
|
|
|
63256
62829
|
exports.aesDecrypt = aesDecrypt;
|
|
63257
62830
|
|
|
63258
62831
|
}).call(this)}).call(this,require("buffer").Buffer)
|
|
63259
|
-
},{"../../secp256k1-4.0.2/elliptic":
|
|
62832
|
+
},{"../../secp256k1-4.0.2/elliptic":394,"buffer":67,"crypto":78}],318:[function(require,module,exports){
|
|
63260
62833
|
var assert = require('assert')
|
|
63261
62834
|
var BigInteger = require('../../bigi-1.4.2/lib/index')
|
|
63262
62835
|
|
|
@@ -63335,7 +62908,7 @@ Curve.prototype.validate = function (Q) {
|
|
|
63335
62908
|
|
|
63336
62909
|
module.exports = Curve
|
|
63337
62910
|
|
|
63338
|
-
},{"../../bigi-1.4.2/lib/index":
|
|
62911
|
+
},{"../../bigi-1.4.2/lib/index":244,"./point":322,"assert":16}],319:[function(require,module,exports){
|
|
63339
62912
|
module.exports={
|
|
63340
62913
|
"secp128r1": {
|
|
63341
62914
|
"p": "fffffffdffffffffffffffffffffffff",
|
|
@@ -63401,7 +62974,7 @@ module.exports={
|
|
|
63401
62974
|
"Gy": "4fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5"
|
|
63402
62975
|
}
|
|
63403
62976
|
}
|
|
63404
|
-
},{}],
|
|
62977
|
+
},{}],320:[function(require,module,exports){
|
|
63405
62978
|
var Point = require('./point')
|
|
63406
62979
|
var Curve = require('./curve')
|
|
63407
62980
|
|
|
@@ -63413,7 +62986,7 @@ module.exports = {
|
|
|
63413
62986
|
getCurveByName: getCurveByName
|
|
63414
62987
|
}
|
|
63415
62988
|
|
|
63416
|
-
},{"./curve":
|
|
62989
|
+
},{"./curve":318,"./names":321,"./point":322}],321:[function(require,module,exports){
|
|
63417
62990
|
var BigInteger = require('../../bigi-1.4.2/lib/index')
|
|
63418
62991
|
|
|
63419
62992
|
var curves = require('./curves.json')
|
|
@@ -63436,7 +63009,7 @@ function getCurveByName (name) {
|
|
|
63436
63009
|
|
|
63437
63010
|
module.exports = getCurveByName
|
|
63438
63011
|
|
|
63439
|
-
},{"../../bigi-1.4.2/lib/index":
|
|
63012
|
+
},{"../../bigi-1.4.2/lib/index":244,"./curve":318,"./curves.json":319}],322:[function(require,module,exports){
|
|
63440
63013
|
var assert = require('assert')
|
|
63441
63014
|
var Buffer = require('../../safe-buffer-5.2.0/index').Buffer
|
|
63442
63015
|
var BigInteger = require('../../bigi-1.4.2/lib/index')
|
|
@@ -63682,7 +63255,7 @@ Point.prototype.toString = function () {
|
|
|
63682
63255
|
|
|
63683
63256
|
module.exports = Point
|
|
63684
63257
|
|
|
63685
|
-
},{"../../bigi-1.4.2/lib/index":
|
|
63258
|
+
},{"../../bigi-1.4.2/lib/index":244,"../../safe-buffer-5.2.0/index":387,"assert":16}],323:[function(require,module,exports){
|
|
63686
63259
|
'use strict';
|
|
63687
63260
|
|
|
63688
63261
|
var elliptic = exports;
|
|
@@ -63697,7 +63270,7 @@ elliptic.curves = require('./elliptic/curves');
|
|
|
63697
63270
|
elliptic.ec = require('./elliptic/ec');
|
|
63698
63271
|
elliptic.eddsa = require('./elliptic/eddsa');
|
|
63699
63272
|
|
|
63700
|
-
},{"../../brorand-1.1.0/index":
|
|
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){
|
|
63701
63274
|
'use strict';
|
|
63702
63275
|
|
|
63703
63276
|
var BN = require('../../../../bn.js-4.11.8/lib/bn');
|
|
@@ -64075,7 +63648,7 @@ BasePoint.prototype.dblp = function dblp(k) {
|
|
|
64075
63648
|
return r;
|
|
64076
63649
|
};
|
|
64077
63650
|
|
|
64078
|
-
},{"../../../../bn.js-4.11.8/lib/bn":
|
|
63651
|
+
},{"../../../../bn.js-4.11.8/lib/bn":302,"../utils":337}],325:[function(require,module,exports){
|
|
64079
63652
|
'use strict';
|
|
64080
63653
|
|
|
64081
63654
|
var utils = require('../utils');
|
|
@@ -64509,9 +64082,9 @@ Point.prototype.eqXToP = function eqXToP(x) {
|
|
|
64509
64082
|
Point.prototype.toP = Point.prototype.normalize;
|
|
64510
64083
|
Point.prototype.mixedAdd = Point.prototype.add;
|
|
64511
64084
|
|
|
64512
|
-
},{"../../../../bn.js-4.11.8/lib/bn":
|
|
64085
|
+
},{"../../../../bn.js-4.11.8/lib/bn":302,"../../../../inherits-2.0.4/inherits":362,"../utils":337,"./base":324}],326:[function(require,module,exports){
|
|
64513
64086
|
arguments[4][93][0].apply(exports,arguments)
|
|
64514
|
-
},{"./base":
|
|
64087
|
+
},{"./base":324,"./edwards":325,"./mont":327,"./short":328,"dup":93}],327:[function(require,module,exports){
|
|
64515
64088
|
'use strict';
|
|
64516
64089
|
|
|
64517
64090
|
var BN = require('../../../../bn.js-4.11.8/lib/bn');
|
|
@@ -64691,7 +64264,7 @@ Point.prototype.getX = function getX() {
|
|
|
64691
64264
|
return this.x.fromRed();
|
|
64692
64265
|
};
|
|
64693
64266
|
|
|
64694
|
-
},{"../../../../bn.js-4.11.8/lib/bn":
|
|
64267
|
+
},{"../../../../bn.js-4.11.8/lib/bn":302,"../../../../inherits-2.0.4/inherits":362,"../utils":337,"./base":324}],328:[function(require,module,exports){
|
|
64695
64268
|
'use strict';
|
|
64696
64269
|
|
|
64697
64270
|
var utils = require('../utils');
|
|
@@ -65630,7 +65203,7 @@ JPoint.prototype.isInfinity = function isInfinity() {
|
|
|
65630
65203
|
return this.z.cmpn(0) === 0;
|
|
65631
65204
|
};
|
|
65632
65205
|
|
|
65633
|
-
},{"../../../../bn.js-4.11.8/lib/bn":
|
|
65206
|
+
},{"../../../../bn.js-4.11.8/lib/bn":302,"../../../../inherits-2.0.4/inherits":362,"../utils":337,"./base":324}],329:[function(require,module,exports){
|
|
65634
65207
|
'use strict';
|
|
65635
65208
|
|
|
65636
65209
|
var curves = exports;
|
|
@@ -65838,7 +65411,7 @@ defineCurve('secp256k1', {
|
|
|
65838
65411
|
]
|
|
65839
65412
|
});
|
|
65840
65413
|
|
|
65841
|
-
},{"../../../hash.js-1.1.7/lib/hash":
|
|
65414
|
+
},{"../../../hash.js-1.1.7/lib/hash":349,"./curve":326,"./precomputed/secp256k1":336,"./utils":337}],330:[function(require,module,exports){
|
|
65842
65415
|
'use strict';
|
|
65843
65416
|
|
|
65844
65417
|
var BN = require('../../../../bn.js-4.11.8/lib/bn');
|
|
@@ -66081,7 +65654,7 @@ EC.prototype.getKeyRecoveryParam = function(e, signature, Q, enc) {
|
|
|
66081
65654
|
throw new Error('Unable to find valid recovery factor');
|
|
66082
65655
|
};
|
|
66083
65656
|
|
|
66084
|
-
},{"../../../../bn.js-4.11.8/lib/bn":
|
|
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){
|
|
66085
65658
|
'use strict';
|
|
66086
65659
|
|
|
66087
65660
|
var BN = require('../../../../bn.js-4.11.8/lib/bn');
|
|
@@ -66201,7 +65774,7 @@ KeyPair.prototype.inspect = function inspect() {
|
|
|
66201
65774
|
' pub: ' + (this.pub && this.pub.inspect()) + ' >';
|
|
66202
65775
|
};
|
|
66203
65776
|
|
|
66204
|
-
},{"../../../../bn.js-4.11.8/lib/bn":
|
|
65777
|
+
},{"../../../../bn.js-4.11.8/lib/bn":302,"../utils":337}],332:[function(require,module,exports){
|
|
66205
65778
|
'use strict';
|
|
66206
65779
|
|
|
66207
65780
|
var BN = require('../../../../bn.js-4.11.8/lib/bn');
|
|
@@ -66369,7 +65942,7 @@ Signature.prototype.toDER = function toDER(enc) {
|
|
|
66369
65942
|
return utils.encode(res, enc);
|
|
66370
65943
|
};
|
|
66371
65944
|
|
|
66372
|
-
},{"../../../../bn.js-4.11.8/lib/bn":
|
|
65945
|
+
},{"../../../../bn.js-4.11.8/lib/bn":302,"../utils":337}],333:[function(require,module,exports){
|
|
66373
65946
|
'use strict';
|
|
66374
65947
|
|
|
66375
65948
|
var hash = require('../../../../hash.js-1.1.7/lib/hash');
|
|
@@ -66489,9 +66062,9 @@ EDDSA.prototype.isPoint = function isPoint(val) {
|
|
|
66489
66062
|
return val instanceof this.pointClass;
|
|
66490
66063
|
};
|
|
66491
66064
|
|
|
66492
|
-
},{"../../../../hash.js-1.1.7/lib/hash":
|
|
66065
|
+
},{"../../../../hash.js-1.1.7/lib/hash":349,"../curves":329,"../utils":337,"./key":334,"./signature":335}],334:[function(require,module,exports){
|
|
66493
66066
|
arguments[4][101][0].apply(exports,arguments)
|
|
66494
|
-
},{"../utils":
|
|
66067
|
+
},{"../utils":337,"dup":101}],335:[function(require,module,exports){
|
|
66495
66068
|
'use strict';
|
|
66496
66069
|
|
|
66497
66070
|
var BN = require('../../../../bn.js-4.11.8/lib/bn');
|
|
@@ -66558,7 +66131,7 @@ Signature.prototype.toHex = function toHex() {
|
|
|
66558
66131
|
|
|
66559
66132
|
module.exports = Signature;
|
|
66560
66133
|
|
|
66561
|
-
},{"../../../../bn.js-4.11.8/lib/bn":
|
|
66134
|
+
},{"../../../../bn.js-4.11.8/lib/bn":302,"../utils":337}],336:[function(require,module,exports){
|
|
66562
66135
|
module.exports = {
|
|
66563
66136
|
doubles: {
|
|
66564
66137
|
step: 4,
|
|
@@ -67340,7 +66913,7 @@ module.exports = {
|
|
|
67340
66913
|
}
|
|
67341
66914
|
};
|
|
67342
66915
|
|
|
67343
|
-
},{}],
|
|
66916
|
+
},{}],337:[function(require,module,exports){
|
|
67344
66917
|
'use strict';
|
|
67345
66918
|
|
|
67346
66919
|
var utils = exports;
|
|
@@ -67461,7 +67034,7 @@ function intFromLE(bytes) {
|
|
|
67461
67034
|
utils.intFromLE = intFromLE;
|
|
67462
67035
|
|
|
67463
67036
|
|
|
67464
|
-
},{"../../../bn.js-4.11.8/lib/bn":
|
|
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){
|
|
67465
67038
|
module.exports={
|
|
67466
67039
|
"name": "elliptic",
|
|
67467
67040
|
"version": "6.5.3",
|
|
@@ -67517,7 +67090,7 @@ module.exports={
|
|
|
67517
67090
|
"minimalistic-crypto-utils": "^1.0.0"
|
|
67518
67091
|
}
|
|
67519
67092
|
}
|
|
67520
|
-
},{}],
|
|
67093
|
+
},{}],339:[function(require,module,exports){
|
|
67521
67094
|
module.exports={
|
|
67522
67095
|
"genesisGasLimit": {
|
|
67523
67096
|
"v": 5000,
|
|
@@ -67763,7 +67336,7 @@ module.exports={
|
|
|
67763
67336
|
"v": 2
|
|
67764
67337
|
}
|
|
67765
67338
|
}
|
|
67766
|
-
},{}],
|
|
67339
|
+
},{}],340:[function(require,module,exports){
|
|
67767
67340
|
(function (Buffer){(function (){
|
|
67768
67341
|
'use strict'
|
|
67769
67342
|
const ethUtil = require('../ethereumjs-util-5.2.0/index')
|
|
@@ -68065,7 +67638,7 @@ class Transaction {
|
|
|
68065
67638
|
module.exports = Transaction
|
|
68066
67639
|
|
|
68067
67640
|
}).call(this)}).call(this,require("buffer").Buffer)
|
|
68068
|
-
},{"../ethereum-common-0.2.1/params.json":
|
|
67641
|
+
},{"../ethereum-common-0.2.1/params.json":339,"../ethereumjs-util-5.2.0/index":341,"buffer":67}],341:[function(require,module,exports){
|
|
68069
67642
|
const createKeccakHash = require('../keccak-1.0.2/js')
|
|
68070
67643
|
const secp256k1 = require('../secp256k1-3.7.1/elliptic')
|
|
68071
67644
|
const assert = require('assert')
|
|
@@ -68781,7 +68354,7 @@ exports.defineProperties = function (self, fields, data) {
|
|
|
68781
68354
|
}
|
|
68782
68355
|
}
|
|
68783
68356
|
|
|
68784
|
-
},{"../bn.js-4.11.8/lib/bn":
|
|
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){
|
|
68785
68358
|
(function (Buffer){(function (){
|
|
68786
68359
|
const isHexPrefixed = require('../../is-hex-prefixed-1.0.0/src/index');
|
|
68787
68360
|
const stripHexPrefix = require('../../strip-hex-prefix-1.0.0/src/index');
|
|
@@ -68988,7 +68561,7 @@ module.exports = {
|
|
|
68988
68561
|
};
|
|
68989
68562
|
|
|
68990
68563
|
}).call(this)}).call(this,require("buffer").Buffer)
|
|
68991
|
-
},{"../../is-hex-prefixed-1.0.0/src/index":
|
|
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){
|
|
68992
68565
|
(function (Buffer){(function (){
|
|
68993
68566
|
'use strict';
|
|
68994
68567
|
|
|
@@ -69166,7 +68739,7 @@ Object.defineProperties( hkdf, {
|
|
|
69166
68739
|
module.exports = hkdf;
|
|
69167
68740
|
|
|
69168
68741
|
}).call(this)}).call(this,require("buffer").Buffer)
|
|
69169
|
-
},{"buffer":67,"crypto":78}],
|
|
68742
|
+
},{"buffer":67,"crypto":78}],344:[function(require,module,exports){
|
|
69170
68743
|
'use strict';
|
|
69171
68744
|
|
|
69172
68745
|
var groestl = require('./lib/groestl');
|
|
@@ -69206,7 +68779,7 @@ module.exports.groestl_2 = function(str,format, output) {
|
|
|
69206
68779
|
return h.int32ArrayToHexString(a);
|
|
69207
68780
|
}
|
|
69208
68781
|
}
|
|
69209
|
-
},{"./lib/groestl":
|
|
68782
|
+
},{"./lib/groestl":345,"./lib/helper":346}],345:[function(require,module,exports){
|
|
69210
68783
|
/////////////////////////////////////
|
|
69211
68784
|
//////////// groestl ///////////////
|
|
69212
68785
|
|
|
@@ -70455,7 +70028,7 @@ module.exports = function(input, format, output) {
|
|
|
70455
70028
|
}
|
|
70456
70029
|
return out;
|
|
70457
70030
|
}
|
|
70458
|
-
},{"./helper":
|
|
70031
|
+
},{"./helper":346,"./op":347}],346:[function(require,module,exports){
|
|
70459
70032
|
'use strict';
|
|
70460
70033
|
// String functions
|
|
70461
70034
|
|
|
@@ -70709,7 +70282,7 @@ module.exports.b64Decode = function(input) {
|
|
|
70709
70282
|
}
|
|
70710
70283
|
return output;
|
|
70711
70284
|
};
|
|
70712
|
-
},{"./op.js":
|
|
70285
|
+
},{"./op.js":347}],347:[function(require,module,exports){
|
|
70713
70286
|
'use strict';
|
|
70714
70287
|
//the right shift is important, it has to do with 32 bit operations in javascript, it will make things faster
|
|
70715
70288
|
function u64(h, l) {
|
|
@@ -71173,7 +70746,7 @@ module.exports.xORTable = function(d, s1, s2, len) {
|
|
|
71173
70746
|
}
|
|
71174
70747
|
}
|
|
71175
70748
|
|
|
71176
|
-
},{}],
|
|
70749
|
+
},{}],348:[function(require,module,exports){
|
|
71177
70750
|
'use strict'
|
|
71178
70751
|
var Buffer = require('../safe-buffer-5.2.0/index').Buffer
|
|
71179
70752
|
var Transform = require('stream').Transform
|
|
@@ -71270,9 +70843,9 @@ HashBase.prototype._digest = function () {
|
|
|
71270
70843
|
|
|
71271
70844
|
module.exports = HashBase
|
|
71272
70845
|
|
|
71273
|
-
},{"../inherits-2.0.4/inherits":
|
|
70846
|
+
},{"../inherits-2.0.4/inherits":362,"../safe-buffer-5.2.0/index":387,"stream":192}],349:[function(require,module,exports){
|
|
71274
70847
|
arguments[4][134][0].apply(exports,arguments)
|
|
71275
|
-
},{"./hash/common":
|
|
70848
|
+
},{"./hash/common":350,"./hash/hmac":351,"./hash/ripemd":352,"./hash/sha":353,"./hash/utils":360,"dup":134}],350:[function(require,module,exports){
|
|
71276
70849
|
'use strict';
|
|
71277
70850
|
|
|
71278
70851
|
var utils = require('./utils');
|
|
@@ -71366,7 +70939,7 @@ BlockHash.prototype._pad = function pad() {
|
|
|
71366
70939
|
return res;
|
|
71367
70940
|
};
|
|
71368
70941
|
|
|
71369
|
-
},{"../../../minimalistic-assert-1.0.1/index":
|
|
70942
|
+
},{"../../../minimalistic-assert-1.0.1/index":374,"./utils":360}],351:[function(require,module,exports){
|
|
71370
70943
|
'use strict';
|
|
71371
70944
|
|
|
71372
70945
|
var utils = require('./utils');
|
|
@@ -71415,15 +70988,15 @@ Hmac.prototype.digest = function digest(enc) {
|
|
|
71415
70988
|
return this.outer.digest(enc);
|
|
71416
70989
|
};
|
|
71417
70990
|
|
|
71418
|
-
},{"../../../minimalistic-assert-1.0.1/index":
|
|
70991
|
+
},{"../../../minimalistic-assert-1.0.1/index":374,"./utils":360}],352:[function(require,module,exports){
|
|
71419
70992
|
arguments[4][137][0].apply(exports,arguments)
|
|
71420
|
-
},{"./common":
|
|
70993
|
+
},{"./common":350,"./utils":360,"dup":137}],353:[function(require,module,exports){
|
|
71421
70994
|
arguments[4][138][0].apply(exports,arguments)
|
|
71422
|
-
},{"./sha/1":
|
|
70995
|
+
},{"./sha/1":354,"./sha/224":355,"./sha/256":356,"./sha/384":357,"./sha/512":358,"dup":138}],354:[function(require,module,exports){
|
|
71423
70996
|
arguments[4][139][0].apply(exports,arguments)
|
|
71424
|
-
},{"../common":
|
|
70997
|
+
},{"../common":350,"../utils":360,"./common":359,"dup":139}],355:[function(require,module,exports){
|
|
71425
70998
|
arguments[4][140][0].apply(exports,arguments)
|
|
71426
|
-
},{"../utils":
|
|
70999
|
+
},{"../utils":360,"./256":356,"dup":140}],356:[function(require,module,exports){
|
|
71427
71000
|
'use strict';
|
|
71428
71001
|
|
|
71429
71002
|
var utils = require('../utils');
|
|
@@ -71530,9 +71103,9 @@ SHA256.prototype._digest = function digest(enc) {
|
|
|
71530
71103
|
return utils.split32(this.h, 'big');
|
|
71531
71104
|
};
|
|
71532
71105
|
|
|
71533
|
-
},{"../../../../minimalistic-assert-1.0.1/index":
|
|
71106
|
+
},{"../../../../minimalistic-assert-1.0.1/index":374,"../common":350,"../utils":360,"./common":359}],357:[function(require,module,exports){
|
|
71534
71107
|
arguments[4][142][0].apply(exports,arguments)
|
|
71535
|
-
},{"../utils":
|
|
71108
|
+
},{"../utils":360,"./512":358,"dup":142}],358:[function(require,module,exports){
|
|
71536
71109
|
'use strict';
|
|
71537
71110
|
|
|
71538
71111
|
var utils = require('../utils');
|
|
@@ -71864,9 +71437,9 @@ function g1_512_lo(xh, xl) {
|
|
|
71864
71437
|
return r;
|
|
71865
71438
|
}
|
|
71866
71439
|
|
|
71867
|
-
},{"../../../../minimalistic-assert-1.0.1/index":
|
|
71440
|
+
},{"../../../../minimalistic-assert-1.0.1/index":374,"../common":350,"../utils":360}],359:[function(require,module,exports){
|
|
71868
71441
|
arguments[4][144][0].apply(exports,arguments)
|
|
71869
|
-
},{"../utils":
|
|
71442
|
+
},{"../utils":360,"dup":144}],360:[function(require,module,exports){
|
|
71870
71443
|
'use strict';
|
|
71871
71444
|
|
|
71872
71445
|
var assert = require('../../../minimalistic-assert-1.0.1/index');
|
|
@@ -72146,7 +71719,7 @@ function shr64_lo(ah, al, num) {
|
|
|
72146
71719
|
}
|
|
72147
71720
|
exports.shr64_lo = shr64_lo;
|
|
72148
71721
|
|
|
72149
|
-
},{"../../../inherits-2.0.4/inherits":
|
|
71722
|
+
},{"../../../inherits-2.0.4/inherits":362,"../../../minimalistic-assert-1.0.1/index":374}],361:[function(require,module,exports){
|
|
72150
71723
|
'use strict';
|
|
72151
71724
|
|
|
72152
71725
|
var hash = require('../../hash.js-1.1.7/lib/hash');
|
|
@@ -72261,7 +71834,7 @@ HmacDRBG.prototype.generate = function generate(len, enc, add, addEnc) {
|
|
|
72261
71834
|
return utils.encode(res, enc);
|
|
72262
71835
|
};
|
|
72263
71836
|
|
|
72264
|
-
},{"../../hash.js-1.1.7/lib/hash":
|
|
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){
|
|
72265
71838
|
try {
|
|
72266
71839
|
var util = require('util');
|
|
72267
71840
|
/* istanbul ignore next */
|
|
@@ -72272,9 +71845,9 @@ try {
|
|
|
72272
71845
|
module.exports = require('./inherits_browser.js');
|
|
72273
71846
|
}
|
|
72274
71847
|
|
|
72275
|
-
},{"./inherits_browser.js":
|
|
71848
|
+
},{"./inherits_browser.js":363,"util":212}],363:[function(require,module,exports){
|
|
72276
71849
|
arguments[4][148][0].apply(exports,arguments)
|
|
72277
|
-
},{"dup":148}],
|
|
71850
|
+
},{"dup":148}],364:[function(require,module,exports){
|
|
72278
71851
|
/*!
|
|
72279
71852
|
* Determine if an object is a Buffer
|
|
72280
71853
|
*
|
|
@@ -72287,7 +71860,7 @@ module.exports = function isBuffer (obj) {
|
|
|
72287
71860
|
typeof obj.constructor.isBuffer === 'function' && obj.constructor.isBuffer(obj)
|
|
72288
71861
|
}
|
|
72289
71862
|
|
|
72290
|
-
},{}],
|
|
71863
|
+
},{}],365:[function(require,module,exports){
|
|
72291
71864
|
/**
|
|
72292
71865
|
* Returns a `Boolean` on whether or not the a `String` starts with '0x'
|
|
72293
71866
|
* @param {String} str the string input value
|
|
@@ -72302,11 +71875,11 @@ module.exports = function isHexPrefixed(str) {
|
|
|
72302
71875
|
return str.slice(0, 2) === '0x';
|
|
72303
71876
|
}
|
|
72304
71877
|
|
|
72305
|
-
},{}],
|
|
71878
|
+
},{}],366:[function(require,module,exports){
|
|
72306
71879
|
'use strict'
|
|
72307
71880
|
module.exports = require('./lib/api')({ Keccak: require('./lib/keccak') })
|
|
72308
71881
|
|
|
72309
|
-
},{"./lib/api":
|
|
71882
|
+
},{"./lib/api":367,"./lib/keccak":371}],367:[function(require,module,exports){
|
|
72310
71883
|
'use strict'
|
|
72311
71884
|
var createKeccak = require('./keccak')
|
|
72312
71885
|
var createShake = require('./shake')
|
|
@@ -72336,7 +71909,7 @@ module.exports = function (internal) {
|
|
|
72336
71909
|
}
|
|
72337
71910
|
}
|
|
72338
71911
|
|
|
72339
|
-
},{"./keccak":
|
|
71912
|
+
},{"./keccak":368,"./shake":369}],368:[function(require,module,exports){
|
|
72340
71913
|
(function (Buffer){(function (){
|
|
72341
71914
|
'use strict'
|
|
72342
71915
|
var Transform = require('stream').Transform
|
|
@@ -72423,7 +71996,7 @@ module.exports = function (internal) {
|
|
|
72423
71996
|
}
|
|
72424
71997
|
|
|
72425
71998
|
}).call(this)}).call(this,require("buffer").Buffer)
|
|
72426
|
-
},{"../../../inherits-2.0.4/inherits":
|
|
71999
|
+
},{"../../../inherits-2.0.4/inherits":362,"buffer":67,"stream":192}],369:[function(require,module,exports){
|
|
72427
72000
|
(function (Buffer){(function (){
|
|
72428
72001
|
'use strict'
|
|
72429
72002
|
var Transform = require('stream').Transform
|
|
@@ -72501,7 +72074,7 @@ module.exports = function (internal) {
|
|
|
72501
72074
|
}
|
|
72502
72075
|
|
|
72503
72076
|
}).call(this)}).call(this,require("buffer").Buffer)
|
|
72504
|
-
},{"../../../inherits-2.0.4/inherits":
|
|
72077
|
+
},{"../../../inherits-2.0.4/inherits":362,"buffer":67,"stream":192}],370:[function(require,module,exports){
|
|
72505
72078
|
'use strict'
|
|
72506
72079
|
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]
|
|
72507
72080
|
|
|
@@ -72690,7 +72263,7 @@ exports.p1600 = function (s) {
|
|
|
72690
72263
|
}
|
|
72691
72264
|
}
|
|
72692
72265
|
|
|
72693
|
-
},{}],
|
|
72266
|
+
},{}],371:[function(require,module,exports){
|
|
72694
72267
|
(function (Buffer){(function (){
|
|
72695
72268
|
'use strict'
|
|
72696
72269
|
var keccakState = require('./keccak-state')
|
|
@@ -72763,7 +72336,7 @@ Keccak.prototype.copy = function (dest) {
|
|
|
72763
72336
|
module.exports = Keccak
|
|
72764
72337
|
|
|
72765
72338
|
}).call(this)}).call(this,require("buffer").Buffer)
|
|
72766
|
-
},{"./keccak-state":
|
|
72339
|
+
},{"./keccak-state":370,"buffer":67}],372:[function(require,module,exports){
|
|
72767
72340
|
'use strict'
|
|
72768
72341
|
var inherits = require('../inherits-2.0.4/inherits')
|
|
72769
72342
|
var HashBase = require('../hash-base-3.0.4/index')
|
|
@@ -72911,7 +72484,7 @@ function fnI (a, b, c, d, m, k, s) {
|
|
|
72911
72484
|
|
|
72912
72485
|
module.exports = MD5
|
|
72913
72486
|
|
|
72914
|
-
},{"../hash-base-3.0.4/index":
|
|
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){
|
|
72915
72488
|
(function (Buffer){(function (){
|
|
72916
72489
|
// constant-space merkle root calculation algorithm
|
|
72917
72490
|
module.exports = function fastRoot (values, digestFn) {
|
|
@@ -72939,11 +72512,11 @@ module.exports = function fastRoot (values, digestFn) {
|
|
|
72939
72512
|
}
|
|
72940
72513
|
|
|
72941
72514
|
}).call(this)}).call(this,require("buffer").Buffer)
|
|
72942
|
-
},{"buffer":67}],
|
|
72515
|
+
},{"buffer":67}],374:[function(require,module,exports){
|
|
72943
72516
|
arguments[4][157][0].apply(exports,arguments)
|
|
72944
|
-
},{"dup":157}],
|
|
72517
|
+
},{"dup":157}],375:[function(require,module,exports){
|
|
72945
72518
|
arguments[4][158][0].apply(exports,arguments)
|
|
72946
|
-
},{"dup":158}],
|
|
72519
|
+
},{"dup":158}],376:[function(require,module,exports){
|
|
72947
72520
|
/**
|
|
72948
72521
|
* Helpers.
|
|
72949
72522
|
*/
|
|
@@ -73107,7 +72680,7 @@ function plural(ms, msAbs, n, name) {
|
|
|
73107
72680
|
return Math.round(ms / n) + ' ' + name + (isPlural ? 's' : '');
|
|
73108
72681
|
}
|
|
73109
72682
|
|
|
73110
|
-
},{}],
|
|
72683
|
+
},{}],377:[function(require,module,exports){
|
|
73111
72684
|
assert.notEqual = notEqual
|
|
73112
72685
|
assert.notOk = notOk
|
|
73113
72686
|
assert.equal = equal
|
|
@@ -73131,7 +72704,7 @@ function assert (t, m) {
|
|
|
73131
72704
|
if (!t) throw new Error(m || 'AssertionError')
|
|
73132
72705
|
}
|
|
73133
72706
|
|
|
73134
|
-
},{}],
|
|
72707
|
+
},{}],378:[function(require,module,exports){
|
|
73135
72708
|
var checkParameters = require('./lib/precondition')
|
|
73136
72709
|
var native = require('crypto')
|
|
73137
72710
|
|
|
@@ -73164,7 +72737,7 @@ if (!native.pbkdf2Sync || native.pbkdf2Sync.toString().indexOf('keylen, digest')
|
|
|
73164
72737
|
exports.pbkdf2 = nativePBKDF2
|
|
73165
72738
|
}
|
|
73166
72739
|
|
|
73167
|
-
},{"./lib/async":
|
|
72740
|
+
},{"./lib/async":379,"./lib/precondition":381,"./lib/sync":382,"crypto":78}],379:[function(require,module,exports){
|
|
73168
72741
|
(function (process,global){(function (){
|
|
73169
72742
|
var checkParameters = require('./precondition')
|
|
73170
72743
|
var defaultEncoding = require('./default-encoding')
|
|
@@ -73268,7 +72841,7 @@ module.exports = function (password, salt, iterations, keylen, digest, callback)
|
|
|
73268
72841
|
}
|
|
73269
72842
|
|
|
73270
72843
|
}).call(this)}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
73271
|
-
},{"../../safe-buffer-5.2.0/index":
|
|
72844
|
+
},{"../../safe-buffer-5.2.0/index":387,"./default-encoding":380,"./precondition":381,"./sync":382,"_process":171}],380:[function(require,module,exports){
|
|
73272
72845
|
(function (process){(function (){
|
|
73273
72846
|
var defaultEncoding
|
|
73274
72847
|
/* istanbul ignore next */
|
|
@@ -73282,7 +72855,7 @@ if (process.browser) {
|
|
|
73282
72855
|
module.exports = defaultEncoding
|
|
73283
72856
|
|
|
73284
72857
|
}).call(this)}).call(this,require('_process'))
|
|
73285
|
-
},{"_process":171}],
|
|
72858
|
+
},{"_process":171}],381:[function(require,module,exports){
|
|
73286
72859
|
(function (Buffer){(function (){
|
|
73287
72860
|
var MAX_ALLOC = Math.pow(2, 30) - 1 // default in iojs
|
|
73288
72861
|
|
|
@@ -73314,7 +72887,7 @@ module.exports = function (password, salt, iterations, keylen) {
|
|
|
73314
72887
|
}
|
|
73315
72888
|
|
|
73316
72889
|
}).call(this)}).call(this,{"isBuffer":require("../../../../../../../node_modules/is-buffer/index.js")})
|
|
73317
|
-
},{"../../../../../../../node_modules/is-buffer/index.js":150}],
|
|
72890
|
+
},{"../../../../../../../node_modules/is-buffer/index.js":150}],382:[function(require,module,exports){
|
|
73318
72891
|
var sizes = {
|
|
73319
72892
|
md5: 16,
|
|
73320
72893
|
sha1: 20,
|
|
@@ -73367,7 +72940,7 @@ function pbkdf2 (password, salt, iterations, keylen, digest) {
|
|
|
73367
72940
|
|
|
73368
72941
|
module.exports = pbkdf2
|
|
73369
72942
|
|
|
73370
|
-
},{"../../create-hmac-1.1.4/browser":
|
|
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){
|
|
73371
72944
|
var OPS = require('../bitcoin-ops-1.4.1/index.json')
|
|
73372
72945
|
|
|
73373
72946
|
function encodingLength (i) {
|
|
@@ -73446,7 +73019,7 @@ module.exports = {
|
|
|
73446
73019
|
decode: decode
|
|
73447
73020
|
}
|
|
73448
73021
|
|
|
73449
|
-
},{"../bitcoin-ops-1.4.1/index.json":
|
|
73022
|
+
},{"../bitcoin-ops-1.4.1/index.json":257}],384:[function(require,module,exports){
|
|
73450
73023
|
(function (process,global){(function (){
|
|
73451
73024
|
'use strict'
|
|
73452
73025
|
|
|
@@ -73500,7 +73073,7 @@ function randomBytes (size, cb) {
|
|
|
73500
73073
|
}
|
|
73501
73074
|
|
|
73502
73075
|
}).call(this)}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
73503
|
-
},{"../safe-buffer-5.2.0/index":
|
|
73076
|
+
},{"../safe-buffer-5.2.0/index":387,"_process":171}],385:[function(require,module,exports){
|
|
73504
73077
|
'use strict'
|
|
73505
73078
|
var Buffer = require('buffer').Buffer
|
|
73506
73079
|
var inherits = require('../inherits-2.0.4/inherits')
|
|
@@ -73665,7 +73238,7 @@ function fn5 (a, b, c, d, e, m, k, s) {
|
|
|
73665
73238
|
|
|
73666
73239
|
module.exports = RIPEMD160
|
|
73667
73240
|
|
|
73668
|
-
},{"../hash-base-3.0.4/index":
|
|
73241
|
+
},{"../hash-base-3.0.4/index":348,"../inherits-2.0.4/inherits":362,"buffer":67}],386:[function(require,module,exports){
|
|
73669
73242
|
const assert = require('assert')
|
|
73670
73243
|
const Buffer = require('../safe-buffer-5.2.0/index').Buffer
|
|
73671
73244
|
/**
|
|
@@ -73897,7 +73470,7 @@ function toBuffer (v) {
|
|
|
73897
73470
|
return v
|
|
73898
73471
|
}
|
|
73899
73472
|
|
|
73900
|
-
},{"../safe-buffer-5.2.0/index":
|
|
73473
|
+
},{"../safe-buffer-5.2.0/index":387,"assert":16}],387:[function(require,module,exports){
|
|
73901
73474
|
/* eslint-disable node/no-deprecated-api */
|
|
73902
73475
|
var buffer = require('buffer')
|
|
73903
73476
|
var Buffer = buffer.Buffer
|
|
@@ -73963,11 +73536,11 @@ SafeBuffer.allocUnsafeSlow = function (size) {
|
|
|
73963
73536
|
return buffer.SlowBuffer(size)
|
|
73964
73537
|
}
|
|
73965
73538
|
|
|
73966
|
-
},{"buffer":67}],
|
|
73539
|
+
},{"buffer":67}],388:[function(require,module,exports){
|
|
73967
73540
|
'use strict'
|
|
73968
73541
|
module.exports = require('./lib')(require('./lib/elliptic'))
|
|
73969
73542
|
|
|
73970
|
-
},{"./lib":
|
|
73543
|
+
},{"./lib":392,"./lib/elliptic":391}],389:[function(require,module,exports){
|
|
73971
73544
|
(function (Buffer){(function (){
|
|
73972
73545
|
'use strict'
|
|
73973
73546
|
var toString = Object.prototype.toString
|
|
@@ -74015,7 +73588,7 @@ exports.isNumberInInterval = function (number, x, y, message) {
|
|
|
74015
73588
|
}
|
|
74016
73589
|
|
|
74017
73590
|
}).call(this)}).call(this,{"isBuffer":require("../../../../../../../node_modules/is-buffer/index.js")})
|
|
74018
|
-
},{"../../../../../../../node_modules/is-buffer/index.js":150}],
|
|
73591
|
+
},{"../../../../../../../node_modules/is-buffer/index.js":150}],390:[function(require,module,exports){
|
|
74019
73592
|
'use strict'
|
|
74020
73593
|
var Buffer = require('../../safe-buffer-5.2.0/index').Buffer
|
|
74021
73594
|
var bip66 = require('../../bip66-1.1.5/index')
|
|
@@ -74210,7 +73783,7 @@ exports.signatureImportLax = function (sig) {
|
|
|
74210
73783
|
return { r: r, s: s }
|
|
74211
73784
|
}
|
|
74212
73785
|
|
|
74213
|
-
},{"../../bip66-1.1.5/index":
|
|
73786
|
+
},{"../../bip66-1.1.5/index":256,"../../safe-buffer-5.2.0/index":387}],391:[function(require,module,exports){
|
|
74214
73787
|
'use strict'
|
|
74215
73788
|
var Buffer = require('../../../safe-buffer-5.2.0/index').Buffer
|
|
74216
73789
|
var createHash = require('../../../create-hash-1.2.0/browser')
|
|
@@ -74475,7 +74048,7 @@ exports.ecdhUnsafe = function (publicKey, privateKey, compressed) {
|
|
|
74475
74048
|
return Buffer.from(pair.pub.mul(scalar).encode(true, compressed))
|
|
74476
74049
|
}
|
|
74477
74050
|
|
|
74478
|
-
},{"../../../bn.js-4.11.8/lib/bn":
|
|
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){
|
|
74479
74052
|
'use strict'
|
|
74480
74053
|
var assert = require('./assert')
|
|
74481
74054
|
var der = require('./der')
|
|
@@ -74722,7 +74295,7 @@ module.exports = function (secp256k1) {
|
|
|
74722
74295
|
}
|
|
74723
74296
|
}
|
|
74724
74297
|
|
|
74725
|
-
},{"./assert":
|
|
74298
|
+
},{"./assert":389,"./der":390,"./messages.json":393}],393:[function(require,module,exports){
|
|
74726
74299
|
module.exports={
|
|
74727
74300
|
"COMPRESSED_TYPE_INVALID": "compressed should be a boolean",
|
|
74728
74301
|
"EC_PRIVATE_KEY_TYPE_INVALID": "private key should be a Buffer",
|
|
@@ -74760,10 +74333,10 @@ module.exports={
|
|
|
74760
74333
|
"TWEAK_TYPE_INVALID": "tweak should be a Buffer",
|
|
74761
74334
|
"TWEAK_LENGTH_INVALID": "tweak length is invalid"
|
|
74762
74335
|
}
|
|
74763
|
-
},{}],
|
|
74336
|
+
},{}],394:[function(require,module,exports){
|
|
74764
74337
|
module.exports = require('./lib')(require('./lib/elliptic'))
|
|
74765
74338
|
|
|
74766
|
-
},{"./lib":
|
|
74339
|
+
},{"./lib":396,"./lib/elliptic":395}],395:[function(require,module,exports){
|
|
74767
74340
|
const EC = require('../../elliptic-6.5.3/lib/elliptic').ec
|
|
74768
74341
|
|
|
74769
74342
|
const ec = new EC('secp256k1')
|
|
@@ -75167,7 +74740,7 @@ module.exports = {
|
|
|
75167
74740
|
}
|
|
75168
74741
|
}
|
|
75169
74742
|
|
|
75170
|
-
},{"../../elliptic-6.5.3/lib/elliptic":
|
|
74743
|
+
},{"../../elliptic-6.5.3/lib/elliptic":323}],396:[function(require,module,exports){
|
|
75171
74744
|
const errors = {
|
|
75172
74745
|
IMPOSSIBLE_CASE: 'Impossible case. Please create issue.',
|
|
75173
74746
|
TWEAK_ADD:
|
|
@@ -75505,7 +75078,7 @@ module.exports = (secp256k1) => {
|
|
|
75505
75078
|
}
|
|
75506
75079
|
}
|
|
75507
75080
|
|
|
75508
|
-
},{}],
|
|
75081
|
+
},{}],397:[function(require,module,exports){
|
|
75509
75082
|
var Buffer = require('../safe-buffer-5.2.0/index').Buffer
|
|
75510
75083
|
|
|
75511
75084
|
// prototype class for hash functions
|
|
@@ -75588,7 +75161,7 @@ Hash.prototype._update = function () {
|
|
|
75588
75161
|
|
|
75589
75162
|
module.exports = Hash
|
|
75590
75163
|
|
|
75591
|
-
},{"../safe-buffer-5.2.0/index":
|
|
75164
|
+
},{"../safe-buffer-5.2.0/index":387}],398:[function(require,module,exports){
|
|
75592
75165
|
'use strict'
|
|
75593
75166
|
var exports = (module.exports = function SHA(algorithm) {
|
|
75594
75167
|
algorithm = algorithm.toLowerCase()
|
|
@@ -75606,7 +75179,7 @@ exports.sha256 = require('./sha256')
|
|
|
75606
75179
|
exports.sha384 = require('./sha384')
|
|
75607
75180
|
exports.sha512 = require('./sha512')
|
|
75608
75181
|
|
|
75609
|
-
},{"./sha":
|
|
75182
|
+
},{"./sha":399,"./sha1":400,"./sha224":401,"./sha256":402,"./sha384":403,"./sha512":404}],399:[function(require,module,exports){
|
|
75610
75183
|
/*
|
|
75611
75184
|
* A JavaScript implementation of the Secure Hash Algorithm, SHA-0, as defined
|
|
75612
75185
|
* in FIPS PUB 180-1
|
|
@@ -75702,7 +75275,7 @@ Sha.prototype._hash = function () {
|
|
|
75702
75275
|
|
|
75703
75276
|
module.exports = Sha
|
|
75704
75277
|
|
|
75705
|
-
},{"../inherits-2.0.4/inherits":
|
|
75278
|
+
},{"../inherits-2.0.4/inherits":362,"../safe-buffer-5.2.0/index":387,"./hash":397}],400:[function(require,module,exports){
|
|
75706
75279
|
/*
|
|
75707
75280
|
* A JavaScript implementation of the Secure Hash Algorithm, SHA-1, as defined
|
|
75708
75281
|
* in FIPS PUB 180-1
|
|
@@ -75803,7 +75376,7 @@ Sha1.prototype._hash = function () {
|
|
|
75803
75376
|
|
|
75804
75377
|
module.exports = Sha1
|
|
75805
75378
|
|
|
75806
|
-
},{"../inherits-2.0.4/inherits":
|
|
75379
|
+
},{"../inherits-2.0.4/inherits":362,"../safe-buffer-5.2.0/index":387,"./hash":397}],401:[function(require,module,exports){
|
|
75807
75380
|
/**
|
|
75808
75381
|
* A JavaScript implementation of the Secure Hash Algorithm, SHA-256, as defined
|
|
75809
75382
|
* in FIPS 180-2
|
|
@@ -75858,7 +75431,7 @@ Sha224.prototype._hash = function () {
|
|
|
75858
75431
|
|
|
75859
75432
|
module.exports = Sha224
|
|
75860
75433
|
|
|
75861
|
-
},{"../inherits-2.0.4/inherits":
|
|
75434
|
+
},{"../inherits-2.0.4/inherits":362,"../safe-buffer-5.2.0/index":387,"./hash":397,"./sha256":402}],402:[function(require,module,exports){
|
|
75862
75435
|
/**
|
|
75863
75436
|
* A JavaScript implementation of the Secure Hash Algorithm, SHA-256, as defined
|
|
75864
75437
|
* in FIPS 180-2
|
|
@@ -75995,7 +75568,7 @@ Sha256.prototype._hash = function () {
|
|
|
75995
75568
|
|
|
75996
75569
|
module.exports = Sha256
|
|
75997
75570
|
|
|
75998
|
-
},{"../inherits-2.0.4/inherits":
|
|
75571
|
+
},{"../inherits-2.0.4/inherits":362,"../safe-buffer-5.2.0/index":387,"./hash":397}],403:[function(require,module,exports){
|
|
75999
75572
|
var inherits = require('../inherits-2.0.4/inherits')
|
|
76000
75573
|
var SHA512 = require('./sha512')
|
|
76001
75574
|
var Hash = require('./hash')
|
|
@@ -76054,7 +75627,7 @@ Sha384.prototype._hash = function () {
|
|
|
76054
75627
|
|
|
76055
75628
|
module.exports = Sha384
|
|
76056
75629
|
|
|
76057
|
-
},{"../inherits-2.0.4/inherits":
|
|
75630
|
+
},{"../inherits-2.0.4/inherits":362,"../safe-buffer-5.2.0/index":387,"./hash":397,"./sha512":404}],404:[function(require,module,exports){
|
|
76058
75631
|
var inherits = require('../inherits-2.0.4/inherits')
|
|
76059
75632
|
var Hash = require('./hash')
|
|
76060
75633
|
var Buffer = require('../safe-buffer-5.2.0/index').Buffer
|
|
@@ -76316,7 +75889,7 @@ Sha512.prototype._hash = function () {
|
|
|
76316
75889
|
|
|
76317
75890
|
module.exports = Sha512
|
|
76318
75891
|
|
|
76319
|
-
},{"../inherits-2.0.4/inherits":
|
|
75892
|
+
},{"../inherits-2.0.4/inherits":362,"../safe-buffer-5.2.0/index":387,"./hash":397}],405:[function(require,module,exports){
|
|
76320
75893
|
var isHexPrefixed = require('../../is-hex-prefixed-1.0.0/src/index');
|
|
76321
75894
|
|
|
76322
75895
|
/**
|
|
@@ -76332,7 +75905,7 @@ module.exports = function stripHexPrefix(str) {
|
|
|
76332
75905
|
return isHexPrefixed(str) ? str.slice(2) : str;
|
|
76333
75906
|
}
|
|
76334
75907
|
|
|
76335
|
-
},{"../../is-hex-prefixed-1.0.0/src/index":
|
|
75908
|
+
},{"../../is-hex-prefixed-1.0.0/src/index":365}],406:[function(require,module,exports){
|
|
76336
75909
|
var native = require('./native')
|
|
76337
75910
|
|
|
76338
75911
|
function getTypeName (fn) {
|
|
@@ -76444,7 +76017,7 @@ module.exports = {
|
|
|
76444
76017
|
getValueTypeName: getValueTypeName
|
|
76445
76018
|
}
|
|
76446
76019
|
|
|
76447
|
-
},{"./native":
|
|
76020
|
+
},{"./native":409}],407:[function(require,module,exports){
|
|
76448
76021
|
(function (Buffer){(function (){
|
|
76449
76022
|
var NATIVE = require('./native')
|
|
76450
76023
|
var ERRORS = require('./errors')
|
|
@@ -76539,7 +76112,7 @@ for (var typeName in types) {
|
|
|
76539
76112
|
module.exports = types
|
|
76540
76113
|
|
|
76541
76114
|
}).call(this)}).call(this,{"isBuffer":require("../../../../../../node_modules/is-buffer/index.js")})
|
|
76542
|
-
},{"../../../../../../node_modules/is-buffer/index.js":150,"./errors":
|
|
76115
|
+
},{"../../../../../../node_modules/is-buffer/index.js":150,"./errors":406,"./native":409}],408:[function(require,module,exports){
|
|
76543
76116
|
var ERRORS = require('./errors')
|
|
76544
76117
|
var NATIVE = require('./native')
|
|
76545
76118
|
|
|
@@ -76801,7 +76374,7 @@ typeforce.TfPropertyTypeError = TfPropertyTypeError
|
|
|
76801
76374
|
|
|
76802
76375
|
module.exports = typeforce
|
|
76803
76376
|
|
|
76804
|
-
},{"./errors":
|
|
76377
|
+
},{"./errors":406,"./extra":407,"./native":409}],409:[function(require,module,exports){
|
|
76805
76378
|
var types = {
|
|
76806
76379
|
Array: function (value) { return value !== null && value !== undefined && value.constructor === Array },
|
|
76807
76380
|
Boolean: function (value) { return typeof value === 'boolean' },
|
|
@@ -76824,7 +76397,7 @@ for (var typeName in types) {
|
|
|
76824
76397
|
|
|
76825
76398
|
module.exports = types
|
|
76826
76399
|
|
|
76827
|
-
},{}],
|
|
76400
|
+
},{}],410:[function(require,module,exports){
|
|
76828
76401
|
(function (root) {
|
|
76829
76402
|
"use strict";
|
|
76830
76403
|
|
|
@@ -77278,7 +76851,7 @@ UChar.udata={
|
|
|
77278
76851
|
}
|
|
77279
76852
|
}(this));
|
|
77280
76853
|
|
|
77281
|
-
},{}],
|
|
76854
|
+
},{}],411:[function(require,module,exports){
|
|
77282
76855
|
/*! https://mths.be/utf8js v3.0.0 by @mathias */
|
|
77283
76856
|
;(function(root) {
|
|
77284
76857
|
|
|
@@ -77482,7 +77055,7 @@ UChar.udata={
|
|
|
77482
77055
|
|
|
77483
77056
|
}(typeof exports === 'undefined' ? this.utf8 = {} : exports));
|
|
77484
77057
|
|
|
77485
|
-
},{}],
|
|
77058
|
+
},{}],412:[function(require,module,exports){
|
|
77486
77059
|
/*!
|
|
77487
77060
|
* validate.js 0.13.1
|
|
77488
77061
|
*
|
|
@@ -78737,7 +78310,7 @@ UChar.udata={
|
|
|
78737
78310
|
typeof module !== 'undefined' ? /* istanbul ignore next */ module : null,
|
|
78738
78311
|
typeof define !== 'undefined' ? /* istanbul ignore next */ define : null);
|
|
78739
78312
|
|
|
78740
|
-
},{}],
|
|
78313
|
+
},{}],413:[function(require,module,exports){
|
|
78741
78314
|
'use strict'
|
|
78742
78315
|
var Buffer = require('../safe-buffer-5.2.0/index').Buffer
|
|
78743
78316
|
|
|
@@ -78829,7 +78402,7 @@ function encodingLength (number) {
|
|
|
78829
78402
|
|
|
78830
78403
|
module.exports = { encode: encode, decode: decode, encodingLength: encodingLength }
|
|
78831
78404
|
|
|
78832
|
-
},{"../safe-buffer-5.2.0/index":
|
|
78405
|
+
},{"../safe-buffer-5.2.0/index":387}],414:[function(require,module,exports){
|
|
78833
78406
|
(function (Buffer){(function (){
|
|
78834
78407
|
var bs58check = require('../bs58check-2.1.2/index')
|
|
78835
78408
|
|
|
@@ -78896,7 +78469,7 @@ module.exports = {
|
|
|
78896
78469
|
}
|
|
78897
78470
|
|
|
78898
78471
|
}).call(this)}).call(this,require("buffer").Buffer)
|
|
78899
|
-
},{"../bs58check-2.1.2/index":
|
|
78472
|
+
},{"../bs58check-2.1.2/index":306,"buffer":67}],415:[function(require,module,exports){
|
|
78900
78473
|
"use strict";
|
|
78901
78474
|
var __extends = (this && this.__extends) || (function () {
|
|
78902
78475
|
var extendStatics = function (d, b) {
|
|
@@ -78956,7 +78529,7 @@ var CoinlibAssertionError = /** @class */ (function (_super) {
|
|
|
78956
78529
|
}(Error));
|
|
78957
78530
|
exports.CoinlibAssertionError = CoinlibAssertionError;
|
|
78958
78531
|
|
|
78959
|
-
},{}],
|
|
78532
|
+
},{}],416:[function(require,module,exports){
|
|
78960
78533
|
"use strict";
|
|
78961
78534
|
var __extends = (this && this.__extends) || (function () {
|
|
78962
78535
|
var extendStatics = function (d, b) {
|
|
@@ -79235,63 +78808,7 @@ var InvalidString = /** @class */ (function (_super) {
|
|
|
79235
78808
|
}(SerializerError));
|
|
79236
78809
|
exports.InvalidString = InvalidString;
|
|
79237
78810
|
|
|
79238
|
-
},{"./coinlib-error":
|
|
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){
|
|
78811
|
+
},{"./coinlib-error":415}],417:[function(require,module,exports){
|
|
79295
78812
|
"use strict";
|
|
79296
78813
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
79297
78814
|
exports.AirGapTransactionWarningType = exports.AirGapTransactionStatus = exports.AirGapTransactionType = void 0;
|
|
@@ -79314,7 +78831,7 @@ var AirGapTransactionWarningType;
|
|
|
79314
78831
|
AirGapTransactionWarningType["ERROR"] = "error";
|
|
79315
78832
|
})(AirGapTransactionWarningType = exports.AirGapTransactionWarningType || (exports.AirGapTransactionWarningType = {}));
|
|
79316
78833
|
|
|
79317
|
-
},{}],
|
|
78834
|
+
},{}],418:[function(require,module,exports){
|
|
79318
78835
|
"use strict";
|
|
79319
78836
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
79320
78837
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
@@ -79399,7 +78916,7 @@ var CryptoClient = /** @class */ (function () {
|
|
|
79399
78916
|
}());
|
|
79400
78917
|
exports.CryptoClient = CryptoClient;
|
|
79401
78918
|
|
|
79402
|
-
},{"../errors":
|
|
78919
|
+
},{"../errors":416,"../errors/coinlib-error":415,"../utils/AES":421}],419:[function(require,module,exports){
|
|
79403
78920
|
"use strict";
|
|
79404
78921
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
79405
78922
|
exports.SubProtocolType = void 0;
|
|
@@ -79409,7 +78926,7 @@ var SubProtocolType;
|
|
|
79409
78926
|
SubProtocolType["TOKEN"] = "token";
|
|
79410
78927
|
})(SubProtocolType = exports.SubProtocolType || (exports.SubProtocolType = {}));
|
|
79411
78928
|
|
|
79412
|
-
},{}],
|
|
78929
|
+
},{}],420:[function(require,module,exports){
|
|
79413
78930
|
(function (Buffer){(function (){
|
|
79414
78931
|
"use strict";
|
|
79415
78932
|
var __extends = (this && this.__extends) || (function () {
|
|
@@ -79489,7 +79006,7 @@ var Secp256k1CryptoClient = /** @class */ (function (_super) {
|
|
|
79489
79006
|
exports.Secp256k1CryptoClient = Secp256k1CryptoClient;
|
|
79490
79007
|
|
|
79491
79008
|
}).call(this)}).call(this,require("buffer").Buffer)
|
|
79492
|
-
},{"../dependencies/src/eciesjs-0.3.9/src/index":
|
|
79009
|
+
},{"../dependencies/src/eciesjs-0.3.9/src/index":313,"./CryptoClient":418,"buffer":67}],421:[function(require,module,exports){
|
|
79493
79010
|
(function (Buffer){(function (){
|
|
79494
79011
|
"use strict";
|
|
79495
79012
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
@@ -79653,28 +79170,7 @@ var AES = /** @class */ (function () {
|
|
|
79653
79170
|
exports.AES = AES;
|
|
79654
79171
|
|
|
79655
79172
|
}).call(this)}).call(this,require("buffer").Buffer)
|
|
79656
|
-
},{"../errors":
|
|
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){
|
|
79173
|
+
},{"../errors":416,"../errors/coinlib-error":415,"./hex":424,"buffer":67,"crypto":78}],422:[function(require,module,exports){
|
|
79678
79174
|
"use strict";
|
|
79679
79175
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
79680
79176
|
exports.ProtocolNetwork = exports.NetworkType = void 0;
|
|
@@ -79710,7 +79206,7 @@ var ProtocolNetwork = /** @class */ (function () {
|
|
|
79710
79206
|
}());
|
|
79711
79207
|
exports.ProtocolNetwork = ProtocolNetwork;
|
|
79712
79208
|
|
|
79713
|
-
},{"../dependencies/src/create-hash-1.2.0/index":
|
|
79209
|
+
},{"../dependencies/src/create-hash-1.2.0/index":309}],423:[function(require,module,exports){
|
|
79714
79210
|
"use strict";
|
|
79715
79211
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
79716
79212
|
exports.isProtocolSymbol = exports.isSubProtocolSymbol = exports.isMainProtocolSymbol = exports.SubProtocolSymbols = exports.MainProtocolSymbols = void 0;
|
|
@@ -79769,39 +79265,7 @@ function isProtocolSymbol(identifier) {
|
|
|
79769
79265
|
}
|
|
79770
79266
|
exports.isProtocolSymbol = isProtocolSymbol;
|
|
79771
79267
|
|
|
79772
|
-
},{}],
|
|
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){
|
|
79268
|
+
},{}],424:[function(require,module,exports){
|
|
79805
79269
|
(function (Buffer){(function (){
|
|
79806
79270
|
"use strict";
|
|
79807
79271
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -79916,7 +79380,7 @@ function fillToTargetLength(hexString, bitLength) {
|
|
|
79916
79380
|
}
|
|
79917
79381
|
|
|
79918
79382
|
}).call(this)}).call(this,require("buffer").Buffer)
|
|
79919
|
-
},{"../dependencies/src/bignumber.js-9.0.0/bignumber":
|
|
79383
|
+
},{"../dependencies/src/bignumber.js-9.0.0/bignumber":246,"./padStart":425,"buffer":67}],425:[function(require,module,exports){
|
|
79920
79384
|
"use strict";
|
|
79921
79385
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
79922
79386
|
exports.padStart = void 0;
|
|
@@ -79937,746 +79401,10 @@ function padStart(targetString, targetLength, padString) {
|
|
|
79937
79401
|
}
|
|
79938
79402
|
exports.padStart = padStart;
|
|
79939
79403
|
|
|
79940
|
-
},{}],
|
|
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){
|
|
79404
|
+
},{}],426:[function(require,module,exports){
|
|
80677
79405
|
"use strict";
|
|
80678
79406
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
80679
|
-
exports.
|
|
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;
|
|
80680
79408
|
var GenericERC20_1 = require("./protocol/erc20/GenericERC20");
|
|
80681
79409
|
Object.defineProperty(exports, "GenericERC20", { enumerable: true, get: function () { return GenericERC20_1.GenericERC20; } });
|
|
80682
79410
|
var EthereumAddress_1 = require("./protocol/EthereumAddress");
|
|
@@ -80697,10 +79425,8 @@ Object.defineProperty(exports, "EthereumProtocolOptions", { enumerable: true, ge
|
|
|
80697
79425
|
Object.defineProperty(exports, "EtherscanBlockExplorer", { enumerable: true, get: function () { return EthereumProtocolOptions_1.EtherscanBlockExplorer; } });
|
|
80698
79426
|
var EthereumRopstenProtocol_1 = require("./protocol/EthereumRopstenProtocol");
|
|
80699
79427
|
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; } });
|
|
80702
79428
|
|
|
80703
|
-
},{"./protocol/EthereumAddress":
|
|
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){
|
|
80704
79430
|
(function (Buffer){(function (){
|
|
80705
79431
|
"use strict";
|
|
80706
79432
|
var __assign = (this && this.__assign) || function () {
|
|
@@ -81636,7 +80362,7 @@ var BaseEthereumProtocol = /** @class */ (function () {
|
|
|
81636
80362
|
exports.BaseEthereumProtocol = BaseEthereumProtocol;
|
|
81637
80363
|
|
|
81638
80364
|
}).call(this)}).call(this,require("buffer").Buffer)
|
|
81639
|
-
},{"./EthereumAddress":
|
|
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){
|
|
81640
80366
|
(function (Buffer){(function (){
|
|
81641
80367
|
"use strict";
|
|
81642
80368
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
@@ -81677,7 +80403,7 @@ var EthereumAddress = /** @class */ (function () {
|
|
|
81677
80403
|
exports.EthereumAddress = EthereumAddress;
|
|
81678
80404
|
|
|
81679
80405
|
}).call(this)}).call(this,require("buffer").Buffer)
|
|
81680
|
-
},{"@airgap/coinlib-core/dependencies/src/ethereumjs-util-5.2.0":
|
|
80406
|
+
},{"@airgap/coinlib-core/dependencies/src/ethereumjs-util-5.2.0":341,"buffer":67}],429:[function(require,module,exports){
|
|
81681
80407
|
"use strict";
|
|
81682
80408
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
81683
80409
|
exports.EthereumChainIDs = void 0;
|
|
@@ -82018,7 +80744,7 @@ exports.EthereumChainIDs = new Map([
|
|
|
82018
80744
|
[6022140761023, 'Molereum Network']
|
|
82019
80745
|
]);
|
|
82020
80746
|
|
|
82021
|
-
},{}],
|
|
80747
|
+
},{}],430:[function(require,module,exports){
|
|
82022
80748
|
"use strict";
|
|
82023
80749
|
var __extends = (this && this.__extends) || (function () {
|
|
82024
80750
|
var extendStatics = function (d, b) {
|
|
@@ -82047,7 +80773,7 @@ var EthereumClassicProtocol = /** @class */ (function (_super) {
|
|
|
82047
80773
|
}(BaseEthereumProtocol_1.BaseEthereumProtocol));
|
|
82048
80774
|
exports.EthereumClassicProtocol = EthereumClassicProtocol;
|
|
82049
80775
|
|
|
82050
|
-
},{"./BaseEthereumProtocol":
|
|
80776
|
+
},{"./BaseEthereumProtocol":427,"./EthereumProtocolOptions":433}],431:[function(require,module,exports){
|
|
82051
80777
|
(function (Buffer){(function (){
|
|
82052
80778
|
"use strict";
|
|
82053
80779
|
var __extends = (this && this.__extends) || (function () {
|
|
@@ -82191,7 +80917,7 @@ var EthereumCryptoClient = /** @class */ (function (_super) {
|
|
|
82191
80917
|
exports.EthereumCryptoClient = EthereumCryptoClient;
|
|
82192
80918
|
|
|
82193
80919
|
}).call(this)}).call(this,require("buffer").Buffer)
|
|
82194
|
-
},{"@airgap/coinlib-core/dependencies/src/ethereumjs-util-5.2.0":
|
|
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){
|
|
82195
80921
|
"use strict";
|
|
82196
80922
|
var __extends = (this && this.__extends) || (function () {
|
|
82197
80923
|
var extendStatics = function (d, b) {
|
|
@@ -82224,7 +80950,7 @@ var EthereumProtocol = /** @class */ (function (_super) {
|
|
|
82224
80950
|
}(BaseEthereumProtocol_1.BaseEthereumProtocol));
|
|
82225
80951
|
exports.EthereumProtocol = EthereumProtocol;
|
|
82226
80952
|
|
|
82227
|
-
},{"./BaseEthereumProtocol":
|
|
80953
|
+
},{"./BaseEthereumProtocol":427,"./EthereumProtocolOptions":433}],433:[function(require,module,exports){
|
|
82228
80954
|
"use strict";
|
|
82229
80955
|
var __extends = (this && this.__extends) || (function () {
|
|
82230
80956
|
var extendStatics = function (d, b) {
|
|
@@ -82373,7 +81099,7 @@ var EthereumERC20ProtocolOptions = /** @class */ (function (_super) {
|
|
|
82373
81099
|
}(EthereumProtocolOptions));
|
|
82374
81100
|
exports.EthereumERC20ProtocolOptions = EthereumERC20ProtocolOptions;
|
|
82375
81101
|
|
|
82376
|
-
},{"./clients/info-clients/EtherscanInfoClient":
|
|
81102
|
+
},{"./clients/info-clients/EtherscanInfoClient":435,"./clients/node-clients/AirGapNodeClient":437,"@airgap/coinlib-core/utils/ProtocolNetwork":422}],434:[function(require,module,exports){
|
|
82377
81103
|
"use strict";
|
|
82378
81104
|
var __extends = (this && this.__extends) || (function () {
|
|
82379
81105
|
var extendStatics = function (d, b) {
|
|
@@ -82402,7 +81128,7 @@ var EthereumRopstenProtocol = /** @class */ (function (_super) {
|
|
|
82402
81128
|
}(BaseEthereumProtocol_1.BaseEthereumProtocol));
|
|
82403
81129
|
exports.EthereumRopstenProtocol = EthereumRopstenProtocol;
|
|
82404
81130
|
|
|
82405
|
-
},{"./BaseEthereumProtocol":
|
|
81131
|
+
},{"./BaseEthereumProtocol":427,"./EthereumProtocolOptions":433}],435:[function(require,module,exports){
|
|
82406
81132
|
"use strict";
|
|
82407
81133
|
var __extends = (this && this.__extends) || (function () {
|
|
82408
81134
|
var extendStatics = function (d, b) {
|
|
@@ -82596,7 +81322,7 @@ var EtherscanInfoClient = /** @class */ (function (_super) {
|
|
|
82596
81322
|
}(InfoClient_1.EthereumInfoClient));
|
|
82597
81323
|
exports.EtherscanInfoClient = EtherscanInfoClient;
|
|
82598
81324
|
|
|
82599
|
-
},{"../../EthereumProtocolOptions":
|
|
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){
|
|
82600
81326
|
"use strict";
|
|
82601
81327
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
82602
81328
|
exports.EthereumInfoClient = void 0;
|
|
@@ -82608,7 +81334,7 @@ var EthereumInfoClient = /** @class */ (function () {
|
|
|
82608
81334
|
}());
|
|
82609
81335
|
exports.EthereumInfoClient = EthereumInfoClient;
|
|
82610
81336
|
|
|
82611
|
-
},{}],
|
|
81337
|
+
},{}],437:[function(require,module,exports){
|
|
82612
81338
|
"use strict";
|
|
82613
81339
|
var __extends = (this && this.__extends) || (function () {
|
|
82614
81340
|
var extendStatics = function (d, b) {
|
|
@@ -82960,7 +81686,7 @@ var AirGapNodeClient = /** @class */ (function (_super) {
|
|
|
82960
81686
|
}(NodeClient_1.EthereumNodeClient));
|
|
82961
81687
|
exports.AirGapNodeClient = AirGapNodeClient;
|
|
82962
81688
|
|
|
82963
|
-
},{"../../EthereumProtocolOptions":
|
|
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){
|
|
82964
81690
|
"use strict";
|
|
82965
81691
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
82966
81692
|
exports.EthereumNodeClient = void 0;
|
|
@@ -82972,17 +81698,7 @@ var EthereumNodeClient = /** @class */ (function () {
|
|
|
82972
81698
|
}());
|
|
82973
81699
|
exports.EthereumNodeClient = EthereumNodeClient;
|
|
82974
81700
|
|
|
82975
|
-
},{}],
|
|
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){
|
|
81701
|
+
},{}],439:[function(require,module,exports){
|
|
82986
81702
|
"use strict";
|
|
82987
81703
|
var __extends = (this && this.__extends) || (function () {
|
|
82988
81704
|
var extendStatics = function (d, b) {
|
|
@@ -83311,7 +82027,7 @@ var GenericERC20 = /** @class */ (function (_super) {
|
|
|
83311
82027
|
}(BaseEthereumProtocol_1.BaseEthereumProtocol));
|
|
83312
82028
|
exports.GenericERC20 = GenericERC20;
|
|
83313
82029
|
|
|
83314
|
-
},{"../BaseEthereumProtocol":
|
|
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){
|
|
83315
82031
|
"use strict";
|
|
83316
82032
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
83317
82033
|
exports.EthereumUtils = void 0;
|
|
@@ -83452,39 +82168,7 @@ var EthereumUtils = /** @class */ (function () {
|
|
|
83452
82168
|
}());
|
|
83453
82169
|
exports.EthereumUtils = EthereumUtils;
|
|
83454
82170
|
|
|
83455
|
-
},{"@airgap/coinlib-core/dependencies/src/bignumber.js-9.0.0/bignumber":
|
|
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){
|
|
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){
|
|
83488
82172
|
module.exports={
|
|
83489
82173
|
"name": "goerli",
|
|
83490
82174
|
"chainId": 5,
|
|
@@ -83634,7 +82318,7 @@ module.exports={
|
|
|
83634
82318
|
]
|
|
83635
82319
|
}
|
|
83636
82320
|
|
|
83637
|
-
},{}],
|
|
82321
|
+
},{}],442:[function(require,module,exports){
|
|
83638
82322
|
"use strict";
|
|
83639
82323
|
var __values = (this && this.__values) || function(o) {
|
|
83640
82324
|
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
@@ -83703,7 +82387,7 @@ exports._getInitializedChains = _getInitializedChains;
|
|
|
83703
82387
|
*/
|
|
83704
82388
|
exports.chains = _getInitializedChains();
|
|
83705
82389
|
|
|
83706
|
-
},{"./goerli.json":
|
|
82390
|
+
},{"./goerli.json":441,"./kovan.json":443,"./mainnet.json":444,"./rinkeby.json":445,"./ropsten.json":446}],443:[function(require,module,exports){
|
|
83707
82391
|
module.exports={
|
|
83708
82392
|
"name": "kovan",
|
|
83709
82393
|
"chainId": 42,
|
|
@@ -83819,7 +82503,7 @@ module.exports={
|
|
|
83819
82503
|
]
|
|
83820
82504
|
}
|
|
83821
82505
|
|
|
83822
|
-
},{}],
|
|
82506
|
+
},{}],444:[function(require,module,exports){
|
|
83823
82507
|
module.exports={
|
|
83824
82508
|
"name": "mainnet",
|
|
83825
82509
|
"chainId": 1,
|
|
@@ -83981,7 +82665,7 @@ module.exports={
|
|
|
83981
82665
|
]
|
|
83982
82666
|
}
|
|
83983
82667
|
|
|
83984
|
-
},{}],
|
|
82668
|
+
},{}],445:[function(require,module,exports){
|
|
83985
82669
|
module.exports={
|
|
83986
82670
|
"name": "rinkeby",
|
|
83987
82671
|
"chainId": 4,
|
|
@@ -84096,7 +82780,7 @@ module.exports={
|
|
|
84096
82780
|
]
|
|
84097
82781
|
}
|
|
84098
82782
|
|
|
84099
|
-
},{}],
|
|
82783
|
+
},{}],446:[function(require,module,exports){
|
|
84100
82784
|
module.exports={
|
|
84101
82785
|
"name": "ropsten",
|
|
84102
82786
|
"chainId": 3,
|
|
@@ -84220,7 +82904,7 @@ module.exports={
|
|
|
84220
82904
|
]
|
|
84221
82905
|
}
|
|
84222
82906
|
|
|
84223
|
-
},{}],
|
|
82907
|
+
},{}],447:[function(require,module,exports){
|
|
84224
82908
|
module.exports={
|
|
84225
82909
|
"name": "EIP-1559",
|
|
84226
82910
|
"number": 1559,
|
|
@@ -84248,7 +82932,7 @@ module.exports={
|
|
|
84248
82932
|
"pow": {}
|
|
84249
82933
|
}
|
|
84250
82934
|
|
|
84251
|
-
},{}],
|
|
82935
|
+
},{}],448:[function(require,module,exports){
|
|
84252
82936
|
module.exports={
|
|
84253
82937
|
"name": "EIP-2315",
|
|
84254
82938
|
"number": 2315,
|
|
@@ -84275,7 +82959,7 @@ module.exports={
|
|
|
84275
82959
|
"pow": {}
|
|
84276
82960
|
}
|
|
84277
82961
|
|
|
84278
|
-
},{}],
|
|
82962
|
+
},{}],449:[function(require,module,exports){
|
|
84279
82963
|
module.exports={
|
|
84280
82964
|
"name": "EIP-2537",
|
|
84281
82965
|
"number": 2537,
|
|
@@ -84326,7 +83010,7 @@ module.exports={
|
|
|
84326
83010
|
"pow": {}
|
|
84327
83011
|
}
|
|
84328
83012
|
|
|
84329
|
-
},{}],
|
|
83013
|
+
},{}],450:[function(require,module,exports){
|
|
84330
83014
|
module.exports={
|
|
84331
83015
|
"name": "EIP-2565",
|
|
84332
83016
|
"number": 2565,
|
|
@@ -84345,7 +83029,7 @@ module.exports={
|
|
|
84345
83029
|
"pow": {}
|
|
84346
83030
|
}
|
|
84347
83031
|
|
|
84348
|
-
},{}],
|
|
83032
|
+
},{}],451:[function(require,module,exports){
|
|
84349
83033
|
module.exports={
|
|
84350
83034
|
"name": "EIP-2718",
|
|
84351
83035
|
"comment": "Typed Transaction Envelope",
|
|
@@ -84358,7 +83042,7 @@ module.exports={
|
|
|
84358
83042
|
"pow": {}
|
|
84359
83043
|
}
|
|
84360
83044
|
|
|
84361
|
-
},{}],
|
|
83045
|
+
},{}],452:[function(require,module,exports){
|
|
84362
83046
|
module.exports={
|
|
84363
83047
|
"name": "EIP-2929",
|
|
84364
83048
|
"comment": "Gas cost increases for state access opcodes",
|
|
@@ -84444,7 +83128,7 @@ module.exports={
|
|
|
84444
83128
|
"pow": {}
|
|
84445
83129
|
}
|
|
84446
83130
|
|
|
84447
|
-
},{}],
|
|
83131
|
+
},{}],453:[function(require,module,exports){
|
|
84448
83132
|
module.exports={
|
|
84449
83133
|
"name": "EIP-2930",
|
|
84450
83134
|
"comment": "Optional access lists",
|
|
@@ -84467,7 +83151,7 @@ module.exports={
|
|
|
84467
83151
|
"pow": {}
|
|
84468
83152
|
}
|
|
84469
83153
|
|
|
84470
|
-
},{}],
|
|
83154
|
+
},{}],454:[function(require,module,exports){
|
|
84471
83155
|
module.exports={
|
|
84472
83156
|
"name": "EIP-3198",
|
|
84473
83157
|
"number": 3198,
|
|
@@ -84486,7 +83170,7 @@ module.exports={
|
|
|
84486
83170
|
"pow": {}
|
|
84487
83171
|
}
|
|
84488
83172
|
|
|
84489
|
-
},{}],
|
|
83173
|
+
},{}],455:[function(require,module,exports){
|
|
84490
83174
|
module.exports={
|
|
84491
83175
|
"name": "EIP-3529",
|
|
84492
83176
|
"comment": "Reduction in refunds",
|
|
@@ -84514,7 +83198,7 @@ module.exports={
|
|
|
84514
83198
|
"pow": {}
|
|
84515
83199
|
}
|
|
84516
83200
|
|
|
84517
|
-
},{}],
|
|
83201
|
+
},{}],456:[function(require,module,exports){
|
|
84518
83202
|
module.exports={
|
|
84519
83203
|
"name": "EIP-3541",
|
|
84520
83204
|
"comment": "Reject new contracts starting with the 0xEF byte",
|
|
@@ -84528,7 +83212,7 @@ module.exports={
|
|
|
84528
83212
|
"pow": {}
|
|
84529
83213
|
}
|
|
84530
83214
|
|
|
84531
|
-
},{}],
|
|
83215
|
+
},{}],457:[function(require,module,exports){
|
|
84532
83216
|
module.exports={
|
|
84533
83217
|
"name": "EIP-3554",
|
|
84534
83218
|
"comment": "Reduction in refunds",
|
|
@@ -84547,7 +83231,7 @@ module.exports={
|
|
|
84547
83231
|
}
|
|
84548
83232
|
}
|
|
84549
83233
|
|
|
84550
|
-
},{}],
|
|
83234
|
+
},{}],458:[function(require,module,exports){
|
|
84551
83235
|
module.exports={
|
|
84552
83236
|
"name": "EIP-3675",
|
|
84553
83237
|
"number": 3675,
|
|
@@ -84562,7 +83246,7 @@ module.exports={
|
|
|
84562
83246
|
"pow": {}
|
|
84563
83247
|
}
|
|
84564
83248
|
|
|
84565
|
-
},{}],
|
|
83249
|
+
},{}],459:[function(require,module,exports){
|
|
84566
83250
|
module.exports={
|
|
84567
83251
|
"name": "EIP-4345",
|
|
84568
83252
|
"number": 4345,
|
|
@@ -84581,7 +83265,7 @@ module.exports={
|
|
|
84581
83265
|
}
|
|
84582
83266
|
}
|
|
84583
83267
|
|
|
84584
|
-
},{}],
|
|
83268
|
+
},{}],460:[function(require,module,exports){
|
|
84585
83269
|
"use strict";
|
|
84586
83270
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
84587
83271
|
exports.EIPs = void 0;
|
|
@@ -84601,7 +83285,7 @@ exports.EIPs = {
|
|
|
84601
83285
|
4345: require('./4345.json'),
|
|
84602
83286
|
};
|
|
84603
83287
|
|
|
84604
|
-
},{"./1559.json":
|
|
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){
|
|
84605
83289
|
module.exports={
|
|
84606
83290
|
"0x0000000000000000000000000000000000000000": "0x1",
|
|
84607
83291
|
"0x0000000000000000000000000000000000000001": "0x1",
|
|
@@ -84865,7 +83549,7 @@ module.exports={
|
|
|
84865
83549
|
"0xe0a2bd4258d2768837baa26a28fe71dc079f84c7": "0x4a47e3c12448f4ad000000"
|
|
84866
83550
|
}
|
|
84867
83551
|
|
|
84868
|
-
},{}],
|
|
83552
|
+
},{}],462:[function(require,module,exports){
|
|
84869
83553
|
module.exports={
|
|
84870
83554
|
"0x0000000000000000000000000000000000000001": "0x1",
|
|
84871
83555
|
"0x0000000000000000000000000000000000000002": "0x1",
|
|
@@ -84874,7 +83558,7 @@ module.exports={
|
|
|
84874
83558
|
"0x00521965e7bd230323c423d96c657db5b79d099f": "0x100000000000000000000000000000000000000000000000000"
|
|
84875
83559
|
}
|
|
84876
83560
|
|
|
84877
|
-
},{}],
|
|
83561
|
+
},{}],463:[function(require,module,exports){
|
|
84878
83562
|
module.exports={
|
|
84879
83563
|
"0x000d836201318ec6899a67540690382780743280": "0xad78ebc5ac6200000",
|
|
84880
83564
|
"0x001762430ea9c3a26e5749afdb70da5f78ddbb8c": "0xad78ebc5ac6200000",
|
|
@@ -93771,7 +92455,7 @@ module.exports={
|
|
|
93771
92455
|
"0xfff7ac99c8e4feb60c9750054bdc14ce1857f181": "0x3635c9adc5dea00000"
|
|
93772
92456
|
}
|
|
93773
92457
|
|
|
93774
|
-
},{}],
|
|
92458
|
+
},{}],464:[function(require,module,exports){
|
|
93775
92459
|
module.exports={
|
|
93776
92460
|
"0x0000000000000000000000000000000000000000": "0x1",
|
|
93777
92461
|
"0x0000000000000000000000000000000000000001": "0x1",
|
|
@@ -94032,7 +92716,7 @@ module.exports={
|
|
|
94032
92716
|
"0x31b98d14007bdee637298086988a0bbd31184523": "0x200000000000000000000000000000000000000000000000000000000000000"
|
|
94033
92717
|
}
|
|
94034
92718
|
|
|
94035
|
-
},{}],
|
|
92719
|
+
},{}],465:[function(require,module,exports){
|
|
94036
92720
|
module.exports={
|
|
94037
92721
|
"0x0000000000000000000000000000000000000000": "0x1",
|
|
94038
92722
|
"0x0000000000000000000000000000000000000001": "0x1",
|
|
@@ -94293,7 +92977,7 @@ module.exports={
|
|
|
94293
92977
|
"0x874b54a8bd152966d63f706bae1ffeb0411921e5": "0xc9f2c9cd04674edea40000000"
|
|
94294
92978
|
}
|
|
94295
92979
|
|
|
94296
|
-
},{}],
|
|
92980
|
+
},{}],466:[function(require,module,exports){
|
|
94297
92981
|
module.exports={
|
|
94298
92982
|
"name": "arrowGlacier",
|
|
94299
92983
|
"comment": "HF to delay the difficulty bomb",
|
|
@@ -94306,7 +92990,7 @@ module.exports={
|
|
|
94306
92990
|
"pow": {}
|
|
94307
92991
|
}
|
|
94308
92992
|
|
|
94309
|
-
},{}],
|
|
92993
|
+
},{}],467:[function(require,module,exports){
|
|
94310
92994
|
module.exports={
|
|
94311
92995
|
"name": "berlin",
|
|
94312
92996
|
"comment": "HF targeted for July 2020 following the Muir Glacier HF",
|
|
@@ -94315,7 +92999,7 @@ module.exports={
|
|
|
94315
92999
|
"eips": [2565, 2929, 2718, 2930]
|
|
94316
93000
|
}
|
|
94317
93001
|
|
|
94318
|
-
},{}],
|
|
93002
|
+
},{}],468:[function(require,module,exports){
|
|
94319
93003
|
module.exports={
|
|
94320
93004
|
"name": "byzantium",
|
|
94321
93005
|
"comment": "Hardfork with new precompiles, instructions and other protocol changes",
|
|
@@ -94373,7 +93057,7 @@ module.exports={
|
|
|
94373
93057
|
}
|
|
94374
93058
|
}
|
|
94375
93059
|
|
|
94376
|
-
},{}],
|
|
93060
|
+
},{}],469:[function(require,module,exports){
|
|
94377
93061
|
module.exports={
|
|
94378
93062
|
"name": "chainstart",
|
|
94379
93063
|
"comment": "Start of the Ethereum main chain",
|
|
@@ -94821,7 +93505,7 @@ module.exports={
|
|
|
94821
93505
|
}
|
|
94822
93506
|
}
|
|
94823
93507
|
|
|
94824
|
-
},{}],
|
|
93508
|
+
},{}],470:[function(require,module,exports){
|
|
94825
93509
|
module.exports={
|
|
94826
93510
|
"name": "constantinople",
|
|
94827
93511
|
"comment": "Postponed hardfork including EIP-1283 (SSTORE gas metering changes)",
|
|
@@ -94891,7 +93575,7 @@ module.exports={
|
|
|
94891
93575
|
}
|
|
94892
93576
|
}
|
|
94893
93577
|
|
|
94894
|
-
},{}],
|
|
93578
|
+
},{}],471:[function(require,module,exports){
|
|
94895
93579
|
module.exports={
|
|
94896
93580
|
"name": "dao",
|
|
94897
93581
|
"comment": "DAO rescue hardfork",
|
|
@@ -94903,7 +93587,7 @@ module.exports={
|
|
|
94903
93587
|
"pow": {}
|
|
94904
93588
|
}
|
|
94905
93589
|
|
|
94906
|
-
},{}],
|
|
93590
|
+
},{}],472:[function(require,module,exports){
|
|
94907
93591
|
module.exports={
|
|
94908
93592
|
"name": "homestead",
|
|
94909
93593
|
"comment": "Homestead hardfork with protocol and network changes",
|
|
@@ -94920,7 +93604,7 @@ module.exports={
|
|
|
94920
93604
|
"pow": {}
|
|
94921
93605
|
}
|
|
94922
93606
|
|
|
94923
|
-
},{}],
|
|
93607
|
+
},{}],473:[function(require,module,exports){
|
|
94924
93608
|
"use strict";
|
|
94925
93609
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
94926
93610
|
exports.hardforks = void 0;
|
|
@@ -94942,7 +93626,7 @@ exports.hardforks = [
|
|
|
94942
93626
|
['merge', require('./merge.json')],
|
|
94943
93627
|
];
|
|
94944
93628
|
|
|
94945
|
-
},{"./arrowGlacier.json":
|
|
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){
|
|
94946
93630
|
module.exports={
|
|
94947
93631
|
"name": "istanbul",
|
|
94948
93632
|
"comment": "HF targeted for December 2019 following the Constantinople/Petersburg HF",
|
|
@@ -95031,7 +93715,7 @@ module.exports={
|
|
|
95031
93715
|
"pow": {}
|
|
95032
93716
|
}
|
|
95033
93717
|
|
|
95034
|
-
},{}],
|
|
93718
|
+
},{}],475:[function(require,module,exports){
|
|
95035
93719
|
module.exports={
|
|
95036
93720
|
"name": "london",
|
|
95037
93721
|
"comment": "HF targeted for July 2021 following the Berlin fork",
|
|
@@ -95040,7 +93724,7 @@ module.exports={
|
|
|
95040
93724
|
"eips": [1559, 3198, 3529, 3541]
|
|
95041
93725
|
}
|
|
95042
93726
|
|
|
95043
|
-
},{}],
|
|
93727
|
+
},{}],476:[function(require,module,exports){
|
|
95044
93728
|
module.exports={
|
|
95045
93729
|
"name": "merge",
|
|
95046
93730
|
"comment": "Hardfork to upgrade the consensus mechanism to Proof-of-Stake",
|
|
@@ -95054,7 +93738,7 @@ module.exports={
|
|
|
95054
93738
|
"eips": [3675]
|
|
95055
93739
|
}
|
|
95056
93740
|
|
|
95057
|
-
},{}],
|
|
93741
|
+
},{}],477:[function(require,module,exports){
|
|
95058
93742
|
module.exports={
|
|
95059
93743
|
"name": "muirGlacier",
|
|
95060
93744
|
"comment": "HF to delay the difficulty bomb",
|
|
@@ -95071,7 +93755,7 @@ module.exports={
|
|
|
95071
93755
|
}
|
|
95072
93756
|
}
|
|
95073
93757
|
|
|
95074
|
-
},{}],
|
|
93758
|
+
},{}],478:[function(require,module,exports){
|
|
95075
93759
|
module.exports={
|
|
95076
93760
|
"name": "petersburg",
|
|
95077
93761
|
"comment": "Aka constantinopleFix, removes EIP-1283, activate together with or after constantinople",
|
|
@@ -95112,7 +93796,7 @@ module.exports={
|
|
|
95112
93796
|
"pow": {}
|
|
95113
93797
|
}
|
|
95114
93798
|
|
|
95115
|
-
},{}],
|
|
93799
|
+
},{}],479:[function(require,module,exports){
|
|
95116
93800
|
module.exports={
|
|
95117
93801
|
"name": "shanghai",
|
|
95118
93802
|
"comment": "Next feature hardfork after the London HF",
|
|
@@ -95121,7 +93805,7 @@ module.exports={
|
|
|
95121
93805
|
"eips": []
|
|
95122
93806
|
}
|
|
95123
93807
|
|
|
95124
|
-
},{}],
|
|
93808
|
+
},{}],480:[function(require,module,exports){
|
|
95125
93809
|
module.exports={
|
|
95126
93810
|
"name": "spuriousDragon",
|
|
95127
93811
|
"comment": "HF with EIPs for simple replay attack protection, EXP cost increase, state trie clearing, contract code size limit",
|
|
@@ -95143,7 +93827,7 @@ module.exports={
|
|
|
95143
93827
|
"pow": {}
|
|
95144
93828
|
}
|
|
95145
93829
|
|
|
95146
|
-
},{}],
|
|
93830
|
+
},{}],481:[function(require,module,exports){
|
|
95147
93831
|
module.exports={
|
|
95148
93832
|
"name": "tangerineWhistle",
|
|
95149
93833
|
"comment": "Hardfork with gas cost changes for IO-heavy operations",
|
|
@@ -95188,7 +93872,7 @@ module.exports={
|
|
|
95188
93872
|
"pow": {}
|
|
95189
93873
|
}
|
|
95190
93874
|
|
|
95191
|
-
},{}],
|
|
93875
|
+
},{}],482:[function(require,module,exports){
|
|
95192
93876
|
(function (Buffer){(function (){
|
|
95193
93877
|
"use strict";
|
|
95194
93878
|
var __extends = (this && this.__extends) || (function () {
|
|
@@ -96476,7 +95160,7 @@ var Common = /** @class */ (function (_super) {
|
|
|
96476
95160
|
exports.default = Common;
|
|
96477
95161
|
|
|
96478
95162
|
}).call(this)}).call(this,require("buffer").Buffer)
|
|
96479
|
-
},{"./chains":
|
|
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){
|
|
96480
95164
|
"use strict";
|
|
96481
95165
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
96482
95166
|
if (k2 === undefined) k2 = k;
|
|
@@ -96854,7 +95538,7 @@ var BaseTransaction = /** @class */ (function () {
|
|
|
96854
95538
|
}());
|
|
96855
95539
|
exports.BaseTransaction = BaseTransaction;
|
|
96856
95540
|
|
|
96857
|
-
},{"./types":
|
|
95541
|
+
},{"./types":489,"@ethereumjs/common":482,"ethereumjs-util":550}],484:[function(require,module,exports){
|
|
96858
95542
|
(function (Buffer){(function (){
|
|
96859
95543
|
"use strict";
|
|
96860
95544
|
var __extends = (this && this.__extends) || (function () {
|
|
@@ -97284,7 +95968,7 @@ var FeeMarketEIP1559Transaction = /** @class */ (function (_super) {
|
|
|
97284
95968
|
exports.default = FeeMarketEIP1559Transaction;
|
|
97285
95969
|
|
|
97286
95970
|
}).call(this)}).call(this,require("buffer").Buffer)
|
|
97287
|
-
},{"./baseTransaction":
|
|
95971
|
+
},{"./baseTransaction":483,"./types":489,"./util":490,"buffer":67,"ethereumjs-util":550}],485:[function(require,module,exports){
|
|
97288
95972
|
(function (Buffer){(function (){
|
|
97289
95973
|
"use strict";
|
|
97290
95974
|
var __extends = (this && this.__extends) || (function () {
|
|
@@ -97702,7 +96386,7 @@ var AccessListEIP2930Transaction = /** @class */ (function (_super) {
|
|
|
97702
96386
|
exports.default = AccessListEIP2930Transaction;
|
|
97703
96387
|
|
|
97704
96388
|
}).call(this)}).call(this,require("buffer").Buffer)
|
|
97705
|
-
},{"./baseTransaction":
|
|
96389
|
+
},{"./baseTransaction":483,"./types":489,"./util":490,"buffer":67,"ethereumjs-util":550}],486:[function(require,module,exports){
|
|
97706
96390
|
"use strict";
|
|
97707
96391
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
97708
96392
|
if (k2 === undefined) k2 = k;
|
|
@@ -97729,7 +96413,7 @@ var eip1559Transaction_1 = require("./eip1559Transaction");
|
|
|
97729
96413
|
Object.defineProperty(exports, "FeeMarketEIP1559Transaction", { enumerable: true, get: function () { return __importDefault(eip1559Transaction_1).default; } });
|
|
97730
96414
|
__exportStar(require("./types"), exports);
|
|
97731
96415
|
|
|
97732
|
-
},{"./eip1559Transaction":
|
|
96416
|
+
},{"./eip1559Transaction":484,"./eip2930Transaction":485,"./legacyTransaction":487,"./transactionFactory":488,"./types":489}],487:[function(require,module,exports){
|
|
97733
96417
|
(function (Buffer){(function (){
|
|
97734
96418
|
"use strict";
|
|
97735
96419
|
var __extends = (this && this.__extends) || (function () {
|
|
@@ -98145,7 +96829,7 @@ var Transaction = /** @class */ (function (_super) {
|
|
|
98145
96829
|
exports.default = Transaction;
|
|
98146
96830
|
|
|
98147
96831
|
}).call(this)}).call(this,require("buffer").Buffer)
|
|
98148
|
-
},{"./baseTransaction":
|
|
96832
|
+
},{"./baseTransaction":483,"./types":489,"buffer":67,"ethereumjs-util":550}],488:[function(require,module,exports){
|
|
98149
96833
|
(function (Buffer){(function (){
|
|
98150
96834
|
"use strict";
|
|
98151
96835
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -98265,7 +96949,7 @@ var TransactionFactory = /** @class */ (function () {
|
|
|
98265
96949
|
exports.default = TransactionFactory;
|
|
98266
96950
|
|
|
98267
96951
|
}).call(this)}).call(this,{"isBuffer":require("../../../../../../node_modules/is-buffer/index.js")})
|
|
98268
|
-
},{".":
|
|
96952
|
+
},{".":486,"../../../../../../node_modules/is-buffer/index.js":150,"ethereumjs-util":550}],489:[function(require,module,exports){
|
|
98269
96953
|
"use strict";
|
|
98270
96954
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
98271
96955
|
exports.N_DIV_2 = exports.isAccessList = exports.isAccessListBuffer = exports.Capability = void 0;
|
|
@@ -98317,7 +97001,7 @@ exports.isAccessList = isAccessList;
|
|
|
98317
97001
|
*/
|
|
98318
97002
|
exports.N_DIV_2 = new ethereumjs_util_1.BN('7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0', 16);
|
|
98319
97003
|
|
|
98320
|
-
},{"ethereumjs-util":
|
|
97004
|
+
},{"ethereumjs-util":550}],490:[function(require,module,exports){
|
|
98321
97005
|
"use strict";
|
|
98322
97006
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
98323
97007
|
exports.AccessLists = void 0;
|
|
@@ -98418,7 +97102,7 @@ var AccessLists = /** @class */ (function () {
|
|
|
98418
97102
|
}());
|
|
98419
97103
|
exports.AccessLists = AccessLists;
|
|
98420
97104
|
|
|
98421
|
-
},{"./types":
|
|
97105
|
+
},{"./types":489,"ethereumjs-util":550}],491:[function(require,module,exports){
|
|
98422
97106
|
(function (Buffer){(function (){
|
|
98423
97107
|
"use strict";
|
|
98424
97108
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
@@ -98632,7 +97316,7 @@ function nacl_decodeHex(msgHex) {
|
|
|
98632
97316
|
}
|
|
98633
97317
|
|
|
98634
97318
|
}).call(this)}).call(this,require("buffer").Buffer)
|
|
98635
|
-
},{"./utils":
|
|
97319
|
+
},{"./utils":495,"buffer":67,"tweetnacl":616,"tweetnacl-util":615}],492:[function(require,module,exports){
|
|
98636
97320
|
"use strict";
|
|
98637
97321
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
98638
97322
|
if (k2 === undefined) k2 = k;
|
|
@@ -98653,7 +97337,7 @@ var utils_1 = require("./utils");
|
|
|
98653
97337
|
Object.defineProperty(exports, "concatSig", { enumerable: true, get: function () { return utils_1.concatSig; } });
|
|
98654
97338
|
Object.defineProperty(exports, "normalize", { enumerable: true, get: function () { return utils_1.normalize; } });
|
|
98655
97339
|
|
|
98656
|
-
},{"./encryption":
|
|
97340
|
+
},{"./encryption":491,"./personal-sign":493,"./sign-typed-data":494,"./utils":495}],493:[function(require,module,exports){
|
|
98657
97341
|
"use strict";
|
|
98658
97342
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
98659
97343
|
exports.extractPublicKey = exports.recoverPersonalSignature = exports.personalSign = void 0;
|
|
@@ -98738,7 +97422,7 @@ function getPublicKeyFor(message, signature) {
|
|
|
98738
97422
|
return utils_1.recoverPublicKey(messageHash, signature);
|
|
98739
97423
|
}
|
|
98740
97424
|
|
|
98741
|
-
},{"./utils":
|
|
97425
|
+
},{"./utils":495,"ethereumjs-util":500}],494:[function(require,module,exports){
|
|
98742
97426
|
(function (Buffer){(function (){
|
|
98743
97427
|
"use strict";
|
|
98744
97428
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -99114,7 +97798,7 @@ function recoverTypedSignature({ data, signature, version, }) {
|
|
|
99114
97798
|
exports.recoverTypedSignature = recoverTypedSignature;
|
|
99115
97799
|
|
|
99116
97800
|
}).call(this)}).call(this,require("buffer").Buffer)
|
|
99117
|
-
},{"./utils":
|
|
97801
|
+
},{"./utils":495,"buffer":67,"ethereumjs-abi":531,"ethereumjs-util":500}],495:[function(require,module,exports){
|
|
99118
97802
|
(function (Buffer){(function (){
|
|
99119
97803
|
"use strict";
|
|
99120
97804
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -99221,7 +97905,7 @@ function normalize(input) {
|
|
|
99221
97905
|
exports.normalize = normalize;
|
|
99222
97906
|
|
|
99223
97907
|
}).call(this)}).call(this,require("buffer").Buffer)
|
|
99224
|
-
},{"buffer":67,"ethereumjs-util":
|
|
97908
|
+
},{"buffer":67,"ethereumjs-util":500,"ethjs-util":556}],496:[function(require,module,exports){
|
|
99225
97909
|
(function (Buffer){(function (){
|
|
99226
97910
|
"use strict";
|
|
99227
97911
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -99392,7 +98076,7 @@ exports.importPublic = function (publicKey) {
|
|
|
99392
98076
|
};
|
|
99393
98077
|
|
|
99394
98078
|
}).call(this)}).call(this,require("buffer").Buffer)
|
|
99395
|
-
},{"./bytes":
|
|
98079
|
+
},{"./bytes":497,"./hash":499,"./secp256k1v3-adapter":502,"assert":16,"bn.js":506,"buffer":67,"ethjs-util":556}],497:[function(require,module,exports){
|
|
99396
98080
|
(function (Buffer){(function (){
|
|
99397
98081
|
"use strict";
|
|
99398
98082
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -99553,7 +98237,7 @@ exports.baToJSON = function (ba) {
|
|
|
99553
98237
|
};
|
|
99554
98238
|
|
|
99555
98239
|
}).call(this)}).call(this,require("buffer").Buffer)
|
|
99556
|
-
},{"bn.js":
|
|
98240
|
+
},{"bn.js":506,"buffer":67,"ethjs-util":556}],498:[function(require,module,exports){
|
|
99557
98241
|
(function (Buffer){(function (){
|
|
99558
98242
|
"use strict";
|
|
99559
98243
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -99593,7 +98277,7 @@ exports.KECCAK256_RLP_S = '56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622
|
|
|
99593
98277
|
exports.KECCAK256_RLP = Buffer.from(exports.KECCAK256_RLP_S, 'hex');
|
|
99594
98278
|
|
|
99595
98279
|
}).call(this)}).call(this,require("buffer").Buffer)
|
|
99596
|
-
},{"bn.js":
|
|
98280
|
+
},{"bn.js":506,"buffer":67}],499:[function(require,module,exports){
|
|
99597
98281
|
(function (Buffer){(function (){
|
|
99598
98282
|
"use strict";
|
|
99599
98283
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -99680,7 +98364,7 @@ exports.rlphash = function (a) {
|
|
|
99680
98364
|
};
|
|
99681
98365
|
|
|
99682
98366
|
}).call(this)}).call(this,require("buffer").Buffer)
|
|
99683
|
-
},{"./bytes":
|
|
98367
|
+
},{"./bytes":497,"buffer":67,"create-hash":510,"ethereum-cryptography/keccak":528,"ethjs-util":556,"rlp":599}],500:[function(require,module,exports){
|
|
99684
98368
|
"use strict";
|
|
99685
98369
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
99686
98370
|
if (k2 === undefined) k2 = k;
|
|
@@ -99727,7 +98411,7 @@ __exportStar(require("./bytes"), exports);
|
|
|
99727
98411
|
*/
|
|
99728
98412
|
__exportStar(require("./object"), exports);
|
|
99729
98413
|
|
|
99730
|
-
},{"./account":
|
|
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){
|
|
99731
98415
|
(function (Buffer){(function (){
|
|
99732
98416
|
"use strict";
|
|
99733
98417
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -99836,7 +98520,7 @@ exports.defineProperties = function (self, fields, data) {
|
|
|
99836
98520
|
};
|
|
99837
98521
|
|
|
99838
98522
|
}).call(this)}).call(this,require("buffer").Buffer)
|
|
99839
|
-
},{"./bytes":
|
|
98523
|
+
},{"./bytes":497,"assert":16,"buffer":67,"ethjs-util":556,"rlp":599}],502:[function(require,module,exports){
|
|
99840
98524
|
(function (Buffer){(function (){
|
|
99841
98525
|
"use strict";
|
|
99842
98526
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -100139,7 +98823,7 @@ exports.ecdhUnsafe = function (publicKey, privateKey, compressed) {
|
|
|
100139
98823
|
};
|
|
100140
98824
|
|
|
100141
98825
|
}).call(this)}).call(this,require("buffer").Buffer)
|
|
100142
|
-
},{"./secp256k1v3-lib/der":
|
|
98826
|
+
},{"./secp256k1v3-lib/der":503,"./secp256k1v3-lib/index":504,"buffer":67,"ethereum-cryptography/secp256k1":530}],503:[function(require,module,exports){
|
|
100143
98827
|
(function (Buffer){(function (){
|
|
100144
98828
|
"use strict";
|
|
100145
98829
|
// This file is imported from secp256k1 v3
|
|
@@ -100776,7 +99460,7 @@ exports.signatureImportLax = function (signature) {
|
|
|
100776
99460
|
};
|
|
100777
99461
|
|
|
100778
99462
|
}).call(this)}).call(this,require("buffer").Buffer)
|
|
100779
|
-
},{"buffer":67}],
|
|
99463
|
+
},{"buffer":67}],504:[function(require,module,exports){
|
|
100780
99464
|
(function (Buffer){(function (){
|
|
100781
99465
|
"use strict";
|
|
100782
99466
|
// This file is imported from secp256k1 v3
|
|
@@ -100840,7 +99524,7 @@ var toPublicKey = function (x, y, compressed) {
|
|
|
100840
99524
|
};
|
|
100841
99525
|
|
|
100842
99526
|
}).call(this)}).call(this,require("buffer").Buffer)
|
|
100843
|
-
},{"bn.js":
|
|
99527
|
+
},{"bn.js":506,"buffer":67,"elliptic":511}],505:[function(require,module,exports){
|
|
100844
99528
|
(function (Buffer){(function (){
|
|
100845
99529
|
"use strict";
|
|
100846
99530
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -100950,13 +99634,13 @@ function isValidSigRecovery(recovery) {
|
|
|
100950
99634
|
}
|
|
100951
99635
|
|
|
100952
99636
|
}).call(this)}).call(this,require("buffer").Buffer)
|
|
100953
|
-
},{"./bytes":
|
|
99637
|
+
},{"./bytes":497,"./hash":499,"./secp256k1v3-adapter":502,"bn.js":506,"buffer":67}],506:[function(require,module,exports){
|
|
100954
99638
|
arguments[4][15][0].apply(exports,arguments)
|
|
100955
|
-
},{"buffer":24,"dup":15}],
|
|
99639
|
+
},{"buffer":24,"dup":15}],507:[function(require,module,exports){
|
|
100956
99640
|
arguments[4][23][0].apply(exports,arguments)
|
|
100957
|
-
},{"crypto":24,"dup":23}],
|
|
99641
|
+
},{"crypto":24,"dup":23}],508:[function(require,module,exports){
|
|
100958
99642
|
arguments[4][71][0].apply(exports,arguments)
|
|
100959
|
-
},{"dup":71,"inherits":
|
|
99643
|
+
},{"dup":71,"inherits":571,"safe-buffer":601,"stream":192,"string_decoder":207}],509:[function(require,module,exports){
|
|
100960
99644
|
/*! crc32.js (C) 2014-present SheetJS -- http://sheetjs.com */
|
|
100961
99645
|
/* vim: set ts=2: */
|
|
100962
99646
|
/*exported CRC32 */
|
|
@@ -101073,41 +99757,41 @@ CRC32.buf = crc32_buf;
|
|
|
101073
99757
|
CRC32.str = crc32_str;
|
|
101074
99758
|
}));
|
|
101075
99759
|
|
|
101076
|
-
},{}],
|
|
99760
|
+
},{}],510:[function(require,module,exports){
|
|
101077
99761
|
arguments[4][74][0].apply(exports,arguments)
|
|
101078
|
-
},{"cipher-base":
|
|
99762
|
+
},{"cipher-base":508,"dup":74,"inherits":571,"md5.js":579,"ripemd160":598,"sha.js":606}],511:[function(require,module,exports){
|
|
101079
99763
|
arguments[4][90][0].apply(exports,arguments)
|
|
101080
|
-
},{"../package.json":
|
|
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){
|
|
101081
99765
|
arguments[4][91][0].apply(exports,arguments)
|
|
101082
|
-
},{"../utils":
|
|
99766
|
+
},{"../utils":525,"bn.js":506,"dup":91}],513:[function(require,module,exports){
|
|
101083
99767
|
arguments[4][92][0].apply(exports,arguments)
|
|
101084
|
-
},{"../utils":
|
|
99768
|
+
},{"../utils":525,"./base":512,"bn.js":506,"dup":92,"inherits":571}],514:[function(require,module,exports){
|
|
101085
99769
|
arguments[4][93][0].apply(exports,arguments)
|
|
101086
|
-
},{"./base":
|
|
99770
|
+
},{"./base":512,"./edwards":513,"./mont":515,"./short":516,"dup":93}],515:[function(require,module,exports){
|
|
101087
99771
|
arguments[4][94][0].apply(exports,arguments)
|
|
101088
|
-
},{"../utils":
|
|
99772
|
+
},{"../utils":525,"./base":512,"bn.js":506,"dup":94,"inherits":571}],516:[function(require,module,exports){
|
|
101089
99773
|
arguments[4][95][0].apply(exports,arguments)
|
|
101090
|
-
},{"../utils":
|
|
99774
|
+
},{"../utils":525,"./base":512,"bn.js":506,"dup":95,"inherits":571}],517:[function(require,module,exports){
|
|
101091
99775
|
arguments[4][96][0].apply(exports,arguments)
|
|
101092
|
-
},{"./curve":
|
|
99776
|
+
},{"./curve":514,"./precomputed/secp256k1":524,"./utils":525,"dup":96,"hash.js":558}],518:[function(require,module,exports){
|
|
101093
99777
|
arguments[4][97][0].apply(exports,arguments)
|
|
101094
|
-
},{"../curves":
|
|
99778
|
+
},{"../curves":517,"../utils":525,"./key":519,"./signature":520,"bn.js":506,"brorand":507,"dup":97,"hmac-drbg":570}],519:[function(require,module,exports){
|
|
101095
99779
|
arguments[4][98][0].apply(exports,arguments)
|
|
101096
|
-
},{"../utils":
|
|
99780
|
+
},{"../utils":525,"bn.js":506,"dup":98}],520:[function(require,module,exports){
|
|
101097
99781
|
arguments[4][99][0].apply(exports,arguments)
|
|
101098
|
-
},{"../utils":
|
|
99782
|
+
},{"../utils":525,"bn.js":506,"dup":99}],521:[function(require,module,exports){
|
|
101099
99783
|
arguments[4][100][0].apply(exports,arguments)
|
|
101100
|
-
},{"../curves":
|
|
99784
|
+
},{"../curves":517,"../utils":525,"./key":522,"./signature":523,"dup":100,"hash.js":558}],522:[function(require,module,exports){
|
|
101101
99785
|
arguments[4][101][0].apply(exports,arguments)
|
|
101102
|
-
},{"../utils":
|
|
99786
|
+
},{"../utils":525,"dup":101}],523:[function(require,module,exports){
|
|
101103
99787
|
arguments[4][102][0].apply(exports,arguments)
|
|
101104
|
-
},{"../utils":
|
|
99788
|
+
},{"../utils":525,"bn.js":506,"dup":102}],524:[function(require,module,exports){
|
|
101105
99789
|
arguments[4][103][0].apply(exports,arguments)
|
|
101106
|
-
},{"dup":103}],
|
|
99790
|
+
},{"dup":103}],525:[function(require,module,exports){
|
|
101107
99791
|
arguments[4][104][0].apply(exports,arguments)
|
|
101108
|
-
},{"bn.js":
|
|
99792
|
+
},{"bn.js":506,"dup":104,"minimalistic-assert":580,"minimalistic-crypto-utils":581}],526:[function(require,module,exports){
|
|
101109
99793
|
arguments[4][106][0].apply(exports,arguments)
|
|
101110
|
-
},{"dup":106}],
|
|
99794
|
+
},{"dup":106}],527:[function(require,module,exports){
|
|
101111
99795
|
(function (Buffer){(function (){
|
|
101112
99796
|
"use strict";
|
|
101113
99797
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -101121,7 +99805,7 @@ function createHashFunction(hashConstructor) {
|
|
|
101121
99805
|
exports.createHashFunction = createHashFunction;
|
|
101122
99806
|
|
|
101123
99807
|
}).call(this)}).call(this,require("buffer").Buffer)
|
|
101124
|
-
},{"buffer":67}],
|
|
99808
|
+
},{"buffer":67}],528:[function(require,module,exports){
|
|
101125
99809
|
"use strict";
|
|
101126
99810
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
101127
99811
|
var hash_utils_1 = require("./hash-utils");
|
|
@@ -101139,7 +99823,7 @@ exports.keccak512 = hash_utils_1.createHashFunction(function () {
|
|
|
101139
99823
|
return createKeccakHash("keccak512");
|
|
101140
99824
|
});
|
|
101141
99825
|
|
|
101142
|
-
},{"./hash-utils":
|
|
99826
|
+
},{"./hash-utils":527,"keccak":573}],529:[function(require,module,exports){
|
|
101143
99827
|
"use strict";
|
|
101144
99828
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
101145
99829
|
var randombytes = require("randombytes");
|
|
@@ -101160,7 +99844,7 @@ function getRandomBytesSync(bytes) {
|
|
|
101160
99844
|
}
|
|
101161
99845
|
exports.getRandomBytesSync = getRandomBytesSync;
|
|
101162
99846
|
|
|
101163
|
-
},{"randombytes":
|
|
99847
|
+
},{"randombytes":582}],530:[function(require,module,exports){
|
|
101164
99848
|
"use strict";
|
|
101165
99849
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
101166
99850
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
@@ -101236,10 +99920,10 @@ function createPrivateKeySync() {
|
|
|
101236
99920
|
exports.createPrivateKeySync = createPrivateKeySync;
|
|
101237
99921
|
__export(require("secp256k1"));
|
|
101238
99922
|
|
|
101239
|
-
},{"./random":
|
|
99923
|
+
},{"./random":529,"secp256k1":602}],531:[function(require,module,exports){
|
|
101240
99924
|
module.exports = require('./lib/index.js')
|
|
101241
99925
|
|
|
101242
|
-
},{"./lib/index.js":
|
|
99926
|
+
},{"./lib/index.js":532}],532:[function(require,module,exports){
|
|
101243
99927
|
(function (Buffer){(function (){
|
|
101244
99928
|
/* eslint-disable no-useless-escape */
|
|
101245
99929
|
const utils = require('ethereumjs-util')
|
|
@@ -101847,27 +100531,27 @@ ABI.toSerpent = function (types) {
|
|
|
101847
100531
|
module.exports = ABI
|
|
101848
100532
|
|
|
101849
100533
|
}).call(this)}).call(this,require("buffer").Buffer)
|
|
101850
|
-
},{"bn.js":
|
|
101851
|
-
arguments[4][
|
|
101852
|
-
},{"./bytes":
|
|
101853
|
-
arguments[4][
|
|
101854
|
-
},{"bn.js":
|
|
101855
|
-
arguments[4][
|
|
101856
|
-
},{"bn.js":
|
|
101857
|
-
arguments[4][
|
|
101858
|
-
},{"./bytes":
|
|
101859
|
-
arguments[4][
|
|
101860
|
-
},{"./account":
|
|
101861
|
-
arguments[4][
|
|
101862
|
-
},{"./bytes":
|
|
101863
|
-
arguments[4][
|
|
101864
|
-
},{"./secp256k1v3-lib/der":
|
|
101865
|
-
arguments[4][
|
|
101866
|
-
},{"buffer":67,"dup":
|
|
101867
|
-
arguments[4][
|
|
101868
|
-
},{"bn.js":
|
|
101869
|
-
arguments[4][
|
|
101870
|
-
},{"./bytes":
|
|
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){
|
|
101871
100555
|
(function (Buffer){(function (){
|
|
101872
100556
|
"use strict";
|
|
101873
100557
|
var __read = (this && this.__read) || function (o, n) {
|
|
@@ -102166,7 +100850,7 @@ var isZeroAddress = function (hexAddress) {
|
|
|
102166
100850
|
exports.isZeroAddress = isZeroAddress;
|
|
102167
100851
|
|
|
102168
100852
|
}).call(this)}).call(this,require("buffer").Buffer)
|
|
102169
|
-
},{"./bytes":
|
|
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){
|
|
102170
100854
|
(function (Buffer){(function (){
|
|
102171
100855
|
"use strict";
|
|
102172
100856
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -102274,7 +100958,7 @@ var Address = /** @class */ (function () {
|
|
|
102274
100958
|
exports.Address = Address;
|
|
102275
100959
|
|
|
102276
100960
|
}).call(this)}).call(this,require("buffer").Buffer)
|
|
102277
|
-
},{"./account":
|
|
100961
|
+
},{"./account":543,"./bytes":545,"./externals":547,"assert":16,"buffer":67}],545:[function(require,module,exports){
|
|
102278
100962
|
(function (Buffer){(function (){
|
|
102279
100963
|
"use strict";
|
|
102280
100964
|
var __values = (this && this.__values) || function(o) {
|
|
@@ -102610,7 +101294,7 @@ function bufArrToArr(arr) {
|
|
|
102610
101294
|
exports.bufArrToArr = bufArrToArr;
|
|
102611
101295
|
|
|
102612
101296
|
}).call(this)}).call(this,require("buffer").Buffer)
|
|
102613
|
-
},{"./externals":
|
|
101297
|
+
},{"./externals":547,"./helpers":549,"./internal":551,"buffer":67}],546:[function(require,module,exports){
|
|
102614
101298
|
"use strict";
|
|
102615
101299
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
102616
101300
|
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;
|
|
@@ -102653,7 +101337,7 @@ exports.KECCAK256_RLP_S = '56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622
|
|
|
102653
101337
|
*/
|
|
102654
101338
|
exports.KECCAK256_RLP = buffer_1.Buffer.from(exports.KECCAK256_RLP_S, 'hex');
|
|
102655
101339
|
|
|
102656
|
-
},{"./externals":
|
|
101340
|
+
},{"./externals":547,"buffer":67}],547:[function(require,module,exports){
|
|
102657
101341
|
"use strict";
|
|
102658
101342
|
/**
|
|
102659
101343
|
* Re-exports commonly used modules:
|
|
@@ -102693,7 +101377,7 @@ exports.BN = bn_js_1.default;
|
|
|
102693
101377
|
var rlp = __importStar(require("rlp"));
|
|
102694
101378
|
exports.rlp = rlp;
|
|
102695
101379
|
|
|
102696
|
-
},{"bn.js":
|
|
101380
|
+
},{"bn.js":555,"rlp":599}],548:[function(require,module,exports){
|
|
102697
101381
|
(function (Buffer){(function (){
|
|
102698
101382
|
"use strict";
|
|
102699
101383
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -102862,7 +101546,7 @@ var rlphash = function (a) {
|
|
|
102862
101546
|
exports.rlphash = rlphash;
|
|
102863
101547
|
|
|
102864
101548
|
}).call(this)}).call(this,require("buffer").Buffer)
|
|
102865
|
-
},{"./bytes":
|
|
101549
|
+
},{"./bytes":545,"./externals":547,"./helpers":549,"buffer":67,"create-hash":510,"ethereum-cryptography/keccak":528}],549:[function(require,module,exports){
|
|
102866
101550
|
(function (Buffer){(function (){
|
|
102867
101551
|
"use strict";
|
|
102868
101552
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -102914,7 +101598,7 @@ var assertIsString = function (input) {
|
|
|
102914
101598
|
exports.assertIsString = assertIsString;
|
|
102915
101599
|
|
|
102916
101600
|
}).call(this)}).call(this,{"isBuffer":require("../../../../../node_modules/is-buffer/index.js")})
|
|
102917
|
-
},{"../../../../../node_modules/is-buffer/index.js":150,"./internal":
|
|
101601
|
+
},{"../../../../../node_modules/is-buffer/index.js":150,"./internal":551}],550:[function(require,module,exports){
|
|
102918
101602
|
"use strict";
|
|
102919
101603
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
102920
101604
|
if (k2 === undefined) k2 = k;
|
|
@@ -102983,7 +101667,7 @@ Object.defineProperty(exports, "fromAscii", { enumerable: true, get: function ()
|
|
|
102983
101667
|
Object.defineProperty(exports, "getKeys", { enumerable: true, get: function () { return internal_1.getKeys; } });
|
|
102984
101668
|
Object.defineProperty(exports, "isHexString", { enumerable: true, get: function () { return internal_1.isHexString; } });
|
|
102985
101669
|
|
|
102986
|
-
},{"./account":
|
|
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){
|
|
102987
101671
|
(function (Buffer){(function (){
|
|
102988
101672
|
"use strict";
|
|
102989
101673
|
/*
|
|
@@ -103177,7 +101861,7 @@ function isHexString(value, length) {
|
|
|
103177
101861
|
exports.isHexString = isHexString;
|
|
103178
101862
|
|
|
103179
101863
|
}).call(this)}).call(this,require("buffer").Buffer)
|
|
103180
|
-
},{"buffer":67}],
|
|
101864
|
+
},{"buffer":67}],552:[function(require,module,exports){
|
|
103181
101865
|
(function (Buffer){(function (){
|
|
103182
101866
|
"use strict";
|
|
103183
101867
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -103290,7 +101974,7 @@ var defineProperties = function (self, fields, data) {
|
|
|
103290
101974
|
exports.defineProperties = defineProperties;
|
|
103291
101975
|
|
|
103292
101976
|
}).call(this)}).call(this,require("buffer").Buffer)
|
|
103293
|
-
},{"./bytes":
|
|
101977
|
+
},{"./bytes":545,"./externals":547,"./internal":551,"assert":16,"buffer":67}],553:[function(require,module,exports){
|
|
103294
101978
|
(function (Buffer){(function (){
|
|
103295
101979
|
"use strict";
|
|
103296
101980
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -103457,7 +102141,7 @@ var hashPersonalMessage = function (message) {
|
|
|
103457
102141
|
exports.hashPersonalMessage = hashPersonalMessage;
|
|
103458
102142
|
|
|
103459
102143
|
}).call(this)}).call(this,require("buffer").Buffer)
|
|
103460
|
-
},{"./bytes":
|
|
102144
|
+
},{"./bytes":545,"./externals":547,"./hash":548,"./helpers":549,"./types":554,"buffer":67,"ethereum-cryptography/secp256k1":530}],554:[function(require,module,exports){
|
|
103461
102145
|
(function (Buffer){(function (){
|
|
103462
102146
|
"use strict";
|
|
103463
102147
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -103537,9 +102221,9 @@ function toType(input, outputType) {
|
|
|
103537
102221
|
exports.toType = toType;
|
|
103538
102222
|
|
|
103539
102223
|
}).call(this)}).call(this,require("buffer").Buffer)
|
|
103540
|
-
},{"./bytes":
|
|
102224
|
+
},{"./bytes":545,"./externals":547,"./internal":551,"buffer":67}],555:[function(require,module,exports){
|
|
103541
102225
|
arguments[4][22][0].apply(exports,arguments)
|
|
103542
|
-
},{"buffer":24,"dup":22}],
|
|
102226
|
+
},{"buffer":24,"dup":22}],556:[function(require,module,exports){
|
|
103543
102227
|
(function (Buffer){(function (){
|
|
103544
102228
|
'use strict';
|
|
103545
102229
|
|
|
@@ -103762,42 +102446,42 @@ module.exports = {
|
|
|
103762
102446
|
isHexString: isHexString
|
|
103763
102447
|
};
|
|
103764
102448
|
}).call(this)}).call(this,require("buffer").Buffer)
|
|
103765
|
-
},{"buffer":67,"is-hex-prefixed":
|
|
102449
|
+
},{"buffer":67,"is-hex-prefixed":572,"strip-hex-prefix":614}],557:[function(require,module,exports){
|
|
103766
102450
|
arguments[4][118][0].apply(exports,arguments)
|
|
103767
|
-
},{"dup":118,"inherits":
|
|
102451
|
+
},{"dup":118,"inherits":571,"readable-stream":597,"safe-buffer":601}],558:[function(require,module,exports){
|
|
103768
102452
|
arguments[4][134][0].apply(exports,arguments)
|
|
103769
|
-
},{"./hash/common":
|
|
102453
|
+
},{"./hash/common":559,"./hash/hmac":560,"./hash/ripemd":561,"./hash/sha":562,"./hash/utils":569,"dup":134}],559:[function(require,module,exports){
|
|
103770
102454
|
arguments[4][135][0].apply(exports,arguments)
|
|
103771
|
-
},{"./utils":
|
|
102455
|
+
},{"./utils":569,"dup":135,"minimalistic-assert":580}],560:[function(require,module,exports){
|
|
103772
102456
|
arguments[4][136][0].apply(exports,arguments)
|
|
103773
|
-
},{"./utils":
|
|
102457
|
+
},{"./utils":569,"dup":136,"minimalistic-assert":580}],561:[function(require,module,exports){
|
|
103774
102458
|
arguments[4][137][0].apply(exports,arguments)
|
|
103775
|
-
},{"./common":
|
|
102459
|
+
},{"./common":559,"./utils":569,"dup":137}],562:[function(require,module,exports){
|
|
103776
102460
|
arguments[4][138][0].apply(exports,arguments)
|
|
103777
|
-
},{"./sha/1":
|
|
102461
|
+
},{"./sha/1":563,"./sha/224":564,"./sha/256":565,"./sha/384":566,"./sha/512":567,"dup":138}],563:[function(require,module,exports){
|
|
103778
102462
|
arguments[4][139][0].apply(exports,arguments)
|
|
103779
|
-
},{"../common":
|
|
102463
|
+
},{"../common":559,"../utils":569,"./common":568,"dup":139}],564:[function(require,module,exports){
|
|
103780
102464
|
arguments[4][140][0].apply(exports,arguments)
|
|
103781
|
-
},{"../utils":
|
|
102465
|
+
},{"../utils":569,"./256":565,"dup":140}],565:[function(require,module,exports){
|
|
103782
102466
|
arguments[4][141][0].apply(exports,arguments)
|
|
103783
|
-
},{"../common":
|
|
102467
|
+
},{"../common":559,"../utils":569,"./common":568,"dup":141,"minimalistic-assert":580}],566:[function(require,module,exports){
|
|
103784
102468
|
arguments[4][142][0].apply(exports,arguments)
|
|
103785
|
-
},{"../utils":
|
|
102469
|
+
},{"../utils":569,"./512":567,"dup":142}],567:[function(require,module,exports){
|
|
103786
102470
|
arguments[4][143][0].apply(exports,arguments)
|
|
103787
|
-
},{"../common":
|
|
102471
|
+
},{"../common":559,"../utils":569,"dup":143,"minimalistic-assert":580}],568:[function(require,module,exports){
|
|
103788
102472
|
arguments[4][144][0].apply(exports,arguments)
|
|
103789
|
-
},{"../utils":
|
|
102473
|
+
},{"../utils":569,"dup":144}],569:[function(require,module,exports){
|
|
103790
102474
|
arguments[4][145][0].apply(exports,arguments)
|
|
103791
|
-
},{"dup":145,"inherits":
|
|
102475
|
+
},{"dup":145,"inherits":571,"minimalistic-assert":580}],570:[function(require,module,exports){
|
|
103792
102476
|
arguments[4][146][0].apply(exports,arguments)
|
|
103793
|
-
},{"dup":146,"hash.js":
|
|
102477
|
+
},{"dup":146,"hash.js":558,"minimalistic-assert":580,"minimalistic-crypto-utils":581}],571:[function(require,module,exports){
|
|
103794
102478
|
arguments[4][148][0].apply(exports,arguments)
|
|
103795
|
-
},{"dup":148}],
|
|
103796
|
-
arguments[4][
|
|
103797
|
-
},{"dup":
|
|
102479
|
+
},{"dup":148}],572:[function(require,module,exports){
|
|
102480
|
+
arguments[4][365][0].apply(exports,arguments)
|
|
102481
|
+
},{"dup":365}],573:[function(require,module,exports){
|
|
103798
102482
|
module.exports = require('./lib/api')(require('./lib/keccak'))
|
|
103799
102483
|
|
|
103800
|
-
},{"./lib/api":
|
|
102484
|
+
},{"./lib/api":574,"./lib/keccak":578}],574:[function(require,module,exports){
|
|
103801
102485
|
const createKeccak = require('./keccak')
|
|
103802
102486
|
const createShake = require('./shake')
|
|
103803
102487
|
|
|
@@ -103826,7 +102510,7 @@ module.exports = function (KeccakState) {
|
|
|
103826
102510
|
}
|
|
103827
102511
|
}
|
|
103828
102512
|
|
|
103829
|
-
},{"./keccak":
|
|
102513
|
+
},{"./keccak":575,"./shake":576}],575:[function(require,module,exports){
|
|
103830
102514
|
(function (Buffer){(function (){
|
|
103831
102515
|
const { Transform } = require('readable-stream')
|
|
103832
102516
|
|
|
@@ -103907,7 +102591,7 @@ module.exports = (KeccakState) => class Keccak extends Transform {
|
|
|
103907
102591
|
}
|
|
103908
102592
|
|
|
103909
102593
|
}).call(this)}).call(this,require("buffer").Buffer)
|
|
103910
|
-
},{"buffer":67,"readable-stream":
|
|
102594
|
+
},{"buffer":67,"readable-stream":597}],576:[function(require,module,exports){
|
|
103911
102595
|
(function (Buffer){(function (){
|
|
103912
102596
|
const { Transform } = require('readable-stream')
|
|
103913
102597
|
|
|
@@ -103979,7 +102663,7 @@ module.exports = (KeccakState) => class Shake extends Transform {
|
|
|
103979
102663
|
}
|
|
103980
102664
|
|
|
103981
102665
|
}).call(this)}).call(this,require("buffer").Buffer)
|
|
103982
|
-
},{"buffer":67,"readable-stream":
|
|
102666
|
+
},{"buffer":67,"readable-stream":597}],577:[function(require,module,exports){
|
|
103983
102667
|
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]
|
|
103984
102668
|
|
|
103985
102669
|
exports.p1600 = function (s) {
|
|
@@ -104167,7 +102851,7 @@ exports.p1600 = function (s) {
|
|
|
104167
102851
|
}
|
|
104168
102852
|
}
|
|
104169
102853
|
|
|
104170
|
-
},{}],
|
|
102854
|
+
},{}],578:[function(require,module,exports){
|
|
104171
102855
|
(function (Buffer){(function (){
|
|
104172
102856
|
const keccakState = require('./keccak-state-unroll')
|
|
104173
102857
|
|
|
@@ -104239,47 +102923,47 @@ Keccak.prototype.copy = function (dest) {
|
|
|
104239
102923
|
module.exports = Keccak
|
|
104240
102924
|
|
|
104241
102925
|
}).call(this)}).call(this,require("buffer").Buffer)
|
|
104242
|
-
},{"./keccak-state-unroll":
|
|
102926
|
+
},{"./keccak-state-unroll":577,"buffer":67}],579:[function(require,module,exports){
|
|
104243
102927
|
arguments[4][154][0].apply(exports,arguments)
|
|
104244
|
-
},{"dup":154,"hash-base":
|
|
102928
|
+
},{"dup":154,"hash-base":557,"inherits":571,"safe-buffer":601}],580:[function(require,module,exports){
|
|
104245
102929
|
arguments[4][157][0].apply(exports,arguments)
|
|
104246
|
-
},{"dup":157}],
|
|
102930
|
+
},{"dup":157}],581:[function(require,module,exports){
|
|
104247
102931
|
arguments[4][158][0].apply(exports,arguments)
|
|
104248
|
-
},{"dup":158}],
|
|
102932
|
+
},{"dup":158}],582:[function(require,module,exports){
|
|
104249
102933
|
arguments[4][179][0].apply(exports,arguments)
|
|
104250
|
-
},{"_process":171,"dup":179,"safe-buffer":
|
|
102934
|
+
},{"_process":171,"dup":179,"safe-buffer":601}],583:[function(require,module,exports){
|
|
104251
102935
|
arguments[4][52][0].apply(exports,arguments)
|
|
104252
|
-
},{"dup":52}],
|
|
102936
|
+
},{"dup":52}],584:[function(require,module,exports){
|
|
104253
102937
|
arguments[4][53][0].apply(exports,arguments)
|
|
104254
|
-
},{"./_stream_readable":
|
|
102938
|
+
},{"./_stream_readable":586,"./_stream_writable":588,"_process":171,"dup":53,"inherits":571}],585:[function(require,module,exports){
|
|
104255
102939
|
arguments[4][54][0].apply(exports,arguments)
|
|
104256
|
-
},{"./_stream_transform":
|
|
102940
|
+
},{"./_stream_transform":587,"dup":54,"inherits":571}],586:[function(require,module,exports){
|
|
104257
102941
|
arguments[4][55][0].apply(exports,arguments)
|
|
104258
|
-
},{"../errors":
|
|
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){
|
|
104259
102943
|
arguments[4][56][0].apply(exports,arguments)
|
|
104260
|
-
},{"../errors":
|
|
102944
|
+
},{"../errors":583,"./_stream_duplex":584,"dup":56,"inherits":571}],588:[function(require,module,exports){
|
|
104261
102945
|
arguments[4][57][0].apply(exports,arguments)
|
|
104262
|
-
},{"../errors":
|
|
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){
|
|
104263
102947
|
arguments[4][58][0].apply(exports,arguments)
|
|
104264
|
-
},{"./end-of-stream":
|
|
102948
|
+
},{"./end-of-stream":592,"_process":171,"dup":58}],590:[function(require,module,exports){
|
|
104265
102949
|
arguments[4][59][0].apply(exports,arguments)
|
|
104266
|
-
},{"buffer":67,"dup":59,"util":24}],
|
|
102950
|
+
},{"buffer":67,"dup":59,"util":24}],591:[function(require,module,exports){
|
|
104267
102951
|
arguments[4][60][0].apply(exports,arguments)
|
|
104268
|
-
},{"_process":171,"dup":60}],
|
|
102952
|
+
},{"_process":171,"dup":60}],592:[function(require,module,exports){
|
|
104269
102953
|
arguments[4][61][0].apply(exports,arguments)
|
|
104270
|
-
},{"../../../errors":
|
|
102954
|
+
},{"../../../errors":583,"dup":61}],593:[function(require,module,exports){
|
|
104271
102955
|
arguments[4][62][0].apply(exports,arguments)
|
|
104272
|
-
},{"dup":62}],
|
|
102956
|
+
},{"dup":62}],594:[function(require,module,exports){
|
|
104273
102957
|
arguments[4][63][0].apply(exports,arguments)
|
|
104274
|
-
},{"../../../errors":
|
|
102958
|
+
},{"../../../errors":583,"./end-of-stream":592,"dup":63}],595:[function(require,module,exports){
|
|
104275
102959
|
arguments[4][64][0].apply(exports,arguments)
|
|
104276
|
-
},{"../../../errors":
|
|
102960
|
+
},{"../../../errors":583,"dup":64}],596:[function(require,module,exports){
|
|
104277
102961
|
arguments[4][65][0].apply(exports,arguments)
|
|
104278
|
-
},{"dup":65,"events":108}],
|
|
102962
|
+
},{"dup":65,"events":108}],597:[function(require,module,exports){
|
|
104279
102963
|
arguments[4][66][0].apply(exports,arguments)
|
|
104280
|
-
},{"./lib/_stream_duplex.js":
|
|
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){
|
|
104281
102965
|
arguments[4][181][0].apply(exports,arguments)
|
|
104282
|
-
},{"buffer":67,"dup":181,"hash-base":
|
|
102966
|
+
},{"buffer":67,"dup":181,"hash-base":557,"inherits":571}],599:[function(require,module,exports){
|
|
104283
102967
|
(function (Buffer){(function (){
|
|
104284
102968
|
"use strict";
|
|
104285
102969
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -104534,13 +103218,13 @@ function toBuffer(v) {
|
|
|
104534
103218
|
}
|
|
104535
103219
|
|
|
104536
103220
|
}).call(this)}).call(this,require("buffer").Buffer)
|
|
104537
|
-
},{"bn.js":
|
|
103221
|
+
},{"bn.js":600,"buffer":67}],600:[function(require,module,exports){
|
|
104538
103222
|
arguments[4][22][0].apply(exports,arguments)
|
|
104539
|
-
},{"buffer":24,"dup":22}],
|
|
103223
|
+
},{"buffer":24,"dup":22}],601:[function(require,module,exports){
|
|
104540
103224
|
arguments[4][182][0].apply(exports,arguments)
|
|
104541
|
-
},{"buffer":67,"dup":182}],
|
|
104542
|
-
arguments[4][
|
|
104543
|
-
},{"./lib":
|
|
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){
|
|
104544
103228
|
const EC = require('elliptic').ec
|
|
104545
103229
|
|
|
104546
103230
|
const ec = new EC('secp256k1')
|
|
@@ -104944,27 +103628,27 @@ module.exports = {
|
|
|
104944
103628
|
}
|
|
104945
103629
|
}
|
|
104946
103630
|
|
|
104947
|
-
},{"elliptic":
|
|
104948
|
-
arguments[4][
|
|
104949
|
-
},{"dup":
|
|
103631
|
+
},{"elliptic":511}],604:[function(require,module,exports){
|
|
103632
|
+
arguments[4][396][0].apply(exports,arguments)
|
|
103633
|
+
},{"dup":396}],605:[function(require,module,exports){
|
|
104950
103634
|
arguments[4][184][0].apply(exports,arguments)
|
|
104951
|
-
},{"dup":184,"safe-buffer":
|
|
103635
|
+
},{"dup":184,"safe-buffer":601}],606:[function(require,module,exports){
|
|
104952
103636
|
arguments[4][185][0].apply(exports,arguments)
|
|
104953
|
-
},{"./sha":
|
|
103637
|
+
},{"./sha":607,"./sha1":608,"./sha224":609,"./sha256":610,"./sha384":611,"./sha512":612,"dup":185}],607:[function(require,module,exports){
|
|
104954
103638
|
arguments[4][186][0].apply(exports,arguments)
|
|
104955
|
-
},{"./hash":
|
|
103639
|
+
},{"./hash":605,"dup":186,"inherits":571,"safe-buffer":601}],608:[function(require,module,exports){
|
|
104956
103640
|
arguments[4][187][0].apply(exports,arguments)
|
|
104957
|
-
},{"./hash":
|
|
103641
|
+
},{"./hash":605,"dup":187,"inherits":571,"safe-buffer":601}],609:[function(require,module,exports){
|
|
104958
103642
|
arguments[4][188][0].apply(exports,arguments)
|
|
104959
|
-
},{"./hash":
|
|
103643
|
+
},{"./hash":605,"./sha256":610,"dup":188,"inherits":571,"safe-buffer":601}],610:[function(require,module,exports){
|
|
104960
103644
|
arguments[4][189][0].apply(exports,arguments)
|
|
104961
|
-
},{"./hash":
|
|
103645
|
+
},{"./hash":605,"dup":189,"inherits":571,"safe-buffer":601}],611:[function(require,module,exports){
|
|
104962
103646
|
arguments[4][190][0].apply(exports,arguments)
|
|
104963
|
-
},{"./hash":
|
|
103647
|
+
},{"./hash":605,"./sha512":612,"dup":190,"inherits":571,"safe-buffer":601}],612:[function(require,module,exports){
|
|
104964
103648
|
arguments[4][191][0].apply(exports,arguments)
|
|
104965
|
-
},{"./hash":
|
|
103649
|
+
},{"./hash":605,"dup":191,"inherits":571,"safe-buffer":601}],613:[function(require,module,exports){
|
|
104966
103650
|
arguments[4][207][0].apply(exports,arguments)
|
|
104967
|
-
},{"dup":207,"safe-buffer":
|
|
103651
|
+
},{"dup":207,"safe-buffer":601}],614:[function(require,module,exports){
|
|
104968
103652
|
var isHexPrefixed = require('is-hex-prefixed');
|
|
104969
103653
|
|
|
104970
103654
|
/**
|
|
@@ -104980,7 +103664,7 @@ module.exports = function stripHexPrefix(str) {
|
|
|
104980
103664
|
return isHexPrefixed(str) ? str.slice(2) : str;
|
|
104981
103665
|
}
|
|
104982
103666
|
|
|
104983
|
-
},{"is-hex-prefixed":
|
|
103667
|
+
},{"is-hex-prefixed":572}],615:[function(require,module,exports){
|
|
104984
103668
|
(function (Buffer){(function (){
|
|
104985
103669
|
// Written in 2014-2016 by Dmitry Chestnykh and Devi Mandiri.
|
|
104986
103670
|
// Public domain.
|
|
@@ -105065,7 +103749,7 @@ module.exports = function stripHexPrefix(str) {
|
|
|
105065
103749
|
}));
|
|
105066
103750
|
|
|
105067
103751
|
}).call(this)}).call(this,require("buffer").Buffer)
|
|
105068
|
-
},{"buffer":24}],
|
|
103752
|
+
},{"buffer":24}],616:[function(require,module,exports){
|
|
105069
103753
|
(function(nacl) {
|
|
105070
103754
|
'use strict';
|
|
105071
103755
|
|
|
@@ -107458,7 +106142,7 @@ nacl.setPRNG = function(fn) {
|
|
|
107458
106142
|
|
|
107459
106143
|
})(typeof module !== 'undefined' && module.exports ? module.exports : (self.nacl = self.nacl || {}));
|
|
107460
106144
|
|
|
107461
|
-
},{"crypto":24}],
|
|
106145
|
+
},{"crypto":24}],617:[function(require,module,exports){
|
|
107462
106146
|
arguments[4][209][0].apply(exports,arguments)
|
|
107463
|
-
},{"dup":209}]},{},[
|
|
106147
|
+
},{"dup":209}]},{},[426])(426)
|
|
107464
106148
|
});
|