Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChecksumAddress ¶
ChecksumAddress Convert address into checksum address
Types ¶
type AddressInfo ¶
type ApiResponse ¶
type ContractFile ¶
type ContractInfo ¶
type ContractInfo struct { SourceCode string `json:"SourceCode"` ABI string `json:"ABI"` ContractName string `json:"ContractName"` CompilerVersion string `json:"CompilerVersion"` OptimizationUsed string `json:"OptimizationUsed"` Runs string `json:"Runs"` ConstructorArguments string `json:"ConstructorArguments"` EVMVersion string `json:"EVMVersion"` Library string `json:"Library"` LicenseType string `json:"LicenseType"` Proxy string `json:"Proxy"` Implementation string `json:"Implementation"` SwarmSource string `json:"SwarmSource"` }
type Explorer ¶
type Explorer struct { Chain string `yaml:"chain"` ApiGetSourceCode string `yaml:"apiGetSourceCode"` ApiKey string `yaml:"apiKey"` }
func (*Explorer) GetSourceCode ¶
func (e *Explorer) GetSourceCode(address string, proxyDepth int) ([]AddressInfo, []ContractFile, error)
Click to show internal directories.
Click to hide internal directories.