Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EtherscanClient ¶
type EtherscanClient struct {
// contains filtered or unexported fields
}
func NewEtherscanClient ¶
func NewEtherscanClient(apiKey string, url string, rateLimiter *rate.Limiter) *EtherscanClient
type EtherscanGenericResp ¶
type MetadataSettings ¶
type OptimizerSettings ¶
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"`
}
Click to show internal directories.
Click to hide internal directories.