SpartanDev: 14MAR22 - 20MAR22

Dev Update

SpartanDev: 14MAR22 - 20MAR22

Welcome to another Spartan Protocol weekly wrap-up, read on for more on #OpenTheGates, #LearnToEarn, DApp updates & more.

SpartanDev: 14MAR22 - 20MAR22

Welcome to another weekly wrap-up, Spartans! Thanks to all the community contributors and friends who helped Buidl, promote and support during the week! Read on for the update...

OpenTheGates USDC

The USDC pool has seen continued growth over recent months, hitting its caps each week and becoming the 4th deepest Spartan protocol pool. This week was no exception with the caps getting hit yet again and being raised from 1.5M to 2.5M.

USDC Pool Curated

As expected by many, the recent DAO proposal to Curate the USDC pool achieved heavy majority consensus and was finalised on-chain. We took the time this week to reflect and appreciate the pool in all its glory. If you are looking to provide liquidity with reduced impermanent loss exposure, the USDC pool might be a good option with the ~10% LP + ~58% DaoVault staking estimated APYs.

Universe Finance Tutorial Video

Our new friends over at Universe Finance put together a great video tutorial to help liquidity providers navigate the community DApp and provide $UNT : $SPARTA liquidity to the pool. Check the link to watch the video!

Third Times a Charm

Another win this week on CoinMarketLeague getting voted the #1 DEX yet again, well done Spartans! Don't forget to vote each week!

Learn-to-Earn Quiz Winners

A big congratulations to our winners of the week's quiz:

If you provide liquidity + stake the LPs in the DaoVault, which estimatedAPY figure applies?

The correct answer was:

Providing liquidity exposes you to your proportionate share of pool revenue as represented by the 11.86% estimated figure in the example. You can then stake the LP tokens to expose yourself to the additional DaoVault yield on top, as represented by the 52.79% estimated figure in the example.

New Learn-to-Earn Quiz

There is a new #LearnToEarn quiz up and live for Spartans keen to learn and win some SPARTA in the process!

Don't forget to ask in the social channels if you are not sure! The community is there to help and these quizzes are all about learning!

OpenTheGates RAZE

Scraping in just before the end of the week, we saw the RAZE pool reach its liquidity caps again! It continues to build deeper and cement its place as the top holder of RAZE tokens on BSC / BNBChain.

The pool's caps were raised from 400K to 650K after some analysis to allow more liquidity to enter and continue growing the pool!


SpartAnalytics

Our community collates the public Spartan Protocol data into a PDF report each month covering Google Search (impressions, clicks, devices, keywords & geographical) & Twitter analytics. You can find the full February report here.


GitHub Activity - Spartan DApp

GitHub - spartan-protocol/SpartanProtocol-DAppV2: 📱 Spartan Protocol Community DApp
📱 Spartan Protocol Community DApp. Contribute to spartan-protocol/SpartanProtocol-DAppV2 development by creating an account on GitHub.

General

  • Updated all dependencies

Tree Shaking

  • Updated chart.js and did a manual tree-shake throughout
  • Manual tree shaking for every react-bootstrap component throughout the whole DApp

New Providers

  • Built a breakpoint/media query provider/context to help with handling different screen sizes in the DApp revamp
  • Built a theme provider to help handle dark/light mode better in the DApp revamp

Ripped out

  • Ripped out all stylesheets to start fresh with vanilla library styling
  • isLightMode removed everywhere it previous was used to change button variants, this will be handled via CSS from now on to reduce conditional checks and repeat code
  • isLightMode removed everywhere it previous was used to change <Icon> colors between dark/light mode removed throughout whole DApp. They are now located inside the Icon component to reduce repeat code

Structural

  • Top navbar replaced and restructured to suit the new CSS-grid structure
  • Side navbar replaced and restructured to suit the new CSS-grid structure
  • Footer has been removed from the revamp branch, social links now housed at the bottom of the side nav-bar
  • Body/content area is now framed by the top and side nav-bars instead of them overlaying the content (using CSS-grid)

Theme Switcher

  • Theme switcher replaced with a new one using 100% CSS (no SVGs or images)

To Do:

Revamp 04 | Style phase · Issue #731 · spartan-protocol/SpartanProtocol-DAppV2
Create new bootstrap override stylesheets one component at a time and get them looking sweet in both light mode and dark mode (or just go with a single neutral theme, TBD) This issue will likely be...

GitHub Activity - Spartan Site

GitHub - spartan-protocol/spartan-site: 🕸 Spartan Protocol Community Website
🕸 Spartan Protocol Community Website. Contribute to spartan-protocol/spartan-site development by creating an account on GitHub.

To Do:

Build Tablet Layout (sm) · Issue #72 · spartan-protocol/spartan-site
🕸 Spartan Protocol Community Website. Contribute to spartan-protocol/spartan-site development by creating an account on GitHub.
Build Laptop Layout (md) · Issue #73 · spartan-protocol/spartan-site
🕸 Spartan Protocol Community Website. Contribute to spartan-protocol/spartan-site development by creating an account on GitHub.
Build Desktop Layout (lg) · Issue #74 · spartan-protocol/spartan-site
🕸 Spartan Protocol Community Website. Contribute to spartan-protocol/spartan-site development by creating an account on GitHub.
Build High-res Layout (xl) · Issue #75 · spartan-protocol/spartan-site
🕸 Spartan Protocol Community Website. Contribute to spartan-protocol/spartan-site development by creating an account on GitHub.

GitHub Activity - Spartan Docs

