Constants

Git Source

EXECUTOR_SWAP_A_SLOT

**

bytes32 constant EXECUTOR_SWAP_A_SLOT = bytes32(uint256(keccak256("seawater.impl.swap.a")) - 1);

EXECUTOR_SWAP_PERMIT2_A_SLOT

0x918729dd8afb81fac3242345361976256d4c1121ed7c3b67e14c9e3fd9e750e2

bytes32 constant EXECUTOR_SWAP_PERMIT2_A_SLOT = bytes32(uint256(keccak256("seawater.impl.swap_permit2.a")) - 1);

EXECUTOR_QUOTE_A_SLOT

**

bytes32 constant EXECUTOR_QUOTE_A_SLOT = bytes32(uint256(keccak256("seawater.impl.quote.a")) - 1);

EXECUTOR_POSITION_SLOT

0x75711a1f12071de4ad9b405fd0234f84fcd9d494050d3a5169de3ad4fd942476

bytes32 constant EXECUTOR_POSITION_SLOT = bytes32(uint256(keccak256("seawater.impl.position")) - 1);

EXECUTOR_UPDATE_POSITION_SLOT

0x81e9c7c70971b5eb969cec21a82e6deed42e7c6736e0e83ced66d72297d9f1d7

bytes32 constant EXECUTOR_UPDATE_POSITION_SLOT = bytes32(uint256(keccak256("seawater.impl.update_position")) - 1);

EXECUTOR_ADMIN_SLOT

0x344c13190645d452a52856ca1efc42b3609893d92b93219c8820b76f3aa11288

bytes32 constant EXECUTOR_ADMIN_SLOT = bytes32(uint256(keccak256("seawater.impl.admin")) - 1);

EXECUTOR_ADJUST_POSITION_A_SLOT

bytes32 constant EXECUTOR_ADJUST_POSITION_A_SLOT = bytes32(uint256(keccak256("seawater.impl.adjust_position.a")) - 1);

EXECUTOR_ADJUST_POSITION_B_SLOT

bytes32 constant EXECUTOR_ADJUST_POSITION_B_SLOT = bytes32(uint256(keccak256("seawater.impl.adjust_position.b")) - 1);

EXECUTOR_SWAP_PERMIT2_B_SLOT

bytes32 constant EXECUTOR_SWAP_PERMIT2_B_SLOT = bytes32(uint256(keccak256("seawater.impl.swap_permit2.b")) - 1);

EXECUTOR_SWAP_B_SLOT

**

bytes32 constant EXECUTOR_SWAP_B_SLOT = bytes32(uint256(keccak256("seawater.impl.swap.b")) - 1);

EXECUTOR_QUOTE_B_SLOT

bytes32 constant EXECUTOR_QUOTE_B_SLOT = bytes32(uint256(keccak256("seawater.impl.quote.b")) - 1);

EXECUTOR_FALLBACK_SLOT

0xa77145850668b2edbbe1c458388a99e3dca3d62b8335520225dc4d03b2e2bfe0

bytes32 constant EXECUTOR_FALLBACK_SLOT = bytes32(uint256(keccak256("seawater.impl.fallback")) - 1);

PROXY_ADMIN_SLOT

bytes32 constant PROXY_ADMIN_SLOT = bytes32(uint256(keccak256("seawater.role.proxy.admin")) - 1);

EXECUTOR_SWAP_A_DISPATCH

uint8 constant EXECUTOR_SWAP_A_DISPATCH = 0;

EXECUTOR_UPDATE_POSITION_DISPATCH

uint8 constant EXECUTOR_UPDATE_POSITION_DISPATCH = 1;

EXECUTOR_POSITION_DISPATCH

uint8 constant EXECUTOR_POSITION_DISPATCH = 2;

EXECUTOR_ADMIN_DISPATCH

uint8 constant EXECUTOR_ADMIN_DISPATCH = 3;

EXECUTOR_SWAP_PERMIT2_A_DISPATCH

uint8 constant EXECUTOR_SWAP_PERMIT2_A_DISPATCH = 4;

EXECUTOR_QUOTES_A_DISPATCH

uint8 constant EXECUTOR_QUOTES_A_DISPATCH = 5;

EXECUTOR_ADJUST_POSITION_A_DISPATCH

uint8 constant EXECUTOR_ADJUST_POSITION_A_DISPATCH = 6;

EXECUTOR_SWAP_PERMIT2_B_DISPATCH

uint8 constant EXECUTOR_SWAP_PERMIT2_B_DISPATCH = 7;

EXECUTOR_ADJUST_POSITION_B_DISPATCH

uint8 constant EXECUTOR_ADJUST_POSITION_B_DISPATCH = 8;

EXECUTOR_SWAP_B_DISPATCH

uint8 constant EXECUTOR_SWAP_B_DISPATCH = 9;

EXECUTOR_QUOTES_B_DISPATCH

uint8 constant EXECUTOR_QUOTES_B_DISPATCH = 10;