;; 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 u1236))
(print (get-vault-by-id u1237))
(print (get-vault-by-id u1238))
(print (get-vault-by-id u1239))
(print (get-vault-by-id u1240))
(print (get-vault-by-id u1241))
(print (get-vault-by-id u1242))
(print (get-vault-by-id u1243))
(print (get-vault-by-id u1244))
(print (get-vault-by-id u1245))
(print (get-vault-by-id u1246))
(print (get-vault-by-id u1247))
(print (get-vault-by-id u1248))
(print (get-vault-by-id u1249))
(print (get-vault-by-id u1250))
(print (get-vault-by-id u1251))
(print (get-vault-by-id u1252))
(print (get-vault-by-id u1253))
(print (get-vault-by-id u1254))
(print (get-vault-by-id u1255))
(print (get-vault-by-id u1256))
(print (get-vault-by-id u1257))
(print (get-vault-by-id u1258))
(print (get-vault-by-id u1259))
(print (get-vault-by-id u1260))
(print (get-vault-by-id u1261))
(print (get-vault-by-id u1262))
(print (get-vault-by-id u1263))
(print (get-vault-by-id u1264))
(print (get-vault-by-id u1265))
(print (get-vault-by-id u1266))
(print (get-vault-by-id u1267))
(print (get-vault-by-id u1268))
(print (get-vault-by-id u1269))
(print (get-vault-by-id u1270))
(print (get-vault-by-id u1271))
(print (get-vault-by-id u1272))
(print (get-vault-by-id u1273))
(print (get-vault-by-id u1274))
(print (get-vault-by-id u1275))
(print (get-vault-by-id u1276))
(print (get-vault-by-id u1277))
(print (get-vault-by-id u1278))
(print (get-vault-by-id u1279))
(print (get-vault-by-id u1280))
(print (get-vault-by-id u1281))
(print (get-vault-by-id u1282))
(print (get-vault-by-id u1283))
(print (get-vault-by-id u1284))
(print (get-vault-by-id u1285))
(print (get-vault-by-id u1286))
(print (get-vault-by-id u1287))
(print (get-vault-by-id u1288))
(print (get-vault-by-id u1289))
(print (get-vault-by-id u1290))
(print (get-vault-by-id u1291))
(print (get-vault-by-id u1292))
(print (get-vault-by-id u1293))
(print (get-vault-by-id u1294))
(print (get-vault-by-id u1295))
(print (get-vault-by-id u1296))
(print (get-vault-by-id u1297))
(print (get-vault-by-id u1298))
(print (get-vault-by-id u1299))
(print (get-vault-by-id u1300))
(print (get-vault-by-id u1301))
(print (get-vault-by-id u1302))
(print (get-vault-by-id u1303))
(print (get-vault-by-id u1304))
(print (get-vault-by-id u1305))
(print (get-vault-by-id u1306))
(print (get-vault-by-id u1307))
(print (get-vault-by-id u1308))
(print (get-vault-by-id u1309))
(print (get-vault-by-id u1310))
(print (get-vault-by-id u1311))
(print (get-vault-by-id u1312))
(print (get-vault-by-id u1313))
(print (get-vault-by-id u1314))
(print (get-vault-by-id u1315))
(print (get-vault-by-id u1316))
(print (get-vault-by-id u1317))
(print (get-vault-by-id u1318))
(print (get-vault-by-id u1319))
(print (get-vault-by-id u1320))
(print (get-vault-by-id u1321))
(print (get-vault-by-id u1322))
(print (get-vault-by-id u1323))
(print (get-vault-by-id u1324))
(print (get-vault-by-id u1325))
(print (get-vault-by-id u1326))
(print (get-vault-by-id u1327))
(print (get-vault-by-id u1328))
(print (get-vault-by-id u1329))
(print (get-vault-by-id u1330))