verify

package
v1.14.1 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2025 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func VerifyCLI

func VerifyCLI(cliCtx *cli.Context) error

Types

type EtherscanClient

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

func NewEtherscanClient

func NewEtherscanClient(apiKey string, url string, rateLimiter *rate.Limiter) *EtherscanClient

type EtherscanContractCreationResp

type EtherscanContractCreationResp struct {
	Status  string `json:"status"`
	Message string `json:"message"`
	Result  []struct {
		ContractCreator string `json:"contractCreator"`
		TxHash          string `json:"txHash"`
	} `json:"result"`
}

type EtherscanGenericResp

type EtherscanGenericResp struct {
	Status  string `json:"status"`
	Message string `json:"message"`
	Result  string `json:"result"`
}

type MetadataSettings

type MetadataSettings struct {
	UseLiteralContent bool   `json:"useLiteralContent"`
	BytecodeHash      string `json:"bytecodeHash"`
}

type OptimizerSettings

type OptimizerSettings struct {
	Enabled bool `json:"enabled"`
	Runs    int  `json:"runs"`
}

type OutputSelection

type OutputSelection struct {
	All map[string]OutputSelectionDetails `json:"*"`
}

type OutputSelectionDetails

type OutputSelectionDetails struct {
	All []string `json:"*"`
}

type Settings

type Settings struct {
	Optimizer       OptimizerSettings `json:"optimizer"`
	EVMVersion      string            `json:"evmVersion"`
	Metadata        MetadataSettings  `json:"metadata"`
	OutputSelection OutputSelection   `json:"outputSelection"`
}

type SourceContent

type SourceContent struct {
	Content string `json:"content"`
}

type StandardInput

type StandardInput struct {
	Language string                   `json:"language"`
	Sources  map[string]SourceContent `json:"sources"`
	Settings Settings                 `json:"settings"`
}

type Verifier

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

func NewVerifier

func NewVerifier(apiKey string, l1ChainID uint64, artifactsFS foundry.StatDirFs, l log.Logger, l1Client *ethclient.Client) (*Verifier, error)

Jump to

Keyboard shortcuts

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