Closed hujw77 closed 9 months ago
Layerzero maintains the dest token conversion ratio in the relayer contract, calculates the required cost of the target chain according to the gas specified by the sender, and then converts it into the required native token. code: https://github.com/LayerZero-Labs/LayerZero/blob/main/contracts/Relayer.sol#L105