Flags

Variables

UNWRAP_ETH

1
uint256 public constant UNWRAP_ETH;
Copied!
Flag to unwrap ETH

REVERT_IF_EXTERNAL_FAIL

1
uint256 public constant REVERT_IF_EXTERNAL_FAIL;
Copied!
Flag to revert if external call fails

PROXY_WITH_SENDER

1
uint256 public constant PROXY_WITH_SENDER;
Copied!
Flag to call proxy with a sender contract

SEND_HASHED_DATA

1
uint256 public constant SEND_HASHED_DATA;
Copied!
Data is hash in DeBridgeGate send method

Functions

getFlag

1
function getFlag(
2
uint256 _packedFlags,
3
uint256 _flag
4
) internal returns (bool)
Copied!
Get flag

Parameters:

Name
Type
Description
_packedFlags
uint256
Flags packed to uint256
_flag
uint256
Flag to check

setFlag

1
function setFlag(
2
uint256 _packedFlags,
3
uint256 _flag,
4
bool _value
5
) internal returns (uint256)
Copied!
Set flag

Parameters:

Name
Type
Description
_packedFlags
uint256
Flags packed to uint256
_flag
uint256
Flag to set
_value
bool
Is set or not set