Skip to content

Commit

Permalink
fix: use shorter contract name
Browse files Browse the repository at this point in the history
I forget where the limit is but looks like that was why clarinet check was failing!
  • Loading branch information
whoabuddy committed Aug 7, 2024
1 parent 40ef4fa commit a12f9f6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions contracts/proposals/ccip019-pox-4-stacking.clar
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
(try! (contract-call? .base-dao set-extensions
(list
{extension: .ccd002-treasury-mia-mining-v3, enabled: true}
{extension: .ccd002-treasury-mia-stx-rewards-v3, enabled: true}
{extension: .ccd002-treasury-stx-rewards-v3, enabled: true}
)
))

Expand All @@ -87,11 +87,11 @@
;; delegate stack the STX in the mining and rewards treasuries (up to 50M STX each)
;; MAINNET: SP21YTSM60CAY6D011EZVEVNKXVW8FVZE198XEFFP.pox4-fast-pool-v3
(try! (contract-call? .ccd002-treasury-mia-mining-v3 delegate-stx u50000000000000 'SP21YTSM60CAY6D011EZVEVNKXVW8FVZE198XEFFP.pox4-fast-pool-v3))
(try! (contract-call? .ccd002-treasury-mia-stx-stacking-v3 delegate-stx u50000000000000 'SP21YTSM60CAY6D011EZVEVNKXVW8FVZE198XEFFP.pox4-fast-pool-v3))
(try! (contract-call? .ccd002-treasury-stx-rewards-v3 delegate-stx u50000000000000 'SP21YTSM60CAY6D011EZVEVNKXVW8FVZE198XEFFP.pox4-fast-pool-v3))

;; add treasuries to ccd005-city-data
(try! (contract-call? .ccd005-city-data add-treasury miaId .ccd002-treasury-mia-mining-v3 "mining-v3"))
(try! (contract-call? .ccd005-city-data add-treasury miaId .ccd002-treasury-mia-stx-stacking-v3 "stx-v3"))
(try! (contract-call? .ccd005-city-data add-treasury miaId .ccd002-treasury-stx-rewards-v3 "stx-v3"))

(ok true)
)
Expand Down

0 comments on commit a12f9f6

Please sign in to comment.