Documentation ¶
Index ¶
- Constants
- Variables
- func CheckResult(txHash common.Hash, reqType int) (bool, error)
- func CreateRandomArguments(addr common.Address) (*account.Account, *big.Int, string, int, error)
- func GetReceipt(cli *client.Client, txHash common.Hash, maxRetry int) map[string]interface{}
- func Init(accs []*account.Account, endpoint string, gp *big.Int)
- func MakeFunctionCall(addr common.Address) (string, error)
- func Run()
Constants ¶
View Source
const Name = "ethereumTxLegacyTC"
Variables ¶
View Source
var (
SmartContractAccount *account.Account
)
Functions ¶
func CheckResult ¶
CheckResult returns true and nil error, if expected results are observed, otherwise returns false and error.
func CreateRandomArguments ¶
CreateRandomArguments generates arguments randomly with various cases. simple value transfer, smart contract deployment, smart contract execution
func GetReceipt ¶
GetReceipt returns a transaction receipt. If receipt is nil, retry until maxRetry.
func MakeFunctionCall ¶
MakeFunctionCall returns a function call to execute smart contract.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.