This is a detailed writeup of how UpDown works.
- Epochs last a fixed number of blocks
- Depositing gives you 100x Ups and 100x Downs
- There is a balancer pool to exchange ups and downs
- At the end of each epoch take the difference in price from the beginning of…