Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( TaskName = "generate_eoa_transactions" TaskDescriptor = &types.TaskDescriptor{ Name: TaskName, Description: "Generates normal eoa transactions and sends them to the network", Config: DefaultConfig(), NewTask: NewTask, } )
Functions ¶
func NewTask ¶
func NewTask(ctx *types.TaskContext, options *types.TaskOptions) (types.Task, error)
Types ¶
type Config ¶
type Config struct { LimitPerBlock int `yaml:"limitPerBlock" json:"limitPerBlock"` LimitTotal int `yaml:"limitTotal" json:"limitTotal"` LimitPending int `yaml:"limitPending" json:"limitPending"` PrivateKey string `yaml:"privateKey" json:"privateKey"` ChildWallets uint64 `yaml:"childWallets" json:"childWallets"` WalletSeed string `yaml:"walletSeed" json:"walletSeed"` RefillPendingLimit uint64 `yaml:"refillPendingLimit" json:"refillPendingLimit"` RefillFeeCap *big.Int `yaml:"refillFeeCap" json:"refillFeeCap"` RefillTipCap *big.Int `yaml:"refillTipCap" json:"refillTipCap"` RefillAmount *big.Int `yaml:"refillAmount" json:"refillAmount"` RefillMinBalance *big.Int `yaml:"refillMinBalance" json:"refillMinBalance"` LegacyTxType bool `yaml:"legacyTxType" json:"legacyTxType"` FeeCap *big.Int `yaml:"feeCap" json:"feeCap"` TipCap *big.Int `yaml:"tipCap" json:"tipCap"` GasLimit uint64 `yaml:"gasLimit" json:"gasLimit"` TargetAddress string `yaml:"targetAddress" json:"targetAddress"` RandomTarget bool `yaml:"randomTarget" json:"randomTarget"` ContractDeployment bool `yaml:"contractDeployment" json:"contractDeployment"` CallData string `yaml:"callData" json:"callData"` RandomAmount bool `yaml:"randomAmount" json:"randomAmount"` Amount *big.Int `yaml:"amount" json:"amount"` ClientPattern string `yaml:"clientPattern" json:"clientPattern"` ExcludeClientPattern string `yaml:"excludeClientPattern" json:"excludeClientPattern"` }
func DefaultConfig ¶
func DefaultConfig() Config
type Task ¶
type Task struct {
// contains filtered or unexported fields
}
func (*Task) Description ¶
func (*Task) LoadConfig ¶
func (*Task) Logger ¶
func (t *Task) Logger() logrus.FieldLogger
Click to show internal directories.
Click to hide internal directories.