@onekeyfe/hd-core 0.2.16 → 0.2.18

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.
Files changed (68) hide show
  1. package/dist/api/cardano/helper/cardanoInputs.d.ts.map +1 -1
  2. package/dist/api/device/DeviceUploadResource.d.ts.map +1 -1
  3. package/dist/api/evm/EVMGetAddress.d.ts.map +1 -1
  4. package/dist/api/evm/EVMGetPublicKey.d.ts.map +1 -1
  5. package/dist/api/evm/EVMSignMessage.d.ts.map +1 -1
  6. package/dist/api/evm/EVMSignTypedData.d.ts +1 -0
  7. package/dist/api/evm/EVMSignTypedData.d.ts.map +1 -1
  8. package/dist/api/evm/EVMVerifyMessage.d.ts.map +1 -1
  9. package/dist/api/filecoin/FilecoinGetAddress.d.ts +17 -0
  10. package/dist/api/filecoin/FilecoinGetAddress.d.ts.map +1 -0
  11. package/dist/api/filecoin/FilecoinSignTransaction.d.ts +19 -0
  12. package/dist/api/filecoin/FilecoinSignTransaction.d.ts.map +1 -0
  13. package/dist/api/index.d.ts +2 -0
  14. package/dist/api/index.d.ts.map +1 -1
  15. package/dist/api/stellar/StellarSignTransaction.d.ts.map +1 -1
  16. package/dist/index.d.ts +34 -3
  17. package/dist/index.js +433 -276
  18. package/dist/inject.d.ts.map +1 -1
  19. package/dist/types/api/cardano.d.ts.map +1 -1
  20. package/dist/types/api/evmGetAddress.d.ts +1 -0
  21. package/dist/types/api/evmGetAddress.d.ts.map +1 -1
  22. package/dist/types/api/evmGetPublicKey.d.ts +1 -0
  23. package/dist/types/api/evmGetPublicKey.d.ts.map +1 -1
  24. package/dist/types/api/evmSignMessage.d.ts +1 -0
  25. package/dist/types/api/evmSignMessage.d.ts.map +1 -1
  26. package/dist/types/api/evmSignTypedData.d.ts +1 -0
  27. package/dist/types/api/evmSignTypedData.d.ts.map +1 -1
  28. package/dist/types/api/evmVerifyMessage.d.ts +1 -0
  29. package/dist/types/api/evmVerifyMessage.d.ts.map +1 -1
  30. package/dist/types/api/export.d.ts +2 -0
  31. package/dist/types/api/export.d.ts.map +1 -1
  32. package/dist/types/api/filecoinGetAddress.d.ts +14 -0
  33. package/dist/types/api/filecoinGetAddress.d.ts.map +1 -0
  34. package/dist/types/api/filecoinSignTransaction.d.ts +14 -0
  35. package/dist/types/api/filecoinSignTransaction.d.ts.map +1 -0
  36. package/dist/types/api/index.d.ts +4 -0
  37. package/dist/types/api/index.d.ts.map +1 -1
  38. package/dist/utils/patch.d.ts +1 -1
  39. package/dist/utils/patch.d.ts.map +1 -1
  40. package/package.json +4 -4
  41. package/src/api/device/DeviceUploadResource.ts +6 -0
  42. package/src/api/evm/EVMGetAddress.ts +2 -0
  43. package/src/api/evm/EVMGetPublicKey.ts +2 -0
  44. package/src/api/evm/EVMSignMessage.ts +3 -1
  45. package/src/api/evm/EVMSignTypedData.ts +8 -3
  46. package/src/api/evm/EVMVerifyMessage.ts +2 -0
  47. package/src/api/filecoin/FilecoinGetAddress.ts +71 -0
  48. package/src/api/filecoin/FilecoinSignTransaction.ts +54 -0
  49. package/src/api/helpers/stringUtils.ts +1 -1
  50. package/src/api/index.ts +3 -0
  51. package/src/api/stellar/StellarSignTransaction.ts +5 -2
  52. package/src/api/xrp/XrpGetAddress.ts +1 -1
  53. package/src/api/xrp/XrpSignTransaction.ts +1 -1
  54. package/src/data/messages/messages.json +463 -419
  55. package/src/inject.ts +5 -0
  56. package/src/types/api/cardano.ts +0 -1
  57. package/src/types/api/evmGetAddress.ts +1 -0
  58. package/src/types/api/evmGetPublicKey.ts +1 -0
  59. package/src/types/api/evmSignMessage.ts +1 -0
  60. package/src/types/api/evmSignTypedData.ts +1 -0
  61. package/src/types/api/evmVerifyMessage.ts +1 -0
  62. package/src/types/api/export.ts +3 -0
  63. package/src/types/api/filecoinGetAddress.ts +23 -0
  64. package/src/types/api/filecoinSignTransaction.ts +23 -0
  65. package/src/types/api/index.ts +9 -0
  66. package/src/types/api/nearSignTransaction.ts +1 -1
  67. package/src/types/api/tronGetAddress.ts +2 -2
  68. package/src/types/api/tronSignTransaction.ts +1 -1
