cli

package
v1.19.0-rc3 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FlagSigners            = "signers"
	FlagRequirePartyRollup = "require-party-rollup"
	AddSwitch              = "add"
	RemoveSwitch           = "remove"
	FlagUsdMills           = "usd-mills"
)

Variables

This section is empty.

Functions

func AddContractSpecToScopeSpecCmd added in v1.5.0

func AddContractSpecToScopeSpecCmd() *cobra.Command

AddContractSpecToScopeSpecCmd creates an add contract spec to scope spec command

func AddRemoveScopeDataAccessCmd added in v1.3.0

func AddRemoveScopeDataAccessCmd() *cobra.Command

AddRemoveScopeDataAccessCmd creates a command for either adding or removing an address from a scope's data access list.

func AddRemoveScopeOwnersCmd added in v1.3.0

func AddRemoveScopeOwnersCmd() *cobra.Command

AddRemoveScopeOwnersCmd creates a command for either adding or removing scope owners.

func BindOsLocatorCmd added in v1.0.0

func BindOsLocatorCmd() *cobra.Command

BindOsLocatorCmd creates a command for binding an owner to uri in the object store.

func GetAccountDataCmd added in v1.16.0

func GetAccountDataCmd() *cobra.Command

GetAccountDataCmd is the CLI command for querying account data for metadata.

func GetCmdAddNetAssetValues added in v1.18.0

func GetCmdAddNetAssetValues() *cobra.Command

GetCmdAddNetAssetValues returns a CLI command for adding/updating scopes net asset values.

func GetCmdNetAssetValuesQuery added in v1.18.0

func GetCmdNetAssetValuesQuery() *cobra.Command

GetCmdNetAssetValuesQuery is the CLI command for querying a scope's net asset values.

func GetMetadataByIDCmd added in v0.2.1

func GetMetadataByIDCmd() *cobra.Command

GetMetadataByIDCmd returns the command handler for querying metadata for anything from an id.

func GetMetadataContractSpecCmd added in v0.2.1

func GetMetadataContractSpecCmd() *cobra.Command

GetMetadataContractSpecCmd returns the command handler for metadata contract specification querying.

func GetMetadataGetAllCmd added in v1.0.0

func GetMetadataGetAllCmd() *cobra.Command

GetMetadataGetAllCmd returns the command handler for querying metadata for all entries of a type.

func GetMetadataParamsCmd

func GetMetadataParamsCmd() *cobra.Command

GetMetadataParamsCmd returns the command handler for metadata parameter querying.

func GetMetadataRecordCmd added in v0.2.1

func GetMetadataRecordCmd() *cobra.Command

GetMetadataRecordCmd returns the command handler for metadata record querying.

func GetMetadataRecordSpecCmd added in v0.2.1

func GetMetadataRecordSpecCmd() *cobra.Command

GetMetadataRecordSpecCmd returns the command handler for metadata record specification querying.

func GetMetadataScopeCmd

func GetMetadataScopeCmd() *cobra.Command

GetMetadataScopeCmd returns the command handler for metadata scope querying.

func GetMetadataScopeSpecCmd added in v0.2.1

func GetMetadataScopeSpecCmd() *cobra.Command

GetMetadataScopeSpecCmd returns the command handler for metadata scope specification querying.

func GetMetadataSessionCmd added in v0.2.1

func GetMetadataSessionCmd() *cobra.Command

GetMetadataSessionCmd returns the command handler for metadata session querying.

func GetOSLocatorCmd added in v0.3.0

func GetOSLocatorCmd() *cobra.Command

GetOSLocatorCmd returns the command handler for metadata object store locator querying.

func GetOwnershipCmd added in v0.2.1

func GetOwnershipCmd() *cobra.Command

GetOwnershipCmd returns the command handler for metadata entry querying by owner address

func GetQueryCmd

func GetQueryCmd() *cobra.Command

GetQueryCmd returns the top-level command for marker CLI queries.

func GetValueOwnershipCmd added in v0.2.1

func GetValueOwnershipCmd() *cobra.Command

GetValueOwnershipCmd returns the command handler for metadata scope querying by owner address

func MigrateValueOwnerCmd added in v1.16.0

func MigrateValueOwnerCmd() *cobra.Command

MigrateValueOwnerCmd creates a command for migrating the scopes of one value owner to another.

func ModifyOsLocatorCmd added in v0.3.0

func ModifyOsLocatorCmd() *cobra.Command

ModifyOsLocatorCmd creates a command to modify the object store locator uri for an owner.

func NewTxCmd

func NewTxCmd() *cobra.Command

NewTxCmd is the top-level command for Metadata CLI transactions.

func ParseNetAssetValueString added in v1.18.0

func ParseNetAssetValueString(netAssetValuesString string) ([]types.NetAssetValue, error)

ParseNetAssetValueString splits string (example 1hotdog,2jackthecat) to list of NetAssetValue's

func RemoveContractSpecFromScopeSpecCmd added in v1.5.0

func RemoveContractSpecFromScopeSpecCmd() *cobra.Command

RemoveContractSpecFromScopeSpecCmd removes a contract spec from scope spec command

func RemoveContractSpecificationCmd added in v1.0.0

func RemoveContractSpecificationCmd() *cobra.Command

RemoveContractSpecificationCmd creates a command to remove a contract specification

func RemoveOsLocatorCmd added in v0.3.0

func RemoveOsLocatorCmd() *cobra.Command

RemoveOsLocatorCmd creates a command for removing an object store locator entry.

func RemoveRecordCmd added in v1.0.0

func RemoveRecordCmd() *cobra.Command

RemoveRecordCmd creates a command to remove a contract specification

func RemoveRecordSpecificationCmd added in v1.0.0

func RemoveRecordSpecificationCmd() *cobra.Command

RemoveRecordSpecificationCmd creates a command to remove a record specification

func RemoveScopeCmd added in v1.0.0

func RemoveScopeCmd() *cobra.Command

RemoveScopeCmd creates a command for removing a scope.

func RemoveScopeSpecificationCmd added in v1.0.0

func RemoveScopeSpecificationCmd() *cobra.Command

RemoveScopeSpecificationCmd creates a command to remove scope specification

func SetAccountDataCmd added in v1.16.0

func SetAccountDataCmd() *cobra.Command

SetAccountDataCmd creates a command for setting account data for a metadata address.

func UpdateValueOwnersCmd added in v1.16.0

func UpdateValueOwnersCmd() *cobra.Command

UpdateValueOwnersCmd creates a command for updating the value owner of one or more scopes.

func WriteContractSpecificationCmd added in v1.0.0

func WriteContractSpecificationCmd() *cobra.Command

WriteContractSpecificationCmd creates a command to add/update contract specifications

func WriteRecordCmd added in v1.0.0

func WriteRecordCmd() *cobra.Command

WriteRecordCmd creates a command to add/update records

func WriteRecordSpecificationCmd added in v1.0.0

func WriteRecordSpecificationCmd() *cobra.Command

WriteRecordSpecificationCmd creates a command for writing a record specification.

func WriteScopeCmd added in v1.0.0

func WriteScopeCmd() *cobra.Command

WriteScopeCmd creates a command for adding or updating a metadata scope.

func WriteScopeSpecificationCmd added in v1.0.0

func WriteScopeSpecificationCmd() *cobra.Command

WriteScopeSpecificationCmd creates a command for adding scope specificiation

func WriteSessionCmd added in v1.3.0

func WriteSessionCmd() *cobra.Command

WriteSessionCmd creates a command for writing a session.

Types

This section is empty.

Jump to

Keyboard shortcuts

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