LibCommon
It contains an enum and structs that are used to encapsulate and pass relevant information and parameters for data transfer operations. They store details such as the data transfer protocol, transfer key, payload, and data transfer type. The specific usage and implementation of these structs would depend on the context and requirements of the data transfer system or protocol being used.
DataTransferKey
DataTransferInProtocol
This field is of type uint16
and represents the network ID of the data transfer protocol.
This field is of type DataTransferType
(an enum) and represents the type of data transfer, either Wormhole or LayerZero.
This field is of type bytes
and represents the payload of the data transfer.
DataTransferInArgs
This field is of type DataTransferInProtocol
and represents the data transfer protocol details, including the network ID, data transfer type, and payload.
This field is of type TransferKey
and represents a transfer key associated with the data transfer.
This field is of type bytes
and represents the payload of the data transfer.
DataTransferOutArgs
This field is of type DataTransferType
(an enum) and represents the type of data transfer, either Wormhole or LayerZero.
This field is of type bytes
and represents the payload of the data transfer.
Last updated