derived

package
v0.8.5 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2021 License: Apache-2.0, MIT Imports: 8 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GasOutputs

type GasOutputs struct {
	Height             int64  `pg:",pk,use_zero,notnull"`
	Cid                string `pg:",pk,notnull"`
	StateRoot          string `pg:",pk,notnull"`
	From               string `pg:",notnull"`
	To                 string `pg:",notnull"`
	Value              string `pg:"type:numeric,notnull"`
	GasFeeCap          string `pg:"type:numeric,notnull"`
	GasPremium         string `pg:"type:numeric,notnull"`
	GasLimit           int64  `pg:",use_zero,notnull"`
	SizeBytes          int    `pg:",use_zero,notnull"`
	Nonce              uint64 `pg:",use_zero,notnull"`
	Method             uint64 `pg:",use_zero,notnull"`
	ActorName          string `pg:",notnull"`
	ActorFamily        string `pg:",notnull"`
	ExitCode           int64  `pg:",use_zero,notnull"`
	GasUsed            int64  `pg:",use_zero,notnull"`
	ParentBaseFee      string `pg:"type:numeric,notnull"`
	BaseFeeBurn        string `pg:"type:numeric,notnull"`
	OverEstimationBurn string `pg:"type:numeric,notnull"`
	MinerPenalty       string `pg:"type:numeric,notnull"`
	MinerTip           string `pg:"type:numeric,notnull"`
	Refund             string `pg:"type:numeric,notnull"`
	GasRefund          int64  `pg:",use_zero,notnull"`
	GasBurned          int64  `pg:",use_zero,notnull"`
	// contains filtered or unexported fields
}

func (*GasOutputs) AsVersion

func (g *GasOutputs) AsVersion(version model.Version) (interface{}, bool)

func (*GasOutputs) Persist

func (g *GasOutputs) Persist(ctx context.Context, s model.StorageBatch, version model.Version) error

type GasOutputsList

type GasOutputsList []*GasOutputs

func (GasOutputsList) Persist

func (l GasOutputsList) Persist(ctx context.Context, s model.StorageBatch, version model.Version) error

type GasOutputsV0

type GasOutputsV0 struct {
	Height             int64  `pg:",pk,use_zero,notnull"`
	Cid                string `pg:",pk,notnull"`
	StateRoot          string `pg:",pk,notnull"`
	From               string `pg:",notnull"`
	To                 string `pg:",notnull"`
	Value              string `pg:",notnull"`
	GasFeeCap          string `pg:",notnull"`
	GasPremium         string `pg:",notnull"`
	GasLimit           int64  `pg:",use_zero,notnull"`
	SizeBytes          int    `pg:",use_zero,notnull"`
	Nonce              uint64 `pg:",use_zero,notnull"`
	Method             uint64 `pg:",use_zero,notnull"`
	ActorName          string `pg:",notnull"`
	ExitCode           int64  `pg:",use_zero,notnull"`
	GasUsed            int64  `pg:",use_zero,notnull"`
	ParentBaseFee      string `pg:",notnull"`
	BaseFeeBurn        string `pg:",notnull"`
	OverEstimationBurn string `pg:",notnull"`
	MinerPenalty       string `pg:",notnull"`
	MinerTip           string `pg:",notnull"`
	Refund             string `pg:",notnull"`
	GasRefund          int64  `pg:",use_zero,notnull"`
	GasBurned          int64  `pg:",use_zero,notnull"`
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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