Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GravityOrchestrator ¶ added in v0.2.0
type GravityOrchestrator interface { Start(ctx context.Context) error CheckForEvents(ctx context.Context, startingBlock, ethBlockConfirmationDelay uint64) (currentBlock uint64, err error) GetLastCheckedBlock(ctx context.Context, ethBlockConfirmationDelay uint64) (uint64, error) EthOracleMainLoop(ctx context.Context) error EthSignerMainLoop(ctx context.Context) error BatchRequesterLoop(ctx context.Context) error RelayerMainLoop(ctx context.Context) error }
func NewGravityOrchestrator ¶ added in v0.2.0
func NewGravityOrchestrator( logger zerolog.Logger, cosmosQueryClient gravitytypes.QueryClient, gravityBroadcastClient sidechain.GravityBroadcastClient, gravityContract gravity.Contract, ethFrom ethcmn.Address, ethSignerFn keystore.SignerFn, ethPersonalSignFn keystore.PersonalSignFn, relayer relayer.GravityRelayer, cosmosBlockTime time.Duration, ethereumBlockTime time.Duration, batchRequesterLoopDuration time.Duration, ethBlocksPerLoop int64, bridgeStartHeight int64, symbolRetriever relayer.SymbolRetriever, oracle relayer.Oracle, ethMergePause bool, options ...func(GravityOrchestrator), ) GravityOrchestrator
Source Files ¶
Click to show internal directories.
Click to hide internal directories.