Skip to content

PoX Updates: stack-increase #2533

@kantai

Description

@kantai
Contributor

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.

Activity

jcnelson

jcnelson commented on Jun 10, 2022

@jcnelson
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

saralab commented on Aug 3, 2022

@saralab
Contributor

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

linked a pull request that will close this issue2.1: Feature: `stack-increase` for PoX-2 #3282on Sep 9, 2022
saralab

saralab commented on Oct 13, 2022

@saralab
Contributor

Can we close this issue? The PR was merged .

jcnelson

jcnelson commented on Oct 13, 2022

@jcnelson
Member

Yes

blockstack-devops

blockstack-devops commented on Nov 9, 2024

@blockstack-devops
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.

locked as resolved and limited conversation to collaborators on Nov 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    Participants

    @saralab@jcnelson@kantai@blockstack-devops

    Issue actions

      PoX Updates: `stack-increase` · Issue #2533 · stacks-network/stacks-core