Swap Verification
In the function verify_swap if earnest pricing conditions are met then the function verifies two cases:
orderA_amount * orderA_earnest_price <= orderB_amount * orderA_sell_price
orderB_amount * orderB_earnest_price <= orderA_amount * orderB_sell_price
otherwise the logic is as before.
Last updated