evm

package
v1.22.0 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2024 License: MIT Imports: 22 Imported by: 0

Documentation

Overview

Package evm is the package for evm contract stuff.

Package evm TODO description

Package evm is the package for evm contract stuff.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBondingManagerContract added in v0.0.171

func NewBondingManagerContract(ctx context.Context, client chain.Chain, bondingManagerAddress common.Address) (domains.BondingManagerContract, error)

NewBondingManagerContract returns a bound bonding manager contract.

func NewDestinationContract added in v0.0.60

func NewDestinationContract(ctx context.Context, client chain.Chain, destinationAddress common.Address) (domains.DestinationContract, error)

NewDestinationContract returns a bound destination contract.

func NewEVM

func NewEVM(ctx context.Context, name string, domain config.DomainConfig, chainRPCURL string) (domains.DomainClient, error)

NewEVM creates a new evm client.

func NewInboxContract added in v0.0.171

func NewInboxContract(ctx context.Context, client chain.Chain, inboxAddress common.Address) (domains.InboxContract, error)

NewInboxContract returns a bound inbox contract.

func NewLightInboxContract added in v0.0.171

func NewLightInboxContract(ctx context.Context, client chain.Chain, lightInboxAddress common.Address) (domains.LightInboxContract, error)

NewLightInboxContract returns a bound light inbox contract.

func NewLightManagerContract added in v0.0.171

func NewLightManagerContract(ctx context.Context, client chain.Chain, lightManagerAddress common.Address) (domains.LightManagerContract, error)

NewLightManagerContract returns a bound light manager contract.

func NewOriginContract

func NewOriginContract(ctx context.Context, client chain.Chain, originAddress common.Address) (domains.OriginContract, error)

NewOriginContract returns a new bound origin contract.

func NewPingPongClientContract added in v0.0.110

func NewPingPongClientContract(ctx context.Context, client chain.Chain, pingPongClientAddress common.Address) (domains.PingPongClientContract, error)

NewPingPongClientContract returns a bound ping pong test client contract.

func NewSummitContract added in v0.0.130

func NewSummitContract(ctx context.Context, client chain.Chain, summitAddress common.Address) (domains.SummitContract, error)

NewSummitContract returns a bound summit contract.

func NewTestClientContract added in v0.0.105

func NewTestClientContract(ctx context.Context, client chain.Chain, testClientAddress common.Address) (domains.TestClientContract, error)

NewTestClientContract returns a bound test client contract.

Types

This section is empty.

Jump to

Keyboard shortcuts

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