# PEPE RUN contracts import Imported both contracts, their tests, and the two requested docs from `6083f1b5db4c14344351876ca9d2d057b768ad85`. Built and tested in the scratch clone and verified that all seven exported files match the checked copies. ## Contract changes RunArcade transfers the 25% sink share directly to `0x000000000000000000000000000000000000dEaD` in the purchase transaction. The sink removes those tokens from circulation permanently while ERC-20 `totalSupply()` stays unchanged. The ledger verifies the payer debit on collection, exact net ledger, sink and developer balances, and unchanged supply after each token transfer. A failed check rolls back the purchase and its accounting. `IArcadeToken` drops `burn(uint256)`. The existing `Distributed.burned` ABI field reports the sink amount for indexer compatibility. RunArcade takes the token address as its fourth constructor argument and stores it as immutable. Chain ID 1 requires `0xD34a99Bc0f67aE1bbd63C660e6d0b0dd03E263B7`. On Sepolia the constructor accepts a deployed ERC-20 that can represent exact quarter-unit shares. Entry, permanent skin and Royal prices are 1, 5 and 10 IMD respectively. The split is 50% weekly jackpot, 25% sink, and 25% to `0x83027AD9d0D5374335086c539dADD1db983441B0`. RunVerifier was imported byte-for-byte. The contract docs describe the sink, constructor, fork check and direct verifier integration. ## Offline checks `forge test --offline --out test/scratch/forge-out --cache-path test/scratch/forge-cache` with Forge 1.9.0 and solc 0.8.26 passed **44 tests**, with **0 failed** and **1 skipped**. The total was 32 RunArcade tests, 12 RunVerifier tests and the fork test intentionally skipped with `IMD_FORK_RPC` unset. Tests cover purchase rollback for transfer fees, false returns and supply changes on collection and payouts, as well as the mainnet address constraint and alternate-token construction under the Sepolia chain ID. ## Mainnet fork The following command passed **1 test** with **0 failed** and **0 skipped**. ```sh IMD_FORK_RPC=https://eth.drpc.org forge test --match-contract RunArcadeForkTest --out test/scratch/forge-out --cache-path test/scratch/forge-cache -vv ``` The public dRPC endpoint served Ethereum mainnet block **26,511,406** (`0x93631a0b503fc9593bc0dc9c9b3482a4f2feada79e9e305bc914e661aed7f7b9`). The test checked the pinned IMD runtime hash and impersonated existing holder `0x4e0fA57Bde726079356537E2F34d671E9F41ADbc`. The holder transferred 16 IMD to the buyer and its balance went from 34.5 to 18.5 IMD. Both test verifier roles signed the 1,234-meter score. The fork clock advanced to the weekly boundary, where permissionless settlement paid 8 IMD to the winner. Royal expired and the permanent skin remained owned. The table reports exact before → after balances in IMD. **S** is **4,215,874.631149 IMD** (`4215874631149000000000000` base units). | Fork transaction | RunArcade | Sink | Developer | Buyer and eventual winner | Total supply | | --- | ---: | ---: | ---: | ---: | ---: | | Holder funds buyer | 0 → 0 | 875.583082017371132001 → 875.583082017371132001 | 10,345.941295179603385112 → 10,345.941295179603385112 | 0 → 16 | S → S | | Approve skin | 0 → 0 | 875.583082017371132001 → 875.583082017371132001 | 10,345.941295179603385112 → 10,345.941295179603385112 | 16 → 16 | S → S | | Buy permanent skin | 0 → 2.5 | 875.583082017371132001 → 876.833082017371132001 | 10,345.941295179603385112 → 10,347.191295179603385112 | 16 → 11 | S → S | | Approve Royal | 2.5 → 2.5 | 876.833082017371132001 → 876.833082017371132001 | 10,347.191295179603385112 → 10,347.191295179603385112 | 11 → 11 | S → S | | Buy Royal | 2.5 → 7.5 | 876.833082017371132001 → 879.333082017371132001 | 10,347.191295179603385112 → 10,349.691295179603385112 | 11 → 1 | S → S | | Approve entry | 7.5 → 7.5 | 879.333082017371132001 → 879.333082017371132001 | 10,349.691295179603385112 → 10,349.691295179603385112 | 1 → 1 | S → S | | Buy game entry | 7.5 → 8 | 879.333082017371132001 → 879.583082017371132001 | 10,349.691295179603385112 → 10,349.941295179603385112 | 1 → 0 | S → S | | Submit doubly signed score | 8 → 8 | 879.583082017371132001 → 879.583082017371132001 | 10,349.941295179603385112 → 10,349.941295179603385112 | 0 → 0 | S → S | | Settle week | 8 → 0 | 879.583082017371132001 → 879.583082017371132001 | 10,349.941295179603385112 → 10,349.941295179603385112 | 0 → 8 | S → S | ## Scope and limitations PublicNode declined historical state without an archive token. The full fork check ran successfully through public dRPC. Sepolia constructor compatibility was checked locally with chain ID 11155111. Live Sepolia transactions, deployment, and the independent integrated-system audit are outside this contract import item.