Versions in this module Expand all Collapse all v0 v0.9.1 Dec 24, 2021 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)