Skip to content

Commit 79632e9

Browse files
committed
Merge remote-tracking branch 'origin/main' into nitrogen
2 parents 50dd074 + d9d1122 commit 79632e9

File tree

3 files changed

+53
-64
lines changed

3 files changed

+53
-64
lines changed

docs/devdocs/Solidity API/FHE.md

+43-43
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ Pure in this function is marked as a hack/workaround - note that this function i
132132
function add(euint64 lhs, euint64 rhs) internal pure returns (euint64)
133133
```
134134

135-
This functions performs the add operation
135+
This function performs the add operation
136136

137137
_If any of the inputs are expected to be a ciphertext, it verifies that the value matches a valid ciphertext
138138
Pure in this function is marked as a hack/workaround - note that this function is NOT pure as fetches of ciphertexts require state access_
@@ -156,7 +156,7 @@ Pure in this function is marked as a hack/workaround - note that this function i
156156
function add(euint128 lhs, euint128 rhs) internal pure returns (euint128)
157157
```
158158

159-
This functions performs the add operation
159+
This function performs the add operation
160160

161161
_If any of the inputs are expected to be a ciphertext, it verifies that the value matches a valid ciphertext
162162
Pure in this function is marked as a hack/workaround - note that this function is NOT pure as fetches of ciphertexts require state access_
@@ -341,7 +341,7 @@ _Pure in this function is marked as a hack/workaround - note that this function
341341
function sealoutput(eaddress value, bytes32 publicKey) internal pure returns (string)
342342
```
343343

344-
performs the sealoutput function on a eaddress ciphertext. This operation returns the plaintext value, sealed for the public key provided
344+
performs the sealoutput function on an eaddress ciphertext. This operation returns the plaintext value, sealed for the public key provided
345345

346346
_Pure in this function is marked as a hack/workaround - note that this function is NOT pure as fetches of ciphertexts require state access_
347347

@@ -564,7 +564,7 @@ Pure in this function is marked as a hack/workaround - note that this function i
564564
function lte(euint64 lhs, euint64 rhs) internal pure returns (ebool)
565565
```
566566

567-
This functions performs the lte operation
567+
This function performs the lte operation
568568

569569
_If any of the inputs are expected to be a ciphertext, it verifies that the value matches a valid ciphertext
570570
Pure in this function is marked as a hack/workaround - note that this function is NOT pure as fetches of ciphertexts require state access_
@@ -588,7 +588,7 @@ Pure in this function is marked as a hack/workaround - note that this function i
588588
function lte(euint128 lhs, euint128 rhs) internal pure returns (ebool)
589589
```
590590

591-
This functions performs the lte operation
591+
This function performs the lte operation
592592

593593
_If any of the inputs are expected to be a ciphertext, it verifies that the value matches a valid ciphertext
594594
Pure in this function is marked as a hack/workaround - note that this function is NOT pure as fetches of ciphertexts require state access_
@@ -684,7 +684,7 @@ Pure in this function is marked as a hack/workaround - note that this function i
684684
function sub(euint64 lhs, euint64 rhs) internal pure returns (euint64)
685685
```
686686

687-
This functions performs the sub operation
687+
This function performs the sub operation
688688

689689
_If any of the inputs are expected to be a ciphertext, it verifies that the value matches a valid ciphertext
690690
Pure in this function is marked as a hack/workaround - note that this function is NOT pure as fetches of ciphertexts require state access_
@@ -708,7 +708,7 @@ Pure in this function is marked as a hack/workaround - note that this function i
708708
function sub(euint128 lhs, euint128 rhs) internal pure returns (euint128)
709709
```
710710

711-
This functions performs the sub operation
711+
This function performs the sub operation
712712

713713
_If any of the inputs are expected to be a ciphertext, it verifies that the value matches a valid ciphertext
714714
Pure in this function is marked as a hack/workaround - note that this function is NOT pure as fetches of ciphertexts require state access_
@@ -804,7 +804,7 @@ Pure in this function is marked as a hack/workaround - note that this function i
804804
function mul(euint64 lhs, euint64 rhs) internal pure returns (euint64)
805805
```
806806

807-
This functions performs the mul operation
807+
This function performs the mul operation
808808

