Skip to content

Commit

Permalink
fix: eip walidator
Browse files Browse the repository at this point in the history
Signed-off-by: MASDXI <sirawitt42@gmail.com>
  • Loading branch information
MASDXI committed Nov 20, 2024
1 parent 2f535c5 commit 5a5aa9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ERCS/erc-7818.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ interface IERC7818 is IERC20 {

The rationale for developing an expirable `ERC20` token extension is based on several key requirements that ensure its practicality and adaptability for various applications to

### Compatibility with the existing ERC-20 standard.
### Compatibility with the existing [ERC-20](./erc-20.md) standard.
The extension should integrate smoothly with the `ERC20` interface, This ensures compatibility with existing token ecosystems and third-party tools like wallets and blockchain explorers.

### Flexible interface for various implementation.
Expand All @@ -136,7 +136,7 @@ The smart contract should be extensible, allowing businesses to tailor the expir

This standard is fully [ERC-20](./erc-20.md) compatible.

## Reference implementations
## Reference Implementation

For reference implementation can be found [here](../assets/erc-7818/README.md), But in the reference implementation, we employ a sorted list to automatically select the token that nearest expires first with a First-In-First-Out (`FIFO`) and sliding window algorithm that operates based on the `block.number` as opposed to relying on `block.timestamp`, which has been criticized for its lack of security and resilience, particularly given the increasing usage of Layer 2 (L2) networks over Layer 1 (L1) networks. Many L2 networks exhibit centralization and instability, which directly impacts asset integrity, rendering them potentially unusable during periods of network halting, as they are still reliant on the timestamp.

Expand Down

0 comments on commit 5a5aa9e

Please sign in to comment.