accounts/abi/abigen: remove unused template helper function

This commit is contained in:
Jared Wasinger 2025-02-17 13:26:24 -08:00
parent a9b2384c19
commit 9eddba42ba

View file

@ -353,13 +353,10 @@ func BindV2(types []string, abis []string, bytecodes []string, pkg string, libs
}
buffer := new(bytes.Buffer)
funcs := map[string]interface{}{
"bindtype": bindType,
"bindtopictype": bindTopicType,
"capitalise": abi.ToCamelCase,
"decapitalise": decapitalise,
"add": func(val1, val2 int) int {
return val1 + val2
},
"bindtype": bindType,
"bindtopictype": bindTopicType,
"capitalise": abi.ToCamelCase,
"decapitalise": decapitalise,
"ispointertype": isPointerType,
"underlyingbindtype": underlyingBindType,
}