Skip to content

Commit 9cb8d42

Browse files
committed
Update proxy contracts and documentation
Changed EIP-2535 to ERC-2535 in HostItTickets documentation for accuracy. Updated TicketProxy constructor to be payable, allowing it to receive Ether.
1 parent 51ce46b commit 9cb8d42

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/HostItTickets.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ import {Diamond, FacetCut} from "@diamond/Diamond.sol";
3434
*/
3535

3636
/// @title HostIt Tickets
37-
/// @notice Implements EIP-2535 Diamond proxy pattern, allowing dynamic addition, replacement, and removal of facets
37+
/// @notice Implements ERC-2535 Diamond proxy pattern, allowing dynamic addition, replacement, and removal of facets
3838
/// @author HostIt Protocol
3939
contract HostItTickets is Diamond {
4040
/// @notice Initializes the Diamond proxy with the provided facets and initialization parameters

src/libs/TicketProxy.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@ import {BeaconProxy} from "@openzeppelin/contracts/proxy/beacon/BeaconProxy.sol"
3434
*/
3535

3636
/// @title TicketProxy
37-
/// @notice This is a proxy for the Ticket contract
37+
/// @notice Ticket proxy contract
3838
/// @author HostIt Protocol
3939
contract TicketProxy is BeaconProxy {
4040
/// @notice Initializes the TicketProxy with the provided beacon address
4141
/// @param _ticketBeacon The address of the Ticket beacon
42-
constructor(address _ticketBeacon) BeaconProxy(_ticketBeacon, "") {}
42+
constructor(address _ticketBeacon) payable BeaconProxy(_ticketBeacon, "") {}
4343
}
4444

4545
/*

0 commit comments

Comments
 (0)