[RFC] PTBR-15: G9 Software Inc. <> PoolTogether
Start Date | Jan 1st, 2024 |
Duration | 6 months |
Budget | $684,050 USD |
G9 Software Inc. is a software consultancy specializing in web and blockchain applications. This proposal offers deliverables and IP in exchange for compensation.
This is an updated proposal from G9 for 2024; the first one failed. We listened to POOL token holders and incorporated the feedback we received. The deliverables detailed below will allow PoolTogether protocol to fully decentralize and create a path to sustainability.
This will be the last major PTBR submitted by G9. After this, we are open to a retainer contract for maintenance and hosting if the community desires.
Goal
Our goal is to help PoolTogether become a permissionless, decentralized, sustainable protocol.
Weāre going to accomplish that by making the protocol fully self-contained, easy to deploy, and deliver value to the POOL token.
Deliverables
There are a number of ways that we want to improve the prize experience:
- Adjustments to the Prize Pool
- New 4626 Vault Factory
- Re-launch on Optimism, launch on Arbitrum, Ethereum and Base
- Migration App
To ensure the protocol is sustainable:
- POOL buyback and burn mechanism
- Localized RNG
- Prize Pool Launch Script
Finally, we will host and maintain the open source apps weāve previously delivered.
Adjustments to the Prize Pool
- wETH as the prize
- Improve tier adjustment algorithm
wETH as the Prize
Switching the prize asset to wETH makes it easy for winners to swap back into whatever vault asset they have.
Using wETH instead of POOL reduces the amount of liquidity coordination and custom mechanisms needed for the optimal prize experience.
Adjust Tier Algorithm
The prize pool needs some adjustments to ensure that tier changes occur smoothly and efficiently.
- Daily tier liquidity needs to be reclaimed upon contraction
- Tier count change should be limited to one up or down.
- Reduce the number of dust prizes
New 4626 Vault Factory
We will build a new Vault Factory that produces vaults that are less restrictive with respect to the 4626 spec. We will actively test the vault to ensure it is compatible with the Yield Daddy wrapper for Aave V3. The vault will likely be compatible with other 4626 sources and we will test against several other yield sources, but we cannot guarantee it will be compatible with all 4626 yield sources.
The current Vault Factory produces vaults that have a limitation that makes them unable to scale with Aave.
POOL Buyback and burn
We will build a POOL buyback and burn mechanism that burns a portion of the reserve in the Prize Pool. The remaining portion will be spent on the RNG.
A protocol needs resources in order to evolve and grow. PT is spending stables right now because they are highly liquid assets, but there is a finite supply.
The most natural next step for governance after the stables run out is to spend the 4m+ POOL tokens in the treasury. This is what many other protocols do; they use their own tokens. Ajna, Uniswap, and Optimism all use their own tokens as incentives.
Peopleās biggest concerns about giving away POOL have been around dilution; they donāt want the token to be inflated.
Current Mechanism
PT V5 has the reserve mechanism that serves as a back-stop for prizes. On a long enough time frame, the reserve should grow indefinitely (barring RNG costs). However, this isnāt intuitive to most people. Also, the tokens are not guaranteed to be burned; a black swan event where two grand prizes are awarded is theoretically possible, which means the reserve isnāt strictly locked.
Buyback and Burn
We can make the burn explicit by using the reserve to buy back and burn POOL. This creates room for governance to distribute POOL as incentives to builders
This has the added advantage of benefiting the POOL token everywhere; if the tokens are burned on Optimism, then governance on Ethereum can take advantage of the supply dip. Governance can distribute POOL as incentives to builders.
PoolTogether can launch on any number of chains and governance on Ethereum will benefit from the supply changes.
Visualization
By design, V5 uses a portion of the total yield earned on deposits to fund incentives which keep the protocol running autonomously.
For example, Liquidation rewards go to bots swapping yield into WETH With these proposed changes we are aiming to lower incentive costs. In the case of Liquidation Rewards, we would decrease costs by using WETH instead of POOL as the Prize Asset.
Localizing the RNG lowers costs for RNG Rewards Eliminating dust prizes also lowers costs for Claim Rewards.
By lowering these costs and adjusting how the prize backstop works, we can fund an explicit POOL Buyback & Burn program, which would have the benefit of strengthening the POOL token.
As a result of these proposed changes, the vast majority of the yield on deposits would be converted into WETH and delivered to depositors as prizes. We believe this addresses a lot of technical and liquidity issues we faced before.
Example Numbers
Letās calculate what the burn rate would be at different levels of TVL. The numbers assume that 80% of the reserve is used for buyback and burn. This is just an example to demonstrate the magnitude of the burn; final numbers TBD.
TVL | APR | Yearly Reserve | Yearly POOL Burn |
---|---|---|---|
$5,000,000.00 | 5.00% | $37,234 | $29,787 |
$10,000,000.00 | 5.00% | $61,404 | $49,123 |
$50,000,000.00 | 5.00% | $261,194 | $208,955 |
$100,000,000.00 | 5.00% | $522,388 | $417,910 |
$200,000,000.00 | 5.00% | $909,091 | $727,273 |
$500,000,000.00 | 5.00% | $2,272,727 | $1,818,182 |
Here is the original spreadsheet.
Note: tier details have been hidden to keep things simple.
Localized RNG Mechanism
We will localize the RNG mechanism so it uses an RNG native to the chain. This will lower costs significantly and enable more POOL to be burnt.
Previously we were bridging the Chainlink VRF result from Ethereum. If we are going to burn the reserve, then this approach wonāt be feasible.
Prize Pool Launch Script
We will create instructions and a script that allow a developer to easily launch a PoolTogether Prize Pool deployment on EVM-equivalent chains.
This will enable the protocol to easily incentivize anyone to launch on new chains or L2s.
Launch Parameters
The launch script will have many configuration parameters; some of which apply to all chains, and others that depend on the target chain.
For example, global parameters include:
- Tier shares & reserve shares (determine the amount allocated to reserve)
- Buyback and burn percentage (determine percentage of daily reserve to use to buyback and burn POOL tokens).
Chain specific parameters include:
- Draw period (how often a draw occurs)
- POOL token address
- Prize token address
These lists are not complete, but illustrate some of the more important params.
Generation will configure the launch script with our recommended global parameters.
Launch on Optimism, Arbitrum, Ethereum and Base
We will use the launch script to (re)launch the protocol on Optimism, Arbitrum, Ethereum and Base. The deployments will include the core Prize Pool, the Twab Rewards and the supporting factories.
New Prize Pool deployments will occur in three steps:
- Generation will configure the chain-specific parameters with our recommended values
- We will run a Snapshot vote to approve of the deployment parameters
- Once approved, we will deploy to the chain
Once deployed, the Prize Pool will be ready for new Vaults. It is expected the community will launch vaults using the vault factory.
Migration App
We will build a web app that makes it easy to transfer balances from PoolTogether V3 and V4 to PoolTogether V5.
The target V5 vaults will need to be determined by the community.
App Maintenance & Hosting
We will host and maintain the following web apps until June 30, 2024:
- Cabana (app.cabana.fi)
- Vault Factory (factory.cabana.fi)
- Vault Lists (lists.cabana.fi)
- Rewards (rewards.cabana.fi)
- Cabanalytics (analytics.cabana.fi)
- Swap (swap.cabana.fi)
- Flash (flash.cabana.fi)
- Migration app (TBD)
The apps will be updated so that they display vaults chosen by the community.
Apps will be updated to reflect new mechanics where applicable; for example Cabanalytics can be updated to reflect the POOL burn, and the apps can be updated to reflect the new prize asset.
If the community wishes to switch hosting for Q3 2024, then we are happy to provide guidance to the new service provider.
Timeline
The Optimism deployment will be first. Re-deployment will depend on how quickly we can proceed with R&D and auditing. I estimate best case it will be live by March 1st, and worst case by April 1st.
Deployments on other chains will follow after this release, likely in a bi-weekly cadence.
Support
The Generation team will be available for support all the way through to the end of Q2. We will assist in people deploying vaults, setting up bots, or any other use of the tech that has been built.
Budget
The budget includes the cost of a $52,000 audit by Code Arena.
Amount | Denomination |
---|---|
$684,050 USD | Stablecoins |