Skip to content

Dev ap #2

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

Closed
wants to merge 3 commits into from
Closed

Dev ap #2

wants to merge 3 commits into from

Conversation

jakeloo
Copy link
Member

@jakeloo jakeloo commented Sep 30, 2021

No description provided.

@jakeloo jakeloo requested a review from nkrishang September 30, 2021 10:05
@nkrishang nkrishang closed this Sep 30, 2021
@nkrishang nkrishang deleted the dev-ap branch September 30, 2021 16:14
ciaranightingale added a commit that referenced this pull request Jul 27, 2023
nkrishang added a commit that referenced this pull request Aug 3, 2023
* Token Stake Optimizations (#420)

* Update `Staker` and `StakingCondition` structs

* Update `Staker` struct
* Update `StakingCondition` struct
* Other minor changes to allow for updates

* Reorder/resize varaibles in Staking20Upgradeable.

- uint256 stakingTokenDecimals => uint16 stakingTokenDecimals
- uint256 rewardTokenDecimals => uint16 rewardTokenDecimals
- Move `stakersArray` below the fixed size variables.

* Make changes in Staking20 and Remove stakerArray

* Remove stakersArray from Staking20.sol

* Reorder variables in Staking20.sol for consistency

* run solint/prettier

* run yarn gas

* Updating gas report to ensure accuracy.

---------

Co-authored-by: nkrishang <[email protected]>

* Re-add stakers array

* target gas report

* fix prettier / lint error

---------

Co-authored-by: WhiteOakKong <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants