EscrowOfframp
contract:
createOfframpOrder
function allows users to lock a specified amount of tokens in escrow.
During the creation of the off-ramp order, a _tradeFee
parameter is supplied. This fee is recorded and associated with the transaction. There are two versions of this function:
confirmOfframpOrder
function ensures the existence of the order for the specified client and executes the transfer of assets to the merchantβs escrow account. The _tradeFee
is then transferred to a designated fee recipient address, ensuring that fees are collected appropriately.