Skip to content

Commit

Permalink
👷 change pDAO terminology to owner
Browse files Browse the repository at this point in the history
  • Loading branch information
Flocqst committed Sep 11, 2024
1 parent 5a5670b commit a1ab973
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/AuctionFactory.sol
Original file line number Diff line number Diff line change
Expand Up @@ -32,25 +32,25 @@ contract AuctionFactory {
}

/// @notice Creates a new auction by cloning the auction implementation contract
/// @param _pDAO The address of the DAO that owns the auction
/// @param _owner The address of the DAO that owns the auction
/// @param _usdc The address for the USDC ERC20 token
/// @param _kwenta The address for the KWENTA ERC20 token
/// @param _startingBid The starting bid amount
/// @param _bidBuffer The initial bid buffer amount
/// @dev The newly created auction contract is initialized and added to the auctions array
function createAuction(
address _pDAO,
address _owner,
address _usdc,
address _kwenta,
uint256 _startingBid,
uint256 _bidBuffer
) external {
address clone = Clones.clone(auctionImplementation);
Auction(clone).initialize(
_pDAO, _usdc, _kwenta, _startingBid, _bidBuffer
_owner, _usdc, _kwenta, _startingBid, _bidBuffer
);
Auction newAuction =
new Auction(_pDAO, _usdc, _kwenta, _startingBid, _bidBuffer);
new Auction(_owner, _usdc, _kwenta, _startingBid, _bidBuffer);
auctions.push(address(newAuction));

emit AuctionCreated(
Expand Down

0 comments on commit a1ab973

Please sign in to comment.