Skip to content

Commit

Permalink
update interface (#6361)
Browse files Browse the repository at this point in the history
  • Loading branch information
Amxx authored and pull[bot] committed Jan 31, 2024
1 parent e192c92 commit 2b3d56f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions EIPS/eip-5805.md
Original file line number Diff line number Diff line change
Expand Up @@ -375,11 +375,13 @@ This MUST be emitted when:
### Solidity interface

```sol
interface IERC_XXXX {
interface IERC5805 {
event DelegateChanged(address indexed delegator, address indexed fromDelegate, address indexed toDelegate);
event DelegateVotesChanged(address indexed delegate, uint256 previousBalance, uint256 newBalance);
function clock() external view returns (uint256);
function clock() external view returns (uint48);
function CLOCK_MODE() external view returns (string);
function getVotes(address account) external view returns (uint256);
function getPastVotes(address account, uint256 timepoint) external view returns (uint256);
function delegates(address account) external view returns (address);
Expand Down

0 comments on commit 2b3d56f

Please sign in to comment.