solve

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2025 License: GPL-3.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Deploy added in v0.13.0

func Deploy(ctx context.Context, network netconf.Network, backends ethbackend.Backends) error

Deploy deploys solve inbox / outbox / middleman contracts, and devnet app (if devnet).

func Test added in v0.13.0

func Test(ctx context.Context, network netconf.Network, endpoints xchain.RPCEndpoints) error

Types

type MockToken added in v0.13.0

type MockToken struct {
	tokens.Token
	ChainID   uint64
	NetworkID netconf.ID
}

func MockTokens added in v0.13.0

func MockTokens() []MockToken

func (MockToken) Address added in v0.13.0

func (m MockToken) Address() common.Address

func (MockToken) Create3Salt added in v0.13.0

func (m MockToken) Create3Salt() string

type TestOrder added in v0.13.0

type TestOrder struct {
	Owner         common.Address
	FillDeadline  time.Time
	DestChainID   uint64
	SourceChainID uint64
	Expenses      solvernet.Expenses
	Calls         solvernet.Calls
	Deposit       solvernet.Deposit
	ShouldReject  bool
	RejectReason  string
}

Jump to

Keyboard shortcuts

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