GitHub - spartan-protocol/spartan-docs: 📑 Spartan Protocol Community Documentation
📑 Spartan Protocol Community Documentation. Contribute to spartan-protocol/spartan-docs development by creating an account on GitHub.
  • Skimmed through entire docs and updated spelling/grammar

To Do:

Donate section · Issue #18 · spartan-protocol/spartan-docs
Get ready for live (first phase live): Why donate? (explain its a community project) What does it go towards (show examples of previous campaigns like codearena) How to donate guide
Upgrade Section · Issue #17 · spartan-protocol/spartan-docs
Get ready for live (first phase live): Whats with V1 & V2 How to upgrade guide (no need for the ‘claim’ stuff anymore, can be removed from docs & dapp)
Add a serverless ‘comments’ feature · Issue #10 · spartan-protocol/spartan-docs
Contributors who are maybe scared of Github or want to very quickly report a spelling mistake or something similar could benefit from a commenting system below each page. We can use GitHub Issues a...
Contribute Section · Issue #7 · spartan-protocol/spartan-docs
Get ready for live (first phase live): Telegram / socials (explain how to connect &amp;/or help in the community channels) Resources (how to contribute art, graphics, memes, etc) Make a quick guide...
Developers Section · Issue #6 · spartan-protocol/spartan-docs
Get ready for live (first phase live): List the API information &amp; links to the docs (or maybe use this as the official location for the API docs?) Swap aggregator integration guide (get BASE -&...

GitHub Activity - Spartan <> Bram NFTs

GitHub - spartan-protocol/spartan-nfts-bram-01: 🎭 Spartan Protocol NFTS 01: the Bram Vanhaeren Collection (https://twitter.com/BramVanhaeren)
🎭 Spartan Protocol NFTS 01: the Bram Vanhaeren Collection (https://twitter.com/BramVanhaeren) - GitHub - spartan-protocol/spartan-nfts-bram-01: 🎭 Spartan Protocol NFTS 01: the Bram Vanhaeren Collec...

Completed, all that remains is distribution! Please be patient and allow the contributors time to work out how these NFTs will be distributed. In the meantime please check out Bram on Twitter and show your support!

To Do:

  • Distribute the NFTs

GitHub Activity - Spartan UI Library

GitHub - spartan-protocol/spartan-ui-library: ⚙ Spartan Protocol Community UI Components
⚙ Spartan Protocol Community UI Components. Contribute to spartan-protocol/spartan-ui-library development by creating an account on GitHub.

This component library has taken a bit of a back seat for now with a focus on cleaning up the existing DApp repo instead of rushing this one. Contributors can come back to this & work towards the initial plan of making it a whole component UI library (for all community DApps, not just the current one) instead of the in-between phase that it was becoming (the partial work will shift from here to a branch on the DApp repo soon for the DApp-refresh phase to continue)

Hence the below to-do list is now pointing towards what was previously meant to be the 'next stage':

To Do:

Create UI Library #00 · Issue #4 · spartan-protocol/spartan-ui-library
Phase 01 - Build Basic Library: #1 #3 #2

GitHub Activity - Spartan Subgraph

GitHub - spartan-protocol/spartan-subgraph: 🏃‍♀️ Spartan Protocol Subgraph
🏃‍♀️ Spartan Protocol Subgraph. Contribute to spartan-protocol/spartan-subgraph development by creating an account on GitHub.

To Do:

Add Mint/Burn to Revenue · Issue #13 · spartan-protocol/spartan-subgraph
Currently none of the fees from Synths (mint/burn fee nor slippage) are included in the revenue and therefore the APY. I think a nice balance would be to keep the slippage excluded, however we shou...
Add Synth Mint/Burn to Swap Volume · Issue #12 · spartan-protocol/spartan-subgraph
Currently, the swap volume NET sum doesn’t include Synth activity. I think it makes sense to include it, especially considering it literally is swapping through the pools and generating revenue

GitHub Activity - Spartan Resources

GitHub - spartan-protocol/resources: 🎨 Spartan Protocol Branding & Resources
🎨 Spartan Protocol Branding & Resources. Contribute to spartan-protocol/resources development by creating an account on GitHub.

No public Github activity in the resources repo this week.


GitHub Activity - Spartan Arena Contracts

GitHub - spartan-protocol/spartan-arena-contracts: ⚔ Spartan Arena Contracts
⚔ Spartan Arena Contracts. Contribute to spartan-protocol/spartan-arena-contracts development by creating an account on GitHub.

No public Github activity on the NFT/Gaming contracts this week.


GitHub Activity - Spartan API

GitHub - spartan-protocol/spartan-api: 👩‍💻 Spartan Protocol Simple Headless API
👩‍💻 Spartan Protocol Simple Headless API. Contribute to spartan-protocol/spartan-api development by creating an account on GitHub.

No public Github activity on the API this week.


GitHub Activity - Spartan Contracts

GitHub - spartan-protocol/spartanswap-contracts: 📃 Spartan Protocol Smart Contracts
📃 Spartan Protocol Smart Contracts. Contribute to spartan-protocol/spartanswap-contracts development by creating an account on GitHub.

No public Github activity on the DeFi contracts this week.


Project Information

Community Contribution

Spartan Protocol is at its core, a community-driven and led project. In this vein, the more contributors the better. There is a great opportunity for community members to contribute by making LP reward analysis tools, etc.

Recently, community members have been graciously funnelling in to contribute to explainer articles, ideas and even $SPARTA donations to support the growth of the platform.‌

Engage with the community and contributors

Where to find out about all the latest updates or suggest improvements — get involved.