@@ -1655,6 +1655,12 @@
1655
1655
  "POLICY_ID": 2
1656
1656
  }
1657
1657
  },
1658
+ "CardanoTxOutputSerializationFormat": {
1659
+ "values": {
1660
+ "ARRAY_LEGACY": 0,
1661
+ "MAP_BABBAGE": 1
1662
+ }
1663
+ },
1658
1664
  "CardanoCertificateType": {
1659
1665
  "values": {
1660
1666
  "STAKE_REGISTRATION": 0,
@@ -1673,14 +1679,21 @@
1673
1679
  "CardanoTxAuxiliaryDataSupplementType": {
1674
1680
  "values": {
1675
1681
  "NONE": 0,
1676
- "CATALYST_REGISTRATION_SIGNATURE": 1
1682
+ "GOVERNANCE_REGISTRATION_SIGNATURE": 1
1683
+ }
1684
+ },
1685
+ "CardanoGovernanceRegistrationFormat": {
1686
+ "values": {
1687
+ "CIP15": 0,
1688
+ "CIP36": 1
1677
1689
  }
1678
1690
  },
1679
1691
  "CardanoTxSigningMode": {
1680
1692
  "values": {
1681
1693
  "ORDINARY_TRANSACTION": 0,
1682
1694
  "POOL_REGISTRATION_AS_OWNER": 1,
1683
- "MULTISIG_TRANSACTION": 2
1695
+ "MULTISIG_TRANSACTION": 2,
1696
+ "PLUTUS_TRANSACTION": 3
1684
1697
  }
1685
1698
  },
1686
1699
  "CardanoTxWitnessType": {
@@ -1892,113 +1905,113 @@
1892
1905
  },
1893
1906
  "CardanoSignTxInit": {
1894
1907
  "fields": {
1895
- "signing_mode": {
1896
- "rule": "required",
1897
- "type": "CardanoTxSigningMode",
1898
- "id": 1
1899
- },
1900
- "protocol_magic": {
1901
- "rule": "required",
1902
- "type": "uint32",
1903
- "id": 2
1904
- },
1905
- "network_id": {
1906
- "rule": "required",
1907
- "type": "uint32",
1908
- "id": 3
1909
- },
1910
- "inputs_count": {
1911
- "rule": "required",
1912
- "type": "uint32",
1913
- "id": 4
1914
- },
1915
- "outputs_count": {
1916
- "rule": "required",
1917
- "type": "uint32",
1918
- "id": 5
1919
- },
1920
- "fee": {
1921
- "rule": "required",
1922
- "type": "uint64",
1923
- "id": 6
1924
- },
1925
- "ttl": {
1926
- "type": "uint64",
1927
- "id": 7
1928
- },
1929
- "certificates_count": {
1930
- "rule": "required",
1931
- "type": "uint32",
1932
- "id": 8
1933
- },
1934
- "withdrawals_count": {
1935
- "rule": "required",
1936
- "type": "uint32",
1937
- "id": 9
1938
- },
1939
- "has_auxiliary_data": {
1940
- "rule": "required",
1941
- "type": "bool",
1942
- "id": 10
1943
- },
1944
- "validity_interval_start": {
1945
- "type": "uint64",
1946
- "id": 11
1947
- },
1948
- "witness_requests_count": {
1949
- "rule": "required",
1950
- "type": "uint32",
1951
- "id": 12
1952
- },
1953
- "minting_asset_groups_count": {
1954
- "rule": "required",
1955
- "type": "uint32",
1956
- "id": 13
1957
- },
1958
- "derivation_type": {
1959
- "rule": "required",
1960
- "type": "CardanoDerivationType",
1961
- "id": 14
1962
- },
1963
- "include_network_id": {
1964
- "type": "bool",
1965
- "id": 15,
1966
- "options": {
1967
- "default": false
1968
- }
1969
- },
1970
- "script_data_hash": {
1971
- "type": "bytes",
1972
- "id": 16
1973
- },
1974
- "collateral_inputs_count": {
1975
- "rule": "required",
1976
- "type": "uint32",
1977
- "id": 17
1978
- },
1979
- "required_signers_count": {
1980
- "rule": "required",
1981
- "type": "uint32",
1982
- "id": 18
1983
- },
1984
- "has_collateral_return": {
1985
- "type": "bool",
1986
- "id": 19,
1987
- "options": {
1988
- "default": false
1989
- }
1990
- },
1991
- "total_collateral": {
1992
- "type": "uint64",
1993
- "id": 20
1994
- },
1995
- "reference_inputs_count": {
1996
- "type": "uint32",
1997
- "id": 21,
1998
- "options": {
1999
- "default": 0
2000
- }
1908
+ "signing_mode": {
1909
+ "rule": "required",
1910
+ "type": "CardanoTxSigningMode",
1911
+ "id": 1
1912
+ },
1913
+ "protocol_magic": {
1914
+ "rule": "required",
1915
+ "type": "uint32",
1916
+ "id": 2
1917
+ },
1918
+ "network_id": {
1919
+ "rule": "required",
1920
+ "type": "uint32",
1921
+ "id": 3
1922
+ },
1923
+ "inputs_count": {
1924
+ "rule": "required",
1925
+ "type": "uint32",
1926
+ "id": 4
1927
+ },
1928
+ "outputs_count": {
1929
+ "rule": "required",
1930
+ "type": "uint32",
1931
+ "id": 5
1932
+ },
1933
+ "fee": {
1934
+ "rule": "required",
1935
+ "type": "uint64",
1936
+ "id": 6
1937
+ },
1938
+ "ttl": {
1939
+ "type": "uint64",
1940
+ "id": 7
1941
+ },
1942
+ "certificates_count": {
1943
+ "rule": "required",
1944
+ "type": "uint32",
1945
+ "id": 8
1946
+ },
1947
+ "withdrawals_count": {
1948
+ "rule": "required",
1949
+ "type": "uint32",
1950
+ "id": 9
1951
+ },
1952
+ "has_auxiliary_data": {
1953
+ "rule": "required",
1954
+ "type": "bool",
1955
+ "id": 10
1956
+ },
1957
+ "validity_interval_start": {
1958
+ "type": "uint64",
1959
+ "id": 11
1960
+ },
1961
+ "witness_requests_count": {
1962
+ "rule": "required",
1963
+ "type": "uint32",
1964
+ "id": 12
1965
+ },
1966
+ "minting_asset_groups_count": {
1967
+ "rule": "required",
1968
+ "type": "uint32",
1969
+ "id": 13
1970
+ },
1971
+ "derivation_type": {
1972
+ "rule": "required",
1973
+ "type": "CardanoDerivationType",
1974
+ "id": 14
1975
+ },
1976
+ "include_network_id": {
1977
+ "type": "bool",
1978
+ "id": 15,
1979
+ "options": {
1980
+ "default": false
1981
+ }
1982
+ },
1983
+ "script_data_hash": {
1984
+ "type": "bytes",
1985
+ "id": 16
1986
+ },
1987
+ "collateral_inputs_count": {
1988
+ "rule": "required",
1989
+ "type": "uint32",
1990
+ "id": 17
1991
+ },
1992
+ "required_signers_count": {
1993
+ "rule": "required",
1994
+ "type": "uint32",
1995
+ "id": 18
1996
+ },
1997
+ "has_collateral_return": {
1998
+ "type": "bool",
1999
+ "id": 19,
2000
+ "options": {
2001
+ "default": false
2001
2002
  }
2003
+ },
2004
+ "total_collateral": {
2005
+ "type": "uint64",
2006
+ "id": 20
2007
+ },
2008
+ "reference_inputs_count": {
2009
+ "type": "uint32",
2010
+ "id": 21,
2011
+ "options": {
2012
+ "default": 0
2013
+ }
2014
+ }
2002
2015
  }
2003
2016
  },
2004
2017
  "CardanoTxInput": {
@@ -2034,6 +2047,31 @@
2034
2047
  "rule": "required",
2035
2048
  "type": "uint32",
2036
2049
  "id": 4
2050
+ },
2051
+ "datum_hash": {
2052
+ "type": "bytes",
2053
+ "id": 5
2054
+ },
2055
+ "format": {
2056
+ "type": "CardanoTxOutputSerializationFormat",
2057
+ "id": 6,
2058
+ "options": {
2059
+ "default": "ARRAY_LEGACY"
2060
+ }
2061
+ },
2062
+ "inline_datum_size": {
2063
+ "type": "uint32",
2064
+ "id": 7,
2065
+ "options": {
2066
+ "default": 0
2067
+ }
2068
+ },
2069
+ "reference_script_size": {
2070
+ "type": "uint32",
2071
+ "id": 8,
2072
+ "options": {
2073
+ "default": 0
2074
+ }
2037
2075
  }
2038
2076
  }
2039
2077
  },
@@ -2068,6 +2106,24 @@
2068
2106
  }
