Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix spelling issues #135

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion script/DeployNewDAO.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ contract SetupDaoScript is Script {
IManager manager = IManager(_getKey("Manager"));
manager.deploy(founders, tokenParams, auctionParams, govParams);

//now that we have a DAO process a proposal
//now that we have a DAO process as proposal

vm.stopBroadcast();
}
Expand Down
4 changes: 2 additions & 2 deletions src/auction/Auction.sol
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ contract Auction is IAuction, VersionedContract, UUPS, Ownable, ReentrancyGuard,
/// IMMUTABLES ///
/// ///

/// @notice Iniital time buffer for auction bids
/// @notice Initial time buffer for auction bids
uint40 private immutable INITIAL_TIME_BUFFER = 5 minutes;

/// @notice Min bid increment BPS
Expand Down Expand Up @@ -93,7 +93,7 @@ contract Auction is IAuction, VersionedContract, UUPS, Ownable, ReentrancyGuard,
/// @param _treasury The treasury address where ETH will be sent
/// @param _duration The duration of each auction
/// @param _reservePrice The reserve price of each auction
/// @param _founderRewardRecipient The address to recieve founders rewards
/// @param _founderRewardRecipient The address to receive founders rewards
/// @param _founderRewardBps The percent of rewards a founder receives in BPS for each auction
function initialize(
address _token,
Expand Down
2 changes: 1 addition & 1 deletion src/auction/types/AuctionTypesV1.sol
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ contract AuctionTypesV1 {
/// @param highestBid The highest amount of ETH raised
/// @param highestBidder The leading bidder
/// @param startTime The timestamp the auction starts
/// @param endTime The timestamp the auction ends
/// @param endTime The timestamp at the auction ends
/// @param settled If the auction has been settled
struct Auction {
uint256 tokenId;
Expand Down
4 changes: 2 additions & 2 deletions src/governance/governor/Governor.sol
Original file line number Diff line number Diff line change
Expand Up @@ -651,8 +651,8 @@ contract Governor is IGovernor, VersionedContract, UUPS, Ownable, EIP712, Propos
revert INVALID_DELAYED_GOVERNANCE_EXPIRATION();
}

// Delay should only be set if no tokens have been minted to prevent active DAOs from accidentally or malicously enabling this funcationality
// Delay is only availible for DAOs that have reserved tokens
// Delay should only be set if no tokens have been minted to prevent active DAOs from accidentally or maliciously enabling this functionality
// Delay is only available for DAOs that have reserved tokens
if (settings.token.totalSupply() > 0 || settings.token.reservedUntilTokenId() == 0) {
revert CANNOT_DELAY_GOVERNANCE();
}
Expand Down
2 changes: 1 addition & 1 deletion src/governance/governor/IGovernor.sol
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ interface IGovernor is IUUPS, IOwnable, IEIP712, GovernorTypesV1 {
function updateDelayedGovernanceExpirationTimestamp(uint256 _newDelayedTimestamp) external;

/// @notice Updates the vetoer
/// @param newVetoer The new vetoer addresss
/// @param newVetoer The new vetoer addresses
function updateVetoer(address newVetoer) external;

/// @notice Burns the vetoer
Expand Down