SpartanDev: 11APR22 - 17APR22

Dev Update

SpartanDev: 11APR22 - 17APR22

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.

SpartanDev: 11APR22 - 17APR22

New Partnership 4thTech

Big thanks to our new partners at 4thTech for building a communication layer for our community!

Spartans will soon have the option to chat and email in a decentralised-leaning manner via our own web3 portal.

Read more about what it enables here: https://wiki.4thtech.io/intro/integration.html#white-label

CoinMarketLeague Charts

Another week, another 3 top-10s on CoinMarketLeague. Dont forget to vote each week Spartans

LearnToEarn Quiz Winners

Congratulations to our most recent Spartan quiz winners! The question/answer was a reminder that providing liquidity is not necessarily a short term activity, and that you should ideally beleive in both pooled assets for the long term when prioviding liquidity.

New LearnToEarn 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!


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 March 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.
  • Added :active styling for the currently active route
  • Fixed double-up of selected route handling, correct route will now be shown/styled even if the route is changed from a link outside the nav menu
  • Moved the 'fixed/expanded' trigger arrow more to the right to reduce chance of accidentally hovering the menu when trying to click the arrow and expand the menu

Settings Component:

  • Created a simple settings component to house some user-controlled variables in the DApp
  • Added slip tolerance adjustment
  • Added gas fee adjustment
  • Checks localStorage on load, if non-existent, some fallback default settings are used based on the selected network
  • If exists, uses the user's previously selected settings

Tooltips:

  • Added a pool-APY specific tooltip
  • Added a vault-APY specific tooltip
  • Added gas rate tooltip for settings component
  • Added slip tolerance tooltip for settings component
  • Updated text content in lots of other tooltips

Contracts:

  • Added missing unique key for the map()

Liquidity Metrics:

  • Fixed formatting issue when >= 1,000%
  • If Curated pool, show a combined Vault + Pool APY instead of the two separated figures, with a tooltip next to it to show the broken down yield streams

Pool Item:

  • Fixed formatting issue when >= 1,000%
  • Replaced some strings with translation injections
  • Added tooltip next to APY to show the broken down yield streams by Vault APY & Pool APY
  • Added in the other new informational tooltips
  • Fixed the broken 'New Pools' filter option

Positions:

  • Removed race condition bug, updated isLoading for Pools & Synths

Synths:

  • Removed most of the irrelevant info from the SwapPair component

Swap:

  • Added logic to get the user's selected slip tolerance and enforce it when performing a swap

SynthVault:

  • Added condition for synth1.staked > 0 to be true before showing confirm harvest

Utils:

  • Added getSettings getter/helper for easy handling of the user's selected settings from the new component
  • Changed getProviderGasPrice() to call the gas price from user's settings instead of from the provider and/or hard-coded

To Do:

Revamp 04 | TopBar + SideBar Changes Β· Issue #752 Β· spartan-protocol/SpartanProtocol-DAppV2
Wait for local commits to be added to current branch, then: Move ThemeSwitcher + LanguageSelector to sidebar (just above social links) Move 'Contracts' below 'Friends' in the sideBa...
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.

General:

  • Current alt layout adapted to fit all screen sizes for review
  • Work has begun on an alternative 'modern web3' style mockup to build and A/B compare afterwards for next stage

To Do:

  • Create alternative style mockup then review and build for A/B compare

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.

To Do:

Developers Section Β· Issue #6 Β· spartan-protocol/spartan-docs
Get ready for live (first phase live): List the API information & links to the docs (or maybe use this as the official location for the API docs?) Swap aggregator integration guide (get BASE -&...
Contribute Section Β· Issue #7 Β· spartan-protocol/spartan-docs
Get ready for live (first phase live): Telegram / socials (explain how to connect &/or help in the community channels) Resources (how to contribute art, graphics, memes, etc) Make a quick guide...

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.

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.

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.

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.

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.

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.

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.