ripple-binary-codec 1.1.3-beta.1 → 1.1.4-beta.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.
- package/README.md +2 -107
- package/dist/binary.d.ts +6 -6
- package/dist/binary.js.map +1 -1
- package/dist/coretypes.d.ts +8 -8
- package/dist/coretypes.js.map +1 -1
- package/dist/enums/definitions.json +190 -4
- package/dist/enums/index.d.ts +6 -5
- package/dist/enums/index.js +2 -1
- package/dist/enums/index.js.map +1 -1
- package/dist/enums/utils-renumber.js +7 -7
- package/dist/enums/utils-renumber.js.map +1 -1
- package/dist/hash-prefixes.d.ts +1 -1
- package/dist/hash-prefixes.js.map +1 -1
- package/dist/hashes.d.ts +3 -3
- package/dist/hashes.js +3 -3
- package/dist/hashes.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +13 -13
- package/dist/index.js.map +1 -1
- package/dist/ledger-hashes.d.ts +3 -3
- package/dist/ledger-hashes.js +4 -4
- package/dist/ledger-hashes.js.map +1 -1
- package/dist/quality.d.ts +2 -2
- package/dist/quality.js +2 -2
- package/dist/quality.js.map +1 -1
- package/dist/serdes/binary-parser.d.ts +3 -3
- package/dist/serdes/binary-parser.js +8 -8
- package/dist/serdes/binary-parser.js.map +1 -1
- package/dist/serdes/binary-serializer.d.ts +5 -5
- package/dist/serdes/binary-serializer.js +11 -8
- package/dist/serdes/binary-serializer.js.map +1 -1
- package/dist/shamap.d.ts +3 -3
- package/dist/shamap.js +2 -2
- package/dist/shamap.js.map +1 -1
- package/dist/types/account-id.d.ts +2 -2
- package/dist/types/account-id.js +5 -5
- package/dist/types/account-id.js.map +1 -1
- package/dist/types/amount.d.ts +3 -3
- package/dist/types/amount.js +15 -15
- package/dist/types/amount.js.map +1 -1
- package/dist/types/blob.d.ts +3 -3
- package/dist/types/blob.js +3 -3
- package/dist/types/blob.js.map +1 -1
- package/dist/types/currency.d.ts +5 -12
- package/dist/types/currency.js +28 -29
- package/dist/types/currency.js.map +1 -1
- package/dist/types/hash-128.d.ts +2 -2
- package/dist/types/hash-128.js.map +1 -1
- package/dist/types/hash-160.d.ts +2 -2
- package/dist/types/hash-160.js.map +1 -1
- package/dist/types/hash-256.d.ts +2 -2
- package/dist/types/hash-256.js.map +1 -1
- package/dist/types/hash.d.ts +3 -3
- package/dist/types/hash.js +3 -3
- package/dist/types/hash.js.map +1 -1
- package/dist/types/index.d.ts +15 -15
- package/dist/types/index.js +3 -3
- package/dist/types/index.js.map +1 -1
- package/dist/types/path-set.d.ts +2 -2
- package/dist/types/path-set.js +2 -2
- package/dist/types/path-set.js.map +1 -1
- package/dist/types/serialized-type.d.ts +4 -4
- package/dist/types/serialized-type.js +3 -3
- package/dist/types/serialized-type.js.map +1 -1
- package/dist/types/st-array.d.ts +2 -2
- package/dist/types/st-array.js +3 -3
- package/dist/types/st-array.js.map +1 -1
- package/dist/types/st-object.d.ts +2 -2
- package/dist/types/st-object.js +16 -11
- package/dist/types/st-object.js.map +1 -1
- package/dist/types/uint-16.d.ts +3 -3
- package/dist/types/uint-16.js +2 -2
- package/dist/types/uint-16.js.map +1 -1
- package/dist/types/uint-32.d.ts +3 -3
- package/dist/types/uint-32.js +3 -3
- package/dist/types/uint-32.js.map +1 -1
- package/dist/types/uint-64.d.ts +4 -4
- package/dist/types/uint-64.js +7 -7
- package/dist/types/uint-64.js.map +1 -1
- package/dist/types/uint-8.d.ts +3 -3
- package/dist/types/uint-8.js +2 -2
- package/dist/types/uint-8.js.map +1 -1
- package/dist/types/uint.d.ts +3 -3
- package/dist/types/uint.js +1 -1
- package/dist/types/uint.js.map +1 -1
- package/dist/types/vector-256.d.ts +3 -3
- package/dist/types/vector-256.js +4 -4
- package/dist/types/vector-256.js.map +1 -1
- package/package.json +3 -3
- package/test/amount.test.js +29 -29
- package/test/binary-json.test.js +24 -26
- package/test/binary-parser.test.js +226 -228
- package/test/binary-serializer.test.js +194 -169
- package/test/fixtures/data-driven-tests.json +2 -790
- package/test/fixtures/negative-unl.json +4 -4
- package/test/fixtures/nf-token.json +547 -0
- package/test/hash.test.js +79 -75
- package/test/ledger.test.js +19 -19
- package/test/lower-case-hex.test.js +29 -28
- package/test/pseudo-transaction.test.js +26 -26
- package/test/quality.test.js +13 -13
- package/test/shamap.test.js +54 -54
- package/test/signing-data-encoding.test.js +79 -79
- package/test/tx-encode-decode.test.js +63 -63
- package/test/types.test.js +23 -23
- package/test/uint.test.js +107 -107
- package/test/x-address.test.js +106 -106
- package/HISTORY.md +0 -86
|
@@ -611,7 +611,7 @@
|
|
|
611
611
|
},
|
|
612
612
|
{
|
|
613
613
|
"type_name": "Blob",
|
|
614
|
-
"name": "
|
|
614
|
+
"name": "URI",
|
|
615
615
|
"nth_of_type": 5,
|
|
616
616
|
"type": 7,
|
|
617
617
|
"expected_hex": "75"
|
|
@@ -2928,794 +2928,6 @@
|
|
|
2928
2928
|
"type": "Amount",
|
|
2929
2929
|
"error": "10000000000000000000 absolute XRP is bigger than max native value 100000000000.0",
|
|
2930
2930
|
"is_negative": true
|
|
2931
|
-
},
|
|
2932
|
-
{
|
|
2933
|
-
"test_json": 0,
|
|
2934
|
-
"canonical_json": "Payment",
|
|
2935
|
-
"type_id": 1,
|
|
2936
|
-
"type_specialisation_field": "TransactionType",
|
|
2937
|
-
"type": "UInt16",
|
|
2938
|
-
"expected_hex": "0000"
|
|
2939
|
-
},
|
|
2940
|
-
{
|
|
2941
|
-
"test_json": "EscrowCreate",
|
|
2942
|
-
"type_id": 1,
|
|
2943
|
-
"type_specialisation_field": "TransactionType",
|
|
2944
|
-
"type": "UInt16",
|
|
2945
|
-
"expected_hex": "0001"
|
|
2946
|
-
},
|
|
2947
|
-
{
|
|
2948
|
-
"test_json": 1,
|
|
2949
|
-
"canonical_json": "EscrowCreate",
|
|
2950
|
-
"type_id": 1,
|
|
2951
|
-
"type_specialisation_field": "TransactionType",
|
|
2952
|
-
"type": "UInt16",
|
|
2953
|
-
"expected_hex": "0001"
|
|
2954
|
-
},
|
|
2955
|
-
{
|
|
2956
|
-
"test_json": "EscrowFinish",
|
|
2957
|
-
"type_id": 1,
|
|
2958
|
-
"type_specialisation_field": "TransactionType",
|
|
2959
|
-
"type": "UInt16",
|
|
2960
|
-
"expected_hex": "0002"
|
|
2961
|
-
},
|
|
2962
|
-
{
|
|
2963
|
-
"test_json": 2,
|
|
2964
|
-
"canonical_json": "EscrowFinish",
|
|
2965
|
-
"type_id": 1,
|
|
2966
|
-
"type_specialisation_field": "TransactionType",
|
|
2967
|
-
"type": "UInt16",
|
|
2968
|
-
"expected_hex": "0002"
|
|
2969
|
-
},
|
|
2970
|
-
{
|
|
2971
|
-
"test_json": "AccountSet",
|
|
2972
|
-
"type_id": 1,
|
|
2973
|
-
"type_specialisation_field": "TransactionType",
|
|
2974
|
-
"type": "UInt16",
|
|
2975
|
-
"expected_hex": "0003"
|
|
2976
|
-
},
|
|
2977
|
-
{
|
|
2978
|
-
"test_json": 3,
|
|
2979
|
-
"canonical_json": "AccountSet",
|
|
2980
|
-
"type_id": 1,
|
|
2981
|
-
"type_specialisation_field": "TransactionType",
|
|
2982
|
-
"type": "UInt16",
|
|
2983
|
-
"expected_hex": "0003"
|
|
2984
|
-
},
|
|
2985
|
-
{
|
|
2986
|
-
"test_json": "EscrowCancel",
|
|
2987
|
-
"type_id": 1,
|
|
2988
|
-
"type_specialisation_field": "TransactionType",
|
|
2989
|
-
"type": "UInt16",
|
|
2990
|
-
"expected_hex": "0004"
|
|
2991
|
-
},
|
|
2992
|
-
{
|
|
2993
|
-
"test_json": 4,
|
|
2994
|
-
"canonical_json": "EscrowCancel",
|
|
2995
|
-
"type_id": 1,
|
|
2996
|
-
"type_specialisation_field": "TransactionType",
|
|
2997
|
-
"type": "UInt16",
|
|
2998
|
-
"expected_hex": "0004"
|
|
2999
|
-
},
|
|
3000
|
-
{
|
|
3001
|
-
"test_json": "SetRegularKey",
|
|
3002
|
-
"type_id": 1,
|
|
3003
|
-
"type_specialisation_field": "TransactionType",
|
|
3004
|
-
"type": "UInt16",
|
|
3005
|
-
"expected_hex": "0005"
|
|
3006
|
-
},
|
|
3007
|
-
{
|
|
3008
|
-
"test_json": 5,
|
|
3009
|
-
"canonical_json": "SetRegularKey",
|
|
3010
|
-
"type_id": 1,
|
|
3011
|
-
"type_specialisation_field": "TransactionType",
|
|
3012
|
-
"type": "UInt16",
|
|
3013
|
-
"expected_hex": "0005"
|
|
3014
|
-
},
|
|
3015
|
-
{
|
|
3016
|
-
"test_json": "NickNameSet",
|
|
3017
|
-
"type_id": 1,
|
|
3018
|
-
"type_specialisation_field": "TransactionType",
|
|
3019
|
-
"type": "UInt16",
|
|
3020
|
-
"expected_hex": "0006"
|
|
3021
|
-
},
|
|
3022
|
-
{
|
|
3023
|
-
"test_json": 6,
|
|
3024
|
-
"canonical_json": "NickNameSet",
|
|
3025
|
-
"type_id": 1,
|
|
3026
|
-
"type_specialisation_field": "TransactionType",
|
|
3027
|
-
"type": "UInt16",
|
|
3028
|
-
"expected_hex": "0006"
|
|
3029
|
-
},
|
|
3030
|
-
{
|
|
3031
|
-
"test_json": "OfferCreate",
|
|
3032
|
-
"type_id": 1,
|
|
3033
|
-
"type_specialisation_field": "TransactionType",
|
|
3034
|
-
"type": "UInt16",
|
|
3035
|
-
"expected_hex": "0007"
|
|
3036
|
-
},
|
|
3037
|
-
{
|
|
3038
|
-
"test_json": 7,
|
|
3039
|
-
"canonical_json": "OfferCreate",
|
|
3040
|
-
"type_id": 1,
|
|
3041
|
-
"type_specialisation_field": "TransactionType",
|
|
3042
|
-
"type": "UInt16",
|
|
3043
|
-
"expected_hex": "0007"
|
|
3044
|
-
},
|
|
3045
|
-
{
|
|
3046
|
-
"test_json": "OfferCancel",
|
|
3047
|
-
"type_id": 1,
|
|
3048
|
-
"type_specialisation_field": "TransactionType",
|
|
3049
|
-
"type": "UInt16",
|
|
3050
|
-
"expected_hex": "0008"
|
|
3051
|
-
},
|
|
3052
|
-
{
|
|
3053
|
-
"test_json": 8,
|
|
3054
|
-
"canonical_json": "OfferCancel",
|
|
3055
|
-
"type_id": 1,
|
|
3056
|
-
"type_specialisation_field": "TransactionType",
|
|
3057
|
-
"type": "UInt16",
|
|
3058
|
-
"expected_hex": "0008"
|
|
3059
|
-
},
|
|
3060
|
-
{
|
|
3061
|
-
"test_json": "Contract",
|
|
3062
|
-
"type_id": 1,
|
|
3063
|
-
"type_specialisation_field": "TransactionType",
|
|
3064
|
-
"type": "UInt16",
|
|
3065
|
-
"expected_hex": "0009"
|
|
3066
|
-
},
|
|
3067
|
-
{
|
|
3068
|
-
"test_json": 9,
|
|
3069
|
-
"canonical_json": "Contract",
|
|
3070
|
-
"type_id": 1,
|
|
3071
|
-
"type_specialisation_field": "TransactionType",
|
|
3072
|
-
"type": "UInt16",
|
|
3073
|
-
"expected_hex": "0009"
|
|
3074
|
-
},
|
|
3075
|
-
{
|
|
3076
|
-
"test_json": "TicketCreate",
|
|
3077
|
-
"type_id": 1,
|
|
3078
|
-
"type_specialisation_field": "TransactionType",
|
|
3079
|
-
"type": "UInt16",
|
|
3080
|
-
"expected_hex": "000A"
|
|
3081
|
-
},
|
|
3082
|
-
{
|
|
3083
|
-
"test_json": 10,
|
|
3084
|
-
"canonical_json": "TicketCreate",
|
|
3085
|
-
"type_id": 1,
|
|
3086
|
-
"type_specialisation_field": "TransactionType",
|
|
3087
|
-
"type": "UInt16",
|
|
3088
|
-
"expected_hex": "000A"
|
|
3089
|
-
},
|
|
3090
|
-
{
|
|
3091
|
-
"test_json": "TicketCancel",
|
|
3092
|
-
"type_id": 1,
|
|
3093
|
-
"type_specialisation_field": "TransactionType",
|
|
3094
|
-
"type": "UInt16",
|
|
3095
|
-
"expected_hex": "000B"
|
|
3096
|
-
},
|
|
3097
|
-
{
|
|
3098
|
-
"test_json": 11,
|
|
3099
|
-
"canonical_json": "TicketCancel",
|
|
3100
|
-
"type_id": 1,
|
|
3101
|
-
"type_specialisation_field": "TransactionType",
|
|
3102
|
-
"type": "UInt16",
|
|
3103
|
-
"expected_hex": "000B"
|
|
3104
|
-
},
|
|
3105
|
-
{
|
|
3106
|
-
"test_json": "TrustSet",
|
|
3107
|
-
"type_id": 1,
|
|
3108
|
-
"type_specialisation_field": "TransactionType",
|
|
3109
|
-
"type": "UInt16",
|
|
3110
|
-
"expected_hex": "0014"
|
|
3111
|
-
},
|
|
3112
|
-
{
|
|
3113
|
-
"test_json": 20,
|
|
3114
|
-
"canonical_json": "TrustSet",
|
|
3115
|
-
"type_id": 1,
|
|
3116
|
-
"type_specialisation_field": "TransactionType",
|
|
3117
|
-
"type": "UInt16",
|
|
3118
|
-
"expected_hex": "0014"
|
|
3119
|
-
},
|
|
3120
|
-
{
|
|
3121
|
-
"test_json": "EnableAmendment",
|
|
3122
|
-
"type_id": 1,
|
|
3123
|
-
"type_specialisation_field": "TransactionType",
|
|
3124
|
-
"type": "UInt16",
|
|
3125
|
-
"expected_hex": "0064"
|
|
3126
|
-
},
|
|
3127
|
-
{
|
|
3128
|
-
"test_json": 100,
|
|
3129
|
-
"canonical_json": "EnableAmendment",
|
|
3130
|
-
"type_id": 1,
|
|
3131
|
-
"type_specialisation_field": "TransactionType",
|
|
3132
|
-
"type": "UInt16",
|
|
3133
|
-
"expected_hex": "0064"
|
|
3134
|
-
},
|
|
3135
|
-
{
|
|
3136
|
-
"test_json": "SetFee",
|
|
3137
|
-
"type_id": 1,
|
|
3138
|
-
"type_specialisation_field": "TransactionType",
|
|
3139
|
-
"type": "UInt16",
|
|
3140
|
-
"expected_hex": "0065"
|
|
3141
|
-
},
|
|
3142
|
-
{
|
|
3143
|
-
"test_json": 101,
|
|
3144
|
-
"canonical_json": "SetFee",
|
|
3145
|
-
"type_id": 1,
|
|
3146
|
-
"type_specialisation_field": "TransactionType",
|
|
3147
|
-
"type": "UInt16",
|
|
3148
|
-
"expected_hex": "0065"
|
|
3149
|
-
},
|
|
3150
|
-
{
|
|
3151
|
-
"test_json": "AccountRoot",
|
|
3152
|
-
"type_id": 1,
|
|
3153
|
-
"type_specialisation_field": "LedgerEntryType",
|
|
3154
|
-
"type": "UInt16",
|
|
3155
|
-
"expected_hex": "0061"
|
|
3156
|
-
},
|
|
3157
|
-
{
|
|
3158
|
-
"test_json": 97,
|
|
3159
|
-
"canonical_json": "AccountRoot",
|
|
3160
|
-
"type_id": 1,
|
|
3161
|
-
"type_specialisation_field": "LedgerEntryType",
|
|
3162
|
-
"type": "UInt16",
|
|
3163
|
-
"expected_hex": "0061"
|
|
3164
|
-
},
|
|
3165
|
-
{
|
|
3166
|
-
"test_json": "DirectoryNode",
|
|
3167
|
-
"type_id": 1,
|
|
3168
|
-
"type_specialisation_field": "LedgerEntryType",
|
|
3169
|
-
"type": "UInt16",
|
|
3170
|
-
"expected_hex": "0064"
|
|
3171
|
-
},
|
|
3172
|
-
{
|
|
3173
|
-
"test_json": 100,
|
|
3174
|
-
"canonical_json": "DirectoryNode",
|
|
3175
|
-
"type_id": 1,
|
|
3176
|
-
"type_specialisation_field": "LedgerEntryType",
|
|
3177
|
-
"type": "UInt16",
|
|
3178
|
-
"expected_hex": "0064"
|
|
3179
|
-
},
|
|
3180
|
-
{
|
|
3181
|
-
"test_json": "GeneratorMap",
|
|
3182
|
-
"type_id": 1,
|
|
3183
|
-
"type_specialisation_field": "LedgerEntryType",
|
|
3184
|
-
"type": "UInt16",
|
|
3185
|
-
"expected_hex": "0067"
|
|
3186
|
-
},
|
|
3187
|
-
{
|
|
3188
|
-
"test_json": 103,
|
|
3189
|
-
"canonical_json": "GeneratorMap",
|
|
3190
|
-
"type_id": 1,
|
|
3191
|
-
"type_specialisation_field": "LedgerEntryType",
|
|
3192
|
-
"type": "UInt16",
|
|
3193
|
-
"expected_hex": "0067"
|
|
3194
|
-
},
|
|
3195
|
-
{
|
|
3196
|
-
"test_json": "RippleState",
|
|
3197
|
-
"type_id": 1,
|
|
3198
|
-
"type_specialisation_field": "LedgerEntryType",
|
|
3199
|
-
"type": "UInt16",
|
|
3200
|
-
"expected_hex": "0072"
|
|
3201
|
-
},
|
|
3202
|
-
{
|
|
3203
|
-
"test_json": 114,
|
|
3204
|
-
"canonical_json": "RippleState",
|
|
3205
|
-
"type_id": 1,
|
|
3206
|
-
"type_specialisation_field": "LedgerEntryType",
|
|
3207
|
-
"type": "UInt16",
|
|
3208
|
-
"expected_hex": "0072"
|
|
3209
|
-
},
|
|
3210
|
-
{
|
|
3211
|
-
"test_json": "Offer",
|
|
3212
|
-
"type_id": 1,
|
|
3213
|
-
"type_specialisation_field": "LedgerEntryType",
|
|
3214
|
-
"type": "UInt16",
|
|
3215
|
-
"expected_hex": "006F"
|
|
3216
|
-
},
|
|
3217
|
-
{
|
|
3218
|
-
"test_json": 111,
|
|
3219
|
-
"canonical_json": "Offer",
|
|
3220
|
-
"type_id": 1,
|
|
3221
|
-
"type_specialisation_field": "LedgerEntryType",
|
|
3222
|
-
"type": "UInt16",
|
|
3223
|
-
"expected_hex": "006F"
|
|
3224
|
-
},
|
|
3225
|
-
{
|
|
3226
|
-
"test_json": "Contract",
|
|
3227
|
-
"type_id": 1,
|
|
3228
|
-
"type_specialisation_field": "LedgerEntryType",
|
|
3229
|
-
"type": "UInt16",
|
|
3230
|
-
"expected_hex": "0063"
|
|
3231
|
-
},
|
|
3232
|
-
{
|
|
3233
|
-
"test_json": 99,
|
|
3234
|
-
"canonical_json": "Contract",
|
|
3235
|
-
"type_id": 1,
|
|
3236
|
-
"type_specialisation_field": "LedgerEntryType",
|
|
3237
|
-
"type": "UInt16",
|
|
3238
|
-
"expected_hex": "0063"
|
|
3239
|
-
},
|
|
3240
|
-
{
|
|
3241
|
-
"test_json": "LedgerHashes",
|
|
3242
|
-
"type_id": 1,
|
|
3243
|
-
"type_specialisation_field": "LedgerEntryType",
|
|
3244
|
-
"type": "UInt16",
|
|
3245
|
-
"expected_hex": "0068"
|
|
3246
|
-
},
|
|
3247
|
-
{
|
|
3248
|
-
"test_json": 104,
|
|
3249
|
-
"canonical_json": "LedgerHashes",
|
|
3250
|
-
"type_id": 1,
|
|
3251
|
-
"type_specialisation_field": "LedgerEntryType",
|
|
3252
|
-
"type": "UInt16",
|
|
3253
|
-
"expected_hex": "0068"
|
|
3254
|
-
},
|
|
3255
|
-
{
|
|
3256
|
-
"test_json": "EnabledAmendments",
|
|
3257
|
-
"type_id": 1,
|
|
3258
|
-
"type_specialisation_field": "LedgerEntryType",
|
|
3259
|
-
"type": "UInt16",
|
|
3260
|
-
"expected_hex": "0066"
|
|
3261
|
-
},
|
|
3262
|
-
{
|
|
3263
|
-
"test_json": 102,
|
|
3264
|
-
"canonical_json": "EnabledAmendments",
|
|
3265
|
-
"type_id": 1,
|
|
3266
|
-
"type_specialisation_field": "LedgerEntryType",
|
|
3267
|
-
"type": "UInt16",
|
|
3268
|
-
"expected_hex": "0066"
|
|
3269
|
-
},
|
|
3270
|
-
{
|
|
3271
|
-
"test_json": "FeeSettings",
|
|
3272
|
-
"type_id": 1,
|
|
3273
|
-
"type_specialisation_field": "LedgerEntryType",
|
|
3274
|
-
"type": "UInt16",
|
|
3275
|
-
"expected_hex": "0073"
|
|
3276
|
-
},
|
|
3277
|
-
{
|
|
3278
|
-
"test_json": 115,
|
|
3279
|
-
"canonical_json": "FeeSettings",
|
|
3280
|
-
"type_id": 1,
|
|
3281
|
-
"type_specialisation_field": "LedgerEntryType",
|
|
3282
|
-
"type": "UInt16",
|
|
3283
|
-
"expected_hex": "0073"
|
|
3284
|
-
},
|
|
3285
|
-
{
|
|
3286
|
-
"test_json": "Ticket",
|
|
3287
|
-
"type_id": 1,
|
|
3288
|
-
"type_specialisation_field": "LedgerEntryType",
|
|
3289
|
-
"type": "UInt16",
|
|
3290
|
-
"expected_hex": "0054"
|
|
3291
|
-
},
|
|
3292
|
-
{
|
|
3293
|
-
"test_json": 84,
|
|
3294
|
-
"canonical_json": "Ticket",
|
|
3295
|
-
"type_id": 1,
|
|
3296
|
-
"type_specialisation_field": "LedgerEntryType",
|
|
3297
|
-
"type": "UInt16",
|
|
3298
|
-
"expected_hex": "0054"
|
|
3299
|
-
},
|
|
3300
|
-
{
|
|
3301
|
-
"test_json": "tesSUCCESS",
|
|
3302
|
-
"type_id": 16,
|
|
3303
|
-
"type_specialisation_field": "TransactionResult",
|
|
3304
|
-
"type": "UInt8",
|
|
3305
|
-
"expected_hex": "00"
|
|
3306
|
-
},
|
|
3307
|
-
{
|
|
3308
|
-
"test_json": 0,
|
|
3309
|
-
"canonical_json": "tesSUCCESS",
|
|
3310
|
-
"type_id": 16,
|
|
3311
|
-
"type_specialisation_field": "TransactionResult",
|
|
3312
|
-
"type": "UInt8",
|
|
3313
|
-
"expected_hex": "00"
|
|
3314
|
-
},
|
|
3315
|
-
{
|
|
3316
|
-
"test_json": "tecCLAIM",
|
|
3317
|
-
"type_id": 16,
|
|
3318
|
-
"type_specialisation_field": "TransactionResult",
|
|
3319
|
-
"type": "UInt8",
|
|
3320
|
-
"expected_hex": "64"
|
|
3321
|
-
},
|
|
3322
|
-
{
|
|
3323
|
-
"test_json": 100,
|
|
3324
|
-
"canonical_json": "tecCLAIM",
|
|
3325
|
-
"type_id": 16,
|
|
3326
|
-
"type_specialisation_field": "TransactionResult",
|
|
3327
|
-
"type": "UInt8",
|
|
3328
|
-
"expected_hex": "64"
|
|
3329
|
-
},
|
|
3330
|
-
{
|
|
3331
|
-
"test_json": "tecPATH_PARTIAL",
|
|
3332
|
-
"type_id": 16,
|
|
3333
|
-
"type_specialisation_field": "TransactionResult",
|
|
3334
|
-
"type": "UInt8",
|
|
3335
|
-
"expected_hex": "65"
|
|
3336
|
-
},
|
|
3337
|
-
{
|
|
3338
|
-
"test_json": 101,
|
|
3339
|
-
"canonical_json": "tecPATH_PARTIAL",
|
|
3340
|
-
"type_id": 16,
|
|
3341
|
-
"type_specialisation_field": "TransactionResult",
|
|
3342
|
-
"type": "UInt8",
|
|
3343
|
-
"expected_hex": "65"
|
|
3344
|
-
},
|
|
3345
|
-
{
|
|
3346
|
-
"test_json": "tecUNFUNDED_ADD",
|
|
3347
|
-
"type_id": 16,
|
|
3348
|
-
"type_specialisation_field": "TransactionResult",
|
|
3349
|
-
"type": "UInt8",
|
|
3350
|
-
"expected_hex": "66"
|
|
3351
|
-
},
|
|
3352
|
-
{
|
|
3353
|
-
"test_json": 102,
|
|
3354
|
-
"canonical_json": "tecUNFUNDED_ADD",
|
|
3355
|
-
"type_id": 16,
|
|
3356
|
-
"type_specialisation_field": "TransactionResult",
|
|
3357
|
-
"type": "UInt8",
|
|
3358
|
-
"expected_hex": "66"
|
|
3359
|
-
},
|
|
3360
|
-
{
|
|
3361
|
-
"test_json": "tecUNFUNDED_OFFER",
|
|
3362
|
-
"type_id": 16,
|
|
3363
|
-
"type_specialisation_field": "TransactionResult",
|
|
3364
|
-
"type": "UInt8",
|
|
3365
|
-
"expected_hex": "67"
|
|
3366
|
-
},
|
|
3367
|
-
{
|
|
3368
|
-
"test_json": 103,
|
|
3369
|
-
"canonical_json": "tecUNFUNDED_OFFER",
|
|
3370
|
-
"type_id": 16,
|
|
3371
|
-
"type_specialisation_field": "TransactionResult",
|
|
3372
|
-
"type": "UInt8",
|
|
3373
|
-
"expected_hex": "67"
|
|
3374
|
-
},
|
|
3375
|
-
{
|
|
3376
|
-
"test_json": "tecUNFUNDED_PAYMENT",
|
|
3377
|
-
"type_id": 16,
|
|
3378
|
-
"type_specialisation_field": "TransactionResult",
|
|
3379
|
-
"type": "UInt8",
|
|
3380
|
-
"expected_hex": "68"
|
|
3381
|
-
},
|
|
3382
|
-
{
|
|
3383
|
-
"test_json": 104,
|
|
3384
|
-
"canonical_json": "tecUNFUNDED_PAYMENT",
|
|
3385
|
-
"type_id": 16,
|
|
3386
|
-
"type_specialisation_field": "TransactionResult",
|
|
3387
|
-
"type": "UInt8",
|
|
3388
|
-
"expected_hex": "68"
|
|
3389
|
-
},
|
|
3390
|
-
{
|
|
3391
|
-
"test_json": "tecFAILED_PROCESSING",
|
|
3392
|
-
"type_id": 16,
|
|
3393
|
-
"type_specialisation_field": "TransactionResult",
|
|
3394
|
-
"type": "UInt8",
|
|
3395
|
-
"expected_hex": "69"
|
|
3396
|
-
},
|
|
3397
|
-
{
|
|
3398
|
-
"test_json": 105,
|
|
3399
|
-
"canonical_json": "tecFAILED_PROCESSING",
|
|
3400
|
-
"type_id": 16,
|
|
3401
|
-
"type_specialisation_field": "TransactionResult",
|
|
3402
|
-
"type": "UInt8",
|
|
3403
|
-
"expected_hex": "69"
|
|
3404
|
-
},
|
|
3405
|
-
{
|
|
3406
|
-
"test_json": "tecDIR_FULL",
|
|
3407
|
-
"type_id": 16,
|
|
3408
|
-
"type_specialisation_field": "TransactionResult",
|
|
3409
|
-
"type": "UInt8",
|
|
3410
|
-
"expected_hex": "79"
|
|
3411
|
-
},
|
|
3412
|
-
{
|
|
3413
|
-
"test_json": 121,
|
|
3414
|
-
"canonical_json": "tecDIR_FULL",
|
|
3415
|
-
"type_id": 16,
|
|
3416
|
-
"type_specialisation_field": "TransactionResult",
|
|
3417
|
-
"type": "UInt8",
|
|
3418
|
-
"expected_hex": "79"
|
|
3419
|
-
},
|
|
3420
|
-
{
|
|
3421
|
-
"test_json": "tecINSUF_RESERVE_LINE",
|
|
3422
|
-
"type_id": 16,
|
|
3423
|
-
"type_specialisation_field": "TransactionResult",
|
|
3424
|
-
"type": "UInt8",
|
|
3425
|
-
"expected_hex": "7A"
|
|
3426
|
-
},
|
|
3427
|
-
{
|
|
3428
|
-
"test_json": 122,
|
|
3429
|
-
"canonical_json": "tecINSUF_RESERVE_LINE",
|
|
3430
|
-
"type_id": 16,
|
|
3431
|
-
"type_specialisation_field": "TransactionResult",
|
|
3432
|
-
"type": "UInt8",
|
|
3433
|
-
"expected_hex": "7A"
|
|
3434
|
-
},
|
|
3435
|
-
{
|
|
3436
|
-
"test_json": "tecINSUF_RESERVE_OFFER",
|
|
3437
|
-
"type_id": 16,
|
|
3438
|
-
"type_specialisation_field": "TransactionResult",
|
|
3439
|
-
"type": "UInt8",
|
|
3440
|
-
"expected_hex": "7B"
|
|
3441
|
-
},
|
|
3442
|
-
{
|
|
3443
|
-
"test_json": 123,
|
|
3444
|
-
"canonical_json": "tecINSUF_RESERVE_OFFER",
|
|
3445
|
-
"type_id": 16,
|
|
3446
|
-
"type_specialisation_field": "TransactionResult",
|
|
3447
|
-
"type": "UInt8",
|
|
3448
|
-
"expected_hex": "7B"
|
|
3449
|
-
},
|
|
3450
|
-
{
|
|
3451
|
-
"test_json": "tecNO_DST",
|
|
3452
|
-
"type_id": 16,
|
|
3453
|
-
"type_specialisation_field": "TransactionResult",
|
|
3454
|
-
"type": "UInt8",
|
|
3455
|
-
"expected_hex": "7C"
|
|
3456
|
-
},
|
|
3457
|
-
{
|
|
3458
|
-
"test_json": 124,
|
|
3459
|
-
"canonical_json": "tecNO_DST",
|
|
3460
|
-
"type_id": 16,
|
|
3461
|
-
"type_specialisation_field": "TransactionResult",
|
|
3462
|
-
"type": "UInt8",
|
|
3463
|
-
"expected_hex": "7C"
|
|
3464
|
-
},
|
|
3465
|
-
{
|
|
3466
|
-
"test_json": "tecNO_DST_INSUF_XRP",
|
|
3467
|
-
"type_id": 16,
|
|
3468
|
-
"type_specialisation_field": "TransactionResult",
|
|
3469
|
-
"type": "UInt8",
|
|
3470
|
-
"expected_hex": "7D"
|
|
3471
|
-
},
|
|
3472
|
-
{
|
|
3473
|
-
"test_json": 125,
|
|
3474
|
-
"canonical_json": "tecNO_DST_INSUF_XRP",
|
|
3475
|
-
"type_id": 16,
|
|
3476
|
-
"type_specialisation_field": "TransactionResult",
|
|
3477
|
-
"type": "UInt8",
|
|
3478
|
-
"expected_hex": "7D"
|
|
3479
|
-
},
|
|
3480
|
-
{
|
|
3481
|
-
"test_json": "tecNO_LINE_INSUF_RESERVE",
|
|
3482
|
-
"type_id": 16,
|
|
3483
|
-
"type_specialisation_field": "TransactionResult",
|
|
3484
|
-
"type": "UInt8",
|
|
3485
|
-
"expected_hex": "7E"
|
|
3486
|
-
},
|
|
3487
|
-
{
|
|
3488
|
-
"test_json": 126,
|
|
3489
|
-
"canonical_json": "tecNO_LINE_INSUF_RESERVE",
|
|
3490
|
-
"type_id": 16,
|
|
3491
|
-
"type_specialisation_field": "TransactionResult",
|
|
3492
|
-
"type": "UInt8",
|
|
3493
|
-
"expected_hex": "7E"
|
|
3494
|
-
},
|
|
3495
|
-
{
|
|
3496
|
-
"test_json": "tecNO_LINE_REDUNDANT",
|
|
3497
|
-
"type_id": 16,
|
|
3498
|
-
"type_specialisation_field": "TransactionResult",
|
|
3499
|
-
"type": "UInt8",
|
|
3500
|
-
"expected_hex": "7F"
|
|
3501
|
-
},
|
|
3502
|
-
{
|
|
3503
|
-
"test_json": 127,
|
|
3504
|
-
"canonical_json": "tecNO_LINE_REDUNDANT",
|
|
3505
|
-
"type_id": 16,
|
|
3506
|
-
"type_specialisation_field": "TransactionResult",
|
|
3507
|
-
"type": "UInt8",
|
|
3508
|
-
"expected_hex": "7F"
|
|
3509
|
-
},
|
|
3510
|
-
{
|
|
3511
|
-
"test_json": "tecPATH_DRY",
|
|
3512
|
-
"type_id": 16,
|
|
3513
|
-
"type_specialisation_field": "TransactionResult",
|
|
3514
|
-
"type": "UInt8",
|
|
3515
|
-
"expected_hex": "80"
|
|
3516
|
-
},
|
|
3517
|
-
{
|
|
3518
|
-
"test_json": 128,
|
|
3519
|
-
"canonical_json": "tecPATH_DRY",
|
|
3520
|
-
"type_id": 16,
|
|
3521
|
-
"type_specialisation_field": "TransactionResult",
|
|
3522
|
-
"type": "UInt8",
|
|
3523
|
-
"expected_hex": "80"
|
|
3524
|
-
},
|
|
3525
|
-
{
|
|
3526
|
-
"test_json": "tecUNFUNDED",
|
|
3527
|
-
"type_id": 16,
|
|
3528
|
-
"type_specialisation_field": "TransactionResult",
|
|
3529
|
-
"type": "UInt8",
|
|
3530
|
-
"expected_hex": "81"
|
|
3531
|
-
},
|
|
3532
|
-
{
|
|
3533
|
-
"test_json": 129,
|
|
3534
|
-
"canonical_json": "tecUNFUNDED",
|
|
3535
|
-
"type_id": 16,
|
|
3536
|
-
"type_specialisation_field": "TransactionResult",
|
|
3537
|
-
"type": "UInt8",
|
|
3538
|
-
"expected_hex": "81"
|
|
3539
|
-
},
|
|
3540
|
-
{
|
|
3541
|
-
"test_json": "tecMASTER_DISABLED",
|
|
3542
|
-
"type_id": 16,
|
|
3543
|
-
"type_specialisation_field": "TransactionResult",
|
|
3544
|
-
"type": "UInt8",
|
|
3545
|
-
"expected_hex": "82"
|
|
3546
|
-
},
|
|
3547
|
-
{
|
|
3548
|
-
"test_json": 130,
|
|
3549
|
-
"canonical_json": "tecMASTER_DISABLED",
|
|
3550
|
-
"type_id": 16,
|
|
3551
|
-
"type_specialisation_field": "TransactionResult",
|
|
3552
|
-
"type": "UInt8",
|
|
3553
|
-
"expected_hex": "82"
|
|
3554
|
-
},
|
|
3555
|
-
{
|
|
3556
|
-
"test_json": "tecNO_REGULAR_KEY",
|
|
3557
|
-
"type_id": 16,
|
|
3558
|
-
"type_specialisation_field": "TransactionResult",
|
|
3559
|
-
"type": "UInt8",
|
|
3560
|
-
"expected_hex": "83"
|
|
3561
|
-
},
|
|
3562
|
-
{
|
|
3563
|
-
"test_json": 131,
|
|
3564
|
-
"canonical_json": "tecNO_REGULAR_KEY",
|
|
3565
|
-
"type_id": 16,
|
|
3566
|
-
"type_specialisation_field": "TransactionResult",
|
|
3567
|
-
"type": "UInt8",
|
|
3568
|
-
"expected_hex": "83"
|
|
3569
|
-
},
|
|
3570
|
-
{
|
|
3571
|
-
"test_json": "tecOWNERS",
|
|
3572
|
-
"type_id": 16,
|
|
3573
|
-
"type_specialisation_field": "TransactionResult",
|
|
3574
|
-
"type": "UInt8",
|
|
3575
|
-
"expected_hex": "84"
|
|
3576
|
-
},
|
|
3577
|
-
{
|
|
3578
|
-
"test_json": 132,
|
|
3579
|
-
"canonical_json": "tecOWNERS",
|
|
3580
|
-
"type_id": 16,
|
|
3581
|
-
"type_specialisation_field": "TransactionResult",
|
|
3582
|
-
"type": "UInt8",
|
|
3583
|
-
"expected_hex": "84"
|
|
3584
|
-
},
|
|
3585
|
-
{
|
|
3586
|
-
"test_json": "tecNO_ISSUER",
|
|
3587
|
-
"type_id": 16,
|
|
3588
|
-
"type_specialisation_field": "TransactionResult",
|
|
3589
|
-
"type": "UInt8",
|
|
3590
|
-
"expected_hex": "85"
|
|
3591
|
-
},
|
|
3592
|
-
{
|
|
3593
|
-
"test_json": 133,
|
|
3594
|
-
"canonical_json": "tecNO_ISSUER",
|
|
3595
|
-
"type_id": 16,
|
|
3596
|
-
"type_specialisation_field": "TransactionResult",
|
|
3597
|
-
"type": "UInt8",
|
|
3598
|
-
"expected_hex": "85"
|
|
3599
|
-
},
|
|
3600
|
-
{
|
|
3601
|
-
"test_json": "tecNO_AUTH",
|
|
3602
|
-
"type_id": 16,
|
|
3603
|
-
"type_specialisation_field": "TransactionResult",
|
|
3604
|
-
"type": "UInt8",
|
|
3605
|
-
"expected_hex": "86"
|
|
3606
|
-
},
|
|
3607
|
-
{
|
|
3608
|
-
"test_json": 134,
|
|
3609
|
-
"canonical_json": "tecNO_AUTH",
|
|
3610
|
-
"type_id": 16,
|
|
3611
|
-
"type_specialisation_field": "TransactionResult",
|
|
3612
|
-
"type": "UInt8",
|
|
3613
|
-
"expected_hex": "86"
|
|
3614
|
-
},
|
|
3615
|
-
{
|
|
3616
|
-
"test_json": "tecNO_LINE",
|
|
3617
|
-
"type_id": 16,
|
|
3618
|
-
"type_specialisation_field": "TransactionResult",
|
|
3619
|
-
"type": "UInt8",
|
|
3620
|
-
"expected_hex": "87"
|
|
3621
|
-
},
|
|
3622
|
-
{
|
|
3623
|
-
"test_json": 135,
|
|
3624
|
-
"canonical_json": "tecNO_LINE",
|
|
3625
|
-
"type_id": 16,
|
|
3626
|
-
"type_specialisation_field": "TransactionResult",
|
|
3627
|
-
"type": "UInt8",
|
|
3628
|
-
"expected_hex": "87"
|
|
3629
|
-
},
|
|
3630
|
-
{
|
|
3631
|
-
"test_json": "tecINSUFF_FEE",
|
|
3632
|
-
"type_id": 16,
|
|
3633
|
-
"type_specialisation_field": "TransactionResult",
|
|
3634
|
-
"type": "UInt8",
|
|
3635
|
-
"expected_hex": "88"
|
|
3636
|
-
},
|
|
3637
|
-
{
|
|
3638
|
-
"test_json": 136,
|
|
3639
|
-
"canonical_json": "tecINSUFF_FEE",
|
|
3640
|
-
"type_id": 16,
|
|
3641
|
-
"type_specialisation_field": "TransactionResult",
|
|
3642
|
-
"type": "UInt8",
|
|
3643
|
-
"expected_hex": "88"
|
|
3644
|
-
},
|
|
3645
|
-
{
|
|
3646
|
-
"test_json": "tecFROZEN",
|
|
3647
|
-
"type_id": 16,
|
|
3648
|
-
"type_specialisation_field": "TransactionResult",
|
|
3649
|
-
"type": "UInt8",
|
|
3650
|
-
"expected_hex": "89"
|
|
3651
|
-
},
|
|
3652
|
-
{
|
|
3653
|
-
"test_json": 137,
|
|
3654
|
-
"canonical_json": "tecFROZEN",
|
|
3655
|
-
"type_id": 16,
|
|
3656
|
-
"type_specialisation_field": "TransactionResult",
|
|
3657
|
-
"type": "UInt8",
|
|
3658
|
-
"expected_hex": "89"
|
|
3659
|
-
},
|
|
3660
|
-
{
|
|
3661
|
-
"test_json": "tecNO_TARGET",
|
|
3662
|
-
"type_id": 16,
|
|
3663
|
-
"type_specialisation_field": "TransactionResult",
|
|
3664
|
-
"type": "UInt8",
|
|
3665
|
-
"expected_hex": "8A"
|
|
3666
|
-
},
|
|
3667
|
-
{
|
|
3668
|
-
"test_json": 138,
|
|
3669
|
-
"canonical_json": "tecNO_TARGET",
|
|
3670
|
-
"type_id": 16,
|
|
3671
|
-
"type_specialisation_field": "TransactionResult",
|
|
3672
|
-
"type": "UInt8",
|
|
3673
|
-
"expected_hex": "8A"
|
|
3674
|
-
},
|
|
3675
|
-
{
|
|
3676
|
-
"test_json": "tecNO_PERMISSION",
|
|
3677
|
-
"type_id": 16,
|
|
3678
|
-
"type_specialisation_field": "TransactionResult",
|
|
3679
|
-
"type": "UInt8",
|
|
3680
|
-
"expected_hex": "8B"
|
|
3681
|
-
},
|
|
3682
|
-
{
|
|
3683
|
-
"test_json": 139,
|
|
3684
|
-
"canonical_json": "tecNO_PERMISSION",
|
|
3685
|
-
"type_id": 16,
|
|
3686
|
-
"type_specialisation_field": "TransactionResult",
|
|
3687
|
-
"type": "UInt8",
|
|
3688
|
-
"expected_hex": "8B"
|
|
3689
|
-
},
|
|
3690
|
-
{
|
|
3691
|
-
"test_json": "tecNO_ENTRY",
|
|
3692
|
-
"type_id": 16,
|
|
3693
|
-
"type_specialisation_field": "TransactionResult",
|
|
3694
|
-
"type": "UInt8",
|
|
3695
|
-
"expected_hex": "8C"
|
|
3696
|
-
},
|
|
3697
|
-
{
|
|
3698
|
-
"test_json": 140,
|
|
3699
|
-
"canonical_json": "tecNO_ENTRY",
|
|
3700
|
-
"type_id": 16,
|
|
3701
|
-
"type_specialisation_field": "TransactionResult",
|
|
3702
|
-
"type": "UInt8",
|
|
3703
|
-
"expected_hex": "8C"
|
|
3704
|
-
},
|
|
3705
|
-
{
|
|
3706
|
-
"test_json": "tecINSUFFICIENT_RESERVE",
|
|
3707
|
-
"type_id": 16,
|
|
3708
|
-
"type_specialisation_field": "TransactionResult",
|
|
3709
|
-
"type": "UInt8",
|
|
3710
|
-
"expected_hex": "8D"
|
|
3711
|
-
},
|
|
3712
|
-
{
|
|
3713
|
-
"test_json": 141,
|
|
3714
|
-
"canonical_json": "tecINSUFFICIENT_RESERVE",
|
|
3715
|
-
"type_id": 16,
|
|
3716
|
-
"type_specialisation_field": "TransactionResult",
|
|
3717
|
-
"type": "UInt8",
|
|
3718
|
-
"expected_hex": "8D"
|
|
3719
2931
|
}
|
|
3720
2932
|
]
|
|
3721
|
-
}
|
|
2933
|
+
}
|