MultiChainLayerZeroTellerWithMultiAssetSupport
Was this helpful?
Was this helpful?
Inherits: MultiChainTellerBase, OAppAuth
LayerZero implementation of MultiChainTeller
function override to return the fee quote
Parameters
shareAmount
uint256
to be sent as a message
data
BridgeData
Bridge data
Called when data is received from the protocol. It overrides the equivalent function in the parent contract. Protocol messages are defined as packets, comprised of the following parameters.
Parameters
_origin
Origin
A struct containing information about where the packet came from.
_guid
bytes32
A global unique identifier for tracking the packet.
payload
bytes
Encoded message.
<none>
address
<none>
bytes
bridge override to allow bridge logic to be done for bridge() and depositAndBridge()
Parameters
shareAmount
uint256
to be moved across chain
data
BridgeData
BridgeData