Add Réti open pooling protocol TVL calculation #13226
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This implementation defines a function to retrieve and calculate the total staked amount for the Réti protocol on Algorand. It includes the methodology for reporting TVL and exports the necessary module for integration.
Name (to be shown on DefiLlama):
Reti Pooling
Twitter Link:
https://x.com/txnlab
List of audit links if any:
https://github.com/algorandfoundation/reti/tree/main/contracts/contracts/audit
Website Link:
https://reti.nodely.io/
Logo (High resolution, will be shown with rounded borders):
SVG for black or white versions are here: https://github.com/algorandfoundation/reti/tree/main/ui/public/img
If PNG is desired, this is good: https://github.com/algorandfoundation/reti/blob/main/ui/public/apple-touch-icon.png
Current TVL:
~$680K and growing (just launched)
Treasury Addresses (if the protocol has treasury)
No treasury or protocol fees - open protocol where each validator sets their own fees.
Chain:
Algorand
Short Description (to be shown on DefiLlama):
The Réti Pooling protocol is a completely decentralized, non-custodial staking solution that allows users to participate in Algorand's consensus by pooling their stake.
It allows anyone to create or join staking pools, enabling smaller stakeholders to trustlessly stake with Validators and earn rewards. Validators have the flexibility to configure pools to fit various needs while adhering to core immutable parameters.
Validators can configure things like asset gating, NFD segment gating, payout frequency, customizable token rewards, and more.
Réti is designed as an alternative to liquid staking protocols that often concentrate stake among a few nodes. By promoting permissionless participation and a diverse set of independent validators, Réti helps decentralize Algorand’s network, enhancing security and resilience.
Category:
Staking Pool
Documentation/Proof:
https://txnlab.gitbook.io/reti-open-pooling
methodology (what is being counted as tvl, how is tvl being calculated):
Algo has to be sent by a user into a staking pool contract (possibly multiple per validator). The contract earns incentives through consensus and users can unstake their algo + rewards at will. TVL is simply tracked as all algo staked in the entire protocol - totaled across all validators.
Github org/user (Optional, if your code is open source, we can track activity):
https://github.com/algorandfoundation/reti/