# Dewiz's Contribution to Sky Endgame Launch

By [Dewiz](https://paragraph.com/@dewiz.xyz) · 2024-10-18

---

Greetings, fellow DeFi enthusiasts! The Dewiz team is thrilled to unveil our latest contributions to the **Endgame Project**: an innovative token rewards system for ecosystem tokens. We're talking about a staking mechanism that's as robust as it is rewarding, allowing you to earn **SKY**, the new governance token, along with other ecosystem tokens. Ready to dive in? Let's get started!

![He is back from vacation, and no longer a permabear - SOURCES](https://storage.googleapis.com/papyrus_images/79c7f85718cf80cb96f1ec00104757d7d6a6aa4781778573854bc823682a85d8.png)

He is back from vacation, and no longer a permabear - SOURCES

🌟 The Endgame Project and USDS: A New Era in DeFi
--------------------------------------------------

Before we get into the nitty-gritty, let's set the stage. The **Endgame Project** is all about reimagining the Maker Protocol, and at the heart of this transformation is **USDS**, the next-gen stablecoin. USDS isn't just another stablecoin; it's poised to become the backbone of the Sky ecosystem, offering enhanced stability and resilience.

But what's a thriving ecosystem without a little incentive? To boost liquidity and encourage staking of ecosystem tokens, we've developed a token rewards system that's both secure and user-friendly.

![](https://storage.googleapis.com/papyrus_images/b6706c15b7f00736bf89ce377348b528cd03c25e29aaaf10a742f8075cb884c8.png)

🔧 Token Rewards: Under the Hood
--------------------------------

### Contract Architecture Overview

![](https://storage.googleapis.com/papyrus_images/ad6077f667b153919f7878d580886bef6a10a7e05664068f2a53967734d8f8f0.png)

### Key Components

*   **StakingRewards**: Forked from the battle-tested Synthetix StakingRewards contract (_if it ain't broke, don't fix it!_), this contract allows users to stake one token and receive another as a reward based on staking quantity and duration.
    
*   **VestedRewardsDistribution**: This newbie fetches tokens from a `dss-vest` contract and distributes rewards to `StakingRewards`.
    
*   **DssVest**: A familiar face in the Sky community, `DssVest` handles token vesting for reward distributions and has been a reliable tool for years.
    
*   **VestedRewardsDistributionJob**: Think of this as the diligent worker bee, automating keeper calls to distribute rewards across multiple distributions.
    
*   **MerkleDistributor**: Another tried-and-true contract, forked from Uniswap's Merkle Distributor. Ideal for distributions requiring off-chain calculations.
    
*   **RewardsToken** and **StakingToken**: Compatible with any ERC20 token, offering flexibility to use any ecosystem tokens.
    

🛠️ How It All Works
--------------------

Our architecture is like a DeFi Lego set, you can mix and match components to create the perfect rewards distribution system for your needs.

*   **On-Chain Staking Rewards**: Use `StakingRewards` with `VestedRewardsDistribution`, `VestedRewardsDistributionJob`, and `DssVest`. Governance manages `DssVest`, while the remaining contracts are fine-tuned during the Spell process.
    
*   **Off-Chain or One-Off Distributions**: Deploy `MerkleDistributor` for distributions involving off-chain calculations. It's set up by the tech teams and funded via a Spell.
    
*   **Hybrid Distributions**: Want the best of both worlds? Deploy `StakingRewards` with or without automated rewards and calculate actual rewards or boosts off-chain. Users can then claim their rewards through `MerkleDistributor`. This allows for distributions that involve both onchain staking and offchain components, like the [early bird campaign](https://x.com/SkyEcosystem/status/1828799015267307888) that allows a nice 100% boost for your rewards.
    

🔒 Security First!
------------------

In DeFi, security isn't just a feature—it's a necessity. We've chosen contracts that are among the most battle-tested in the space. Our code has been reviewed by engineers from multiple ecosystem teams and audited by the pros at ChainSecurity and Spearbit/Cantina.

🈴 How can you participate?
---------------------------

Ok, so now you want to know how to get the juicy rewards, right? Head to the [SKY app](https://app.sky.money/) and choose from the many campaigns in the menu. Right now you can stake USDS for SKY rewards, stake USDS for Chronicle points (that will later be converted to Chronicle tokens), or go for the SKY savings rate (6.25%).

To keep up-to-date on new rewards campaigns and the growing constellation of SKY apps (and their rewards) join the SKY [Discord](https://discord.gg/skyecosystem) and follow [@SkyEcosystem](https://x.com/SkyEcosystem) on Twitter.

If you are a Soylana Manlet, worry not, you're also getting a piece of the pie! More [here](https://x.com/RuneKek/status/1837082904066760897).

![Please note that rewards are unavailable in the usual select jurisdictions.](https://storage.googleapis.com/papyrus_images/893935e4618fb613d63441c48834dfebeb7c3aa288574695b7bdc4fd8cb07bea.png)

Please note that rewards are unavailable in the usual select jurisdictions.

**Disclaimer:** This blog post is shared as-is for informational purposes. None of it should be considered financial or legal advice.

👥 Who is Dewiz?
----------------

We are buidlers! Dewiz co-founders are former MakerDAO Core Unit contributors, who have been actively contributing with the Maker Protocol since 2021, and have been engaged in the broader Ethereum ecosystem since 2018.

We enable DeFi innovators to build on top of the main DeFi protocols, providing technical expertise on both on-chain and off-chain integrations that can save thousands of hours in engineering resources and put your project on the fast-track of the new financial world.

Our team has expertise in smart contract engineering for EVM chains, front-end engineering, integrations, supporting services and agile project management.

Article written by [Oddaf](https://x.com/0x0ddAF).

* * *

![](https://storage.googleapis.com/papyrus_images/bc2e1ac5e91f83158cce7f33ff792ed9e2dc36a6ee8a98b475cba298518eaf10.png)

_In memorian of David Brandt, that touched all our hearts in DeFi summer and has been a major part of DeFi life ever since. Writing this article we learned he_ [_passed away_](https://www.dailymail.co.uk/news/article-12117499/Ohio-farmer-76-shot-fame-star-aint-honest-work-meme-killed.html) _last year. Rest In Peace David, you'll be forever remembered by our community._

---

*Originally published on [Dewiz](https://paragraph.com/@dewiz.xyz/dewiz-s-contribution-to-sky-endgame-launch)*
