Skip to content

Commit 4cedb97

Browse files
committed
fix: add DAO_MANIFEST as constant, read-only getter
1 parent 172817b commit 4cedb97

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

contracts/dao/proposals/aibtc001-bootstrap.clar

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
(impl-trait .aibtcdev-dao-traits-v1.proposal)
22

3+
(define-constant DAO_MANIFEST "This is where the DAO can put it's mission, purpose, and goals.")
4+
35
(define-public (execute (sender principal))
46
(begin
57
;; set initial extensions
@@ -12,7 +14,11 @@
1214
)
1315
))
1416
;; print manifest
15-
(print "manifest")
17+
(print DAO_MANIFEST)
1618
(ok true)
1719
)
18-
)
20+
)
21+
22+
(define-read-only (get-dao-manifest)
23+
DAO_MANIFEST
24+
)

0 commit comments

Comments
 (0)