Inspiration

I was having a conversation with a friend about GameFi and how it didn't at that time look like many quality games were being made for Web3. We came to understand that there is a different kind of game that exists - the player vs player game that is DeFi itself.

What it does

The game is about keeping four farms (built on top of DEX LPs) at a similar TVL level to earn extra rewards. The emission rate increases or decreases based on the difference between the TVLs of the farms. The TVL is time-weighted over 6 hours with the highest frequency of updates being 30 minutes.

The emissions are structured that the four farms get an equal share of 18% each, but the vault in which you can stake the emitted token gets 23% of the rewards. So the user's have a choice to dump the house token and stake more LP tokens, keep the house token and farm more house token (to what end?).

(not in the hackathon version) Stakers of the house token can vote to choose the next 4 farms - updated weekly.

How we built it

I used foundry-rs for the contracts, deployment, and tests. I used nextjs and ethers.js for the website.

Challenges we ran into

As this is my first DeFi project, I ran into issues with the object-oriented-ness of Solidity and limitations of the bytecode size. I also had difficulty figuring out how to verify contracts, and how to deploy to testnet without using Remix.

Accomplishments that we're proud of

I'm just happy to have finished this in time, though I did do some work in January - it didn't go anywhere.

What we learned

I learned a lot about how to program in Solidity and interact with the chain, and even brushed up my web dev knowledge a bit.

What's next for Symmetrix

Symmetrix will be launched on mainnet and integrated with SpookySwap and perhaps Equalizer.

Built With

Share this project:

Updates