@onekeyfe/hd-core 1.1.10-alpha.1 → 1.1.10-alpha.2

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.
@@ -5340,11 +5340,6 @@
5340
5340
  "signature_s": {
5341
5341
  "type": "bytes",
5342
5342
  "id": 4
5343
- },
5344
- "authorization_signatures": {
5345
- "rule": "repeated",
5346
- "type": "EthereumAuthorizationSignature",
5347
- "id": 10
5348
5343
  }
5349
5344
  }
5350
5345
  },
@@ -5454,127 +5449,6 @@
5454
5449
  }
5455
5450
  }
5456
5451
  },
5457
- "EthereumSignTxEIP7702OneKey": {
5458
- "fields": {
5459
- "address_n": {
5460
- "rule": "repeated",
5461
- "type": "uint32",
5462
- "id": 1,
5463
- "options": {
5464
- "packed": false
5465
- }
5466
- },
5467
- "nonce": {
5468
- "rule": "required",
5469
- "type": "bytes",
5470
- "id": 2
5471
- },
5472
- "max_gas_fee": {
5473
- "rule": "required",
5474
- "type": "bytes",
5475
- "id": 3
5476
- },
5477
- "max_priority_fee": {
5478
- "rule": "required",
5479
- "type": "bytes",
5480
- "id": 4
5481
- },
5482
- "gas_limit": {
5483
- "rule": "required",
5484
- "type": "bytes",
5485
- "id": 5
5486
- },
5487
- "to": {
5488
- "rule": "required",
5489
- "type": "string",
5490
- "id": 6
5491
- },
5492
- "value": {
5493
- "rule": "required",
5494
- "type": "bytes",
5495
- "id": 7
5496
- },
5497
- "data_initial_chunk": {
5498
- "type": "bytes",
5499
- "id": 8,
5500
- "options": {
5501
- "default": ""
5502
- }
5503
- },
5504
- "data_length": {
5505
- "rule": "required",
5506
- "type": "uint32",
5507
- "id": 9
5508
- },
5509
- "chain_id": {
5510
- "rule": "required",
5511
- "type": "uint64",
5512
- "id": 10
5513
- },
5514
- "access_list": {
5515
- "rule": "repeated",
5516
- "type": "EthereumAccessListOneKey",
5517
- "id": 11
5518
- },
5519
- "authorization_list": {
5520
- "rule": "repeated",
5521
- "type": "EthereumAuthorizationOneKey",
5522
- "id": 12
5523
- }
5524
- },
5525
- "nested": {
5526
- "EthereumAuthorizationOneKey": {
5527
- "fields": {
5528
- "address_n": {
5529
- "rule": "repeated",
5530
- "type": "uint32",
5531
- "id": 1,
5532
- "options": {
5533
- "packed": false
5534
- }
5535
- },
5536
- "chain_id": {
5537
- "rule": "required",
5538
- "type": "uint64",
5539
- "id": 2
5540
- },
5541
- "address": {
5542
- "rule": "required",
5543
- "type": "string",
5544
- "id": 3
5545
- },
5546
- "nonce": {
5547
- "rule": "required",
5548
- "type": "bytes",
5549
- "id": 4
5550
- },
5551
- "signature": {
5552
- "type": "EthereumAuthorizationSignature",
5553
- "id": 5
5554
- }
5555
- }
5556
- }
5557
- }
5558
- },
5559
- "EthereumAuthorizationSignature": {
5560
- "fields": {
5561
- "y_parity": {
5562
- "rule": "required",
5563
- "type": "uint32",
5564
- "id": 1
5565
- },
5566
- "r": {
5567
- "rule": "required",
5568
- "type": "bytes",
5569
- "id": 2
5570
- },
5571
- "s": {
5572
- "rule": "required",
5573
- "type": "bytes",
5574
- "id": 3
5575
- }
5576
- }
5577
- },
5578
5452
  "EthereumSignMessageEIP712": {
5579
5453
  "fields": {
5580
5454
  "address_n": {
@@ -12026,7 +11900,6 @@
12026
11900
  "MessageType_EthereumAddressOneKey": 20103,
12027
11901
  "MessageType_EthereumSignTxOneKey": 20104,
12028
11902
  "MessageType_EthereumSignTxEIP1559OneKey": 20105,
12029
- "MessageType_EthereumSignTxEIP7702OneKey": 20120,
12030
11903
  "MessageType_EthereumTxRequestOneKey": 20106,
12031
11904
  "MessageType_EthereumTxAckOneKey": 20107,
12032
11905
  "MessageType_EthereumSignMessageOneKey": 20108,
@@ -4,7 +4,6 @@ export type EVMSignedTx = {
4
4
  v: string;
5
5
  r: string;
6
6
  s: string;
7
- authorizationSignatures?: EVMAuthorizationSignature[];
8
7
  };
9
8
 
10
9
  export type EVMTransaction = {
@@ -38,37 +37,9 @@ export type EVMTransactionEIP1559 = {
38
37
  accessList?: EVMAccessList[];
39
38
  };
40
39
 
41
- export type EVMAuthorizationSignature = {
42
- yParity: number;
43
- r: string;
44
- s: string;
45
- };
46
-
47
- export type EVMAuthorization = {
48
- addressN?: number[];
49
- chainId: number;
50
- address: string;
51
- nonce: string;
52
- signature?: EVMAuthorizationSignature;
53
- };
54
-
55
- export type EVMTransactionEIP7702 = {
56
- to: string;
57
- value: string;
58
- gasLimit: string;
59
- gasPrice?: typeof undefined;
60
- nonce: string;
61
- data?: string;
62
- chainId: number;
63
- maxFeePerGas: string;
64
- maxPriorityFeePerGas: string;
65
- accessList?: EVMAccessList[];
66
- authorizationList: EVMAuthorization[];
67
- };
68
-
69
40
  export type EVMSignTransactionParams = {
70
41
  path: string | number[];
71
- transaction: EVMTransaction | EVMTransactionEIP1559 | EVMTransactionEIP7702;
42
+ transaction: EVMTransaction | EVMTransactionEIP1559;
72
43
  };
73
44
 
74
45
  export declare function evmSignTransaction(
@@ -36,9 +36,6 @@ export type { EVMSignMessageEIP712Params } from './evmSignMessageEIP712';
36
36
  export type {
37
37
  EVMTransaction,
38
38
  EVMTransactionEIP1559,
39
- EVMTransactionEIP7702,
40
- EVMAuthorization,
41
- EVMAuthorizationSignature,
42
39
  EVMSignedTx,
43
40
  EVMSignTransactionParams,
44
41
  EVMAccessList,