Storage Layout
DISCLAIMER // NFA // DYOR
This analysis is based on observations of the contract behavior. We are not smart contract security experts. This document aims to explain what the contract appears to do based on the code. It should not be considered a comprehensive security audit or financial advice. Always verify critical information independently and consult with blockchain security professionals for important decisions.
⊙ generated by robots | curated by humans
| METADATA | |
|---|---|
| Contract Address | 0x658bF1A6608210FDE7310760f391AD4eC8006A5F (etherscan) |
| Network | Ethereum Mainnet |
| Analysis Date | 2026-02-28 |
Variables
zQuoter declares no state variables. Every value used by the contract is either a file-level constant (encoded directly into bytecode) or computed at call time. There are no storage slots to document.
| SLOT | VARIABLE NAME | TYPE | CURRENT VALUE | PURPOSE |
|---|---|---|---|---|
| — | (none) | — | — | No storage variables defined |
File-Level Constants (Bytecode-Embedded)
The following values are constant declarations at the file level. They are not stored in contract storage — they are compiled directly into the bytecode as literals.
| CONSTANT | VALUE | PURPOSE |
|---|---|---|
ZROUTER |
0x0000000000404FECAf36E6184245475eE1254835 |
Earlier zRouter; target for generated calldata |
WETH |
0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2 |
WETH address; used as ETH proxy and two-hop intermediary |
V2_FACTORY |
0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f |
Uniswap V2 factory for CREATE2 pool derivation |
V2_POOL_INIT_CODE_HASH |
0x96e8ac42... |
Init code hash for Uniswap V2 pool CREATE2 |
V3_FACTORY |
0x1F98431c8aD98523631AE4a59f267346ea31F984 |
Uniswap V3 factory for pool address lookup |
V3_QUOTER |
0x5e55C9e631FAE526cd4B0526C4818D6e0a9eF0e3 |
Uniswap V3 QuoterV2 contract |
V4_STATE_VIEW |
0x7fFE42C4a5DEeA5b0feC41C94C136Cf115597227 |
Uniswap V4 StateView lens contract |
SUSHI_FACTORY |
0xC0AEe478e3658e2610c5F7A4A2E1777cE9e4f2Ac |
SushiSwap factory for CREATE2 pool derivation |
SUSHI_POOL_INIT_CODE_HASH |
0xe18a34eb... |
Init code hash for SushiSwap pool CREATE2 |
ZAMM |
0x000000000000040470635EB91b7CE4D132D616eD |
zFi zAMM contract |
MIN_SQRT_RATIO_PLUS_ONE |
4295128740 |
V3/V4 price limit for selling token0 |
MAX_SQRT_RATIO_MINUS_ONE |
1461446703...341 |
V3/V4 price limit for selling token1 |
Diagrams
graph TB
subgraph Storage["Contract Storage"]
NONE["No storage slots — fully stateless"]
end
subgraph Constants["File-Level Constants (Bytecode)"]
C1["ZROUTER — older zRouter target"]
C2["WETH — ETH proxy"]
C3["V2_FACTORY + init hash — V2/Sushi pool derivation"]
C4["V3_FACTORY + V3_QUOTER — V3 quoting"]
C5["V4_STATE_VIEW — V4 pool state reads"]
C6["ZAMM — zAMM pool reads"]
end
Storage -.->|"zero slots"| Constants
style NONE fill:#e8f5e9
style Storage fill:#f9f9f9
Verification
To confirm zero storage usage:
# CHECK ALL 5 STORAGE SLOTS (should all be zero)
cast storage 0x658bF1A6608210FDE7310760f391AD4eC8006A5F 0
cast storage 0x658bF1A6608210FDE7310760f391AD4eC8006A5F 1
cast storage 0x658bF1A6608210FDE7310760f391AD4eC8006A5F 2
cast storage 0x658bF1A6608210FDE7310760f391AD4eC8006A5F 3
cast storage 0x658bF1A6608210FDE7310760f391AD4eC8006A5F 4
All slots should return 0x0000000000000000000000000000000000000000000000000000000000000000.