contracts

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2024 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AVS added in v0.3.0

func AVS(network netconf.ID) common.Address

AVS returns the AVS contract address for the given network.

func AVSSalt added in v0.1.2

func AVSSalt(network netconf.ID) string

func Create3Factory added in v0.3.0

func Create3Factory(network netconf.ID) common.Address

Create3Factory returns the Create3 factory address for the given network.

func GasPump added in v0.6.0

func GasPump(network netconf.ID) common.Address

GasPump returns the GasPump contract address for the given network.

func GasPumpSalt added in v0.6.0

func GasPumpSalt(network netconf.ID) string

func GasStation added in v0.6.0

func GasStation(network netconf.ID) common.Address

GasStation returns the GasStation contract address for the given network.

func GasStationSalt added in v0.6.0

func GasStationSalt(network netconf.ID) string

func L1Bridge added in v0.1.9

func L1Bridge(network netconf.ID) common.Address

L1Bridge returns the L1Bridge contract address for the given network.

We use create3 deployments so we can have predictable addresses in ephemeral networks.

func L1BridgeSalt added in v0.1.9

func L1BridgeSalt(network netconf.ID) string

func PackInitCode

func PackInitCode(abi *abi.ABI, bytecodeHex string, params ...any) ([]byte, error)

PackInitCode packs the init code for a contract deployment.

func Portal added in v0.1.9

func Portal(network netconf.ID) common.Address

Portal returns the Portal contract address for the given network.

func PortalSalt added in v0.1.2

func PortalSalt(network netconf.ID) string

func Token added in v0.1.9

func Token(network netconf.ID) common.Address

Token returns the Token contract address for the given network.

func TokenSalt added in v0.1.9

func TokenSalt(network netconf.ID) string

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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