Documentation
¶
Index ¶
- func NewActivityCmd() *cobra.Command
- func NewBalanceCmd() *cobra.Command
- func NewBalancesCmd() *cobra.Command
- func NewCollectiblesCmd() *cobra.Command
- func NewDefiPositionsCmd() *cobra.Command
- func NewEvmCmd() *cobra.Command
- func NewStablecoinsCmd() *cobra.Command
- func NewSupportedChainsCmd() *cobra.Command
- func NewTokenHoldersCmd() *cobra.Command
- func NewTokenInfoCmd() *cobra.Command
- func NewTransactionsCmd() *cobra.Command
- type SimClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewActivityCmd ¶
NewActivityCmd returns the `sim evm activity` command.
func NewBalanceCmd ¶
NewBalanceCmd returns the `sim evm balance` command (single token).
func NewBalancesCmd ¶
NewBalancesCmd returns the `sim evm balances` command.
func NewCollectiblesCmd ¶
NewCollectiblesCmd returns the `sim evm collectibles` command.
func NewDefiPositionsCmd ¶
NewDefiPositionsCmd returns the `sim evm defi-positions` command.
func NewStablecoinsCmd ¶
NewStablecoinsCmd returns the `sim evm stablecoins` command.
func NewSupportedChainsCmd ¶
NewSupportedChainsCmd returns the `sim evm supported-chains` command.
func NewTokenHoldersCmd ¶
NewTokenHoldersCmd returns the `sim evm token-holders` command.
func NewTokenInfoCmd ¶
NewTokenInfoCmd returns the `sim evm token-info` command.
func NewTransactionsCmd ¶
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 ¶
SimClientFromCmd extracts the SimClient from the command context.