Skip to content

Commit

Permalink
add events interface
Browse files Browse the repository at this point in the history
  • Loading branch information
TamaraRingas committed Aug 27, 2024
1 parent 35a50e5 commit fc51ac3
Showing 1 changed file with 18 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
// SPDX-License-Identifier: MIT
pragma solidity >=0.8.24;

interface IERC20Events {
/**
* @dev Emitted when `value` tokens are moved from one account (`from`) to
* another (`to`).
*
* Note that `value` may be zero.
*/
event Transfer(address indexed from, address indexed to, uint256 value);

/**
* @dev Emitted when the allowance of a `spender` for an `owner` is set by
* a call to {approve}. `value` is the new allowance.
*/
event Approval(address indexed owner, address indexed spender, uint256 value);
}

0 comments on commit fc51ac3

Please sign in to comment.