## # **Proposal #16: Extend Advanced Staking** ## Summary: This proposal introduces the initiative of extending the "Advanced Staking" program for another two months, with stakes to be accepted till October 22, 2023 and rewards to be accrued at the APR of 15% for the locking period of 60 days. Therefore, the new staking cycle to be started with parameters stated in the "Terms for smart contracts" section. ## Background: The initial "Advanced Staking" program was launched via [PIP-9](https://snapshot.org/#/pantherprotocol.eth/proposal/0x01942f584fe0c27aeef420207135be5ede279998da0a7839f22e2178b2d335ba), [PIP-10](https://snapshot.org/#/pantherprotocol.eth/proposal/0x0c6f3fd9db866f99d7d0b343687b890cd3240495170f539efcc31f2dc216ebd5), and prolonged via [PIP-13](https://snapshot.org/#/pantherprotocol.eth/proposal/0x0825de3b9289d3e04e8f9f3607d1145923f482104fecabc9d02634b3f7d6f521). The extended Advanced Staking program is valid till August 22, 2023 and the corresponding rewards are to be calculated for the same period. The community proposes to launch the new cycle ("program") prior the completion of the previous program (activated via [PIP-13](https://snapshot.org/#/pantherprotocol.eth/proposal/0x0825de3b9289d3e04e8f9f3607d1145923f482104fecabc9d02634b3f7d6f521)) that will be stopped simultaneously with the start of the new one. The remaining $ZKP tokens originally allocated as staking rewards according to proposals [PIP-9](https://snapshot.org/#/pantherprotocol.eth/proposal/0x01942f584fe0c27aeef420207135be5ede279998da0a7839f22e2178b2d335ba) shall be used to source rewards under the new program. As discussed on [Panther's Discourse forum](https://forum.pantherprotocol.io/t/extending-advanced-staking/327/5), the community recommends running a new cycle of the "Advanced Staking" program (AS3), with parameters stated below in the "Terms for smart contracts" section. This proposal (1) authorizes updates of [the current UI](https://github.com/pantherprotocol/panther-core/releases/tag/v0.5.3) which introduce the new staking terms as described below, (2) autorizes and triggers the execution (via [Panther's space](https://snapshot.org/#/pantherprotocol.eth) on Snapshot.org and the Reality.eth oracle) of the attached blockchain transactions listed below under Annex, deploying and configuring Panther's smart contracts to launch AS3. ## Terms for smart contracts: It is proposed to follow the below parameters for extending the "Advanced Staking" program: | **Parameter** | **Description** | | --- | --- | | First day stakes are accepted | As soon as relevant PIP is passed and executed. | | Last day stakes are accepted | October 22, 2023, 12:00 am UTC, or earlier if "Amount of $ZKP allocated for rewards to all stakers" below has been already depleted, or earlier if Panther's v1 is launched beforehand. | | Amount of $ZKP allocated for rewards to all stakers | The remaining part of rewards, which were allocated according to [PIP-9](https://snapshot.org/#/pantherprotocol.eth/proposal/0x01942f584fe0c27aeef420207135be5ede279998da0a7839f22e2178b2d335ba) and used during two cycles of the Advanced Staking program. | | Number of days the staked $ZKP remains locked after stake creation | 60 days | | Reward formula, where: Reward - reward for a stake ($zZKP) Amount - amount staked ($ZKP)APR - Annual Percentage Rate (%) Period - rewarded period (days) | Reward = Amount\*APR\*Period / 365 APR - 15%, Period - 60 days | | Minimum $ZKP amount per stake | 1000 | | Time since when a staker might withdraw rewards from the MASP (but forfeiting the right to accumulate PRPs | Immediately after the stake is created. | ## Community Deployment Rewards: Users who execute blockchain transactions listed in the Annex shall be rewarded as follows: 1. 2,000 $ZKP shall be rewarded to the first deployer of the updated UI to IPFS. 2. 3,000 $ZKP shall be rewarded to the user(s) who execute the blockchain transactions to deploy and configure smart contracts on the Ethereum Mainnet and Polygon network. There are 3 transactions to execute, each one will award a user 1,000 $ZKP reward. 3. Users who execute the mentioned above blockchain transactions shall be given extra rewards as compensation for the gas costs incurred by these users on the Ethereum Mainnet. To clarify, this only applies to the Reality.eth transactions directly associated with this DAO proposal, which are described in the Annex and listed at the corresponding page on Snapshot.org. This does not promise any compensation for normal staking/unstaking transactions, or other interactions with the smart contracts. ## Proposed Actions: 1. Approve all parameters included in the sections "Terms for smart contracts" and "Community Deployment Rewards". 2. Authorize UI code updates to implement new terms, 3. Authorize and execute on the Ethereum Mainnet and Polygon network the deployment and configuration transactions described in the Annex, to achieve the terms for the AS3 program to be those outlined in the section "Terms for smart contracts", 4. Request the Panther Foundation to configure the pantherprotocol.eth namespace so that the URL https://ipfs.io/ipns/pantherprotocol.eth will point to the updated UI deployed on IPFS. ## Acceptance Criteria: In order for "Zodiac Reality Module" (further referred to as the "Module") to execute a transaction, any corresponding proposal must have passed, as reported by Reality.eth. The Reality.eth question should conform to this template (the required template ID is defined by the installed Module): { "title": "Did the Snapshot proposal with the id %s in the PantherProtocol.eth space pass the execution of the array of Module transactions that have the hash 0x%s and does it meet the requirements of the document referenced in the daorequirements record at PantherProtocol.eth? The hash is the keccak of the concatenation of the individual EIP-712 hashes of the Module transactions. If this question was asked before the corresponding Snapshot proposal was resolved, it should ALWAYS be resolved to INVALID!", "lang": "en", "type": "bool", "category": "DAO proposal" } Reality.eth should resolve the question to "yes" only for proposals that: - were initiated as a Snapshot proposal in the PantherProtocol.eth space (at[https://snapshot.org/#/pantherprotocol.eth](https://snapshot.org/#/pantherprotocol.eth)); - had a minimum quorum of 4% of the $ZKP token total supply, returned by the $ZKP smart contract deployed on Ethereum network at the address stated by the zkpaddress record at[pantherprotocol.eth](https://app.ens.domains/name/pantherprotocol.eth/details), having cast votes to approve execution of the transactions; - had a voting period of at least 3 days; - had no significant service outages or availability issues that could have reasonably restricted $ZKP token holders from casting their votes in the proposal; - have a minimum bond on the Reality question of at least 0.5ETH; - the module transaction hash in the Reality.eth question is the keccak hash of the concatenation of the individual EIP-712 hashes of the module transactions defined in the Snapshot proposal; - the plain description of the transactions, and their intended result, in the proposal is complete and accurate; - do not occur during, in, or as a result of any unauthorized or malicious changes to the PantherProtocol.eth Snapshot space; - were not filtered from the default view in the PantherProtocol.eth Snapshot space during the voting period. Reality.eth should resolve the question to "invalid" if: - the Reality.eth question meets the above requirements but was created prior to the end of the proposal vote period and/or the snapshot block for the vote (i.e. the final results of the vote are not yet known). In all other cases, the Reality.eth question should be resolved to "no". ## Participation: Please vote to accept or reject the proposed actions detailed above. As per the existing DAO governance structure, as the staking smart contracts are not currently issuing any rewards, you need to hold $ZKP, staked or not, on the Ethereum Mainnet or Polygon to participate in voting. Voting power is calculated by Snapshot.org taking a snapshot of the number of ZKP tokens per holder at the block within which the proposal was created. ## Full proposal details: The full details of this proposal are visible in a more human-readable form at: https://docs.pantherprotocol.io/docs/dao-proposals/proposal-16-extend-advanced-staking ## Annex: This proposal triggers the execution of the following blockchain transactions. These transactions are already encoded during the submission of the proposal to Snapshot.org, and can be independently verified via the snapshot.org web interface. The complete list of transactions can be found under the following URL: https://docs.pantherprotocol.io/docs/dao-proposals/proposal-16-extend-advanced-staking/technical-details Batch 1 transaction 1 Deploy the AdvancedStakeV3ActionMsgTranslator smart contract on the Polygon network by invoking the DeterministicDeploymentProxy on the Polygon Network. The transaction will initiate a call to FxRoot on the Ethereum mainnet, which will bridge the contract bytecode to the Polygon network through the MaticBridgeModule. Batch 2 transaction 1 Deploy the AdvancedStakeV3ActionMsgTranslator smart contract on the Ethereum mainnet using the DeterministicDeploymentProxy. Batch 2 transaction 2..5 Configure the Staking and RewardMaster smart contracts on the Ethereum mainnet to work with the newly deployed AdvancedStakeV3ActionMsgTranslator. Batch 2 transaction 6 Re-enable Advanced Stakes on the Ethereum mainnet from Thursday, August 22, 2023, at 12:00:00 PM UTC until Sunday, October 22, 2023 at 12:00:00 AM UTC, with a lock period of 60 days. Batch 3 transactions 1..4 Configure the Staking and RewardMaster contracts on the Polygon network to interact with the newly deployed AdvancedStakeV3ActionMsgTranslator. Calls to FxRoot on the Ethereum network will trigger the corresponding calls on the Polygon network. This is done through the bridging mechanism provided by the MaticBridgeModule. Batch 3 transaction 5 Re-enable advanced stakes on Polygon starting from Thursday, August 22, 2023, at 12:00:00 PM UTC until Sunday, October 22, 2023 at 12:00:00 AM UTC, with a lock period of 60 days. The transaction will call FxRoot on the Ethereum mainnet to bridge the configuration data to the Polygon network through MaticBridgeModule. Batch 3 transaction 6 Update the advanced staking reward parameters by changing the end time to Thursday, December 21, 2023 12:00:00 AM UTC. The transaction will invoke the call to FxRoot on the mainnet to facilitate the transfer of the configuration call across the Polygon bridge.