;; 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 u381))
(print (get-vault-by-id u382))
(print (get-vault-by-id u383))
(print (get-vault-by-id u384))
(print (get-vault-by-id u385))
(print (get-vault-by-id u386))
(print (get-vault-by-id u387))
(print (get-vault-by-id u388))
(print (get-vault-by-id u389))
(print (get-vault-by-id u390))
(print (get-vault-by-id u391))
(print (get-vault-by-id u392))
(print (get-vault-by-id u393))
(print (get-vault-by-id u394))
(print (get-vault-by-id u395))
(print (get-vault-by-id u396))
(print (get-vault-by-id u397))
(print (get-vault-by-id u398))
(print (get-vault-by-id u399))
(print (get-vault-by-id u400))
(print (get-vault-by-id u401))
(print (get-vault-by-id u402))
(print (get-vault-by-id u403))
(print (get-vault-by-id u404))
(print (get-vault-by-id u405))
(print (get-vault-by-id u406))
(print (get-vault-by-id u407))
(print (get-vault-by-id u408))
(print (get-vault-by-id u409))
(print (get-vault-by-id u410))
(print (get-vault-by-id u411))
(print (get-vault-by-id u412))
(print (get-vault-by-id u413))
(print (get-vault-by-id u414))
(print (get-vault-by-id u415))
(print (get-vault-by-id u416))
(print (get-vault-by-id u417))
(print (get-vault-by-id u418))
(print (get-vault-by-id u419))
(print (get-vault-by-id u420))
(print (get-vault-by-id u421))
(print (get-vault-by-id u422))
(print (get-vault-by-id u423))
(print (get-vault-by-id u424))
(print (get-vault-by-id u425))
(print (get-vault-by-id u426))
(print (get-vault-by-id u427))
(print (get-vault-by-id u428))
(print (get-vault-by-id u429))
(print (get-vault-by-id u430))
(print (get-vault-by-id u431))
(print (get-vault-by-id u432))
(print (get-vault-by-id u433))
(print (get-vault-by-id u434))
(print (get-vault-by-id u435))
(print (get-vault-by-id u436))
(print (get-vault-by-id u437))
(print (get-vault-by-id u438))
(print (get-vault-by-id u439))
(print (get-vault-by-id u440))
(print (get-vault-by-id u441))
(print (get-vault-by-id u442))
(print (get-vault-by-id u443))
(print (get-vault-by-id u444))
(print (get-vault-by-id u445))
(print (get-vault-by-id u446))
(print (get-vault-by-id u447))
(print (get-vault-by-id u448))
(print (get-vault-by-id u449))
(print (get-vault-by-id u450))
(print (get-vault-by-id u451))
(print (get-vault-by-id u452))
(print (get-vault-by-id u453))
(print (get-vault-by-id u454))
(print (get-vault-by-id u455))
(print (get-vault-by-id u456))
(print (get-vault-by-id u457))
(print (get-vault-by-id u458))
(print (get-vault-by-id u459))
(print (get-vault-by-id u460))
(print (get-vault-by-id u461))
(print (get-vault-by-id u462))
(print (get-vault-by-id u463))
(print (get-vault-by-id u464))
(print (get-vault-by-id u465))
(print (get-vault-by-id u466))
(print (get-vault-by-id u467))
(print (get-vault-by-id u468))
(print (get-vault-by-id u469))
(print (get-vault-by-id u470))
(print (get-vault-by-id u471))
(print (get-vault-by-id u472))
(print (get-vault-by-id u473))
(print (get-vault-by-id u474))
(print (get-vault-by-id u475))