Flags

Variables

UNWRAP_ETH

  uint256 public constant UNWRAP_ETH;

Flag to unwrap ETH

REVERT_IF_EXTERNAL_FAIL

  uint256 public constant REVERT_IF_EXTERNAL_FAIL;

Flag to revert if external call fails

PROXY_WITH_SENDER

  uint256 public constant PROXY_WITH_SENDER;

Flag to call proxy with a sender contract

SEND_HASHED_DATA

  uint256 public constant SEND_HASHED_DATA;

Data is hash in DeBridgeGate send method

Functions

getFlag

  function getFlag(
            uint256 _packedFlags,
            uint256 _flag
  ) internal returns (bool)

Get flag

Parameters:

setFlag

  function setFlag(
            uint256 _packedFlags,
            uint256 _flag,
            bool _value
  ) internal returns (uint256)

Set flag

Parameters:

Last updated