@onekeyfe/hd-web-sdk 0.1.8 → 0.1.11

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.
@@ -4086,6 +4086,9 @@ const inject = ({
4086
4086
  checkTransportRelease: () => call({
4087
4087
  method: 'checkTransportRelease'
4088
4088
  }),
4089
+ checkBridgeStatus: () => call({
4090
+ method: 'checkBridgeStatus'
4091
+ }),
4089
4092
  cipherKeyValue: (connectId, params) => call(Object.assign(Object.assign({}, params), {
4090
4093
  connectId,
4091
4094
  method: 'cipherKeyValue'
@@ -4122,6 +4125,10 @@ const inject = ({
4122
4125
  connectId,
4123
4126
  method: 'deviceUpdateReboot'
4124
4127
  }),
4128
+ deviceVerify: (connectId, params) => call(Object.assign(Object.assign({}, params), {
4129
+ connectId,
4130
+ method: 'deviceVerify'
4131
+ })),
4125
4132
  deviceWipe: connectId => call({
4126
4133
  connectId,
4127
4134
  method: 'deviceWipe'
@@ -4968,6 +4975,18 @@ const versionCompare = (a, b) => {
4968
4975
  return 0;
4969
4976
  };
4970
4977
 
4978
+ function patchFeatures(response) {
4979
+ if (response.type !== 'Features') {
4980
+ return response;
4981
+ }
4982
+
4983
+ if (response.message.major_version < 1) {
4984
+ response.message.major_version = 1;
4985
+ }
4986
+
4987
+ return response;
4988
+ }
4989
+
4971
4990
  const getDeviceModel = features => {
4972
4991
  if (!features || typeof features !== 'object') {
4973
4992
  return 'model_mini';
@@ -4992,6 +5011,18 @@ const getDeviceType = features => {
4992
5011
  return 'classic';
4993
5012
  };
4994
5013
 
5014
+ const getDeviceTypeOnBootloader = features => {
5015
+ if (!features || typeof features !== 'object') {
5016
+ return 'classic';
5017
+ }
5018
+
5019
+ if (features.model === 'T') {
5020
+ return 'touch';
5021
+ }
5022
+
5023
+ return getDeviceType(features);
5024
+ };
5025
+
4995
5026
  const getDeviceTypeByBleName = name => {
4996
5027
  if (!name) return 'classic';
4997
5028
  if (name.startsWith('MI')) return 'mini';
@@ -14311,7 +14342,7 @@ class DeviceCommands {
14311
14342
  }
14312
14343
 
14313
14344
  if (res.type === 'Features') {
14314
- return Promise.resolve(res);
14345
+ return Promise.resolve(patchFeatures(res));
14315
14346
  }
14316
14347
 
14317
14348
  if (res.type === 'ButtonRequest') {
@@ -14508,7 +14539,7 @@ class Device extends events.exports {
14508
14539
  return {
14509
14540
  connectId: env === 'react-native' ? this.mainId || null : getDeviceUUID(this.features),
14510
14541
  uuid: getDeviceUUID(this.features),
14511
- deviceType: getDeviceType(this.features),
14542
+ deviceType: this.features.bootloader_mode ? getDeviceTypeOnBootloader(this.features) : getDeviceType(this.features),
14512
14543
  deviceId: this.features.device_id || null,
14513
14544
  path: this.originalDescriptor.path,
14514
14545
  name: this.features.ble_name || this.features.label || `OneKey ${getDeviceType(this.features).toUpperCase()}`,
@@ -16317,6 +16348,25 @@ class CheckTransportRelease extends BaseMethod {
16317
16348
 
16318
16349
  }
16319
16350
 
16351
+ class CheckBridgeStatus extends BaseMethod {
16352
+ init() {
16353
+ this.useDevice = false;
16354
+ }
16355
+
16356
+ run() {
16357
+ return __awaiter(this, void 0, void 0, function* () {
16358
+ return new Promise(resolve => {
16359
+ axios__default["default"].request({
16360
+ url: 'http://localhost:21320',
16361
+ method: 'POST',
16362
+ withCredentials: false
16363
+ }).then(() => resolve(true)).catch(() => resolve(false));
16364
+ });
16365
+ });
16366
+ }
16367
+
16368
+ }
16369
+
16320
16370
  class DeviceBackup extends BaseMethod {
16321
16371
  init() {}
16322
16372
 
@@ -16568,6 +16618,43 @@ class DeviceUpdateReboot extends BaseMethod {
16568
16618
 
16569
16619
  }
16570
16620
 
16621
+ class DeviceVerify extends BaseMethod {
16622
+ init() {
16623
+ validateParams(this.payload, [{
16624
+ name: 'dataHex',
16625
+ type: 'hexString'
16626
+ }]);
16627
+ this.params = {
16628
+ data: formatAnyHex(this.payload.dataHex)
16629
+ };
16630
+ }
16631
+
16632
+ run() {
16633
+ return __awaiter(this, void 0, void 0, function* () {
16634
+ const deviceType = getDeviceType(this.device.features);
16635
+ let response;
16636
+
16637
+ if (deviceType === 'classic') {
16638
+ const res = yield this.device.commands.typedCall('BixinVerifyDeviceRequest', 'BixinVerifyDeviceAck', Object.assign({}, this.params));
16639
+ response = res.message;
16640
+ } else if (deviceType === 'mini') {
16641
+ const signatureRes = yield this.device.commands.typedCall('SESignMessage', 'SEMessageSignature', {
16642
+ message: this.params.data
16643
+ });
16644
+ const certRes = yield this.device.commands.typedCall('ReadSEPublicCert', 'SEPublicCert');
16645
+ response = {
16646
+ cert: certRes.message.public_cert,
16647
+ signature: signatureRes.message.signature
16648
+ };
16649
+ }
16650
+
16651
+ if (response) return Promise.resolve(response);
16652
+ return Promise.reject(hdShared.ERRORS.TypedError(hdShared.HardwareErrorCode.RuntimeError, 'Device not support verify'));
16653
+ });
16654
+ }
16655
+
16656
+ }
16657
+
16571
16658
  class DeviceWipe extends BaseMethod {
16572
16659
  init() {}
16573
16660
 
@@ -16990,6 +17077,147 @@ class EVMSignTransaction extends BaseMethod {
16990
17077
 
16991
17078
  }
16992
17079
 
17080
+ const twosComplement = (number, bytes) => {
17081
+ if (bytes < 1 || bytes > 32) {
17082
+ throw hdShared.ERRORS.TypedError('Runtime', 'Int byte size must be between 1 and 32 (8 and 256 bits)');
17083
+ }
17084
+
17085
+ const minValue = new BigNumber__default["default"](2).exponentiatedBy(bytes * 8 - 1).negated();
17086
+ const maxValue = minValue.negated().minus(1);
17087
+ const bigNumber = new BigNumber__default["default"](number);
17088
+
17089
+ if (bigNumber.isGreaterThan(maxValue) || bigNumber.isLessThan(minValue)) {
17090
+ throw hdShared.ERRORS.TypedError(hdShared.HardwareErrorCode.RuntimeError, `Overflow when trying to convert number ${number.toString()} into ${bytes} bytes`);
17091
+ }
17092
+
17093
+ if (bigNumber.isPositive()) {
17094
+ return bigNumber;
17095
+ }
17096
+
17097
+ return bigNumber.minus(minValue).minus(minValue);
17098
+ };
17099
+
17100
+ const intToHex = (number, bytes, signed) => {
17101
+ let bigNumber = new BigNumber__default["default"](number);
17102
+
17103
+ if (signed) {
17104
+ bigNumber = twosComplement(bigNumber, bytes);
17105
+ }
17106
+
17107
+ if (bigNumber.isNegative()) {
17108
+ throw hdShared.ERRORS.TypedError(hdShared.HardwareErrorCode.RuntimeError, `Cannot convert negative number to unsigned interger: ${number.toString()}`);
17109
+ }
17110
+
17111
+ const hex = bigNumber.toString(16);
17112
+ const hexChars = bytes * 2;
17113
+
17114
+ if (hex.length > hexChars) {
17115
+ throw hdShared.ERRORS.TypedError(hdShared.HardwareErrorCode.RuntimeError, `Overflow when trying to convert number ${number.toString()} into ${bytes} bytes`);
17116
+ }
17117
+
17118
+ return hex.padStart(bytes * 2, '0');
17119
+ };
17120
+
17121
+ const paramTypeArray = new RegExp(/^(.*)\[([0-9]*)\]$/);
17122
+ const paramTypeBytes = new RegExp(/^bytes([0-9]*)$/);
17123
+ const paramTypeNumber = new RegExp(/^(u?int)([0-9]*)$/);
17124
+
17125
+ const parseArrayType = arrayTypeName => {
17126
+ const arrayMatch = paramTypeArray.exec(arrayTypeName);
17127
+
17128
+ if (arrayMatch === null) {
17129
+ throw hdShared.ERRORS.TypedError(hdShared.HardwareErrorCode.RuntimeError, `typename ${arrayTypeName} could not be parsed as an EIP-712 array`);
17130
+ }
17131
+
17132
+ const [_, entryTypeName, arraySize] = arrayMatch;
17133
+ return {
17134
+ entryTypeName,
17135
+ arraySize: parseInt(arraySize, 10) || null
17136
+ };
17137
+ };
17138
+
17139
+ const encodeData = (typeName, data) => {
17140
+ if (paramTypeBytes.test(typeName) || typeName === 'address') {
17141
+ return formatAnyHex(data);
17142
+ }
17143
+
17144
+ if (typeName === 'string') {
17145
+ return Buffer.from(data, 'utf-8').toString('hex');
17146
+ }
17147
+
17148
+ const numberMatch = paramTypeNumber.exec(typeName);
17149
+
17150
+ if (numberMatch) {
17151
+ const [_, intType, bits] = numberMatch;
17152
+ const bytes = Math.ceil(parseInt(bits, 10) / 8);
17153
+ return intToHex(data, bytes, intType === 'int');
17154
+ }
17155
+
17156
+ if (typeName === 'bool') {
17157
+ return data ? '01' : '00';
17158
+ }
17159
+
17160
+ throw hdShared.ERRORS.TypedError(hdShared.HardwareErrorCode.RuntimeError, `Unsupported data type for direct field encoding: ${typeName}`);
17161
+ };
17162
+
17163
+ const paramTypesMap = {
17164
+ string: hdTransport.EthereumDataType.STRING,
17165
+ bool: hdTransport.EthereumDataType.BOOL,
17166
+ address: hdTransport.EthereumDataType.ADDRESS
17167
+ };
17168
+
17169
+ const getFieldType = (typeName, types) => {
17170
+ const arrayMatch = paramTypeArray.exec(typeName);
17171
+
17172
+ if (arrayMatch) {
17173
+ const [_, arrayItemTypeName, arraySize] = arrayMatch;
17174
+ const entryType = getFieldType(arrayItemTypeName, types);
17175
+ return {
17176
+ data_type: hdTransport.EthereumDataType.ARRAY,
17177
+ size: parseInt(arraySize, 10) || undefined,
17178
+ entry_type: entryType
17179
+ };
17180
+ }
17181
+
17182
+ const numberMatch = paramTypeNumber.exec(typeName);
17183
+
17184
+ if (numberMatch) {
17185
+ const [_, type, bits] = numberMatch;
17186
+ return {
17187
+ data_type: type === 'uint' ? hdTransport.EthereumDataType.UINT : hdTransport.EthereumDataType.INT,
17188
+ size: Math.floor(parseInt(bits, 10) / 8)
17189
+ };
17190
+ }
17191
+
17192
+ const bytesMatch = paramTypeBytes.exec(typeName);
17193
+
17194
+ if (bytesMatch) {
17195
+ const [_, size] = bytesMatch;
17196
+ return {
17197
+ data_type: hdTransport.EthereumDataType.BYTES,
17198
+ size: parseInt(size, 10) || undefined
17199
+ };
17200
+ }
17201
+
17202
+ const fixedSizeTypeMatch = paramTypesMap[typeName];
17203
+
17204
+ if (fixedSizeTypeMatch) {
17205
+ return {
17206
+ data_type: fixedSizeTypeMatch
17207
+ };
17208
+ }
17209
+
17210
+ if (typeName in types) {
17211
+ return {
17212
+ data_type: hdTransport.EthereumDataType.STRUCT,
17213
+ size: types[typeName].length,
17214
+ struct_name: typeName
17215
+ };
17216
+ }
17217
+
17218
+ throw hdShared.ERRORS.TypedError(hdShared.HardwareErrorCode.RuntimeError, `No type definition specified: ${typeName}`);
17219
+ };
17220
+
16993
17221
  class EVMSignTypedData extends BaseMethod {
16994
17222
  init() {
16995
17223
  this.allowDeviceMode = [...this.allowDeviceMode, UI_REQUEST.INITIALIZE];
@@ -17034,6 +17262,112 @@ class EVMSignTypedData extends BaseMethod {
17034
17262
  }
17035
17263
  }
17036
17264
 
17265
+ signTypedData() {
17266
+ return __awaiter(this, void 0, void 0, function* () {
17267
+ const {
17268
+ commands
17269
+ } = this.device;
17270
+ const {
17271
+ addressN,
17272
+ data,
17273
+ metamaskV4Compat
17274
+ } = this.params;
17275
+ const {
17276
+ types,
17277
+ primaryType,
17278
+ domain,
17279
+ message
17280
+ } = data;
17281
+ let response = yield commands.typedCall('EthereumSignTypedData', ['EthereumTypedDataStructRequest', 'EthereumTypedDataValueRequest', 'EthereumTypedDataSignature'], {
17282
+ address_n: addressN,
17283
+ primary_type: primaryType,
17284
+ metamask_v4_compat: metamaskV4Compat
17285
+ });
17286
+
17287
+ while (response.type === 'EthereumTypedDataStructRequest') {
17288
+ const {
17289
+ name: typeDefinitionName
17290
+ } = response.message;
17291
+ const typeDefinition = types[typeDefinitionName];
17292
+
17293
+ if (typeDefinition === undefined) {
17294
+ throw hdShared.ERRORS.TypedError('Runtime', `Type ${typeDefinitionName} was not defined in types object`);
17295
+ }
17296
+
17297
+ const dataStruckAck = {
17298
+ members: typeDefinition.map(({
17299
+ name,
17300
+ type: typeName
17301
+ }) => ({
17302
+ name,
17303
+ type: getFieldType(typeName, types)
17304
+ }))
17305
+ };
17306
+ response = yield commands.typedCall('EthereumTypedDataStructAck', ['EthereumTypedDataStructRequest', 'EthereumTypedDataValueRequest', 'EthereumTypedDataSignature'], dataStruckAck);
17307
+ }
17308
+
17309
+ while (response.type === 'EthereumTypedDataValueRequest') {
17310
+ const {
17311
+ member_path
17312
+ } = response.message;
17313
+ let memberData;
17314
+ let memberTypeName;
17315
+ const [rootIndex, ...nestedMemberPath] = member_path;
17316
+
17317
+ switch (rootIndex) {
17318
+ case 0:
17319
+ memberData = domain;
17320
+ memberTypeName = 'EIP712Domain';
17321
+ break;
17322
+
17323
+ case 1:
17324
+ memberData = message;
17325
+ memberTypeName = primaryType;
17326
+ break;
17327
+
17328
+ default:
17329
+ throw hdShared.ERRORS.TypedError('Runtime', 'Root index can only be 0 or 1');
17330
+ }
17331
+
17332
+ for (const index of nestedMemberPath) {
17333
+ if (Array.isArray(memberData)) {
17334
+ memberTypeName = parseArrayType(memberTypeName).entryTypeName;
17335
+ memberData = memberData[index];
17336
+ } else if (typeof memberData === 'object' && memberData !== null) {
17337
+ const memberTypeDefinition = types[memberTypeName][index];
17338
+ memberTypeName = memberTypeDefinition.type;
17339
+ memberData = memberData[memberTypeDefinition.name];
17340
+ } else ;
17341
+ }
17342
+
17343
+ let encodedData;
17344
+
17345
+ if (Array.isArray(memberData)) {
17346
+ encodedData = encodeData('uint16', memberData.length);
17347
+ } else {
17348
+ encodedData = encodeData(memberTypeName, memberData);
17349
+ }
17350
+
17351
+ response = yield commands.typedCall('EthereumTypedDataValueAck', ['EthereumTypedDataValueRequest', 'EthereumTypedDataSignature'], {
17352
+ value: encodedData
17353
+ });
17354
+ }
17355
+
17356
+ if (response.type !== 'EthereumTypedDataSignature') {
17357
+ throw hdShared.ERRORS.TypedError('Runtime', 'Unexpected response type');
17358
+ }
17359
+
17360
+ const {
17361
+ address,
17362
+ signature
17363
+ } = response.message;
17364
+ return {
17365
+ address,
17366
+ signature
17367
+ };
17368
+ });
17369
+ }
17370
+
17037
17371
  getVersionRange() {
17038
17372
  return {
17039
17373
  model_mini: {
@@ -17101,7 +17435,7 @@ class EVMSignTypedData extends BaseMethod {
17101
17435
  return Promise.resolve(response.message);
17102
17436
  }
17103
17437
 
17104
- return Promise.resolve(hdShared.ERRORS.TypedError('Runtime', 'Not implemented'));
17438
+ return this.signTypedData();
17105
17439
  });
17106
17440
  }
17107
17441
 
@@ -18272,6 +18606,7 @@ var ApiMethods = /*#__PURE__*/Object.freeze({
18272
18606
  checkFirmwareRelease: CheckFirmwareRelease,
18273
18607
  checkBLEFirmwareRelease: CheckBLEFirmwareRelease,
18274
18608
  checkTransportRelease: CheckTransportRelease,
18609
+ checkBridgeStatus: CheckBridgeStatus,
18275
18610
  deviceBackup: DeviceBackup,
18276
18611
  deviceChangePin: DeviceChangePin,
18277
18612
  deviceFlags: DeviceFlags,
@@ -18280,6 +18615,7 @@ var ApiMethods = /*#__PURE__*/Object.freeze({
18280
18615
  deviceReset: DeviceReset,
18281
18616
  deviceSettings: DeviceSettings,
18282
18617
  deviceUpdateReboot: DeviceUpdateReboot,
18618
+ deviceVerify: DeviceVerify,
18283
18619
  deviceWipe: DeviceWipe,
18284
18620
  evmGetAddress: EvmGetAddress,
18285
18621
  evmGetPublicKey: EVMGetPublicKey,
@@ -18921,6 +19257,7 @@ __webpack_unused_export__ = isValidVersionString;
18921
19257
  __webpack_unused_export__ = normalizeVersionArray;
18922
19258
  exports._4 = parseConnectSettings;
18923
19259
  exports.kW = parseMessage;
19260
+ __webpack_unused_export__ = patchFeatures;
18924
19261
  __webpack_unused_export__ = safeThrowError;
18925
19262
  __webpack_unused_export__ = versionCompare;
18926
19263
  __webpack_unused_export__ = versionSplit;
@@ -19408,33 +19745,33 @@ var check = /*#__PURE__*/Object.freeze({
19408
19745
  acquire: acquire,
19409
19746
  call: call
19410
19747
  });
19411
- var BinanceOrderType;
19748
+ exports.BinanceOrderType = void 0;
19412
19749
 
19413
19750
  (function (BinanceOrderType) {
19414
19751
  BinanceOrderType[BinanceOrderType["OT_UNKNOWN"] = 0] = "OT_UNKNOWN";
19415
19752
  BinanceOrderType[BinanceOrderType["MARKET"] = 1] = "MARKET";
19416
19753
  BinanceOrderType[BinanceOrderType["LIMIT"] = 2] = "LIMIT";
19417
19754
  BinanceOrderType[BinanceOrderType["OT_RESERVED"] = 3] = "OT_RESERVED";
19418
- })(BinanceOrderType || (BinanceOrderType = {}));
19755
+ })(exports.BinanceOrderType || (exports.BinanceOrderType = {}));
19419
19756
 
19420
- var BinanceOrderSide;
19757
+ exports.BinanceOrderSide = void 0;
19421
19758
 
19422
19759
  (function (BinanceOrderSide) {
19423
19760
  BinanceOrderSide[BinanceOrderSide["SIDE_UNKNOWN"] = 0] = "SIDE_UNKNOWN";
19424
19761
  BinanceOrderSide[BinanceOrderSide["BUY"] = 1] = "BUY";
19425
19762
  BinanceOrderSide[BinanceOrderSide["SELL"] = 2] = "SELL";
19426
- })(BinanceOrderSide || (BinanceOrderSide = {}));
19763
+ })(exports.BinanceOrderSide || (exports.BinanceOrderSide = {}));
19427
19764
 
19428
- var BinanceTimeInForce;
19765
+ exports.BinanceTimeInForce = void 0;
19429
19766
 
19430
19767
  (function (BinanceTimeInForce) {
19431
19768
  BinanceTimeInForce[BinanceTimeInForce["TIF_UNKNOWN"] = 0] = "TIF_UNKNOWN";
19432
19769
  BinanceTimeInForce[BinanceTimeInForce["GTE"] = 1] = "GTE";
19433
19770
  BinanceTimeInForce[BinanceTimeInForce["TIF_RESERVED"] = 2] = "TIF_RESERVED";
19434
19771
  BinanceTimeInForce[BinanceTimeInForce["IOC"] = 3] = "IOC";
19435
- })(BinanceTimeInForce || (BinanceTimeInForce = {}));
19772
+ })(exports.BinanceTimeInForce || (exports.BinanceTimeInForce = {}));
19436
19773
 
19437
- var Enum_InputScriptType;
19774
+ exports.Enum_InputScriptType = void 0;
19438
19775
 
19439
19776
  (function (Enum_InputScriptType) {
19440
19777
  Enum_InputScriptType[Enum_InputScriptType["SPENDADDRESS"] = 0] = "SPENDADDRESS";
@@ -19443,9 +19780,9 @@ var Enum_InputScriptType;
19443
19780
  Enum_InputScriptType[Enum_InputScriptType["SPENDWITNESS"] = 3] = "SPENDWITNESS";
19444
19781
  Enum_InputScriptType[Enum_InputScriptType["SPENDP2SHWITNESS"] = 4] = "SPENDP2SHWITNESS";
19445
19782
  Enum_InputScriptType[Enum_InputScriptType["SPENDTAPROOT"] = 5] = "SPENDTAPROOT";
19446
- })(Enum_InputScriptType || (Enum_InputScriptType = {}));
19783
+ })(exports.Enum_InputScriptType || (exports.Enum_InputScriptType = {}));
19447
19784
 
19448
- var Enum_OutputScriptType;
19785
+ exports.Enum_OutputScriptType = void 0;
19449
19786
 
19450
19787
  (function (Enum_OutputScriptType) {
19451
19788
  Enum_OutputScriptType[Enum_OutputScriptType["PAYTOADDRESS"] = 0] = "PAYTOADDRESS";
@@ -19455,25 +19792,25 @@ var Enum_OutputScriptType;
19455
19792
  Enum_OutputScriptType[Enum_OutputScriptType["PAYTOWITNESS"] = 4] = "PAYTOWITNESS";
19456
19793
  Enum_OutputScriptType[Enum_OutputScriptType["PAYTOP2SHWITNESS"] = 5] = "PAYTOP2SHWITNESS";
19457
19794
  Enum_OutputScriptType[Enum_OutputScriptType["PAYTOTAPROOT"] = 6] = "PAYTOTAPROOT";
19458
- })(Enum_OutputScriptType || (Enum_OutputScriptType = {}));
19795
+ })(exports.Enum_OutputScriptType || (exports.Enum_OutputScriptType = {}));
19459
19796
 
19460
- var DecredStakingSpendType;
19797
+ exports.DecredStakingSpendType = void 0;
19461
19798
 
19462
19799
  (function (DecredStakingSpendType) {
19463
19800
  DecredStakingSpendType[DecredStakingSpendType["SSGen"] = 0] = "SSGen";
19464
19801
  DecredStakingSpendType[DecredStakingSpendType["SSRTX"] = 1] = "SSRTX";
19465
- })(DecredStakingSpendType || (DecredStakingSpendType = {}));
19802
+ })(exports.DecredStakingSpendType || (exports.DecredStakingSpendType = {}));
19466
19803
 
19467
- var AmountUnit;
19804
+ exports.AmountUnit = void 0;
19468
19805
 
19469
19806
  (function (AmountUnit) {
19470
19807
  AmountUnit[AmountUnit["BITCOIN"] = 0] = "BITCOIN";
19471
19808
  AmountUnit[AmountUnit["MILLIBITCOIN"] = 1] = "MILLIBITCOIN";
19472
19809
  AmountUnit[AmountUnit["MICROBITCOIN"] = 2] = "MICROBITCOIN";
19473
19810
  AmountUnit[AmountUnit["SATOSHI"] = 3] = "SATOSHI";
19474
- })(AmountUnit || (AmountUnit = {}));
19811
+ })(exports.AmountUnit || (exports.AmountUnit = {}));
19475
19812
 
19476
- var Enum_RequestType;
19813
+ exports.Enum_RequestType = void 0;
19477
19814
 
19478
19815
  (function (Enum_RequestType) {
19479
19816
  Enum_RequestType[Enum_RequestType["TXINPUT"] = 0] = "TXINPUT";
@@ -19484,17 +19821,17 @@ var Enum_RequestType;
19484
19821
  Enum_RequestType[Enum_RequestType["TXORIGINPUT"] = 5] = "TXORIGINPUT";
19485
19822
  Enum_RequestType[Enum_RequestType["TXORIGOUTPUT"] = 6] = "TXORIGOUTPUT";
19486
19823
  Enum_RequestType[Enum_RequestType["TXPAYMENTREQ"] = 7] = "TXPAYMENTREQ";
19487
- })(Enum_RequestType || (Enum_RequestType = {}));
19824
+ })(exports.Enum_RequestType || (exports.Enum_RequestType = {}));
19488
19825
 
19489
- var CardanoDerivationType;
19826
+ exports.CardanoDerivationType = void 0;
19490
19827
 
19491
19828
  (function (CardanoDerivationType) {
19492
19829
  CardanoDerivationType[CardanoDerivationType["LEDGER"] = 0] = "LEDGER";
19493
19830
  CardanoDerivationType[CardanoDerivationType["ICARUS"] = 1] = "ICARUS";
19494
19831
  CardanoDerivationType[CardanoDerivationType["ICARUS_TREZOR"] = 2] = "ICARUS_TREZOR";
19495
- })(CardanoDerivationType || (CardanoDerivationType = {}));
19832
+ })(exports.CardanoDerivationType || (exports.CardanoDerivationType = {}));
19496
19833
 
19497
- var CardanoAddressType;
19834
+ exports.CardanoAddressType = void 0;
19498
19835
 
19499
19836
  (function (CardanoAddressType) {
19500
19837
  CardanoAddressType[CardanoAddressType["BASE"] = 0] = "BASE";
@@ -19508,9 +19845,9 @@ var CardanoAddressType;
19508
19845
  CardanoAddressType[CardanoAddressType["BYRON"] = 8] = "BYRON";
19509
19846
  CardanoAddressType[CardanoAddressType["REWARD"] = 14] = "REWARD";
19510
19847
  CardanoAddressType[CardanoAddressType["REWARD_SCRIPT"] = 15] = "REWARD_SCRIPT";
19511
- })(CardanoAddressType || (CardanoAddressType = {}));
19848
+ })(exports.CardanoAddressType || (exports.CardanoAddressType = {}));
19512
19849
 
19513
- var CardanoNativeScriptType;
19850
+ exports.CardanoNativeScriptType = void 0;
19514
19851
 
19515
19852
  (function (CardanoNativeScriptType) {
19516
19853
  CardanoNativeScriptType[CardanoNativeScriptType["PUB_KEY"] = 0] = "PUB_KEY";
@@ -19519,57 +19856,57 @@ var CardanoNativeScriptType;
19519
19856
  CardanoNativeScriptType[CardanoNativeScriptType["N_OF_K"] = 3] = "N_OF_K";
19520
19857
  CardanoNativeScriptType[CardanoNativeScriptType["INVALID_BEFORE"] = 4] = "INVALID_BEFORE";
19521
19858
  CardanoNativeScriptType[CardanoNativeScriptType["INVALID_HEREAFTER"] = 5] = "INVALID_HEREAFTER";
19522
- })(CardanoNativeScriptType || (CardanoNativeScriptType = {}));
19859
+ })(exports.CardanoNativeScriptType || (exports.CardanoNativeScriptType = {}));
19523
19860
 
19524
- var CardanoNativeScriptHashDisplayFormat;
19861
+ exports.CardanoNativeScriptHashDisplayFormat = void 0;
19525
19862
 
19526
19863
  (function (CardanoNativeScriptHashDisplayFormat) {
19527
19864
  CardanoNativeScriptHashDisplayFormat[CardanoNativeScriptHashDisplayFormat["HIDE"] = 0] = "HIDE";
19528
19865
  CardanoNativeScriptHashDisplayFormat[CardanoNativeScriptHashDisplayFormat["BECH32"] = 1] = "BECH32";
19529
19866
  CardanoNativeScriptHashDisplayFormat[CardanoNativeScriptHashDisplayFormat["POLICY_ID"] = 2] = "POLICY_ID";
19530
- })(CardanoNativeScriptHashDisplayFormat || (CardanoNativeScriptHashDisplayFormat = {}));
19867
+ })(exports.CardanoNativeScriptHashDisplayFormat || (exports.CardanoNativeScriptHashDisplayFormat = {}));
19531
19868
 
