Versions in this module Expand all Collapse all v1 v1.0.2 Jul 6, 2023 v1.0.1 Jun 5, 2023 v1.0.0 Jun 4, 2023 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