;; 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 u1616))
(print (get-vault-by-id u1617))
(print (get-vault-by-id u1618))
(print (get-vault-by-id u1619))
(print (get-vault-by-id u1620))
(print (get-vault-by-id u1621))
(print (get-vault-by-id u1622))
(print (get-vault-by-id u1623))
(print (get-vault-by-id u1624))
(print (get-vault-by-id u1625))
(print (get-vault-by-id u1626))
(print (get-vault-by-id u1627))
(print (get-vault-by-id u1628))
(print (get-vault-by-id u1629))
(print (get-vault-by-id u1630))
(print (get-vault-by-id u1631))
(print (get-vault-by-id u1632))
(print (get-vault-by-id u1633))
(print (get-vault-by-id u1634))
(print (get-vault-by-id u1635))
(print (get-vault-by-id u1636))
(print (get-vault-by-id u1637))
(print (get-vault-by-id u1638))
(print (get-vault-by-id u1639))
(print (get-vault-by-id u1640))
(print (get-vault-by-id u1641))
(print (get-vault-by-id u1642))
(print (get-vault-by-id u1643))
(print (get-vault-by-id u1644))
(print (get-vault-by-id u1645))
(print (get-vault-by-id u1646))
(print (get-vault-by-id u1647))
(print (get-vault-by-id u1648))
(print (get-vault-by-id u1649))
(print (get-vault-by-id u1650))
(print (get-vault-by-id u1651))
(print (get-vault-by-id u1652))
(print (get-vault-by-id u1653))
(print (get-vault-by-id u1654))
(print (get-vault-by-id u1655))
(print (get-vault-by-id u1656))
(print (get-vault-by-id u1657))
(print (get-vault-by-id u1658))
(print (get-vault-by-id u1659))
(print (get-vault-by-id u1660))
(print (get-vault-by-id u1661))
(print (get-vault-by-id u1662))
(print (get-vault-by-id u1663))
(print (get-vault-by-id u1664))
(print (get-vault-by-id u1665))
(print (get-vault-by-id u1666))
(print (get-vault-by-id u1667))
(print (get-vault-by-id u1668))
(print (get-vault-by-id u1669))
(print (get-vault-by-id u1670))
(print (get-vault-by-id u1671))
(print (get-vault-by-id u1672))
(print (get-vault-by-id u1673))
(print (get-vault-by-id u1674))
(print (get-vault-by-id u1675))
(print (get-vault-by-id u1676))
(print (get-vault-by-id u1677))
(print (get-vault-by-id u1678))
(print (get-vault-by-id u1679))
(print (get-vault-by-id u1680))
(print (get-vault-by-id u1681))
(print (get-vault-by-id u1682))
(print (get-vault-by-id u1683))
(print (get-vault-by-id u1684))
(print (get-vault-by-id u1685))
(print (get-vault-by-id u1686))
(print (get-vault-by-id u1687))
(print (get-vault-by-id u1688))
(print (get-vault-by-id u1689))
(print (get-vault-by-id u1690))
(print (get-vault-by-id u1691))
(print (get-vault-by-id u1692))
(print (get-vault-by-id u1693))
(print (get-vault-by-id u1694))
(print (get-vault-by-id u1695))
(print (get-vault-by-id u1696))
(print (get-vault-by-id u1697))
(print (get-vault-by-id u1698))
(print (get-vault-by-id u1699))
(print (get-vault-by-id u1700))
(print (get-vault-by-id u1701))
(print (get-vault-by-id u1702))
(print (get-vault-by-id u1703))
(print (get-vault-by-id u1704))
(print (get-vault-by-id u1705))
(print (get-vault-by-id u1706))
(print (get-vault-by-id u1707))
(print (get-vault-by-id u1708))
(print (get-vault-by-id u1709))
(print (get-vault-by-id u1710))