;; 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 u1331))
(print (get-vault-by-id u1332))
(print (get-vault-by-id u1333))
(print (get-vault-by-id u1334))
(print (get-vault-by-id u1335))
(print (get-vault-by-id u1336))
(print (get-vault-by-id u1337))
(print (get-vault-by-id u1338))
(print (get-vault-by-id u1339))
(print (get-vault-by-id u1340))
(print (get-vault-by-id u1341))
(print (get-vault-by-id u1342))
(print (get-vault-by-id u1343))
(print (get-vault-by-id u1344))
(print (get-vault-by-id u1345))
(print (get-vault-by-id u1346))
(print (get-vault-by-id u1347))
(print (get-vault-by-id u1348))
(print (get-vault-by-id u1349))
(print (get-vault-by-id u1350))
(print (get-vault-by-id u1351))
(print (get-vault-by-id u1352))
(print (get-vault-by-id u1353))
(print (get-vault-by-id u1354))
(print (get-vault-by-id u1355))
(print (get-vault-by-id u1356))
(print (get-vault-by-id u1357))
(print (get-vault-by-id u1358))
(print (get-vault-by-id u1359))
(print (get-vault-by-id u1360))
(print (get-vault-by-id u1361))
(print (get-vault-by-id u1362))
(print (get-vault-by-id u1363))
(print (get-vault-by-id u1364))
(print (get-vault-by-id u1365))
(print (get-vault-by-id u1366))
(print (get-vault-by-id u1367))
(print (get-vault-by-id u1368))
(print (get-vault-by-id u1369))
(print (get-vault-by-id u1370))
(print (get-vault-by-id u1371))
(print (get-vault-by-id u1372))
(print (get-vault-by-id u1373))
(print (get-vault-by-id u1374))
(print (get-vault-by-id u1375))
(print (get-vault-by-id u1376))
(print (get-vault-by-id u1377))
(print (get-vault-by-id u1378))
(print (get-vault-by-id u1379))
(print (get-vault-by-id u1380))
(print (get-vault-by-id u1381))
(print (get-vault-by-id u1382))
(print (get-vault-by-id u1383))
(print (get-vault-by-id u1384))
(print (get-vault-by-id u1385))
(print (get-vault-by-id u1386))
(print (get-vault-by-id u1387))
(print (get-vault-by-id u1388))
(print (get-vault-by-id u1389))
(print (get-vault-by-id u1390))
(print (get-vault-by-id u1391))
(print (get-vault-by-id u1392))
(print (get-vault-by-id u1393))
(print (get-vault-by-id u1394))
(print (get-vault-by-id u1395))
(print (get-vault-by-id u1396))
(print (get-vault-by-id u1397))
(print (get-vault-by-id u1398))
(print (get-vault-by-id u1399))
(print (get-vault-by-id u1400))
(print (get-vault-by-id u1401))
(print (get-vault-by-id u1402))
(print (get-vault-by-id u1403))
(print (get-vault-by-id u1404))
(print (get-vault-by-id u1405))
(print (get-vault-by-id u1406))
(print (get-vault-by-id u1407))
(print (get-vault-by-id u1408))
(print (get-vault-by-id u1409))
(print (get-vault-by-id u1410))
(print (get-vault-by-id u1411))
(print (get-vault-by-id u1412))
(print (get-vault-by-id u1413))
(print (get-vault-by-id u1414))
(print (get-vault-by-id u1415))
(print (get-vault-by-id u1416))
(print (get-vault-by-id u1417))
(print (get-vault-by-id u1418))
(print (get-vault-by-id u1419))
(print (get-vault-by-id u1420))
(print (get-vault-by-id u1421))
(print (get-vault-by-id u1422))
(print (get-vault-by-id u1423))
(print (get-vault-by-id u1424))
(print (get-vault-by-id u1425))