Use typereps for registering oracles
This commit is contained in:
parent
2357813f49
commit
0d57563b49
@ -47,6 +47,7 @@ sources() ->
|
|||||||
, "tuple"
|
, "tuple"
|
||||||
, "mapofmap"
|
, "mapofmap"
|
||||||
, "immediates"
|
, "immediates"
|
||||||
|
, "oracles"
|
||||||
%% , "all_instructions"
|
%% , "all_instructions"
|
||||||
].
|
].
|
||||||
|
|
||||||
|
5
test/asm_code/oracles.fate
Normal file
5
test/asm_code/oracles.fate
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
;; CONTRACT oracles
|
||||||
|
|
||||||
|
FUNCTION register (address, integer) : oracle
|
||||||
|
ORACLE_REGISTER a arg0 () arg1 'string '{variant, [{tuple, []}, {tuple, [integer]}]}
|
||||||
|
RETURN
|
Loading…
x
Reference in New Issue
Block a user