Skip to content

Commit

Permalink
fix: add DAO_MANIFEST as constant, read-only getter
Browse files Browse the repository at this point in the history
  • Loading branch information
whoabuddy committed Dec 24, 2024
1 parent 172817b commit 4cedb97
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions contracts/dao/proposals/aibtc001-bootstrap.clar
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
(impl-trait .aibtcdev-dao-traits-v1.proposal)

(define-constant DAO_MANIFEST "This is where the DAO can put it's mission, purpose, and goals.")

(define-public (execute (sender principal))
(begin
;; set initial extensions
Expand All @@ -12,7 +14,11 @@
)
))
;; print manifest
(print "manifest")
(print DAO_MANIFEST)
(ok true)
)
)
)

(define-read-only (get-dao-manifest)
DAO_MANIFEST
)

0 comments on commit 4cedb97

Please sign in to comment.