Versions in this module Expand all Collapse all v0 v0.3.0 Nov 14, 2024 v0.2.4 Nov 14, 2024 v0.2.3 Nov 13, 2024 v0.2.2 Nov 13, 2024 v0.2.1 Nov 13, 2024 v0.2.0 Nov 12, 2024 v0.1.8 Nov 13, 2024 v0.1.7 Nov 13, 2024 v0.1.6 Nov 13, 2024 v0.1.5 Nov 13, 2024 v0.1.2 Nov 12, 2024 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