SpartanDEV: 07FEB22 - 13FEB22

Dev Update

SpartanDEV: 07FEB22 - 13FEB22

Read up on the community-curated news & updates from the week. USDT pool Curation, ONTO Wallet partnership promotions, SPARTA on-chain activity and more!

SpartanDEV: 07FEB22 - 13FEB22

Summary

It was a week filled with updates and a lot of excitement around the USDT pool being Curated through the DAO of course. Read on for more info on:

  • USDT Curation (DAO Proposal)
  • ONTO Wallet AMA
  • ONTO Wallet Giveaway
  • USDT Liquidity Caps Raised
  • SPARTA Top Token for Onchain Activity
  • #LearnToEarn Weekly Quiz Update
  • Physical NFT Drum Giveaway Update
  • DApp Updates (New contributor joins us 😍)
  • Website Updates
  • Docs Updates

New DAO Proposal

Our DAO was woken up thru the week with a proposal to Curate the $USDT pool. Curating the pool means it get's some extra features enabled such as:

  • Enables USDTs (synthetic USDT) to be forged & staked in the SynthVault
  • Enables 'Dividends' to be injected into the pool with qualifying swap transactions through the pool
  • Enables USDTp (LP tokens) to be staked in the DaoVault for weight in governance proposals & extra SPARTA yield

Thanks to EvilMessiah for helping spread community awareness during the proposal period.

DAO Proposal Reaches Consensus

There was a gradual build in votes for the proposal then slowed down quite suddenly around the 50% mark after some days. Soon-after, suddenly jumping to 75% as more Spartans became aware of the proposal & put their support behind it. Jumping well over the required majority consensus pushed the proposal to the 3 day 'cool-off' period where it would have to retain at least quorum consensus for the period.

Thanks to our Queen Gorgo for the educational tweet explaining the events here especially around the 3 day cooloff.

ONTO Wallet AMA

Big thanks to the ONTO wallet team for setting up an AMA with our main man Phillip Reidy in their Telegram channel this week. Had some good questions from the community! A massive thanks to Phillip for always delivering the answers they are looking for!

ONTO Wallet Giveaway

That wasn't the only surprise from the ONTO wallet team for the week as they also helped facilitate a special giveaway for some lucky random users of their lovely mobile wallet. Check out their wallet now and help celebrate their recent integration with the Spartan Community DApp.

DAO Proposal Finalised

Following the 3 day colloff, the DAO proposal had still retained more than enough consensus support to be pushed through and actioned by anyone who wanted to call the public function. This happened very quickly as soon as it was able, leading to the $USDT pool becoming Curated through DAO automation.

Existing USDTp holders can now stake them in the DaoVault, and new LPers interested in the USDT pool can also jump on board and add liquidity for exposure to the usual liquidity revenue, plus extras like the SPARTA yield via the DaoVault.

#FridayFor300 Quiz Results

Our previous #LearnToEarn weekly quiz ended with 3 lucky winners nailing this question:

Which DAO function claims SPARTA yield into your wallet?

The answer was harvest()! Calling 'harvest' is what is hapenning behind the scenes when you click the 'harvest ' button in the DaoVault in the community DApp. The harvest function leads to calculating your current percentage of the total DaoVault weight against how many seconds have passed since your last harvest to help calculate the amount of SPARTA you are able to claim in that moment.

#OpenTheGates USDT Pool

The USDT pool becoming Curated quickly led to a jump up in liquidity in the pool. This increase in liquidity meant the caps needed raising a little pre-emptively (pool was already under the microscope and analyzed in advance leading to a quick #OpenTheGates)

Some of this liquidity entering was new/fresh of course, but also interesting to see some liquidity zap over from mainly the BUSD pool. A strategy that some Spartans have probably realised is that it is easier to gain a larger percentage of the pool's revenue in a pool that's currently not very deep and expected to go through a growth stage soon. Makes sense to spread your stablecoin LP exposure over multiple good stablecoin pools that you are expecting to generate good revenue in the coming weeks/months.

SPARTA Token - Top On-Chain Activity

Thanks once again to our Queen Gorgo for another good tweet! This time, explaining why the SPARTA token on-chain activity is higher than the usual tokens out there due to its critical utility as the common settlement asset in all pools. Every time someone swaps two tokens involving the Spartan Protocol pools, SPARTA is used behind the scenes as the 'rail' to facilitate the trade. For instance if BUSD is swapped for USDT, this is what happens behind the scenes:

  • BUSD -> SPARTA -> USDT
  • BUSD sent to BUSDp pool -> SPARTA comes out and goes into the USDTp pool -> USDT comes out and goes to the swapper

New #FridayFor300 Quiz Open

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

Which DAO function can anyone call to finalise a DAO proposal that has passed its cool-off period?

After vetting correct answers and users who didn't pass the Gleam verification checks each week the pool of potential winners that are randomly picked from is quite small relative to the usual Twitter competition out there, so the probability is quite high for Spartans who enter each week and take the time to do all the steps + answer correctly. Worthwhile doing this every week if you are on the fence Spartans!

Physical NFT Drum Giveaway

Our in-house chair-hater @ReidyPhillip (aka Thespis) & community rallying powerhouse has gone ahead and had a unique handmade drum made to give away to a lucky Spartan community member! Follow the Gleam.io link in the tweet to get involved.

Some creativity & fun is recommended here in answering the tasks/questions, this drum is a massive prize and a huge symbol of Spartan pride & devotion. Show your alignment with Spartan Protocol by telling us what you love about it!


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

Big thanks to a new friendly contributor who onboarded recently and had their first commits officially merged into the main branch during the week. A big warm Spartan hello for Jeremiasz:

jejopl - Overview
jejopl has 12 repositories available. Follow their code on GitHub.

Injected New Language IDs throughout the DApp

Big thanks to Jeremiasz for taking the time to go through the DApp and inject a bunch of missing language IDs so that more languages can be updated easier by community members ongoing!

Improved Polish Translation

Jeremiasz then also went through and replaced a whole lot of the 'Google Translate' fallback Polish translations to proper human ones that make a lot more sense (and added in new ones from the newly added IDs)

Changed Default Gas Price

  • Mainnet default gas price is now 5.01 GWEI (Was previously 6 GWEI)
  • Testnet default gas price is now set at 10.01 GWEI (Was previously 6 GWEI)

Added DaoVault APY to Pool Liq Section

The DaoVault APY has now been added to the pool liq management screen similar to how it is displayed on the home/pool list page

Fix Input Types on Liquidity Add Screen

Thanks to Ronni from the community noticing and pointing out we had a mismatching input type in the 'add liquidity symmetrically' view. The text type and regex has been changed to match the input type used for the 2nd input so that the same keyboard style & behaviour is used for both

To Do:

Next major item for the DApp will be to create a new branch with all stylesheets ripped out, starting by rebuilding the responsive structure of the major elements of the DApp using css-grid, then re-organising the file structure to make it a little more friendly, then begin building out a revamped theme/style for the react-bootstrap elements (light & dark modes)


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.

The new website repo got some more love again this week, the mobile (xs) layout appears to be nearing completion of its first live draft stage, very excited for this one personally:

  • Unused components removed / cleaned up
  • Unused assets removed / cleaned up
  • Change file structure (mainly assets)
  • Worked on the feature section (closer to the mockup)
  • Used the breakpoint helper in the hero section to dynamically size the requested background image from the CDN (if device is smaller, request a smaller image to reduce load size/time)
  • Worked on the hero section (closer to the mockup)
  • Navbar changed/tested a glassier/lighter style again
  • Changed order/sorting of the hero sections to use the defined/intended order in the CMS rather than last updated date
  • Added/updated fonts to suit new ones in mockup

To Do:

Build Mobile Layout (xs) · Issue #71 · spartan-protocol/spartan-site
🕸 Spartan Protocol Community Website. Contribute to spartan-protocol/spartan-site development by creating an account on GitHub.
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.
Fine-tune content in CMS · Issue #76 · spartan-protocol/spartan-site
This will be a communal effort to fine-tune any wording and other content within the CMS to have it best suited to the end-result website in each layout

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.

Cleanup in Staking Section

  • Updated / cleaned up the content in the 'Staking' section

To Do:

Need help with all sections ranging from grammar/spelling to copy-content creation, graphics (need to make it more visually appealing now!), to video versions of the text guides (these would be great under each relevant section), text guides and so on.

Some GitHub tasks are setup here:

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 &/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 -&...
Add Coinbase Wallet info · Issue #21 · spartan-protocol/spartan-docs
Add Coinbase Wallet info to 'Choose Wallet' section after integration Links to use: https://www.coinbase.com/wallet https://www.coinbase.com/wallet/getting-started-mobile…

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:

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

No activity in the subgraph repo for the week.


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 activity in this repo for the 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

  • Website: https://spartanprotocol.org/
  • DApp: https://dapp.spartanprotocol.org/
  • Documentation: https://docs.spartanprotocol.org/
  • GitHub: https://github.com/spartan-protocol

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.