constant

package
v0.3.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	EthereumDecimals = 18
	USDCDecimals     = 6
)
View Source
const (
	GasLimitOfTransferEth = 21_000
)

Gas

Variables

This section is empty.

Functions

func ETH

func ETH() *big.Int

func GWei

func GWei() *big.Int

func NumberOfETH

func NumberOfETH(number uint64) *big.Int

func NumberOfETHFloat added in v0.1.5

func NumberOfETHFloat(number float64) *big.Int

func NumberOfGWei

func NumberOfGWei(number uint64) *big.Int

Types

type BundlerEndpoint

type BundlerEndpoint string

https://www.mev.to/builders

const (
	Builder0x69      BundlerEndpoint = "https://builder0x69.io/"
	BeaverBuild      BundlerEndpoint = "https://rpc.beaverbuild.org/"
	FlashbotsBundler BundlerEndpoint = "https://relay.flashbots.net/"
	RsyncBundler     BundlerEndpoint = "https://rsync-builder.xyz/"
	// Blocknative      BundlerEndpoint = "https://api.blocknative.com/v1/auction/"
	GambitLabs      BundlerEndpoint = "https://builder.gmbit.co/rpc/"
	EthBuilder      BundlerEndpoint = "https://eth-builder.com/"
	TitanEndpoint   BundlerEndpoint = "https://rpc.titanbuilder.xyz/"
	BuildAI         BundlerEndpoint = "https://buildai.net/"
	Payload         BundlerEndpoint = "https://rpc.payload.de/"
	Bloxroute       BundlerEndpoint = "https://mev.api.blxrbdn.com/"
	Lightspeed      BundlerEndpoint = "https://rpc.lightspeedbuilder.info/"
	NFactorial      BundlerEndpoint = "https://rpc.nfactorial.xyz/"
	BobaBuilder     BundlerEndpoint = "https://boba-builder.com/searcher/bundle"
	F1b             BundlerEndpoint = "https://rpc.f1b.io/"
	JetBldr         BundlerEndpoint = "https://rpc.jetbldr.xyz/"
	PenguinBuild    BundlerEndpoint = "https://rpc.penguinbuild.org/"
	LokiBuilder     BundlerEndpoint = "https://rpc.lokibuilder.xyz/"
	EdenNetwork     BundlerEndpoint = "https://api.edennetwork.io/v1/bundle/"
	TBuilder        BundlerEndpoint = "https://rpc.tbuilder.xyz/"
	Eigenphi        BundlerEndpoint = "https://builder.eigenphi.io/"
	BlockBeelder    BundlerEndpoint = "https://blockbeelder.com/rpc/"
	ManifoldFinance BundlerEndpoint = "https://api.securerpc.com/v1/"
	PandaBuilder    BundlerEndpoint = "https://rpc.pandabuilder.io/"
	SmithBot        BundlerEndpoint = "https://smithbot.xyz/"
)

func AllBundlerEndpoints

func AllBundlerEndpoints() []BundlerEndpoint

func (BundlerEndpoint) String added in v0.1.2

func (b BundlerEndpoint) String() string

type GoerliTestnetBundlerEndpoint added in v0.3.0

type GoerliTestnetBundlerEndpoint string
const (
	FlashbotsGoerliBundler   GoerliTestnetBundlerEndpoint = "https://relay-goerli.flashbots.net/"
	BuildAIGoerliBundler     GoerliTestnetBundlerEndpoint = "https://buildai.net/goerli/"
	EdenNetworkGoerliBundler GoerliTestnetBundlerEndpoint = "https://goerli.edennetwork.io/v1/bundle/"
)

func AllGoerliBundlerEndpoints added in v0.1.3

func AllGoerliBundlerEndpoints() []GoerliTestnetBundlerEndpoint

func (GoerliTestnetBundlerEndpoint) String added in v0.3.0

type SepoliaTestnetBundlerEndpoint added in v0.3.0

type SepoliaTestnetBundlerEndpoint string
const (
	FlashbotsSepoliaBundler SepoliaTestnetBundlerEndpoint = "https://relay-sepolia.flashbots.net"
)

func AllSepoliaBundlerEndpoints added in v0.3.0

func AllSepoliaBundlerEndpoints() []SepoliaTestnetBundlerEndpoint

Jump to

Keyboard shortcuts

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