Make Contract Calls Great Again #35

Merged
zxq9 merged 37 commits from iface3 into master 2026-05-10 15:39:25 +09:00
Showing only changes of commit 90d99e1eca - Show all commits
+7 -2
View File
@@ -33,10 +33,11 @@
gasprice = #w{} :: #w{}, gasprice = #w{} :: #w{},
gas = #w{} :: #w{}, gas = #w{} :: #w{},
amount = #w{} :: #w{}, amount = #w{} :: #w{},
status = none :: status(),
action = #w{} :: #w{}, action = #w{} :: #w{},
tx_data = none :: none | map(), tx_data = none :: none | map(),
tx_hash = #w{} :: #w{}, tx_hash = #w{} :: #w{}, % wxTextCtrl, single-line
tx_info = none :: none | hz:transaction(), tx_info = none :: #w{}, % wxTextCtrl, multi-line
out = #w{} :: #w{}, out = #w{} :: #w{},
copy = #w{} :: #w{}}). copy = #w{} :: #w{}}).
@@ -45,6 +46,10 @@
-type fun_type() :: call | dryr | init. -type fun_type() :: call | dryr | init.
-type fun_def() :: {fun_name(), fun_type()}. -type fun_def() :: {fun_name(), fun_type()}.
-type param() :: {Label :: string(), Check :: fun(), #w{}}. -type param() :: {Label :: string(), Check :: fun(), #w{}}.
-type status() :: none
| {submitted, TX_Hash :: string()}
| {rejected, Reason :: string()}
| {included, TX_Info :: map()}.
%%% Interface %%% Interface