Skip to content

Commit 334c240

Browse files
Transpile 0b0cbe128
1 parent 09ce5db commit 334c240

File tree

57 files changed

+137
-45
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+137
-45
lines changed

.changeset/pre.json

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,28 @@
44
"initialVersions": {
55
"openzeppelin-solidity": "5.3.0"
66
},
7-
"changesets": []
7+
"changesets": [
8+
"clean-ways-push",
9+
"fine-frogs-bake",
10+
"full-ways-help",
11+
"funny-years-yawn",
12+
"hot-grapes-lie",
13+
"lazy-poets-cheer",
14+
"long-hornets-mate",
15+
"lucky-donuts-scream",
16+
"nice-rings-wish",
17+
"pink-dolls-shop",
18+
"popular-geese-tan",
19+
"proud-tables-sip",
20+
"public-crabs-heal",
21+
"quiet-kiwis-feel",
22+
"rare-shirts-unite",
23+
"ripe-bears-hide",
24+
"rotten-apes-lie",
25+
"social-walls-obey",
26+
"sour-pens-shake",
27+
"strong-points-change",
28+
"tame-bears-mix",
29+
"wet-dodos-reply"
30+
]
831
}

CHANGELOG.md

Lines changed: 56 additions & 0 deletions

contracts/access/AccessControlUpgradeable.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
// OpenZeppelin Contracts (last updated v5.3.0) (access/AccessControl.sol)
2+
// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (access/AccessControl.sol)
33

44
pragma solidity ^0.8.20;
55

contracts/access/extensions/AccessControlDefaultAdminRulesUpgradeable.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
// OpenZeppelin Contracts (last updated v5.0.0) (access/extensions/AccessControlDefaultAdminRules.sol)
2+
// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (access/extensions/AccessControlDefaultAdminRules.sol)
33

44
pragma solidity ^0.8.20;
55

contracts/access/extensions/AccessControlEnumerableUpgradeable.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
// OpenZeppelin Contracts (last updated v5.1.0) (access/extensions/AccessControlEnumerable.sol)
2+
// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (access/extensions/AccessControlEnumerable.sol)
33

44
pragma solidity ^0.8.20;
55

contracts/access/manager/AccessManagedUpgradeable.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
// OpenZeppelin Contracts (last updated v5.1.0) (access/manager/AccessManaged.sol)
2+
// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (access/manager/AccessManaged.sol)
33

44
pragma solidity ^0.8.20;
55

contracts/account/extensions/draft-AccountERC7579HookedUpgradeable.sol

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// SPDX-License-Identifier: MIT
2+
// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (account/extensions/draft-AccountERC7579Hooked.sol)
23

34
pragma solidity ^0.8.26;
45

contracts/account/extensions/draft-AccountERC7579Upgradeable.sol

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// SPDX-License-Identifier: MIT
2+
// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (account/extensions/draft-AccountERC7579.sol)
23

34
pragma solidity ^0.8.26;
45

contracts/governance/GovernorUpgradeable.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
// OpenZeppelin Contracts (last updated v5.3.0) (governance/Governor.sol)
2+
// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (governance/Governor.sol)
33

44
pragma solidity ^0.8.24;
55

contracts/governance/TimelockControllerUpgradeable.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
// OpenZeppelin Contracts (last updated v5.3.0) (governance/TimelockController.sol)
2+
// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (governance/TimelockController.sol)
33

44
pragma solidity ^0.8.20;
55

contracts/governance/extensions/GovernorCountingFractionalUpgradeable.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
// OpenZeppelin Contracts (last updated v5.3.0) (governance/extensions/GovernorCountingFractional.sol)
2+
// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (governance/extensions/GovernorCountingFractional.sol)
33

44
pragma solidity ^0.8.24;
55

contracts/governance/extensions/GovernorCountingOverridableUpgradeable.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
// OpenZeppelin Contracts (last updated v5.3.0) (governance/extensions/GovernorCountingOverridable.sol)
2+
// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (governance/extensions/GovernorCountingOverridable.sol)
33

44
pragma solidity ^0.8.24;
55

contracts/governance/extensions/GovernorCountingSimpleUpgradeable.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
// OpenZeppelin Contracts (last updated v5.1.0) (governance/extensions/GovernorCountingSimple.sol)
2+
// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (governance/extensions/GovernorCountingSimple.sol)
33

44
pragma solidity ^0.8.24;
55

contracts/governance/extensions/GovernorNoncesKeyedUpgradeable.sol

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// SPDX-License-Identifier: MIT
2+
// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (governance/extensions/GovernorNoncesKeyed.sol)
23

34
pragma solidity ^0.8.24;
45

