genesis

package
v1.0.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Account

type Account struct {
	Code         []byte
	Balance      *big.Int
	Nonce        uint64
	SelfDestruct bool
}

Account is an account in the state of the genesis block.

type Accounts

type Accounts interface {
	ForEach(fn func(common.Address, Account))
}

Accounts specifies the changes to EVM accounts after applying RawEvmItems.

type Block

type Block struct {
	Time        inter.Timestamp
	Atropos     hash.Event
	Txs         types.Transactions
	InternalTxs types.Transactions
	Root        hash.Hash
	Receipts    []*types.ReceiptForStorage
}

type Blocks

type Blocks interface {
	ForEach(fn func(idx.Block, Block))
}

type Delegation

type Delegation struct {
	Stake              *big.Int
	Rewards            *big.Int
	LockedStake        *big.Int
	LockupFromEpoch    idx.Epoch
	LockupEndTime      inter.Timestamp
	LockupDuration     inter.Timestamp
	EarlyUnlockPenalty *big.Int
}

type Delegations

type Delegations interface {
	ForEach(fn func(common.Address, idx.ValidatorID, Delegation))
}

type RawEvmItems

type RawEvmItems kvdb.Iteratee

type Storage

type Storage interface {
	ForEach(fn func(common.Address, common.Hash, common.Hash))
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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