This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |