SpartanDev:22/03/21–28/03/21

Summary

Continued development of SpartanProtocol DAppV2 and migration strategy for ContractV2 upgrade.

Spartan Socials — Twitter

Top Impressions:

Top Engagement:

Top Community Mention:

SpartanSocials — Medium

SpartanSocials — Telegram

GitHub Activity — SpartanContractsV2

With the first phase of the new contracts ready for mainnet, the current focus has been ensuring the migration process is as smooth as possible. There were some minor ‘nice-to-haves’ changes with the contracts this week, but no major changes required from an important migration and pools perspective. All automated tests are showing green ticks!

  • Changed contracts to allow SPT1 and SPT2 to run together for an intrum
  • Move dao weight handling to DaoVault
  • Dao member / weight testing and bigNumber handling
  • Cull comments to save gas and contract size
  • Final DAO automated testing since recent changes
  • Final Synths automated testing since recent changes
  • Final BondMigration automated testing since recent changes
  • Add BondVault for modular, easier future upgrades and compartmentalized function/asset handling
  • BondVault automated testing
  • Fresh testnet contracts for new testnet deploy (and for updating dappv2 consts)
  • UtilsV2 fix getPoolShareAssym() helper (token -> pool)
  • Cleanup DaoVault: removed duplicates & unused mappings
  • Add ‘getTokens’ related functions back into UtilsV2 to make calls to get the poolsArrays info easier via the UI

GitHub Activity — SpartanDAppV2

  • Point to fresh testnet contracts
  • Add bondVault store and related functions + helpers
  • Bond testing
  • Adjust/fix tests & functions to suit new contracts
  • Pointed to fresh testnet contracts
  • Add daoVault store and functions / helpers
  • Initial commit for poolFactory store & functions/helpers
  • Fix devTool conflict; fix walletConnect double-QR code issue
  • DataManager (array puller/updater/handler) built from count to finalArray (stage 1)
  • DataManager added some checks to refresh array on certain conditions
  • Added ‘curated’ bool to the finalArray
  • Fixed some tests and disabled others that are dependant on an established (and non-migrating ecosystem)
  • Liquidity page from init to txnHandling of ‘add both’
  • Add ext call loop for SpartaPrice (CoinGecko)
  • Pointed to new daoVault
  • DataManager — remove poolArray & poolCount calls; they arent required
  • DataManager init cleanup
  • Fixed tests
  • Created the ‘loader’ component & ‘spinner’ component
  • ‘Add Both’ stage 1 complete
  • Liquidity page swapped to ‘tab’ style for 4 options: ‘Add Both’ + ‘Add Single’ + ‘Remove Both’ + ‘Remove Single’
  • ‘Add Single’ functionality init
  • ‘Allowance/Approval’ component/handler init
  • Cleanup localStorage; especially ‘assetSelected#’ handling
  • Rename/refactor the ‘liquidity’ page to clean it up a bit
  • Finish ‘add single’ functionality
  • On DApp-load the metamask change-network modal will be triggered if on wrong network (to supplement the existing behaviours)
  • Added LP holdings to finalArrayLP
  • Init and finish ‘remove both’ functionality
  • Refactor ‘remove both’
  • DataManager — larger cleanup

Current Contributor’s Focus

SpartanContracts

  • LoanVault V1
  • MasterLoan V1

Spartan DAppV1

  • Finalise migration-UI

Spartan DAppV2

  • Finish building out phase 1 functionality
  • Test start-to-finish migration from testnet V1 to testnet V2 (within UI)

SpartanSite

  • DAO page
  • Lending page
  • FAQ page

Other Focuses

  • Video & text guides

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.

GitHub list of bounties available

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
SpartanProtocol

SpartanProtocol

1.3K Followers

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