SpartanProtocol
Published in

SpartanProtocol

BUIDL-Weekly: 24OCT22–30OCT22

Welcome to another weekly wrap-up, Spartans! Thanks to all the community contributors and friends who helped Buidl, promote and support during the week! Read on for the update

ETH Pool Liquidity Caps Raised

SPARTA Listed on Hyve Platform

Smart Wallet Series AMA

BNB Pool Caps Raised

Community Mentions

CoinMarketLeague

Weekly Community Call / Hangout

‌SpartAnalytics Report

‌Community DApp‌

General:

  • created an `anchorLink()` helper function that performs in a similar way to using a normal `href=#elementID` jump/anchor link but with a parent arg as well to ensure we can prevent the css-grid being broken (anchor links dont work well with vertical grids that have sticky sections)
  • changed helper.js to helper.ts to allow for setting strict types in the functions
  • Added typescript devDep
  • added a fallback to document.execCommand(‘copy’) if navigator.clipboard is not found or permissioned

Fiat Onboard:

  • Change Binance Connect icon to suit dark/light mode
  • added an ID to the parent element and utilized the new helper function to jump to the achor elements without breaking css-grid on mobile devices
  • cleaned up the CSS rules to fix the scroll-snap alignment issues that came about only when you scroll past the 2nd section and then back up

To do:

Protocol Site‌

General:

  • added icons to each view/section

To do:

Protocol API‌

To do:

Protocol Subgraph‌

fix tvl / lp unit metrics:

  • added a `backfillPoolMetrics()` function to ensure the backfill entities are created *before* updating the current pool values (so that stale metric entities/backfills are using the last available historic value instead of the brand new/current one)
  • added `backfillPoolMetrics()` inside any value-changing function *before* changing any pool values
  • this created a `cant / 0` style issue upon pool creation (initial liq add) so added a conditional check for this inside `LiqAdd`
  • this also created a problem with inflated `txCount` in pool and global metrics so added a boolean to bypass txCount increments when `backfillPoolMetrics()` is used

Protocol Contracts V3‌

To do:

Protocol Resources‌

Protocol Docs‌

To do:

Protocol Contracts V1 — V2‌

To Do:

‌Ecosystem Project: SpartanSwap‌

SpartanSwap Contracts

add vault / yield agg ideas:

  • added notes on Permissionless LP/token vault design
  • added notes on Yield Aggregator

To Do:

SpartanSwap DApp

SpartanSwap Resources

‌Ecosystem Project: SpartanArena‌

SpartanArena Contracts

General:

  • added BullArena local temp/unfinished work
  • added LongArena local temp work
  • added notes to recoverToken()

SpartanArena DApp

SpartanArena Resources

‌Ecosystem Project: SpartanToolkit

BepTools Fork

Web3BNB Library

BNB Beacon Chain Toolkit DApp

BNB Smart Chain Toolkit DApp

Protocol Information

Community Links

CommunityProject

--

--

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