contracts/governance/extensions/GovernorPreventLateQuorumUpgradeable.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
// OpenZeppelin Contracts (last updated v5.2.0) (governance/extensions/GovernorPreventLateQuorum.sol)
2+
// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (governance/extensions/GovernorPreventLateQuorum.sol)
33

44
pragma solidity ^0.8.24;
55

contracts/governance/extensions/GovernorProposalGuardianUpgradeable.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
// OpenZeppelin Contracts (last updated v5.3.0) (governance/extensions/GovernorProposalGuardian.sol)
2+
// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (governance/extensions/GovernorProposalGuardian.sol)
33
pragma solidity ^0.8.24;
44

55
import {GovernorUpgradeable} from "../GovernorUpgradeable.sol";

contracts/governance/extensions/GovernorSequentialProposalIdUpgradeable.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
// OpenZeppelin Contracts (last updated v5.3.0) (governance/extensions/GovernorSequentialProposalId.sol)
2+
// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (governance/extensions/GovernorSequentialProposalId.sol)
33

44
pragma solidity ^0.8.24;
55

contracts/governance/extensions/GovernorSettingsUpgradeable.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
// OpenZeppelin Contracts (last updated v5.0.0) (governance/extensions/GovernorSettings.sol)
2+
// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (governance/extensions/GovernorSettings.sol)
33

44
pragma solidity ^0.8.24;
55

contracts/governance/extensions/GovernorStorageUpgradeable.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
// OpenZeppelin Contracts (last updated v5.3.0) (governance/extensions/GovernorStorage.sol)
2+
// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (governance/extensions/GovernorStorage.sol)
33

44
pragma solidity ^0.8.24;
55

contracts/governance/extensions/GovernorSuperQuorumUpgradeable.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
// OpenZeppelin Contracts (last updated v5.3.0) (governance/extensions/GovernorSuperQuorum.sol)
2+
// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (governance/extensions/GovernorSuperQuorum.sol)
33
pragma solidity ^0.8.24;
44

55
import {GovernorUpgradeable} from "../GovernorUpgradeable.sol";

contracts/governance/extensions/GovernorTimelockAccessUpgradeable.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
// OpenZeppelin Contracts (last updated v5.3.0) (governance/extensions/GovernorTimelockAccess.sol)
2+
// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (governance/extensions/GovernorTimelockAccess.sol)
33

44
pragma solidity ^0.8.24;
55

contracts/governance/extensions/GovernorTimelockCompoundUpgradeable.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
// OpenZeppelin Contracts (last updated v5.3.0) (governance/extensions/GovernorTimelockCompound.sol)
2+
// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (governance/extensions/GovernorTimelockCompound.sol)
33

44
pragma solidity ^0.8.24;
55

contracts/governance/extensions/GovernorTimelockControlUpgradeable.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
// OpenZeppelin Contracts (last updated v5.3.0) (governance/extensions/GovernorTimelockControl.sol)
2+
// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (governance/extensions/GovernorTimelockControl.sol)
33

44
pragma solidity ^0.8.24;
55

contracts/governance/extensions/GovernorVotesQuorumFractionUpgradeable.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
// OpenZeppelin Contracts (last updated v5.3.0) (governance/extensions/GovernorVotesQuorumFraction.sol)
2+
// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (governance/extensions/GovernorVotesQuorumFraction.sol)
33

44
pragma solidity ^0.8.24;
55

contracts/governance/extensions/GovernorVotesSuperQuorumFractionUpgradeable.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
// OpenZeppelin Contracts (last updated v5.3.0) (governance/extensions/GovernorVotesSuperQuorumFraction.sol)
2+
// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (governance/extensions/GovernorVotesSuperQuorumFraction.sol)
33
pragma solidity ^0.8.24;
44

55
import {GovernorUpgradeable} from "../GovernorUpgradeable.sol";

contracts/governance/extensions/GovernorVotesUpgradeable.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
// OpenZeppelin Contracts (last updated v5.1.0) (governance/extensions/GovernorVotes.sol)
2+
// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (governance/extensions/GovernorVotes.sol)
33

44
pragma solidity ^0.8.24;
55

contracts/metatx/ERC2771ContextUpgradeable.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
// OpenZeppelin Contracts (last updated v5.1.0) (metatx/ERC2771Context.sol)
2+
// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (metatx/ERC2771Context.sol)
33

44
pragma solidity ^0.8.20;
55

