Helpful?
ActionConstants
Git Source - Generated with forge doc
Common constants used in actions
Constants are gas efficient alternatives to their literal values
State Variables
OPEN_DELTA
used to signal that an action should use the input value of the open delta on the pool manager or of the balance that the contract holds
uint128 internal constant OPEN_DELTA = 0;
CONTRACT_BALANCE
used to signal that an action should use the contract's entire balance of a currency This value is equivalent to 1<<255, i.e. a singular 1 in the most significant bit.
uint256 internal constant CONTRACT_BALANCE = 0x8000000000000000000000000000000000000000000000000000000000000000;
MSG_SENDER
used to signal that the recipient of an action should be the msgSender
address internal constant MSG_SENDER = address(1);
ADDRESS_THIS
used to signal that the recipient of an action should be the address(this)
address internal constant ADDRESS_THIS = address(2);