809809
_If any of the inputs are expected to be a ciphertext, it verifies that the value matches a valid ciphertext
810810
Pure in this function is marked as a hack/workaround - note that this function is NOT pure as fetches of ciphertexts require state access_
@@ -900,7 +900,7 @@ Pure in this function is marked as a hack/workaround - note that this function i
900900
function lt(euint64 lhs, euint64 rhs) internal pure returns (ebool)
901901
```
902902

903-
This functions performs the lt operation
903+
This function performs the lt operation
904904

905905
_If any of the inputs are expected to be a ciphertext, it verifies that the value matches a valid ciphertext
906906
Pure in this function is marked as a hack/workaround - note that this function is NOT pure as fetches of ciphertexts require state access_
@@ -924,7 +924,7 @@ Pure in this function is marked as a hack/workaround - note that this function i
924924
function lt(euint128 lhs, euint128 rhs) internal pure returns (ebool)
925925
```
926926

927-
This functions performs the lt operation
927+
This function performs the lt operation
928928

929929
_If any of the inputs are expected to be a ciphertext, it verifies that the value matches a valid ciphertext
930930
Pure in this function is marked as a hack/workaround - note that this function is NOT pure as fetches of ciphertexts require state access_
@@ -1252,7 +1252,7 @@ Pure in this function is marked as a hack/workaround - note that this function i
12521252
function gt(euint64 lhs, euint64 rhs) internal pure returns (ebool)
12531253
```
12541254

1255-
This functions performs the gt operation
1255+
This function performs the gt operation
12561256

12571257
_If any of the inputs are expected to be a ciphertext, it verifies that the value matches a valid ciphertext
12581258
Pure in this function is marked as a hack/workaround - note that this function is NOT pure as fetches of ciphertexts require state access_
@@ -1276,7 +1276,7 @@ Pure in this function is marked as a hack/workaround - note that this function i
12761276
function gt(euint128 lhs, euint128 rhs) internal pure returns (ebool)
12771277
```
12781278

1279-
This functions performs the gt operation
1279+
This function performs the gt operation
12801280

12811281
_If any of the inputs are expected to be a ciphertext, it verifies that the value matches a valid ciphertext
12821282
Pure in this function is marked as a hack/workaround - note that this function is NOT pure as fetches of ciphertexts require state access_
@@ -1372,7 +1372,7 @@ Pure in this function is marked as a hack/workaround - note that this function i
13721372
function gte(euint64 lhs, euint64 rhs) internal pure returns (ebool)
13731373
```
13741374

1375-
This functions performs the gte operation
1375+
This function performs the gte operation
13761376

13771377
_If any of the inputs are expected to be a ciphertext, it verifies that the value matches a valid ciphertext
13781378
Pure in this function is marked as a hack/workaround - note that this function is NOT pure as fetches of ciphertexts require state access_
@@ -1396,7 +1396,7 @@ Pure in this function is marked as a hack/workaround - note that this function i
13961396
function gte(euint128 lhs, euint128 rhs) internal pure returns (ebool)
13971397
```
13981398

1399-
This functions performs the gte operation
1399+
This function performs the gte operation
14001400

14011401
_If any of the inputs are expected to be a ciphertext, it verifies that the value matches a valid ciphertext
14021402
Pure in this function is marked as a hack/workaround - note that this function is NOT pure as fetches of ciphertexts require state access_
@@ -1588,7 +1588,7 @@ Pure in this function is marked as a hack/workaround - note that this function i
15881588
function and(euint64 lhs, euint64 rhs) internal pure returns (euint64)
15891589
```
15901590

1591-
This functions performs the and operation
1591+
This function performs the and operation
15921592

15931593
_If any of the inputs are expected to be a ciphertext, it verifies that the value matches a valid ciphertext
15941594
Pure in this function is marked as a hack/workaround - note that this function is NOT pure as fetches of ciphertexts require state access_
@@ -1612,7 +1612,7 @@ Pure in this function is marked as a hack/workaround - note that this function i
16121612
function and(euint128 lhs, euint128 rhs) internal pure returns (euint128)
16131613
```
16141614

1615-
This functions performs the and operation
1615+
This function performs the and operation
16161616

