constants

package
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 5, 2024 License: MIT Imports: 0 Imported by: 2

Documentation

Index

Constants

View Source
const (
	OneSmesh = 1000000000 // 1e9 (1bn) smidge per smesh

	TotalVaulted  = OneSmesh * 150000000 // 150mn smesh
	CliffRatio    = 0                    // pct vest at cliff
	OneEpoch      = 4032                 // mainnet epochs are two weeks long
	OneYear       = 105120               // 365 days, in 5-minute intervals
	VestStart     = OneYear              // one year, in layers
	VestEnd       = 4 * OneYear          // four years post-genesis, three years post-vesting start
	VestLayers    = VestEnd - VestStart  // three years, in layers (exclusive of start layer, inclusive of end layer)
	VestedAtCliff = uint64(CliffRatio * TotalVaulted)

	// VestPerLayer is rounded down to the nearest int. We make up for this rounding in the code.
	VestPerLayer = (TotalVaulted - VestedAtCliff) / VestLayers

	TenYearTarget = OneSmesh * 600000000
	TotalIssuance = OneSmesh * 2400000000 // 2.4bn smesh
	TotalSubsidy  = TotalIssuance - TotalVaulted
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL