Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CompiledSolidity ¶
type CompiledSolidity struct { Compiled string ContractInfo compiler.ContractInfo PackedCall []byte }
CompiledSolidity wraps solc compilation of solidity and ABI generation
func CompileContract ¶
func CompileContract(solidityFile, evmVersion, contractName, method string, args []string) (*CompiledSolidity, error)
CompileContract uses solc to compile the Solidity source and
type Exerciser ¶
type Exerciser struct { URL string Call bool EstimateGas bool Contract string To *common.Address ContractName string Method string Args []string SolidityFile string ABI string Amount int64 EVMVersion string GasPrice int64 Gas int64 StatsdServer string StatsdFlushPeriod int64 StatsdTelegraf bool StatsdQualifier string RPCTimeout int PrivateFrom string PrivateFor []string Loops int TxnsPerLoop int ReceiptWaitMin int ReceiptWaitMax int Workers int DebugLevel int ExternalSign bool ExternalSignJSON string ChainID int64 Accounts []string TotalSuccesses uint64 TotalFailures uint64 Nonce int64 // contains filtered or unexported fields }
Exerciser is the Kaleido go-ethereum exerciser
func (*Exerciser) GetNetworkID ¶
GetNetworkID returns the network ID from the node
type SolcVersion ¶
type Worker ¶
type Worker struct { Index int Name string LoopIndex uint64 Exerciser *Exerciser Nonce uint64 CompiledContract *CompiledSolidity RPC *rpc.Client Account common.Address PrivateKey *ecdsa.PrivateKey Signer types.EIP155Signer // contains filtered or unexported fields }
Worker runs the specified number transactions the specified number of times then exits
func (*Worker) CallMultiple ¶
func (w *Worker) CallMultiple()
CallMultiple executes a contract based on loop inputs
func (*Worker) InstallContract ¶
InstallContract installs the contract and returns the address
Click to show internal directories.
Click to hide internal directories.