16171617
_If any of the inputs are expected to be a ciphertext, it verifies that the value matches a valid ciphertext
16181618
Pure in this function is marked as a hack/workaround - note that this function is NOT pure as fetches of ciphertexts require state access_
@@ -1732,7 +1732,7 @@ Pure in this function is marked as a hack/workaround - note that this function i
17321732
function or(euint64 lhs, euint64 rhs) internal pure returns (euint64)
17331733
```
17341734

1735-
This functions performs the or operation
1735+
This function performs the or operation
17361736

17371737
_If any of the inputs are expected to be a ciphertext, it verifies that the value matches a valid ciphertext
17381738
Pure in this function is marked as a hack/workaround - note that this function is NOT pure as fetches of ciphertexts require state access_
@@ -1756,7 +1756,7 @@ Pure in this function is marked as a hack/workaround - note that this function i
17561756
function or(euint128 lhs, euint128 rhs) internal pure returns (euint128)
17571757
```
17581758

1759-
This functions performs the or operation
1759+
This function performs the or operation
17601760

17611761
_If any of the inputs are expected to be a ciphertext, it verifies that the value matches a valid ciphertext
17621762
Pure in this function is marked as a hack/workaround - note that this function is NOT pure as fetches of ciphertexts require state access_
@@ -1876,7 +1876,7 @@ Pure in this function is marked as a hack/workaround - note that this function i
18761876
function xor(euint64 lhs, euint64 rhs) internal pure returns (euint64)
18771877
```
18781878

1879-
This functions performs the xor operation
1879+
This function performs the xor operation
18801880

18811881
_If any of the inputs are expected to be a ciphertext, it verifies that the value matches a valid ciphertext
18821882
Pure in this function is marked as a hack/workaround - note that this function is NOT pure as fetches of ciphertexts require state access_
@@ -1900,7 +1900,7 @@ Pure in this function is marked as a hack/workaround - note that this function i
19001900
function xor(euint128 lhs, euint128 rhs) internal pure returns (euint128)
19011901
```
19021902

1903-
This functions performs the xor operation
1903+
This function performs the xor operation
19041904

19051905
_If any of the inputs are expected to be a ciphertext, it verifies that the value matches a valid ciphertext
19061906
Pure in this function is marked as a hack/workaround - note that this function is NOT pure as fetches of ciphertexts require state access_
@@ -2020,7 +2020,7 @@ Pure in this function is marked as a hack/workaround - note that this function i
20202020
function eq(euint64 lhs, euint64 rhs) internal pure returns (ebool)
20212021
```
20222022

2023-
This functions performs the eq operation
2023+
This function performs the eq operation
20242024

20252025
_If any of the inputs are expected to be a ciphertext, it verifies that the value matches a valid ciphertext
20262026
Pure in this function is marked as a hack/workaround - note that this function is NOT pure as fetches of ciphertexts require state access_
@@ -2044,7 +2044,7 @@ Pure in this function is marked as a hack/workaround - note that this function i
20442044
function eq(euint128 lhs, euint128 rhs) internal pure returns (ebool)
20452045
```
20462046

2047-
This functions performs the eq operation
2047+
This function performs the eq operation
20482048

20492049
_If any of the inputs are expected to be a ciphertext, it verifies that the value matches a valid ciphertext
20502050
Pure in this function is marked as a hack/workaround - note that this function is NOT pure as fetches of ciphertexts require state access_
@@ -2068,7 +2068,7 @@ Pure in this function is marked as a hack/workaround - note that this function i
20682068
function eq(euint256 lhs, euint256 rhs) internal pure returns (ebool)
20692069
```
20702070

2071-
This functions performs the eq operation
2071+
This function performs the eq operation
20722072

20732073
_If any of the inputs are expected to be a ciphertext, it verifies that the value matches a valid ciphertext
20742074
Pure in this function is marked as a hack/workaround - note that this function is NOT pure as fetches of ciphertexts require state access_
@@ -2092,7 +2092,7 @@ Pure in this function is marked as a hack/workaround - note that this function i
20922092
function eq(eaddress lhs, eaddress rhs) internal pure returns (ebool)
20932093
```
20942094

2095-
This functions performs the eq operation
2095+
This function performs the eq operation
20962096

