package
2.4.3
Repository: https://github.com/functionx/fx-core.git
Documentation: pkg.go.dev

# Functions

NewKeeper returns a new instance of the gravity keeper.
NewMigrator returns a new Migrator.
NewMsgServerImpl returns an implementation of the gov MsgServer interface for the provided Keeper.
NewMsgServerRouterImpl returns an implementation of the crosschain router MsgServer interface for the provided Keeper.
NewQuerier is the module level router for state queries.
NewRouter creates a new Router interface instance.
NewRouterKeeper returns a new instance of the cross chain keeper.

# Constants

No description provided by the author
No description provided by the author
QueryBatch This retrieves a specific batch by it's nonce and token contract or in the case of a Cosmos originated address it's denom.
QueryBatchConfirms Used by the relayer to package a batch with signatures required to submit to Ethereum.
QueryBatchFees Used to query all pending SendToEth transactions and fees available for each token type, a relayer can then estimate their potential profit when requesting a batch.
No description provided by the author
QueryDenomToToken This retrieves the ERC20 contract which represents a given denom.
QueryGravityID used by the contract deployer script.
QueryLastOracleSetRequests Gets the last N (where N is currently 5) validator sets that have been produced by the chain.
QueryLastPendingBatchRequestByAddr Get the last unsigned batch (of any denom) for the validators bridger to sign.
QueryLastPendingOracleSetRequestByAddr Gets a list of unsigned oracleSets for a given validators delegate bridger address.
No description provided by the author
QueryOracleSetConfirmsByNonce Gets all the confirmation signatures for a given validator set, used by the relayer to package the validator set and it's signatures into an Ethereum transaction.
QueryOracleSetRequest This retrieves a specific validator set by it's nonce used to compare what's on Ethereum with what's in Cosmos to perform slashing / validation of system consistency.
QueryOutgoingTxBatches gets the last 100 outgoing batches, regardless of denom, useful for a relayed to see what is available to relay.
QueryPendingSendToExternal Query pending transactions.
QueryTokenToDenom Token mapping This retrieves the denom which is represented by a given ERC20 contract.

# Structs

No description provided by the author
Keeper maintains the link to storage and exposes getter/setter methods for the various parts of the state machine.
Migrator is a struct for handling in-place store migrations.
No description provided by the author
No description provided by the author
RouterKeeper maintains the link to storage and exposes getter/setter methods for the various parts of the state machine.

# Interfaces

Router implements a cross chain EthereumMsgServer Handler router.