Aleatory Mechanics, A Deeper Dive

In the previous post, we introduced the concept of the Aleatory experiment. Here, we present a deeper dive into the actual mechanics, how it should work, and what you should expect.

Aleatory.Finance can be seen as a project similar to ORB and CAPY, where the broken mechanics have been fixed. Specifically, be observed two major issues:

  1. First in first out, where the first user to stake was ensured to be the first to exit and rake huge gains.
  2. External actors manipulating the rewards by interacting directly with the liquidity pool.

As such, Aleatory introduces two major changes — direct ETH staking and withdrawal, without an additional token issuance, and randomized exit times. The three major components are described below.


A user that wants to take part in this experiment will stake ETH by interacting with the dApp’s smart contract (e.g., by using the website). We acknowledge that users joining early take a higher risk, thus the game mechanics will provide them with a higher reward when the time comes (see explanation under reward extraction).

Upon staking, a random function will determine the time at which the user may withdraw his winnings. This randomization is performed on EACH staking event; and in order to prevent abuse, requires at least 0.01 ETH staked.

Referral bonus

We acknowledge that the success of the Aleatory experiment is based on the amount of users taking part in the experiment. As such, we introduce a referral system. By referring users that join Aleatory, you reduce the withdrawal timelock.

Each 1 ETH staked by your referrals will reduce your exit time by 1 hour!

Extracting Reward

Reward extraction is very simple. The website will present the time at which you may withdraw. Once this time comes, the withdraw button will automatically appear.

The amount of reward each user receives is determined by the risk the user took, the total risk in the system, and the amount of ETH staked.

risk(user) = ETH staked * time staked

Each staking event will increase the total risk the user took. The risk decreases linearly over time, from an initial 4x multiplier down to 1x.

the total risk, is the combined risk taken by all the users

Finally, the amount of ETH each user can withdraw

reward(user) = (total eth staked * risk(user)) / total risk




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

Recommended from Medium

How big MNC’s like Google, Facebook, Instagram, etc stores, manages and manipulate Thousands of…

The Missing List of JupyterLab Keyboard Shortcuts

On visualizing the loveliness of the pinball universe

What is it required to understand Causal Inference

Mitigating Bias in AI with AIF360

Deployment Using Streamlit and Heroku

Multiple Linear Regression — with math and code

The Life of a Data Analyst — Part 4

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


More from Medium

Introducing PeskyDoge

Zero to One: New Chapter of Summeris.

TAKE Staking, LP Vaults & Trade-to-Earn

What is Defi and Cefi | Decentralized finance vs. Centralized finance