Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions ERCS/erc-7818.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ title: Expirable ERC-20
description: An ERC-20 extension for creating fungible tokens with expiration, supporting time-limited use cases.
author: sirawt (@MASDXI), ADISAKBOONMARK (@ADISAKBOONMARK)
discussions-to: https://ethereum-magicians.org/t/erc-7818-expirable-erc20/21655
status: Review
status: Last Call
last-call-deadline: 2025-02-07
type: Standards Track
category: ERC
created: 2024-11-13
Expand Down Expand Up @@ -159,7 +160,7 @@ interface IERC7818 is IERC20 {
}
```

### Behavior specification
### Behavior Specification

- `balanceOf` **MUST** return the total balance of tokens held by an account that are still valid (i.e., have not expired). This includes any tokens associated with specific epochs, provided they remain within their validity duration. Expired tokens **MUST NOT** be included in the returned balance, ensuring that only actively usable tokens are reflected in the result.
- `balanceOfAtEpoch` **MUST** returns the balance of tokens held by an account at the specified `epoch`, If the specified epoch is expired, this function **MUST** return `0`.
Expand Down
Loading