For the complete documentation index, see llms.txt. This page is also available as Markdown.

BST Distribution Ratio Calculations

Let's get granular!

Below is the code that determines the percentage each healthy Blobble receives from the daily Blobble Treasury & Eye On ICON Node Treasury distribution receives.

ids := healthyBlobbleIds 
sharePerId := make(map[int]float64) sort.Ints(ids)
n := float64(len(ids))
sum := n * (n + 1) / 2

for i, id := range ids {
	share := (n - float64(i)) / sum * 100.0
	sharePerId[id] = share
}

return sharePerId

Last updated