Skip to content

Commit

Permalink
stream escrow: add events in constructor
Browse files Browse the repository at this point in the history
to help subgraph index these initial values better
  • Loading branch information
eladmallel committed Nov 19, 2024
1 parent 3634f28 commit fca48d6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/nouns-contracts/contracts/StreamEscrow.sol
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,11 @@ contract StreamEscrow is IStreamEscrow {
nounsToken = INounsToken(nounsToken_);
allowedToCreateStream[streamCreator_] = true;
minimumTickDuration = minimumTickDuration_;

emit DAOExecutorAddressSet(daoExecutor_);
emit ETHRecipientSet(ethRecipient_);
emit NounsRecipientSet(nounsRecipient_);
emit AllowedToCreateStreamChanged(streamCreator_, true);
}

/**
Expand Down

0 comments on commit fca48d6

Please sign in to comment.