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

# Functions

ExportGenesis exports all the state needed to restart the chain from the current state of the chain.
No description provided by the author
InitGenesis starts a chain from a genesis state.
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.
NewQuerier is the module level router for state queries.

# Constants

No description provided by the author
No description provided by the author
This retrieves a specific batch by it's nonce and token contract or in the case of a Cosmos originated address it's denom.
Used by the relayer to package a batch with signatures required to submit to Ethereum.
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
This retrieves the ERC20 contract which represents a given denom.
Token mapping This retrieves the denom which is represented by a given ERC20 contract.
used by the contract deployer script.
Get the last unsigned batch (of any denom) for the validators orchestrator to sign.
Gets a list of unsigned valsets for a given validators delegate orchestrator address.
Gets the last N (where N is currently 5) validator sets that have been produced by the chain.
gets the last 100 outgoing batches, regardless of denom, useful for a relayer to see what is available to relay.
Query pending transactions.
No description provided by the author
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.
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.

# Structs

AttestationHandler processes `observed` Attestations.
Hooks Wrapper struct.
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