# Advanced Staking code updates - PIP-11

**URL:** <https://forum.pantherprotocol.io/t/advanced-staking-code-updates-pip-11/217>\
**Category:** Panther Improvement Proposals (PIPs)\
**Created:** [December 20, 2022, 2:48pm UTC](https://forum.pantherprotocol.io/t/advanced-staking-code-updates-pip-11/217 "2022-12-20T14:48:24Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![MoonRocket](https://avatars.discourse-cdn.com/v4/letter/m/ee59a6/32.png) [@MoonRocket](https://forum.pantherprotocol.io/u/MoonRocket)\
**Post date:** [December 20, 2022, 2:48pm UTC](https://forum.pantherprotocol.io/t/advanced-staking-code-updates-pip-11/217/1 "2022-12-20T14:48:25Z")

</div>

Hi everyone let’s discuss how to solve Adv Staking bugs through new DAO proposal from Panther.

Can we agree on that we want Panther to fix the Adv Staking bugs?

---

<div class="post-metadata">

**Author:** ![Zilius](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pantherprotocol.io/zilius/32/181_2.png) [@Zilius](https://forum.pantherprotocol.io/u/Zilius)\
**Post date:** [December 20, 2022, 3:20pm UTC](https://forum.pantherprotocol.io/t/advanced-staking-code-updates-pip-11/217/2 "2022-12-20T15:20:21Z")

</div>

it will be good if interface fixes will happen online without stopping contracts, and so of course I agree

---

<div class="post-metadata">

**Author:** ![ToXiC\_eHC](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pantherprotocol.io/toxic_ehc/32/291_2.png) [@ToXiC\_eHC](https://forum.pantherprotocol.io/u/ToXiC_eHC)\
**Post date:** [December 20, 2022, 4:52pm UTC](https://forum.pantherprotocol.io/t/advanced-staking-code-updates-pip-11/217/3 "2022-12-20T16:52:07Z")

</div>

I agree that we would like those bugs fixed 🙂

---

<div class="post-metadata">

**Author:** ![Joris](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pantherprotocol.io/joris/32/8_2.png) [@Joris](https://forum.pantherprotocol.io/u/Joris)\
**Post date:** [December 20, 2022, 6:51pm UTC](https://forum.pantherprotocol.io/t/advanced-staking-code-updates-pip-11/217/4 "2022-12-20T18:51:39Z")

</div>

Thanks for initiating this topic.

On: In order to fix the Adv Staking UI bugs, a new version of the product needs to be uploaded onto IPFS eventually. The reported bugs and suggested product improvements can be stated onto the PIP itself after they are filtered out.

---

<div class="post-metadata">

**Author:** ![Av8R](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pantherprotocol.io/av8r/32/23_2.png) [@Av8R](https://forum.pantherprotocol.io/u/Av8R)\
**Post date:** [December 20, 2022, 6:58pm UTC](https://forum.pantherprotocol.io/t/advanced-staking-code-updates-pip-11/217/5 "2022-12-20T18:58:36Z")

</div>

That’s great! I’m in full agreement to this proposal…will this effect our current stakes/rewards?? This needs to be clarified

---

<div class="post-metadata">

**Author:** ![ToXiC\_eHC](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pantherprotocol.io/toxic_ehc/32/291_2.png) [@ToXiC\_eHC](https://forum.pantherprotocol.io/u/ToXiC_eHC)\
**Post date:** [December 21, 2022, 6:40am UTC](https://forum.pantherprotocol.io/t/advanced-staking-code-updates-pip-11/217/6 "2022-12-21T06:40:09Z")

</div>

It’s just UI ( User Interface ) bugs I don’t expect it would impact current stakes and rewards just how those are displayed if they are currently displayed wrong.

---

<div class="post-metadata">

**Author:** ![ToXiC\_eHC](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pantherprotocol.io/toxic_ehc/32/291_2.png) [@ToXiC\_eHC](https://forum.pantherprotocol.io/u/ToXiC_eHC)\
**Post date:** [December 21, 2022, 9:16am UTC](https://forum.pantherprotocol.io/t/advanced-staking-code-updates-pip-11/217/7 "2022-12-21T09:16:18Z")

</div>

Ok this topic is being shifted up to PIP-11 for earlier release.

---

<div class="post-metadata">

**Author:** ![Ron](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pantherprotocol.io/ron/32/49_2.png) [@Ron](https://forum.pantherprotocol.io/u/Ron)\
**Post date:** [December 21, 2022, 9:37am UTC](https://forum.pantherprotocol.io/t/advanced-staking-code-updates-pip-11/217/8 "2022-12-21T09:37:20Z")

</div>

Great move… i am a supporter…

---

<div class="post-metadata">

**Author:** ![Akin](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pantherprotocol.io/akin/32/139_2.png) [@Akin](https://forum.pantherprotocol.io/u/Akin)\
**Post date:** [December 22, 2022, 6:05pm UTC](https://forum.pantherprotocol.io/t/advanced-staking-code-updates-pip-11/217/9 "2022-12-22T18:05:36Z")

</div>

Surely need to be fixed. Let’s do it.

---

<div class="post-metadata">

**Author:** ![Joris](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pantherprotocol.io/joris/32/8_2.png) [@Joris](https://forum.pantherprotocol.io/u/Joris)\
**Post date:** [January 5, 2023, 8:26pm UTC](https://forum.pantherprotocol.io/t/advanced-staking-code-updates-pip-11/217/12 "2023-01-05T20:26:01Z")

</div>

Everyone:

We hereby share the Adv Staking front-end updates and upgrades proposal, PIP-11!  
Please feel free to discuss and review the front-end updates and overall proposal. If concurred, one of the Snapshot Authors can push it towards Snapshot so that ZKP holders can vote. For in the future, we are aiming to find a way to make source code ownership and availability more decentralized, readable and understandable for all Panther users and ZKP holders.

---

<div class="post-metadata">

**Author:** ![Joris](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pantherprotocol.io/joris/32/8_2.png) [@Joris](https://forum.pantherprotocol.io/u/Joris)\
**Post date:** [January 5, 2023, 8:29pm UTC](https://forum.pantherprotocol.io/t/advanced-staking-code-updates-pip-11/217/13 "2023-01-05T20:29:25Z")

</div>

## PIP-11: v0.5 Front-End code updates and upgrades

This proposal introduces updates and upgrades to the front-end (the “DApp”) of the Panther Protocol version 0.5, [known as ‘’Advanced Staking’’](https://docs.pantherprotocol.io/dao/token/staking/phase-2-advanced-staking).

A comprehensive list of the introduced changes can be found below in the Annex.

## Background

Through [PIP-9](https://docs.pantherprotocol.io/dao/governance/proposal-9-launch-advanced-staking-part1) and [PIP-10](https://docs.pantherprotocol.io/dao/governance/proposal-10-launch-advanced-staking-part2), the Panther Protocol version 0.5 was deployed and activated. After the launch of the version 0.5, users witnessed front-end (DApp) related issues. After the launch, contributors to the protocol prepared, tested and published source code of the [new front-end (DApp) version](https://github.com/pantherprotocol/panther-core/tree/72d15b2ad4bb22ec8a3d0450d41ff3796f68ebc5) (the “v0.5 upgraded front-end”) that resolves found issues and optimises performance.

As discussed by the community on the [Panther’s Discourse forum](https://forum.pantherprotocol.io/t/advanced-staking-bug-fixes-pip-11/217/11), the community recommends using the v0.5 upgraded front-end instead of the previous one.

In order to have a user-friendly URL pointing to the v0.5 upgraded front-end, and also to safeguard access to the correct link/app, the community requests and makes a recommendation to Panther Foundation to configure the [pantherprotocol.eth](https://app.ens.domains/name/pantherprotocol.eth) ENS domain namespace in such a way that the user-friendly link [Panther Staking](https://ipfs.io/ipns/pantherprotocol.eth) will point to the v0.5 upgraded front-end (DApp) deployed front-end.

## Proposed actions

The following action(s) are proposed:

1. Allocate the unused 2,000 $ZKP out of 4,000 $ZKP previously allocated in accordance with the [PIP-9](https://docs.pantherprotocol.io/dao/governance/proposal-9-launch-advanced-staking-part1) for front-end deployments, to be used for rewards to a community member who will have built and deployed the [v0.5 upgraded front-end](https://github.com/pantherprotocol/panther-core/tree/72d15b2ad4bb22ec8a3d0450d41ff3796f68ebc5) on IPFS.

2. Request Panther Foundation to configure the [pantherprotocol.eth](https://app.ens.domains/name/pantherprotocol.eth) ENS domain namespace so that the URL [Panther Staking](https://ipfs.io/ipns/pantherprotocol.eth) will point to the v0.5 upgraded front-end (DApp) deployed on IPFS.

## Participation

Please vote to accept or reject the proposed actions detailed above.

Voting power is calculated by [Snapshot.org](http://Snapshot.org) taking a snapshot of the number of $ZKP tokens staked per holder [at the block within which the proposal was created.](https://docs.snapshot.org/proposals/vote)

## Annex: Front-end (DApp) updates

Following changes are introduced by the [new front-end (DApp) version](https://github.com/pantherprotocol/panther-core/tree/72d15b2ad4bb22ec8a3d0450d41ff3796f68ebc5):

- Optimise UI performance if multiple stakes (40+) are created by a user.

- Correct the broken layout for the AssetsCardRow on mobile.

- Show an error notification card when there is an error refreshing the balance.

- Show APR when the user is disconnected.

- Correct Balance card layout, when the user is disconnected.

- Correct the link on the Staking page/ Staking tab/Privacy Reward Points field tooltip and introduce other text fixes.

- Update the MATIC balance upon the refresh button push.

The source code is available at

> **[GitHub - pantherprotocol/panther-core at...](https://github.com/pantherprotocol/panther-core/tree/72d15b2ad4bb22ec8a3d0450d41ff3796f68ebc5)**
>
> 72d15b2ad4bb22ec8a3d0450d41ff3796f68ebc5

---

<div class="post-metadata">

**Author:** ![ToXiC\_eHC](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pantherprotocol.io/toxic_ehc/32/291_2.png) [@ToXiC\_eHC](https://forum.pantherprotocol.io/u/ToXiC_eHC)\
**Post date:** [January 5, 2023, 8:49pm UTC](https://forum.pantherprotocol.io/t/advanced-staking-code-updates-pip-11/217/14 "2023-01-05T20:49:56Z")

</div>

Looks great, Lets move forward on this one. 💪

---

<div class="post-metadata">

**Author:** ![Rashid2401](https://avatars.discourse-cdn.com/v4/letter/r/22d042/32.png) [@Rashid2401](https://forum.pantherprotocol.io/u/Rashid2401)\
**Post date:** [January 5, 2023, 9:13pm UTC](https://forum.pantherprotocol.io/t/advanced-staking-code-updates-pip-11/217/15 "2023-01-05T21:13:14Z")

</div>

Its look great good proposal let hope for the best

---

<div class="post-metadata">

**Author:** ![Av8R](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pantherprotocol.io/av8r/32/23_2.png) [@Av8R](https://forum.pantherprotocol.io/u/Av8R)\
**Post date:** [January 5, 2023, 9:19pm UTC](https://forum.pantherprotocol.io/t/advanced-staking-code-updates-pip-11/217/16 "2023-01-05T21:19:09Z")

</div>

Looks good!…is there an upper limit for the UI to display correct stakes (it only says 40+) ? This is especially important for those that have multiple stakes when the time comes to unstake…Thank you

---

<div class="post-metadata">

**Author:** ![Lom1985](https://avatars.discourse-cdn.com/v4/letter/l/f4b2a3/32.png) [@Lom1985](https://forum.pantherprotocol.io/u/Lom1985)\
**Post date:** [January 5, 2023, 10:57pm UTC](https://forum.pantherprotocol.io/t/advanced-staking-code-updates-pip-11/217/17 "2023-01-05T22:57:31Z")

</div>

Great proposal!! Thanks for putting this together

---

<div class="post-metadata">

**Author:** ![a24z](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pantherprotocol.io/a24z/32/197_2.png) [@a24z](https://forum.pantherprotocol.io/u/a24z)\
**Post date:** [January 6, 2023, 12:22am UTC](https://forum.pantherprotocol.io/t/advanced-staking-code-updates-pip-11/217/18 "2023-01-06T00:22:44Z")

</div>

It’s looks great proposal 👍

---

<div class="post-metadata">

**Author:** ![NickG](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pantherprotocol.io/nickg/32/230_2.png) [@NickG](https://forum.pantherprotocol.io/u/NickG)\
**Post date:** [January 6, 2023, 2:18am UTC](https://forum.pantherprotocol.io/t/advanced-staking-code-updates-pip-11/217/19 "2023-01-06T02:18:31Z")

</div>

Yep of course, hope every bug gona be solved soon

---

<div class="post-metadata">

**Author:** ![SolidSnak3](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pantherprotocol.io/solidsnak3/32/111_2.png) [@SolidSnak3](https://forum.pantherprotocol.io/u/SolidSnak3)\
**Post date:** [January 6, 2023, 2:34am UTC](https://forum.pantherprotocol.io/t/advanced-staking-code-updates-pip-11/217/20 "2023-01-06T02:34:58Z")

</div>

Looks great! Let’s keep the momentum going. Nice work Panther team.

---

<div class="post-metadata">

**Author:** ![Zilius](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pantherprotocol.io/zilius/32/181_2.png) [@Zilius](https://forum.pantherprotocol.io/u/Zilius)\
**Post date:** [January 6, 2023, 7:14am UTC](https://forum.pantherprotocol.io/t/advanced-staking-code-updates-pip-11/217/21 "2023-01-06T07:14:51Z")

</div>

I agree let’s do it faster and move on

---

<div class="post-metadata">

**Author:** ![ToXiC\_eHC](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pantherprotocol.io/toxic_ehc/32/291_2.png) [@ToXiC\_eHC](https://forum.pantherprotocol.io/u/ToXiC_eHC)\
**Post date:** [January 6, 2023, 10:45am UTC](https://forum.pantherprotocol.io/t/advanced-staking-code-updates-pip-11/217/22 "2023-01-06T10:45:05Z")

</div>

I want to know why we are voting for the ENS again, it was already voted for in PIP-10 and not completed ‘later this month’ as stated at the time.

[Next page](https://forum.pantherprotocol.io/t/advanced-staking-code-updates-pip-11/217.md?page=2)
