-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstorage-layout
21 lines (19 loc) · 1.98 KB
/
storage-layout
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
╭--------------------+----------------------------+------+--------+-------+-----------------------------╮
| Name | Type | Slot | Offset | Bytes | Contract |
+=======================================================================================================+
| poolKey | struct PoolKey | 0 | 0 | 96 | src/SwapXHook.sol:SwapXHook |
|--------------------+----------------------------+------+--------+-------+-----------------------------|
| currency0 | Currency | 3 | 0 | 20 | src/SwapXHook.sol:SwapXHook |
|--------------------+----------------------------+------+--------+-------+-----------------------------|
| currency1 | Currency | 4 | 0 | 20 | src/SwapXHook.sol:SwapXHook |
|--------------------+----------------------------+------+--------+-------+-----------------------------|
| swapXTaskManager | contract ISwapXTaskManager | 5 | 0 | 20 | src/SwapXHook.sol:SwapXHook |
|--------------------+----------------------------+------+--------+-------+-----------------------------|
| buyOrderCancelled | mapping(uint256 => bool) | 6 | 0 | 32 | src/SwapXHook.sol:SwapXHook |
|--------------------+----------------------------+------+--------+-------+-----------------------------|
| sellOrderCancelled | mapping(uint256 => bool) | 7 | 0 | 32 | src/SwapXHook.sol:SwapXHook |
|--------------------+----------------------------+------+--------+-------+-----------------------------|
| buyOrders | struct SwapXHook.Order[] | 8 | 0 | 32 | src/SwapXHook.sol:SwapXHook |
|--------------------+----------------------------+------+--------+-------+-----------------------------|
| sellOrders | struct SwapXHook.Order[] | 9 | 0 | 32 | src/SwapXHook.sol:SwapXHook |
╰--------------------+----------------------------+------+--------+-------+-----------------------------╯