update

package
v0.15.4 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var UpdateCmd = &cobra.Command{
	Use:   "update",
	Short: "Get data using Client and save it in SQLStore",
	Long:  `Get data using Client and save it in SQLStore`,
}

Functions

func RunAssetPrices

func RunAssetPrices(args AssetPricesArgs) error

func RunBlockSigners

func RunBlockSigners(args BlockSignersArgs) error

func RunCometTxs

func RunCometTxs(args CometTxsArgs) error

func RunNetworkBalances

func RunNetworkBalances(args NetworkBalancesArgs) error

func RunNetworkHistorySegments

func RunNetworkHistorySegments(args NetworkHistorySegmentsArgs) error

Types

type AssetPricesArgs

type AssetPricesArgs struct {
	*UpdateArgs
}

type BlockSignersArgs

type BlockSignersArgs struct {
	*UpdateArgs
	FromBlock int64
	ToBlock   int64
}

type CometTxsArgs

type CometTxsArgs struct {
	*UpdateArgs
	FromBlock int64
	ToBlock   int64
}

type NetworkBalancesArgs

type NetworkBalancesArgs struct {
	*UpdateArgs
	All                   bool
	AssetPool             bool
	PartiesTotal          bool
	UnrealisedWithdrawals bool
	UnfinalizedDeposits   bool
}

type NetworkHistorySegmentsArgs

type NetworkHistorySegmentsArgs struct {
	*UpdateArgs
	ApiURL string
}

type UpdateArgs

type UpdateArgs struct {
	*rootCmd.RootArgs
}

Jump to

Keyboard shortcuts

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