How Kassandra works

Kassandra under-the-hood, the inner workings of a prophetess’ mind.

First of all and to recap:

Kassandra is a decentralized autonomous organization that governs a set of tokenized data-driven investment funds, bringing a new class of investment products to the DeFi ecosystem: actively managed investment baskets without compromising the pillars of decentralization. All investment products made available through the Kassandra Protocol are permissionless, non-custodial, and actively managed by a third party.

aHYPE Smart-Strategy

The aHYPE strategy v1.0 works like the following.

  • The DAO appoints two users:
  • The updater “awakes” the strategy by telling it to start a request for external social score data provided by Heimdall through the API3 oracle service
  • If the Heimdall API call worked our smart-strategy obtains the data, partially validates the data, saves it in the contract, and emits an event
  • The updater calls updateWeightsGradually which does the heavy work of converting the social score data received from Heimdall into the weights data the SIP understands
  • The strategy then checks how much has the percentage of each asset changed since the last call and if the percentage has increased or decreased more than what the DAO has defined as suspect, the strategy will automatically pause itself without committing the new distribution and will wait for the watcher decide if the new weights are to be accepted or discarded. If otherwise, the changes are below the suspect threshold, the new weights are committed in the SIP immediately.
  • Once committed in the SIP the new weights are not taken into effect immediately, instead, they are scheduled to be reached in 24 hours, changing on each block following a linear function. This way prices in the pool won’t change instantly causing heavy rebalancing loss (impermanent loss).
Smart contracts diagram.

Learn more about Kassandra:

And get to know Heimdall:

--

--

The decentralized autonomous organization that governs tokenized data-driven investment funds

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
Kassandra Foundation

The decentralized autonomous organization that governs tokenized data-driven investment funds