shared

package
v0.0.0-...-24f7fd5 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2023 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultDeploymentAddrLogPathPrefix = "./accounts/addresses/"
)

Variables

This section is empty.

Functions

func SendRawTransaction

func SendRawTransaction(rpcClient *rpc.Client, raw []byte) error

SendRawTransaction sends a raw, signed tx using the provided client

func SendTransaction

func SendTransaction(rpcClient *rpc.Client, tx *types.Transaction) error

SendTransaction sends a signed tx using the provided client

func TxSigner

func TxSigner(chainID *big.Int) types.Signer

TxSigner returns the London signer at the provided block height

func WriteContractAddr

func WriteContractAddr(filePath string, senderAddr common.Address, nonce uint64) (common.Address, error)

WriteContractAddr appends a contract addr to an out file

Types

type Service

type Service interface {
	Loop(quitChan <-chan bool) (doneChan <-chan bool, err error)
}

Service looping interface

Jump to

Keyboard shortcuts

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