19532
- var CardanoCertificateType;
19869
+ exports.CardanoCertificateType = void 0;
19533
19870
 
19534
19871
  (function (CardanoCertificateType) {
19535
19872
  CardanoCertificateType[CardanoCertificateType["STAKE_REGISTRATION"] = 0] = "STAKE_REGISTRATION";
19536
19873
  CardanoCertificateType[CardanoCertificateType["STAKE_DEREGISTRATION"] = 1] = "STAKE_DEREGISTRATION";
19537
19874
  CardanoCertificateType[CardanoCertificateType["STAKE_DELEGATION"] = 2] = "STAKE_DELEGATION";
19538
19875
  CardanoCertificateType[CardanoCertificateType["STAKE_POOL_REGISTRATION"] = 3] = "STAKE_POOL_REGISTRATION";
19539
- })(CardanoCertificateType || (CardanoCertificateType = {}));
19876
+ })(exports.CardanoCertificateType || (exports.CardanoCertificateType = {}));
19540
19877
 
19541
- var CardanoPoolRelayType;
19878
+ exports.CardanoPoolRelayType = void 0;
19542
19879
 
19543
19880
  (function (CardanoPoolRelayType) {
19544
19881
  CardanoPoolRelayType[CardanoPoolRelayType["SINGLE_HOST_IP"] = 0] = "SINGLE_HOST_IP";
19545
19882
  CardanoPoolRelayType[CardanoPoolRelayType["SINGLE_HOST_NAME"] = 1] = "SINGLE_HOST_NAME";
19546
19883
  CardanoPoolRelayType[CardanoPoolRelayType["MULTIPLE_HOST_NAME"] = 2] = "MULTIPLE_HOST_NAME";
19547
- })(CardanoPoolRelayType || (CardanoPoolRelayType = {}));
19884
+ })(exports.CardanoPoolRelayType || (exports.CardanoPoolRelayType = {}));
19548
19885
 