2069
2107
  }
2070
2108
  },
2109
+ "CardanoTxInlineDatumChunk": {
2110
+ "fields": {
2111
+ "data": {
2112
+ "rule": "required",
2113
+ "type": "bytes",
2114
+ "id": 1
2115
+ }
2116
+ }
2117
+ },
2118
+ "CardanoTxReferenceScriptChunk": {
2119
+ "fields": {
2120
+ "data": {
2121
+ "rule": "required",
2122
+ "type": "bytes",
2123
+ "id": 1
2124
+ }
2125
+ }
2126
+ },
2071
2127
  "CardanoPoolOwner": {
2072
2128
  "fields": {
2073
2129
  "staking_key_path": {
@@ -2160,22 +2216,6 @@
2160
2216
  "type": "string",
2161
2217
  "id": 7
2162
2218
  },
2163
- "owners": {
2164
- "rule": "repeated",
2165
- "type": "CardanoPoolOwner",
2166
- "id": 8,
2167
- "options": {
2168
- "deprecated": true
2169
- }
2170
- },
2171
- "relays": {
2172
- "rule": "repeated",
2173
- "type": "CardanoPoolRelayParameters",
2174
- "id": 9,
2175
- "options": {
2176
- "deprecated": true
2177
- }
2178
- },
2179
2219
  "metadata": {
2180
2220
  "type": "CardanoPoolMetadataType",
2181
2221
  "id": 10
@@ -2218,6 +2258,10 @@
2218
2258
  "script_hash": {
2219
2259
  "type": "bytes",
2220
2260
  "id": 5
2261
+ },
2262
+ "key_hash": {
2263
+ "type": "bytes",
2264
+ "id": 6
2221
2265
  }
2222
2266
  }
2223
2267
  },
@@ -2239,16 +2283,33 @@
2239
2283
  "script_hash": {
2240
2284
  "type": "bytes",
2241
2285
  "id": 3
2286
+ },
2287
+ "key_hash": {
2288
+ "type": "bytes",
2289
+ "id": 4
2242
2290
  }
2243
2291
  }
