From 5a5aa9e33ad87c76d7e28808ccf0bd2510b1919e Mon Sep 17 00:00:00 2001 From: MASDXI Date: Wed, 20 Nov 2024 12:41:49 +0700 Subject: [PATCH] fix: eip walidator Signed-off-by: MASDXI --- ERCS/erc-7818.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ERCS/erc-7818.md b/ERCS/erc-7818.md index 18c7117302..ebf94c67c4 100644 --- a/ERCS/erc-7818.md +++ b/ERCS/erc-7818.md @@ -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. @@ -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.