Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GravityBroadcastClient ¶ added in v0.2.0
type GravityBroadcastClient interface { AccFromAddress() sdk.AccAddress // SendValsetConfirm broadcasts in a confirmation for a specific validator set for a specific block height. SendValsetConfirm( ctx context.Context, ethFrom ethcmn.Address, gravityID string, valset types.Valset, ) error // SendBatchConfirm broadcasts in a confirmation for a specific transaction batch set for a specific block height // since transaction batches also include validator sets this has all the arguments SendBatchConfirm( ctx context.Context, ethFrom ethcmn.Address, gravityID string, batch types.OutgoingTxBatch, ) error SendEthereumClaims( ctx context.Context, lastClaimEvent uint64, deposits []*wrappers.GravitySendToCosmosEvent, withdraws []*wrappers.GravityTransactionBatchExecutedEvent, valsetUpdates []*wrappers.GravityValsetUpdatedEvent, erc20Deployed []*wrappers.GravityERC20DeployedEvent, loopDuration time.Duration, ) error // SendRequestBatch broadcasts a requests a batch of withdrawal transactions to be generated on the chain. SendRequestBatch( ctx context.Context, denom string, ) error }
func NewGravityBroadcastClient ¶ added in v0.2.0
func NewGravityBroadcastClient( logger zerolog.Logger, queryClient types.QueryClient, broadcastClient client.CosmosClient, ethSignerFn keystore.SignerFn, ethPersonalSignFn keystore.PersonalSignFn, msgsPerTx int, ) GravityBroadcastClient
Click to show internal directories.
Click to hide internal directories.