Documentation ¶
Index ¶
- Constants
- func AccountDataCmd() *cobra.Command
- func AddNewMarkerFlags(cmd *cobra.Command)
- func AllHoldersCmd() *cobra.Command
- func AllMarkersCmd() *cobra.Command
- func GetCmdActivate() *cobra.Command
- func GetCmdAddAccess() *cobra.Command
- func GetCmdAddFinalizeActivateMarker() *cobra.Command
- func GetCmdAddMarker() *cobra.Command
- func GetCmdAddNetAssetValues() *cobra.Command
- func GetCmdBurn() *cobra.Command
- func GetCmdCancel() *cobra.Command
- func GetCmdChangeStatusProposal() *cobra.Command
- func GetCmdDelete() *cobra.Command
- func GetCmdDeleteAccess() *cobra.Command
- func GetCmdFeeGrant() *cobra.Command
- func GetCmdFinalize() *cobra.Command
- func GetCmdGrantAuthorization() *cobra.Command
- func GetCmdMarkerProposal() *cobra.Command
- func GetCmdMint() *cobra.Command
- func GetCmdRemoveAdministratorProposal() *cobra.Command
- func GetCmdRevokeAuthorization() *cobra.Command
- func GetCmdSetAccountData() *cobra.Command
- func GetCmdSetAdministratorProposal() *cobra.Command
- func GetCmdSetDenomMetadataProposal() *cobra.Command
- func GetCmdSupplyDecreaseProposal() *cobra.Command
- func GetCmdSupplyIncreaseProposal() *cobra.Command
- func GetCmdUpdateForcedTransfer() *cobra.Command
- func GetCmdUpdateRequiredAttributes() *cobra.Command
- func GetCmdUpdateSendDenyListRequest() *cobra.Command
- func GetCmdWithdrawCoins() *cobra.Command
- func GetCmdWithdrawEscrowProposal() *cobra.Command
- func GetIbcTransferTxCmd() *cobra.Command
- func GetNewTransferCmd() *cobra.Command
- func GetQueryCmd() *cobra.Command
- func GetUpdateMarkerParamsCmd() *cobra.Command
- func MarkerAccessCmd() *cobra.Command
- func MarkerCmd() *cobra.Command
- func MarkerEscrowCmd() *cobra.Command
- func MarkerSupplyCmd() *cobra.Command
- func NetAssetValuesCmd() *cobra.Command
- func NewTxCmd() *cobra.Command
- func ParseAccessGrantFromString(addressPermissionString string) []types.AccessGrant
- func ParseBoolStrict(input string) (bool, error)
- func ParseNetAssetValueString(netAssetValuesString string) ([]types.NetAssetValue, error)
- func QueryParamsCmd() *cobra.Command
- type NewMarkerFlagValues
Constants ¶
const ( FlagType = "type" FlagSupplyFixed = "supplyFixed" FlagAllowGovernanceControl = "allowGovernanceControl" FlagTransferLimit = "transfer-limit" FlagExpiration = "expiration" FlagPeriod = "period" FlagPeriodLimit = "period-limit" FlagSpendLimit = "spend-limit" FlagAllowList = "allow-list" FlagAllowedMsgs = "allowed-messages" FlagPacketTimeoutHeight = "packet-timeout-height" FlagPacketTimeoutTimestamp = "packet-timeout-timestamp" FlagAbsoluteTimeouts = "absolute-timeouts" FlagMemo = "memo" FlagRequiredAttributes = "required-attributes" FlagAllowForceTransfer = "allow-force-transfer" FlagAdd = "add" FlagRemove = "remove" FlagGovProposal = "gov-proposal" FlagUsdMills = "usd-mills" FlagVolume = "volume" FlagTargetAddress = "target-address" )
Variables ¶
This section is empty.
Functions ¶
func AccountDataCmd ¶ added in v1.16.0
AccountDataCmd is the CLI command for querying account data for a marker.
func AddNewMarkerFlags ¶ added in v1.15.0
AddNewMarkerFlags adds the flags needed when defining a new marker. The provided values can be retrieved using ParseNewMarkerFlags.
func AllHoldersCmd ¶
AllHoldersCmd is the CLI command for listing all marker module registrations.
func AllMarkersCmd ¶
AllMarkersCmd is the CLI command for listing all marker module registrations.
func GetCmdActivate ¶
GetCmdActivate implements the activate marker command.
func GetCmdAddAccess ¶
GetCmdAddAccess implements the delegate access to a marker command.
func GetCmdAddFinalizeActivateMarker ¶ added in v1.14.0
GetCmdAddFinalizeActivateMarker implements the add finalize activate marker command
func GetCmdAddMarker ¶
GetCmdAddMarker implements the create marker command
func GetCmdAddNetAssetValues ¶ added in v1.17.0
GetCmdAddNetAssetValues returns a CLI command for adding/updating marker net asset values.
func GetCmdBurn ¶
GetCmdBurn implements the burn coin supply from marker command.
func GetCmdCancel ¶
GetCmdCancel implements the cancel marker command.
func GetCmdChangeStatusProposal ¶ added in v1.19.0
GetCmdChangeStatusProposal returns a CLI command for submitting a change status proposal.
func GetCmdDelete ¶
GetCmdDelete implements the destroy marker command.
func GetCmdDeleteAccess ¶
GetCmdDeleteAccess implements the revoke administrative access for a marker command.
func GetCmdFeeGrant ¶ added in v1.11.0
GetCmdFeeGrant returns a CLI command handler for creating a MsgGrantAllowance transaction.
func GetCmdFinalize ¶
GetCmdFinalize implements the finalize marker command.
func GetCmdGrantAuthorization ¶ added in v1.7.0
func GetCmdMarkerProposal ¶ added in v1.7.0
GetCmdMarkerProposal returns a cmd for creating/submitting marker governance proposals
func GetCmdMint ¶
GetCmdMint implements the mint additional supply for marker command.
func GetCmdRemoveAdministratorProposal ¶ added in v1.19.0
GetCmdRemoveAdministratorProposal returns a CLI command for submitting a remove administrator proposal.
func GetCmdRevokeAuthorization ¶ added in v1.7.0
func GetCmdSetAccountData ¶ added in v1.16.0
GetCmdSetAccountData returns a CLI command for setting a marker's account data.
func GetCmdSetAdministratorProposal ¶ added in v1.19.0
GetCmdSetAdministratorProposal returns a CLI command for submitting a set administrator proposal.
func GetCmdSetDenomMetadataProposal ¶ added in v1.19.0
GetCmdSetDenomMetadataProposal returns a CLI command for submitting a set denom metadata proposal.
func GetCmdSupplyDecreaseProposal ¶ added in v1.19.0
GetCmdSupplyDecreaseProposal returns a CLI command for submitting a supply decrease proposal.
func GetCmdSupplyIncreaseProposal ¶ added in v1.19.0
GetCmdSupplyIncreaseProposal returns a CLI command for submitting a supply increase proposal.
func GetCmdUpdateForcedTransfer ¶ added in v1.16.0
GetCmdUpdateForcedTransfer returns a CLI command for updating a marker's allow_force_transfer flag.
func GetCmdUpdateRequiredAttributes ¶ added in v1.16.0
GetCmdUpdateRequiredAttributes implements the update required attributes command
func GetCmdUpdateSendDenyListRequest ¶ added in v1.17.0
GetCmdUpdateSendDenyListRequest implements the update deny list command
func GetCmdWithdrawCoins ¶
GetCmdWithdrawCoins implements the withdraw coins from escrow command.
func GetCmdWithdrawEscrowProposal ¶ added in v1.19.0
GetCmdWithdrawEscrowProposal returns a CLI command for submitting a withdraw escrow proposal.
func GetIbcTransferTxCmd ¶ added in v1.13.0
GetIbcTransferTxCmd returns the command to create a GetIbcTransferTxCmd transaction
func GetNewTransferCmd ¶ added in v1.5.0
GetNewTransferCmd implements the transfer command for marker funds.
func GetQueryCmd ¶
GetQueryCmd returns the top-level command for marker CLI queries.
func GetUpdateMarkerParamsCmd ¶ added in v1.19.0
GetUpdateMarkerParamsCmd creates a command to update the marker module's params via governance proposal.
func MarkerAccessCmd ¶
MarkerAccessCmd is the CLI command for querying marker access list.
func MarkerEscrowCmd ¶
MarkerEscrowCmd is the CLI command for querying marker module registrations.
func MarkerSupplyCmd ¶
MarkerSupplyCmd is the CLI command for querying marker module registrations.
func NetAssetValuesCmd ¶ added in v1.17.0
NetAssetValuesCmd is the CLI command for querying a marker's net asset values.
func ParseAccessGrantFromString ¶ added in v1.14.0
func ParseAccessGrantFromString(addressPermissionString string) []types.AccessGrant
ParseAccessGrantFromString splits string (example address1,perm1,perm2...;address2, perm1...) to AccessGrant
func ParseBoolStrict ¶ added in v1.16.0
ParseBoolStrict converts the provided input into a boolean. Valid strings are "true" and "false"; case is ignored.
func ParseNetAssetValueString ¶ added in v1.17.0
func ParseNetAssetValueString(netAssetValuesString string) ([]types.NetAssetValue, error)
ParseNetAssetValueString splits string (example 1hotdog,1;2jackthecat100,...) to list of NetAssetValue's
func QueryParamsCmd ¶ added in v1.3.0
QueryParamsCmd returns the command handler for marker parameter querying.
Types ¶
type NewMarkerFlagValues ¶ added in v1.15.0
type NewMarkerFlagValues struct { MarkerType types.MarkerType SupplyFixed bool AllowGovControl bool AllowForceTransfer bool RequiredAttributes []string UsdMills uint64 Volume uint64 }
NewMarkerFlagValues represents the values provided in the flags added by AddNewMarkerFlags.
func ParseNewMarkerFlags ¶ added in v1.15.0
func ParseNewMarkerFlags(cmd *cobra.Command) (*NewMarkerFlagValues, error)
ParseNewMarkerFlags reads the flags added by AddNewMarkerFlags.