From 90d99e1eca37f9e063cc4ac3dfe2644909287d9b Mon Sep 17 00:00:00 2001 From: Craig Everett Date: Sun, 3 May 2026 06:05:18 +0900 Subject: [PATCH] WIP --- src/gd_v_call.erl | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/gd_v_call.erl b/src/gd_v_call.erl index 9d63721..568a30d 100644 --- a/src/gd_v_call.erl +++ b/src/gd_v_call.erl @@ -33,10 +33,11 @@ gasprice = #w{} :: #w{}, gas = #w{} :: #w{}, amount = #w{} :: #w{}, + status = none :: status(), action = #w{} :: #w{}, tx_data = none :: none | map(), - tx_hash = #w{} :: #w{}, - tx_info = none :: none | hz:transaction(), + tx_hash = #w{} :: #w{}, % wxTextCtrl, single-line + tx_info = none :: #w{}, % wxTextCtrl, multi-line out = #w{} :: #w{}, copy = #w{} :: #w{}}). @@ -45,6 +46,10 @@ -type fun_type() :: call | dryr | init. -type fun_def() :: {fun_name(), fun_type()}. -type param() :: {Label :: string(), Check :: fun(), #w{}}. +-type status() :: none + | {submitted, TX_Hash :: string()} + | {rejected, Reason :: string()} + | {included, TX_Info :: map()}. %%% Interface