GlobalVariables
LayerZero(Cross Chain) transactions like data transfers and token transfers are performed in this contract.
Write Functions
send
function send(
FunctionToDo functionToDo,
IBorrowing.AssetName assetName,
MessagingFee memory fee,
bytes memory options,
address refundAddress
) external payableenum FunctionToDo {
DUMMY,
UPDATE_GLOBAL,
UPDATE_INDIVIDUAL,
TOKEN_TRANSFER,
COLLATERAL_TRANSFER,
BOTH_TRANSFER
}
struct MessagingFee {
uint256 nativeFee;
uint256 lzTokenFee;
}Param Name
Param Type
Description
sendForLiquidation
Param Name
Param Type
Description
oftOrCollateralReceiveFromOtherChains
Param Name
Param Type
Description
_lzReceive
Param Name
Param Type
Description
Setter Functions
setDstEid
setTreasury
setOmniChainData
setBorrowing
setBorrowLiq
setDstGlobalVariablesAddress
Read Functions
quote
Param Name
Param Type
Description
Last updated