(impl-trait 'SP29CK9990DQGE9RGTT1VEQTTYH8KY4E3JE5XP4EC.aibtcdev-dao-traits-v1.proposal)
(define-constant DAO_MANIFEST "To establish a global organization for health insurance that competes with traditional companies, aiming to lower premiums and prices through increased membership and BTC holdings.")
(define-public (execute (sender principal))
(begin
;; set initial dao extensions list
(try! (contract-call? 'SP2XCME6ED8RERGR9R7YDZW7CA6G3F113Y8JMVA46.btchc-base-dao set-extensions
(list
{extension: 'SP2XCME6ED8RERGR9R7YDZW7CA6G3F113Y8JMVA46.btchc-action-proposals, enabled: true}
{extension: 'SP2XCME6ED8RERGR9R7YDZW7CA6G3F113Y8JMVA46.btchc-bank-account, enabled: true}
{extension: 'SP2XCME6ED8RERGR9R7YDZW7CA6G3F113Y8JMVA46.btchc-core-proposals, enabled: true}
{extension: 'SP2XCME6ED8RERGR9R7YDZW7CA6G3F113Y8JMVA46.btchc-onchain-messaging, enabled: true}
{extension: 'SP2XCME6ED8RERGR9R7YDZW7CA6G3F113Y8JMVA46.btchc-payments-invoices, enabled: true}
{extension: 'SP2XCME6ED8RERGR9R7YDZW7CA6G3F113Y8JMVA46.btchc-token-owner, enabled: true}
{extension: 'SP2XCME6ED8RERGR9R7YDZW7CA6G3F113Y8JMVA46.btchc-treasury, enabled: true}
)
))
;; set initial action proposals list
(try! (contract-call? 'SP2XCME6ED8RERGR9R7YDZW7CA6G3F113Y8JMVA46.btchc-base-dao set-extensions
(list
{extension: 'SP2XCME6ED8RERGR9R7YDZW7CA6G3F113Y8JMVA46.btchc-action-add-resource, enabled: true}
{extension: 'SP2XCME6ED8RERGR9R7YDZW7CA6G3F113Y8JMVA46.btchc-action-allow-asset, enabled: true}
{extension: 'SP2XCME6ED8RERGR9R7YDZW7CA6G3F113Y8JMVA46.btchc-action-send-message, enabled: true}
{extension: 'SP2XCME6ED8RERGR9R7YDZW7CA6G3F113Y8JMVA46.btchc-action-set-account-holder, enabled: true}
{extension: 'SP2XCME6ED8RERGR9R7YDZW7CA6G3F113Y8JMVA46.btchc-action-set-withdrawal-amount, enabled: true}
{extension: 'SP2XCME6ED8RERGR9R7YDZW7CA6G3F113Y8JMVA46.btchc-action-set-withdrawal-period, enabled: true}
{extension: 'SP2XCME6ED8RERGR9R7YDZW7CA6G3F113Y8JMVA46.btchc-action-toggle-resource, enabled: true}
)
))
;; send DAO manifest as onchain message
(try! (contract-call? 'SP2XCME6ED8RERGR9R7YDZW7CA6G3F113Y8JMVA46.btchc-onchain-messaging send DAO_MANIFEST true))
;; allow assets in treasury
(try! (contract-call? 'SP2XCME6ED8RERGR9R7YDZW7CA6G3F113Y8JMVA46.btchc-treasury allow-asset 'SP2XCME6ED8RERGR9R7YDZW7CA6G3F113Y8JMVA46.btchc-faktory true))
;; print manifest
(print DAO_MANIFEST)
(ok true)
)
)
(define-read-only (get-dao-manifest)
DAO_MANIFEST
)