deBridge
deSwap APP
Build π
Searchβ¦
Introduction
Build with deBridge π
The Core Protocol
Protocol Overview
Transfers Flow
Slashing and Delegated Staking
Security
deSwap π
API Quick Start Guide
Transaction Bundling
Cross-Chain Swaps Liquidity
Custom Linking
deSwap Widget
Contracts
π
Mainnet Addresses
Interfaces
Libraries
Flags
Periphery
Transfers
External Links
deBridge Use Cases
Talks and Videos
Website
Discord
Facebook
Github
LinkedIn
Medium
Telegram
Twitter
YouTube
Powered By
GitBook
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
Contracts - Previous
Libraries
Next - Contracts
Periphery
Last modified
4mo ago
Copy link
Contents
Variables
UNWRAP_ETH
REVERT_IF_EXTERNAL_FAIL
PROXY_WITH_SENDER
SEND_HASHED_DATA
Functions
getFlag
setFlag