;; constants
(define-constant ERR-NOT-AUTHORIZED u401)
(define-constant CONTRACT-OWNER tx-sender)

;;(define-data-var holders (string-ascii 256) "hi")


;;;;;;;;;;;;;;

(define-read-only (get-vault-by-id (vault-id uint))
  (contract-call? 'SP2C2YFP12AJZB4MABJBAJ55XECVS7E4PMMZ89YZR.arkadiko-vault-data-v1-1 get-vault-by-id vault-id)
)


(define-read-only (get-debt-for-vault (vault-id uint))
  (let ((vault (get-vault-by-id vault-id))) (ok (get debt vault)))
)

(print (get-vault-by-id u1711))
(print (get-vault-by-id u1712))
(print (get-vault-by-id u1713))
(print (get-vault-by-id u1714))
(print (get-vault-by-id u1715))
(print (get-vault-by-id u1716))
(print (get-vault-by-id u1717))
(print (get-vault-by-id u1718))
(print (get-vault-by-id u1719))
(print (get-vault-by-id u1720))
(print (get-vault-by-id u1721))
(print (get-vault-by-id u1722))
(print (get-vault-by-id u1723))
(print (get-vault-by-id u1724))
(print (get-vault-by-id u1725))
(print (get-vault-by-id u1726))
(print (get-vault-by-id u1727))
(print (get-vault-by-id u1728))
(print (get-vault-by-id u1729))
(print (get-vault-by-id u1730))
(print (get-vault-by-id u1731))
(print (get-vault-by-id u1732))
(print (get-vault-by-id u1733))
(print (get-vault-by-id u1734))
(print (get-vault-by-id u1735))
(print (get-vault-by-id u1736))
(print (get-vault-by-id u1737))
(print (get-vault-by-id u1738))
(print (get-vault-by-id u1739))
(print (get-vault-by-id u1740))
(print (get-vault-by-id u1741))
(print (get-vault-by-id u1742))
(print (get-vault-by-id u1743))
(print (get-vault-by-id u1744))
(print (get-vault-by-id u1745))
(print (get-vault-by-id u1746))
(print (get-vault-by-id u1747))
(print (get-vault-by-id u1748))
(print (get-vault-by-id u1749))
(print (get-vault-by-id u1750))
(print (get-vault-by-id u1751))
(print (get-vault-by-id u1752))
(print (get-vault-by-id u1753))
(print (get-vault-by-id u1754))
(print (get-vault-by-id u1755))
(print (get-vault-by-id u1756))
(print (get-vault-by-id u1757))
(print (get-vault-by-id u1758))
(print (get-vault-by-id u1759))
(print (get-vault-by-id u1760))
(print (get-vault-by-id u1761))
(print (get-vault-by-id u1762))
(print (get-vault-by-id u1763))
(print (get-vault-by-id u1764))
(print (get-vault-by-id u1765))
(print (get-vault-by-id u1766))
(print (get-vault-by-id u1767))
(print (get-vault-by-id u1768))
(print (get-vault-by-id u1769))
(print (get-vault-by-id u1770))
(print (get-vault-by-id u1771))
(print (get-vault-by-id u1772))
(print (get-vault-by-id u1773))
(print (get-vault-by-id u1774))
(print (get-vault-by-id u1775))
(print (get-vault-by-id u1776))
(print (get-vault-by-id u1777))
(print (get-vault-by-id u1778))
(print (get-vault-by-id u1779))
(print (get-vault-by-id u1780))
(print (get-vault-by-id u1781))
(print (get-vault-by-id u1782))
(print (get-vault-by-id u1783))
(print (get-vault-by-id u1784))
(print (get-vault-by-id u1785))
(print (get-vault-by-id u1786))
(print (get-vault-by-id u1787))
(print (get-vault-by-id u1788))
(print (get-vault-by-id u1789))
(print (get-vault-by-id u1790))
(print (get-vault-by-id u1791))
(print (get-vault-by-id u1792))
(print (get-vault-by-id u1793))
(print (get-vault-by-id u1794))
(print (get-vault-by-id u1795))
(print (get-vault-by-id u1796))
(print (get-vault-by-id u1797))
(print (get-vault-by-id u1798))
(print (get-vault-by-id u1799))
(print (get-vault-by-id u1800))
(print (get-vault-by-id u1801))
(print (get-vault-by-id u1802))
(print (get-vault-by-id u1803))
(print (get-vault-by-id u1804))
(print (get-vault-by-id u1805))