SpartanDev: 16/11/20–22/11/20

SpartanProtocol
SpartanProtocol
Published in
8 min readNov 23, 2020

Dev Update: Bond+Mint | SpartanSynths | SpartanPools | SpartanSwaps

SpartanContracts — Bond+Mint

Bond+Mint; previously referred to as Mint+Lock — A community-crafted solution aiming to complete the initial token distribution whilst also bootstrapping TVL into the pools ready for SpartanSwaps, SpartanSynths and other future features.

Bond+Mint touched the water with its toes over the past week. With V1 mainly being testnet-bound & V2 having a brief stint on mainnet with a 5m SPARTA allocation enabled for testing in the wild. The wider community spotted the new “Bond” button in the pools pretty quickly and joined in the testing, wiping out the full allocation that day.

Notes for Bond+Lock V3:

  • Reduce vesting ratio to 0/100—The 25% caused some negative token pressure for certain peers who doubled-down on their Bond amounts. Community and strong-handers have voiced their support for 0% instant access to LP tokens instead (0% instant; 100% over 12 months)
  • Change calculation of SPARTA mint amount from ‘Spot Price’ to ‘Purchasing Power’ — Meaning if someone tries to manipulate the pools or commit a large allocation to a shallow pool, slippage will come into effect. Bonders can no longer bond any arbitrary amount at a spot price for some obvious sustainable benefits.

SpartanPools — DApp User Interface

The Spartan community UI contributors also had a fairly busy week closing off 22 GitHub issues/features on the SpartanPools repo.

Before (right) buttons on small mobile devices had padding problems. After (left) much better!

Issue #239 Closed:

  • Rebuilt the ‘swap’ page UI to make more compact and friendly to smaller screens/devices.
  • Swapped out the ‘buttons’ for V1 range slider. Work is ongoing to continue improving these elements.
V3 (merged to master)
Left (before) too tall for most devices, can’t see all relevant info without scrolling up/down. Middle and right are V1 & V2

Issue #242 Closed:

  • All pages/components had their chain-calls reworked, dramatically reducing load-time within the DApp
  • Reworked the ‘swap’ & ‘add liq’ pages to allow direct load (previously they wouldn't load the required data on hard refresh; had to navigate from the pools table page)

Issue #240 Closed:

  • The wallet/right bar now shows a full balance of LP tokens, including any locked in the DAO. Hovering over the doughnut chart has a tooltip showing the ‘locked’ portion and ‘available’ portion.
  • BSCScan link (to users' wallet) also added for convenience.
(1) V1 — (2) V2 — (3) V3 merged to master

Issue #225 Closed:

  • Every page that has a transaction-producing function now has an automatic ‘refresh’ or ‘update’ function to keep your walletData, sharesData (all arrays) up to date so you can daisy-chain additional functions within the DApp afterwards without requiring a page refresh.

Issue #266 Closed:

  • Added an allocation progress bar, visually showing the end user how much of a ‘bond’ allocation remains. Will add hover/tooltips when priority.

Issue #132 Closed:

  • All meta tags updated and made relevant.
  • Site title tags now showing “Spartan Protocol | *Page Name*”
  • Revisit this in the coming weeks to optimise for SEO.

Issue #268 Closed:

  • Added a hard-refresh button to the header next to the wallet.
  • Also re-styled & balanced the header along with the buttons.
(1) Before — (2) Dark Mode Now — (3) Light Mode Now

Issue #283 Closed:

  • Added precision support for tokens who have decimals set to non-18.
  • This came about when the GIV token joined the list of pools.
  • After adding support, the SPART:GIV pool rocketed to become the 2nd biggest Spartan Protocol pool! Could be the start of a very mutual community merge!
GIV tokens with a non-standard decimal parameter of 8

SpartanSwap — DApp User Interface

Whilst still in fairly early stages, it has been great to see recent community contributions to developing the ‘simple’ swap interface.

This feature will get extra focus after Bond+Mint as we expect it to be one of the more popular features ongoing. The ability to swap between one non-SPARTA asset to another. i.e. BNB<->BUSD

Let’s get the TVL up across a range of tokens first to reduce the slippage!

Community Words!

Swaps

It’s important to remember swaps! It may sound blindingly obvious, but easy to forget, that you can swap your assets near-instantly from the comfort of your wallet using Spartan Protocol rather than entrusting the custody of an exchange.

One of the key things that Spartan Protocol strives to deliver is deep pools, which allow low slip, low fee swaps between assets.

So swap, as an added benefit, the slip/fee will benefit the redemption value of your own LP tokens.

Next Milestone / Sprint

Bond+Mint V3 — with new features opened up with a proper allocation to complete token distribution.

BurnForSparta — The remaining allocations for the BurnForSparta program will CLOSED and moved to the new Bond+Mint program.

DAO — Enabling the DAO. With token distribution winding back up and most of the base-level features now coming to mainnet, it seems like a good time to enable the DAO. Maybe even enable a feature to allow the token holders to vote for tokens to be added to the Bond+Mint program?

SpartanSwap— The ‘UniSwap’ style interface making use of the ROUTER smart contract features; swap from one non-SPARTA asset to another non-SPARTA asset.

SpartaSynths — Synthetic assets, lending etc. This is the big feature that most are waiting for, however we must be patient and establish a strong base with deep pools and wide token distribution before this can work in a big way.

Road Map

Our current flow of events that we are looking to achieve — dates will fluctuate later or sooner depending on features added
SpartanProtocol Flow of events

Community Contribution

SpartanProtocol at is at its core a community driven and lead 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.

If you have an idea share it in the community channels.

Engage with the community and developers

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

--

--

SpartanProtocol
SpartanProtocol

Incentivized liquidity and synthetic asset generation for Binance Smart Chain. https://SpartanProtocol.org