-
Notifications
You must be signed in to change notification settings - Fork 435
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
data: initial commit of duna admin comms
- Loading branch information
1 parent
b10f4c0
commit 2e1e585
Showing
6 changed files
with
511 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
68 changes: 68 additions & 0 deletions
68
packages/nouns-contracts/contracts/governance/data/NounsDAODataEventsV1.sol
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
// SPDX-License-Identifier: GPL-3.0 | ||
|
||
/// @title Nouns DAO Data Events | ||
|
||
/********************************* | ||
* ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ * | ||
* ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ * | ||
* ░░░░░░█████████░░█████████░░░ * | ||
* ░░░░░░██░░░████░░██░░░████░░░ * | ||
* ░░██████░░░████████░░░████░░░ * | ||
* ░░██░░██░░░████░░██░░░████░░░ * | ||
* ░░██░░██░░░████░░██░░░████░░░ * | ||
* ░░░░░░█████████░░█████████░░░ * | ||
* ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ * | ||
* ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ * | ||
*********************************/ | ||
|
||
pragma solidity ^0.8.19; | ||
|
||
contract NounsDAODataEventsV1 { | ||
event ProposalCandidateCreated( | ||
address indexed msgSender, | ||
address[] targets, | ||
uint256[] values, | ||
string[] signatures, | ||
bytes[] calldatas, | ||
string description, | ||
string slug, | ||
uint256 proposalIdToUpdate, | ||
bytes32 encodedProposalHash | ||
); | ||
event ProposalCandidateUpdated( | ||
address indexed msgSender, | ||
address[] targets, | ||
uint256[] values, | ||
string[] signatures, | ||
bytes[] calldatas, | ||
string description, | ||
string slug, | ||
uint256 proposalIdToUpdate, | ||
bytes32 encodedProposalHash, | ||
string reason | ||
); | ||
event ProposalCandidateCanceled(address indexed msgSender, string slug); | ||
event SignatureAdded( | ||
address indexed signer, | ||
bytes sig, | ||
uint256 expirationTimestamp, | ||
address proposer, | ||
string slug, | ||
uint256 proposalIdToUpdate, | ||
bytes32 encodedPropHash, | ||
bytes32 sigDigest, | ||
string reason | ||
); | ||
event FeedbackSent(address indexed msgSender, uint256 proposalId, uint8 support, string reason); | ||
event CandidateFeedbackSent( | ||
address indexed msgSender, | ||
address indexed proposer, | ||
string slug, | ||
uint8 support, | ||
string reason | ||
); | ||
event CreateCandidateCostSet(uint256 oldCreateCandidateCost, uint256 newCreateCandidateCost); | ||
event UpdateCandidateCostSet(uint256 oldUpdateCandidateCost, uint256 newUpdateCandidateCost); | ||
event ETHWithdrawn(address indexed to, uint256 amount); | ||
event FeeRecipientSet(address indexed oldFeeRecipient, address indexed newFeeRecipient); | ||
} |
Oops, something went wrong.