evm

package
v0.1.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 25, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewActivityCmd

func NewActivityCmd() *cobra.Command

NewActivityCmd returns the `sim evm activity` command.

func NewBalanceCmd

func NewBalanceCmd() *cobra.Command

NewBalanceCmd returns the `sim evm balance` command (single token).

func NewBalancesCmd

func NewBalancesCmd() *cobra.Command

NewBalancesCmd returns the `sim evm balances` command.

func NewCollectiblesCmd

func NewCollectiblesCmd() *cobra.Command

NewCollectiblesCmd returns the `sim evm collectibles` command.

func NewDefiPositionsCmd

func NewDefiPositionsCmd() *cobra.Command

NewDefiPositionsCmd returns the `sim evm defi-positions` command.

func NewEvmCmd

func NewEvmCmd() *cobra.Command

NewEvmCmd returns the `sim evm` parent command.

func NewStablecoinsCmd

func NewStablecoinsCmd() *cobra.Command

NewStablecoinsCmd returns the `sim evm stablecoins` command.

func NewSupportedChainsCmd

func NewSupportedChainsCmd() *cobra.Command

NewSupportedChainsCmd returns the `sim evm supported-chains` command.

func NewTokenHoldersCmd

func NewTokenHoldersCmd() *cobra.Command

NewTokenHoldersCmd returns the `sim evm token-holders` command.

func NewTokenInfoCmd

func NewTokenInfoCmd() *cobra.Command

NewTokenInfoCmd returns the `sim evm token-info` command.

func NewTransactionsCmd

func NewTransactionsCmd() *cobra.Command

NewTransactionsCmd returns the `sim evm transactions` command.

Types

type SimClient

type SimClient interface {
	Get(ctx context.Context, path string, params url.Values) ([]byte, error)
}

SimClient is the interface that evm commands use to talk to the Sim API. It is satisfied by *sim.SimClient (stored in the command context by the sim parent command's PersistentPreRunE).

func SimClientFromCmd

func SimClientFromCmd(cmd *cobra.Command) SimClient

SimClientFromCmd extracts the SimClient from the command context.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL