contracts

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 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 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