20972097
_If any of the inputs are expected to be a ciphertext, it verifies that the value matches a valid ciphertext
20982098
Pure in this function is marked as a hack/workaround - note that this function is NOT pure as fetches of ciphertexts require state access_
@@ -2212,7 +2212,7 @@ Pure in this function is marked as a hack/workaround - note that this function i
22122212
function ne(euint64 lhs, euint64 rhs) internal pure returns (ebool)
22132213
```
22142214

2215-
This functions performs the ne operation
2215+
This function performs the ne operation
22162216

22172217
_If any of the inputs are expected to be a ciphertext, it verifies that the value matches a valid ciphertext
22182218
Pure in this function is marked as a hack/workaround - note that this function is NOT pure as fetches of ciphertexts require state access_
@@ -2236,7 +2236,7 @@ Pure in this function is marked as a hack/workaround - note that this function i
22362236
function ne(euint128 lhs, euint128 rhs) internal pure returns (ebool)
22372237
```
22382238

2239-
This functions performs the ne operation
2239+
This function performs the ne operation
22402240

22412241
_If any of the inputs are expected to be a ciphertext, it verifies that the value matches a valid ciphertext
22422242
Pure in this function is marked as a hack/workaround - note that this function is NOT pure as fetches of ciphertexts require state access_
@@ -2260,7 +2260,7 @@ Pure in this function is marked as a hack/workaround - note that this function i
22602260
function ne(euint256 lhs, euint256 rhs) internal pure returns (ebool)
22612261
```
22622262

2263-
This functions performs the ne operation
2263+
This function performs the ne operation
22642264

22652265
_If any of the inputs are expected to be a ciphertext, it verifies that the value matches a valid ciphertext
22662266
Pure in this function is marked as a hack/workaround - note that this function is NOT pure as fetches of ciphertexts require state access_
@@ -2284,7 +2284,7 @@ Pure in this function is marked as a hack/workaround - note that this function i
22842284
function ne(eaddress lhs, eaddress rhs) internal pure returns (ebool)
22852285
```
22862286

2287-
This functions performs the ne operation
2287+
This function performs the ne operation
22882288

22892289
_If any of the inputs are expected to be a ciphertext, it verifies that the value matches a valid ciphertext
22902290
Pure in this function is marked as a hack/workaround - note that this function is NOT pure as fetches of ciphertexts require state access_
@@ -2380,7 +2380,7 @@ Pure in this function is marked as a hack/workaround - note that this function i
23802380
function min(euint64 lhs, euint64 rhs) internal pure returns (euint64)
23812381
```
23822382

2383-
This functions performs the min operation
2383+
This function performs the min operation
23842384

23852385
_If any of the inputs are expected to be a ciphertext, it verifies that the value matches a valid ciphertext
23862386
Pure in this function is marked as a hack/workaround - note that this function is NOT pure as fetches of ciphertexts require state access_
@@ -2404,7 +2404,7 @@ Pure in this function is marked as a hack/workaround - note that this function i
24042404
function min(euint128 lhs, euint128 rhs) internal pure returns (euint128)
24052405
```
24062406

2407-
This functions performs the min operation
2407+
This function performs the min operation
24082408

24092409
_If any of the inputs are expected to be a ciphertext, it verifies that the value matches a valid ciphertext
24102410
Pure in this function is marked as a hack/workaround - note that this function is NOT pure as fetches of ciphertexts require state access_
@@ -2500,7 +2500,7 @@ Pure in this function is marked as a hack/workaround - note that this function i
25002500
function max(euint64 lhs, euint64 rhs) internal pure returns (euint64)
25012501
```
25022502

2503-
This functions performs the max operation
2503+
This function performs the max operation
25042504

25052505
_If any of the inputs are expected to be a ciphertext, it verifies that the value matches a valid ciphertext
25062506
Pure in this function is marked as a hack/workaround - note that this function is NOT pure as fetches of ciphertexts require state access_
@@ -2524,7 +2524,7 @@ Pure in this function is marked as a hack/workaround - note that this function i
25242524
function max(euint128 lhs, euint128 rhs) internal pure returns (euint128)
25252525
```
25262526

2527-
This functions performs the max operation
2527+
This function performs the max operation
25282528

