@vocdoni/proto 1.15.1 → 1.15.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 +3 -10
- package/{dist/index-47061e36.d.ts → build/js/index-fe26a63a.d.ts} +42 -0
- package/{dist → build/js}/index.d.ts +1 -1
- package/{dist → build/js}/index.js +34 -4
- package/{dist → build/js}/index.mjs +34 -4
- package/{dist → build/js}/vochain/index.d.ts +1 -1
- package/{dist → build/js}/vochain/index.js +34 -4
- package/{dist → build/js}/vochain/index.mjs +34 -4
- package/package.json +41 -39
- package/.github/workflows/on-release.yml +0 -19
- package/.github/workflows/post-merge.yml +0 -30
- package/.idea/dvote-protobuf.iml +0 -12
- package/.idea/modules.xml +0 -8
- package/.idea/vcs.xml +0 -6
- package/AUTHORS +0 -7
- package/Makefile +0 -134
- package/bin/protoc +0 -0
- package/code-of-conduct.md +0 -77
- package/dist/index-4d38492a.d.ts +0 -10654
- package/go.mod +0 -8
- package/go.sum +0 -69
- package/include/google/protobuf/any.proto +0 -158
- package/include/google/protobuf/api.proto +0 -208
- package/include/google/protobuf/compiler/plugin.proto +0 -183
- package/include/google/protobuf/descriptor.proto +0 -909
- package/include/google/protobuf/duration.proto +0 -116
- package/include/google/protobuf/empty.proto +0 -52
- package/include/google/protobuf/field_mask.proto +0 -245
- package/include/google/protobuf/source_context.proto +0 -48
- package/include/google/protobuf/struct.proto +0 -95
- package/include/google/protobuf/timestamp.proto +0 -147
- package/include/google/protobuf/type.proto +0 -187
- package/include/google/protobuf/wrappers.proto +0 -123
- package/src/client-store/account.proto +0 -54
- package/src/client-store/backup.proto +0 -65
- package/src/client-store/gateway.proto +0 -35
- package/src/client-store/wallet.proto +0 -19
- package/src/ipfsSync/ipfssync.proto +0 -26
- package/src/metadata/entity.proto +0 -75
- package/src/metadata/feed.proto +0 -51
- package/src/metadata/process.proto +0 -38
- package/src/vocdoni-node/statedb.proto +0 -35
- package/src/vochain/vochain.proto +0 -487
- package/tsconfig.json +0 -15
- package/tsup.config.ts +0 -15
- package/vocdoni-proto-v1.15.1.tgz +0 -0
- /package/{dist → build/js}/client-store/index.d.ts +0 -0
- /package/{dist → build/js}/client-store/index.js +0 -0
- /package/{dist → build/js}/client-store/index.mjs +0 -0
- /package/{dist → build/js}/entity-e8dfcd83.d.ts +0 -0
- /package/{dist → build/js}/index-05df597a.d.ts +0 -0
- /package/{dist → build/js}/index-d457aeb5.d.ts +0 -0
- /package/{dist → build/js}/metadata/index.d.ts +0 -0
- /package/{dist → build/js}/metadata/index.js +0 -0
- /package/{dist → build/js}/metadata/index.mjs +0 -0
package/README.md
CHANGED
|
@@ -55,17 +55,9 @@ Then, run `make all` to build all the targets
|
|
|
55
55
|
+ Build JS/TS models: `make ts`
|
|
56
56
|
+ Build GoLang models: `make golang`
|
|
57
57
|
|
|
58
|
-
|
|
58
|
+
## Develop / Release
|
|
59
59
|
|
|
60
|
-
|
|
61
|
-
order to minimize the work. Just follow these steps:
|
|
62
|
-
|
|
63
|
-
- Do whatever changes you need to do in the `proto` files
|
|
64
|
-
- Update the version in the `package.json` file
|
|
65
|
-
- Commit the changes
|
|
66
|
-
- Create a new release & tag with the version number you used in `package.json`
|
|
67
|
-
|
|
68
|
-
The github action will take care of the rest.
|
|
60
|
+
See [DEVELOPING.md]
|
|
69
61
|
|
|
70
62
|
## Artifacts
|
|
71
63
|
|
|
@@ -122,3 +114,4 @@ This SDK is licensed under the [GNU Affero General Public License v3.0][license]
|
|
|
122
114
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
123
115
|
|
|
124
116
|
[license]: ./LICENSE
|
|
117
|
+
[DEVELOPING.md]: ./DEVELOPING.md
|
|
@@ -2085,6 +2085,7 @@ declare const Tx: {
|
|
|
2085
2085
|
nullifiersRoot?: Uint8Array | undefined;
|
|
2086
2086
|
sourceNetworkContractAddr?: Uint8Array | undefined;
|
|
2087
2087
|
tokenDecimals?: number | undefined;
|
|
2088
|
+
tempSIKs?: boolean | undefined;
|
|
2088
2089
|
} | undefined;
|
|
2089
2090
|
} | undefined;
|
|
2090
2091
|
} & {
|
|
@@ -2196,6 +2197,7 @@ declare const Tx: {
|
|
|
2196
2197
|
question?: Uint8Array[] | undefined;
|
|
2197
2198
|
}[] | undefined;
|
|
2198
2199
|
} | undefined;
|
|
2200
|
+
tempSIKs?: boolean | undefined;
|
|
2199
2201
|
} | undefined;
|
|
2200
2202
|
} & {
|
|
2201
2203
|
$case: "setProcess";
|
|
@@ -2970,6 +2972,7 @@ declare const Tx: {
|
|
|
2970
2972
|
nullifiersRoot?: Uint8Array | undefined;
|
|
2971
2973
|
sourceNetworkContractAddr?: Uint8Array | undefined;
|
|
2972
2974
|
tokenDecimals?: number | undefined;
|
|
2975
|
+
tempSIKs?: boolean | undefined;
|
|
2973
2976
|
} | undefined;
|
|
2974
2977
|
} | undefined;
|
|
2975
2978
|
} & {
|
|
@@ -3031,6 +3034,7 @@ declare const Tx: {
|
|
|
3031
3034
|
nullifiersRoot?: Uint8Array | undefined;
|
|
3032
3035
|
sourceNetworkContractAddr?: Uint8Array | undefined;
|
|
3033
3036
|
tokenDecimals?: number | undefined;
|
|
3037
|
+
tempSIKs?: boolean | undefined;
|
|
3034
3038
|
} | undefined;
|
|
3035
3039
|
} & {
|
|
3036
3040
|
txtype?: TxType | undefined;
|
|
@@ -3088,6 +3092,7 @@ declare const Tx: {
|
|
|
3088
3092
|
nullifiersRoot?: Uint8Array | undefined;
|
|
3089
3093
|
sourceNetworkContractAddr?: Uint8Array | undefined;
|
|
3090
3094
|
tokenDecimals?: number | undefined;
|
|
3095
|
+
tempSIKs?: boolean | undefined;
|
|
3091
3096
|
} & {
|
|
3092
3097
|
processId?: Uint8Array | undefined;
|
|
3093
3098
|
entityId?: Uint8Array | undefined;
|
|
@@ -3169,6 +3174,7 @@ declare const Tx: {
|
|
|
3169
3174
|
nullifiersRoot?: Uint8Array | undefined;
|
|
3170
3175
|
sourceNetworkContractAddr?: Uint8Array | undefined;
|
|
3171
3176
|
tokenDecimals?: number | undefined;
|
|
3177
|
+
tempSIKs?: boolean | undefined;
|
|
3172
3178
|
} & { [K_40 in Exclude<keyof I["payload"]["newProcess"]["process"], keyof Process>]: never; }) | undefined;
|
|
3173
3179
|
} & { [K_41 in Exclude<keyof I["payload"]["newProcess"], keyof NewProcessTx>]: never; }) | undefined;
|
|
3174
3180
|
$case: "newProcess";
|
|
@@ -3302,6 +3308,7 @@ declare const Tx: {
|
|
|
3302
3308
|
question?: Uint8Array[] | undefined;
|
|
3303
3309
|
}[] | undefined;
|
|
3304
3310
|
} | undefined;
|
|
3311
|
+
tempSIKs?: boolean | undefined;
|
|
3305
3312
|
} | undefined;
|
|
3306
3313
|
} & {
|
|
3307
3314
|
$case: "setProcess";
|
|
@@ -3398,6 +3405,7 @@ declare const Tx: {
|
|
|
3398
3405
|
question?: Uint8Array[] | undefined;
|
|
3399
3406
|
}[] | undefined;
|
|
3400
3407
|
} | undefined;
|
|
3408
|
+
tempSIKs?: boolean | undefined;
|
|
3401
3409
|
} & {
|
|
3402
3410
|
txtype?: TxType | undefined;
|
|
3403
3411
|
nonce?: number | undefined;
|
|
@@ -3701,6 +3709,7 @@ declare const Tx: {
|
|
|
3701
3709
|
question?: Uint8Array[] | undefined;
|
|
3702
3710
|
}[]>]: never; }) | undefined;
|
|
3703
3711
|
} & { [K_76 in Exclude<keyof I["payload"]["setProcess"]["results"], "votes">]: never; }) | undefined;
|
|
3712
|
+
tempSIKs?: boolean | undefined;
|
|
3704
3713
|
} & { [K_77 in Exclude<keyof I["payload"]["setProcess"], keyof SetProcessTx>]: never; }) | undefined;
|
|
3705
3714
|
$case: "setProcess";
|
|
3706
3715
|
} & { [K_78 in Exclude<keyof I["payload"], "$case" | "setProcess">]: never; }) | ({
|
|
@@ -4957,6 +4966,7 @@ declare const Tx: {
|
|
|
4957
4966
|
nullifiersRoot?: Uint8Array | undefined;
|
|
4958
4967
|
sourceNetworkContractAddr?: Uint8Array | undefined;
|
|
4959
4968
|
tokenDecimals?: number | undefined;
|
|
4969
|
+
tempSIKs?: boolean | undefined;
|
|
4960
4970
|
} | undefined;
|
|
4961
4971
|
} | undefined;
|
|
4962
4972
|
} & {
|
|
@@ -5068,6 +5078,7 @@ declare const Tx: {
|
|
|
5068
5078
|
question?: Uint8Array[] | undefined;
|
|
5069
5079
|
}[] | undefined;
|
|
5070
5080
|
} | undefined;
|
|
5081
|
+
tempSIKs?: boolean | undefined;
|
|
5071
5082
|
} | undefined;
|
|
5072
5083
|
} & {
|
|
5073
5084
|
$case: "setProcess";
|
|
@@ -5842,6 +5853,7 @@ declare const Tx: {
|
|
|
5842
5853
|
nullifiersRoot?: Uint8Array | undefined;
|
|
5843
5854
|
sourceNetworkContractAddr?: Uint8Array | undefined;
|
|
5844
5855
|
tokenDecimals?: number | undefined;
|
|
5856
|
+
tempSIKs?: boolean | undefined;
|
|
5845
5857
|
} | undefined;
|
|
5846
5858
|
} | undefined;
|
|
5847
5859
|
} & {
|
|
@@ -5903,6 +5915,7 @@ declare const Tx: {
|
|
|
5903
5915
|
nullifiersRoot?: Uint8Array | undefined;
|
|
5904
5916
|
sourceNetworkContractAddr?: Uint8Array | undefined;
|
|
5905
5917
|
tokenDecimals?: number | undefined;
|
|
5918
|
+
tempSIKs?: boolean | undefined;
|
|
5906
5919
|
} | undefined;
|
|
5907
5920
|
} & {
|
|
5908
5921
|
txtype?: TxType | undefined;
|
|
@@ -5960,6 +5973,7 @@ declare const Tx: {
|
|
|
5960
5973
|
nullifiersRoot?: Uint8Array | undefined;
|
|
5961
5974
|
sourceNetworkContractAddr?: Uint8Array | undefined;
|
|
5962
5975
|
tokenDecimals?: number | undefined;
|
|
5976
|
+
tempSIKs?: boolean | undefined;
|
|
5963
5977
|
} & {
|
|
5964
5978
|
processId?: Uint8Array | undefined;
|
|
5965
5979
|
entityId?: Uint8Array | undefined;
|
|
@@ -6041,6 +6055,7 @@ declare const Tx: {
|
|
|
6041
6055
|
nullifiersRoot?: Uint8Array | undefined;
|
|
6042
6056
|
sourceNetworkContractAddr?: Uint8Array | undefined;
|
|
6043
6057
|
tokenDecimals?: number | undefined;
|
|
6058
|
+
tempSIKs?: boolean | undefined;
|
|
6044
6059
|
} & { [K_199 in Exclude<keyof I_1["payload"]["newProcess"]["process"], keyof Process>]: never; }) | undefined;
|
|
6045
6060
|
} & { [K_200 in Exclude<keyof I_1["payload"]["newProcess"], keyof NewProcessTx>]: never; }) | undefined;
|
|
6046
6061
|
$case: "newProcess";
|
|
@@ -6174,6 +6189,7 @@ declare const Tx: {
|
|
|
6174
6189
|
question?: Uint8Array[] | undefined;
|
|
6175
6190
|
}[] | undefined;
|
|
6176
6191
|
} | undefined;
|
|
6192
|
+
tempSIKs?: boolean | undefined;
|
|
6177
6193
|
} | undefined;
|
|
6178
6194
|
} & {
|
|
6179
6195
|
$case: "setProcess";
|
|
@@ -6270,6 +6286,7 @@ declare const Tx: {
|
|
|
6270
6286
|
question?: Uint8Array[] | undefined;
|
|
6271
6287
|
}[] | undefined;
|
|
6272
6288
|
} | undefined;
|
|
6289
|
+
tempSIKs?: boolean | undefined;
|
|
6273
6290
|
} & {
|
|
6274
6291
|
txtype?: TxType | undefined;
|
|
6275
6292
|
nonce?: number | undefined;
|
|
@@ -6573,6 +6590,7 @@ declare const Tx: {
|
|
|
6573
6590
|
question?: Uint8Array[] | undefined;
|
|
6574
6591
|
}[]>]: never; }) | undefined;
|
|
6575
6592
|
} & { [K_235 in Exclude<keyof I_1["payload"]["setProcess"]["results"], "votes">]: never; }) | undefined;
|
|
6593
|
+
tempSIKs?: boolean | undefined;
|
|
6576
6594
|
} & { [K_236 in Exclude<keyof I_1["payload"]["setProcess"], keyof SetProcessTx>]: never; }) | undefined;
|
|
6577
6595
|
$case: "setProcess";
|
|
6578
6596
|
} & { [K_237 in Exclude<keyof I_1["payload"], "$case" | "setProcess">]: never; }) | ({
|
|
@@ -7780,6 +7798,7 @@ declare const NewProcessTx: {
|
|
|
7780
7798
|
nullifiersRoot?: Uint8Array | undefined;
|
|
7781
7799
|
sourceNetworkContractAddr?: Uint8Array | undefined;
|
|
7782
7800
|
tokenDecimals?: number | undefined;
|
|
7801
|
+
tempSIKs?: boolean | undefined;
|
|
7783
7802
|
} | undefined;
|
|
7784
7803
|
} & {
|
|
7785
7804
|
txtype?: TxType | undefined;
|
|
@@ -7837,6 +7856,7 @@ declare const NewProcessTx: {
|
|
|
7837
7856
|
nullifiersRoot?: Uint8Array | undefined;
|
|
7838
7857
|
sourceNetworkContractAddr?: Uint8Array | undefined;
|
|
7839
7858
|
tokenDecimals?: number | undefined;
|
|
7859
|
+
tempSIKs?: boolean | undefined;
|
|
7840
7860
|
} & {
|
|
7841
7861
|
processId?: Uint8Array | undefined;
|
|
7842
7862
|
entityId?: Uint8Array | undefined;
|
|
@@ -7918,6 +7938,7 @@ declare const NewProcessTx: {
|
|
|
7918
7938
|
nullifiersRoot?: Uint8Array | undefined;
|
|
7919
7939
|
sourceNetworkContractAddr?: Uint8Array | undefined;
|
|
7920
7940
|
tokenDecimals?: number | undefined;
|
|
7941
|
+
tempSIKs?: boolean | undefined;
|
|
7921
7942
|
} & { [K_9 in Exclude<keyof I["process"], keyof Process>]: never; }) | undefined;
|
|
7922
7943
|
} & { [K_10 in Exclude<keyof I, keyof NewProcessTx>]: never; }>(base?: I | undefined): NewProcessTx;
|
|
7923
7944
|
fromPartial<I_1 extends {
|
|
@@ -7976,6 +7997,7 @@ declare const NewProcessTx: {
|
|
|
7976
7997
|
nullifiersRoot?: Uint8Array | undefined;
|
|
7977
7998
|
sourceNetworkContractAddr?: Uint8Array | undefined;
|
|
7978
7999
|
tokenDecimals?: number | undefined;
|
|
8000
|
+
tempSIKs?: boolean | undefined;
|
|
7979
8001
|
} | undefined;
|
|
7980
8002
|
} & {
|
|
7981
8003
|
txtype?: TxType | undefined;
|
|
@@ -8033,6 +8055,7 @@ declare const NewProcessTx: {
|
|
|
8033
8055
|
nullifiersRoot?: Uint8Array | undefined;
|
|
8034
8056
|
sourceNetworkContractAddr?: Uint8Array | undefined;
|
|
8035
8057
|
tokenDecimals?: number | undefined;
|
|
8058
|
+
tempSIKs?: boolean | undefined;
|
|
8036
8059
|
} & {
|
|
8037
8060
|
processId?: Uint8Array | undefined;
|
|
8038
8061
|
entityId?: Uint8Array | undefined;
|
|
@@ -8114,6 +8137,7 @@ declare const NewProcessTx: {
|
|
|
8114
8137
|
nullifiersRoot?: Uint8Array | undefined;
|
|
8115
8138
|
sourceNetworkContractAddr?: Uint8Array | undefined;
|
|
8116
8139
|
tokenDecimals?: number | undefined;
|
|
8140
|
+
tempSIKs?: boolean | undefined;
|
|
8117
8141
|
} & { [K_20 in Exclude<keyof I_1["process"], keyof Process>]: never; }) | undefined;
|
|
8118
8142
|
} & { [K_21 in Exclude<keyof I_1, keyof NewProcessTx>]: never; }>(object: I_1): NewProcessTx;
|
|
8119
8143
|
};
|
|
@@ -8127,6 +8151,11 @@ interface SetProcessTx {
|
|
|
8127
8151
|
censusURI?: string | undefined;
|
|
8128
8152
|
proof?: Proof | undefined;
|
|
8129
8153
|
results?: ProcessResult | undefined;
|
|
8154
|
+
/**
|
|
8155
|
+
* tempSIKs flag decides if when the process has finished, the SIKs related
|
|
8156
|
+
* to it will be removed or not
|
|
8157
|
+
*/
|
|
8158
|
+
tempSIKs?: boolean | undefined;
|
|
8130
8159
|
}
|
|
8131
8160
|
declare const SetProcessTx: {
|
|
8132
8161
|
encode(message: SetProcessTx, writer?: _m0.Writer): _m0.Writer;
|
|
@@ -8225,6 +8254,7 @@ declare const SetProcessTx: {
|
|
|
8225
8254
|
question?: Uint8Array[] | undefined;
|
|
8226
8255
|
}[] | undefined;
|
|
8227
8256
|
} | undefined;
|
|
8257
|
+
tempSIKs?: boolean | undefined;
|
|
8228
8258
|
} & {
|
|
8229
8259
|
txtype?: TxType | undefined;
|
|
8230
8260
|
nonce?: number | undefined;
|
|
@@ -8528,6 +8558,7 @@ declare const SetProcessTx: {
|
|
|
8528
8558
|
question?: Uint8Array[] | undefined;
|
|
8529
8559
|
}[]>]: never; }) | undefined;
|
|
8530
8560
|
} & { [K_31 in Exclude<keyof I["results"], "votes">]: never; }) | undefined;
|
|
8561
|
+
tempSIKs?: boolean | undefined;
|
|
8531
8562
|
} & { [K_32 in Exclude<keyof I, keyof SetProcessTx>]: never; }>(base?: I | undefined): SetProcessTx;
|
|
8532
8563
|
fromPartial<I_1 extends {
|
|
8533
8564
|
txtype?: TxType | undefined;
|
|
@@ -8621,6 +8652,7 @@ declare const SetProcessTx: {
|
|
|
8621
8652
|
question?: Uint8Array[] | undefined;
|
|
8622
8653
|
}[] | undefined;
|
|
8623
8654
|
} | undefined;
|
|
8655
|
+
tempSIKs?: boolean | undefined;
|
|
8624
8656
|
} & {
|
|
8625
8657
|
txtype?: TxType | undefined;
|
|
8626
8658
|
nonce?: number | undefined;
|
|
@@ -8924,6 +8956,7 @@ declare const SetProcessTx: {
|
|
|
8924
8956
|
question?: Uint8Array[] | undefined;
|
|
8925
8957
|
}[]>]: never; }) | undefined;
|
|
8926
8958
|
} & { [K_64 in Exclude<keyof I_1["results"], "votes">]: never; }) | undefined;
|
|
8959
|
+
tempSIKs?: boolean | undefined;
|
|
8927
8960
|
} & { [K_65 in Exclude<keyof I_1, keyof SetProcessTx>]: never; }>(object: I_1): SetProcessTx;
|
|
8928
8961
|
};
|
|
8929
8962
|
interface AdminTx {
|
|
@@ -10871,6 +10904,11 @@ interface Process {
|
|
|
10871
10904
|
* It is normally used for processes with on-chain census
|
|
10872
10905
|
*/
|
|
10873
10906
|
tokenDecimals?: number | undefined;
|
|
10907
|
+
/**
|
|
10908
|
+
* tempSIKs flag decides if when the process has finished, the SIKs related
|
|
10909
|
+
* to it will be removed or not
|
|
10910
|
+
*/
|
|
10911
|
+
tempSIKs?: boolean | undefined;
|
|
10874
10912
|
}
|
|
10875
10913
|
declare const Process: {
|
|
10876
10914
|
encode(message: Process, writer?: _m0.Writer): _m0.Writer;
|
|
@@ -10930,6 +10968,7 @@ declare const Process: {
|
|
|
10930
10968
|
nullifiersRoot?: Uint8Array | undefined;
|
|
10931
10969
|
sourceNetworkContractAddr?: Uint8Array | undefined;
|
|
10932
10970
|
tokenDecimals?: number | undefined;
|
|
10971
|
+
tempSIKs?: boolean | undefined;
|
|
10933
10972
|
} & {
|
|
10934
10973
|
processId?: Uint8Array | undefined;
|
|
10935
10974
|
entityId?: Uint8Array | undefined;
|
|
@@ -11011,6 +11050,7 @@ declare const Process: {
|
|
|
11011
11050
|
nullifiersRoot?: Uint8Array | undefined;
|
|
11012
11051
|
sourceNetworkContractAddr?: Uint8Array | undefined;
|
|
11013
11052
|
tokenDecimals?: number | undefined;
|
|
11053
|
+
tempSIKs?: boolean | undefined;
|
|
11014
11054
|
} & { [K_9 in Exclude<keyof I, keyof Process>]: never; }>(base?: I | undefined): Process;
|
|
11015
11055
|
fromPartial<I_1 extends {
|
|
11016
11056
|
processId?: Uint8Array | undefined;
|
|
@@ -11065,6 +11105,7 @@ declare const Process: {
|
|
|
11065
11105
|
nullifiersRoot?: Uint8Array | undefined;
|
|
11066
11106
|
sourceNetworkContractAddr?: Uint8Array | undefined;
|
|
11067
11107
|
tokenDecimals?: number | undefined;
|
|
11108
|
+
tempSIKs?: boolean | undefined;
|
|
11068
11109
|
} & {
|
|
11069
11110
|
processId?: Uint8Array | undefined;
|
|
11070
11111
|
entityId?: Uint8Array | undefined;
|
|
@@ -11146,6 +11187,7 @@ declare const Process: {
|
|
|
11146
11187
|
nullifiersRoot?: Uint8Array | undefined;
|
|
11147
11188
|
sourceNetworkContractAddr?: Uint8Array | undefined;
|
|
11148
11189
|
tokenDecimals?: number | undefined;
|
|
11190
|
+
tempSIKs?: boolean | undefined;
|
|
11149
11191
|
} & { [K_19 in Exclude<keyof I_1, keyof Process>]: never; }>(object: I_1): Process;
|
|
11150
11192
|
};
|
|
11151
11193
|
interface EnvelopeType {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { i as ClientStore } from './index-d457aeb5.js';
|
|
2
2
|
export { i as Metadata } from './index-05df597a.js';
|
|
3
|
-
export { i as Vochain } from './index-
|
|
3
|
+
export { i as Vochain } from './index-fe26a63a.js';
|
|
4
4
|
import 'protobufjs/minimal';
|
|
5
5
|
import './entity-e8dfcd83.js';
|
|
@@ -8004,7 +8004,8 @@ function createBaseSetProcessTx() {
|
|
|
8004
8004
|
censusRoot: void 0,
|
|
8005
8005
|
censusURI: void 0,
|
|
8006
8006
|
proof: void 0,
|
|
8007
|
-
results: void 0
|
|
8007
|
+
results: void 0,
|
|
8008
|
+
tempSIKs: void 0
|
|
8008
8009
|
};
|
|
8009
8010
|
}
|
|
8010
8011
|
var SetProcessTx = {
|
|
@@ -8036,6 +8037,9 @@ var SetProcessTx = {
|
|
|
8036
8037
|
if (message.results !== void 0) {
|
|
8037
8038
|
ProcessResult.encode(message.results, writer.uint32(74).fork()).ldelim();
|
|
8038
8039
|
}
|
|
8040
|
+
if (message.tempSIKs !== void 0) {
|
|
8041
|
+
writer.uint32(80).bool(message.tempSIKs);
|
|
8042
|
+
}
|
|
8039
8043
|
return writer;
|
|
8040
8044
|
},
|
|
8041
8045
|
decode(input, length) {
|
|
@@ -8099,6 +8103,12 @@ var SetProcessTx = {
|
|
|
8099
8103
|
}
|
|
8100
8104
|
message.results = ProcessResult.decode(reader, reader.uint32());
|
|
8101
8105
|
continue;
|
|
8106
|
+
case 10:
|
|
8107
|
+
if (tag !== 80) {
|
|
8108
|
+
break;
|
|
8109
|
+
}
|
|
8110
|
+
message.tempSIKs = reader.bool();
|
|
8111
|
+
continue;
|
|
8102
8112
|
}
|
|
8103
8113
|
if ((tag & 7) === 4 || tag === 0) {
|
|
8104
8114
|
break;
|
|
@@ -8117,7 +8127,8 @@ var SetProcessTx = {
|
|
|
8117
8127
|
censusRoot: isSet8(object.censusRoot) ? bytesFromBase643(object.censusRoot) : void 0,
|
|
8118
8128
|
censusURI: isSet8(object.censusURI) ? String(object.censusURI) : void 0,
|
|
8119
8129
|
proof: isSet8(object.proof) ? Proof.fromJSON(object.proof) : void 0,
|
|
8120
|
-
results: isSet8(object.results) ? ProcessResult.fromJSON(object.results) : void 0
|
|
8130
|
+
results: isSet8(object.results) ? ProcessResult.fromJSON(object.results) : void 0,
|
|
8131
|
+
tempSIKs: isSet8(object.tempSIKs) ? Boolean(object.tempSIKs) : void 0
|
|
8121
8132
|
};
|
|
8122
8133
|
},
|
|
8123
8134
|
toJSON(message) {
|
|
@@ -8149,6 +8160,9 @@ var SetProcessTx = {
|
|
|
8149
8160
|
if (message.results !== void 0) {
|
|
8150
8161
|
obj.results = ProcessResult.toJSON(message.results);
|
|
8151
8162
|
}
|
|
8163
|
+
if (message.tempSIKs !== void 0) {
|
|
8164
|
+
obj.tempSIKs = message.tempSIKs;
|
|
8165
|
+
}
|
|
8152
8166
|
return obj;
|
|
8153
8167
|
},
|
|
8154
8168
|
create(base) {
|
|
@@ -8165,6 +8179,7 @@ var SetProcessTx = {
|
|
|
8165
8179
|
message.censusURI = object.censusURI ?? void 0;
|
|
8166
8180
|
message.proof = object.proof !== void 0 && object.proof !== null ? Proof.fromPartial(object.proof) : void 0;
|
|
8167
8181
|
message.results = object.results !== void 0 && object.results !== null ? ProcessResult.fromPartial(object.results) : void 0;
|
|
8182
|
+
message.tempSIKs = object.tempSIKs ?? void 0;
|
|
8168
8183
|
return message;
|
|
8169
8184
|
}
|
|
8170
8185
|
};
|
|
@@ -9359,7 +9374,8 @@ function createBaseProcess() {
|
|
|
9359
9374
|
rollingCensusSize: void 0,
|
|
9360
9375
|
nullifiersRoot: void 0,
|
|
9361
9376
|
sourceNetworkContractAddr: void 0,
|
|
9362
|
-
tokenDecimals: void 0
|
|
9377
|
+
tokenDecimals: void 0,
|
|
9378
|
+
tempSIKs: void 0
|
|
9363
9379
|
};
|
|
9364
9380
|
}
|
|
9365
9381
|
var Process = {
|
|
@@ -9454,6 +9470,9 @@ var Process = {
|
|
|
9454
9470
|
if (message.tokenDecimals !== void 0) {
|
|
9455
9471
|
writer.uint32(264).uint32(message.tokenDecimals);
|
|
9456
9472
|
}
|
|
9473
|
+
if (message.tempSIKs !== void 0) {
|
|
9474
|
+
writer.uint32(272).bool(message.tempSIKs);
|
|
9475
|
+
}
|
|
9457
9476
|
return writer;
|
|
9458
9477
|
},
|
|
9459
9478
|
decode(input, length) {
|
|
@@ -9643,6 +9662,12 @@ var Process = {
|
|
|
9643
9662
|
}
|
|
9644
9663
|
message.tokenDecimals = reader.uint32();
|
|
9645
9664
|
continue;
|
|
9665
|
+
case 34:
|
|
9666
|
+
if (tag !== 272) {
|
|
9667
|
+
break;
|
|
9668
|
+
}
|
|
9669
|
+
message.tempSIKs = reader.bool();
|
|
9670
|
+
continue;
|
|
9646
9671
|
}
|
|
9647
9672
|
if ((tag & 7) === 4 || tag === 0) {
|
|
9648
9673
|
break;
|
|
@@ -9682,7 +9707,8 @@ var Process = {
|
|
|
9682
9707
|
rollingCensusSize: isSet8(object.rollingCensusSize) ? Number(object.rollingCensusSize) : void 0,
|
|
9683
9708
|
nullifiersRoot: isSet8(object.nullifiersRoot) ? bytesFromBase643(object.nullifiersRoot) : void 0,
|
|
9684
9709
|
sourceNetworkContractAddr: isSet8(object.sourceNetworkContractAddr) ? bytesFromBase643(object.sourceNetworkContractAddr) : void 0,
|
|
9685
|
-
tokenDecimals: isSet8(object.tokenDecimals) ? Number(object.tokenDecimals) : void 0
|
|
9710
|
+
tokenDecimals: isSet8(object.tokenDecimals) ? Number(object.tokenDecimals) : void 0,
|
|
9711
|
+
tempSIKs: isSet8(object.tempSIKs) ? Boolean(object.tempSIKs) : void 0
|
|
9686
9712
|
};
|
|
9687
9713
|
},
|
|
9688
9714
|
toJSON(message) {
|
|
@@ -9777,6 +9803,9 @@ var Process = {
|
|
|
9777
9803
|
if (message.tokenDecimals !== void 0) {
|
|
9778
9804
|
obj.tokenDecimals = Math.round(message.tokenDecimals);
|
|
9779
9805
|
}
|
|
9806
|
+
if (message.tempSIKs !== void 0) {
|
|
9807
|
+
obj.tempSIKs = message.tempSIKs;
|
|
9808
|
+
}
|
|
9780
9809
|
return obj;
|
|
9781
9810
|
},
|
|
9782
9811
|
create(base) {
|
|
@@ -9814,6 +9843,7 @@ var Process = {
|
|
|
9814
9843
|
message.nullifiersRoot = object.nullifiersRoot ?? void 0;
|
|
9815
9844
|
message.sourceNetworkContractAddr = object.sourceNetworkContractAddr ?? void 0;
|
|
9816
9845
|
message.tokenDecimals = object.tokenDecimals ?? void 0;
|
|
9846
|
+
message.tempSIKs = object.tempSIKs ?? void 0;
|
|
9817
9847
|
return message;
|
|
9818
9848
|
}
|
|
9819
9849
|
};
|
|
@@ -7993,7 +7993,8 @@ function createBaseSetProcessTx() {
|
|
|
7993
7993
|
censusRoot: void 0,
|
|
7994
7994
|
censusURI: void 0,
|
|
7995
7995
|
proof: void 0,
|
|
7996
|
-
results: void 0
|
|
7996
|
+
results: void 0,
|
|
7997
|
+
tempSIKs: void 0
|
|
7997
7998
|
};
|
|
7998
7999
|
}
|
|
7999
8000
|
var SetProcessTx = {
|
|
@@ -8025,6 +8026,9 @@ var SetProcessTx = {
|
|
|
8025
8026
|
if (message.results !== void 0) {
|
|
8026
8027
|
ProcessResult.encode(message.results, writer.uint32(74).fork()).ldelim();
|
|
8027
8028
|
}
|
|
8029
|
+
if (message.tempSIKs !== void 0) {
|
|
8030
|
+
writer.uint32(80).bool(message.tempSIKs);
|
|
8031
|
+
}
|
|
8028
8032
|
return writer;
|
|
8029
8033
|
},
|
|
8030
8034
|
decode(input, length) {
|
|
@@ -8088,6 +8092,12 @@ var SetProcessTx = {
|
|
|
8088
8092
|
}
|
|
8089
8093
|
message.results = ProcessResult.decode(reader, reader.uint32());
|
|
8090
8094
|
continue;
|
|
8095
|
+
case 10:
|
|
8096
|
+
if (tag !== 80) {
|
|
8097
|
+
break;
|
|
8098
|
+
}
|
|
8099
|
+
message.tempSIKs = reader.bool();
|
|
8100
|
+
continue;
|
|
8091
8101
|
}
|
|
8092
8102
|
if ((tag & 7) === 4 || tag === 0) {
|
|
8093
8103
|
break;
|
|
@@ -8106,7 +8116,8 @@ var SetProcessTx = {
|
|
|
8106
8116
|
censusRoot: isSet8(object.censusRoot) ? bytesFromBase643(object.censusRoot) : void 0,
|
|
8107
8117
|
censusURI: isSet8(object.censusURI) ? String(object.censusURI) : void 0,
|
|
8108
8118
|
proof: isSet8(object.proof) ? Proof.fromJSON(object.proof) : void 0,
|
|
8109
|
-
results: isSet8(object.results) ? ProcessResult.fromJSON(object.results) : void 0
|
|
8119
|
+
results: isSet8(object.results) ? ProcessResult.fromJSON(object.results) : void 0,
|
|
8120
|
+
tempSIKs: isSet8(object.tempSIKs) ? Boolean(object.tempSIKs) : void 0
|
|
8110
8121
|
};
|
|
8111
8122
|
},
|
|
8112
8123
|
toJSON(message) {
|
|
@@ -8138,6 +8149,9 @@ var SetProcessTx = {
|
|
|
8138
8149
|
if (message.results !== void 0) {
|
|
8139
8150
|
obj.results = ProcessResult.toJSON(message.results);
|
|
8140
8151
|
}
|
|
8152
|
+
if (message.tempSIKs !== void 0) {
|
|
8153
|
+
obj.tempSIKs = message.tempSIKs;
|
|
8154
|
+
}
|
|
8141
8155
|
return obj;
|
|
8142
8156
|
},
|
|
8143
8157
|
create(base) {
|
|
@@ -8154,6 +8168,7 @@ var SetProcessTx = {
|
|
|
8154
8168
|
message.censusURI = object.censusURI ?? void 0;
|
|
8155
8169
|
message.proof = object.proof !== void 0 && object.proof !== null ? Proof.fromPartial(object.proof) : void 0;
|
|
8156
8170
|
message.results = object.results !== void 0 && object.results !== null ? ProcessResult.fromPartial(object.results) : void 0;
|
|
8171
|
+
message.tempSIKs = object.tempSIKs ?? void 0;
|
|
8157
8172
|
return message;
|
|
8158
8173
|
}
|
|
8159
8174
|
};
|
|
@@ -9348,7 +9363,8 @@ function createBaseProcess() {
|
|
|
9348
9363
|
rollingCensusSize: void 0,
|
|
9349
9364
|
nullifiersRoot: void 0,
|
|
9350
9365
|
sourceNetworkContractAddr: void 0,
|
|
9351
|
-
tokenDecimals: void 0
|
|
9366
|
+
tokenDecimals: void 0,
|
|
9367
|
+
tempSIKs: void 0
|
|
9352
9368
|
};
|
|
9353
9369
|
}
|
|
9354
9370
|
var Process = {
|
|
@@ -9443,6 +9459,9 @@ var Process = {
|
|
|
9443
9459
|
if (message.tokenDecimals !== void 0) {
|
|
9444
9460
|
writer.uint32(264).uint32(message.tokenDecimals);
|
|
9445
9461
|
}
|
|
9462
|
+
if (message.tempSIKs !== void 0) {
|
|
9463
|
+
writer.uint32(272).bool(message.tempSIKs);
|
|
9464
|
+
}
|
|
9446
9465
|
return writer;
|
|
9447
9466
|
},
|
|
9448
9467
|
decode(input, length) {
|
|
@@ -9632,6 +9651,12 @@ var Process = {
|
|
|
9632
9651
|
}
|
|
9633
9652
|
message.tokenDecimals = reader.uint32();
|
|
9634
9653
|
continue;
|
|
9654
|
+
case 34:
|
|
9655
|
+
if (tag !== 272) {
|
|
9656
|
+
break;
|
|
9657
|
+
}
|
|
9658
|
+
message.tempSIKs = reader.bool();
|
|
9659
|
+
continue;
|
|
9635
9660
|
}
|
|
9636
9661
|
if ((tag & 7) === 4 || tag === 0) {
|
|
9637
9662
|
break;
|
|
@@ -9671,7 +9696,8 @@ var Process = {
|
|
|
9671
9696
|
rollingCensusSize: isSet8(object.rollingCensusSize) ? Number(object.rollingCensusSize) : void 0,
|
|
9672
9697
|
nullifiersRoot: isSet8(object.nullifiersRoot) ? bytesFromBase643(object.nullifiersRoot) : void 0,
|
|
9673
9698
|
sourceNetworkContractAddr: isSet8(object.sourceNetworkContractAddr) ? bytesFromBase643(object.sourceNetworkContractAddr) : void 0,
|
|
9674
|
-
tokenDecimals: isSet8(object.tokenDecimals) ? Number(object.tokenDecimals) : void 0
|
|
9699
|
+
tokenDecimals: isSet8(object.tokenDecimals) ? Number(object.tokenDecimals) : void 0,
|
|
9700
|
+
tempSIKs: isSet8(object.tempSIKs) ? Boolean(object.tempSIKs) : void 0
|
|
9675
9701
|
};
|
|
9676
9702
|
},
|
|
9677
9703
|
toJSON(message) {
|
|
@@ -9766,6 +9792,9 @@ var Process = {
|
|
|
9766
9792
|
if (message.tokenDecimals !== void 0) {
|
|
9767
9793
|
obj.tokenDecimals = Math.round(message.tokenDecimals);
|
|
9768
9794
|
}
|
|
9795
|
+
if (message.tempSIKs !== void 0) {
|
|
9796
|
+
obj.tempSIKs = message.tempSIKs;
|
|
9797
|
+
}
|
|
9769
9798
|
return obj;
|
|
9770
9799
|
},
|
|
9771
9800
|
create(base) {
|
|
@@ -9803,6 +9832,7 @@ var Process = {
|
|
|
9803
9832
|
message.nullifiersRoot = object.nullifiersRoot ?? void 0;
|
|
9804
9833
|
message.sourceNetworkContractAddr = object.sourceNetworkContractAddr ?? void 0;
|
|
9805
9834
|
message.tokenDecimals = object.tokenDecimals ?? void 0;
|
|
9835
|
+
message.tempSIKs = object.tempSIKs ?? void 0;
|
|
9806
9836
|
return message;
|
|
9807
9837
|
}
|
|
9808
9838
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { H as Account, M as AdminTx, x as CAbundle, f as Census, C as CensusOrigin, g as Census_Type, Z as CollectFaucetTx, a2 as EnvelopeType, $ as FaucetPackage, _ as FaucetPayload, O as MintTokensTx, N as NewProcessTx, a5 as OracleList, a1 as Process, ab as ProcessEndingList, a3 as ProcessMode, a9 as ProcessResult, P as ProcessStatus, a4 as ProcessVoteOptions, k as Proof, y as ProofArbo, D as ProofArbo_KeyType, z as ProofArbo_Type, r as ProofCA, u as ProofCA_Type, o as ProofEthereumAccount, n as ProofEthereumStorage, l as ProofGraviton, m as ProofIden3, q as ProofMinime, G as ProofZkSNARK, aa as QuestionResult, R as RegisterKeyTx, Y as RegisterSIKTx, X as SIKTx, Q as SendTokensTx, W as SetAccountTx, a0 as SetKeykeeperTx, L as SetProcessTx, U as SetTransactionCostsTx, K as SignedTx, S as SourceNetworkId, ac as StoredKeys, a8 as TendermintHeader, I as Treasurer, J as Tx, T as TxType, a7 as Validator, a6 as ValidatorList, V as VoteEnvelope, d as censusOriginFromJSON, e as censusOriginToJSON, h as census_TypeFromJSON, j as census_TypeToJSON, p as processStatusFromJSON, b as processStatusToJSON, E as proofArbo_KeyTypeFromJSON, F as proofArbo_KeyTypeToJSON, A as proofArbo_TypeFromJSON, B as proofArbo_TypeToJSON, v as proofCA_TypeFromJSON, w as proofCA_TypeToJSON, s as sourceNetworkIdFromJSON, c as sourceNetworkIdToJSON, t as txTypeFromJSON, a as txTypeToJSON } from '../index-
|
|
1
|
+
export { H as Account, M as AdminTx, x as CAbundle, f as Census, C as CensusOrigin, g as Census_Type, Z as CollectFaucetTx, a2 as EnvelopeType, $ as FaucetPackage, _ as FaucetPayload, O as MintTokensTx, N as NewProcessTx, a5 as OracleList, a1 as Process, ab as ProcessEndingList, a3 as ProcessMode, a9 as ProcessResult, P as ProcessStatus, a4 as ProcessVoteOptions, k as Proof, y as ProofArbo, D as ProofArbo_KeyType, z as ProofArbo_Type, r as ProofCA, u as ProofCA_Type, o as ProofEthereumAccount, n as ProofEthereumStorage, l as ProofGraviton, m as ProofIden3, q as ProofMinime, G as ProofZkSNARK, aa as QuestionResult, R as RegisterKeyTx, Y as RegisterSIKTx, X as SIKTx, Q as SendTokensTx, W as SetAccountTx, a0 as SetKeykeeperTx, L as SetProcessTx, U as SetTransactionCostsTx, K as SignedTx, S as SourceNetworkId, ac as StoredKeys, a8 as TendermintHeader, I as Treasurer, J as Tx, T as TxType, a7 as Validator, a6 as ValidatorList, V as VoteEnvelope, d as censusOriginFromJSON, e as censusOriginToJSON, h as census_TypeFromJSON, j as census_TypeToJSON, p as processStatusFromJSON, b as processStatusToJSON, E as proofArbo_KeyTypeFromJSON, F as proofArbo_KeyTypeToJSON, A as proofArbo_TypeFromJSON, B as proofArbo_TypeToJSON, v as proofCA_TypeFromJSON, w as proofCA_TypeToJSON, s as sourceNetworkIdFromJSON, c as sourceNetworkIdToJSON, t as txTypeFromJSON, a as txTypeToJSON } from '../index-fe26a63a.js';
|
|
2
2
|
import 'protobufjs/minimal';
|
|
@@ -3765,7 +3765,8 @@ function createBaseSetProcessTx() {
|
|
|
3765
3765
|
censusRoot: void 0,
|
|
3766
3766
|
censusURI: void 0,
|
|
3767
3767
|
proof: void 0,
|
|
3768
|
-
results: void 0
|
|
3768
|
+
results: void 0,
|
|
3769
|
+
tempSIKs: void 0
|
|
3769
3770
|
};
|
|
3770
3771
|
}
|
|
3771
3772
|
var SetProcessTx = {
|
|
@@ -3797,6 +3798,9 @@ var SetProcessTx = {
|
|
|
3797
3798
|
if (message.results !== void 0) {
|
|
3798
3799
|
ProcessResult.encode(message.results, writer.uint32(74).fork()).ldelim();
|
|
3799
3800
|
}
|
|
3801
|
+
if (message.tempSIKs !== void 0) {
|
|
3802
|
+
writer.uint32(80).bool(message.tempSIKs);
|
|
3803
|
+
}
|
|
3800
3804
|
return writer;
|
|
3801
3805
|
},
|
|
3802
3806
|
decode(input, length) {
|
|
@@ -3860,6 +3864,12 @@ var SetProcessTx = {
|
|
|
3860
3864
|
}
|
|
3861
3865
|
message.results = ProcessResult.decode(reader, reader.uint32());
|
|
3862
3866
|
continue;
|
|
3867
|
+
case 10:
|
|
3868
|
+
if (tag !== 80) {
|
|
3869
|
+
break;
|
|
3870
|
+
}
|
|
3871
|
+
message.tempSIKs = reader.bool();
|
|
3872
|
+
continue;
|
|
3863
3873
|
}
|
|
3864
3874
|
if ((tag & 7) === 4 || tag === 0) {
|
|
3865
3875
|
break;
|
|
@@ -3878,7 +3888,8 @@ var SetProcessTx = {
|
|
|
3878
3888
|
censusRoot: isSet(object.censusRoot) ? bytesFromBase64(object.censusRoot) : void 0,
|
|
3879
3889
|
censusURI: isSet(object.censusURI) ? String(object.censusURI) : void 0,
|
|
3880
3890
|
proof: isSet(object.proof) ? Proof.fromJSON(object.proof) : void 0,
|
|
3881
|
-
results: isSet(object.results) ? ProcessResult.fromJSON(object.results) : void 0
|
|
3891
|
+
results: isSet(object.results) ? ProcessResult.fromJSON(object.results) : void 0,
|
|
3892
|
+
tempSIKs: isSet(object.tempSIKs) ? Boolean(object.tempSIKs) : void 0
|
|
3882
3893
|
};
|
|
3883
3894
|
},
|
|
3884
3895
|
toJSON(message) {
|
|
@@ -3910,6 +3921,9 @@ var SetProcessTx = {
|
|
|
3910
3921
|
if (message.results !== void 0) {
|
|
3911
3922
|
obj.results = ProcessResult.toJSON(message.results);
|
|
3912
3923
|
}
|
|
3924
|
+
if (message.tempSIKs !== void 0) {
|
|
3925
|
+
obj.tempSIKs = message.tempSIKs;
|
|
3926
|
+
}
|
|
3913
3927
|
return obj;
|
|
3914
3928
|
},
|
|
3915
3929
|
create(base) {
|
|
@@ -3926,6 +3940,7 @@ var SetProcessTx = {
|
|
|
3926
3940
|
message.censusURI = object.censusURI ?? void 0;
|
|
3927
3941
|
message.proof = object.proof !== void 0 && object.proof !== null ? Proof.fromPartial(object.proof) : void 0;
|
|
3928
3942
|
message.results = object.results !== void 0 && object.results !== null ? ProcessResult.fromPartial(object.results) : void 0;
|
|
3943
|
+
message.tempSIKs = object.tempSIKs ?? void 0;
|
|
3929
3944
|
return message;
|
|
3930
3945
|
}
|
|
3931
3946
|
};
|
|
@@ -5120,7 +5135,8 @@ function createBaseProcess() {
|
|
|
5120
5135
|
rollingCensusSize: void 0,
|
|
5121
5136
|
nullifiersRoot: void 0,
|
|
5122
5137
|
sourceNetworkContractAddr: void 0,
|
|
5123
|
-
tokenDecimals: void 0
|
|
5138
|
+
tokenDecimals: void 0,
|
|
5139
|
+
tempSIKs: void 0
|
|
5124
5140
|
};
|
|
5125
5141
|
}
|
|
5126
5142
|
var Process = {
|
|
@@ -5215,6 +5231,9 @@ var Process = {
|
|
|
5215
5231
|
if (message.tokenDecimals !== void 0) {
|
|
5216
5232
|
writer.uint32(264).uint32(message.tokenDecimals);
|
|
5217
5233
|
}
|
|
5234
|
+
if (message.tempSIKs !== void 0) {
|
|
5235
|
+
writer.uint32(272).bool(message.tempSIKs);
|
|
5236
|
+
}
|
|
5218
5237
|
return writer;
|
|
5219
5238
|
},
|
|
5220
5239
|
decode(input, length) {
|
|
@@ -5404,6 +5423,12 @@ var Process = {
|
|
|
5404
5423
|
}
|
|
5405
5424
|
message.tokenDecimals = reader.uint32();
|
|
5406
5425
|
continue;
|
|
5426
|
+
case 34:
|
|
5427
|
+
if (tag !== 272) {
|
|
5428
|
+
break;
|
|
5429
|
+
}
|
|
5430
|
+
message.tempSIKs = reader.bool();
|
|
5431
|
+
continue;
|
|
5407
5432
|
}
|
|
5408
5433
|
if ((tag & 7) === 4 || tag === 0) {
|
|
5409
5434
|
break;
|
|
@@ -5443,7 +5468,8 @@ var Process = {
|
|
|
5443
5468
|
rollingCensusSize: isSet(object.rollingCensusSize) ? Number(object.rollingCensusSize) : void 0,
|
|
5444
5469
|
nullifiersRoot: isSet(object.nullifiersRoot) ? bytesFromBase64(object.nullifiersRoot) : void 0,
|
|
5445
5470
|
sourceNetworkContractAddr: isSet(object.sourceNetworkContractAddr) ? bytesFromBase64(object.sourceNetworkContractAddr) : void 0,
|
|
5446
|
-
tokenDecimals: isSet(object.tokenDecimals) ? Number(object.tokenDecimals) : void 0
|
|
5471
|
+
tokenDecimals: isSet(object.tokenDecimals) ? Number(object.tokenDecimals) : void 0,
|
|
5472
|
+
tempSIKs: isSet(object.tempSIKs) ? Boolean(object.tempSIKs) : void 0
|
|
5447
5473
|
};
|
|
5448
5474
|
},
|
|
5449
5475
|
toJSON(message) {
|
|
@@ -5538,6 +5564,9 @@ var Process = {
|
|
|
5538
5564
|
if (message.tokenDecimals !== void 0) {
|
|
5539
5565
|
obj.tokenDecimals = Math.round(message.tokenDecimals);
|
|
5540
5566
|
}
|
|
5567
|
+
if (message.tempSIKs !== void 0) {
|
|
5568
|
+
obj.tempSIKs = message.tempSIKs;
|
|
5569
|
+
}
|
|
5541
5570
|
return obj;
|
|
5542
5571
|
},
|
|
5543
5572
|
create(base) {
|
|
@@ -5575,6 +5604,7 @@ var Process = {
|
|
|
5575
5604
|
message.nullifiersRoot = object.nullifiersRoot ?? void 0;
|
|
5576
5605
|
message.sourceNetworkContractAddr = object.sourceNetworkContractAddr ?? void 0;
|
|
5577
5606
|
message.tokenDecimals = object.tokenDecimals ?? void 0;
|
|
5607
|
+
message.tempSIKs = object.tempSIKs ?? void 0;
|
|
5578
5608
|
return message;
|
|
5579
5609
|
}
|
|
5580
5610
|
};
|