SpartanDev: 14/06/21 – 20/06/21
Contributions from the third week of June. $70k USD raised towards CodeArena contest target
CodeArena Donation Target | CEX Token Upgrades
Summary
Now that the SpartanProtocol v2 contracts are complete, a crowdfunding drive has begun to help fund extensive auditing via a CodeArena contest. Support has been overwhelming, with approximately $70,000 USD being raised in the first few days - leaving only $26k to go!!!
If you are able to donate, big or small, every contribution helps this community project achieve it’s full goal of $96k as soon as possible to ensure that Spartan Protocol is in a prime position to release the V2 contracts and dApp into the market.
Donate Here: — https://dapp.spartanprotocol.org/codearena
Binance Token Upgrade?
Perhaps the most requested piece of information in the community channel for weeks now has been when will Binance support an upgrade between SPARTA v1 & v2 tokens, or more accurately, ‘wen upgrade?’
Binance has formally released the below announcement to confirm that they will support the upgrade; please read in full to make sure you understand the timings and process involved.
MXC (Rebranding to MEXC) Token Upgrade?
Not to worry; MXC also announced their support for the token upgrade shortly after the Binance announcement; details below:
BKEX Token Upgrade?
BKEX have also expressed support for the token upgrade, but are yet to make a formal announcement of the details around their token swap. Discussions will continue until we are able to communicate the next steps being taken by BKEX as well.
Don’t Have Your v1 Tokens on a CEX?
No problems; upgrade today
You can use the Spartan Protocol Upgrade DApp to upgrade your SPARTA tokens yourself.
Upgrade DApp — https://dapp.spartanprotocol.org/upgrade
Bit-Rush Crypto has created a video guide on using the SpartanProtocol Upgrade DApp — timestamp 3:20. Nice work SPARTANS!!
SpartanProtocol.org
Community contributors have been putting in the time to update and refine the main webpage for Spartan Protocol. Feedback, suggestions and contributions are welcome, reach out in the telegram channels if you want to help out.
docs.SpartanProtocol.org
Some new & old community members have put their hands up recently to help get the Spartan Protocol GitBook to reflect current progress and iterations of the protocol — head over and check it out to learn more.
This will be an ongoing focus for the wider community to contribute towards. Phase one of the documentation is almost padded out ready for a translation phase to begin.
Spartan Socials — Twitter
Top Impressions:
Top Engagement:
Top Community Mention:
SpartanSocials — Medium
SpartanSocials — Telegram
Contributor’s Focus
Phase 1 — SPARTA V2 (Token) — Completed!
Phase 2 — Spartan Protocol V2 (Protocol) — In Progress
SPARTA V2 (Token)
- FINAL STAGES; SEE MORE INFO NEAR TOP OF ARTICLE — Work with the centralised exchanges (CEX) listing SPARTA to ensure that SPARTA holders all have their tokens upgraded as simply as possible. It is expected that CEX holders will not need to perform any specific actions to have their tokens exchanged for V2 tokens (Binance, BKEX, MXC etc)
- ONGOING — Work with DEXs & aggregators to ensure the new SPARTA token address is added to their lists as the primary address for SPARTA (retiring the previous contract address) (1inch, PancakeSwap etc)
- COMPLETED & ONGOING — Work with token-tracking informational websites to ensure new token info is added and verified (BSCscan, CoinGecko, CoinMarketCap etc)
SpartanContracts
- COMPLETED & ONGOING — Continued updating and stringent testing of V2 contracts to suit the changes made against the base token contract, and ensure the V2 contract suite is in a complete and stable position ready for a CodeArena community review and bounty period
- CONTRACTS READY; CAMPAIGN BEING ORGANISED — Put the contracts through a code review process on CodeArena
- COMPLETED & ONGOING — Continue the code review process within the community
DAppV2
- COMPLETED & ONGOING — Update the V2 DApp to suit any required contract changes/upgrades
- COMPLETED — Create DAO hub for proposal management (This was extended to a complete DAO instead of simple-DAO)
- COMPLETED — Test bond process from start to finish via UI (propose bond allocation, vote it in, finalise it, and then proceed to bond assets and test the weight from that in the DAOVault, and other proposals)
- IN PROGRESS — Rip out all the old libraries and rebuild using one component library; refactor and cleanup stylesheets as we go to reduce the overall project size ready for larger-scale community contribution on mainnet
Phase 3 — Deploy & Iterate (Dependent on CodeArena Completion)
- Deploy Protocol V2 to Binance Smart Chain mainnet
- Enable Bond allocations to replenish TVL into the V2 pools
- Deploy Lending to testnet
- March onwards with our original goals of building the decentralised, yield-generating, solo staking, leveraged synthetics and derivatives + lending protocol on Binance Smart Chain
GitHub Activity — SpartanContractsV2
As we saw last week; with the contracts ready for CodeArena; the contract changes have slowed down to mainly ‘nice-to-haves’ for the DApp side of things like changing functions/variables/comments/events to be more readable.
This week; only some minimal changes committed on the RebuildSparta branch as follows:
contracts/Dao.sol
- Change daoClaim back to 1000 basis points ready for mainnet
- Added limitation to harvest() to only allow a maximum of 10% of the total RESERVE balance harvestable in any one harvest() transaction regardless of the user's weight and time since their last harvest
contracts/DaoVault.sol
- mapMember_depositTime — changed to public for the DApp
contracts/Synth.sol
- All refs to ‘dept’ changed to ‘debt
- Refactored out amount checks inside realise() to prevent negative-number safe math issues
automatedTests
- Updated accordingly
Despite the small changes committed to the current RebuildSparta branch, some other ideas are being actively worked on in regards to lending and another possible way of providing a SPARTA-only staking option for users. The work is still mainly local (not committed) until it's more finalised and rendered viable; so no promises there; but the community contributors are working hard to think outside the box to ensure there is some extra utility for the SPARTA token holders who do not want to provide liquidity to the pools.
GitHub Activity — SpartanDAppV2
DAppV2 continues to improve daily with the focus this week on:
- CodeArena Donation page (will act as an open donation page afterward)
- Implementing the new SynthVault changes
- Adding/Improving language translations
- And on a non-merged branch; a lot of work this week has gone into rebuilding the dapp with one single component library and ripping out all the bloat. We expect to see this work merged this week which may see some styling broken temporarily in the dapp however won’t take long to get back up to scratch. This will reduce the overall size of the dapp and put it in a position to be a lot more friendly for new contributors to jump in and contribute to.
src/components/AssetSelect/AssetSelect.js
- Tried out MDB component library (have since settled on ‘react-bootstrap’)
src/components/Common/LanguageDropdown.js
- Added Vietnamese to the dropdown language selector
src/components/WalletSelect/WalletSelect.js
- connectWallet() — added checks to prevent trying to reconnect after an error connecting (prevent a weird loop in modal)
- checkWallets() — the above change allowed us to make this loop more frequently so connecting a wallet has better behaviour and responsiveness now
src/i18n.js
- Added Vietnamese to the index/types
src/locales/el/translation.json
- Greek translations updated (Thanks DoctorF!)
src/locales/vi/translation.json
- Vietnamese translation added/created (Thanks Nam Nguyen!)
src/store/sparta/actions.js
- Added calls to get balances of the community wallet && users holding of relevant donatable assets
src/utils/web3.js
- Updated new synthFactory testnet-deployed address
src/views/pages/CodeArena/Overview.js
- Created CodeArena donation page whilst using a range of MDB components to try it out (have since settled on react-bootstrap)
- Check it out here:
src/views/pages/Pools/LiqAdd.js
- Tried out MDB component library (have since settled on ‘react-bootstrap’)
src/views/pages/Pools/Overview.js
- Tried out MDB component library (have since settled on ‘react-bootstrap’)
src/views/pages/Vault/Components/SynthDepositModal.js
- Fixed the SynthDepositModal to use the correct user-inputted percentage instead of 100% for the deposit
Project Information
Official Links
- Website: https://spartanprotocol.org/
- DApp: https://dapp.spartanprotocol.org/
- GitBook (Docs): 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.
- Medium: https://medium.com/spartanprotocol
- Twitter: https://twitter.com/spartanprotocol
- Telegram Community: https://t.me/spartanprotocolorg
- Telegram Announcements: https://t.me/spartanprotocolann
- Community-Built Discord: https://discord.com/invite/wQggvntnGk
Community Bounty Wallet
Whilst there is no treasury nor contributor allocations, there was a public community bounty wallet set up a while ago to help handle donations from the community and other incentive programs (BNB from the Binance BUIDl program was sent here) which can be viewed here: