package
0.0.2-migrate-evm
Repository: https://github.com/scalarorg/scalar-core.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

Batched returns a broadcaster that batches msgs together if there is high traffic to increase throughput.
Broadcast sends the given tx to the blockchain and blocks until it is added to a block (or timeout).
PrepareTx returns a marshalled tx that can be broadcast to the blockchain.
SuppressExecutionErrs logs errors when msg executions fail and then suppresses them.
WithPollingInterval modifies how often the broadcaster checks the blockchain for tx responses.
WithRefund wraps a broadcaster into a refundableBroadcaster.
WithResponseTimeout sets the time to wait for a tx response.
WithRetry returns a broadcaster that retries the broadcast up to the given number of times if the broadcast fails.
WithStateManager tracks sequence numbers, so it can be used to broadcast consecutive txs.

# Interfaces

Broadcaster broadcasts msgs to the blockchain.

# Type aliases

BroadcasterOption modifies broadcaster behaviour.