;; 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 u856))
(print (get-vault-by-id u857))
(print (get-vault-by-id u858))
(print (get-vault-by-id u859))
(print (get-vault-by-id u860))
(print (get-vault-by-id u861))
(print (get-vault-by-id u862))
(print (get-vault-by-id u863))
(print (get-vault-by-id u864))
(print (get-vault-by-id u865))
(print (get-vault-by-id u866))
(print (get-vault-by-id u867))
(print (get-vault-by-id u868))
(print (get-vault-by-id u869))
(print (get-vault-by-id u870))
(print (get-vault-by-id u871))
(print (get-vault-by-id u872))
(print (get-vault-by-id u873))
(print (get-vault-by-id u874))
(print (get-vault-by-id u875))
(print (get-vault-by-id u876))
(print (get-vault-by-id u877))
(print (get-vault-by-id u878))
(print (get-vault-by-id u879))
(print (get-vault-by-id u880))
(print (get-vault-by-id u881))
(print (get-vault-by-id u882))
(print (get-vault-by-id u883))
(print (get-vault-by-id u884))
(print (get-vault-by-id u885))
(print (get-vault-by-id u886))
(print (get-vault-by-id u887))
(print (get-vault-by-id u888))
(print (get-vault-by-id u889))
(print (get-vault-by-id u890))
(print (get-vault-by-id u891))
(print (get-vault-by-id u892))
(print (get-vault-by-id u893))
(print (get-vault-by-id u894))
(print (get-vault-by-id u895))
(print (get-vault-by-id u896))
(print (get-vault-by-id u897))
(print (get-vault-by-id u898))
(print (get-vault-by-id u899))
(print (get-vault-by-id u900))
(print (get-vault-by-id u901))
(print (get-vault-by-id u902))
(print (get-vault-by-id u903))
(print (get-vault-by-id u904))
(print (get-vault-by-id u905))
(print (get-vault-by-id u906))
(print (get-vault-by-id u907))
(print (get-vault-by-id u908))
(print (get-vault-by-id u909))
(print (get-vault-by-id u910))
(print (get-vault-by-id u911))
(print (get-vault-by-id u912))
(print (get-vault-by-id u913))
(print (get-vault-by-id u914))
(print (get-vault-by-id u915))
(print (get-vault-by-id u916))
(print (get-vault-by-id u917))
(print (get-vault-by-id u918))
(print (get-vault-by-id u919))
(print (get-vault-by-id u920))
(print (get-vault-by-id u921))
(print (get-vault-by-id u922))
(print (get-vault-by-id u923))
(print (get-vault-by-id u924))
(print (get-vault-by-id u925))
(print (get-vault-by-id u926))
(print (get-vault-by-id u927))
(print (get-vault-by-id u928))
(print (get-vault-by-id u929))
(print (get-vault-by-id u930))
(print (get-vault-by-id u931))
(print (get-vault-by-id u932))
(print (get-vault-by-id u933))
(print (get-vault-by-id u934))
(print (get-vault-by-id u935))
(print (get-vault-by-id u936))
(print (get-vault-by-id u937))
(print (get-vault-by-id u938))
(print (get-vault-by-id u939))
(print (get-vault-by-id u940))
(print (get-vault-by-id u941))
(print (get-vault-by-id u942))
(print (get-vault-by-id u943))
(print (get-vault-by-id u944))
(print (get-vault-by-id u945))
(print (get-vault-by-id u946))
(print (get-vault-by-id u947))
(print (get-vault-by-id u948))
(print (get-vault-by-id u949))
(print (get-vault-by-id u950))