Documentation ¶
Index ¶
- func DistributeFunds(ctx context.Context, client ethclient.Client, keys []*key.Key, numKeys int, ...) ([]*key.Key, error)
- func ExecuteLoader(ctx context.Context, config config.Config) error
- func NewSingleAddressTxWorker(ctx context.Context, client ethclient.Client, address common.Address) *singleAddressTxWorker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DistributeFunds ¶
func DistributeFunds(ctx context.Context, client ethclient.Client, keys []*key.Key, numKeys int, minFundsPerAddr *big.Int) ([]*key.Key, error)
DistributeFunds ensures that each address in keys has at least [minFundsPerAddr] by sending funds from the key with the highest starting balance. This function returns a set of at least [numKeys] keys, each having a minimum balance [minFundsPerAddr].
func ExecuteLoader ¶
ExecuteLoader creates txSequences from config and has txAgents execute the specified simulation.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.