Skip to content

Commit

Permalink
Fix rebasing issues
Browse files Browse the repository at this point in the history
  • Loading branch information
xhad committed Dec 15, 2024
1 parent d45a543 commit 1f352f0
Showing 1 changed file with 0 additions and 31 deletions.
31 changes: 0 additions & 31 deletions src/Chamber.sol
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,6 @@ contract Chamber is Board, Wallet {
/// @param numOfSeats The new number of seats
event UpdateSeats(bytes[] signedData, uint256 numOfSeats);

/// @notice Emitted when the number of seats is updated
/// @param signedData The signed data for the update
/// @param numOfSeats The new number of seats
event UpdateSeats(bytes[] signedData, uint256 numOfSeats);

/// @notice Initializes the Chamber contract with the given ERC20 and ERC721 tokens and sets the number of seats
/// @param erc20Token The address of the ERC20 token
/// @param erc721Token The address of the ERC721 token
Expand Down Expand Up @@ -221,30 +216,4 @@ contract Chamber is Board, Wallet {

revert("Caller is not a director");
}

/// WALLET ///

function submitTransaction(address to, uint256 value, bytes memory data) public onlyDirector {
_submitTransaction(to, value, data);
}

function confirmTransaction(uint256 transactionId) public onlyDirector {
_confirmTransaction(transactionId);
}

function executeTransaction(uint256 transactionId) public onlyDirector {
require(
getTransaction(transactionId).numConfirmations >= getQuorum(),
"Cannot execute transaction: not enough confirmations"
);
_executeTransaction(transactionId);
}

function revokeConfirmation(uint256 transactionId) public onlyDirector {
_revokeConfirmation(transactionId);
}

receive() external payable {
emit Received(msg.sender, msg.value);
}
}

0 comments on commit 1f352f0

Please sign in to comment.