@sig-net/midnight 0.27.0-rc.2 → 0.27.0-rc.3
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 +1 -1
- package/dist/abi-serde.d.ts +27 -0
- package/dist/abi-serde.d.ts.map +1 -1
- package/dist/abi-serde.js +101 -0
- package/dist/abi-serde.js.map +1 -1
- package/dist/constants.d.ts +0 -3
- package/dist/constants.d.ts.map +1 -1
- package/dist/constants.js +15 -34
- package/dist/constants.js.map +1 -1
- package/dist/managed/compiler/contract-info.json +444 -0
- package/dist/managed/compiler/contract-manifest.json +8 -8
- package/dist/managed/contract/index.d.ts +102 -0
- package/dist/managed/contract/index.js +298 -178
- package/dist/managed/contract/index.js.map +1 -1
- package/dist/mpc-output-cache.d.ts +2 -3
- package/dist/mpc-output-cache.d.ts.map +1 -1
- package/dist/mpc-output-cache.js +1 -2
- package/dist/mpc-output-cache.js.map +1 -1
- package/dist/signature-response-verification.d.ts +17 -14
- package/dist/signature-response-verification.d.ts.map +1 -1
- package/dist/signature-response-verification.js +53 -34
- package/dist/signature-response-verification.js.map +1 -1
- package/dist/signet-contract-events.js +1 -1
- package/dist/signet-contract-events.js.map +1 -1
- package/dist/signet-evtype2tx-requests.d.ts +1 -1
- package/dist/signet-evtype2tx-requests.js +1 -1
- package/dist/signet-request-response-reader.d.ts +33 -31
- package/dist/signet-request-response-reader.d.ts.map +1 -1
- package/dist/signet-request-response-reader.js +76 -75
- package/dist/signet-request-response-reader.js.map +1 -1
- package/dist/tron-transactions.d.ts +8 -1
- package/dist/tron-transactions.d.ts.map +1 -1
- package/dist/tron-transactions.js +17 -3
- package/dist/tron-transactions.js.map +1 -1
- package/package.json +2 -2
- package/src/circuits.compact +12 -0
|
@@ -2935,6 +2935,450 @@
|
|
|
2935
2935
|
"length": 32
|
|
2936
2936
|
}
|
|
2937
2937
|
}
|
|
2938
|
+
},
|
|
2939
|
+
{
|
|
2940
|
+
"name": "calculateTronRequestIdV1_1_34",
|
|
2941
|
+
"pure": true,
|
|
2942
|
+
"proof": false,
|
|
2943
|
+
"arguments": [
|
|
2944
|
+
{
|
|
2945
|
+
"name": "request",
|
|
2946
|
+
"type": {
|
|
2947
|
+
"type-name": "Struct",
|
|
2948
|
+
"name": "SignBidirectionalEventV1",
|
|
2949
|
+
"elements": [
|
|
2950
|
+
{
|
|
2951
|
+
"name": "keyVersion",
|
|
2952
|
+
"type": {
|
|
2953
|
+
"type-name": "Uint",
|
|
2954
|
+
"maxval": 255
|
|
2955
|
+
}
|
|
2956
|
+
},
|
|
2957
|
+
{
|
|
2958
|
+
"name": "sender",
|
|
2959
|
+
"type": {
|
|
2960
|
+
"type-name": "Struct",
|
|
2961
|
+
"name": "ContractAddress",
|
|
2962
|
+
"elements": [
|
|
2963
|
+
{
|
|
2964
|
+
"name": "bytes",
|
|
2965
|
+
"type": {
|
|
2966
|
+
"type-name": "Bytes",
|
|
2967
|
+
"length": 32
|
|
2968
|
+
}
|
|
2969
|
+
}
|
|
2970
|
+
]
|
|
2971
|
+
}
|
|
2972
|
+
},
|
|
2973
|
+
{
|
|
2974
|
+
"name": "path",
|
|
2975
|
+
"type": {
|
|
2976
|
+
"type-name": "Bytes",
|
|
2977
|
+
"length": 32
|
|
2978
|
+
}
|
|
2979
|
+
},
|
|
2980
|
+
{
|
|
2981
|
+
"name": "algo",
|
|
2982
|
+
"type": {
|
|
2983
|
+
"type-name": "Enum",
|
|
2984
|
+
"name": "MPCSignatureAlgorithm",
|
|
2985
|
+
"elements": [
|
|
2986
|
+
"ecdsa",
|
|
2987
|
+
"reserved"
|
|
2988
|
+
]
|
|
2989
|
+
}
|
|
2990
|
+
},
|
|
2991
|
+
{
|
|
2992
|
+
"name": "txParamType",
|
|
2993
|
+
"type": {
|
|
2994
|
+
"type-name": "Enum",
|
|
2995
|
+
"name": "TxParamType",
|
|
2996
|
+
"elements": [
|
|
2997
|
+
"evmType2",
|
|
2998
|
+
"tron"
|
|
2999
|
+
]
|
|
3000
|
+
}
|
|
3001
|
+
},
|
|
3002
|
+
{
|
|
3003
|
+
"name": "txParams",
|
|
3004
|
+
"type": {
|
|
3005
|
+
"type-name": "Struct",
|
|
3006
|
+
"name": "TronTxParams",
|
|
3007
|
+
"elements": [
|
|
3008
|
+
{
|
|
3009
|
+
"name": "refBlockBytes",
|
|
3010
|
+
"type": {
|
|
3011
|
+
"type-name": "Bytes",
|
|
3012
|
+
"length": 2
|
|
3013
|
+
}
|
|
3014
|
+
},
|
|
3015
|
+
{
|
|
3016
|
+
"name": "refBlockHash",
|
|
3017
|
+
"type": {
|
|
3018
|
+
"type-name": "Bytes",
|
|
3019
|
+
"length": 8
|
|
3020
|
+
}
|
|
3021
|
+
},
|
|
3022
|
+
{
|
|
3023
|
+
"name": "timestamp",
|
|
3024
|
+
"type": {
|
|
3025
|
+
"type-name": "Uint",
|
|
3026
|
+
"maxval": 18446744073709551615
|
|
3027
|
+
}
|
|
3028
|
+
},
|
|
3029
|
+
{
|
|
3030
|
+
"name": "expiration",
|
|
3031
|
+
"type": {
|
|
3032
|
+
"type-name": "Uint",
|
|
3033
|
+
"maxval": 18446744073709551615
|
|
3034
|
+
}
|
|
3035
|
+
},
|
|
3036
|
+
{
|
|
3037
|
+
"name": "feeLimit",
|
|
3038
|
+
"type": {
|
|
3039
|
+
"type-name": "Uint",
|
|
3040
|
+
"maxval": 18446744073709551615
|
|
3041
|
+
}
|
|
3042
|
+
},
|
|
3043
|
+
{
|
|
3044
|
+
"name": "contractAddress",
|
|
3045
|
+
"type": {
|
|
3046
|
+
"type-name": "Bytes",
|
|
3047
|
+
"length": 21
|
|
3048
|
+
}
|
|
3049
|
+
},
|
|
3050
|
+
{
|
|
3051
|
+
"name": "callValue",
|
|
3052
|
+
"type": {
|
|
3053
|
+
"type-name": "Uint",
|
|
3054
|
+
"maxval": 18446744073709551615
|
|
3055
|
+
}
|
|
3056
|
+
},
|
|
3057
|
+
{
|
|
3058
|
+
"name": "calldata",
|
|
3059
|
+
"type": {
|
|
3060
|
+
"type-name": "Struct",
|
|
3061
|
+
"name": "Maybe",
|
|
3062
|
+
"elements": [
|
|
3063
|
+
{
|
|
3064
|
+
"name": "is_some",
|
|
3065
|
+
"type": {
|
|
3066
|
+
"type-name": "Boolean"
|
|
3067
|
+
}
|
|
3068
|
+
},
|
|
3069
|
+
{
|
|
3070
|
+
"name": "value",
|
|
3071
|
+
"type": {
|
|
3072
|
+
"type-name": "Struct",
|
|
3073
|
+
"name": "EvmCalldata",
|
|
3074
|
+
"elements": [
|
|
3075
|
+
{
|
|
3076
|
+
"name": "selector",
|
|
3077
|
+
"type": {
|
|
3078
|
+
"type-name": "Bytes",
|
|
3079
|
+
"length": 4
|
|
3080
|
+
}
|
|
3081
|
+
},
|
|
3082
|
+
{
|
|
3083
|
+
"name": "noWords",
|
|
3084
|
+
"type": {
|
|
3085
|
+
"type-name": "Uint",
|
|
3086
|
+
"maxval": 65535
|
|
3087
|
+
}
|
|
3088
|
+
},
|
|
3089
|
+
{
|
|
3090
|
+
"name": "words",
|
|
3091
|
+
"type": {
|
|
3092
|
+
"type-name": "Vector",
|
|
3093
|
+
"length": 1,
|
|
3094
|
+
"type": {
|
|
3095
|
+
"type-name": "Bytes",
|
|
3096
|
+
"length": 32
|
|
3097
|
+
}
|
|
3098
|
+
}
|
|
3099
|
+
}
|
|
3100
|
+
]
|
|
3101
|
+
}
|
|
3102
|
+
}
|
|
3103
|
+
]
|
|
3104
|
+
}
|
|
3105
|
+
}
|
|
3106
|
+
]
|
|
3107
|
+
}
|
|
3108
|
+
},
|
|
3109
|
+
{
|
|
3110
|
+
"name": "executionDest",
|
|
3111
|
+
"type": {
|
|
3112
|
+
"type-name": "Bytes",
|
|
3113
|
+
"length": 64
|
|
3114
|
+
}
|
|
3115
|
+
},
|
|
3116
|
+
{
|
|
3117
|
+
"name": "signatureDest",
|
|
3118
|
+
"type": {
|
|
3119
|
+
"type-name": "Enum",
|
|
3120
|
+
"name": "MPCDestination",
|
|
3121
|
+
"elements": [
|
|
3122
|
+
"unused",
|
|
3123
|
+
"reserved"
|
|
3124
|
+
]
|
|
3125
|
+
}
|
|
3126
|
+
},
|
|
3127
|
+
{
|
|
3128
|
+
"name": "params",
|
|
3129
|
+
"type": {
|
|
3130
|
+
"type-name": "Bytes",
|
|
3131
|
+
"length": 64
|
|
3132
|
+
}
|
|
3133
|
+
},
|
|
3134
|
+
{
|
|
3135
|
+
"name": "outputDeserializationSchema",
|
|
3136
|
+
"type": {
|
|
3137
|
+
"type-name": "Bytes",
|
|
3138
|
+
"length": 34
|
|
3139
|
+
}
|
|
3140
|
+
},
|
|
3141
|
+
{
|
|
3142
|
+
"name": "respondSerializationSchema",
|
|
3143
|
+
"type": {
|
|
3144
|
+
"type-name": "Bytes",
|
|
3145
|
+
"length": 0
|
|
3146
|
+
}
|
|
3147
|
+
}
|
|
3148
|
+
]
|
|
3149
|
+
}
|
|
3150
|
+
}
|
|
3151
|
+
],
|
|
3152
|
+
"result-type": {
|
|
3153
|
+
"type-name": "Alias",
|
|
3154
|
+
"name": "RequestId",
|
|
3155
|
+
"type": {
|
|
3156
|
+
"type-name": "Bytes",
|
|
3157
|
+
"length": 32
|
|
3158
|
+
}
|
|
3159
|
+
}
|
|
3160
|
+
},
|
|
3161
|
+
{
|
|
3162
|
+
"name": "calculateTronRequestIdV1_2_34",
|
|
3163
|
+
"pure": true,
|
|
3164
|
+
"proof": false,
|
|
3165
|
+
"arguments": [
|
|
3166
|
+
{
|
|
3167
|
+
"name": "request",
|
|
3168
|
+
"type": {
|
|
3169
|
+
"type-name": "Struct",
|
|
3170
|
+
"name": "SignBidirectionalEventV1",
|
|
3171
|
+
"elements": [
|
|
3172
|
+
{
|
|
3173
|
+
"name": "keyVersion",
|
|
3174
|
+
"type": {
|
|
3175
|
+
"type-name": "Uint",
|
|
3176
|
+
"maxval": 255
|
|
3177
|
+
}
|
|
3178
|
+
},
|
|
3179
|
+
{
|
|
3180
|
+
"name": "sender",
|
|
3181
|
+
"type": {
|
|
3182
|
+
"type-name": "Struct",
|
|
3183
|
+
"name": "ContractAddress",
|
|
3184
|
+
"elements": [
|
|
3185
|
+
{
|
|
3186
|
+
"name": "bytes",
|
|
3187
|
+
"type": {
|
|
3188
|
+
"type-name": "Bytes",
|
|
3189
|
+
"length": 32
|
|
3190
|
+
}
|
|
3191
|
+
}
|
|
3192
|
+
]
|
|
3193
|
+
}
|
|
3194
|
+
},
|
|
3195
|
+
{
|
|
3196
|
+
"name": "path",
|
|
3197
|
+
"type": {
|
|
3198
|
+
"type-name": "Bytes",
|
|
3199
|
+
"length": 32
|
|
3200
|
+
}
|
|
3201
|
+
},
|
|
3202
|
+
{
|
|
3203
|
+
"name": "algo",
|
|
3204
|
+
"type": {
|
|
3205
|
+
"type-name": "Enum",
|
|
3206
|
+
"name": "MPCSignatureAlgorithm",
|
|
3207
|
+
"elements": [
|
|
3208
|
+
"ecdsa",
|
|
3209
|
+
"reserved"
|
|
3210
|
+
]
|
|
3211
|
+
}
|
|
3212
|
+
},
|
|
3213
|
+
{
|
|
3214
|
+
"name": "txParamType",
|
|
3215
|
+
"type": {
|
|
3216
|
+
"type-name": "Enum",
|
|
3217
|
+
"name": "TxParamType",
|
|
3218
|
+
"elements": [
|
|
3219
|
+
"evmType2",
|
|
3220
|
+
"tron"
|
|
3221
|
+
]
|
|
3222
|
+
}
|
|
3223
|
+
},
|
|
3224
|
+
{
|
|
3225
|
+
"name": "txParams",
|
|
3226
|
+
"type": {
|
|
3227
|
+
"type-name": "Struct",
|
|
3228
|
+
"name": "TronTxParams",
|
|
3229
|
+
"elements": [
|
|
3230
|
+
{
|
|
3231
|
+
"name": "refBlockBytes",
|
|
3232
|
+
"type": {
|
|
3233
|
+
"type-name": "Bytes",
|
|
3234
|
+
"length": 2
|
|
3235
|
+
}
|
|
3236
|
+
},
|
|
3237
|
+
{
|
|
3238
|
+
"name": "refBlockHash",
|
|
3239
|
+
"type": {
|
|
3240
|
+
"type-name": "Bytes",
|
|
3241
|
+
"length": 8
|
|
3242
|
+
}
|
|
3243
|
+
},
|
|
3244
|
+
{
|
|
3245
|
+
"name": "timestamp",
|
|
3246
|
+
"type": {
|
|
3247
|
+
"type-name": "Uint",
|
|
3248
|
+
"maxval": 18446744073709551615
|
|
3249
|
+
}
|
|
3250
|
+
},
|
|
3251
|
+
{
|
|
3252
|
+
"name": "expiration",
|
|
3253
|
+
"type": {
|
|
3254
|
+
"type-name": "Uint",
|
|
3255
|
+
"maxval": 18446744073709551615
|
|
3256
|
+
}
|
|
3257
|
+
},
|
|
3258
|
+
{
|
|
3259
|
+
"name": "feeLimit",
|
|
3260
|
+
"type": {
|
|
3261
|
+
"type-name": "Uint",
|
|
3262
|
+
"maxval": 18446744073709551615
|
|
3263
|
+
}
|
|
3264
|
+
},
|
|
3265
|
+
{
|
|
3266
|
+
"name": "contractAddress",
|
|
3267
|
+
"type": {
|
|
3268
|
+
"type-name": "Bytes",
|
|
3269
|
+
"length": 21
|
|
3270
|
+
}
|
|
3271
|
+
},
|
|
3272
|
+
{
|
|
3273
|
+
"name": "callValue",
|
|
3274
|
+
"type": {
|
|
3275
|
+
"type-name": "Uint",
|
|
3276
|
+
"maxval": 18446744073709551615
|
|
3277
|
+
}
|
|
3278
|
+
},
|
|
3279
|
+
{
|
|
3280
|
+
"name": "calldata",
|
|
3281
|
+
"type": {
|
|
3282
|
+
"type-name": "Struct",
|
|
3283
|
+
"name": "Maybe",
|
|
3284
|
+
"elements": [
|
|
3285
|
+
{
|
|
3286
|
+
"name": "is_some",
|
|
3287
|
+
"type": {
|
|
3288
|
+
"type-name": "Boolean"
|
|
3289
|
+
}
|
|
3290
|
+
},
|
|
3291
|
+
{
|
|
3292
|
+
"name": "value",
|
|
3293
|
+
"type": {
|
|
3294
|
+
"type-name": "Struct",
|
|
3295
|
+
"name": "EvmCalldata",
|
|
3296
|
+
"elements": [
|
|
3297
|
+
{
|
|
3298
|
+
"name": "selector",
|
|
3299
|
+
"type": {
|
|
3300
|
+
"type-name": "Bytes",
|
|
3301
|
+
"length": 4
|
|
3302
|
+
}
|
|
3303
|
+
},
|
|
3304
|
+
{
|
|
3305
|
+
"name": "noWords",
|
|
3306
|
+
"type": {
|
|
3307
|
+
"type-name": "Uint",
|
|
3308
|
+
"maxval": 65535
|
|
3309
|
+
}
|
|
3310
|
+
},
|
|
3311
|
+
{
|
|
3312
|
+
"name": "words",
|
|
3313
|
+
"type": {
|
|
3314
|
+
"type-name": "Vector",
|
|
3315
|
+
"length": 2,
|
|
3316
|
+
"type": {
|
|
3317
|
+
"type-name": "Bytes",
|
|
3318
|
+
"length": 32
|
|
3319
|
+
}
|
|
3320
|
+
}
|
|
3321
|
+
}
|
|
3322
|
+
]
|
|
3323
|
+
}
|
|
3324
|
+
}
|
|
3325
|
+
]
|
|
3326
|
+
}
|
|
3327
|
+
}
|
|
3328
|
+
]
|
|
3329
|
+
}
|
|
3330
|
+
},
|
|
3331
|
+
{
|
|
3332
|
+
"name": "executionDest",
|
|
3333
|
+
"type": {
|
|
3334
|
+
"type-name": "Bytes",
|
|
3335
|
+
"length": 64
|
|
3336
|
+
}
|
|
3337
|
+
},
|
|
3338
|
+
{
|
|
3339
|
+
"name": "signatureDest",
|
|
3340
|
+
"type": {
|
|
3341
|
+
"type-name": "Enum",
|
|
3342
|
+
"name": "MPCDestination",
|
|
3343
|
+
"elements": [
|
|
3344
|
+
"unused",
|
|
3345
|
+
"reserved"
|
|
3346
|
+
]
|
|
3347
|
+
}
|
|
3348
|
+
},
|
|
3349
|
+
{
|
|
3350
|
+
"name": "params",
|
|
3351
|
+
"type": {
|
|
3352
|
+
"type-name": "Bytes",
|
|
3353
|
+
"length": 64
|
|
3354
|
+
}
|
|
3355
|
+
},
|
|
3356
|
+
{
|
|
3357
|
+
"name": "outputDeserializationSchema",
|
|
3358
|
+
"type": {
|
|
3359
|
+
"type-name": "Bytes",
|
|
3360
|
+
"length": 34
|
|
3361
|
+
}
|
|
3362
|
+
},
|
|
3363
|
+
{
|
|
3364
|
+
"name": "respondSerializationSchema",
|
|
3365
|
+
"type": {
|
|
3366
|
+
"type-name": "Bytes",
|
|
3367
|
+
"length": 0
|
|
3368
|
+
}
|
|
3369
|
+
}
|
|
3370
|
+
]
|
|
3371
|
+
}
|
|
3372
|
+
}
|
|
3373
|
+
],
|
|
3374
|
+
"result-type": {
|
|
3375
|
+
"type-name": "Alias",
|
|
3376
|
+
"name": "RequestId",
|
|
3377
|
+
"type": {
|
|
3378
|
+
"type-name": "Bytes",
|
|
3379
|
+
"length": 32
|
|
3380
|
+
}
|
|
3381
|
+
}
|
|
2938
3382
|
}
|
|
2939
3383
|
],
|
|
2940
3384
|
"witnesses": [
|
|
@@ -8,26 +8,26 @@
|
|
|
8
8
|
"type": "directory",
|
|
9
9
|
"contract-info.json": {
|
|
10
10
|
"type": "file",
|
|
11
|
-
"size":
|
|
12
|
-
"hash": "
|
|
11
|
+
"size": 100412,
|
|
12
|
+
"hash": "06fcfbfbabad10eecca41b8123f18d73b5431c2ef26da9de0d16f1bc57091ec7"
|
|
13
13
|
}
|
|
14
14
|
},
|
|
15
15
|
"contract": {
|
|
16
16
|
"type": "directory",
|
|
17
17
|
"index.d.ts": {
|
|
18
18
|
"type": "file",
|
|
19
|
-
"size":
|
|
20
|
-
"hash": "
|
|
19
|
+
"size": 66998,
|
|
20
|
+
"hash": "6f879923de6515c81d955d4d389a0970041fd699cbbc46efb9bff16a7aafba6d"
|
|
21
21
|
},
|
|
22
22
|
"index.js": {
|
|
23
23
|
"type": "file",
|
|
24
|
-
"size":
|
|
25
|
-
"hash": "
|
|
24
|
+
"size": 211718,
|
|
25
|
+
"hash": "823d73afb4a292f8cb7ff6060a990b414dd697e338c32e78a04c1e13a9b96763"
|
|
26
26
|
},
|
|
27
27
|
"index.js.map": {
|
|
28
28
|
"type": "file",
|
|
29
|
-
"size":
|
|
30
|
-
"hash": "
|
|
29
|
+
"size": 13513,
|
|
30
|
+
"hash": "059cdf4f1a955a3400dbc1bd42803ab1a8b17592aa3a1c09f291f394d02b9f3a"
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
}
|
|
@@ -345,6 +345,56 @@ export type PureCircuits = {
|
|
|
345
345
|
outputDeserializationSchema: Uint8Array,
|
|
346
346
|
respondSerializationSchema: Uint8Array
|
|
347
347
|
}): Uint8Array;
|
|
348
|
+
calculateTronRequestIdV1_1_34(request_0: { keyVersion: bigint,
|
|
349
|
+
sender: { bytes: Uint8Array },
|
|
350
|
+
path: Uint8Array,
|
|
351
|
+
algo: number,
|
|
352
|
+
txParamType: number,
|
|
353
|
+
txParams: { refBlockBytes: Uint8Array,
|
|
354
|
+
refBlockHash: Uint8Array,
|
|
355
|
+
timestamp: bigint,
|
|
356
|
+
expiration: bigint,
|
|
357
|
+
feeLimit: bigint,
|
|
358
|
+
contractAddress: Uint8Array,
|
|
359
|
+
callValue: bigint,
|
|
360
|
+
calldata: { is_some: boolean,
|
|
361
|
+
value: { selector: Uint8Array,
|
|
362
|
+
noWords: bigint,
|
|
363
|
+
words: Uint8Array[]
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
},
|
|
367
|
+
executionDest: Uint8Array,
|
|
368
|
+
signatureDest: number,
|
|
369
|
+
params: Uint8Array,
|
|
370
|
+
outputDeserializationSchema: Uint8Array,
|
|
371
|
+
respondSerializationSchema: Uint8Array
|
|
372
|
+
}): Uint8Array;
|
|
373
|
+
calculateTronRequestIdV1_2_34(request_0: { keyVersion: bigint,
|
|
374
|
+
sender: { bytes: Uint8Array },
|
|
375
|
+
path: Uint8Array,
|
|
376
|
+
algo: number,
|
|
377
|
+
txParamType: number,
|
|
378
|
+
txParams: { refBlockBytes: Uint8Array,
|
|
379
|
+
refBlockHash: Uint8Array,
|
|
380
|
+
timestamp: bigint,
|
|
381
|
+
expiration: bigint,
|
|
382
|
+
feeLimit: bigint,
|
|
383
|
+
contractAddress: Uint8Array,
|
|
384
|
+
callValue: bigint,
|
|
385
|
+
calldata: { is_some: boolean,
|
|
386
|
+
value: { selector: Uint8Array,
|
|
387
|
+
noWords: bigint,
|
|
388
|
+
words: Uint8Array[]
|
|
389
|
+
}
|
|
390
|
+
}
|
|
391
|
+
},
|
|
392
|
+
executionDest: Uint8Array,
|
|
393
|
+
signatureDest: number,
|
|
394
|
+
params: Uint8Array,
|
|
395
|
+
outputDeserializationSchema: Uint8Array,
|
|
396
|
+
respondSerializationSchema: Uint8Array
|
|
397
|
+
}): Uint8Array;
|
|
348
398
|
}
|
|
349
399
|
|
|
350
400
|
export type Circuits<PS> = {
|
|
@@ -696,6 +746,58 @@ export type Circuits<PS> = {
|
|
|
696
746
|
outputDeserializationSchema: Uint8Array,
|
|
697
747
|
respondSerializationSchema: Uint8Array
|
|
698
748
|
}): Promise<__compactRuntime.CircuitResults<PS, Uint8Array>>;
|
|
749
|
+
calculateTronRequestIdV1_1_34(context: __compactRuntime.CircuitContext<PS>,
|
|
750
|
+
request_0: { keyVersion: bigint,
|
|
751
|
+
sender: { bytes: Uint8Array },
|
|
752
|
+
path: Uint8Array,
|
|
753
|
+
algo: number,
|
|
754
|
+
txParamType: number,
|
|
755
|
+
txParams: { refBlockBytes: Uint8Array,
|
|
756
|
+
refBlockHash: Uint8Array,
|
|
757
|
+
timestamp: bigint,
|
|
758
|
+
expiration: bigint,
|
|
759
|
+
feeLimit: bigint,
|
|
760
|
+
contractAddress: Uint8Array,
|
|
761
|
+
callValue: bigint,
|
|
762
|
+
calldata: { is_some: boolean,
|
|
763
|
+
value: { selector: Uint8Array,
|
|
764
|
+
noWords: bigint,
|
|
765
|
+
words: Uint8Array[]
|
|
766
|
+
}
|
|
767
|
+
}
|
|
768
|
+
},
|
|
769
|
+
executionDest: Uint8Array,
|
|
770
|
+
signatureDest: number,
|
|
771
|
+
params: Uint8Array,
|
|
772
|
+
outputDeserializationSchema: Uint8Array,
|
|
773
|
+
respondSerializationSchema: Uint8Array
|
|
774
|
+
}): Promise<__compactRuntime.CircuitResults<PS, Uint8Array>>;
|
|
775
|
+
calculateTronRequestIdV1_2_34(context: __compactRuntime.CircuitContext<PS>,
|
|
776
|
+
request_0: { keyVersion: bigint,
|
|
777
|
+
sender: { bytes: Uint8Array },
|
|
778
|
+
path: Uint8Array,
|
|
779
|
+
algo: number,
|
|
780
|
+
txParamType: number,
|
|
781
|
+
txParams: { refBlockBytes: Uint8Array,
|
|
782
|
+
refBlockHash: Uint8Array,
|
|
783
|
+
timestamp: bigint,
|
|
784
|
+
expiration: bigint,
|
|
785
|
+
feeLimit: bigint,
|
|
786
|
+
contractAddress: Uint8Array,
|
|
787
|
+
callValue: bigint,
|
|
788
|
+
calldata: { is_some: boolean,
|
|
789
|
+
value: { selector: Uint8Array,
|
|
790
|
+
noWords: bigint,
|
|
791
|
+
words: Uint8Array[]
|
|
792
|
+
}
|
|
793
|
+
}
|
|
794
|
+
},
|
|
795
|
+
executionDest: Uint8Array,
|
|
796
|
+
signatureDest: number,
|
|
797
|
+
params: Uint8Array,
|
|
798
|
+
outputDeserializationSchema: Uint8Array,
|
|
799
|
+
respondSerializationSchema: Uint8Array
|
|
800
|
+
}): Promise<__compactRuntime.CircuitResults<PS, Uint8Array>>;
|
|
699
801
|
}
|
|
700
802
|
|
|
701
803
|
export type Ledger = {
|