Skip to content

Commit

Permalink
add scouting completed
Browse files Browse the repository at this point in the history
  • Loading branch information
backmeupplz committed Aug 15, 2024
1 parent a117f8f commit 3263f30
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions contracts/LunchbreakScoutPass.sol
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ contract LunchbreakScoutPass is
event TokenIdSet(uint256 newTokenId);
event TokensBurned(address indexed account, uint256 amount);
event SeatsSet(address newSeats);
event ScoutingCompleted(address indexed scoutedUser);

// Initializer

Expand Down Expand Up @@ -188,6 +189,7 @@ contract LunchbreakScoutPass is
// Effects
_burn(msg.sender, tokenId, 1);
emit TokensBurned(msg.sender, 1);
emit ScoutingCompleted(user);
// Interactions
LunchbreakSeats(seats).buySeats{value: msg.value}(user, 1);
}
Expand Down

0 comments on commit 3263f30

Please sign in to comment.