2244
2292
  },
2245
- "CardanoCatalystRegistrationParametersType": {
2293
+ "CardanoGovernanceRegistrationDelegation": {
2246
2294
  "fields": {
2247
2295
  "voting_public_key": {
2248
2296
  "rule": "required",
2249
2297
  "type": "bytes",
2250
2298
  "id": 1
2251
2299
  },
2300
+ "weight": {
2301
+ "rule": "required",
2302
+ "type": "uint32",
2303
+ "id": 2
2304
+ }
2305
+ }
2306
+ },
2307
+ "CardanoGovernanceRegistrationParametersType": {
2308
+ "fields": {
2309
+ "voting_public_key": {
2310
+ "type": "bytes",
2311
+ "id": 1
2312
+ },
2252
2313
  "staking_path": {
2253
2314
  "rule": "repeated",
2254
2315
  "type": "uint32",
@@ -2266,13 +2327,29 @@
2266
2327
  "rule": "required",
2267
2328
  "type": "uint64",
2268
2329
  "id": 4
2330
+ },
2331
+ "format": {
2332
+ "type": "CardanoGovernanceRegistrationFormat",
2333
+ "id": 5,
2334
+ "options": {
2335
+ "default": "CIP15"
2336
+ }
2337
+ },
2338
+ "delegations": {
2339
+ "rule": "repeated",
2340
+ "type": "CardanoGovernanceRegistrationDelegation",
2341
+ "id": 6
2342
+ },
2343
+ "voting_purpose": {
2344
+ "type": "uint64",
2345
+ "id": 7
2269
2346
  }
2270
2347
  }
2271
2348
  },
2272
2349
  "CardanoTxAuxiliaryData": {
2273
2350
  "fields": {
2274
- "catalyst_registration_parameters": {
2275
- "type": "CardanoCatalystRegistrationParametersType",
2351
+ "governance_registration_parameters": {
2352
+ "type": "CardanoGovernanceRegistrationParametersType",
2276
2353
  "id": 1
2277
2354
  },
2278
2355
  "hash": {
@@ -2290,328 +2367,156 @@
2290
2367
  }
2291
2368
  }
2292
2369
  },
2293
- "CardanoTxItemAck": {
2294
- "fields": {}
2295
- },
2296
- "CardanoTxAuxiliaryDataSupplement": {
2370
+ "CardanoTxCollateralInput": {
2297
2371
  "fields": {
2298
- "type": {
2372
+ "prev_hash": {
2299
2373
  "rule": "required",
2300
- "type": "CardanoTxAuxiliaryDataSupplementType",
2301
- "id": 1
2302
- },
2303
- "auxiliary_data_hash": {
2304
- "type": "bytes",
2305
- "id": 2
2306
- },
2307
- "catalyst_signature": {
2308
2374
  "type": "bytes",
2309
- "id": 3
2310
- }
2311
- }
2312
- },
2313
- "CardanoTxWitnessRequest": {
2314
- "fields": {
2315
- "path": {
2316
- "rule": "repeated",
2317
- "type": "uint32",
2318
- "id": 1,
2319
- "options": {
2320
- "packed": false
2321
- }
2322
- }
2323
- }
2324
- },
2325
- "CardanoTxWitnessResponse": {
2326
- "fields": {
2327
- "type": {
2328
- "rule": "required",
2329
- "type": "CardanoTxWitnessType",
2330
2375
  "id": 1
2331
2376
  },
2332
- "pub_key": {
2377
+ "prev_index": {
2333
2378
  "rule": "required",
2334
- "type": "bytes",
2379
+ "type": "uint32",
2335
2380
  "id": 2
2336
- },
2337
- "signature": {
2338
- "rule": "required",
2339
- "type": "bytes",
2340
- "id": 3
2341
- },
2342
- "chain_code": {
2343
- "type": "bytes",
2344
- "id": 4
2345
2381
  }
2346
2382
  }
2347
2383
  },
2348
- "CardanoTxHostAck": {
2349
- "fields": {}
2350
- },
2351
- "CardanoTxBodyHash": {
2384
+ "CardanoTxRequiredSigner": {
2352
2385
  "fields": {
2353
- "tx_hash": {
2354
- "rule": "required",
2386
+ "key_hash": {
2355
2387
  "type": "bytes",
2356
2388
  "id": 1
2357
- }
2358
- }
2359
- },
2360
- "CardanoSignTxFinished": {
2361
- "fields": {}
2362
- },
2363
- "CardanoSignTx": {
2364
- "options": {
2365
- "deprecated": true
2366
- },
2367
- "fields": {
2368
- "inputs": {
2369
- "rule": "repeated",
2370
- "type": "CardanoTxInputType",
2371
- "id": 1
2372
2389
  },
2373
- "outputs": {
2390
+ "key_path": {
2374
2391
  "rule": "repeated",
2375
- "type": "CardanoTxOutputType",
2376
- "id": 2
2377
- },
2378
- "protocol_magic": {
2379
- "rule": "required",
2380
- "type": "uint32",
2381
- "id": 5
2382
- },
2383
- "fee": {
2384
- "rule": "required",
2385
- "type": "uint64",
2386
- "id": 6
2387
- },
2388
- "ttl": {
2389
- "type": "uint64",
2390
- "id": 7
2391
- },
2392
- "network_id": {
2393
- "rule": "required",
2394
2392
  "type": "uint32",
2395
- "id": 8
2396
- },
2397
- "certificates": {
2398
- "rule": "repeated",
2399
- "type": "CardanoTxCertificateType",
2400
- "id": 9
2401
- },
2402
- "withdrawals": {
2403
- "rule": "repeated",
2404
- "type": "CardanoTxWithdrawalType",
2405
- "id": 10
2406
- },
2407
- "validity_interval_start": {
2408
- "type": "uint64",
2409
- "id": 12
2410
- },
2411
- "auxiliary_data": {
2412
- "type": "CardanoTxAuxiliaryDataType",
2413
- "id": 13
2414
- }
2415
- },
2416
- "nested": {
2417
- "CardanoTxInputType": {
2418
- "fields": {
2419
- "address_n": {
2420
- "rule": "repeated",
2421
- "type": "uint32",
2422
- "id": 1,
2423
- "options": {
2424
- "packed": false
2425
- }
2426
- },
2427
- "prev_hash": {
2428
- "rule": "required",
2429
- "type": "bytes",
2430
- "id": 2
2431
- },
2432
- "prev_index": {
2433
- "rule": "required",
2434
- "type": "uint32",
2435
- "id": 3
2436
- }
2437
- }
2438
- },
2439
- "CardanoTxOutputType": {
2440
- "fields": {
2441
- "address": {
2442
- "type": "string",
2443
- "id": 1
2444
- },
2445
- "amount": {
2446
- "rule": "required",
2447
- "type": "uint64",
2448
- "id": 3
2449
- },
2450
- "address_parameters": {
2451
- "type": "CardanoAddressParametersType",
2452
- "id": 4
2453
- },
2454
- "token_bundle": {
2455
- "rule": "repeated",
2456
- "type": "CardanoAssetGroupType",
2457
- "id": 5
2458
- }
2459
- }
2460
- },
2461
- "CardanoAssetGroupType": {
2462
- "fields": {
2463
- "policy_id": {
2464
- "rule": "required",
2465
- "type": "bytes",
2466
- "id": 1
2467
- },
2468
- "tokens": {
2469
- "rule": "repeated",
2470
- "type": "CardanoTokenType",
2471
- "id": 2
2472
- }
2473
- }
2474
- },
2475
- "CardanoTokenType": {
2476
- "fields": {
2477
- "asset_name_bytes": {
2478
- "rule": "required",
2479
- "type": "bytes",
2480
- "id": 1
2481
- },
2482
- "amount": {
2483
- "rule": "required",
2484
- "type": "uint64",
2485
- "id": 2
2486
- }
2487
- }
2488
- },
2489
- "CardanoPoolOwnerType": {
2490
- "fields": {
2491
- "staking_key_path": {
2492
- "rule": "repeated",
2493
- "type": "uint32",
2494
- "id": 1,
2495
- "options": {
2496
- "packed": false
2497
- }
2498
- },
2499
- "staking_key_hash": {
2500
- "type": "bytes",
2501
- "id": 2
2502
- }
2503
- }
2504
- },
2505
- "CardanoPoolRelayParametersType": {
2506
- "fields": {
2507
- "type": {
2508
- "rule": "required",
2509
- "type": "CardanoPoolRelayType",
2510
- "id": 1
2511
- },
2512
- "ipv4_address": {
2513
- "type": "bytes",
2514
- "id": 2
2515
- },
2516
- "ipv6_address": {
2517
- "type": "bytes",
2518
- "id": 3
2519
- },
2520
- "host_name": {
2521
- "type": "string",
2522
- "id": 4
2523
- },
2524
- "port": {
2525
- "type": "uint32",
2526
- "id": 5
2527
- }
2528
- }
2529
- },
2530
- "CardanoTxCertificateType": {
2531
- "fields": {
2532
- "type": {
2533
- "rule": "required",
2534
- "type": "CardanoCertificateType",
2535
- "id": 1
2536
- },
2537
- "path": {
2538
- "rule": "repeated",
2539
- "type": "uint32",
2540
- "id": 2,
2541
- "options": {
2542
- "packed": false
2543
- }
2544
- },
2545
- "pool": {
2546
- "type": "bytes",
2547
- "id": 3
2548
- },
2549
- "pool_parameters": {
2550
- "type": "CardanoPoolParametersType",
2551
- "id": 4
2552
- }
2393
+ "id": 2,
2394
+ "options": {
2395
+ "packed": false
2553
2396
  }
2397
+ }
2398
+ }
2399
+ },
2400
+ "CardanoTxReferenceInput": {
2401
+ "fields": {
2402
+ "prev_hash": {
2403
+ "rule": "required",
2404
+ "type": "bytes",
2405
+ "id": 1
2554
2406
  },
2555
- "CardanoTxWithdrawalType": {
2556
- "fields": {
2557
- "path": {
2558
- "rule": "repeated",
2559
- "type": "uint32",
2560
- "id": 1,
2561
- "options": {
2562
- "packed": false
2563
- }
2564
- },
2565
- "amount": {
2566
- "rule": "required",
2567
- "type": "uint64",
2568
- "id": 2
2569
- }
2570
- }
2407
+ "prev_index": {
2408
+ "rule": "required",
2409
+ "type": "uint32",
2410
+ "id": 2
2411
+ }
2412
+ }
2413
+ },
2414
+ "CardanoTxItemAck": {
2415
+ "fields": {}
2416
+ },
2417
+ "CardanoTxAuxiliaryDataSupplement": {
2418
+ "fields": {
2419
+ "type": {
2420
+ "rule": "required",
2421
+ "type": "CardanoTxAuxiliaryDataSupplementType",
2422
+ "id": 1
2571
2423
  },
2572
- "CardanoTxAuxiliaryDataType": {
2573
- "fields": {
2574
- "blob": {
2575
- "type": "bytes",
2576
- "id": 1
2577
- },
2578
- "catalyst_registration_parameters": {
2579
- "type": "CardanoCatalystRegistrationParametersType",
2580
- "id": 2
2581
- }
2424
+ "auxiliary_data_hash": {
2425
+ "type": "bytes",
2426
+ "id": 2
2427
+ },
2428
+ "governance_signature": {
2429
+ "type": "bytes",
2430
+ "id": 3
2431
+ }
2432
+ }
2433
+ },
2434
+ "CardanoTxWitnessRequest": {
2435
+ "fields": {
2436
+ "path": {
2437
+ "rule": "repeated",
2438
+ "type": "uint32",
2439
+ "id": 1,
2440
+ "options": {
2441
+ "packed": false
2582
2442
  }
2583
2443
  }
2584
2444
  }
2585
2445
  },
2586
- "CardanoSignedTxChunk": {
2587
- "options": {
2588
- "deprecated": true
2589
- },
2446
+ "CardanoTxWitnessResponse": {
2590
2447
  "fields": {
2591
- "signed_tx_chunk": {
2448
+ "type": {
2592
2449
  "rule": "required",
2593
- "type": "bytes",
2450
+ "type": "CardanoTxWitnessType",
2594
2451
  "id": 1
2452
+ },
2453
+ "pub_key": {
2454
+ "rule": "required",
2455
+ "type": "bytes",
2456
+ "id": 2
2457
+ },
2458
+ "signature": {
2459
+ "rule": "required",
2460
+ "type": "bytes",
2461
+ "id": 3
2462
+ },
2463
+ "chain_code": {
2464
+ "type": "bytes",
2465
+ "id": 4
2595
2466
  }
2596
2467
  }
2597
2468
  },
2598
- "CardanoSignedTxChunkAck": {
2599
- "options": {
2600
- "deprecated": true
2601
- },
2469
+ "CardanoTxHostAck": {
2602
2470
  "fields": {}
2603
2471
  },
2604
- "CardanoSignedTx": {
2605
- "options": {
2606
- "deprecated": true
2607
- },
2472
+ "CardanoTxBodyHash": {
2608
2473
  "fields": {
2609
2474
  "tx_hash": {
2610
2475
  "rule": "required",
2611
2476
  "type": "bytes",
2612
2477
  "id": 1
2478
+ }
2479
+ }
2480
+ },
2481
+ "CardanoSignTxFinished": {
2482
+ "fields": {}
2483
+ },
2484
+ "CardanoSignMessage": {
2485
+ "fields": {
2486
+ "address_n": {
2487
+ "rule": "repeated",
2488
+ "type": "uint32",
2489
+ "id": 1,
2490
+ "options": {
2491
+ "packed": false
2492
+ }
2613
2493
  },
2614
- "serialized_tx": {
2494
+ "message": {
2495
+ "rule": "required",
2496
+ "type": "bytes",
2497
+ "id": 2
2498
+ },
2499
+ "derivation_type": {
2500
+ "rule": "required",
2501
+ "type": "CardanoDerivationType",
2502
+ "id": 3
2503
+ },
2504
+ "network_id": {
2505
+ "rule": "required",
2506
+ "type": "uint32",
2507
+ "id": 4
2508
+ }
2509
+ }
2510
+ },
2511
+ "CardanoMessageSignature": {
2512
+ "fields": {
2513
+ "signature": {
2514
+ "rule": "required",
2515
+ "type": "bytes",
2516
+ "id": 1
2517
+ },
2518
+ "key": {
2519
+ "rule": "required",
2615
2520
  "type": "bytes",
2616
2521
  "id": 2
2617
2522
  }
@@ -4047,6 +3952,10 @@
4047
3952
  "options": {
4048
3953
  "default": true
4049
3954
  }
3955
+ },
3956
+ "chain_id": {
3957
+ "type": "uint64",
3958
+ "id": 4
4050
3959
  }
4051
3960
  }
4052
3961
  },
@@ -4151,6 +4060,10 @@
4151
4060
  "show_display": {
4152
4061
  "type": "bool",
4153
4062
  "id": 2
4063
+ },
4064
+ "chain_id": {
4065
+ "type": "uint64",
4066
+ "id": 3
4154
4067
  }
4155
4068
  }
4156
4069
  },
@@ -4181,6 +4094,10 @@
4181
4094
  "show_display": {
4182
4095
  "type": "bool",
4183
4096
  "id": 2
4097
+ },
4098
+ "chain_id": {
4099
+ "type": "uint64",
4100
+ "id": 3
4184
4101
  }
4185
4102
  }
4186
4103
  },
@@ -4390,6 +4307,10 @@
4390
4307
  "rule": "required",
4391
4308
  "type": "bytes",
4392
4309
  "id": 2
4310
+ },
4311
+ "chain_id": {
4312
+ "type": "uint64",
4313
+ "id": 3
4393
4314
  }
4394
4315
  }
4395
4316
  },
@@ -4423,6 +4344,10 @@
4423
4344
  "rule": "required",
4424
4345
  "type": "string",
4425
4346
  "id": 4
4347
+ },
4348
+ "chain_id": {
4349
+ "type": "uint64",
4350
+ "id": 5
4426
4351
  }
4427
4352
  }
4428
4353
  },
@@ -4464,6 +4389,10 @@
4464
4389
  "message_hash": {
4465
4390
  "type": "bytes",
4466
4391
  "id": 3
4392
+ },
4393
+ "chain_id": {
4394
+ "type": "uint64",
4395
+ "id": 4
4467
4396
  }
4468
4397
  }
4469
4398
  },
@@ -4481,6 +4410,56 @@
4481
4410
  }
4482
4411
  }
4483
4412
  },
4413
+ "FilecoinGetAddress": {
4414
+ "fields": {
4415
+ "address_n": {
4416
+ "rule": "repeated",
4417
+ "type": "uint32",
4418
+ "id": 1,
4419
+ "options": {
4420
+ "packed": false
4421
+ }
4422
+ },
4423
+ "show_display": {
4424
+ "type": "bool",
4425
+ "id": 2
4426
+ }
4427
+ }
4428
+ },
4429
+ "FilecoinAddress": {
4430
+ "fields": {
4431
+ "address": {
4432
+ "type": "string",
4433
+ "id": 1
4434
+ }
4435
+ }
4436
+ },
4437
+ "FilecoinSignTx": {
4438
+ "fields": {
4439
+ "address_n": {
4440
+ "rule": "repeated",
4441
+ "type": "uint32",
4442
+ "id": 1,
4443
+ "options": {
4444
+ "packed": false
4445
+ }
4446
+ },
4447
+ "raw_tx": {
4448
+ "rule": "required",
4449
+ "type": "bytes",
4450
+ "id": 2
4451
+ }
4452
+ }
4453
+ },
4454
+ "FilecoinSignedTx": {
4455
+ "fields": {
4456
+ "signature": {
4457
+ "rule": "required",
4458
+ "type": "bytes",
4459
+ "id": 1
4460
+ }
4461
+ }
4462
+ },
4484
4463
  "BackupType": {
4485
4464
  "values": {
4486
4465
  "Bip39": 0,
@@ -5500,14 +5479,18 @@
5500
5479
  "type": "ResourceType",
5501
5480
  "id": 3
5502
5481
  },
5482
+ "nft_meta_data": {
5483
+ "type": "bytes",
5484
+ "id": 4
5485
+ },
5503
5486
  "zoom_data_length": {
5504
5487
  "rule": "required",
5505
5488
  "type": "uint32",
5506
5489
  "id": 5
5507
5490
  },
5508
- "nft_meta_data": {
5509
- "type": "bytes",
5510
- "id": 4
5491
+ "file_name_no_ext": {
5492
+ "type": "string",
5493
+ "id": 6
5511
5494
  }
5512
5495
  },
5513
5496
  "nested": {
@@ -7028,6 +7011,56 @@
7028
7011
  }
7029
7012
  }
7030
7013
  },
