Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PoX Updates: stack-increase #2533

Closed
kantai opened this issue Mar 23, 2021 · 4 comments · Fixed by #3282
Closed

PoX Updates: stack-increase #2533

kantai opened this issue Mar 23, 2021 · 4 comments · Fixed by #3282
Assignees
Labels
PoX Proof-of-Transfer Related stacks-2.1

Comments

@kantai
Copy link
Member

kantai commented Mar 23, 2021

As part of updating PoX in Stacks 2.1, the PoX contract should implement:

;; increase the amount in "tx-sender"s active lockup
(define-public (stack-increase (increase-by uint)))
;; increase the amount in a delegated active lockup
(define-public (delegate-stack-increase (stacker principal) (increase-by uint)))

to enable increasing the amount that a particular stacker has locked.

@jcnelson
Copy link
Member

The interface should be as follows:

;; increase the amount in "tx-sender"s active lockup
(define-public (stack-increase (increase-by uint) (index uint)))
;; increase the amount in a delegated active lockup
(define-public (delegate-stack-increase (stacker principal) (increase-by uint) (index uint)))

The index indexes the reward-cycle-pox-address-list map.

@saralab
Copy link
Contributor

saralab commented Aug 3, 2022

@jcnelson : @kantai can help with along with #2534 , Let me know if I can mark him as the assignee here .

@saralab
Copy link
Contributor

saralab commented Oct 13, 2022

Can we close this issue? The PR was merged .

@jcnelson
Copy link
Member

Yes

Stacks Blockchain Board automation moved this from New Issues to Done Oct 13, 2022
Stacks 2.1 automation moved this from Review in progress to Done Oct 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PoX Proof-of-Transfer Related stacks-2.1
Development

Successfully merging a pull request may close this issue.

3 participants