Versions in this module Expand all Collapse all v0 v0.86.1 Mar 11, 2026 v0.86.0 Mar 10, 2026 Changes in this version + func GetOkLinkShortName(chainID uint64) (string, bool) + func IsChainSupportedOnBlockscout(chainID uint64) bool + func IsChainSupportedOnBtrScan(chainID uint64) bool + func IsChainSupportedOnCoreDAO(chainID uint64) bool + func IsChainSupportedOnEtherscanV2(chainID uint64) bool + func IsChainSupportedOnL2Scan(chainID uint64) bool + func IsChainSupportedOnOkLink(chainID uint64) bool + func IsChainSupportedOnRouteScan(chainID uint64) (networkType string, ok bool) + func IsChainSupportedOnSocialScanV2(chainID uint64) bool + func IsChainSupportedOnSourcify(chainID uint64) bool + func NewEtherscanV2ContractVerifier(chain chainsel.Chain, apiKey string, address string, ...) (verification.Verifiable, error) + func NewVerifier(strategy VerificationStrategy, cfg VerifierConfig) (verification.Verifiable, error) + type ContractInputsProvider interface + GetInputs func(contractType datastore.ContractType, version *semver.Version) (SolidityContractMetadata, error) + type SolidityContractMetadata struct + Bytecode string + Language string + Name string + Settings map[string]any + Sources map[string]any + Version string + func (s SolidityContractMetadata) SourceCode() (string, error) + type VerificationStrategy int + const StrategyBlockscout + const StrategyBtrScan + const StrategyCoreDAO + const StrategyEtherscan + const StrategyL2Scan + const StrategyOkLink + const StrategyRoutescan + const StrategySocialScan + const StrategySourcify + const StrategyUnknown + func GetVerificationStrategy(chainID uint64) VerificationStrategy + type VerifierConfig struct + Address string + Chain chainsel.Chain + ContractType string + HTTPClient *http.Client + Logger logger.Logger + Metadata SolidityContractMetadata + Network cfgnet.Network + PollInterval time.Duration + Version string