Expand description
This execution route converts the deposit marker denom to the trading marker denom by transferring the deposit marker denom from the sender to the contract, and then minting and withdrawing new trading marker denom to the sender’s account.
Functions§
- Invoked via the contract’s execute functionality. The function will attempt to pull trade_amount of the deposit marker’s denom from the sender’s account with a marker transfer, discern how much of the trading denom to which the submitted amount is equivalent, and then mint and withdraw that equivalent amount into the sender’s account.