Skip to content

Commit

Permalink
chore(Grants): emit event before intraction (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
aliXsed authored Sep 22, 2024
2 parents fb17683 + 26572d4 commit ebdd95d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Grants.sol
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,9 @@ contract Grants {
}
vestingSchedules[to][page].push(schedule);

token.safeTransferFrom(msg.sender, address(this), perPeriodAmount * periodCount);

emit VestingScheduleAdded(to, schedule);

token.safeTransferFrom(msg.sender, address(this), perPeriodAmount * periodCount);
}

/**
Expand Down

0 comments on commit ebdd95d

Please sign in to comment.