Versions in this module Expand all Collapse all v0 v0.1.4 Aug 28, 2022 v0.1.3 Jul 27, 2022 v0.1.2 Jul 16, 2022 v0.1.1 Jun 29, 2022 v0.1.0 Jun 26, 2022 Changes in this version + var HOST = os.Getenv("HOST") + func DeployTestContract(t *testing.T, addr []byte) (hexutil.Bytes, map[string]interface{}) + func DeployTestContractWithFunction(t *testing.T, addr []byte) hexutil.Bytes + func GetAddress() ([]byte, error) + func GetGasPrice(t *testing.T) string + func GetNonce(t *testing.T, block string) hexutil.Uint64 + func GetTransactionReceipt(t *testing.T, hash hexutil.Bytes) map[string]interface + func HexToBigInt(t *testing.T, in string) *big.Int + func SendTestTransaction(t *testing.T, addr []byte) hexutil.Bytes + func UnlockAllAccounts(t *testing.T) + func WaitForReceipt(t *testing.T, hash hexutil.Bytes) map[string]interface + type Error struct + Code int + Data interface{} + Message string + type Request struct + ID int + Method string + Params interface{} + Version string + func CreateRequest(method string, params interface{}) Request + type Response struct + Error *Error + ID int + Result json.RawMessage + func Call(t *testing.T, method string, params interface{}) *Response + func CallWithError(method string, params interface{}) (*Response, error) + func CallWithSleep(t *testing.T, method string, params interface{}, sleep time.Duration) *Response