broadcaster

package
v0.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 24, 2021 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TxBroadcaster

type TxBroadcaster struct {
	// contains filtered or unexported fields
}

TxBroadcaster uses to broadcast transaction to each chain

func NewTxBroadcaster

func NewTxBroadcaster(cdc *codec.Codec) *TxBroadcaster

NewTxBroadcaster creates new broadcaster

func (*TxBroadcaster) BroadcastToHeimdall

func (tb *TxBroadcaster) BroadcastToHeimdall(msg sdk.Msg) error

BroadcastToHeimdall broadcast to heimdall

func (*TxBroadcaster) BroadcastToMatic

func (tb *TxBroadcaster) BroadcastToMatic(msg bor.CallMsg) error

BroadcastToMatic broadcast to matic

func (*TxBroadcaster) BroadcastToRootchain

func (tb *TxBroadcaster) BroadcastToRootchain()

BroadcastToRootchain broadcast to rootchain

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL