SpartanDev: 18APR22 - 24APR22
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.
Listed as Exchange on CoinMarketCap
A big thankyou to CoinMarketCap for pushing this through and getting the Spartan Protocol pools linked up as a decentralised exchange listing. Now when viewing listed assets (that have their BEP20 equivalent linked via CMC) we will see the SPARTA pairs listed under the 'markets' tab with some of the relevant liquidity details.
This is not yet in a final state, ongoing work is to be done so keep your eyes peeled for any possible finalisations of the integration in the future.
- View CMC Exchange Page
- View CMC SPARTA Markets Page
- Link to Tweet by Crypto Nolan
- Link to Tweet by DKCSNES
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!
Pooled Stablecoins Update
This week we saw another stablecoin update go out, check out the community DApp for the latest APY estimates (currently 9% to 17% pool APY for stables + ~40% additional for DaoVault staking)
DApp Improvements Live
The front-end community contributors have been hard at work over the past months, rebuilding the bones of the community DApp. It was functional enough to merge live this week for Spartans to use with mainly technical/functional improvements but also some UX improvements. With the stylesheets ripped out early in this process, most of the colors/style elements (UI) are basic placeholders so don't stress if you don't like how it looks as much as the previous branch, with the DApp moving into a position for branding/style experts to begin putting out some suggested color schemes etc as that obviously has not been a focus yet.
WhaleStats Charts
- Link to Tweet - SPARTA most traded (2000 biggest whales 18APR)
- Link to Tweet - SPARTA most traded (4000 biggest whales 18APR)
- Link to Tweet - SPARTA most traded (2000 biggest whales 19APR)
- Link to Tweet - SPARTA most traded (2000 biggest whales 22APR)
- Link to Tweet - SPARTA top purchased (500 biggest whales 23APR)
BNBMaster Notable DEX List
BSCDaily Top Gainers
CoinMarketLeague Charts
- Vote for SPARTA
- Link to Tweet #1 - SPARTA in Top DeFi Tokens
- Link to Tweet #2 - Spartan Protocol in Top DEXs
- Link to Tweet #3 - SPARTA in Top BSC Tokens
- Link to Tweet #4 - SPARTA in Top Yield
4thTech Dev Update
LearnToEarn Quiz Winners
Congratulations to our most recent Spartan quiz winners! The question/answer was a reminder that the protocol does not provide fixed APYs, we can only estimate them as we do via the community DApp
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
General:
- Outline-style buttons make text normal color
- Dropdown menus (dark theme) make dark color for text readability
- Added some default theming to Popovers to suit both dark/light modes
- Added some default theming to Tables to suit both dark/light modes
- Added some
body
andhtml
CSSrules to make mobile browser behaviour withvh100
a little better - Added BNBChain & CoinGecko to Icons component
- Removed old Footer component
- Added a
scroll-shadows
css rule (one for dark mode and one for light mode) to add visual cues when an area is scrollable (especially for areas where we have hidden the scrollbar like the sideNav bar)
Modals:
- Replaced default scrollbar with a simple styled one that suits the theme a little better (won't work on all browsers)
- Changed the desktop 50%
height
to 95 view heightmax-height
on all device sizes (mainly solves on desktop: no more short, stumpy modals with scroll, no more super-tall empty-bottom modals) - Simplified header & footer
bg-color
to just be a semi-transparent darken (so that when color palettes change later these don't have to be changed
Settings:
- Added a 'reset to default' function to the settings component
- Added a button to change selected settings to recommended
Swap:
Created a new feature to derive the estimated USD value from CoinGecko as a 1st priority
- Added tooltip mentioning where the pricing data is derived from (internally or coingecko)
- If the DApp fails to call the CG data, it falls back to previous behaviour(internal pricing)
- This is only for the
~$USD
figure that is displayed underneath the input token amount and output token amounts on the swap page - Contracts page removed
useTheme
dynamic styling and let CSS rules handle it instead - Now, when there user is performing a successful arbitrage, for instance:
user swap 10 BUSD for 11 USDC (gain of ~10%)
instead of the dapp showing a negative (loss) number due to deriving internal pricing on one or two unbalanced pools, it will show a positive number (as long as CG data is correct & in balance)
TopNav + Wallet:
- Refactored
AddressConn.js
to remove repeat code and some states/functions that didn't really need to be there - This component now shows the BNBChain icon with a connection indicator and the connected wallet's shortened address. If no wallet is connected it shows 'Connect Wallet'
- Supply component changed slightly with dollar sign and larger sparta icon
- Removed the
ThemeSwitcher
(now in sideNav) - Removed the
LanguageDropdown
(now in sideNav) - Removed the
Contracts
(now in sideNav) - Added hamburger menu icon for desktop size (instead of 'fixed' toggling arrow) and changed the behaviour accordingly to suit (hover over sidenav still expands it, but clicking the hamburger icon toggles it locked extended or compact)
- Added horizontal (non compact) version of the Spartan Protocol logo + text in the topNav rather than sideNav
- TopNav changed to run the full width of the screen and sideNav now starts underneath it
SideNav / Sidebar:
- Created a
Utilities
component to house theSettings, LanguageDropdown & ThemeSwitcher
components - Place the
Utilities
inside the sideNav for mobile and desktop and created a general structure & style - Rebalanced the structure and items in the sideNavs and added overflow handling so that the whole sidebar is never larger than the available height space of the screen
- The behaviour now is that the top and bottom of the sidebar are always visible and the middle section (the nav links) have a hidden overflow with the ability to scroll just that middle section
- Scroll shadows added for this section and the scrollbar hidden (might need better UX visual cues added here but its pretty good as is for the minor few who have screen resolutions that small (would have to have less heigh pixels than an iPhone to come across the nav menu being exposed to overflow scroll)
- Language dropdown component rebalanced and cleaned up a bit for better styling, force the dropdown to appear
top
on mobile andright
on desktop - Moved most of the sidebar open/close fixed/dynamic state handling logic to the parent components it can be passed down to multiple components where required
Liquidity:
- Added a conditional check for 'curated' for the 'frozen' confirmation for pools that are out of their TWAP zone
Synths:
- Removed the internally derived USD value estimates temporarily whilst work on a less nuanced solution
To Do:
GitHub Activity - Spartan Site
Temporary refresh of existing/old site:
- Added a
.gitignore
for the old simple HTML website - Changed 'Gitbook' refs to 'Docs'
- Changed 'DAppV2' refs to 'DApp'
- Changed 'BSC' refs to 'BNBChain' (where it made sense)
- Removed the separate pages of the website (DAO, pools etc)
- Changed the nav menu to jump to sections of the landing page rather than the separate pages of the website
- General resize of major elements
- Updated the language used throughout including the header tags
- Removed most of the existing text and added quick informational replacements for the relevant features available on the protocol. Added jump anchor IDs for the nav to jump to
- Removed some less important social links from the hero (they are all still available in the footer)
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
General:
- Setup placeholder repo to coordinate any future pools v3 smart contract code
GitHub Activity - Spartan Docs
To Do:
GitHub Activity - Spartan <> Bram NFTs
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 Activity - Spartan Resources
Arena Contracts
GitHub Activity - Spartan API
GitHub Activity - Spartan V2 Contracts
Project Information
Official Links
- 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.
Engage with the community and contributors
Where to find out about all the latest updates or suggest improvements β get involved.
- Twitter: https://twitter.com/spartanprotocol
- Telegram Community: https://t.me/spartanprotocolorg
- Telegram Announcements: https://t.me/spartanprotocolann
- Discord Academy: https://discord.gg/wQggvntnGk