7014
+ "PolkadotGetAddress": {
7015
+ "fields": {
7016
+ "address_n": {
7017
+ "rule": "repeated",
7018
+ "type": "uint32",
7019
+ "id": 1,
7020
+ "options": {
7021
+ "packed": false
7022
+ }
7023
+ },
7024
+ "show_display": {
7025
+ "type": "bool",
7026
+ "id": 3
7027
+ }
7028
+ }
7029
+ },
7030
+ "PolkadotAddress": {
7031
+ "fields": {
7032
+ "address": {
7033
+ "type": "string",
7034
+ "id": 1
7035
+ }
7036
+ }
7037
+ },
7038
+ "PolkadotSignTx": {
7039
+ "fields": {
7040
+ "address_n": {
7041
+ "rule": "repeated",
7042
+ "type": "uint32",
7043
+ "id": 1,
7044
+ "options": {
7045
+ "packed": false
7046
+ }
7047
+ },
7048
+ "raw_tx": {
7049
+ "rule": "required",
7050
+ "type": "bytes",
7051
+ "id": 2
7052
+ }
7053
+ }
7054
+ },
7055
+ "PolkadotSignedTx": {
7056
+ "fields": {
7057
+ "signature": {
7058
+ "rule": "required",
7059
+ "type": "bytes",
7060
+ "id": 1
7061
+ }
7062
+ }
7063
+ },
7031
7064
  "RippleGetAddress": {
7032
7065
  "fields": {
7033
7066
  "address_n": {
@@ -8708,14 +8741,10 @@
8708
8741
  "MessageType_StellarManageBuyOfferOp": 222,
8709
8742
  "MessageType_StellarPathPaymentStrictSendOp": 223,
8710
8743
  "MessageType_StellarSignedTx": 230,
8711
- "MessageType_CardanoSignTx": 303,
8712
8744
  "MessageType_CardanoGetPublicKey": 305,
8713
8745
  "MessageType_CardanoPublicKey": 306,
8714
8746
  "MessageType_CardanoGetAddress": 307,
8715
8747
  "MessageType_CardanoAddress": 308,
8716
- "MessageType_CardanoSignedTx": 310,
8717
- "MessageType_CardanoSignedTxChunk": 311,
8718
- "MessageType_CardanoSignedTxChunkAck": 312,
8719
8748
  "MessageType_CardanoTxItemAck": 313,
8720
8749
  "MessageType_CardanoTxAuxiliaryDataSupplement": 314,
8721
8750
  "MessageType_CardanoTxWitnessRequest": 315,
@@ -8736,6 +8765,13 @@
8736
8765
  "MessageType_CardanoGetNativeScriptHash": 330,
8737
8766
  "MessageType_CardanoNativeScriptHash": 331,
8738
8767
  "MessageType_CardanoTxMint": 332,
8768
+ "MessageType_CardanoTxCollateralInput": 333,
8769
+ "MessageType_CardanoTxRequiredSigner": 334,
8770
+ "MessageType_CardanoTxInlineDatumChunk": 335,
8771
+ "MessageType_CardanoTxReferenceScriptChunk": 336,
8772
+ "MessageType_CardanoTxReferenceInput": 337,
8773
+ "MessageType_CardanoSignMessage": 350,
8774
+ "MessageType_CardanoMessageSignature": 351,
8739
8775
  "MessageType_RippleGetAddress": 400,
8740
8776
  "MessageType_RippleAddress": 401,
8741
8777
  "MessageType_RippleSignTx": 402,
@@ -8861,10 +8897,18 @@
8861
8897
  "MessageType_AlgorandAddress": 10901,
8862
8898
  "MessageType_AlgorandSignTx": 10902,
8863
8899
  "MessageType_AlgorandSignedTx": 10903,
8900
+ "MessageType_PolkadotGetAddress": 11000,
8901
+ "MessageType_PolkadotAddress": 11001,
8902
+ "MessageType_PolkadotSignTx": 11002,
8903
+ "MessageType_PolkadotSignedTx": 11003,
8864
8904
  "MessageType_SuiGetAddress": 11100,
8865
8905
  "MessageType_SuiAddress": 11101,
8866
8906
  "MessageType_SuiSignTx": 11102,
8867
8907
  "MessageType_SuiSignedTx": 11103,
8908
+ "MessageType_FilecoinGetAddress": 11200,
8909
+ "MessageType_FilecoinAddress": 11201,
8910
+ "MessageType_FilecoinSignTx": 11202,
8911
+ "MessageType_FilecoinSignedTx": 11203,
8868
8912
  "MessageType_DeviceBackToBoot": 903,
8869
8913
  "MessageType_DeviceInfoSettings": 10001,
8870
8914
  "MessageType_GetDeviceInfo": 10002,