Skip to content

Commit a91d578

Browse files
committed
chore(protocol-contracts): update confidential-contracts dependency version
1 parent e4dd51f commit a91d578

File tree

5 files changed

+24
-23
lines changed

5 files changed

+24
-23
lines changed

protocol-contracts/confidential-wrapper-upgradeable/.prettierignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,5 @@ lib
1919
coverage.json
2020
package-lock.json
2121
yarn.lock
22-
README.md
22+
README.md
23+
fhevmTemp

protocol-contracts/confidential-wrapper-upgradeable/contracts/mocks/ERC7984ReceiverMock.sol

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
// SPDX-License-Identifier: BSD-3-Clause-Clear
2-
// Source: https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-confidential-contracts/3a8689021a89e5d9c3101280cb2cd9435cbf28f1/contracts/mocks/token/ERC7984ReceiverMock.sol
32
pragma solidity 0.8.27;
43

54
import {ZamaEthereumConfig} from "@fhevm/solidity/config/ZamaConfig.sol";
65
import {FHE, ebool, euint64} from "@fhevm/solidity/lib/FHE.sol";
7-
import {IERC7984Receiver} from "openzeppelin-confidential-contracts/contracts/interfaces/IERC7984Receiver.sol";
6+
import {IERC7984Receiver} from "@openzeppelin/confidential-contracts/interfaces/IERC7984Receiver.sol";
87

98
contract ERC7984ReceiverMock is IERC7984Receiver, ZamaEthereumConfig {
109
event ConfidentialTransferCallback(bool success);

protocol-contracts/confidential-wrapper-upgradeable/contracts/token/ERC7984Upgradeable.sol

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
pragma solidity 0.8.27;
33

44
import {FHE, externalEuint64, ebool, euint64} from "@fhevm/solidity/lib/FHE.sol";
5-
import {FHESafeMath} from "openzeppelin-confidential-contracts/contracts/utils/FHESafeMath.sol";
6-
import {ERC7984Utils} from "openzeppelin-confidential-contracts/contracts/token/ERC7984/utils/ERC7984Utils.sol";
5+
import {FHESafeMath} from "@openzeppelin/confidential-contracts/utils/FHESafeMath.sol";
6+
import {ERC7984Utils} from "@openzeppelin/confidential-contracts/token/ERC7984/utils/ERC7984Utils.sol";
77
import {Initializable} from "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol";
88
import {ContextUpgradeable} from "@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol";
9-
import {IERC7984} from "openzeppelin-confidential-contracts/contracts/interfaces/IERC7984.sol";
9+
import {IERC7984} from "@openzeppelin/confidential-contracts/interfaces/IERC7984.sol";
1010
import {IERC165} from "@openzeppelin/contracts/utils/introspection/IERC165.sol";
1111
import {ERC165} from "@openzeppelin/contracts/utils/introspection/ERC165.sol";
1212

protocol-contracts/confidential-wrapper-upgradeable/package-lock.json

Lines changed: 17 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

protocol-contracts/confidential-wrapper-upgradeable/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"@fhevm/solidity": "^0.9.1",
2323
"@openzeppelin/contracts": "^5.1.0",
2424
"@openzeppelin/contracts-upgradeable": "^5.1.0",
25-
"openzeppelin-confidential-contracts": "github:RegisGraptin/openzeppelin-confidential-contracts#60e815a49fb694854dfb966584f439e941fa51bb"
25+
"@openzeppelin/confidential-contracts": "^0.3.0"
2626
},
2727
"devDependencies": {
2828
"@fhevm/hardhat-plugin": "^0.3.0-1",

0 commit comments

Comments
 (0)