-
Notifications
You must be signed in to change notification settings - Fork 9
/
ISpaceEvents.sol
25 lines (23 loc) · 1.32 KB
/
ISpaceEvents.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.18;
import { IndexedStrategy, Proposal, Strategy, Vote } from "src/types.sol";
interface ISpaceEvents {
event ProposalCreated(uint256 nextProposalId, address author, Proposal proposal, string metadataUri, bytes payload);
event VoteCreated(uint256 proposalId, address voterAddress, Vote vote, string voteMetadataUri);
event ProposalExecuted(uint256 proposalId);
event ProposalCancelled(uint256 proposalId);
event VotingStrategiesAdded(Strategy[] votingStrategies, bytes[] data);
event VotingStrategiesRemoved(uint8[] indices);
event ExecutionStrategiesAdded(Strategy[] executionStrategies);
event ExecutionStrategiesRemoved(uint8[] executionStrategies);
event AuthenticatorsAdded(address[] authenticators);
event AuthenticatorsRemoved(address[] authenticators);
event ControllerUpdated(address newController);
event MaxVotingDurationUpdated(uint32 newMaxVotingDuration);
event MinVotingDurationUpdated(uint32 newMinVotingDuration);
event MetadataUriUpdated(string newMetadataUri);
event ProposalThresholdUpdated(uint256 newProposalThreshold);
event QuorumUpdated(uint256 newQuorum);
event VotingDelayUpdated(uint256 newVotingDelay);
event ProposalUpdated(uint256 proposalId, IndexedStrategy newStrategy, string newMetadataUri);
}