Skip to content

Commit

Permalink
♻️ Pin proper version
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 e5a0ae8 commit 35b7989
Show file tree
Hide file tree
Showing 33 changed files with 35 additions and 35 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"eslint-config-prettier": "^9.0.0",
"ethers": "^6.7.1",
"keccak256": "^1.0.6",
"merkletreejs": "^0.3.10",
"merkletreejs": "^0.3.9",
"prettier": "^3.0.3",
"prettier-plugin-solidity": "^1.1.3",
"solhint": "^3.6.2"
Expand Down
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.10
# @version ^0.3.9
"""
@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.10
# @version ^0.3.9
"""
@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.10
# @version ^0.3.9
"""
@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.10
# @version ^0.3.9
"""
@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.10
# @version ^0.3.9
"""
@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.10
# @version ^0.3.9
"""
@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.10
# @version ^0.3.9
"""
@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.10
# @version ^0.3.9
"""
@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.10
# @version ^0.3.9
"""
@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.10
# @version ^0.3.9
"""
@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.10
# @version ^0.3.9
"""
@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.10
# @version ^0.3.9
"""
@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.10
# @version ^0.3.9
"""
@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.10
# @version ^0.3.9
"""
@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.10
# @version ^0.3.9
"""
@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.10
# @version ^0.3.9
"""
@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.10
# @version ^0.3.9
"""
@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.10
# @version ^0.3.9
"""
@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.10
# @version ^0.3.9
"""
@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.10
# @version ^0.3.9
"""
@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.10
# @version ^0.3.9
"""
@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.10
# @version ^0.3.9
"""
@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.10
# @version ^0.3.9
"""
@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.10
# @version ^0.3.9
"""
@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.10
# @version ^0.3.9
"""
@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.10
# @version ^0.3.9
"""
@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.10
# @version ^0.3.9
"""
@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.10
# @version ^0.3.9
"""
@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.10
# @version ^0.3.9
"""
@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.10
# @version ^0.3.9
"""
@title EIP-5267 Interface Definition
@custom:contract-name IERC5267
Expand Down
2 changes: 1 addition & 1 deletion test/utils/Math.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ contract MathTest is Test {
assertEq(math.wad_exp(-0.5 * 10 ** 18), 606_530_659_712_633_423);
assertEq(math.wad_exp(-0.3 * 10 ** 18), 740_818_220_681_717_866);
assertEq(math.wad_exp(0), 10 ** 18);
assertEq(math.wad_exp(0.3 * 10 ** 18), 1_349_858_807_576_003_103);
assertEq(math.wad_exp(0.3 * 10 ** 18), 1_349_858_807_576_0.3.93);
assertEq(math.wad_exp(0.5 * 10 ** 18), 1_648_721_270_700_128_146);
assertEq(math.wad_exp(1 * 10 ** 18), 2_718_281_828_459_045_235);
assertEq(math.wad_exp(2 * 10 ** 18), 7_389_056_098_930_650_227);
Expand Down
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1118,9 +1118,9 @@ lru-cache@^6.0.0:
dependencies:
yallist "^4.0.0"

merkletreejs@^0.3.10:
version "0.3.10"
resolved "https://registry.yarnpkg.com/merkletreejs/-/merkletreejs-0.3.10.tgz#b9abdfc5e3aadaf9eb8b0a35c4b87aea33f5d4b7"
merkletreejs@^0.3.9:
version "0.3.9"
resolved "https://registry.yarnpkg.com/merkletreejs/-/merkletreejs-0.3.9.tgz#b9abdfc5e3aadaf9eb8b0a35c4b87aea33f5d4b7"
integrity sha512-lin42tKfRdkW+6iE5pjtQ9BnH+1Hk3sJ5Fn9hUUSjcXRcJbSISHgPCfYvMNEXiNqZPhz/TyRPEV30qgnujsQ7A==
dependencies:
bignumber.js "^9.0.1"
Expand Down

0 comments on commit 35b7989

Please sign in to comment.