Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cofhejs/guides/encryption.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ The available states are:
- **Extract** - Getting all the data ready for encryption (values to encrypt, chain information, etc.).
- **Pack** - Preparing the data for the encryption process.
- **Prove** - Signing the data.
- **Verify** - Verifies the user's input, ensuring that it is safe to use (read more about this [here](/docs/devdocs/architecture/internal-utilities/verifier)).
- **Verify** - Verifies the user's input, ensuring that it is safe to use (read more about this [here](/deep-dive/cofhe-components/zk-verifier)).
- **Replace** - Preparing the result and replacing the old values with encrypted ones.
- **Done** - Process is finished.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -532,4 +532,4 @@ function goodReceiver(
- Review [Core Features](/fhe-library/confidential-contracts/fherc20/core-features) for fundamental concepts
- Learn about [Operators](/fhe-library/confidential-contracts/fherc20/operators) for permission management
- Explore [Transfer Callbacks](/fhe-library/confidential-contracts/fherc20/transfer-callbacks) for safe transfers
- Check the [Migration Guide](/fhe-library/confidential-contracts/fherc20/migration-guide) for detailed migration steps
- Check the [Migration Guide](/tutorials/migrating-from-fhe-decrypt) for detailed migration steps
Original file line number Diff line number Diff line change
Expand Up @@ -392,6 +392,6 @@ Create pools where users deposit tokens for privacy, transact confidentially, an

## Related Topics

- Understand [Unwrap Claims](/fhe-library/confidential-contracts/fherc20/unwrap-claims) for detailed claim management
- Understand [FHERC20 Wrapper](#claim-management) for detailed claim management
- Learn about [Core Features](/fhe-library/confidential-contracts/fherc20/core-features) for confidential transfers
- Review [Best Practices](/fhe-library/confidential-contracts/fherc20/best-practices) for secure implementations
2 changes: 1 addition & 1 deletion fhe-library/confidential-contracts/fherc20/overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ Extends FHERC20 with EIP-712 signature-based operator approval, enabling gasless
Wraps standard ERC20 tokens into confidential FHERC20 tokens and handles unwrapping with claim system.
</Card>

<Card title="FHERC20UnwrapClaim" icon="hand-holding-dollar" href="/fhe-library/confidential-contracts/fherc20/unwrap-claims">
<Card title="FHERC20UnwrapClaim" icon="hand-holding-dollar" href="/fhe-library/confidential-contracts/fherc20/fherc20-wrapper#claim-management">
**Claim Management**

Abstract contract providing claim functionality for managing unwrap operations and decryption results.
Expand Down
2 changes: 1 addition & 1 deletion fhe-library/core-concepts/access-control.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ Consider the lifecycle of your encrypted data and whether permissions should be

## Practical Examples

For detailed examples on how to explicitly manage ciphertext allowances in contracts, see the [ACL Usage Examples](/fhe-library/tutorials/acl-usage-examples) guide.
For detailed examples on how to explicitly manage ciphertext allowances in contracts, see the [ACL Usage Examples](/tutorials/acl-usage-examples) guide.

### Quick Example: Token Transfer

Expand Down
2 changes: 1 addition & 1 deletion fhe-library/core-concepts/data-evaluation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ ebool isBigger = FHE.gt(newBid, currentBid);
`FHE.sol` is actually emitting the following event: "Check which number is bigger: `0xab12...` or `0xcd34..`". The result's handle (or identifier) will be stored in the variable `isBigger`, of type `ebool`.

<Tip>
Wondering what to do with `ebool isBigger`? Check out the page on [Conditionals](/fhe-library/core-concepts/select-vs-ifelse).
Wondering what to do with `ebool isBigger`? Check out the page on [Conditionals](/fhe-library/core-concepts/conditions).
</Tip>

---
Expand Down
4 changes: 2 additions & 2 deletions fhe-library/core-concepts/encrypted-operations.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ In this example, `lhs.add(rhs)` performs the addition using the library function
## Supported Operations

<Tip>
Complete documentation of every function in FHE.sol (including inputs and outputs) can be found in the [FHE.sol API Reference](/fhe-library/solidity-api/FHE).
Complete documentation of every function in FHE.sol (including inputs and outputs) can be found in the [FHE.sol API Reference](/fhe-library/reference/fhe-sol).
</Tip>

All operations supported by FHE.sol are listed in the table below. Note that all functions are supported in both direct function calls and library bindings.
Expand Down Expand Up @@ -161,5 +161,5 @@ euint32 result = FHE.select(condition, valueIfTrue, valueIfFalse);
```

<Tip>
Learn more about using encrypted conditionals in the [Select vs If-Else](/fhe-library/core-concepts/select-vs-ifelse) guide.
Learn more about using encrypted conditionals in the [Select vs If-Else](/fhe-library/core-concepts/conditions) guide.
</Tip>
6 changes: 3 additions & 3 deletions fhe-library/core-concepts/inputs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Notice in the example above the distinction between **`InEuint32`** and **`euint

## Input Types Conversion

The **input types** `InEuintxx` (and `InEbool`, `InEaddress`) are special encrypted types that represent **user input**. Input types contain additional information required to authenticate and validate ciphertexts. For more on that, read about the [ZK-Verifier](/fhe-library/architecture/internal-utilities/verifier).
The **input types** `InEuintxx` (and `InEbool`, `InEaddress`) are special encrypted types that represent **user input**. Input types contain additional information required to authenticate and validate ciphertexts. For more on that, read about the [ZK-Verifier](/deep-dive/cofhe-components/zk-verifier).

Before you can use an encrypted input, you need to convert it to a regular **encrypted type**:

Expand All @@ -41,7 +41,7 @@ toBalance = FHE.sub(toBalance, amount);
```

<Tip>
Read more about the available FHE types and operations in the [FHE Encrypted Operations](/fhe-library/core-concepts/fhe-encrypted-operations) guide.
Read more about the available FHE types and operations in the [FHE Encrypted Operations](/fhe-library/core-concepts/encrypted-operations) guide.
</Tip>

## Full Example
Expand All @@ -64,7 +64,7 @@ function transfer(
```

<Note>
For the example above to work correctly, you will also need to manage access to the newly created ciphertexts in the `_updateBalance()` function. Learn more about access control in the [ACL Mechanism](/fhe-library/core-concepts/acl-mechanism) guide.
For the example above to work correctly, you will also need to manage access to the newly created ciphertexts in the `_updateBalance()` function. Learn more about access control in the [ACL Mechanism](/fhe-library/core-concepts/access-control) guide.
</Note>

## Additional Examples
Expand Down