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 · 5 comments · Fixed by #3282
Closed

PoX Updates: stack-increase #2533

kantai opened this issue Mar 23, 2021 · 5 comments · Fixed by #3282
Assignees
Labels
locked 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

@blockstack-devops
Copy link
Contributor

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@stacks-network stacks-network locked as resolved and limited conversation to collaborators Nov 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
locked PoX Proof-of-Transfer Related stacks-2.1
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants