Skip to content
Merged
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
8 changes: 7 additions & 1 deletion .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,11 @@
"initialVersions": {
"openzeppelin-confidential-contracts": "0.1.0"
},
"changesets": []
"changesets": [
"better-cases-ask",
"fancy-bears-travel",
"gold-brooms-crash",
"quick-lights-type",
"real-beers-attack"
]
}
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# openzeppelin-confidential-contracts


## 0.2.0-rc.0 (2025-07-04)

- Upgrade all contracts to use `@fhevm/solidity` 0.7.0. ([#77](https://github.com/OpenZeppelin/openzeppelin-confidential-contracts/pull/77))
- `ConfidentialFungibleToken`: Change the default decimals from 9 to 6. ([#74](https://github.com/OpenZeppelin/openzeppelin-confidential-contracts/pull/74))
- `ConfidentialFungibleTokenVotes`: Add an extension of `ConfidentialFungibleToken` that implements `VotesConfidential`. ([#40](https://github.com/OpenZeppelin/openzeppelin-confidential-contracts/pull/40))
- `CheckpointsConfidential`: Add a library for handling checkpoints with confidential value types. ([#77](https://github.com/OpenZeppelin/openzeppelin-confidential-contracts/pull/77))
- `VotesConfidential`: Add votes governance utility for keeping track of FHE vote delegations. ([#40](https://github.com/OpenZeppelin/openzeppelin-confidential-contracts/pull/40))
1 change: 1 addition & 0 deletions contracts/governance/utils/VotesConfidential.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: MIT
// OpenZeppelin Confidential Contracts (last updated v0.2.0-rc.0) (governance/utils/VotesConfidential.sol)
pragma solidity ^0.8.24;

import {FHE, ebool, euint64} from "@fhevm/solidity/lib/FHE.sol";
Expand Down
1 change: 1 addition & 0 deletions contracts/interfaces/IConfidentialFungibleToken.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: MIT
// OpenZeppelin Confidential Contracts (last updated v0.2.0-rc.0) (interfaces/IConfidentialFungibleToken.sol)
pragma solidity ^0.8.24;

import {euint64, externalEuint64} from "@fhevm/solidity/lib/FHE.sol";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: MIT
// OpenZeppelin Confidential Contracts (last updated v0.2.0-rc.0) (interfaces/IConfidentialFungibleTokenReceiver.sol)
pragma solidity ^0.8.24;

import {ebool, euint64} from "@fhevm/solidity/lib/FHE.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@openzeppelin/contracts-confidential",
"description": "Smart Contract library for use with confidential coprocessors",
"version": "0.1.0",
"version": "0.2.0-rc.0",
"files": [
"**/*.sol",
"/build/contracts/*.json",
Expand Down
1 change: 1 addition & 0 deletions contracts/token/ConfidentialFungibleToken.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: MIT
// OpenZeppelin Confidential Contracts (last updated v0.2.0-rc.0) (token/ConfidentialFungibleToken.sol)

pragma solidity ^0.8.26;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: MIT
// OpenZeppelin Confidential Contracts (last updated v0.2.0-rc.0) (token/extensions/ConfidentialFungibleTokenERC20Wrapper.sol)

pragma solidity ^0.8.26;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: MIT
// OpenZeppelin Confidential Contracts (last updated v0.2.0-rc.0) (token/extensions/ConfidentialFungibleTokenVotes.sol)
pragma solidity ^0.8.24;

import {euint64} from "@fhevm/solidity/lib/FHE.sol";
Expand Down
1 change: 1 addition & 0 deletions contracts/token/utils/ConfidentialFungibleTokenUtils.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: MIT
// OpenZeppelin Confidential Contracts (last updated v0.2.0-rc.0) (token/utils/ConfidentialFungibleTokenUtils.sol)
pragma solidity ^0.8.24;

import {FHE, ebool, euint64} from "@fhevm/solidity/lib/FHE.sol";
Expand Down
1 change: 1 addition & 0 deletions contracts/utils/TFHESafeMath.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: MIT
// OpenZeppelin Confidential Contracts (last updated v0.2.0-rc.0) (utils/TFHESafeMath.sol)
pragma solidity ^0.8.24;

import {FHE, ebool, euint64} from "@fhevm/solidity/lib/FHE.sol";
Expand Down
1 change: 1 addition & 0 deletions contracts/utils/structs/CheckpointsConfidential.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: MIT
// OpenZeppelin Confidential Contracts (last updated v0.2.0-rc.0) (utils/structs/CheckpointsConfidential.sol)
// This file was procedurally generated from scripts/generate/templates/CheckpointsConfidential.js.

pragma solidity ^0.8.24;
Expand Down
1 change: 1 addition & 0 deletions contracts/utils/structs/temporary-Checkpoints.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: MIT
// OpenZeppelin Confidential Contracts (last updated v0.2.0-rc.0) (utils/structs/temporary-Checkpoints.sol)
// OpenZeppelin Contracts (last updated v5.3.0) (utils/structs/Checkpoints.sol)
// This file was procedurally generated from scripts/generate/templates/Checkpoints.js.
// WARNING: This file is temporary and will be deleted once the latest version of the file is released in v5.5.0 of @openzeppelin/contracts.
Expand Down
2 changes: 1 addition & 1 deletion docs/antora.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: confidential-contracts
title: Confidential Contracts
version: 0.1.0
version: 0.2-rc
prerelease: true
nav:
- modules/ROOT/nav.adoc
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "openzeppelin-confidential-contracts",
"description": "",
"version": "0.1.0",
"version": "0.2.0-rc.0",
"author": "OpenZeppelin Community <maintainers@openzeppelin.org>",
"license": "MIT",
"files": [
Expand Down