Add storage layout
Signed-off-by: AlienTornadosaurusHex <>
This commit is contained in:
parent
6bdd7a26e7
commit
deebb13953
7
storage/v1.FeeManager.md
Normal file
7
storage/v1.FeeManager.md
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
| Name | Type | Slot | Offset | Bytes | Contract |
|
||||||
|
|----------------------------|-----------------------------------------------|------|--------|-------|------------------------------------------------|
|
||||||
|
| uniswapTornPoolSwappingFee | uint24 | 0 | 0 | 3 | src/v1/tornado-proxy/FeeManager.sol:FeeManager |
|
||||||
|
| uniswapTimePeriod | uint32 | 0 | 3 | 4 | src/v1/tornado-proxy/FeeManager.sol:FeeManager |
|
||||||
|
| updateFeeTimeLimit | uint24 | 0 | 7 | 3 | src/v1/tornado-proxy/FeeManager.sol:FeeManager |
|
||||||
|
| instanceFee | mapping(contract ITornadoInstance => uint160) | 1 | 0 | 32 | src/v1/tornado-proxy/FeeManager.sol:FeeManager |
|
||||||
|
| instanceFeeUpdated | mapping(contract ITornadoInstance => uint256) | 2 | 0 | 32 | src/v1/tornado-proxy/FeeManager.sol:FeeManager |
|
7
storage/v1.InstanceRegistry.md
Normal file
7
storage/v1.InstanceRegistry.md
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
| Name | Type | Slot | Offset | Bytes | Contract |
|
||||||
|
|---------------|------------------------------------------------------------------------|------|--------|-------|------------------------------------------------------------|
|
||||||
|
| _initialized | bool | 0 | 0 | 1 | src/v1/tornado-proxy/InstanceRegistry.sol:InstanceRegistry |
|
||||||
|
| _initializing | bool | 0 | 1 | 1 | src/v1/tornado-proxy/InstanceRegistry.sol:InstanceRegistry |
|
||||||
|
| router | contract TornadoRouter | 0 | 2 | 20 | src/v1/tornado-proxy/InstanceRegistry.sol:InstanceRegistry |
|
||||||
|
| instances | mapping(contract ITornadoInstance => struct InstanceRegistry.Instance) | 1 | 0 | 32 | src/v1/tornado-proxy/InstanceRegistry.sol:InstanceRegistry |
|
||||||
|
| instanceIds | contract ITornadoInstance[] | 2 | 0 | 32 | src/v1/tornado-proxy/InstanceRegistry.sol:InstanceRegistry |
|
12
storage/v2.FeeOracleManager.md
Normal file
12
storage/v2.FeeOracleManager.md
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
| Name | Type | Slot | Offset | Bytes | Contract |
|
||||||
|
|---------------------------------------|-----------------------------------------------------------|------|--------|-------|----------------------------------------------|
|
||||||
|
| _deprecatedUniswapTornPoolSwappingFee | uint24 | 0 | 0 | 3 | src/v2/FeeOracleManager.sol:FeeOracleManager |
|
||||||
|
| _deprecatedUniswapTimePeriod | uint32 | 0 | 3 | 4 | src/v2/FeeOracleManager.sol:FeeOracleManager |
|
||||||
|
| feeUpdateInterval | uint24 | 0 | 7 | 3 | src/v2/FeeOracleManager.sol:FeeOracleManager |
|
||||||
|
| _oldFeesForInstance | mapping(contract ITornadoInstance => uint160) | 1 | 0 | 32 | src/v2/FeeOracleManager.sol:FeeOracleManager |
|
||||||
|
| _oldFeesForInstanceUpdateTime | mapping(contract ITornadoInstance => uint256) | 2 | 0 | 32 | src/v2/FeeOracleManager.sol:FeeOracleManager |
|
||||||
|
| _initialized | bool | 3 | 0 | 1 | src/v2/FeeOracleManager.sol:FeeOracleManager |
|
||||||
|
| _initializing | bool | 3 | 1 | 1 | src/v2/FeeOracleManager.sol:FeeOracleManager |
|
||||||
|
| instanceRegistry | contract InstanceRegistry | 3 | 2 | 20 | src/v2/FeeOracleManager.sol:FeeOracleManager |
|
||||||
|
| instanceFeeOracles | mapping(contract ITornadoInstance => contract IFeeOracle) | 4 | 0 | 32 | src/v2/FeeOracleManager.sol:FeeOracleManager |
|
||||||
|
| feeDataForInstance | mapping(contract ITornadoInstance => struct FeeData) | 5 | 0 | 32 | src/v2/FeeOracleManager.sol:FeeOracleManager |
|
12
storage/v2.InstanceRegistry.md
Normal file
12
storage/v2.InstanceRegistry.md
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
| Name | Type | Slot | Offset | Bytes | Contract |
|
||||||
|
|--------------------------|------------------------------------------------------------------------------------------|------|--------|-------|----------------------------------------------|
|
||||||
|
| _deprecatedInitialized | bool | 0 | 0 | 1 | src/v2/InstanceRegistry.sol:InstanceRegistry |
|
||||||
|
| _deprecatedInitializing | bool | 0 | 1 | 1 | src/v2/InstanceRegistry.sol:InstanceRegistry |
|
||||||
|
| _deprecatedRouterAddress | address | 0 | 2 | 20 | src/v2/InstanceRegistry.sol:InstanceRegistry |
|
||||||
|
| _deprecatedInstances | mapping(address => struct InstanceRegistryLegacyStorage.LegacyInstanceStructPlaceholder) | 1 | 0 | 32 | src/v2/InstanceRegistry.sol:InstanceRegistry |
|
||||||
|
| _deprecatedInstanceIds | contract ITornadoInstance[] | 2 | 0 | 32 | src/v2/InstanceRegistry.sol:InstanceRegistry |
|
||||||
|
| _initialized | bool | 3 | 0 | 1 | src/v2/InstanceRegistry.sol:InstanceRegistry |
|
||||||
|
| _initializing | bool | 3 | 1 | 1 | src/v2/InstanceRegistry.sol:InstanceRegistry |
|
||||||
|
| instanceData | mapping(contract ITornadoInstance => struct InstanceData) | 4 | 0 | 32 | src/v2/InstanceRegistry.sol:InstanceRegistry |
|
||||||
|
| instances | contract ITornadoInstance[] | 5 | 0 | 32 | src/v2/InstanceRegistry.sol:InstanceRegistry |
|
||||||
|
| router | contract TornadoRouter | 6 | 0 | 20 | src/v2/InstanceRegistry.sol:InstanceRegistry |
|
Loading…
Reference in New Issue
Block a user