gastParams

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ColorReset  = "\033[0m"
	ColorRed    = "\033[31m"
	ColorGreen  = "\033[32m"
	ColorYellow = "\033[33m"
	ColorBlue   = "\033[34m"
	ColorPurple = "\033[35m"
	ColorCyan   = "\033[36m"
	ColorWhite  = "\033[37m"
)

Terminal outputs colours

Variables

View Source
var (
	FromValue     string // used for transaction(s)
	ToValue       string
	WeiValue      uint64
	TxDataValue   string
	NonceValue    uint64
	PrivKeyValue  string
	TxRpcUrlValue string

	GasLimitValue uint64 // GasLimitValue and RawTxValue used fo raw sig
	RawTxValue    string

	TxHashValue string // used for transaction tracing

	SigValue        string
	SigMsgValue     string
	SigAddressValue string

	// blob
	DirValue                 string
	KZGCommitmentVar         string
	BlockRootOrSlotNumberVar string
)
View Source
var NetworkExplorers = map[uint64]string{
	0x01:     "https://etherscan.io/",
	0x05:     "https://goerli.etherscan.io/",
	0xAA36A7: "https://sepolia.etherscan.io/",
	0x89:     "https://polygonscan.com/",
	0x13881:  "https://mumbai.polygonscan.com/",
	0x0A:     "https://optimistic.etherscan.io/",
	0x1A4:    "https://goerli-optimism.etherscan.io/",
	0xA4B1:   "https://arbiscan.io/",
	0x66EEE:  "https://sepolia.arbiscan.io/",
	0x38:     "https://bscscan.com/",
	0x61:     "https://testnet.bscscan.com/",
	0x421611: "https://explorer.celo.org/",
	0xA4EC:   "https://alfajores-blockscout.celo-testnet.org/",
	0x2105:   "https://basescan.org/",
	0xE708:   "https://lineascan.build/",
	0x144:    "https://explorer.zksync.io/",
}

NetworkExplorers maps network IDs to their respective explorers.

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