We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
calc-claimable-amount
1 parent 7716317 commit 7c9e90aCopy full SHA for 7c9e90a
stackslib/src/chainstate/stacks/boot/sip-031.clar
@@ -116,7 +116,9 @@
116
)
117
118
119
-;; Returns the amount of STX that is claimable from the vested balance at `burn-height`
+;; Returns the amount of STX that is claimable from the vested balance at `burn-height`.
120
+;; Note that this function takes into account the current STX balance
121
+;; of this contract, which may change by `burn-height`.
122
(define-read-only (calc-claimable-amount (burn-height uint))
123
(if (< burn-height DEPLOY_BLOCK_HEIGHT)
124
u0
0 commit comments