Documentation ¶
Index ¶
- Variables
- func GetLatestBlockBenchmark(endpoints []RPCEndpoint)
- func RunERC20Token(args ERC20TokenArgs) error
- func RunPull(args PullArgs) error
- func RunTestEndpoints(args TestEndpointsArgs) error
- func SubscribeToEvents(endpoints []RPCEndpoint)
- type ERC20TokenArgs
- type EthereumArgs
- type LatestBlockResult
- type PullArgs
- type RPCEndpoint
- type TestEndpointsArgs
Constants ¶
This section is empty.
Variables ¶
View Source
var EthereumCmd = &cobra.Command{
Use: "ethereum",
Short: "Various functionality for the Ethereum",
Long: `Various functionality for the Ethereum`,
}
Functions ¶
func GetLatestBlockBenchmark ¶
func GetLatestBlockBenchmark(endpoints []RPCEndpoint)
func RunERC20Token ¶
func RunERC20Token(args ERC20TokenArgs) error
func RunTestEndpoints ¶
func RunTestEndpoints(args TestEndpointsArgs) error
func SubscribeToEvents ¶
func SubscribeToEvents(endpoints []RPCEndpoint)
Types ¶
type ERC20TokenArgs ¶
type ERC20TokenArgs struct { *EthereumArgs EthereumEndpoint string TokenHexAddress string }
type EthereumArgs ¶
type LatestBlockResult ¶
type LatestBlockResult struct { Endpoint RPCEndpoint Block string }
type PullArgs ¶
type PullArgs struct { *EthereumArgs SmartContracts []smartContract EthereumEndpoint string EtherscanAPIKey string }
type RPCEndpoint ¶
type TestEndpointsArgs ¶
type TestEndpointsArgs struct { *EthereumArgs URLs []string Repeat uint16 }
Click to show internal directories.
Click to hide internal directories.