centrifuge

package
v1.0.10 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2023 License: LGPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Hash    string
	Address string
)

flag vars

View Source
var (
	StoreAddr common.Address
	ByteHash  [32]byte
)

processed flag vars

View Source
var CentrifugeCmd = &cobra.Command{
	Use:   "centrifuge",
	Short: "Set of commands for interacting with a cetrifuge asset store contract",
	Long:  "Set of commands for interacting with a cetrifuge asset store contract",
	PersistentPreRunE: func(cmd *cobra.Command, args []string) error {
		var err error

		url, _, gasPrice, senderKeyPair, prepare, err = flags.GlobalFlagValues(cmd)
		if err != nil {
			return fmt.Errorf("could not get global flags: %v", err)
		}
		return nil
	},
}

Functions

func BindDeployCmdFlags

func BindDeployCmdFlags(cmd *cobra.Command)

func BindGetHashFlags

func BindGetHashFlags(cmd *cobra.Command)

func DeployCentrifugeAssetStoreCmd

func DeployCentrifugeAssetStoreCmd(cmd *cobra.Command, args []string, contract *centrifuge.AssetStoreContract) error

func GetHashCmd

func GetHashCmd(cmd *cobra.Command, args []string, contract *centrifuge.AssetStoreContract) error

func ProcessGetHashFlags

func ProcessGetHashFlags(cmd *cobra.Command, args []string) error

func ValidateGetHashFlags

func ValidateGetHashFlags(cmd *cobra.Command, args []string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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