Compile name fee in contracts #629

Merged
zxq9 merged 4 commits from aens-at-full-node-ver-ta into master 2019-09-02 18:08:00 +09:00
Showing only changes of commit cf91a27fb2 - Show all commits

View File

@ -272,7 +272,7 @@ ast_body(?qid_app(["AENS", "preclaim"], Args, _, _), Icode) ->
ast_body(?qid_app(["AENS", "claim"], Args, _, _), Icode) ->
{Sign, [Addr, Name, Salt, NameFee]} = get_signature_arg(Args),
prim_call(?PRIM_CALL_AENS_CLAIM, #integer{value = 0},
[ast_body(Addr, Icode), ast_body(Name, Icode), ast_body(Salt, Icode), ast_body(Sign, Icode), ast_body(NameFee, Icode)],
[ast_body(Addr, Icode), ast_body(Name, Icode), ast_body(Salt, Icode), ast_body(NameFee, Icode), ast_body(Sign, Icode)],
[word, string, word, sign_t(), word], {tuple, []});
ast_body(?qid_app(["AENS", "transfer"], Args, _, _), Icode) ->