252 string memory _reason // @audit not covered in NatSpec
Typos (5 instances)
diff --git a/src/governance/governor/IGovernor.sol b/src/governance/governor/IGovernor.sol
index 8e4f75d..30c6983 100644
--- a/src/governance/governor/IGovernor.sol
+++ b/src/governance/governor/IGovernor.sol
@@ -287,7 +287,7 @@ interface IGovernor is IUUPS, IOwnable, IEIP712, GovernorTypesV1 {
287, 287: function updateQuorumThresholdBps(uint256 newQuorumVotesBps) external;
288, 288:
289, 289: /// @notice Updates the vetoer
- 290 :- /// @param newVetoer The new vetoer addresss
+ 290:+ /// @param newVetoer The new vetoer address
291, 291: function updateVetoer(address newVetoer) external;
292, 292:
293, 293: /// @notice Burns the vetoer
diff --git a/src/lib/token/ERC721Votes.sol b/src/lib/token/ERC721Votes.sol
index 3e64720..718aaff 100644
--- a/src/lib/token/ERC721Votes.sol
+++ b/src/lib/token/ERC721Votes.sol
@@ -157,7 +157,7 @@ abstract contract ERC721Votes is IERC721Votes, EIP712, ERC721 {
157, 157:
158, 158: // Cannot realistically overflow
159, 159: unchecked {
- 160 :- // Compute the hash of the domain seperator with the typed delegation data
+ 160:+ // Compute the hash of the domain separator with the typed delegation data
161, 161: digest = keccak256(
162, 162: abi.encodePacked("\x19\x01", DOMAIN_SEPARATOR(), keccak256(abi.encode(DELEGATION_TYPEHASH, _from, _to, nonces[_from]++, _deadline)))
163, 163: );
diff --git a/src/manager/Manager.sol b/src/manager/Manager.sol
index d1025ec..ccca9ec 100644
--- a/src/manager/Manager.sol
+++ b/src/manager/Manager.sol
@@ -110,7 +110,7 @@ contract Manager is IManager, UUPS, Ownable, ManagerStorageV1 {
110, 110: )
111, 111: {
112, 112: // Used to store the address of the first (or only) founder
- 113 :- // This founder is responsible for adding token artwork and launching the first auction -- they're also free to transfer this responsiblity
+ 113:+ // This founder is responsible for adding token artwork and launching the first auction -- they're also free to transfer this responsibility
114, 114: address founder;
115, 115:
116, 116: // Ensure at least one founder is provided
diff --git a/src/token/Token.sol b/src/token/Token.sol
index afad142..a724efa 100644
--- a/src/token/Token.sol
+++ b/src/token/Token.sol
@@ -101,7 +101,7 @@ contract Token is IToken, UUPS, ReentrancyGuard, ERC721Votes, TokenStorageV1 {
101, 101: // Compute the vesting schedule
102, 102: uint256 schedule = 100 / founderPct;
103, 103:
- 104 :- // Used to store the base token id the founder will recieve
+ 104:+ // Used to store the base token id the founder will receive
105, 105: uint256 baseTokenId;
106, 106:
107, 107: // For each token to vest:
diff --git a/src/token/metadata/MetadataRenderer.sol b/src/token/metadata/MetadataRenderer.sol
index 7a140ec..3f14c2a 100644
--- a/src/token/metadata/MetadataRenderer.sol
+++ b/src/token/metadata/MetadataRenderer.sol
@@ -246,7 +246,7 @@ contract MetadataRenderer is IPropertyIPFSMetadataRenderer, UUPS, Ownable, Metad
246, 246: }
247, 247: }
248, 248:
- 249 :- /// @dev Generates a psuedo-random seed for a token id
+ 249:+ /// @dev Generates a pseudo-random seed for a token id
250, 250: function _generateSeed(uint256 _tokenId) private view returns (uint256) {
251, 251: return uint256(keccak256(abi.encode(_tokenId, blockhash(block.number), block.coinbase, block.timestamp)));
252, 252: }
public functions not called by the contract should be declared external instead (3 instances)
Contracts are allowed to override their parents' functions and change the visibility from external to public.
Summary
Low Risk Issues
WETH
transferNon-critical Issues
public
functions not called by the contract should be declaredexternal
insteadTotal: 22 instances over 7 issues
Low-Risk Issues:
Lack of zero checks for immutable variables (9 instances)
Use two-step procedure to avoid unintended burning of veto power (1 instances)
Check result of
WETH
transfer (1 instances)Non-critical Issues:
Incomplite NatSpec (1 instance)
Typos (5 instances)
public
functions not called by the contract should be declaredexternal
instead (3 instances)Contracts are allowed to override their parents' functions and change the visibility from
external
topublic
.The code repeats the functionality of the library function, instead of calling it directly. (2 instances)