SpartanDev: 05/04/21–11/04/21

Summary

Spartan Socials — Twitter

Top Impressions:

Top Engagement:

Top Community Mention:

SpartanSocials — Medium

SpartanSocials — Telegram

GitHub Activity — SpartanContractsV2

  • Add ‘purge’ function triggered if baseCollateral is lower than baseDebt
  • Test SP-s & SP-p naming convention
  • Added getSynthsArray helper for UI
  • Refactor contracts to reduce their size
  • Add a forced harvest() on weight change to prevent any possible weight exploits
  • Change DAO’s withdraw() function back to 100% (unlock from DAO) instead of user-input amount
  • Change Router & Pool custom events back to ‘Transfer’
  • Fix forced-harvest bug (as above, after testing)
  • Added more automated testing around recent DAO changes
  • Changed ‘purge’ to ‘liquidate’ (lend contract)
  • Extended the liquidate function & added time mapping (lend contract)
  • checkLiquidate() & checkInterest()
  • Extend lending automated testing
  • Extended lending testing
  • Fix mintSynth bug
  • Finish fixing the mintSynth bug
  • Change totalCollateral -> collateralBalance
  • Extend automated testing to cover the previous bug’s scenario
  • Test -SST & -SPT naming convention
  • Refactor ROUTER to reduce contract size

GitHub Activity — SpartanDAppV2

  • Add ‘copy’ icon, improve walletSelect
  • Add pools tiles to overview
  • Add assets & balances to walletSelect
  • Update deployed router consts
  • Extended Dao/Lock+Earn functionality (despoit, harvest & withdraw via UI)
  • Changed UI to SP-p & SP-s naming convention
  • Added ‘harvestAmount’ to the dataManager with 7.5s refresh
  • Improve footer
  • Improve header
  • AssetSelect to the next phase
  • Imporved the header & sidebar on mobile
  • Improve walletSelect & include balances
  • Update to newly deployed contracts (ABIs + addresses) * 2
  • Improve walletSelect + include tokenIcons w/ URL validity checking
  • Improve dataManager
  • Use finalLpArray in swap instead of finalArray (for synths & zap)
  • Update to newly deployed contracts (ABIs + addresses) * 2
  • Update dao withdraw() function to not use an ‘amount’ anymore (only 100% withdraw of each asset from DAO)
  • Fix share button
  • More SPT2 -> SP-p references
  • Change the DApp to auto-connect to your last known connected wallet even on browser close etc (uses localStorage)
  • Update token fallback image
  • Get AssetSelect to next phase (tokenIcon, contractAddr copy / add to metamask)
  • Improve AssetSelect
  • Adjust ‘liquidity’ & ‘swap’ to suit new assetSelect implementation
  • Drasticly improved the URL validation method by simply doing 1 validation call when the array is built rather than a validation call for every token every time it is displayed in the dapp
  • Implemented clearSearch function to improve the search functionality within AssetSelect
  • Added tokenIcon and support for other asset types (synths / LP tokens) to AssetSelect
  • Added functionality to add asset to metaMask from within AssetSelect
  • Added synth placeholders to finalArray
  • Added synth variable grabs to add during finalLpArray
  • Fixed getSynthContract()
  • Fixed filter handling in AssetSelect
  • Improved AssetSelect styling
  • Synths mint/burn functional in SimpleSwap
  • Point to new synthFactory
  • Disable synth’s ‘totalCollateral’ grab in finalLpArray (mappings undergoing changes in contracts)
  • Close sidebar when use clicks outside the sidebar (better UX)
  • Added ‘add to metamask’ to WalletSelect for all asset types
  • Improved WalletSelect
  • Added synths support in WalletSelect
  • Improve swap styling
  • Fix DAO harvestAmount and memberWeight text strings
  • Changed all references to asset types to new naming convention; -SPP & -SPS
  • Improve pool layout on mobile
  • Added wallet-status indicator on wallet-icon
  • Fixed collapse issue on pools overview page
  • Wallet indicator (loading status0) changed to trigger when the finalLpArray is loading instead of wallet ‘connecting’ status
  • Improved header for mobile
  • Changed priceBox in header to popOver instead of dropdown

Contributor’s Focus

SpartanContracts

  • Lend V1
  • LendRouter 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

Engage with the community and contributors

GitHub list of bounties available

--

--

--

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

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

SlowMist: A brief analysis of yearn finance being hacked

Practical Guide to Malware Analysis and Reverse Engineering(Analyzing Malicious Document P-1)

Questnet Weekly Update: April 23

{UPDATE} Breakout Ninja Hack Free Resources Generator

How to get away with credit card theft?

Brooklyn Nine Nine Walkthrough TryHackMe

My Comments on Information Security Policy when I was a young student

Cryptocurrency Airdrop: 2021

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

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

More from Medium

BUIDL-Weekly: 23MAY22–29MAY22

All You Need To Know About Pancakeswap and Its Native CAKE Token

What’s The Difference Between Yield Farming And Staking?

Weekly update on development process (May 2, 2022)