19549
- var CardanoTxAuxiliaryDataSupplementType;
19886
+ exports.CardanoTxAuxiliaryDataSupplementType = void 0;
19550
19887
 
19551
19888
  (function (CardanoTxAuxiliaryDataSupplementType) {
19552
19889
  CardanoTxAuxiliaryDataSupplementType[CardanoTxAuxiliaryDataSupplementType["NONE"] = 0] = "NONE";
19553
19890
  CardanoTxAuxiliaryDataSupplementType[CardanoTxAuxiliaryDataSupplementType["CATALYST_REGISTRATION_SIGNATURE"] = 1] = "CATALYST_REGISTRATION_SIGNATURE";
19554
- })(CardanoTxAuxiliaryDataSupplementType || (CardanoTxAuxiliaryDataSupplementType = {}));
19891
+ })(exports.CardanoTxAuxiliaryDataSupplementType || (exports.CardanoTxAuxiliaryDataSupplementType = {}));
19555
19892
 
19556
- var CardanoTxSigningMode;
19893
+ exports.CardanoTxSigningMode = void 0;
19557
19894
 
19558
19895
  (function (CardanoTxSigningMode) {
19559
19896
  CardanoTxSigningMode[CardanoTxSigningMode["ORDINARY_TRANSACTION"] = 0] = "ORDINARY_TRANSACTION";
19560
19897
  CardanoTxSigningMode[CardanoTxSigningMode["POOL_REGISTRATION_AS_OWNER"] = 1] = "POOL_REGISTRATION_AS_OWNER";
19561
19898
  CardanoTxSigningMode[CardanoTxSigningMode["MULTISIG_TRANSACTION"] = 2] = "MULTISIG_TRANSACTION";
19562
19899
  CardanoTxSigningMode[CardanoTxSigningMode["PLUTUS_TRANSACTION"] = 3] = "PLUTUS_TRANSACTION";
19563
- })(CardanoTxSigningMode || (CardanoTxSigningMode = {}));
19900
+ })(exports.CardanoTxSigningMode || (exports.CardanoTxSigningMode = {}));
19564
19901
 
19565
- var CardanoTxWitnessType;
19902
+ exports.CardanoTxWitnessType = void 0;
19566
19903
 
19567
19904
  (function (CardanoTxWitnessType) {
19568
19905
  CardanoTxWitnessType[CardanoTxWitnessType["BYRON_WITNESS"] = 0] = "BYRON_WITNESS";
19569
19906
  CardanoTxWitnessType[CardanoTxWitnessType["SHELLEY_WITNESS"] = 1] = "SHELLEY_WITNESS";
19570
- })(CardanoTxWitnessType || (CardanoTxWitnessType = {}));
19907
+ })(exports.CardanoTxWitnessType || (exports.CardanoTxWitnessType = {}));
19571
19908
 
19572
- var FailureType;
19909
+ exports.FailureType = void 0;
19573
19910
 
19574
19911
  (function (FailureType) {
19575
19912
  FailureType[FailureType["Failure_UnexpectedMessage"] = 1] = "Failure_UnexpectedMessage";
@@ -19587,9 +19924,9 @@ var FailureType;
19587
19924
  FailureType[FailureType["Failure_WipeCodeMismatch"] = 13] = "Failure_WipeCodeMismatch";
19588
19925
  FailureType[FailureType["Failure_InvalidSession"] = 14] = "Failure_InvalidSession";
19589
19926
  FailureType[FailureType["Failure_FirmwareError"] = 99] = "Failure_FirmwareError";
19590
- })(FailureType || (FailureType = {}));
19927
+ })(exports.FailureType || (exports.FailureType = {}));
19591
19928
 
19592
- var Enum_ButtonRequestType;
19929
+ exports.Enum_ButtonRequestType = void 0;
19593
19930
 
