@onekeyfe/hd-core 0.2.13 → 0.2.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/dist/api/cardano/CardanoSignTransaction.d.ts.map +1 -1
- package/dist/api/cardano/helper/auxiliaryData.d.ts.map +1 -1
- package/dist/api/cardano/helper/cardanoInputs.d.ts.map +1 -1
- package/dist/api/cardano/helper/cardanoOutputs.d.ts.map +1 -1
- package/dist/api/cardano/helper/certificate.d.ts.map +1 -1
- package/dist/api/cardano/helper/witnesses.d.ts.map +1 -1
- package/dist/api/device/DeviceUploadResource.d.ts.map +1 -1
- package/dist/api/index.d.ts +0 -1
- package/dist/api/index.d.ts.map +1 -1
- package/dist/index.d.ts +2 -11
- package/dist/index.js +268 -220
- package/dist/inject.d.ts.map +1 -1
- package/dist/types/api/cardano.d.ts.map +1 -1
- package/dist/types/api/index.d.ts +0 -2
- package/dist/types/api/index.d.ts.map +1 -1
- package/dist/utils/patch.d.ts +1 -1
- package/dist/utils/patch.d.ts.map +1 -1
- package/package.json +4 -4
- package/src/api/cardano/CardanoGetAddress.ts +1 -1
- package/src/api/cardano/CardanoGetPublicKey.ts +1 -1
- package/src/api/cardano/CardanoSignTransaction.ts +7 -2
- package/src/api/cardano/helper/auxiliaryData.ts +0 -4
- package/src/api/cardano/helper/cardanoInputs.ts +2 -0
- package/src/api/cardano/helper/cardanoOutputs.ts +1 -0
- package/src/api/cardano/helper/certificate.ts +2 -0
- package/src/api/cardano/helper/witnesses.ts +2 -0
- package/src/api/device/DeviceUploadResource.ts +1 -3
- package/src/api/index.ts +0 -1
- package/src/data/messages/messages.json +368 -281
- package/src/inject.ts +0 -2
- package/src/types/api/cardano.ts +1 -0
- package/src/types/api/index.ts +0 -2
- package/dist/api/cardano/CardanoSignMessage.d.ts +0 -14
- package/dist/api/cardano/CardanoSignMessage.d.ts.map +0 -1
- package/dist/types/api/cardanoSignMessage.d.ts +0 -16
- package/dist/types/api/cardanoSignMessage.d.ts.map +0 -1
- package/src/api/cardano/CardanoSignMessage.ts +0 -58
- package/src/types/api/cardanoSignMessage.ts +0 -22
|
@@ -1655,12 +1655,6 @@
|
|
|
1655
1655
|
"POLICY_ID": 2
|
|
1656
1656
|
}
|
|
1657
1657
|
},
|
|
1658
|
-
"CardanoTxOutputSerializationFormat": {
|
|
1659
|
-
"values": {
|
|
1660
|
-
"ARRAY_LEGACY": 0,
|
|
1661
|
-
"MAP_BABBAGE": 1
|
|
1662
|
-
}
|
|
1663
|
-
},
|
|
1664
1658
|
"CardanoCertificateType": {
|
|
1665
1659
|
"values": {
|
|
1666
1660
|
"STAKE_REGISTRATION": 0,
|
|
@@ -1679,21 +1673,14 @@
|
|
|
1679
1673
|
"CardanoTxAuxiliaryDataSupplementType": {
|
|
1680
1674
|
"values": {
|
|
1681
1675
|
"NONE": 0,
|
|
1682
|
-
"
|
|
1683
|
-
}
|
|
1684
|
-
},
|
|
1685
|
-
"CardanoGovernanceRegistrationFormat": {
|
|
1686
|
-
"values": {
|
|
1687
|
-
"CIP15": 0,
|
|
1688
|
-
"CIP36": 1
|
|
1676
|
+
"CATALYST_REGISTRATION_SIGNATURE": 1
|
|
1689
1677
|
}
|
|
1690
1678
|
},
|
|
1691
1679
|
"CardanoTxSigningMode": {
|
|
1692
1680
|
"values": {
|
|
1693
1681
|
"ORDINARY_TRANSACTION": 0,
|
|
1694
1682
|
"POOL_REGISTRATION_AS_OWNER": 1,
|
|
1695
|
-
"MULTISIG_TRANSACTION": 2
|
|
1696
|
-
"PLUTUS_TRANSACTION": 3
|
|
1683
|
+
"MULTISIG_TRANSACTION": 2
|
|
1697
1684
|
}
|
|
1698
1685
|
},
|
|
1699
1686
|
"CardanoTxWitnessType": {
|
|
@@ -1905,113 +1892,113 @@
|
|
|
1905
1892
|
},
|
|
1906
1893
|
"CardanoSignTxInit": {
|
|
1907
1894
|
"fields": {
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
|
|
1988
|
-
|
|
1989
|
-
|
|
1990
|
-
|
|
1991
|
-
|
|
1992
|
-
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
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
|
+
}
|
|
2013
2001
|
}
|
|
2014
|
-
}
|
|
2015
2002
|
}
|
|
2016
2003
|
},
|
|
2017
2004
|
"CardanoTxInput": {
|
|
@@ -2047,31 +2034,6 @@
|
|
|
2047
2034
|
"rule": "required",
|
|
2048
2035
|
"type": "uint32",
|
|
2049
2036
|
"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
|
-
}
|
|
2075
2037
|
}
|
|
2076
2038
|
}
|
|
2077
2039
|
},
|
|
@@ -2106,24 +2068,6 @@
|
|
|
2106
2068
|
}
|
|
2107
2069
|
}
|
|
2108
2070
|
},
|
|
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
|
-
},
|
|
2127
2071
|
"CardanoPoolOwner": {
|
|
2128
2072
|
"fields": {
|
|
2129
2073
|
"staking_key_path": {
|
|
@@ -2216,6 +2160,22 @@
|
|
|
2216
2160
|
"type": "string",
|
|
2217
2161
|
"id": 7
|
|
2218
2162
|
},
|
|
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
|
+
},
|
|
2219
2179
|
"metadata": {
|
|
2220
2180
|
"type": "CardanoPoolMetadataType",
|
|
2221
2181
|
"id": 10
|
|
@@ -2258,10 +2218,6 @@
|
|
|
2258
2218
|
"script_hash": {
|
|
2259
2219
|
"type": "bytes",
|
|
2260
2220
|
"id": 5
|
|
2261
|
-
},
|
|
2262
|
-
"key_hash": {
|
|
2263
|
-
"type": "bytes",
|
|
2264
|
-
"id": 6
|
|
2265
2221
|
}
|
|
2266
2222
|
}
|
|
2267
2223
|
},
|
|
@@ -2283,33 +2239,16 @@
|
|
|
2283
2239
|
"script_hash": {
|
|
2284
2240
|
"type": "bytes",
|
|
2285
2241
|
"id": 3
|
|
2286
|
-
},
|
|
2287
|
-
"key_hash": {
|
|
2288
|
-
"type": "bytes",
|
|
2289
|
-
"id": 4
|
|
2290
2242
|
}
|
|
2291
2243
|
}
|
|
2292
2244
|
},
|
|
2293
|
-
"
|
|
2245
|
+
"CardanoCatalystRegistrationParametersType": {
|
|
2294
2246
|
"fields": {
|
|
2295
2247
|
"voting_public_key": {
|
|
2296
2248
|
"rule": "required",
|
|
2297
2249
|
"type": "bytes",
|
|
2298
2250
|
"id": 1
|
|
2299
2251
|
},
|
|
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
|
-
},
|
|
2313
2252
|
"staking_path": {
|
|
2314
2253
|
"rule": "repeated",
|
|
2315
2254
|
"type": "uint32",
|
|
@@ -2327,29 +2266,13 @@
|
|
|
2327
2266
|
"rule": "required",
|
|
2328
2267
|
"type": "uint64",
|
|
2329
2268
|
"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
|
|
2346
2269
|
}
|
|
2347
2270
|
}
|
|
2348
2271
|
},
|
|
2349
2272
|
"CardanoTxAuxiliaryData": {
|
|
2350
2273
|
"fields": {
|
|
2351
|
-
"
|
|
2352
|
-
"type": "
|
|
2274
|
+
"catalyst_registration_parameters": {
|
|
2275
|
+
"type": "CardanoCatalystRegistrationParametersType",
|
|
2353
2276
|
"id": 1
|
|
2354
2277
|
},
|
|
2355
2278
|
"hash": {
|
|
@@ -2367,50 +2290,6 @@
|
|
|
2367
2290
|
}
|
|
2368
2291
|
}
|
|
2369
2292
|
},
|
|
2370
|
-
"CardanoTxCollateralInput": {
|
|
2371
|
-
"fields": {
|
|
2372
|
-
"prev_hash": {
|
|
2373
|
-
"rule": "required",
|
|
2374
|
-
"type": "bytes",
|
|
2375
|
-
"id": 1
|
|
2376
|
-
},
|
|
2377
|
-
"prev_index": {
|
|
2378
|
-
"rule": "required",
|
|
2379
|
-
"type": "uint32",
|
|
2380
|
-
"id": 2
|
|
2381
|
-
}
|
|
2382
|
-
}
|
|
2383
|
-
},
|
|
2384
|
-
"CardanoTxRequiredSigner": {
|
|
2385
|
-
"fields": {
|
|
2386
|
-
"key_hash": {
|
|
2387
|
-
"type": "bytes",
|
|
2388
|
-
"id": 1
|
|
2389
|
-
},
|
|
2390
|
-
"key_path": {
|
|
2391
|
-
"rule": "repeated",
|
|
2392
|
-
"type": "uint32",
|
|
2393
|
-
"id": 2,
|
|
2394
|
-
"options": {
|
|
2395
|
-
"packed": false
|
|
2396
|
-
}
|
|
2397
|
-
}
|
|
2398
|
-
}
|
|
2399
|
-
},
|
|
2400
|
-
"CardanoTxReferenceInput": {
|
|
2401
|
-
"fields": {
|
|
2402
|
-
"prev_hash": {
|
|
2403
|
-
"rule": "required",
|
|
2404
|
-
"type": "bytes",
|
|
2405
|
-
"id": 1
|
|
2406
|
-
},
|
|
2407
|
-
"prev_index": {
|
|
2408
|
-
"rule": "required",
|
|
2409
|
-
"type": "uint32",
|
|
2410
|
-
"id": 2
|
|
2411
|
-
}
|
|
2412
|
-
}
|
|
2413
|
-
},
|
|
2414
2293
|
"CardanoTxItemAck": {
|
|
2415
2294
|
"fields": {}
|
|
2416
2295
|
},
|
|
@@ -2425,7 +2304,7 @@
|
|
|
2425
2304
|
"type": "bytes",
|
|
2426
2305
|
"id": 2
|
|
2427
2306
|
},
|
|
2428
|
-
"
|
|
2307
|
+
"catalyst_signature": {
|
|
2429
2308
|
"type": "bytes",
|
|
2430
2309
|
"id": 3
|
|
2431
2310
|
}
|
|
@@ -2481,42 +2360,258 @@
|
|
|
2481
2360
|
"CardanoSignTxFinished": {
|
|
2482
2361
|
"fields": {}
|
|
2483
2362
|
},
|
|
2484
|
-
"
|
|
2363
|
+
"CardanoSignTx": {
|
|
2364
|
+
"options": {
|
|
2365
|
+
"deprecated": true
|
|
2366
|
+
},
|
|
2485
2367
|
"fields": {
|
|
2486
|
-
"
|
|
2368
|
+
"inputs": {
|
|
2487
2369
|
"rule": "repeated",
|
|
2488
|
-
"type": "
|
|
2489
|
-
"id": 1
|
|
2490
|
-
"options": {
|
|
2491
|
-
"packed": false
|
|
2492
|
-
}
|
|
2370
|
+
"type": "CardanoTxInputType",
|
|
2371
|
+
"id": 1
|
|
2493
2372
|
},
|
|
2494
|
-
"
|
|
2495
|
-
"rule": "
|
|
2496
|
-
"type": "
|
|
2373
|
+
"outputs": {
|
|
2374
|
+
"rule": "repeated",
|
|
2375
|
+
"type": "CardanoTxOutputType",
|
|
2497
2376
|
"id": 2
|
|
2498
2377
|
},
|
|
2499
|
-
"
|
|
2378
|
+
"protocol_magic": {
|
|
2500
2379
|
"rule": "required",
|
|
2501
|
-
"type": "
|
|
2502
|
-
"id":
|
|
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
|
|
2503
2391
|
},
|
|
2504
2392
|
"network_id": {
|
|
2505
2393
|
"rule": "required",
|
|
2506
2394
|
"type": "uint32",
|
|
2507
|
-
"id":
|
|
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
|
+
}
|
|
2553
|
+
}
|
|
2554
|
+
},
|
|
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
|
+
}
|
|
2571
|
+
},
|
|
2572
|
+
"CardanoTxAuxiliaryDataType": {
|
|
2573
|
+
"fields": {
|
|
2574
|
+
"blob": {
|
|
2575
|
+
"type": "bytes",
|
|
2576
|
+
"id": 1
|
|
2577
|
+
},
|
|
2578
|
+
"catalyst_registration_parameters": {
|
|
2579
|
+
"type": "CardanoCatalystRegistrationParametersType",
|
|
2580
|
+
"id": 2
|
|
2581
|
+
}
|
|
2582
|
+
}
|
|
2508
2583
|
}
|
|
2509
2584
|
}
|
|
2510
2585
|
},
|
|
2511
|
-
"
|
|
2586
|
+
"CardanoSignedTxChunk": {
|
|
2587
|
+
"options": {
|
|
2588
|
+
"deprecated": true
|
|
2589
|
+
},
|
|
2512
2590
|
"fields": {
|
|
2513
|
-
"
|
|
2591
|
+
"signed_tx_chunk": {
|
|
2514
2592
|
"rule": "required",
|
|
2515
2593
|
"type": "bytes",
|
|
2516
2594
|
"id": 1
|
|
2517
|
-
}
|
|
2518
|
-
|
|
2595
|
+
}
|
|
2596
|
+
}
|
|
2597
|
+
},
|
|
2598
|
+
"CardanoSignedTxChunkAck": {
|
|
2599
|
+
"options": {
|
|
2600
|
+
"deprecated": true
|
|
2601
|
+
},
|
|
2602
|
+
"fields": {}
|
|
2603
|
+
},
|
|
2604
|
+
"CardanoSignedTx": {
|
|
2605
|
+
"options": {
|
|
2606
|
+
"deprecated": true
|
|
2607
|
+
},
|
|
2608
|
+
"fields": {
|
|
2609
|
+
"tx_hash": {
|
|
2519
2610
|
"rule": "required",
|
|
2611
|
+
"type": "bytes",
|
|
2612
|
+
"id": 1
|
|
2613
|
+
},
|
|
2614
|
+
"serialized_tx": {
|
|
2520
2615
|
"type": "bytes",
|
|
2521
2616
|
"id": 2
|
|
2522
2617
|
}
|
|
@@ -5408,16 +5503,11 @@
|
|
|
5408
5503
|
"zoom_data_length": {
|
|
5409
5504
|
"rule": "required",
|
|
5410
5505
|
"type": "uint32",
|
|
5411
|
-
"id": 4
|
|
5412
|
-
},
|
|
5413
|
-
"file_name_no_ext": {
|
|
5414
|
-
"rule": "required",
|
|
5415
|
-
"type": "string",
|
|
5416
5506
|
"id": 5
|
|
5417
5507
|
},
|
|
5418
|
-
"
|
|
5508
|
+
"nft_meta_data": {
|
|
5419
5509
|
"type": "bytes",
|
|
5420
|
-
"id":
|
|
5510
|
+
"id": 4
|
|
5421
5511
|
}
|
|
5422
5512
|
},
|
|
5423
5513
|
"nested": {
|
|
@@ -8618,10 +8708,14 @@
|
|
|
8618
8708
|
"MessageType_StellarManageBuyOfferOp": 222,
|
|
8619
8709
|
"MessageType_StellarPathPaymentStrictSendOp": 223,
|
|
8620
8710
|
"MessageType_StellarSignedTx": 230,
|
|
8711
|
+
"MessageType_CardanoSignTx": 303,
|
|
8621
8712
|
"MessageType_CardanoGetPublicKey": 305,
|
|
8622
8713
|
"MessageType_CardanoPublicKey": 306,
|
|
8623
8714
|
"MessageType_CardanoGetAddress": 307,
|
|
8624
8715
|
"MessageType_CardanoAddress": 308,
|
|
8716
|
+
"MessageType_CardanoSignedTx": 310,
|
|
8717
|
+
"MessageType_CardanoSignedTxChunk": 311,
|
|
8718
|
+
"MessageType_CardanoSignedTxChunkAck": 312,
|
|
8625
8719
|
"MessageType_CardanoTxItemAck": 313,
|
|
8626
8720
|
"MessageType_CardanoTxAuxiliaryDataSupplement": 314,
|
|
8627
8721
|
"MessageType_CardanoTxWitnessRequest": 315,
|
|
@@ -8642,13 +8736,6 @@
|
|
|
8642
8736
|
"MessageType_CardanoGetNativeScriptHash": 330,
|
|
8643
8737
|
"MessageType_CardanoNativeScriptHash": 331,
|
|
8644
8738
|
"MessageType_CardanoTxMint": 332,
|
|
8645
|
-
"MessageType_CardanoTxCollateralInput": 333,
|
|
8646
|
-
"MessageType_CardanoTxRequiredSigner": 334,
|
|
8647
|
-
"MessageType_CardanoTxInlineDatumChunk": 335,
|
|
8648
|
-
"MessageType_CardanoTxReferenceScriptChunk": 336,
|
|
8649
|
-
"MessageType_CardanoTxReferenceInput": 337,
|
|
8650
|
-
"MessageType_CardanoSignMessage": 350,
|
|
8651
|
-
"MessageType_CardanoMessageSignature": 351,
|
|
8652
8739
|
"MessageType_RippleGetAddress": 400,
|
|
8653
8740
|
"MessageType_RippleAddress": 401,
|
|
8654
8741
|
"MessageType_RippleSignTx": 402,
|