;; 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 u1426))
(print (get-vault-by-id u1427))
(print (get-vault-by-id u1428))
(print (get-vault-by-id u1429))
(print (get-vault-by-id u1430))
(print (get-vault-by-id u1431))
(print (get-vault-by-id u1432))
(print (get-vault-by-id u1433))
(print (get-vault-by-id u1434))
(print (get-vault-by-id u1435))
(print (get-vault-by-id u1436))
(print (get-vault-by-id u1437))
(print (get-vault-by-id u1438))
(print (get-vault-by-id u1439))
(print (get-vault-by-id u1440))
(print (get-vault-by-id u1441))
(print (get-vault-by-id u1442))
(print (get-vault-by-id u1443))
(print (get-vault-by-id u1444))
(print (get-vault-by-id u1445))
(print (get-vault-by-id u1446))
(print (get-vault-by-id u1447))
(print (get-vault-by-id u1448))
(print (get-vault-by-id u1449))
(print (get-vault-by-id u1450))
(print (get-vault-by-id u1451))
(print (get-vault-by-id u1452))
(print (get-vault-by-id u1453))
(print (get-vault-by-id u1454))
(print (get-vault-by-id u1455))
(print (get-vault-by-id u1456))
(print (get-vault-by-id u1457))
(print (get-vault-by-id u1458))
(print (get-vault-by-id u1459))
(print (get-vault-by-id u1460))
(print (get-vault-by-id u1461))
(print (get-vault-by-id u1462))
(print (get-vault-by-id u1463))
(print (get-vault-by-id u1464))
(print (get-vault-by-id u1465))
(print (get-vault-by-id u1466))
(print (get-vault-by-id u1467))
(print (get-vault-by-id u1468))
(print (get-vault-by-id u1469))
(print (get-vault-by-id u1470))
(print (get-vault-by-id u1471))
(print (get-vault-by-id u1472))
(print (get-vault-by-id u1473))
(print (get-vault-by-id u1474))
(print (get-vault-by-id u1475))
(print (get-vault-by-id u1476))
(print (get-vault-by-id u1477))
(print (get-vault-by-id u1478))
(print (get-vault-by-id u1479))
(print (get-vault-by-id u1480))
(print (get-vault-by-id u1481))
(print (get-vault-by-id u1482))
(print (get-vault-by-id u1483))
(print (get-vault-by-id u1484))
(print (get-vault-by-id u1485))
(print (get-vault-by-id u1486))
(print (get-vault-by-id u1487))
(print (get-vault-by-id u1488))
(print (get-vault-by-id u1489))
(print (get-vault-by-id u1490))
(print (get-vault-by-id u1491))
(print (get-vault-by-id u1492))
(print (get-vault-by-id u1493))
(print (get-vault-by-id u1494))
(print (get-vault-by-id u1495))
(print (get-vault-by-id u1496))
(print (get-vault-by-id u1497))
(print (get-vault-by-id u1498))
(print (get-vault-by-id u1499))
(print (get-vault-by-id u1500))
(print (get-vault-by-id u1501))
(print (get-vault-by-id u1502))
(print (get-vault-by-id u1503))
(print (get-vault-by-id u1504))
(print (get-vault-by-id u1505))
(print (get-vault-by-id u1506))
(print (get-vault-by-id u1507))
(print (get-vault-by-id u1508))
(print (get-vault-by-id u1509))
(print (get-vault-by-id u1510))
(print (get-vault-by-id u1511))
(print (get-vault-by-id u1512))
(print (get-vault-by-id u1513))
(print (get-vault-by-id u1514))
(print (get-vault-by-id u1515))
(print (get-vault-by-id u1516))
(print (get-vault-by-id u1517))
(print (get-vault-by-id u1518))
(print (get-vault-by-id u1519))
(print (get-vault-by-id u1520))