Skip to content

Instantly share code, notes, and snippets.

from pyteal import *
def create_atomic_swap_order():
# Args
recovery_account = Arg(0)
buyer = Arg(1)
asset_id = Btoi(Arg(2))
price_per_unit = Btoi(Arg(3))
max_payment_fee = Int(2000)