Documentation ¶
Index ¶
- type ChainConfig
- type Noble
- func (n *Noble) AccountInfo(ctx context.Context) (uint64, uint64, error)
- func (n *Noble) Broadcast(ctx context.Context, logger log.Logger, msgs []*types.MessageState, ...) error
- func (n *Noble) CloseClients() error
- func (n *Noble) Domain() types.Domain
- func (n *Noble) InitializeBroadcaster(ctx context.Context, logger log.Logger, sequenceMap *types.SequenceMap) error
- func (n *Noble) InitializeClients(ctx context.Context, logger log.Logger) error
- func (n *Noble) IsDestinationCaller(destinationCaller []byte) (isCaller bool, readableAddress string)
- func (n *Noble) LastFlushedBlock() uint64
- func (n *Noble) LatestBlock() uint64
- func (n *Noble) Name() string
- func (n *Noble) SetLatestBlock(block uint64)
- func (n *Noble) StartListener(ctx context.Context, logger log.Logger, processingQueue chan *types.TxState, ...)
- func (n *Noble) TrackLatestBlockHeight(ctx context.Context, logger log.Logger, m *relayer.PromMetrics)
- func (n *Noble) WalletBalanceMetric(ctx context.Context, logger log.Logger, m *relayer.PromMetrics)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChainConfig ¶
type ChainConfig struct { RPC string `yaml:"rpc"` ChainID string `yaml:"chain-id"` StartBlock uint64 `yaml:"start-block"` LookbackPeriod uint64 `yaml:"lookback-period"` Workers uint32 `yaml:"workers"` TxMemo string `yaml:"tx-memo"` GasLimit uint64 `yaml:"gas-limit"` BroadcastRetries int `yaml:"broadcast-retries"` BroadcastRetryInterval int `yaml:"broadcast-retry-interval"` BlockQueueChannelSize uint64 `yaml:"block-queue-channel-size"` MinMintAmount uint64 `yaml:"min-mint-amount"` MinterPrivateKey string `yaml:"minter-private-key"` }
type Noble ¶
type Noble struct {
// contains filtered or unexported fields
}
func (*Noble) AccountInfo ¶
func (*Noble) Broadcast ¶
func (n *Noble) Broadcast( ctx context.Context, logger log.Logger, msgs []*types.MessageState, sequenceMap *types.SequenceMap, m *relayer.PromMetrics, ) error
func (*Noble) CloseClients ¶ added in v0.1.2
func (*Noble) InitializeBroadcaster ¶
func (*Noble) InitializeClients ¶ added in v0.1.2
func (*Noble) IsDestinationCaller ¶
func (*Noble) LastFlushedBlock ¶ added in v0.1.2
func (*Noble) LatestBlock ¶ added in v0.1.2
func (*Noble) SetLatestBlock ¶ added in v0.1.2
func (*Noble) StartListener ¶
func (*Noble) TrackLatestBlockHeight ¶ added in v0.1.2
func (*Noble) WalletBalanceMetric ¶ added in v0.1.2
Click to show internal directories.
Click to hide internal directories.