From: Ardis Lu Date: Tue, 30 Jan 2024 02:53:02 +0000 (-0800) Subject: Bump images to match new UI X-Git-Url: https://git.ardis.lu/?a=commitdiff_plain;h=85c13cc75129088dacce04c7fb4f4ff0f70df9c2;p=event-hashes Bump images to match new UI Not converting to WebP because the size savings aren't worth degraded quality and additional effort. The PNGs are already optimized using oxipng. --- diff --git a/.github/etherscan.png b/.github/etherscan.png new file mode 100644 index 0000000..bd8c61e Binary files /dev/null and b/.github/etherscan.png differ diff --git a/.github/etherscan.webp b/.github/etherscan.webp deleted file mode 100644 index f26e360..0000000 Binary files a/.github/etherscan.webp and /dev/null differ diff --git a/.github/event-hashes.png b/.github/event-hashes.png new file mode 100644 index 0000000..c95a8a5 Binary files /dev/null and b/.github/event-hashes.png differ diff --git a/.github/event-hashes.webp b/.github/event-hashes.webp deleted file mode 100644 index 6dc8373..0000000 Binary files a/.github/event-hashes.webp and /dev/null differ diff --git a/.github/parse-smart-contract.png b/.github/parse-smart-contract.png new file mode 100644 index 0000000..6d6ce85 Binary files /dev/null and b/.github/parse-smart-contract.png differ diff --git a/.github/parse-smart-contract.webp b/.github/parse-smart-contract.webp deleted file mode 100644 index 00ff759..0000000 Binary files a/.github/parse-smart-contract.webp and /dev/null differ diff --git a/README.md b/README.md index 66a5eab..577a88e 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ This is a minimal web utility to calculate the `keccak256` hashes of the normali ## Example -![Demonstration of the event-hashes web UI hashing the ERC-20 Transfer event.](./.github/event-hashes.webp) +![Demonstration of the event-hashes web UI hashing the ERC-20 Transfer event.](./.github/event-hashes.png) Given the [standard ERC-20 `Transfer` event](https://ercs.ethereum.org/ERCS/erc-20#events): @@ -31,7 +31,7 @@ Then calculate the `keccak256` hash of the UTF-8 encoded bytes of the normalized This hash may then be used in another tool to filter a smart contract's logs, e.g. [in Etherscan](https://etherscan.io/address/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48#events): -![The "Events" page of a token smart contract on Etherscan, filtered to only the events matching the previously calculated Keccak-256 hash.](./.github/etherscan.webp) +![The "Events" page of a token smart contract on Etherscan, filtered to only the events matching the previously calculated Keccak-256 hash.](./.github/etherscan.png) ## Features @@ -39,4 +39,4 @@ This hash may then be used in another tool to filter a smart contract's logs, e. There's no need to manually extract the event signatures from the smart contract code. The tool will automatically ignore lines that don't contain event signatures. -![Demonstration of the event-hashes web UI parsing an entire Solidity smart contract and ignoring lines of code that don't contain events.](./.github/parse-smart-contract.webp) +![Demonstration of the event-hashes web UI parsing an entire Solidity smart contract and ignoring lines of code that don't contain events.](./.github/parse-smart-contract.png)