19594
19931
  (function (Enum_ButtonRequestType) {
19595
19932
  Enum_ButtonRequestType[Enum_ButtonRequestType["ButtonRequest_Other"] = 1] = "ButtonRequest_Other";
@@ -19612,9 +19949,9 @@ var Enum_ButtonRequestType;
19612
19949
  Enum_ButtonRequestType[Enum_ButtonRequestType["ButtonRequest_Warning"] = 18] = "ButtonRequest_Warning";
19613
19950
  Enum_ButtonRequestType[Enum_ButtonRequestType["ButtonRequest_PassphraseEntry"] = 19] = "ButtonRequest_PassphraseEntry";
19614
19951
  Enum_ButtonRequestType[Enum_ButtonRequestType["ButtonRequest_PinEntry"] = 20] = "ButtonRequest_PinEntry";
19615
- })(Enum_ButtonRequestType || (Enum_ButtonRequestType = {}));
19952
+ })(exports.Enum_ButtonRequestType || (exports.Enum_ButtonRequestType = {}));
19616
19953
 
19617
- var Enum_PinMatrixRequestType;
19954
+ exports.Enum_PinMatrixRequestType = void 0;
19618
19955
 
19619
19956
  (function (Enum_PinMatrixRequestType) {
19620
19957
  Enum_PinMatrixRequestType[Enum_PinMatrixRequestType["PinMatrixRequestType_Current"] = 1] = "PinMatrixRequestType_Current";
@@ -19622,17 +19959,17 @@ var Enum_PinMatrixRequestType;
19622
19959
  Enum_PinMatrixRequestType[Enum_PinMatrixRequestType["PinMatrixRequestType_NewSecond"] = 3] = "PinMatrixRequestType_NewSecond";
19623
19960
  Enum_PinMatrixRequestType[Enum_PinMatrixRequestType["PinMatrixRequestType_WipeCodeFirst"] = 4] = "PinMatrixRequestType_WipeCodeFirst";
19624
19961
  Enum_PinMatrixRequestType[Enum_PinMatrixRequestType["PinMatrixRequestType_WipeCodeSecond"] = 5] = "PinMatrixRequestType_WipeCodeSecond";
19625
- })(Enum_PinMatrixRequestType || (Enum_PinMatrixRequestType = {}));
19962
+ })(exports.Enum_PinMatrixRequestType || (exports.Enum_PinMatrixRequestType = {}));
19626
19963
 
19627
- var DebugButton;
19964
+ exports.DebugButton = void 0;
19628
19965
 
19629
19966
  (function (DebugButton) {
19630
19967
  DebugButton[DebugButton["NO"] = 0] = "NO";
19631
19968
  DebugButton[DebugButton["YES"] = 1] = "YES";
19632
19969
  DebugButton[DebugButton["INFO"] = 2] = "INFO";
19633
- })(DebugButton || (DebugButton = {}));
19970
+ })(exports.DebugButton || (exports.DebugButton = {}));
19634
19971
 
19635
- var EthereumDataType;
19972
+ exports.EthereumDataType = void 0;
19636
19973
 
19637
19974
  (function (EthereumDataType) {
19638
19975
  EthereumDataType[EthereumDataType["UINT"] = 1] = "UINT";
@@ -19643,25 +19980,25 @@ var EthereumDataType;
19643
19980
  EthereumDataType[EthereumDataType["ADDRESS"] = 6] = "ADDRESS";
19644
19981
  EthereumDataType[EthereumDataType["ARRAY"] = 7] = "ARRAY";
19645
19982
  EthereumDataType[EthereumDataType["STRUCT"] = 8] = "STRUCT";
19646
- })(EthereumDataType || (EthereumDataType = {}));
19983
+ })(exports.EthereumDataType || (exports.EthereumDataType = {}));
19647
19984
 
19648
- var Enum_BackupType;
19985
+ exports.Enum_BackupType = void 0;
19649
19986
 
19650
19987
  (function (Enum_BackupType) {
19651
19988
  Enum_BackupType[Enum_BackupType["Bip39"] = 0] = "Bip39";
19652
19989
  Enum_BackupType[Enum_BackupType["Slip39_Basic"] = 1] = "Slip39_Basic";
19653
19990
  Enum_BackupType[Enum_BackupType["Slip39_Advanced"] = 2] = "Slip39_Advanced";
19654
- })(Enum_BackupType || (Enum_BackupType = {}));
19991
+ })(exports.Enum_BackupType || (exports.Enum_BackupType = {}));
19655
19992
 
19656
- var Enum_SafetyCheckLevel;
19993
+ exports.Enum_SafetyCheckLevel = void 0;
19657
19994
 
19658
19995
  (function (Enum_SafetyCheckLevel) {
19659
19996
  Enum_SafetyCheckLevel[Enum_SafetyCheckLevel["Strict"] = 0] = "Strict";
19660
19997
  Enum_SafetyCheckLevel[Enum_SafetyCheckLevel["PromptAlways"] = 1] = "PromptAlways";
19661
19998
  Enum_SafetyCheckLevel[Enum_SafetyCheckLevel["PromptTemporarily"] = 2] = "PromptTemporarily";
19662
- })(Enum_SafetyCheckLevel || (Enum_SafetyCheckLevel = {}));
19999
+ })(exports.Enum_SafetyCheckLevel || (exports.Enum_SafetyCheckLevel = {}));
19663
20000
 
19664
- var Enum_Capability;
20001
+ exports.Enum_Capability = void 0;
19665
20002
 
19666
20003
  (function (Enum_Capability) {
19667
20004
  Enum_Capability[Enum_Capability["Capability_Bitcoin"] = 1] = "Capability_Bitcoin";
@@ -19681,68 +20018,68 @@ var Enum_Capability;
19681
20018
  Enum_Capability[Enum_Capability["Capability_Shamir"] = 15] = "Capability_Shamir";
19682
20019
  Enum_Capability[Enum_Capability["Capability_ShamirGroups"] = 16] = "Capability_ShamirGroups";
19683
20020
  Enum_Capability[Enum_Capability["Capability_PassphraseEntry"] = 17] = "Capability_PassphraseEntry";
19684
- })(Enum_Capability || (Enum_Capability = {}));
20021
+ })(exports.Enum_Capability || (exports.Enum_Capability = {}));
19685
20022
 
19686
- var SdProtectOperationType;
20023
+ exports.SdProtectOperationType = void 0;
19687
20024
 
19688
20025
  (function (SdProtectOperationType) {
19689
20026
  SdProtectOperationType[SdProtectOperationType["DISABLE"] = 0] = "DISABLE";
19690
20027
  SdProtectOperationType[SdProtectOperationType["ENABLE"] = 1] = "ENABLE";
19691
20028
  SdProtectOperationType[SdProtectOperationType["REFRESH"] = 2] = "REFRESH";
19692
- })(SdProtectOperationType || (SdProtectOperationType = {}));
20029
+ })(exports.SdProtectOperationType || (exports.SdProtectOperationType = {}));
19693
20030
 
19694
- var RecoveryDeviceType;
20031
+ exports.RecoveryDeviceType = void 0;
19695
20032
 
