| document setup b1c9b0d julienbrg 10h ago | 1 | # Changelog |
| 2 | |
| 3 | All notable changes to this project are documented in this file. |
| 4 | |
| 5 | The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), |
| 6 | and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). |
| 7 | |
| 8 | ## [Unreleased] |
| 9 | |
| 10 | ### Added |
| 11 | |
| 12 | - Foundry project scaffolding (`forge-std`, CI workflow, `.gitignore`). |
| Merge 3-peg-love-to-weth into main ce13509 rickub 8h ago | 13 | - `Love`, an ERC-20 token (`LOVE`, 18 decimals) on OpenZeppelin v5, pegged to |
| 14 | wETH at 100000 LOVE per wETH. No mint function and no owner: supply moves |
| 15 | only through the permissionless `deposit(uint256)` and `withdraw(uint256)`, |
| 16 | so circulating LOVE is always backed by wETH held by the contract. |
| 17 | `withdraw` reverts with `AmountNotDivisibleByRate` unless the amount is a |
| 18 | multiple of the rate, keeping the peg free of rounding dust. |
| 19 | - `MockWETH`, a test-only WETH9 stand-in, and tests covering deposit, withdraw, |
| 20 | the divisibility revert, backing invariants, round-trips, transfers, |
| 21 | approve/`transferFrom`, reverts and fuzzing. |
| Merge 1-add-main-logic into main dded29a rickub 9h ago | 22 | - Deployment script `script/Love.s.sol`, deploying with CREATE2 through the |
| Merge 3-peg-love-to-weth into main ce13509 rickub 8h ago | 23 | canonical deterministic deployer; salt defaults to `keccak256("LOVE")` and is |
| 24 | overridable via `SALT`, wETH defaults to the OP-Stack address and is |
| 25 | overridable via `WETH`. The address embeds the wETH argument, so it is |
| 26 | identical across chains that share one wETH deployment. |
| Merge 1-add-main-logic into main dded29a rickub 9h ago | 27 | - `predict()` entrypoint printing the deployment address without broadcasting, |
| Merge 3-peg-love-to-weth into main ce13509 rickub 8h ago | 28 | and CREATE2 tests pinning address determinism across chain IDs and its |
| 29 | dependence on the wETH argument. |
| document setup b1c9b0d julienbrg 10h ago | 30 | - `foundry.toml` with pinned solc 0.8.30, optimizer, fmt rules, fuzz/invariant |
| update docs for erc20 69c46a2 julienbrg 10h ago | 31 | defaults, and Base Sepolia RPC/Etherscan endpoints driven by env vars. |
| Merge 2-multichain-check into main 7c6b16b rickub 9h ago | 32 | - `script/multichain-check.sh`, deploying `Love` on two local anvil nodes with |
| 33 | different chain IDs and failing if the two addresses don't match. |
| update docs for erc20 69c46a2 julienbrg 10h ago | 34 | - `remappings.txt` for `@openzeppelin/contracts/` and `forge-std/`. |
| Merge 3-peg-love-to-weth into main ce13509 rickub 8h ago | 35 | - `.env.example` documenting required environment variables, including `WETH`. |