SpartanDev: 25APR22 - 01MAY22

Dev Update

SpartanDev: 25APR22 - 01MAY22

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: 25APR22 - 01MAY22

Wind Down SynthVault - SPIP-105

If you missed out on the SPIP-105 discussions, get up to date via this article. TLDR: SynthVault harvest will reduce, so make sure you harvest before each drop!

The first 1% drop will occur in the coming day or two, so please make sure you have performed a SynthVault harvest asap if you want to receive the 5% rate.

BSCDaily Top Gainers List

WhaleStats TopLists

  • Tweet link - top traded tokens (Top 2000 wallets) 27th April
  • Tweet link - top traded tokens (Top 500 wallets) 30th April
  • Tweet link - top used smart contracts (Top 1000 wallets) 25th April
  • Tweet link - top traded tokens (Top 500 wallets) 25th April

CoinMarketLeague Charts

TokenHunter Top Projects

UNT Token Migration

To all Spartans who have liquidity in the UNT pool (this only affects those in the UNT pool) please be advised that Universe Finance is performing a token upgrade with their rebrand. Please make sure you remove liquidity from that pool and read the articles for further info.

LearnToEarn Quiz Winners

Congrats to the winners of our weekly LearnToEarn community quiz. The quiz was a reminder that swapping assets via our pools requires no coordination or permission from a seller. Only the buyer has to be present and confirm the transaction to perform an instant swap.

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.

General:

  • Fixed most icon colors (black icons on buttons regardless of selected theme) throughout DApp
  • Pulled out the network, setnetwork useState hook loops from all pages and are replaced with a simple check on initial load (we reload DApp on network change anyway and this appears to still work on all devices)
  • Went thru DApp and replaced any prettier-breaking instances of the dollar sign in combination with inline code. For instance: ${formatFromWei(total,0)} -> $${formatFromWei(total, 0)} wrapped in an extra set of curly bracers + ``s
  • Created Spacer component to easily add an exact-sized spacing element
  • Remove the 'dollar' icon throughout most of the DApp
  • Added a conditional check for network.chainId before showing the 'wrong network' page to solve the edge case of it flashing up on screen briefly on some devices/browsers
  • Added front-end enforced conditional check for UNT pool and disabled 'add liquidity' only (remove this conditional check or think of another way of handling once all liquidity is removed)

Friends Page:

  • Replaced every 'friend' SVG with one that dynamically changes to suit the selected theme
  • Added all 'friends' SVGs to the Icons component
  • Refactored each 'friends' item into a typed list and map() in instead
  • Replaced descriptions for each item
  • Added a 'providing' element to each item
  • Added extra button to some items where it makes sense
  • Added CoinMarketCap item
  • Added 4thTech item

New Pool Component:

  • Added a minBase const to make updating the DApp easier if the minimum SPARTA amount changes to create a new pool

Top NavBar:

  • Replaced logo + text with new branding
  • Added SpartaText to Icons component

Pools Page:

  • Changed some font weights for easier horizontal reading (when expanded)
  • Removed some dead/old classnames

Wallet Modal:

  • Fixed 'recent txns' themeing
  • Fixed token badge alignments
  • Re-wrote most of the wallet connection logic resulting in a decent refactor + more reliable connections with WalletConnect and other more complex wallet combinations
  • Added the chainId to the WalletConnectConnector constructor to suit the newer version (WalletConnect should always try to connect to the correct network's wallet now) Also removed the pollingInt

Positions:

  • Fixed the incorrect value showing for the overall LP position tally (only one of the lines and only with the recent commit of new DApp, the rest was 100% correct)

To Do:

Pools | Create a table view Β· Issue #772 Β· spartan-protocol/SpartanProtocol-DAppV2
On the pools page, we have a disabled 'view' button which is intended to be to switch to a 'table' view instead of a 'card' view We will need to hash out what details are im...
TopNav & SideNav changes | Logo + menu trigger Β· Issue #762 Β· spartan-protocol/SpartanProtocol-DAppV2
Now that we have moved elements from the topNav and have room on all screen sizes (potentially) for the full horizontal logo, lets make the next few changes. This will also solve the sometimes-bad-...
Theme Color Suggestions | Primary / Secondary / Success ... etc Β· Issue #761 Β· spartan-protocol/SpartanProtocol-DAppV2
Please direct all suggestions to do with theme colors here and please take time and try not to be broad with suggestions. Ideally provide examples and HEX color codes etc Keep the discussion here o...

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:

  • Create an alternative style mockup then review and build for A/B compare to the other new website

GitHub Activity - Spartan V3 Contracts

GitHub - spartan-protocol/spartan-contracts: πŸ“ƒ Spartan Protocol Smart Contracts V3 Suite
πŸ“ƒ Spartan Protocol Smart Contracts V3 Suite. Contribute to spartan-protocol/spartan-contracts development by creating an account on GitHub.

To Do:

Draft up pools design Β· Issue #1 Β· spartan-protocol/spartan-contracts
Create simple AMM main contracts (just file names) Create function names with simple comments based on each required function

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:

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...
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 -&...

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 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.

GitHub Activity - 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 V2 Contracts

GitHub - spartan-protocol/spartanswap-contracts: πŸ“ƒ Spartan Protocol Smart Contracts V1 - V2
πŸ“ƒ Spartan Protocol Smart Contracts V1 - V2. 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-built and run project. In this vein, the more contributors the better. There is a great opportunity for community members to contribute, please reach out in the community channels if you are interested.

Engage with the community and contributors

Where to find out about all the latest updates or suggest improvements β€” get involved.