Skip to content

Commit

Permalink
fix: link and alt of img
Browse files Browse the repository at this point in the history
Signed-off-by: MASDXI <sirawitt42@gmail.com>
  • Loading branch information
MASDXI committed Nov 27, 2024
1 parent e5e4a60 commit b5d14c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions assets/erc-7818/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# ERC-7818

This is reference implementation of [ERC-7818](../../ERCS/erc-7818.md)
This is reference implementation of ERC-7818

## Implementation Describe

Expand All @@ -9,7 +9,7 @@ This is reference implementation of [ERC-7818](../../ERCS/erc-7818.md)
This contract creates an abstract implementation that adopts the `Sliding Window Algorithm` to maintain a window over a period of time (block height). This efficient approach allows for the look back and calculation of `usable balances` for each account within that window period. With this approach, the contract does not require a variable acting as a `counter` or a `state` to keep updating the latest state, nor does it need any interaction calls to keep updating the current period, which is an effortful and costly design.

<p align="center">
<img src="implementation.svg">
<img src="implementation.svg" alt="Sliding Window Maintain Balance is Slot">
</p>

#### Era and Slot for storing data in vertical and horizontal way
Expand Down

0 comments on commit b5d14c0

Please sign in to comment.