Skip to content

Commit

Permalink
Merge pull request #40 from KyryloKilin/main
Browse files Browse the repository at this point in the history
Fix typos
  • Loading branch information
toml01 authored Oct 28, 2024
2 parents 4efa5c9 + 29d1776 commit a40355c
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 44 deletions.
86 changes: 43 additions & 43 deletions docs/devdocs/Solidity API/FHE.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ Pure in this function is marked as a hack/workaround - note that this function i
function add(euint64 lhs, euint64 rhs) internal pure returns (euint64)
```

This functions performs the add operation
This function performs the add operation

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

This functions performs the add operation
This function performs the add operation

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

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

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

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

This functions performs the lte operation
This function performs the lte operation

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

This functions performs the lte operation
This function performs the lte operation

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

This functions performs the sub operation
This function performs the sub operation

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

This functions performs the sub operation
This function performs the sub operation

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

This functions performs the mul operation
This function performs the mul operation

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

This functions performs the lt operation
This function performs the lt operation

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

This functions performs the lt operation
This function performs the lt operation

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

This functions performs the gt operation
This function performs the gt operation

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

This functions performs the gt operation
This function performs the gt operation

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

This functions performs the gte operation
This function performs the gte operation

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

This functions performs the gte operation
This function performs the gte operation

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

This functions performs the and operation
This function performs the and operation

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

This functions performs the and operation
This function performs the and operation

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

This functions performs the or operation
This function performs the or operation

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

This functions performs the or operation
This function performs the or operation

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

This functions performs the xor operation
This function performs the xor operation

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

This functions performs the xor operation
This function performs the xor operation

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

This functions performs the eq operation
This function performs the eq operation

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

This functions performs the eq operation
This function performs the eq operation

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

This functions performs the eq operation
This function performs the eq operation

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

This functions performs the eq operation
This function performs the eq operation

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

This functions performs the ne operation
This function performs the ne operation

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

This functions performs the ne operation
This function performs the ne operation

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

This functions performs the ne operation
This function performs the ne operation

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

This functions performs the ne operation
This function performs the ne operation

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

This functions performs the min operation
This function performs the min operation

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

This functions performs the min operation
This function performs the min operation

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

This functions performs the max operation
This function performs the max operation

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

This functions performs the max operation
This function performs the max operation

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

This functions performs the shl operation
This function performs the shl operation

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

This functions performs the shl operation
This function performs the shl operation

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

This functions performs the shr operation
This function performs the shr operation

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

This functions performs the shr operation
This function performs the shr operation

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

Converts a eaddress to an ebool
Converts an eaddress to an ebool

### asEuint8

```solidity
function asEuint8(eaddress value) internal pure returns (euint8)
```

Converts a eaddress to an euint8
Converts an eaddress to an euint8

### asEuint16

```solidity
function asEuint16(eaddress value) internal pure returns (euint16)
```

Converts a eaddress to an euint16
Converts an eaddress to an euint16

### asEuint32

```solidity
function asEuint32(eaddress value) internal pure returns (euint32)
```

Converts a eaddress to an euint32
Converts an eaddress to an euint32

### asEuint64

```solidity
function asEuint64(eaddress value) internal pure returns (euint64)
```

Converts a eaddress to an euint64
Converts an eaddress to an euint64

### asEuint128

```solidity
function asEuint128(eaddress value) internal pure returns (euint128)
```

Converts a eaddress to an euint128
Converts an eaddress to an euint128

### asEuint256

```solidity
function asEuint256(eaddress value) internal pure returns (euint256)
```

Converts a eaddress to an euint256
Converts an eaddress to an euint256

### asEaddress

Expand Down
Loading

0 comments on commit a40355c

Please sign in to comment.