contract

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SplitMainAbi []byte
View Source
var SplitMainBin []byte

Functions

func GetDefaultContractAddress

func GetDefaultContractAddress(chainID string) *string

func GetSplitMainAbi

func GetSplitMainAbi() (*ethcoder.ABI, error)

Types

type Config

type Config struct {
	From       string `yaml:"from"`
	PrivateKey string `yaml:"privateKey"`
	GasLimit   uint64 `yaml:"gaslimit" default:"2940439"`
}

func (*Config) Validate

func (c *Config) Validate() error

type Deployer

type Deployer struct {
	// contains filtered or unexported fields
}

func NewDeployer

func NewDeployer(ctx context.Context, log logrus.FieldLogger, config *Config) (*Deployer, error)

func (*Deployer) Deploy

func (d *Deployer) Deploy(ctx context.Context, node *execution.Node) (*string, error)

Jump to

Keyboard shortcuts

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