Pt 164629640 auth tx hash for FATE #580
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
{erl_opts, [debug_info]}.
|
{erl_opts, [debug_info]}.
|
||||||
|
|
||||||
{deps, [ {aebytecode, {git, "https://github.com/aeternity/aebytecode.git", {ref, "7dd9c29"}}}
|
{deps, [ {aebytecode, {git, "https://github.com/aeternity/aebytecode.git", {ref, "506f9ca"}}}
|
||||||
, {getopt, "1.0.1"}
|
, {getopt, "1.0.1"}
|
||||||
, {jsx, {git, "https://github.com/talentdeficit/jsx.git",
|
, {jsx, {git, "https://github.com/talentdeficit/jsx.git",
|
||||||
{tag, "2.8.0"}}}
|
{tag, "2.8.0"}}}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{"1.1.0",
|
{"1.1.0",
|
||||||
[{<<"aebytecode">>,
|
[{<<"aebytecode">>,
|
||||||
{git,"https://github.com/aeternity/aebytecode.git",
|
{git,"https://github.com/aeternity/aebytecode.git",
|
||||||
{ref,"7dd9c29cc075b52c8f966696e88c8a29fc296240"}},
|
{ref,"506f9ca72ea5df5fb2abd3aaddcbf9d58423e556"}},
|
||||||
0},
|
0},
|
||||||
{<<"aeserialization">>,
|
{<<"aeserialization">>,
|
||||||
{git,"https://github.com/aeternity/aeserialization.git",
|
{git,"https://github.com/aeternity/aeserialization.git",
|
||||||
|
@ -101,6 +101,7 @@
|
|||||||
Op =:= 'ECVERIFY' orelse
|
Op =:= 'ECVERIFY' orelse
|
||||||
Op =:= 'ECVERIFY_SECP256K1' orelse
|
Op =:= 'ECVERIFY_SECP256K1' orelse
|
||||||
Op =:= 'CONTRACT_TO_ADDRESS' orelse
|
Op =:= 'CONTRACT_TO_ADDRESS' orelse
|
||||||
|
Op =:= 'AUTH_TX_HASH' orelse
|
||||||
false)).
|
false)).
|
||||||
|
|
||||||
-record(env, { contract, vars = [], locals = [], tailpos = true }).
|
-record(env, { contract, vars = [], locals = [], tailpos = true }).
|
||||||
@ -518,7 +519,7 @@ builtin_to_scode(_Env, aens_transfer, [_, _, _, _] = _Args) ->
|
|||||||
builtin_to_scode(_Env, aens_revoke, [_, _, _] = _Args) ->
|
builtin_to_scode(_Env, aens_revoke, [_, _, _] = _Args) ->
|
||||||
?TODO(fate_aens_revoke_instruction);
|
?TODO(fate_aens_revoke_instruction);
|
||||||
builtin_to_scode(_Env, auth_tx_hash, []) ->
|
builtin_to_scode(_Env, auth_tx_hash, []) ->
|
||||||
?TODO(fate_auth_tx_hash_instruction).
|
[aeb_fate_ops:auth_tx_hash(?a)].
|
||||||
|
|
||||||
%% -- Operators --
|
%% -- Operators --
|
||||||
|
|
||||||
@ -789,6 +790,7 @@ attributes(I) ->
|
|||||||
{'ECVERIFY', A, B, C, D} -> Pure(A, [B, C, D]);
|
{'ECVERIFY', A, B, C, D} -> Pure(A, [B, C, D]);
|
||||||
{'ECVERIFY_SECP256K1', A, B, C, D} -> Pure(A, [B, C, D]);
|
{'ECVERIFY_SECP256K1', A, B, C, D} -> Pure(A, [B, C, D]);
|
||||||
{'CONTRACT_TO_ADDRESS', A, B} -> Pure(A, [B]);
|
{'CONTRACT_TO_ADDRESS', A, B} -> Pure(A, [B]);
|
||||||
|
{'AUTH_TX_HASH', A} -> Pure(A, []);
|
||||||
{'ADDRESS', A} -> Pure(A, []);
|
{'ADDRESS', A} -> Pure(A, []);
|
||||||
{'BALANCE', A} -> Impure(A, []);
|
{'BALANCE', A} -> Impure(A, []);
|
||||||
{'BALANCE_OTHER', A, B} -> Impure(A, [B]);
|
{'BALANCE_OTHER', A, B} -> Impure(A, [B]);
|
||||||
@ -824,10 +826,6 @@ attributes(I) ->
|
|||||||
'AENS_UPDATE' -> Impure(?a, []); %% TODO
|
'AENS_UPDATE' -> Impure(?a, []); %% TODO
|
||||||
'AENS_TRANSFER' -> Impure(?a, []); %% TODO
|
'AENS_TRANSFER' -> Impure(?a, []); %% TODO
|
||||||
'AENS_REVOKE' -> Impure(?a, []); %% TODO
|
'AENS_REVOKE' -> Impure(?a, []); %% TODO
|
||||||
'ECVERIFY' -> Pure(?a, []); %% TODO
|
|
||||||
'SHA3' -> Pure(?a, []); %% TODO
|
|
||||||
'SHA256' -> Pure(?a, []); %% TODO
|
|
||||||
'BLAKE2B' -> Pure(?a, []); %% TODO
|
|
||||||
{'ABORT', A} -> Impure(pc, A);
|
{'ABORT', A} -> Impure(pc, A);
|
||||||
{'EXIT', A} -> Impure(pc, A);
|
{'EXIT', A} -> Impure(pc, A);
|
||||||
'NOP' -> Pure(none, [])
|
'NOP' -> Pure(none, [])
|
||||||
|
@ -120,8 +120,6 @@ compilable_contracts() ->
|
|||||||
not_yet_compilable(fate) ->
|
not_yet_compilable(fate) ->
|
||||||
["oracles", %% Oracle.register
|
["oracles", %% Oracle.register
|
||||||
"events", %% events
|
"events", %% events
|
||||||
"basic_auth", %% auth_tx_hash instruction
|
|
||||||
"bitcoin_auth", %% auth_tx_hash instruction
|
|
||||||
"address_literals", %% oracle_query_id literals
|
"address_literals", %% oracle_query_id literals
|
||||||
"address_chain" %% Oracle.check_query
|
"address_chain" %% Oracle.check_query
|
||||||
];
|
];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user