Skip to content

Commit

Permalink
🔁 Upgrade to Vyper Version 0.3.10
Browse files Browse the repository at this point in the history
Signed-off-by: Pascal Marco Caversaccio <[email protected]>
  • Loading branch information
pcaversaccio committed Oct 4, 2023
1 parent 91b9a9b commit e1b7a15
Show file tree
Hide file tree
Showing 33 changed files with 683 additions and 683 deletions.
1,302 changes: 651 additions & 651 deletions .gas-snapshot

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/prb-test
Submodule prb-test updated 3 files
+7 −0 CHANGELOG.md
+1 −1 package.json
+1 −2 src/Vm.sol
2 changes: 1 addition & 1 deletion src/auth/AccessControl.vy
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# @version ^0.3.9
# @version ^0.3.10
"""
@title Multi-Role-Based Access Control Functions
@custom:contract-name AccessControl
Expand Down
2 changes: 1 addition & 1 deletion src/auth/Ownable.vy
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# @version ^0.3.9
# @version ^0.3.10
"""
@title Owner-Based Access Control Functions
@custom:contract-name Ownable
Expand Down
2 changes: 1 addition & 1 deletion src/auth/Ownable2Step.vy
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# @version ^0.3.9
# @version ^0.3.10
"""
@title 2-Step Ownership Transfer Functions
@custom:contract-name Ownable2Step
Expand Down
2 changes: 1 addition & 1 deletion src/auth/interfaces/IAccessControl.vy
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# @version ^0.3.9
# @version ^0.3.10
"""
@title AccessControl Interface Definition
@custom:contract-name IAccessControl
Expand Down
2 changes: 1 addition & 1 deletion src/extensions/ERC2981.vy
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# @version ^0.3.9
# @version ^0.3.10
"""
@title ERC-721 and ERC-1155 Compatible ERC-2981 Reference Implementation
@custom:contract-name ERC2981
Expand Down
2 changes: 1 addition & 1 deletion src/extensions/ERC4626.vy
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# @version ^0.3.9
# @version ^0.3.10
"""
@title Modern and Gas-Efficient ERC-4626 Tokenised Vault Implementation
@custom:contract-name ERC4626
Expand Down
2 changes: 1 addition & 1 deletion src/extensions/interfaces/IERC2981.vy
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# @version ^0.3.9
# @version ^0.3.10
"""
@title EIP-2981 Interface Definition
@custom:contract-name IERC2981
Expand Down
2 changes: 1 addition & 1 deletion src/tokens/ERC1155.vy
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# @version ^0.3.9
# @version ^0.3.10
"""
@title Modern and Gas-Efficient ERC-1155 Implementation
@custom:contract-name ERC1155
Expand Down
2 changes: 1 addition & 1 deletion src/tokens/ERC20.vy
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# @version ^0.3.9
# @version ^0.3.10
"""
@title Modern and Gas-Efficient ERC-20 + EIP-2612 Implementation
@custom:contract-name ERC20
Expand Down
2 changes: 1 addition & 1 deletion src/tokens/ERC721.vy
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# @version ^0.3.9
# @version ^0.3.10
"""
@title Modern and Gas-Efficient ERC-721 + EIP-4494 Implementation
@custom:contract-name ERC721
Expand Down
2 changes: 1 addition & 1 deletion src/tokens/interfaces/IERC1155.vy
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# @version ^0.3.9
# @version ^0.3.10
"""
@title EIP-1155 Interface Definition
@custom:contract-name IERC1155
Expand Down
2 changes: 1 addition & 1 deletion src/tokens/interfaces/IERC1155MetadataURI.vy
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# @version ^0.3.9
# @version ^0.3.10
"""
@title EIP-1155 Optional Metadata Interface Definition
@custom:contract-name IERC1155MetadataURI
Expand Down
2 changes: 1 addition & 1 deletion src/tokens/interfaces/IERC1155Receiver.vy
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# @version ^0.3.9
# @version ^0.3.10
"""
@title EIP-1155 Token Receiver Interface Definition
@custom:contract-name IERC1155Receiver
Expand Down
2 changes: 1 addition & 1 deletion src/tokens/interfaces/IERC20Permit.vy
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# @version ^0.3.9
# @version ^0.3.10
"""
@title EIP-2612 Interface Definition
@custom:contract-name IERC20Permit
Expand Down
2 changes: 1 addition & 1 deletion src/tokens/interfaces/IERC4906.vy
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# @version ^0.3.9
# @version ^0.3.10
"""
@title EIP-4906 Interface Definition
@custom:contract-name IERC4906
Expand Down
2 changes: 1 addition & 1 deletion src/tokens/interfaces/IERC721Enumerable.vy
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# @version ^0.3.9
# @version ^0.3.10
"""
@title EIP-721 Optional Enumeration Interface Definition
@custom:contract-name IERC721Enumerable
Expand Down
2 changes: 1 addition & 1 deletion src/tokens/interfaces/IERC721Metadata.vy
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# @version ^0.3.9
# @version ^0.3.10
"""
@title EIP-721 Optional Metadata Interface Definition
@custom:contract-name IERC721Metadata
Expand Down
2 changes: 1 addition & 1 deletion src/tokens/interfaces/IERC721Permit.vy
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# @version ^0.3.9
# @version ^0.3.10
"""
@title EIP-4494 Interface Definition
@custom:contract-name IERC721Permit
Expand Down
2 changes: 1 addition & 1 deletion src/tokens/interfaces/IERC721Receiver.vy
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# @version ^0.3.9
# @version ^0.3.10
"""
@title EIP-721 Token Receiver Interface Definition
@custom:contract-name IERC721Receiver
Expand Down
2 changes: 1 addition & 1 deletion src/utils/Base64.vy
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# @version ^0.3.9
# @version ^0.3.10
"""
@title Base64 Encoding and Decoding Functions
@custom:contract-name Base64
Expand Down
2 changes: 1 addition & 1 deletion src/utils/BatchDistributor.vy
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# @version ^0.3.9
# @version ^0.3.10
"""
@title Batch Sending Both Native and ERC-20 Tokens
@custom:contract-name BatchDistributor
Expand Down
2 changes: 1 addition & 1 deletion src/utils/Create2Address.vy
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# @version ^0.3.9
# @version ^0.3.10
"""
@title `CREATE2` EVM Opcode Utility Functions for Address Calculations
@custom:contract-name Create2Address
Expand Down
2 changes: 1 addition & 1 deletion src/utils/CreateAddress.vy
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# @version ^0.3.9
# @version ^0.3.10
"""
@title `CREATE` EVM Opcode Utility Functions for Address Calculations
@custom:contract-name CreateAddress
Expand Down
2 changes: 1 addition & 1 deletion src/utils/ECDSA.vy
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# @version ^0.3.9
# @version ^0.3.10
"""
@title Elliptic Curve Digital Signature Algorithm (ECDSA) Functions
@custom:contract-name ECDSA
Expand Down
2 changes: 1 addition & 1 deletion src/utils/EIP712DomainSeparator.vy
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# @version ^0.3.9
# @version ^0.3.10
"""
@title EIP-712 Domain Separator
@custom:contract-name EIP712DomainSeparator
Expand Down
2 changes: 1 addition & 1 deletion src/utils/Math.vy
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# @version ^0.3.9
# @version ^0.3.10
"""
@title Standard Mathematical Utility Functions
@custom:contract-name Math
Expand Down
2 changes: 1 addition & 1 deletion src/utils/MerkleProofVerification.vy
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# @version ^0.3.9
# @version ^0.3.10
"""
@title Merkle Tree Proof Verification Functions
@custom:contract-name MerkleProofVerification
Expand Down
2 changes: 1 addition & 1 deletion src/utils/Multicall.vy
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# @version ^0.3.9
# @version ^0.3.10
"""
@title Multicall Functions
@custom:contract-name Multicall
Expand Down
2 changes: 1 addition & 1 deletion src/utils/SignatureChecker.vy
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# @version ^0.3.9
# @version ^0.3.10
"""
@title ECDSA and EIP-1271 Signature Verification Functions
@custom:contract-name SignatureChecker
Expand Down
2 changes: 1 addition & 1 deletion src/utils/interfaces/IERC5267.vy
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# @version ^0.3.9
# @version ^0.3.10
"""
@title EIP-5267 Interface Definition
@custom:contract-name IERC5267
Expand Down

0 comments on commit e1b7a15

Please sign in to comment.