Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GenesisAccount ¶
type GenesisAccount struct { UnlockSchedule int `json:"unlockSchedule"` Address common.Address `json:"address"` Award *big.Int `json:"award"` Vested *big.Int `json:"vested"` LumpSumMonth uint64 `json:"lumpSumMonth"` BalanceSchedule *orderedmap.OrderedMap[uint64, *big.Int] `json:"balanceSchedule"` // Map of blockNumber->balanceUnlocked (at that block). }
GenesisAccount is an account in the state of the genesis block.
func GenerateGenesisUnlocks ¶
func GenerateGenesisUnlocks(filename string) ([]GenesisAccount, error)
Will return all the GenesisAccounts with their calculated unlock schedules. Ignores any existing values in BalanceSchedule and recalculates them.
func VerifyGenesisAllocs ¶
func VerifyGenesisAllocs(filename string, expectedHash common.Hash) ([]GenesisAccount, error)
Performs verification tasks on provided unlock info.
Click to show internal directories.
Click to hide internal directories.