Skip to content

Commit

Permalink
fix: update contract name and treasury name
Browse files Browse the repository at this point in the history
Using mia over stx makes it easier to understand what the treasury is associated with, and the treasury name is part of the suggestion here (and fits in the 10char limit): #67 (comment)
  • Loading branch information
whoabuddy committed Aug 7, 2024
1 parent a12f9f6 commit 03b0aa3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Clarinet.toml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ path = "contracts/extensions/ccd002-treasury-v3.clar"
clarity_version = 2
epoch = 2.5

[contracts.ccd002-treasury-stx-rewards-v3]
[contracts.ccd002-treasury-mia-rewards-v3]
path = "contracts/extensions/ccd002-treasury-v3.clar"
clarity_version = 2
epoch = 2.5
Expand Down
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-stx-rewards-v3, enabled: true}
{extension: .ccd002-treasury-mia-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-stx-rewards-v3 delegate-stx u50000000000000 'SP21YTSM60CAY6D011EZVEVNKXVW8FVZE198XEFFP.pox4-fast-pool-v3))
(try! (contract-call? .ccd002-treasury-mia-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-stx-rewards-v3 "stx-v3"))
(try! (contract-call? .ccd005-city-data add-treasury miaId .ccd002-treasury-mia-rewards-v3 "rewards-v3"))

(ok true)
)
Expand Down

0 comments on commit 03b0aa3

Please sign in to comment.