Documentation
¶
Index ¶
- Constants
- func CmdCancelSendToEth() *cobra.Command
- func CmdGetAttestations() *cobra.Command
- func CmdGetErc20ToDenoms() *cobra.Command
- func CmdGetLastObservedEthBlock() *cobra.Command
- func CmdGetLastObservedEthNonce() *cobra.Command
- func CmdGetOutgoingTXBatchRequest() *cobra.Command
- func CmdGetPendingOutgoingTXBatchRequest() *cobra.Command
- func CmdGetPendingSendToEth() *cobra.Command
- func CmdGravityProposalHandler() *cobra.Command
- func CmdSendToEth() *cobra.Command
- func CmdSetErc20ToDenom() *cobra.Command
- func GetCmdQueryParams() *cobra.Command
- func GetQueryCmd() *cobra.Command
- func GetTxCmd(storeKey string) *cobra.Command
Constants ¶
const ( FlagOrder = "order" FlagClaimType = "claim-type" FlagNonce = "nonce" FlagEthHeight = "eth-height" )
Variables ¶
This section is empty.
Functions ¶
func CmdCancelSendToEth ¶ added in v1.8.0
CmdCancelSendToEth enables users to take their Transaction out of the pool. Note that this cannot be done if it is locked up in a pending batch or if it has already been executed on Ethereum
func CmdGetAttestations ¶ added in v1.8.0
CmdGetAttestations fetches the most recently created Attestations in the store (only the most recent 1000 are available) up to an optional limit
func CmdGetErc20ToDenoms ¶ added in v1.8.0
func CmdGetLastObservedEthBlock ¶ added in v1.8.0
CmdGetLastObservedEthBlock fetches the Ethereum block height for the most recent "observed" Attestation, indicating the state of Cosmos consensus on the submitted Ethereum events nolint: dupl
func CmdGetLastObservedEthNonce ¶ added in v1.8.0
CmdGetLastObservedEthNonce fetches the Ethereum event nonce for the most recent "observed" Attestation, indicating // the state of Cosmos consensus on the submitted Ethereum events nolint: dupl
func CmdGetOutgoingTXBatchRequest ¶ added in v1.8.0
CmdGetOutgoingTXBatchRequest fetches all outgoing tx batches
func CmdGetPendingOutgoingTXBatchRequest ¶ added in v1.8.0
CmdGetPendingOutgoingTXBatchRequest fetches the batch to be confirmed next by the given validator, if any exists
func CmdGetPendingSendToEth ¶ added in v1.8.0
CmdGetPendingSendToEth fetches all pending Sends to Ethereum made by the given address
func CmdGravityProposalHandler ¶ added in v1.8.0
func CmdSendToEth ¶ added in v1.8.0
CmdSendToEth sends tokens to Ethereum. Locks Cosmos-side tokens into the Transaction pool for batching.
func CmdSetErc20ToDenom ¶ added in v1.8.0
func GetCmdQueryParams ¶ added in v1.8.0
GetCmdQueryParams fetches the current Gravity module params
func GetQueryCmd ¶
GetQueryCmd bundles all the query subcmds together so they appear under `gravity query` or `gravity q`
Types ¶
This section is empty.