Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 35 additions & 5 deletions scripts/md-components.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,44 @@ function markdownTable(header: string[], rows: string[][]): string {
].join("\n");
}

/**
* The chains that carry the token itself, which is not the same as the chains
* the address book lists. PRL's book covers nine, but Avalanche and HyperEVM
* hold only tokenomics contracts and Fantom only a deprecated migration
* contract, so "PRL is deployed on 9 chains" reads as false to anyone
* checking. A chain counts when it holds the canonical token or its
* `Peripheral<TOKEN>` OFT; every USDp chain does, so USDp is unaffected.
*/
function tokenChains(stablecoin: string, book: AddressBook): string[] {
const tokenNames = new Set([stablecoin.toLowerCase(), `peripheral${stablecoin.toLowerCase()}`]);
return Object.keys(book)
.filter((chain) =>
book[chain].some((entry) => {
const name = entry.name.toLowerCase();
return tokenNames.has(name) && !name.includes("deprecated");
}),
)
.sort();
}

/** Renders one address book as a section per chain, module headings preserved. */
export function renderAddressBook(stablecoin: string, book: AddressBook): string {
const chains = Object.keys(book).sort();
const out: string[] = [
`${stablecoin} is deployed on ${chains.length} chain${chains.length > 1 ? "s" : ""}: ` +
`${chains.map(chainLabel).join(", ")}.`,
"",
];
// A book whose token entries we cannot recognise falls back to listing every
// chain, so an unknown naming convention degrades to the old sentence rather
// than claiming the token is deployed nowhere.
const carrying = tokenChains(stablecoin, book);
const listed = carrying.length > 0 ? carrying : chains;
const others = chains.filter((chain) => !listed.includes(chain));
let lead =
`${stablecoin} is deployed on ${listed.length} chain${listed.length > 1 ? "s" : ""}: ` +
`${listed.map(chainLabel).join(", ")}.`;
if (others.length > 0) {
lead +=
` This page also lists ${stablecoin}-related contracts on ` +
`${others.map(chainLabel).join(", ")}, which do not carry the token.`;
}
const out: string[] = [lead, ""];
for (const chain of chains) {
out.push(`### ${chainLabel(chain)}`, "");
out.push(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Parallel V3 — Contract Addresses
description: "Contract addresses for Parallel V3, split by token: USDp and sUSDp across 24 chains, and the PRL governance token across the 9 chains that carry it."
description: "Contract addresses for Parallel V3, split by token: USDp and sUSDp across 24 chains, and the PRL governance token across the 6 chains that carry it."
subtitle: List of Parallel V3 contract addresses
---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
---
title: PRL Contract Addresses
description: Deployed PRL governance token contract addresses across the 9 chains that carry it, including Ethereum, Base, Avalanche and HyperEVM.
description: Deployed PRL contract addresses. The PRL governance token is on 6 chains (Ethereum, Base, Arbitrum, Optimism, Polygon and Sonic); this page also lists PRL tokenomics contracts on Avalanche and HyperEVM and a deprecated migration contract on Fantom.
---

import { ContractAddressesPage } from '@/components/ContractAddressesPage';
import { PRL_ADDRESSES } from '@/data/prl-addresses';

# PRL Contract Addresses

The PRL governance token is deployed on 6 chains: Ethereum, where the canonical ERC-20 lives, and Base, Arbitrum, Optimism, Polygon PoS and Sonic, which each hold a `PeripheralPRL` OFT. This page also lists PRL tokenomics contracts on Avalanche and HyperEVM, and a deprecated migration contract on Fantom; none of those three carries the token itself.

For a one-page summary of key facts, contracts and integration links, see the [PRL factsheet](/resources/factsheets/prl).

<ContractAddressesPage stablecoin="PRL" chains={PRL_ADDRESSES} />
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
---
title: Epoch Concept
description: >-
An epoch is the 30-day unit of time in Parallel tokenomics, setting the
ParaBoost calculation window, the sPRL unstaking cooldown and the fee sharing
schedule.
An epoch is one calendar month in Parallel tokenomics, setting the ParaBoost
calculation window and the fee sharing schedule. The sPRL unstaking cooldown
is a separate, fixed 28 days.
subtitle: Understanding the Epoch Concept
---

# Epoch Concept

The epoch will serve as the central unit of time in the new tokenomics. An epoch consists of a number of 30 days. It will be used to determine the [ParaBoost](/governance/parallel-governance-token-prl/tokenomics/paraboost) calculation period, the duration of the cooldown during unstaking sPRL1 and sPRL2 and to manage the [fee sharing](/governance/parallel-governance-token-prl/tokenomics/fee-distribution) distribution to sPRL1 and sPRL2 holders.
The epoch is the central unit of time in the tokenomics. An epoch is one calendar month, so it lasts 28, 29, 30 or 31 days depending on the month. It is used to determine the [ParaBoost](/governance/parallel-governance-token-prl/tokenomics/paraboost) calculation period and to manage the [fee sharing](/governance/parallel-governance-token-prl/tokenomics/fee-distribution) distribution to sPRL1 and sPRL2 holders.

On-chain, the `RewardMerkleDistributor` enforces an `EPOCH_LENGTH` of 28 days as the minimum window between two epochs, which every calendar month satisfies.

:::info
The cooldown applied when unstaking sPRL1 and sPRL2 is **not** one epoch. It is a separate, fixed period of 28 days, held per staking contract as `timeLockDuration` and changeable by governance within a 1 to 365 day range. See [Staking Mechanisms](/governance/parallel-governance-token-prl/tokenomics/staking-mechanisms).
:::
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: Staking Mechanisms
description: >-
PRL can be staked two ways: sPRL1 for single-sided staking, and sPRL2 for the
PRL/wETH 80/20 Balancer pool token. Both unstake against an epoch-long
PRL/wETH 80/20 Balancer pool token. Both unstake against a 28-day
cooldown.
subtitle: Understanding Staking Mechanisms
---
Expand All @@ -21,13 +21,13 @@ The PRL staking modules can be deployed on several blockchains at once.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXd9e9vhPUKbd2YUr_rweZl_d5mlTLdjuVPrpqAozapb56ke85rl2zCAeNSiJki8JvGniUNoYAejUjERY49Uv8EhOY8bzsgwHDir_7rjJBteG1x3syFrDwdtOnwOk_byxt7xNKdU?key=uOHfGKisLsmo3vlkLWSaDkLF" alt="" /><figcaption><p>Staking Mechanisms Summary</p></figcaption></figure>

It is possible for sPRL1 and sPRL2 to initiate unstaking at any time, against a cooldown period of 1 epoch. However, they are able to bypass the vesting period by paying a penalty fee, starting at 50% and decreasing linearly over time. The penalty fee is taken from the amount of sPRL1 or sPRL2 being unstaked and is sent to the DAO Treasury.
It is possible for sPRL1 and sPRL2 to initiate unstaking at any time, against a cooldown period of 28 days. However, they are able to bypass the vesting period by paying a penalty fee, starting at 50% and decreasing linearly over time. The penalty fee is taken from the amount of sPRL1 or sPRL2 being unstaked and is sent to the DAO Treasury.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXci-Irsgw1RejbBF6baHptCcp5GGlP8L_HI4rRuyV9fH7R7VoY9fi_-IuCmZxLIIDH7hf3nAM_HG70LI6x4nXpVB_yEW_ZItCV_ErfxdfI57N35-kCcnRCsO7DVscxEu9gpBBYt?key=uOHfGKisLsmo3vlkLWSaDkLF" alt="" /><figcaption><p>Penalty Fee Over Time</p></figcaption></figure>

### sPRL1: Single PRL Staking

A basic single-sided staking for users who do not want to take an impermanent loss from tokens in liquidity pools. Each PRL staked as sPRL1 will count as x1 voting power, with a 1 epoch unstaking cooldown.
A basic single-sided staking for users who do not want to take an impermanent loss from tokens in liquidity pools. Each PRL staked as sPRL1 will count as x1 voting power, with a 28-day unstaking cooldown.

sPRL1 is currently deployed on:

Expand All @@ -44,7 +44,7 @@ sPRL1 can technically be deployed on more chains in the future, conditioned to t

A PRL/wETH 80/20 Balancer Pool Token staking for users who want to get the maximum voting power. The staked LP as sPRL2 is itself staked on Aura under the hood, with rewards in \$BAL and \$AURA automatically sent to the DAO treasury.

As these stakers help Parallel increase the PRL liquidity a x2.5 boost on the equivalent value of PRL tokens staked (in \$) is applied. This boost ise applied for ParaBoost. sPRL2 holders are able to unstake their BPT tokens against a 1 epoch unstaking cooldown.
As these stakers help Parallel increase the PRL liquidity a x2.5 boost on the equivalent value of PRL tokens staked (in \$) is applied. This boost ise applied for ParaBoost. sPRL2 holders are able to unstake their BPT tokens against a 28-day unstaking cooldown.

sPRL2 is currently deployed on:

Expand Down
6 changes: 3 additions & 3 deletions src/pages/governance/sprl.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ sPRL1 & sPRL2 are represented in form of tokens and will be freely transferable,

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXd9e9vhPUKbd2YUr_rweZl_d5mlTLdjuVPrpqAozapb56ke85rl2zCAeNSiJki8JvGniUNoYAejUjERY49Uv8EhOY8bzsgwHDir_7rjJBteG1x3syFrDwdtOnwOk_byxt7xNKdU?key=uOHfGKisLsmo3vlkLWSaDkLF" alt="" /><figcaption><p>Staking Mechanisms Summary</p></figcaption></figure>

It is possible for sPRL1 and sPRL2 to initiate unstaking at any time, against a cooldown period of 1 epoch. However, they are able to bypass the vesting period by paying a penalty fee, starting at 50% and decreasing linearly over time. The penalty fee is taken from the amount of sPRL1 or sPRL2 being unstaked and is sent to the DAO Treasury.
It is possible for sPRL1 and sPRL2 to initiate unstaking at any time, against a cooldown period of 28 days. However, they are able to bypass the vesting period by paying a penalty fee, starting at 50% and decreasing linearly over time. The penalty fee is taken from the amount of sPRL1 or sPRL2 being unstaked and is sent to the DAO Treasury.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXci-Irsgw1RejbBF6baHptCcp5GGlP8L_HI4rRuyV9fH7R7VoY9fi_-IuCmZxLIIDH7hf3nAM_HG70LI6x4nXpVB_yEW_ZItCV_ErfxdfI57N35-kCcnRCsO7DVscxEu9gpBBYt?key=uOHfGKisLsmo3vlkLWSaDkLF" alt="" /><figcaption><p>Penalty Fee Over Time</p></figcaption></figure>

### sPRL1: Single PRL Staking

A basic single-sided staking for users who do not want to take an impermanent loss from tokens in liquidity pools. Each PRL staked as sPRL1 will count as x1 voting power, with a 1 epoch unstaking cooldown.
A basic single-sided staking for users who do not want to take an impermanent loss from tokens in liquidity pools. Each PRL staked as sPRL1 will count as x1 voting power, with a 28-day unstaking cooldown.

sPRL1 is currently deployed on:

Expand All @@ -35,7 +35,7 @@ sPRL1 is currently deployed on:

A PRL/wETH 80/20 Balancer Pool Token staking for users who want to get the maximum voting power. The staked LP as sPRL2 is itself staked on Aura under the hood, with rewards in \$BAL and \$AURA automatically sent to the DAO treasury.

As these stakers help Parallel increase the PRL liquidity a x2.5 boost on the equivalent value of PRL tokens staked (in \$) is applied. This boost ise applied for ParaBoost. sPRL2 holders are able to unstake their BPT tokens against a 1 epoch unstaking cooldown.
As these stakers help Parallel increase the PRL liquidity a x2.5 boost on the equivalent value of PRL tokens staked (in \$) is applied. This boost ise applied for ParaBoost. sPRL2 holders are able to unstake their BPT tokens against a 28-day unstaking cooldown.

sPRL2 is currently deployed on:

Expand Down
2 changes: 1 addition & 1 deletion src/pages/products/parallel-v3/fees.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Parallel charges very little today, but none of its fees are hard-coded. Mint an
| Bridge USDp | 0.00% protocol fee | You pay the LayerZero native gas fee on the source chain. Delivery takes around 10 minutes. | The LayerZero network (verifiers and executors), not Parallel |
| Flashloan | 0.00% | Up to 100,000 per transaction on each chain. | Fee collector, when a fee is set |
| sUSDp deposit or withdraw | None | ERC-4626 vault, no slippage, yield accrues from the first block. | Not applicable |
| PRL staking | No fee to stake, or to unstake after the cooldown | Skipping the one-epoch cooldown costs a penalty that starts at 50% and decreases linearly. See [Staking Mechanisms](/governance/parallel-governance-token-prl/tokenomics/staking-mechanisms). | DAO Treasury (penalty only) |
| PRL staking | No fee to stake, or to unstake after the cooldown | Skipping the 28-day cooldown costs a penalty that starts at 50% and decreases linearly. See [Staking Mechanisms](/governance/parallel-governance-token-prl/tokenomics/staking-mechanisms). | DAO Treasury (penalty only) |
| x402 facilitator | No platform fee | Gas is sponsored on Base, HyperEVM and Avalanche only; Ethereum is supported but the agent pays its own gas. Agents pay in USDp, USDC or sUSDp, and funds settle straight to the merchant's wallet. See [x402 concepts](/agents/x402/concepts). | Not applicable |

## Minting and burning
Expand Down
8 changes: 4 additions & 4 deletions src/pages/resources/factsheets/prl.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ PRL is the governance token of the Parallel Protocol. It replaced MIMO, and stak
| Total supply | 1,000,000,000 PRL, fixed. No mint, pause or admin function on the token |
| Decimals | 18 |
| Canonical contract (Ethereum) | [0x6c0aeceeDc55c9d55d8B99216a670D85330941c3](https://etherscan.io/address/0x6c0aeceeDc55c9d55d8B99216a670D85330941c3) |
| Chains | 9 chain deployments in the [PRL contract addresses](/developers-hub/contract-addresses/parallel-v3/prl): Ethereum, Base, Arbitrum, Optimism, Polygon, Sonic (token contract), plus Avalanche, HyperEVM (fee distributors only) and Fantom (deprecated migration contract) |
| Staking | sPRL1 (single-sided PRL) and sPRL2 (80/20 PRL/wETH Balancer pool staked on Aura). See [Staking Mechanisms](/governance/parallel-governance-token-prl/tokenomics/staking-mechanisms) |
| Epochs | 30 days. Unstaking has a 1-epoch cooldown; leaving early costs a penalty that starts at 50% and decays linearly. See [Epoch Concept](/governance/parallel-governance-token-prl/tokenomics/epoch-concept) |
| Chains | The token is on 6 chains: Ethereum, Base, Arbitrum, Optimism, Polygon and Sonic. The [PRL contract addresses](/developers-hub/contract-addresses/parallel-v3/prl) page also lists PRL tokenomics contracts on Avalanche and HyperEVM, and a deprecated migration contract on Fantom, none of which carry the token |
| Staking | sPRL1 (single-sided PRL) and sPRL2 (80/20 PRL/wETH Balancer pool staked on Aura). Unstaking has a separate, fixed 28-day cooldown; leaving early costs a penalty that starts at 50% and decays linearly. See [Staking Mechanisms](/governance/parallel-governance-token-prl/tokenomics/staking-mechanisms) |
| Epochs | One calendar month (28 to 31 days). Epochs set the ParaBoost window and the fee distribution schedule. See [Epoch Concept](/governance/parallel-governance-token-prl/tokenomics/epoch-concept) |
| Fee share | sPRL1 and sPRL2 holders receive a share of protocol fees each epoch, weighted by ParaBoost, claimable for 12 epochs. See [Fee Distribution](/governance/parallel-governance-token-prl/tokenomics/fee-distribution) and [Fees](/products/parallel-v3/fees) |
| Governance role | sPRL1 and sPRL2 carry voting power, weighted by the previous epoch's [ParaBoost](/governance/parallel-governance-token-prl/tokenomics/paraboost). See [sPRL and Voting Power](/governance/sprl) |
| Issuance | Under PIP-46, 100% of PRL issuance goes to the DAO PRL Inflation Multisig on Ethereum. See [Issuance](/governance/parallel-governance-token-prl/issuance) |
Expand All @@ -36,7 +36,7 @@ PRL is the governance token of the Parallel Protocol. It replaced MIMO, and stak

## How it works

PRL itself is a plain, immutable ERC-20 on Ethereum; every other chain holds a `PeripheralPRL` OFT that mints and burns against PRL locked in the Ethereum `LockBox`, over LayerZero with DAO-configured DVNs. See the [PRL Bridging Module](/governance/parallel-governance-token-prl/bridging-module). To take part in governance you stake PRL as sPRL1, or provide 80/20 PRL/wETH liquidity and stake the pool token as sPRL2, which counts x2.5 in ParaBoost. A keeper (Cooper Labs) computes ParaBoost off-chain at the end of each 30-day epoch and publishes a merkle root to the `RewardMerkleDistributor`, from which stakers claim their fee share. Transferring sPRL resets the accumulated ParaBoost, so voting power and rewards stay with long-term stakers. The full model is in [Tokenomics](/governance/parallel-governance-token-prl/tokenomics).
PRL itself is a plain, immutable ERC-20 on Ethereum; every other chain holds a `PeripheralPRL` OFT that mints and burns against PRL locked in the Ethereum `LockBox`, over LayerZero with DAO-configured DVNs. See the [PRL Bridging Module](/governance/parallel-governance-token-prl/bridging-module). To take part in governance you stake PRL as sPRL1, or provide 80/20 PRL/wETH liquidity and stake the pool token as sPRL2, which counts x2.5 in ParaBoost. A keeper (Cooper Labs) computes ParaBoost off-chain at the end of each monthly epoch and publishes a merkle root to the `RewardMerkleDistributor`, from which stakers claim their fee share. Transferring sPRL resets the accumulated ParaBoost, so voting power and rewards stay with long-term stakers. The full model is in [Tokenomics](/governance/parallel-governance-token-prl/tokenomics).

## Backing and risk

Expand Down
2 changes: 1 addition & 1 deletion src/pages/resources/user-guides.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Deposit USDp into the Savings Module and receive sUSDp, the liquid ERC-4626 shar
Move USDp between its 24 chains, and PRL between its chains, one for one over LayerZero. Covers the DVN security set-up, the daily and global limits, the fees you pay, and how to track a delayed transfer.

**[How to stake PRL](/resources/user-guides/stake-prl)**
Stake PRL as sPRL1 (single-sided) or sPRL2 (80/20 PRL/wETH Balancer pool) to earn a share of protocol fees and voting power. Covers 30-day epochs, ParaBoost, claiming rewards, and the unstaking cooldown and early-exit penalty.
Stake PRL as sPRL1 (single-sided) or sPRL2 (80/20 PRL/wETH Balancer pool) to earn a share of protocol fees and voting power. Covers monthly epochs, ParaBoost, claiming rewards, and the 28-day unstaking cooldown and early-exit penalty.

## Closed

Expand Down
Loading