19696
20033
  (function (RecoveryDeviceType) {
19697
20034
  RecoveryDeviceType[RecoveryDeviceType["RecoveryDeviceType_ScrambledWords"] = 0] = "RecoveryDeviceType_ScrambledWords";
19698
20035
  RecoveryDeviceType[RecoveryDeviceType["RecoveryDeviceType_Matrix"] = 1] = "RecoveryDeviceType_Matrix";
19699
- })(RecoveryDeviceType || (RecoveryDeviceType = {}));
20036
+ })(exports.RecoveryDeviceType || (exports.RecoveryDeviceType = {}));
19700
20037
 
19701
- var Enum_WordRequestType;
20038
+ exports.Enum_WordRequestType = void 0;
19702
20039
 
19703
20040
  (function (Enum_WordRequestType) {
19704
20041
  Enum_WordRequestType[Enum_WordRequestType["WordRequestType_Plain"] = 0] = "WordRequestType_Plain";
19705
20042
  Enum_WordRequestType[Enum_WordRequestType["WordRequestType_Matrix9"] = 1] = "WordRequestType_Matrix9";
19706
20043
  Enum_WordRequestType[Enum_WordRequestType["WordRequestType_Matrix6"] = 2] = "WordRequestType_Matrix6";
19707
- })(Enum_WordRequestType || (Enum_WordRequestType = {}));
20044
+ })(exports.Enum_WordRequestType || (exports.Enum_WordRequestType = {}));
19708
20045
 
19709
- var NEMMosaicLevy;
20046
+ exports.NEMMosaicLevy = void 0;
19710
20047
 
19711
20048
  (function (NEMMosaicLevy) {
19712
20049
  NEMMosaicLevy[NEMMosaicLevy["MosaicLevy_Absolute"] = 1] = "MosaicLevy_Absolute";
19713
20050
  NEMMosaicLevy[NEMMosaicLevy["MosaicLevy_Percentile"] = 2] = "MosaicLevy_Percentile";
19714
- })(NEMMosaicLevy || (NEMMosaicLevy = {}));
20051
+ })(exports.NEMMosaicLevy || (exports.NEMMosaicLevy = {}));
19715
20052
 
19716
- var NEMSupplyChangeType;
20053
+ exports.NEMSupplyChangeType = void 0;
19717
20054
 
19718
20055
  (function (NEMSupplyChangeType) {
19719
20056
  NEMSupplyChangeType[NEMSupplyChangeType["SupplyChange_Increase"] = 1] = "SupplyChange_Increase";
19720
20057
  NEMSupplyChangeType[NEMSupplyChangeType["SupplyChange_Decrease"] = 2] = "SupplyChange_Decrease";
19721
- })(NEMSupplyChangeType || (NEMSupplyChangeType = {}));
20058
+ })(exports.NEMSupplyChangeType || (exports.NEMSupplyChangeType = {}));
19722
20059
 
19723
- var NEMModificationType;
20060
+ exports.NEMModificationType = void 0;
19724
20061
 
19725
20062
  (function (NEMModificationType) {
19726
20063
  NEMModificationType[NEMModificationType["CosignatoryModification_Add"] = 1] = "CosignatoryModification_Add";
19727
20064
  NEMModificationType[NEMModificationType["CosignatoryModification_Delete"] = 2] = "CosignatoryModification_Delete";
19728
- })(NEMModificationType || (NEMModificationType = {}));
20065
+ })(exports.NEMModificationType || (exports.NEMModificationType = {}));
19729
20066
 
19730
- var NEMImportanceTransferMode;
20067
+ exports.NEMImportanceTransferMode = void 0;
19731
20068
 
19732
20069
  (function (NEMImportanceTransferMode) {
19733
20070
  NEMImportanceTransferMode[NEMImportanceTransferMode["ImportanceTransfer_Activate"] = 1] = "ImportanceTransfer_Activate";
19734
20071
  NEMImportanceTransferMode[NEMImportanceTransferMode["ImportanceTransfer_Deactivate"] = 2] = "ImportanceTransfer_Deactivate";
19735
- })(NEMImportanceTransferMode || (NEMImportanceTransferMode = {}));
20072
+ })(exports.NEMImportanceTransferMode || (exports.NEMImportanceTransferMode = {}));
19736
20073
 
19737
- var StellarAssetType;
20074
+ exports.StellarAssetType = void 0;
19738
20075
 
19739
20076
  (function (StellarAssetType) {
19740
20077
  StellarAssetType[StellarAssetType["NATIVE"] = 0] = "NATIVE";
19741
20078
  StellarAssetType[StellarAssetType["ALPHANUM4"] = 1] = "ALPHANUM4";
19742
20079
  StellarAssetType[StellarAssetType["ALPHANUM12"] = 2] = "ALPHANUM12";
19743
- })(StellarAssetType || (StellarAssetType = {}));
20080
+ })(exports.StellarAssetType || (exports.StellarAssetType = {}));
19744
20081
 
19745
- var StellarMemoType;
20082
+ exports.StellarMemoType = void 0;
19746
20083
 
19747
20084
  (function (StellarMemoType) {
19748
20085
  StellarMemoType[StellarMemoType["NONE"] = 0] = "NONE";
@@ -19750,180 +20087,180 @@ var StellarMemoType;
19750
20087
  StellarMemoType[StellarMemoType["ID"] = 2] = "ID";
19751
20088
  StellarMemoType[StellarMemoType["HASH"] = 3] = "HASH";
19752
20089
  StellarMemoType[StellarMemoType["RETURN"] = 4] = "RETURN";
19753
- })(StellarMemoType || (StellarMemoType = {}));
20090
+ })(exports.StellarMemoType || (exports.StellarMemoType = {}));
19754
20091
 
19755
- var StellarSignerType;
20092
+ exports.StellarSignerType = void 0;
19756
20093
 
19757
20094
  (function (StellarSignerType) {
19758
20095
  StellarSignerType[StellarSignerType["ACCOUNT"] = 0] = "ACCOUNT";
19759
20096
  StellarSignerType[StellarSignerType["PRE_AUTH"] = 1] = "PRE_AUTH";
19760
20097
  StellarSignerType[StellarSignerType["HASH"] = 2] = "HASH";
19761
- })(StellarSignerType || (StellarSignerType = {}));
20098
+ })(exports.StellarSignerType || (exports.StellarSignerType = {}));
19762
20099
 
19763
- var TezosContractType;
20100
+ exports.TezosContractType = void 0;
19764
20101
 
19765
20102
  (function (TezosContractType) {
19766
20103
  TezosContractType[TezosContractType["Implicit"] = 0] = "Implicit";
19767
20104
  TezosContractType[TezosContractType["Originated"] = 1] = "Originated";
19768
- })(TezosContractType || (TezosContractType = {}));
20105
+ })(exports.TezosContractType || (exports.TezosContractType = {}));
19769
20106
 
19770
- var TezosBallotType;
20107
+ exports.TezosBallotType = void 0;
19771
20108
 
19772
20109
  (function (TezosBallotType) {
19773
20110
  TezosBallotType[TezosBallotType["Yay"] = 0] = "Yay";
19774
20111
  TezosBallotType[TezosBallotType["Nay"] = 1] = "Nay";
19775
20112
  TezosBallotType[TezosBallotType["Pass"] = 2] = "Pass";
19776
- })(TezosBallotType || (TezosBallotType = {}));
20113
+ })(exports.TezosBallotType || (exports.TezosBallotType = {}));
19777
20114
 
