;; Uses Arkadiko + ALEX contracts to improve USDA peg

(define-public (arb (ustx uint))
  (let (
    (result (contract-call? .arkadiko-swap-v2-1 swap-x-for-y .wrapped-stx-token .usda-token ustx u0))
    (result-2
      (contract-call? 'SP3K8BC0PPEVCV7NZ6QSRWPQ2JE9E5B6N3PA0KBR9.swap-helper-v1-01
        swap-helper
        'SP3K8BC0PPEVCV7NZ6QSRWPQ2JE9E5B6N3PA0KBR9.token-wusda
        'SP3K8BC0PPEVCV7NZ6QSRWPQ2JE9E5B6N3PA0KBR9.token-wstx
        (unwrap-panic (element-at result u1))
        (some ustx)
      )
    )
  )
    (ok true)
  )
)
