Initialise --> Initialize (this is repeated in many places, because there is function Initialize being used in other places better to keep it american and use this version)
Contracts should be deployed with the same compiler version and flags that they have been tested with thoroughly. Locking the pragma helps to ensure that contracts do not accidentally get deployed using, for example, an outdated compiler version that might introduce bugs that affect the contract system negatively.
Usually lines in source code are limited to 80 characters. Its advised to keep lines lower than 120 characters. Today’s screens are much larger so it’s reasonable to stretch this in some cases. Since the files will most likely reside in GitHub, and GitHub starts using a scroll bar in all cases when the length is over 164 characters, the lines below should be split when they reach that length
1. typo in comments
superceeds --> supersedes
referecen --> reference
Initialise --> Initialize (this is repeated in many places, because there is function
Initialize
being used in other places better to keep it american and use this version)accross --> across
JBTiered721DelegateStore.sol#L497
JBTiered721Delegate.sol#L121
benficiary --> beneficiary
JBTiered721DelegateStore.sol#L597
JBTiered721Delegate.sol#L363
JBTiered721Delegate.sol#L368
reservd --> reserved
transfered --> transferred
JBTiered721DelegateStore.sol#L862
JBTiered721Delegate.sol#L721
JBTiered721Delegate.sol#L728
JBTiered721Delegate.sol#L757
JBTiered721Delegate.sol#L782
JB721GlobalGovernance.sol#L48
preconfifigured --> preconfigured
adherance --> adherence
JBTiered721Delegate.sol#L173
JB721Delegate.sol#L176
provded --> provided
regitered --> registered
2. use of floating pragma
Contracts should be deployed with the same compiler version and flags that they have been tested with thoroughly. Locking the pragma helps to ensure that contracts do not accidentally get deployed using, for example, an outdated compiler version that might introduce bugs that affect the contract system negatively.
3. require()/revert() statements should have descriptive reason strings or custom error
4. _safemint() should be used rather than _mint() wherever possible
5. lines are too long
Usually lines in source code are limited to 80 characters. Its advised to keep lines lower than 120 characters. Today’s screens are much larger so it’s reasonable to stretch this in some cases. Since the files will most likely reside in GitHub, and GitHub starts using a scroll bar in all cases when the length is over 164 characters, the lines below should be split when they reach that length
JBTiered721DelegateProjectDeployer.sol#L15
JBTiered721DelegateProjectDeployer.sol#L19
JBTiered721DelegateDeployer.sol#L15
JBTiered721Delegate.sol#L17
JBTiered721Delegate.sol#L198
JBTiered721Delegate.sol#L545