diff --git a/contracts/dao/extensions/aibtc-bitflow-pool.clar b/contracts/dao/extensions/aibtc-bitflow-pool.clar index f3a3b254..39c7fa63 100644 --- a/contracts/dao/extensions/aibtc-bitflow-pool.clar +++ b/contracts/dao/extensions/aibtc-bitflow-pool.clar @@ -2,6 +2,9 @@ (impl-trait 'ST3VXT52QEQPZ5246A16RFNMR1PRJ96JK6YYX37N8.xyk-pool-trait-v-1-2.xyk-pool-trait) ;; <%= it.bitflow_pool_trait %> (use-trait sip-010-trait 'ST3VXT52QEQPZ5246A16RFNMR1PRJ96JK6YYX37N8.sip-010-trait-ft-standard.sip-010-trait) ;; <%= it.sip10_trait %> +;; implement aibtcdev trait +(impl-trait .aibtcdev-dao-traits-v1.bitflow-pool) + ;; Define fungible pool token (define-fungible-token pool-token) diff --git a/contracts/dao/traits/aibtcdev-dao-traits-v1.clar b/contracts/dao/traits/aibtcdev-dao-traits-v1.clar index ded603fa..a8d7bc0d 100644 --- a/contracts/dao/traits/aibtcdev-dao-traits-v1.clar +++ b/contracts/dao/traits/aibtcdev-dao-traits-v1.clar @@ -75,6 +75,12 @@ (withdraw-stx () (response bool uint)) )) +(define-trait bitflow-pool ( + ;; transfer funds (limited as we're just tagging this) + ;; all functions are covered between sip-010 and bitflow-xyk + (transfer (uint principal principal (optional (buff 34))) (response bool uint)) +)) + (define-trait messaging ( ;; send a message on-chain (opt from DAO) ;; @param msg the message to send (up to 1MB)