contracts/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@openzeppelin/contracts-upgradeable",
33
"description": "Secure Smart Contract library for Solidity",
4-
"version": "5.3.0",
4+
"version": "5.4.0-rc.0",
55
"files": [
66
"**/*.sol",
77
"/build/contracts/*.json",
@@ -30,6 +30,6 @@
3030
},
3131
"homepage": "https://openzeppelin.com/contracts/",
3232
"peerDependencies": {
33-
"@openzeppelin/contracts": "5.3.0"
33+
"@openzeppelin/contracts": "5.4.0-rc.0"
3434
}
3535
}

contracts/token/ERC1155/ERC1155Upgradeable.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC1155/ERC1155.sol)
2+
// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (token/ERC1155/ERC1155.sol)
33

44
pragma solidity ^0.8.20;
55

contracts/token/ERC1155/extensions/ERC1155SupplyUpgradeable.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC1155/extensions/ERC1155Supply.sol)
2+
// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (token/ERC1155/extensions/ERC1155Supply.sol)
33

44
pragma solidity ^0.8.20;
55

contracts/token/ERC1155/utils/ERC1155HolderUpgradeable.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC1155/utils/ERC1155Holder.sol)
2+
// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (token/ERC1155/utils/ERC1155Holder.sol)
33

44
pragma solidity ^0.8.20;
55

contracts/token/ERC20/ERC20Upgradeable.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
// OpenZeppelin Contracts (last updated v5.3.0) (token/ERC20/ERC20.sol)
2+
// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (token/ERC20/ERC20.sol)
33

44
pragma solidity ^0.8.20;
55

contracts/token/ERC20/extensions/ERC1363Upgradeable.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
// OpenZeppelin Contracts (last updated v5.2.0) (token/ERC20/extensions/ERC1363.sol)
2+
// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (token/ERC20/extensions/ERC1363.sol)
33

44
pragma solidity ^0.8.20;
55

contracts/token/ERC20/extensions/ERC20CappedUpgradeable.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/ERC20Capped.sol)
2+
// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (token/ERC20/extensions/ERC20Capped.sol)
33

44
pragma solidity ^0.8.20;
55

contracts/token/ERC20/extensions/ERC20PermitUpgradeable.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/extensions/ERC20Permit.sol)
2+
// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (token/ERC20/extensions/ERC20Permit.sol)
33

44
pragma solidity ^0.8.20;
55

contracts/token/ERC20/extensions/ERC20WrapperUpgradeable.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/extensions/ERC20Wrapper.sol)
2+
// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (token/ERC20/extensions/ERC20Wrapper.sol)
33

44
pragma solidity ^0.8.20;
55

contracts/token/ERC20/extensions/ERC4626Upgradeable.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
// OpenZeppelin Contracts (last updated v5.3.0) (token/ERC20/extensions/ERC4626.sol)
2+
// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (token/ERC20/extensions/ERC4626.sol)
33

44
pragma solidity ^0.8.20;
55

contracts/token/ERC20/extensions/draft-ERC20BridgeableUpgradeable.sol

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// SPDX-License-Identifier: MIT
2+
// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (token/ERC20/extensions/draft-ERC20Bridgeable.sol)
23

34
pragma solidity ^0.8.20;
45

contracts/token/ERC721/ERC721Upgradeable.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC721/ERC721.sol)
2+
// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (token/ERC721/ERC721.sol)
33

44
pragma solidity ^0.8.20;
55

contracts/token/ERC721/extensions/ERC721EnumerableUpgradeable.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC721/extensions/ERC721Enumerable.sol)
2+
// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (token/ERC721/extensions/ERC721Enumerable.sol)
33

44
pragma solidity ^0.8.20;
55

contracts/token/ERC721/extensions/ERC721RoyaltyUpgradeable.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC721/extensions/ERC721Royalty.sol)
2+
// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (token/ERC721/extensions/ERC721Royalty.sol)
33

44
pragma solidity ^0.8.20;
55

contracts/token/ERC721/extensions/ERC721URIStorageUpgradeable.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
// OpenZeppelin Contracts (last updated v5.3.0) (token/ERC721/extensions/ERC721URIStorage.sol)
2+
// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (token/ERC721/extensions/ERC721URIStorage.sol)
33

44
pragma solidity ^0.8.20;
55

contracts/token/common/ERC2981Upgradeable.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
// OpenZeppelin Contracts (last updated v5.3.0) (token/common/ERC2981.sol)
2+
// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (token/common/ERC2981.sol)
33

44
pragma solidity ^0.8.20;
55

contracts/utils/cryptography/EIP712Upgradeable.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
// OpenZeppelin Contracts (last updated v5.3.0) (utils/cryptography/EIP712.sol)
2+
// OpenZeppelin Contracts (last updated v5.4.0-rc.0) (utils/cryptography/EIP712.sol)
33

44
pragma solidity ^0.8.20;
55

0 commit comments

Comments
 (0)