constant

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GWeiI64 int64 = 1000000000
	EthI64  int64 = 1000000000000000000
)

Variables

View Source
var (
	GWeiDecimal = decimal.NewFromInt(GWeiI64)
	EthDecimal  = decimal.NewFromInt(EthI64)
)
View Source
var (
	// deprecated
	ZeroBI = big.NewInt(0)
	OneBI  = big.NewInt(1)
	ZeroD  = decimal.NewFromInt(0)
	OneD   = decimal.NewFromInt(1)

	BigIntZero  = big.NewInt(0)
	BigIntOne   = big.NewInt(1)
	DecimalZero = decimal.NewFromInt(0)
	DecimalOne  = decimal.NewFromInt(1)
)

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