Documentation ¶
Index ¶
- Constants
- Variables
- func GenerateBindings(path string, outdir string, config *BindingsConfig) error
- func GenerateFake(typ string, cABI string, pkg string) (string, error)
- func GenerateProcessor(types []string, abis []string, pkg string, inputs []InputType) (string, error)
- type BindingsConfig
- type ContractMetadata
- type HandlersConfig
- type InputType
Constants ¶
View Source
const ( SolidityBase = "https://github.com/ethereum/solidity/releases/download/" SolidityLinux = "solc-static-linux" SolidityMacos = "solc-macos" )
Variables ¶
View Source
var ErrNoEvents = errors.New("no events")
Functions ¶
func GenerateBindings ¶
func GenerateBindings(path string, outdir string, config *BindingsConfig) error
Types ¶
type BindingsConfig ¶
type BindingsConfig struct { Fakes bool Handlers HandlersConfig }
type ContractMetadata ¶
type ContractMetadata struct { ABIs []string Bins []string Types []string Sigs []map[string]string Libs map[string]string }
func ParseContract ¶
func ParseContract(src string) (ContractMetadata, error)
type HandlersConfig ¶
Click to show internal directories.
Click to hide internal directories.