From 913abb6c7b3ba9af1c738d181217169a1f8c9208 Mon Sep 17 00:00:00 2001 From: Hans Svensson Date: Tue, 26 Mar 2019 13:09:28 +0100 Subject: [PATCH] Add AUTH primops + primop range --- include/aeb_opcodes.hrl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/aeb_opcodes.hrl b/include/aeb_opcodes.hrl index 9673dd6..86ecdff 100644 --- a/include/aeb_opcodes.hrl +++ b/include/aeb_opcodes.hrl @@ -189,3 +189,6 @@ -define(PRIM_CALL_CRYPTO_BLAKE2B, 403). -define(PRIM_CALL_CRYPTO_SHA256_STRING, 404). -define(PRIM_CALL_CRYPTO_BLAKE2B_STRING, 405). + +-define(PRIM_CALL_IN_AUTH_RANGE(__TTYPE__), (((__TTYPE__) > 499) andalso ((__TTYPE__) < 600))). +-define(PRIM_CALL_AUTH_TX_HASH, 500).