@onekeyfe/hd-core 0.2.11 → 0.2.13
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/CardanoSignMessage.d.ts +14 -0
- package/dist/api/cardano/CardanoSignMessage.d.ts.map +1 -0
- 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 +1 -0
- package/dist/api/index.d.ts.map +1 -1
- package/dist/index.d.ts +14 -3
- package/dist/index.js +455 -268
- package/dist/inject.d.ts.map +1 -1
- package/dist/types/api/cardano.d.ts.map +1 -1
- package/dist/types/api/cardanoSignMessage.d.ts +16 -0
- package/dist/types/api/cardanoSignMessage.d.ts.map +1 -0
- package/dist/types/api/index.d.ts +2 -0
- package/dist/types/api/index.d.ts.map +1 -1
- package/dist/utils/homescreen.d.ts +231 -0
- package/dist/utils/homescreen.d.ts.map +1 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/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/CardanoSignMessage.ts +58 -0
- package/src/api/cardano/CardanoSignTransaction.ts +2 -7
- package/src/api/cardano/helper/auxiliaryData.ts +4 -0
- package/src/api/cardano/helper/cardanoInputs.ts +0 -2
- package/src/api/cardano/helper/cardanoOutputs.ts +0 -1
- package/src/api/cardano/helper/certificate.ts +0 -2
- package/src/api/cardano/helper/witnesses.ts +0 -2
- package/src/api/device/DeviceUploadResource.ts +3 -1
- package/src/api/index.ts +1 -0
- package/src/data/messages/messages.json +281 -368
- package/src/inject.ts +2 -0
- package/src/types/api/cardano.ts +0 -1
- package/src/types/api/cardanoSignMessage.ts +22 -0
- package/src/types/api/index.ts +2 -0
- package/src/utils/homescreen.ts +237 -0
- package/src/utils/index.ts +2 -0
|
@@ -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
|
-
"
|
|
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
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
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
|
-
}
|
|
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
|
|
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
|
|
2001
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
|
-
"
|
|
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
|
-
"
|
|
2275
|
-
"type": "
|
|
2351
|
+
"governance_registration_parameters": {
|
|
2352
|
+
"type": "CardanoGovernanceRegistrationParametersType",
|
|
2276
2353
|
"id": 1
|
|
2277
2354
|
},
|
|
2278
2355
|
"hash": {
|
|
@@ -2290,6 +2367,50 @@
|
|
|
2290
2367
|
}
|
|
2291
2368
|
}
|
|
2292
2369
|
},
|
|
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
|
+
},
|
|
2293
2414
|
"CardanoTxItemAck": {
|
|
2294
2415
|
"fields": {}
|
|
2295
2416
|
},
|
|
@@ -2304,7 +2425,7 @@
|
|
|
2304
2425
|
"type": "bytes",
|
|
2305
2426
|
"id": 2
|
|
2306
2427
|
},
|
|
2307
|
-
"
|
|
2428
|
+
"governance_signature": {
|
|
2308
2429
|
"type": "bytes",
|
|
2309
2430
|
"id": 3
|
|
2310
2431
|
}
|
|
@@ -2360,258 +2481,42 @@
|
|
|
2360
2481
|
"CardanoSignTxFinished": {
|
|
2361
2482
|
"fields": {}
|
|
2362
2483
|
},
|
|
2363
|
-
"
|
|
2364
|
-
"options": {
|
|
2365
|
-
"deprecated": true
|
|
2366
|
-
},
|
|
2484
|
+
"CardanoSignMessage": {
|
|
2367
2485
|
"fields": {
|
|
2368
|
-
"
|
|
2369
|
-
"rule": "repeated",
|
|
2370
|
-
"type": "CardanoTxInputType",
|
|
2371
|
-
"id": 1
|
|
2372
|
-
},
|
|
2373
|
-
"outputs": {
|
|
2486
|
+
"address_n": {
|
|
2374
2487
|
"rule": "repeated",
|
|
2375
|
-
"type": "CardanoTxOutputType",
|
|
2376
|
-
"id": 2
|
|
2377
|
-
},
|
|
2378
|
-
"protocol_magic": {
|
|
2379
|
-
"rule": "required",
|
|
2380
2488
|
"type": "uint32",
|
|
2381
|
-
"id":
|
|
2489
|
+
"id": 1,
|
|
2490
|
+
"options": {
|
|
2491
|
+
"packed": false
|
|
2492
|
+
}
|
|
2382
2493
|
},
|
|
2383
|
-
"
|
|
2494
|
+
"message": {
|
|
2384
2495
|
"rule": "required",
|
|
2385
|
-
"type": "
|
|
2386
|
-
"id":
|
|
2496
|
+
"type": "bytes",
|
|
2497
|
+
"id": 2
|
|
2387
2498
|
},
|
|
2388
|
-
"
|
|
2389
|
-
"
|
|
2390
|
-
"
|
|
2499
|
+
"derivation_type": {
|
|
2500
|
+
"rule": "required",
|
|
2501
|
+
"type": "CardanoDerivationType",
|
|
2502
|
+
"id": 3
|
|
2391
2503
|
},
|
|
2392
2504
|
"network_id": {
|
|
2393
2505
|
"rule": "required",
|
|
2394
2506
|
"type": "uint32",
|
|
2395
|
-
"id":
|
|
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
|
-
}
|
|
2507
|
+
"id": 4
|
|
2583
2508
|
}
|
|
2584
2509
|
}
|
|
2585
2510
|
},
|
|
2586
|
-
"
|
|
2587
|
-
"options": {
|
|
2588
|
-
"deprecated": true
|
|
2589
|
-
},
|
|
2511
|
+
"CardanoMessageSignature": {
|
|
2590
2512
|
"fields": {
|
|
2591
|
-
"
|
|
2592
|
-
"rule": "required",
|
|
2593
|
-
"type": "bytes",
|
|
2594
|
-
"id": 1
|
|
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": {
|
|
2513
|
+
"signature": {
|
|
2610
2514
|
"rule": "required",
|
|
2611
2515
|
"type": "bytes",
|
|
2612
2516
|
"id": 1
|
|
2613
2517
|
},
|
|
2614
|
-
"
|
|
2518
|
+
"key": {
|
|
2519
|
+
"rule": "required",
|
|
2615
2520
|
"type": "bytes",
|
|
2616
2521
|
"id": 2
|
|
2617
2522
|
}
|
|
@@ -5503,11 +5408,16 @@
|
|
|
5503
5408
|
"zoom_data_length": {
|
|
5504
5409
|
"rule": "required",
|
|
5505
5410
|
"type": "uint32",
|
|
5411
|
+
"id": 4
|
|
5412
|
+
},
|
|
5413
|
+
"file_name_no_ext": {
|
|
5414
|
+
"rule": "required",
|
|
5415
|
+
"type": "string",
|
|
5506
5416
|
"id": 5
|
|
5507
5417
|
},
|
|
5508
|
-
"
|
|
5418
|
+
"nft_metadata": {
|
|
5509
5419
|
"type": "bytes",
|
|
5510
|
-
"id":
|
|
5420
|
+
"id": 6
|
|
5511
5421
|
}
|
|
5512
5422
|
},
|
|
5513
5423
|
"nested": {
|
|
@@ -8708,14 +8618,10 @@
|
|
|
8708
8618
|
"MessageType_StellarManageBuyOfferOp": 222,
|
|
8709
8619
|
"MessageType_StellarPathPaymentStrictSendOp": 223,
|
|
8710
8620
|
"MessageType_StellarSignedTx": 230,
|
|
8711
|
-
"MessageType_CardanoSignTx": 303,
|
|
8712
8621
|
"MessageType_CardanoGetPublicKey": 305,
|
|
8713
8622
|
"MessageType_CardanoPublicKey": 306,
|
|
8714
8623
|
"MessageType_CardanoGetAddress": 307,
|
|
8715
8624
|
"MessageType_CardanoAddress": 308,
|
|
8716
|
-
"MessageType_CardanoSignedTx": 310,
|
|
8717
|
-
"MessageType_CardanoSignedTxChunk": 311,
|
|
8718
|
-
"MessageType_CardanoSignedTxChunkAck": 312,
|
|
8719
8625
|
"MessageType_CardanoTxItemAck": 313,
|
|
8720
8626
|
"MessageType_CardanoTxAuxiliaryDataSupplement": 314,
|
|
8721
8627
|
"MessageType_CardanoTxWitnessRequest": 315,
|
|
@@ -8736,6 +8642,13 @@
|
|
|
8736
8642
|
"MessageType_CardanoGetNativeScriptHash": 330,
|
|
8737
8643
|
"MessageType_CardanoNativeScriptHash": 331,
|
|
8738
8644
|
"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,
|
|
8739
8652
|
"MessageType_RippleGetAddress": 400,
|
|
8740
8653
|
"MessageType_RippleAddress": 401,
|
|
8741
8654
|
"MessageType_RippleSignTx": 402,
|