Skip to content

Commit

Permalink
removed Identidy
Browse files Browse the repository at this point in the history
  • Loading branch information
madMAx43v3r committed Oct 23, 2024
1 parent c54cbad commit 21b24c2
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 431 deletions.
85 changes: 0 additions & 85 deletions generated/contract/include/mmx/contract/Identity.hxx

This file was deleted.

10 changes: 0 additions & 10 deletions generated/contract/include/mmx/contract/accept_generic.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
#include <mmx/contract/Binary.hxx>
#include <mmx/contract/Data.hxx>
#include <mmx/contract/Executable.hxx>
#include <mmx/contract/Identity.hxx>
#include <mmx/contract/MultiSig.hxx>
#include <mmx/contract/PubKey.hxx>
#include <mmx/contract/TokenBase.hxx>
Expand Down Expand Up @@ -48,15 +47,6 @@ void accept_generic(V& visitor, std::shared_ptr<const ::mmx::contract::Executabl
}
}

template<typename V>
void accept_generic(V& visitor, std::shared_ptr<const ::mmx::contract::Identity> value) {
if(value) {
value->accept_generic(visitor);
} else {
visitor.accept(nullptr);
}
}

template<typename V>
void accept_generic(V& visitor, std::shared_ptr<const ::mmx::contract::MultiSig> value) {
if(value) {
Expand Down
32 changes: 0 additions & 32 deletions generated/contract/include/mmx/contract/package.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ void register_all_types();
class Binary;
class Data;
class Executable;
class Identity;
class MultiSig;
class PubKey;
class TokenBase;
Expand All @@ -38,7 +37,6 @@ struct method_t;
MMX_CONTRACT_EXPORT extern const vnx::TypeCode* const vnx_native_type_code_Binary; ///< \private
MMX_CONTRACT_EXPORT extern const vnx::TypeCode* const vnx_native_type_code_Data; ///< \private
MMX_CONTRACT_EXPORT extern const vnx::TypeCode* const vnx_native_type_code_Executable; ///< \private
MMX_CONTRACT_EXPORT extern const vnx::TypeCode* const vnx_native_type_code_Identity; ///< \private
MMX_CONTRACT_EXPORT extern const vnx::TypeCode* const vnx_native_type_code_MultiSig; ///< \private
MMX_CONTRACT_EXPORT extern const vnx::TypeCode* const vnx_native_type_code_PubKey; ///< \private
MMX_CONTRACT_EXPORT extern const vnx::TypeCode* const vnx_native_type_code_TokenBase; ///< \private
Expand All @@ -55,7 +53,6 @@ namespace vnx {
void read(TypeInput& in, ::mmx::contract::Binary& value, const TypeCode* type_code, const uint16_t* code); ///< \private
void read(TypeInput& in, ::mmx::contract::Data& value, const TypeCode* type_code, const uint16_t* code); ///< \private
void read(TypeInput& in, ::mmx::contract::Executable& value, const TypeCode* type_code, const uint16_t* code); ///< \private
void read(TypeInput& in, ::mmx::contract::Identity& value, const TypeCode* type_code, const uint16_t* code); ///< \private
void read(TypeInput& in, ::mmx::contract::MultiSig& value, const TypeCode* type_code, const uint16_t* code); ///< \private
void read(TypeInput& in, ::mmx::contract::PubKey& value, const TypeCode* type_code, const uint16_t* code); ///< \private
void read(TypeInput& in, ::mmx::contract::TokenBase& value, const TypeCode* type_code, const uint16_t* code); ///< \private
Expand All @@ -66,7 +63,6 @@ void read(TypeInput& in, ::mmx::contract::method_t& value, const TypeCode* type_
void write(TypeOutput& out, const ::mmx::contract::Binary& value, const TypeCode* type_code, const uint16_t* code); ///< \private
void write(TypeOutput& out, const ::mmx::contract::Data& value, const TypeCode* type_code, const uint16_t* code); ///< \private
void write(TypeOutput& out, const ::mmx::contract::Executable& value, const TypeCode* type_code, const uint16_t* code); ///< \private
void write(TypeOutput& out, const ::mmx::contract::Identity& value, const TypeCode* type_code, const uint16_t* code); ///< \private
void write(TypeOutput& out, const ::mmx::contract::MultiSig& value, const TypeCode* type_code, const uint16_t* code); ///< \private
void write(TypeOutput& out, const ::mmx::contract::PubKey& value, const TypeCode* type_code, const uint16_t* code); ///< \private
void write(TypeOutput& out, const ::mmx::contract::TokenBase& value, const TypeCode* type_code, const uint16_t* code); ///< \private
Expand All @@ -77,7 +73,6 @@ void write(TypeOutput& out, const ::mmx::contract::method_t& value, const TypeCo
void read(std::istream& in, ::mmx::contract::Binary& value); ///< \private
void read(std::istream& in, ::mmx::contract::Data& value); ///< \private
void read(std::istream& in, ::mmx::contract::Executable& value); ///< \private
void read(std::istream& in, ::mmx::contract::Identity& value); ///< \private
void read(std::istream& in, ::mmx::contract::MultiSig& value); ///< \private
void read(std::istream& in, ::mmx::contract::PubKey& value); ///< \private
void read(std::istream& in, ::mmx::contract::TokenBase& value); ///< \private
Expand All @@ -88,7 +83,6 @@ void read(std::istream& in, ::mmx::contract::method_t& value); ///< \private
void write(std::ostream& out, const ::mmx::contract::Binary& value); ///< \private
void write(std::ostream& out, const ::mmx::contract::Data& value); ///< \private
void write(std::ostream& out, const ::mmx::contract::Executable& value); ///< \private
void write(std::ostream& out, const ::mmx::contract::Identity& value); ///< \private
void write(std::ostream& out, const ::mmx::contract::MultiSig& value); ///< \private
void write(std::ostream& out, const ::mmx::contract::PubKey& value); ///< \private
void write(std::ostream& out, const ::mmx::contract::TokenBase& value); ///< \private
Expand All @@ -99,7 +93,6 @@ void write(std::ostream& out, const ::mmx::contract::method_t& value); ///< \pri
void accept(Visitor& visitor, const ::mmx::contract::Binary& value); ///< \private
void accept(Visitor& visitor, const ::mmx::contract::Data& value); ///< \private
void accept(Visitor& visitor, const ::mmx::contract::Executable& value); ///< \private
void accept(Visitor& visitor, const ::mmx::contract::Identity& value); ///< \private
void accept(Visitor& visitor, const ::mmx::contract::MultiSig& value); ///< \private
void accept(Visitor& visitor, const ::mmx::contract::PubKey& value); ///< \private
void accept(Visitor& visitor, const ::mmx::contract::TokenBase& value); ///< \private
Expand All @@ -114,8 +107,6 @@ void accept_generic(V& visitor, std::shared_ptr<const ::mmx::contract::Data> val
template<typename V>
void accept_generic(V& visitor, std::shared_ptr<const ::mmx::contract::Executable> value); ///< \private
template<typename V>
void accept_generic(V& visitor, std::shared_ptr<const ::mmx::contract::Identity> value); ///< \private
template<typename V>
void accept_generic(V& visitor, std::shared_ptr<const ::mmx::contract::MultiSig> value); ///< \private
template<typename V>
void accept_generic(V& visitor, std::shared_ptr<const ::mmx::contract::PubKey> value); ///< \private
Expand Down Expand Up @@ -195,29 +186,6 @@ struct type<::mmx::contract::Executable> {
void create_dynamic_code(std::vector<uint16_t>& code, const ::mmx::contract::Executable& value, bool special = false);
};

/// \private
template<>
struct type<::mmx::contract::Identity> {
void read(TypeInput& in, ::mmx::contract::Identity& value, const TypeCode* type_code, const uint16_t* code) {
vnx::read(in, value, type_code, code);
}
void write(TypeOutput& out, const ::mmx::contract::Identity& value, const TypeCode* type_code, const uint16_t* code) {
vnx::write(out, value, type_code, code);
}
void read(std::istream& in, ::mmx::contract::Identity& value) {
vnx::read(in, value);
}
void write(std::ostream& out, const ::mmx::contract::Identity& value) {
vnx::write(out, value);
}
void accept(Visitor& visitor, const ::mmx::contract::Identity& value) {
vnx::accept(visitor, value);
}
const TypeCode* get_type_code();
void create_dynamic_code(std::vector<uint16_t>& code);
void create_dynamic_code(std::vector<uint16_t>& code, const ::mmx::contract::Identity& value, bool special = false);
};

/// \private
template<>
struct type<::mmx::contract::MultiSig> {
Expand Down
Loading

0 comments on commit 21b24c2

Please sign in to comment.