|
|
@ -78,18 +78,16 @@ class ETHContract(persistent.Persistent): |
|
|
|
|
|
|
|
|
|
|
|
if (m): |
|
|
|
if (m): |
|
|
|
code = m.group(1).replace(",", "\\n") |
|
|
|
code = m.group(1).replace(",", "\\n") |
|
|
|
str_eval += "\"" + code + "\" in easm_code" + " " |
|
|
|
str_eval += "\"" + code + "\" in easm_code" |
|
|
|
continue |
|
|
|
continue |
|
|
|
|
|
|
|
|
|
|
|
m = re.match(r'^func#([a-fA-F0-9]+)#$', token) |
|
|
|
m = re.match(r'^func#([a-fA-F0-9]+)#$', token) |
|
|
|
|
|
|
|
|
|
|
|
if (m): |
|
|
|
if (m): |
|
|
|
str_eval += "\"" + m.group(1) + "\" in easm_code" + " " |
|
|
|
str_eval += "\"" + m.group(1) + "\" in easm_code" |
|
|
|
|
|
|
|
|
|
|
|
continue |
|
|
|
continue |
|
|
|
|
|
|
|
|
|
|
|
print(str_eval) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return eval(str_eval.strip()) |
|
|
|
return eval(str_eval.strip()) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|