19778
20115
  var messages = /*#__PURE__*/Object.freeze({
19779
20116
  __proto__: null,
19780
20117
 
19781
20118
  get BinanceOrderType() {
19782
- return BinanceOrderType;
20119
+ return exports.BinanceOrderType;
19783
20120
  },
19784
20121
 
19785
20122
  get BinanceOrderSide() {
19786
- return BinanceOrderSide;
20123
+ return exports.BinanceOrderSide;
19787
20124
  },
19788
20125
 
19789
20126
  get BinanceTimeInForce() {
19790
- return BinanceTimeInForce;
20127
+ return exports.BinanceTimeInForce;
19791
20128
  },
19792
20129
 
19793
20130
  get Enum_InputScriptType() {
19794
- return Enum_InputScriptType;
20131
+ return exports.Enum_InputScriptType;
19795
20132
  },
19796
20133
 
19797
20134
  get Enum_OutputScriptType() {
19798
- return Enum_OutputScriptType;
20135
+ return exports.Enum_OutputScriptType;
19799
20136
  },
19800
20137
 
19801
20138
  get DecredStakingSpendType() {
19802
- return DecredStakingSpendType;
20139
+ return exports.DecredStakingSpendType;
19803
20140
  },
19804
20141
 
19805
20142
  get AmountUnit() {
19806
- return AmountUnit;
20143
+ return exports.AmountUnit;
19807
20144
  },
19808
20145
 
19809
20146
  get Enum_RequestType() {
19810
- return Enum_RequestType;
20147
+ return exports.Enum_RequestType;
19811
20148
  },
19812
20149
 
19813
20150
  get CardanoDerivationType() {
19814
- return CardanoDerivationType;
20151
+ return exports.CardanoDerivationType;
19815
20152
  },
19816
20153
 
19817
20154
  get CardanoAddressType() {
19818
- return CardanoAddressType;
20155
+ return exports.CardanoAddressType;
19819
20156
  },
19820
20157
 
19821
20158
  get CardanoNativeScriptType() {
19822
- return CardanoNativeScriptType;
20159
+ return exports.CardanoNativeScriptType;
19823
20160
  },
19824
20161
 
19825
20162
  get CardanoNativeScriptHashDisplayFormat() {
19826
- return CardanoNativeScriptHashDisplayFormat;
20163
+ return exports.CardanoNativeScriptHashDisplayFormat;
19827
20164
  },
19828
20165
 
19829
20166
  get CardanoCertificateType() {
19830
- return CardanoCertificateType;
20167
+ return exports.CardanoCertificateType;
19831
20168
  },
19832
20169
 
19833
20170
  get CardanoPoolRelayType() {
19834
- return CardanoPoolRelayType;
20171
+ return exports.CardanoPoolRelayType;
19835
20172
  },
19836
20173
 
19837
20174
  get CardanoTxAuxiliaryDataSupplementType() {
19838
- return CardanoTxAuxiliaryDataSupplementType;
20175
+ return exports.CardanoTxAuxiliaryDataSupplementType;
19839
20176
  },
19840
20177
 
19841
20178
  get CardanoTxSigningMode() {
19842
- return CardanoTxSigningMode;
20179
+ return exports.CardanoTxSigningMode;
19843
20180
  },
19844
20181
 
19845
20182
  get CardanoTxWitnessType() {
19846
- return CardanoTxWitnessType;
20183
+ return exports.CardanoTxWitnessType;
19847
20184
  },
19848
20185
 
19849
20186
  get FailureType() {
19850
- return FailureType;
20187
+ return exports.FailureType;
19851
20188
  },
19852
20189
 
19853
20190
  get Enum_ButtonRequestType() {
19854
- return Enum_ButtonRequestType;
20191
+ return exports.Enum_ButtonRequestType;
19855
20192
  },
19856
20193
 
19857
20194
  get Enum_PinMatrixRequestType() {
19858
- return Enum_PinMatrixRequestType;
20195
+ return exports.Enum_PinMatrixRequestType;
19859
20196
  },
19860
20197
 
19861
20198
  get DebugButton() {
19862
- return DebugButton;
20199
+ return exports.DebugButton;
19863
20200
  },
19864
20201
 
19865
20202
  get EthereumDataType() {
19866
- return EthereumDataType;
20203
+ return exports.EthereumDataType;
19867
20204
  },
19868
20205
 
19869
20206
  get Enum_BackupType() {
19870
- return Enum_BackupType;
20207
+ return exports.Enum_BackupType;
19871
20208
  },
19872
20209
 
19873
20210
  get Enum_SafetyCheckLevel() {
19874
- return Enum_SafetyCheckLevel;
20211
+ return exports.Enum_SafetyCheckLevel;
19875
20212
  },
19876
20213
 
19877
20214
  get Enum_Capability() {
19878
- return Enum_Capability;
20215
+ return exports.Enum_Capability;
19879
20216
  },
19880
20217
 
19881
20218
  get SdProtectOperationType() {
19882
- return SdProtectOperationType;
20219
+ return exports.SdProtectOperationType;
19883
20220
  },
19884
20221
 
19885
20222
  get RecoveryDeviceType() {
19886
- return RecoveryDeviceType;
20223
+ return exports.RecoveryDeviceType;
19887
20224
  },
19888
20225
 
19889
20226
  get Enum_WordRequestType() {
19890
- return Enum_WordRequestType;
20227
+ return exports.Enum_WordRequestType;
19891
20228
  },
19892
20229
 
19893
20230
  get NEMMosaicLevy() {
19894
- return NEMMosaicLevy;
20231
+ return exports.NEMMosaicLevy;
19895
20232
  },
19896
20233
 
19897
20234
  get NEMSupplyChangeType() {
19898
- return NEMSupplyChangeType;
20235
+ return exports.NEMSupplyChangeType;
19899
20236
  },
19900
20237
 
19901
20238
  get NEMModificationType() {
19902
- return NEMModificationType;
20239
+ return exports.NEMModificationType;
19903
20240
  },
19904
20241
 
19905
20242
  get NEMImportanceTransferMode() {
19906
- return NEMImportanceTransferMode;
20243
+ return exports.NEMImportanceTransferMode;
19907
20244
  },
19908
20245
 
19909
20246
  get StellarAssetType() {
19910
- return StellarAssetType;
20247
+ return exports.StellarAssetType;
19911
20248
  },
19912
20249
 
19913
20250
  get StellarMemoType() {
19914
- return StellarMemoType;
20251
+ return exports.StellarMemoType;
19915
20252
  },
19916
20253
 
19917
20254
  get StellarSignerType() {
19918
- return StellarSignerType;
20255
+ return exports.StellarSignerType;
19919
20256
  },
19920
20257
 
19921
20258
  get TezosContractType() {
19922
- return TezosContractType;
20259
+ return exports.TezosContractType;
19923
20260
  },
19924
20261
 
19925
20262
  get TezosBallotType() {
19926
- return TezosBallotType;
20263
+ return exports.TezosBallotType;
19927
20264
  }
19928
20265
 
19929
20266
  });