25292529
_If any of the inputs are expected to be a ciphertext, it verifies that the value matches a valid ciphertext
25302530
Pure in this function is marked as a hack/workaround - note that this function is NOT pure as fetches of ciphertexts require state access_
@@ -2620,7 +2620,7 @@ Pure in this function is marked as a hack/workaround - note that this function i
26202620
function shl(euint64 lhs, euint64 rhs) internal pure returns (euint64)
26212621
```
26222622

2623-
This functions performs the shl operation
2623+
This function performs the shl operation
26242624

26252625
_If any of the inputs are expected to be a ciphertext, it verifies that the value matches a valid ciphertext
26262626
Pure in this function is marked as a hack/workaround - note that this function is NOT pure as fetches of ciphertexts require state access_
@@ -2644,7 +2644,7 @@ Pure in this function is marked as a hack/workaround - note that this function i
26442644
function shl(euint128 lhs, euint128 rhs) internal pure returns (euint128)
26452645
```
26462646

2647-
This functions performs the shl operation
2647+
This function performs the shl operation
26482648

26492649
_If any of the inputs are expected to be a ciphertext, it verifies that the value matches a valid ciphertext
26502650
Pure in this function is marked as a hack/workaround - note that this function is NOT pure as fetches of ciphertexts require state access_
@@ -2740,7 +2740,7 @@ Pure in this function is marked as a hack/workaround - note that this function i
27402740
function shr(euint64 lhs, euint64 rhs) internal pure returns (euint64)
27412741
```
27422742

2743-
This functions performs the shr operation
2743+
This function performs the shr operation
27442744

27452745
_If any of the inputs are expected to be a ciphertext, it verifies that the value matches a valid ciphertext
27462746
Pure in this function is marked as a hack/workaround - note that this function is NOT pure as fetches of ciphertexts require state access_
@@ -2764,7 +2764,7 @@ Pure in this function is marked as a hack/workaround - note that this function i
27642764
function shr(euint128 lhs, euint128 rhs) internal pure returns (euint128)
27652765
```
27662766

2767-
This functions performs the shr operation
2767+
This function performs the shr operation
27682768

27692769
_If any of the inputs are expected to be a ciphertext, it verifies that the value matches a valid ciphertext
27702770
Pure in this function is marked as a hack/workaround - note that this function is NOT pure as fetches of ciphertexts require state access_
@@ -3726,55 +3726,55 @@ Converts a euint256 to an eaddress
37263726
function asEbool(eaddress value) internal pure returns (ebool)
37273727
```
37283728

3729-
Converts a eaddress to an ebool
3729+
Converts an eaddress to an ebool
37303730

37313731
### asEuint8
37323732

37333733
```solidity
37343734
function asEuint8(eaddress value) internal pure returns (euint8)
37353735
```
37363736

3737-
Converts a eaddress to an euint8
3737+
Converts an eaddress to an euint8
37383738

37393739
### asEuint16
37403740

37413741
```solidity
37423742
function asEuint16(eaddress value) internal pure returns (euint16)
37433743
```
37443744

3745-
Converts a eaddress to an euint16
3745+
Converts an eaddress to an euint16
37463746

37473747
### asEuint32
37483748

37493749
```solidity
37503750
function asEuint32(eaddress value) internal pure returns (euint32)
37513751
```
37523752

3753-
Converts a eaddress to an euint32
3753+
Converts an eaddress to an euint32
37543754

37553755
### asEuint64
37563756

37573757
```solidity
37583758
function asEuint64(eaddress value) internal pure returns (euint64)
37593759
```
37603760

3761-
Converts a eaddress to an euint64
3761+
Converts an eaddress to an euint64
37623762

37633763
### asEuint128
37643764

37653765
```solidity
37663766
function asEuint128(eaddress value) internal pure returns (euint128)
37673767
```
37683768

3769-
Converts a eaddress to an euint128
3769+
Converts an eaddress to an euint128
37703770

37713771
### asEuint256
37723772

37733773
```solidity
37743774
function asEuint256(eaddress value) internal pure returns (euint256)
37753775
```
37763776

3777-
Converts a eaddress to an euint256
3777+
Converts an eaddress to an euint256
37783778

37793779
### asEaddress
37803780

0 commit comments

Comments
 (0)