;; 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 u1141))
(print (get-vault-by-id u1142))
(print (get-vault-by-id u1143))
(print (get-vault-by-id u1144))
(print (get-vault-by-id u1145))
(print (get-vault-by-id u1146))
(print (get-vault-by-id u1147))
(print (get-vault-by-id u1148))
(print (get-vault-by-id u1149))
(print (get-vault-by-id u1150))
(print (get-vault-by-id u1151))
(print (get-vault-by-id u1152))
(print (get-vault-by-id u1153))
(print (get-vault-by-id u1154))
(print (get-vault-by-id u1155))
(print (get-vault-by-id u1156))
(print (get-vault-by-id u1157))
(print (get-vault-by-id u1158))
(print (get-vault-by-id u1159))
(print (get-vault-by-id u1160))
(print (get-vault-by-id u1161))
(print (get-vault-by-id u1162))
(print (get-vault-by-id u1163))
(print (get-vault-by-id u1164))
(print (get-vault-by-id u1165))
(print (get-vault-by-id u1166))
(print (get-vault-by-id u1167))
(print (get-vault-by-id u1168))
(print (get-vault-by-id u1169))
(print (get-vault-by-id u1170))
(print (get-vault-by-id u1171))
(print (get-vault-by-id u1172))
(print (get-vault-by-id u1173))
(print (get-vault-by-id u1174))
(print (get-vault-by-id u1175))
(print (get-vault-by-id u1176))
(print (get-vault-by-id u1177))
(print (get-vault-by-id u1178))
(print (get-vault-by-id u1179))
(print (get-vault-by-id u1180))
(print (get-vault-by-id u1181))
(print (get-vault-by-id u1182))
(print (get-vault-by-id u1183))
(print (get-vault-by-id u1184))
(print (get-vault-by-id u1185))
(print (get-vault-by-id u1186))
(print (get-vault-by-id u1187))
(print (get-vault-by-id u1188))
(print (get-vault-by-id u1189))
(print (get-vault-by-id u1190))
(print (get-vault-by-id u1191))
(print (get-vault-by-id u1192))
(print (get-vault-by-id u1193))
(print (get-vault-by-id u1194))
(print (get-vault-by-id u1195))
(print (get-vault-by-id u1196))
(print (get-vault-by-id u1197))
(print (get-vault-by-id u1198))
(print (get-vault-by-id u1199))
(print (get-vault-by-id u1200))
(print (get-vault-by-id u1201))
(print (get-vault-by-id u1202))
(print (get-vault-by-id u1203))
(print (get-vault-by-id u1204))
(print (get-vault-by-id u1205))
(print (get-vault-by-id u1206))
(print (get-vault-by-id u1207))
(print (get-vault-by-id u1208))
(print (get-vault-by-id u1209))
(print (get-vault-by-id u1210))
(print (get-vault-by-id u1211))
(print (get-vault-by-id u1212))
(print (get-vault-by-id u1213))
(print (get-vault-by-id u1214))
(print (get-vault-by-id u1215))
(print (get-vault-by-id u1216))
(print (get-vault-by-id u1217))
(print (get-vault-by-id u1218))
(print (get-vault-by-id u1219))
(print (get-vault-by-id u1220))
(print (get-vault-by-id u1221))
(print (get-vault-by-id u1222))
(print (get-vault-by-id u1223))
(print (get-vault-by-id u1224))
(print (get-vault-by-id u1225))
(print (get-vault-by-id u1226))
(print (get-vault-by-id u1227))
(print (get-vault-by-id u1228))
(print (get-vault-by-id u1229))
(print (get-vault-by-id u1230))
(print (get-vault-by-id u1231))
(print (get-vault-by-id u1232))
(print (get-vault-by-id u1233))
(print (get-vault-by-id u1234))
(print (get-vault-by-id u1235))