Skip to content

Commit

Permalink
fix: add actions to bootstrap init
Browse files Browse the repository at this point in the history
  • Loading branch information
whoabuddy committed Jan 14, 2025
1 parent d6b4121 commit 2ada232
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion contracts/dao/proposals/aibtc-base-bootstrap-initialization.clar
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

(define-public (execute (sender principal))
(begin
;; set initial extensions list
;; set initial dao extensions list
(try! (contract-call? .aibtcdev-base-dao set-extensions
(list
{extension: .aibtc-action-proposals, enabled: true}
Expand All @@ -16,6 +16,18 @@
{extension: .aibtc-treasury, enabled: true}
)
))
;; set initial action proposals list
(try! (contract-call? .aibtcdev-base-dao set-extensions
(list
{extension: .aibtc-action-add-resource, enabled: true}
{extension: .aibtc-action-allow-asset, enabled: true}
{extension: .aibtc-action-send-message, enabled: true}
{extension: .aibtc-action-set-account-holder, enabled: true}
{extension: .aibtc-action-set-withdrawal-amount, enabled: true}
{extension: .aibtc-action-set-withdrawal-period, enabled: true}
{extension: .aibtc-action-toggle-resource-by-name, enabled: true}
)
))
;; initialize action proposals
(try! (contract-call? .aibtc-action-proposals set-protocol-treasury .aibtc-treasury))
;; initialize core proposals
Expand Down

0 comments on commit 2ada232

Please sign in to comment.