SpartanDev: 16/11/20–22/11/20
Dev Update: Bond+Mint | SpartanSynths | SpartanPools | SpartanSwaps
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.
spartan-protocol/spartanswap-contracts
Spartan Protocol is a liquidity pool protocol that allows token-agnostic provision of liquidity. Traders can swap…github.com
Issue #33 closed:
- V1 Mint+Lock (for testing)
ADD: Mint+Lock · Issue #33 · spartan-protocol/spartanswap-contracts
Spec A user can deposit an amount (let's say $1k) in a whitelisted asset (i.e. BNB) $1k of SPARTA tokens (at the…github.com
Issue #34 closed:
- Mint+Lock changed to Bond+Mint
Issues for Bonding · Issue #34 · spartan-protocol/spartanswap-contracts
Rename it all to "BOND" "bond token 1" user "bonds" etc declare L215 seconds per year as a global variable (don't hide…github.com
Issue #38 closed:
- Created SpartanBondTokenV1 (SPT-BOND-V1)
ADD: BondTokenV1 · Issue #38 · spartan-protocol/spartanswap-contracts
Dismiss GitHub is home to over 50 million developers working together to host and review code, manage projects, and…github.com
Issue #37 closed:
- Reduced vesting basis points to 2500 (25%) for mainnet testing
ADD: 2500 basispoints for first vesting on BOND · Issue #37 ·…
Dismiss GitHub is home to over 50 million developers working together to host and review code, manage projects, and…github.com
Issue #39 closed:
- Created SpartanBondTokenV2 (SPT-BOND-V2)
ADD: BOND V2 · Issue #39 · spartan-protocol/spartanswap-contracts
Dismiss GitHub is home to over 50 million developers working together to host and review code, manage projects, and…github.com
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.
SpartanContracts — SpartanSynths
Progress on the SpartanSynths branch was mainly related to mappings for Bond+Mint & cleaning up / removing WBNB code. Also, some code added relating to collateral & debt management.
spartan-protocol/spartanswap-contracts
You can't perform that action at this time. You signed in with another tab or window. You signed out in another tab or…github.com
spartan-protocol/spartanswap-contracts
Spartan Protocol is a liquidity pool protocol that allows token-agnostic provision of liquidity. Traders can swap…github.com
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.
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.
SWAP & ADD LIQ | Consolidate and compact · Issue #239 · spartan-protocol/spartanpools-dapp
Make 'swap' page similar to 'add liq' page on mobile (no need for overflow for txn details) Make both pages more…github.com
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)
SWAP PAGE | Autoload data even on hard-refresh & minor UI range slider · Issue #242 ·…
If you hard refresh on a particular swap-pair page the data does not load unless you go back to the pools page and then…github.com
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.
RIGHTBAR - LP Shares | Add SPARTA:TOKEN Above · Issue #240 · spartan-protocol/spartanpools-dapp
Dismiss GitHub is home to over 50 million developers working together to host and review code, manage projects, and…github.com
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.
DATA REFRESH | Refresh walletData[BNB] & component after unlocking/allowing token · Issue #225 ·…
The fix is merged but needs community testing please: If you have a token that is not 'approved / unlocked' and want to…github.com
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.
Bond Progress Allocation bar · Issue #266 · spartan-protocol/spartanpools-dapp
Dismiss GitHub is home to over 50 million developers working together to host and review code, manage projects, and…github.com
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.
GLOBAL SITE TITLES | Start working on meta tags and site titles to make more SEO friendly · Issue…
Dismiss GitHub is home to over 50 million developers working together to host and review code, manage projects, and…github.com
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.
HARD REFRESH BUTTON | Create manual refresh button for UI · Issue #268 ·…
Dismiss GitHub is home to over 50 million developers working together to host and review code, manage projects, and…github.com
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!
Precision on token is off · Issue #283 · spartan-protocol/spartanpools-dapp
Dismiss GitHub is home to over 50 million developers working together to host and review code, manage projects, and…github.com
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!
spartan-protocol/spartanswapp-dapp
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build…github.com
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
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.
- Github: https://github.com/spartan-protocol
- Medium: https://medium.com/spartanprotocol
- Twitter: https://twitter.com/spartanprotocol
- Telegram Community: https://t.me/spartanprotocolorg
- Telegram Announcements: https://t.me/spartanprotocolann