Revamp #235

Merged
zxq9 merged 12 commits from zomp2 into master 2025-01-22 21:12:55 +09:00
19 changed files with 29 additions and 12 deletions
Showing only changes of commit c176d5dd01 - Show all commits

View File

@ -10,6 +10,7 @@
%%% %%%
%%%------------------------------------------------------------------- %%%-------------------------------------------------------------------
-module(gmb_aevm_abi). -module(gmb_aevm_abi).
-vsn("3.4.1").
-define(HASH_SIZE, 32). -define(HASH_SIZE, 32).
-export([ create_calldata/4 -export([ create_calldata/4

View File

@ -1,4 +1,5 @@
-module(gmb_aevm_data). -module(gmb_aevm_data).
-vsn("3.4.1").
-export_type([data/0, -export_type([data/0,
type/0, type/0,

View File

@ -31,6 +31,7 @@
%%%------------------------------------------------------------------- %%%-------------------------------------------------------------------
-module(gmb_asm). -module(gmb_asm).
-vsn("3.4.1").
-export([ file/2 -export([ file/2
, pp/1 , pp/1

View File

@ -9,6 +9,7 @@
%%%------------------------------------------------------------------- %%%-------------------------------------------------------------------
-module(gmb_disassemble). -module(gmb_disassemble).
-vsn("3.4.1").
-export([ pp/1, -export([ pp/1,
format/2, format/2,

View File

@ -10,6 +10,7 @@
%%% %%%
%%%------------------------------------------------------------------- %%%-------------------------------------------------------------------
-module(gmb_fate_abi). -module(gmb_fate_abi).
-vsn("3.4.1").
-export([ create_calldata/2 -export([ create_calldata/2
, decode_calldata/2 , decode_calldata/2

View File

@ -86,6 +86,7 @@
%%%------------------------------------------------------------------- %%%-------------------------------------------------------------------
-module(gmb_fate_asm). -module(gmb_fate_asm).
-vsn("3.4.1").
-export([ assemble_file/3 -export([ assemble_file/3
, asm_to_bytecode/2 , asm_to_bytecode/2

View File

@ -7,6 +7,7 @@
%%% %%%
%%%------------------------------------------------------------------- %%%-------------------------------------------------------------------
-module(gmb_fate_code). -module(gmb_fate_code).
-vsn("3.4.1").
-export([ annotations/1 -export([ annotations/1
, deserialize/1 , deserialize/1

View File

@ -3,6 +3,7 @@
-include("gmb_fate_data.hrl"). -include("gmb_fate_data.hrl").
-module(gmb_fate_data). -module(gmb_fate_data).
-vsn("3.4.1").
-type fate_integer() :: ?FATE_INTEGER_T. -type fate_integer() :: ?FATE_INTEGER_T.
-type fate_boolean() :: ?FATE_BOOLEAN_T. -type fate_boolean() :: ?FATE_BOOLEAN_T.

View File

@ -40,6 +40,7 @@
%% %%
%% ------------------------------------------------------------------------ %% ------------------------------------------------------------------------
-module(gmb_fate_encoding). -module(gmb_fate_encoding).
-vsn("3.4.1").
-export([ deserialize/1 -export([ deserialize/1
, deserialize_one/1 , deserialize_one/1

View File

@ -1,4 +1,5 @@
-module(gmb_fate_generate_docs). -module(gmb_fate_generate_docs).
-vsn("3.4.1").
-export([generate_documentation/2, generate_documentation/3]). -export([generate_documentation/2, generate_documentation/3]).

View File

@ -1,4 +1,5 @@
-module(gmb_fate_generate_ops). -module(gmb_fate_generate_ops).
-vsn("3.4.1").
-export([ gen_and_halt/1 -export([ gen_and_halt/1
, generate/0 , generate/0

View File

@ -8,6 +8,7 @@
%%% @end %%% @end
%%% ------------------------------------------------------------------- %%% -------------------------------------------------------------------
-module(gmb_fate_maps). -module(gmb_fate_maps).
-vsn("3.4.1").
-include("gmb_fate_data.hrl"). -include("gmb_fate_data.hrl").

View File

@ -1,4 +1,5 @@
-module(gmb_heap). -module(gmb_heap).
-vsn("3.4.1").
-export([ to_binary/1 -export([ to_binary/1
, to_binary/2 , to_binary/2

View File

@ -9,6 +9,7 @@
%%%------------------------------------------------------------------- %%%-------------------------------------------------------------------
-module(gmb_memory). -module(gmb_memory).
-vsn("3.4.1").
-export([binary_to_words/1]). -export([binary_to_words/1]).

View File

@ -9,6 +9,7 @@
%%%------------------------------------------------------------------- %%%-------------------------------------------------------------------
-module(gmb_opcodes). -module(gmb_opcodes).
-vsn("3.4.1").
-export([ dup/1 -export([ dup/1
, mnemonic/1 , mnemonic/1

View File

@ -10,6 +10,7 @@
%%%------------------------------------------------------------------- %%%-------------------------------------------------------------------
-module(gmb_primops). -module(gmb_primops).
-vsn("3.4.1").
-export([ is_local_primop_op/1 -export([ is_local_primop_op/1
, op_needs_type_check/1 , op_needs_type_check/1
]). ]).

View File

@ -1,6 +1,6 @@
{application, gmbytecode, {application, gmbytecode,
[{description, "Bytecode definitions, serialization and deserialization for the Gajumaru."}, [{description, "Bytecode definitions, serialization and deserialization for the Gajumaru."},
{vsn, "3.4.0"}, {vsn, "3.4.1"},
{registered, []}, {registered, []},
{applications, {applications,
[kernel, [kernel,

View File

@ -1,4 +1,5 @@
-module(gmfateasm). -module(gmfateasm).
-vsn("3.4.1").
-export([main/1]). -export([main/1]).

View File

@ -1,19 +1,19 @@
{a_email,[]}. {name,"Gajumaru Bytecode"}.
{author,""}. {type,lib}.
{c_email,[]}. {modules,[]}.
{copyright,""}. {prefix,none}.
{desc,"A library and stand alone assembler for Gajumaru bytecode. This version supports AEVM bytecode and FATE bytecode."}.
{author,[]}.
{package_id,{"otpr","gmbytecode",{3,4,1}}}.
{deps,[{"otpr","gmserialization",{0,1,2}}, {deps,[{"otpr","gmserialization",{0,1,2}},
{"otpr","eblake2",{1,0,0}}, {"otpr","eblake2",{1,0,0}},
{"otpr","getopt",{1,0,2}}]}. {"otpr","getopt",{1,0,2}}]}.
{desc,"A library and stand alone assembler for Gajumaru bytecode. This version supports AEVM bytecode and FATE bytecode."}.
{file_exts,[]}.
{key_name,none}. {key_name,none}.
{a_email,[]}.
{c_email,[]}.
{copyright,[]}.
{file_exts,[]}.
{license,skip}. {license,skip}.
{modules,[]}.
{name,"Gajumaru Bytecode"}.
{package_id,{"otpr","gmbytecode",{3,4,0}}}.
{prefix,none}.
{repo_url,"https://git.qpq.swiss/QPQ-AG/gmbytecode"}. {repo_url,"https://git.qpq.swiss/QPQ-AG/gmbytecode"}.
{tags,["gajumaru","blockchain","fate","bytecode","crypto","gm"]}. {tags,["gajumaru","blockchain","fate","bytecode","crypto","gm"]}.
{type,lib}.
{ws_url,[]}. {ws_url,[]}.