(use-trait trait-arkadiko-swap .trait-arkadiko-swap.trait-arkadiko-swap)
(use-trait ft-trait 'SP3FBR2AGK5H9QBDH3EEN6DF8EK8JY7RX8QJ5SVTE.sip-010-trait-ft-standard.sip-010-trait)

(define-public 
    (swap-x-for-y
        (trait <trait-arkadiko-swap>)
        (token-x <ft-trait>)
        (token-y <ft-trait>)
        (dx uint)
        (min-dy uint)
    )

    (contract-call? trait swap-x-for-y token-x token-y dx min-dy)
)

(define-public 
    (swap-y-for-x
        (trait <trait-arkadiko-swap>)
        (token-x <ft-trait>)
        (token-y <ft-trait>)
        (dy uint)
        (min-dx uint)
    )

    (contract-call? trait swap-y-for-x token-x token-y dy min-dx)
)
