smart_account_creator
smart_account_creator copied to clipboard
Many Compile errors
Here is my error output when I run
eosio-cpp -I. -abigen sac.cpp -o sac.wasm
using eosio.cdt v1.7.0
In file included from /Users/boid/Dev/boidDev/smart_account_creator/sac.cpp:1:
In file included from ./sac.hpp:5:
./public_key.hpp:68:27: error: no matching constructor for initialization of 'eosio::public_key' (aka 'variant<array<char, 33>, array<char, 33>, eosio::webauthn_public_key>')
eosio::public_key key{static_cast<uint8_t>(key_type::k1)};
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/eosio.cdt/bin/../include/libcxx/variant:1113:3: note: candidate constructor not viable: no known conversion from 'uint8_t' (aka 'unsigned char') to 'const std::__1::variant<std::__1::array<char, 33>, std::__1::array<char, 33>, eosio::webauthn_public_key>' for 1st argument
variant(const variant&) = default;
^
/usr/local/eosio.cdt/bin/../include/libcxx/variant:1114:3: note: candidate constructor not viable: no known conversion from 'uint8_t' (aka 'unsigned char') to 'std::__1::variant<std::__1::array<char, 33>, std::__1::array<char, 33>, eosio::webauthn_public_key>' for 1st argument
variant(variant&&) = default;
^
/usr/local/eosio.cdt/bin/../include/libcxx/variant:1126:13: note: candidate template ignored: substitution failure [with _Arg = unsigned char, $1 = 0, $2 = 0, $3 = 0]: no type named 'type' in 'std::__1::result_of<std::__1::__variant_detail::__overload<std::__1::array<char, 33>, std::__1::array<char, 33>, eosio::webauthn_public_key> (unsigned char &&)>'
constexpr variant(_Arg&& __arg) noexcept(
^
/usr/local/eosio.cdt/bin/../include/libcxx/variant:1135:22: note: candidate template ignored: could not match 'in_place_index_t<_Idx>' against 'unsigned char'
explicit constexpr variant(
^
/usr/local/eosio.cdt/bin/../include/libcxx/variant:1163:22: note: candidate template ignored: could not match 'in_place_type_t<type-parameter-0-0>' against 'unsigned char'
explicit constexpr variant(in_place_type_t<_Tp>, _Args&&... __args) noexcept(
^
/usr/local/eosio.cdt/bin/../include/libcxx/variant:1110:13: note: candidate constructor template not viable: requires 0 arguments, but 1 was provided
constexpr variant() noexcept(is_nothrow_default_constructible_v<__first_type>)
^
/usr/local/eosio.cdt/bin/../include/libcxx/variant:1149:22: note: candidate constructor template not viable: requires at least 2 arguments, but 1 was provided
explicit constexpr variant(
^
/usr/local/eosio.cdt/bin/../include/libcxx/variant:1176:22: note: candidate constructor template not viable: requires at least 2 arguments, but 1 was provided
explicit constexpr variant(
^
In file included from /Users/boid/Dev/boidDev/smart_account_creator/sac.cpp:1:
In file included from ./sac.hpp:5:
./public_key.hpp:57:60: error: no member named 'data' in 'std::__1::variant<std::__1::array<char, 33>, std::__1::array<char, 33>, eosio::webauthn_public_key>'
static const auto size = std::tuple_size<decltype(Key::data)>::value;
~~~~~^
./public_key.hpp:73:16: note: in instantiation of function template specialization 'abieos::string_to_key<std::__1::variant<std::__1::array<char, 33>, std::__1::array<char, 33>, eosio::webauthn_public_key>, 3>' requested here
return string_to_key<eosio::public_key>(s.substr(7), key_type::r1, "R1");
^
./public_key.hpp:59:9: error: no matching constructor for initialization of 'std::__1::variant<std::__1::array<char, 33>, std::__1::array<char, 33>, eosio::webauthn_public_key>'
Key result{static_cast<uint8_t>(type)};
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/eosio.cdt/bin/../include/libcxx/variant:1113:3: note: candidate constructor not viable: no known conversion from 'uint8_t' (aka 'unsigned char') to 'const std::__1::variant<std::__1::array<char, 33>, std::__1::array<char, 33>, eosio::webauthn_public_key>' for 1st argument
variant(const variant&) = default;
^
/usr/local/eosio.cdt/bin/../include/libcxx/variant:1114:3: note: candidate constructor not viable: no known conversion from 'uint8_t' (aka 'unsigned char') to 'std::__1::variant<std::__1::array<char, 33>, std::__1::array<char, 33>, eosio::webauthn_public_key>' for 1st argument
variant(variant&&) = default;
^
/usr/local/eosio.cdt/bin/../include/libcxx/variant:1126:13: note: candidate template ignored: substitution failure [with _Arg = unsigned char, $1 = 0, $2 = 0, $3 = 0]: no type named 'type' in 'std::__1::result_of<std::__1::__variant_detail::__overload<std::__1::array<char, 33>, std::__1::array<char, 33>, eosio::webauthn_public_key> (unsigned char &&)>'
constexpr variant(_Arg&& __arg) noexcept(
^
/usr/local/eosio.cdt/bin/../include/libcxx/variant:1135:22: note: candidate template ignored: could not match 'in_place_index_t<_Idx>' against 'unsigned char'
explicit constexpr variant(
^
/usr/local/eosio.cdt/bin/../include/libcxx/variant:1163:22: note: candidate template ignored: could not match 'in_place_type_t<type-parameter-0-0>' against 'unsigned char'
explicit constexpr variant(in_place_type_t<_Tp>, _Args&&... __args) noexcept(
^
/usr/local/eosio.cdt/bin/../include/libcxx/variant:1110:13: note: candidate constructor template not viable: requires 0 arguments, but 1 was provided
constexpr variant() noexcept(is_nothrow_default_constructible_v<__first_type>)
^
/usr/local/eosio.cdt/bin/../include/libcxx/variant:1149:22: note: candidate constructor template not viable: requires at least 2 arguments, but 1 was provided
explicit constexpr variant(
^
/usr/local/eosio.cdt/bin/../include/libcxx/variant:1176:22: note: candidate constructor template not viable: requires at least 2 arguments, but 1 was provided
explicit constexpr variant(
^
In file included from /Users/boid/Dev/boidDev/smart_account_creator/sac.cpp:1:
In file included from ./sac.hpp:1:
In file included from /usr/local/eosio.cdt/bin/../include/eosiolib/contracts/eosio/eosio.hpp:6:
In file included from /usr/local/eosio.cdt/bin/../include/eosiolib/contracts/eosio/../../contracts/eosio/action.hpp:9:
In file included from /usr/local/eosio.cdt/bin/../include/eosiolib/core/eosio/datastream.hpp:25:
In file included from /usr/local/eosio.cdt/bin/../include/boost/pfr.hpp:12:
In file included from /usr/local/eosio.cdt/bin/../include/boost/pfr/precise.hpp:12:
In file included from /usr/local/eosio.cdt/bin/../include/boost/pfr/precise/core.hpp:23:
In file included from /usr/local/eosio.cdt/bin/../include/boost/pfr/detail/core14.hpp:13:
In file included from /usr/local/eosio.cdt/bin/../include/boost/pfr/detail/core14_loophole.hpp:29:
/usr/local/eosio.cdt/bin/../include/boost/pfr/detail/offset_based_getter.hpp:63:3: error: static_assert failed "Member sequence does not indicate correct size for struct type!"
static_assert(sizeof(U) == sizeof(S), "Member sequence does not indicate correct size for struct type!");
^ ~~~~~~~~~~~~~~~~~~~~~~
/usr/local/eosio.cdt/bin/../include/boost/pfr/detail/core14_loophole.hpp:112:9: note: in instantiation of template class 'boost::pfr::detail::offset_based_getter<sac::order, boost::pfr::detail::sequence_tuple::tuple<unsigned long long, unsigned int, eosio::fixed_bytes<32>, eosio::webauthn_public_key, eosio::webauthn_public_key> >' requested here
offset_based_getter<type, tuple_type>{},
^
/usr/local/eosio.cdt/bin/../include/boost/pfr/detail/core14_loophole.hpp:190:29: note: in instantiation of function template specialization 'boost::pfr::detail::tie_as_tuple_loophole_impl<sac::order>' requested here
boost::pfr::detail::tie_as_tuple_loophole_impl(t)
^
/usr/local/eosio.cdt/bin/../include/boost/pfr/precise/core.hpp:145:27: note: in instantiation of function template specialization 'boost::pfr::detail::for_each_field_dispatcher<sac::order, (lambda at /usr/local/eosio.cdt/bin/../include/boost/pfr/precise/core.hpp:147:9), 0, 1, 2, 3, 4>' requested here
::boost::pfr::detail::for_each_field_dispatcher(
^
/usr/local/eosio.cdt/bin/../include/eosiolib/core/eosio/datastream.hpp:896:16: note: in instantiation of function template specialization 'boost::pfr::for_each_field<sac::order &, (lambda at /usr/local/eosio.cdt/bin/../include/eosiolib/core/eosio/datastream.hpp:896:34)>' requested here
boost::pfr::for_each_field(v, [&](auto& field) {
^
/usr/local/eosio.cdt/bin/../include/eosiolib/contracts/eosio/multi_index.hpp:782:16: note: in instantiation of function template specialization 'eosio::operator>><eosio::datastream<const char *>, sac::order, nullptr>' requested here
ds >> val;
^
/usr/local/eosio.cdt/bin/../include/libcxx/memory:3026:32: note: in instantiation of function template specialization 'eosio::multi_index<11948801327611510784, sac::order, eosio::indexed_by<4584856835198025728, eosio::const_mem_fun<sac::order, eosio::fixed_bytes<32>, &sac::order::by_checksum> >, eosio::indexed_by<6299106148616765440, eosio::const_mem_fun<sac::order, unsigned long long, &sac::order::get_expires_at> > >::item::item<(lambda at /usr/local/eosio.cdt/bin/../include/eosiolib/contracts/eosio/multi_index.hpp:780:51)>' requested here
return unique_ptr<_Tp>(new _Tp(_VSTD::forward<_Args>(__args)...));
^
/usr/local/eosio.cdt/bin/../include/eosiolib/contracts/eosio/multi_index.hpp:780:26: note: in instantiation of function template specialization 'std::__1::make_unique<eosio::multi_index<11948801327611510784, sac::order, eosio::indexed_by<4584856835198025728, eosio::const_mem_fun<sac::order, eosio::fixed_bytes<32>, &sac::order::by_checksum> >, eosio::indexed_by<6299106148616765440, eosio::const_mem_fun<sac::order, unsigned long long, &sac::order::get_expires_at> > >::item, const eosio::multi_index<11948801327611510784, sac::order, eosio::indexed_by<4584856835198025728, eosio::const_mem_fun<sac::order, eosio::fixed_bytes<32>, &sac::order::by_checksum> >, eosio::indexed_by<6299106148616765440, eosio::const_mem_fun<sac::order, unsigned long long, &sac::order::get_expires_at> > > *, (lambda at /usr/local/eosio.cdt/bin/../include/eosiolib/contracts/eosio/multi_index.hpp:780:51)>' requested here
auto itm = std::make_unique<item>( this, [&]( auto& i ) {
^
/usr/local/eosio.cdt/bin/../include/eosiolib/contracts/eosio/multi_index.hpp:1777:26: note: in instantiation of member function 'eosio::multi_index<11948801327611510784, sac::order, eosio::indexed_by<4584856835198025728, eosio::const_mem_fun<sac::order, eosio::fixed_bytes<32>, &sac::order::by_checksum> >, eosio::indexed_by<6299106148616765440, eosio::const_mem_fun<sac::order, unsigned long long, &sac::order::get_expires_at> > >::load_object_by_primary_iterator' requested here
const item& i = load_object_by_primary_iterator( itr );
^
./sac.hpp:107:29: note: in instantiation of member function 'eosio::multi_index<11948801327611510784, sac::order, eosio::indexed_by<4584856835198025728, eosio::const_mem_fun<sac::order, eosio::fixed_bytes<32>, &sac::order::by_checksum> >, eosio::indexed_by<6299106148616765440, eosio::const_mem_fun<sac::order, unsigned long long, &sac::order::get_expires_at> > >::find' requested here
orders.erase(orders.find(item.primary_key()));
^
In file included from /Users/boid/Dev/boidDev/smart_account_creator/sac.cpp:1:
In file included from ./sac.hpp:1:
In file included from /usr/local/eosio.cdt/bin/../include/eosiolib/contracts/eosio/eosio.hpp:6:
In file included from /usr/local/eosio.cdt/bin/../include/eosiolib/contracts/eosio/../../contracts/eosio/action.hpp:9:
In file included from /usr/local/eosio.cdt/bin/../include/eosiolib/core/eosio/datastream.hpp:25:
In file included from /usr/local/eosio.cdt/bin/../include/boost/pfr.hpp:12:
In file included from /usr/local/eosio.cdt/bin/../include/boost/pfr/precise.hpp:12:
In file included from /usr/local/eosio.cdt/bin/../include/boost/pfr/precise/core.hpp:23:
In file included from /usr/local/eosio.cdt/bin/../include/boost/pfr/detail/core14.hpp:13:
In file included from /usr/local/eosio.cdt/bin/../include/boost/pfr/detail/core14_loophole.hpp:29:
/usr/local/eosio.cdt/bin/../include/boost/pfr/detail/offset_based_getter.hpp:63:3: error: static_assert failed "Member sequence does not indicate correct size for struct type!"
static_assert(sizeof(U) == sizeof(S), "Member sequence does not indicate correct size for struct type!");
^ ~~~~~~~~~~~~~~~~~~~~~~
/usr/local/eosio.cdt/bin/../include/boost/pfr/detail/core14_loophole.hpp:112:9: note: in instantiation of template class 'boost::pfr::detail::offset_based_getter<sac::key_weight, boost::pfr::detail::sequence_tuple::tuple<eosio::webauthn_public_key, unsigned short> >' requested here
offset_based_getter<type, tuple_type>{},
^
/usr/local/eosio.cdt/bin/../include/boost/pfr/detail/core14_loophole.hpp:190:29: note: in instantiation of function template specialization 'boost::pfr::detail::tie_as_tuple_loophole_impl<const sac::key_weight>' requested here
boost::pfr::detail::tie_as_tuple_loophole_impl(t)
^
/usr/local/eosio.cdt/bin/../include/boost/pfr/precise/core.hpp:145:27: note: in instantiation of function template specialization 'boost::pfr::detail::for_each_field_dispatcher<const sac::key_weight, (lambda at /usr/local/eosio.cdt/bin/../include/boost/pfr/precise/core.hpp:147:9), 0, 1>' requested here
::boost::pfr::detail::for_each_field_dispatcher(
^
/usr/local/eosio.cdt/bin/../include/eosiolib/core/eosio/datastream.hpp:878:16: note: in instantiation of function template specialization 'boost::pfr::for_each_field<const sac::key_weight &, (lambda at /usr/local/eosio.cdt/bin/../include/eosiolib/core/eosio/datastream.hpp:878:34)>' requested here
boost::pfr::for_each_field(v, [&](const auto& field) {
^
/usr/local/eosio.cdt/bin/../include/eosiolib/core/eosio/datastream.hpp:701:10: note: in instantiation of function template specialization 'eosio::operator<<<eosio::datastream<size_t>, sac::key_weight, nullptr>' requested here
ds << i;
^
/usr/local/eosio.cdt/bin/../include/eosiolib/core/eosio/datastream.hpp:879:10: note: (skipping 9 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
ds << field;
^
/usr/local/eosio.cdt/bin/../include/eosiolib/core/eosio/datastream.hpp:878:16: note: in instantiation of function template specialization 'boost::pfr::for_each_field<const sac::newaccount &, (lambda at /usr/local/eosio.cdt/bin/../include/eosiolib/core/eosio/datastream.hpp:878:34)>' requested here
boost::pfr::for_each_field(v, [&](const auto& field) {
^
/usr/local/eosio.cdt/bin/../include/eosiolib/core/eosio/datastream.hpp:978:6: note: in instantiation of function template specialization 'eosio::operator<<<eosio::datastream<size_t>, sac::newaccount, nullptr>' requested here
ps << value;
^
/usr/local/eosio.cdt/bin/../include/eosiolib/core/eosio/datastream.hpp:994:17: note: in instantiation of function template specialization 'eosio::pack_size<sac::newaccount>' requested here
result.resize(pack_size(value));
^
/usr/local/eosio.cdt/bin/../include/eosiolib/contracts/eosio/../../contracts/eosio/action.hpp:304:57: note: in instantiation of function template specialization 'eosio::pack<sac::newaccount>' requested here
:account(a), name(n), authorization(1,auth), data(pack(std::forward<T>(value))) {}
^
./sac.hpp:255:7: note: in instantiation of function template specialization 'eosio::action::action<const sac::newaccount &>' requested here
action(
^
In file included from /Users/boid/Dev/boidDev/smart_account_creator/sac.cpp:1:
In file included from ./sac.hpp:1:
In file included from /usr/local/eosio.cdt/bin/../include/eosiolib/contracts/eosio/eosio.hpp:6:
In file included from /usr/local/eosio.cdt/bin/../include/eosiolib/contracts/eosio/../../contracts/eosio/action.hpp:9:
In file included from /usr/local/eosio.cdt/bin/../include/eosiolib/core/eosio/datastream.hpp:25:
In file included from /usr/local/eosio.cdt/bin/../include/boost/pfr.hpp:12:
In file included from /usr/local/eosio.cdt/bin/../include/boost/pfr/precise.hpp:12:
In file included from /usr/local/eosio.cdt/bin/../include/boost/pfr/precise/core.hpp:23:
In file included from /usr/local/eosio.cdt/bin/../include/boost/pfr/detail/core14.hpp:13:
/usr/local/eosio.cdt/bin/../include/boost/pfr/detail/core14_loophole.hpp:190:9: error: no matching function for call to 'tie_as_tuple_loophole_impl'
boost::pfr::detail::tie_as_tuple_loophole_impl(t)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/eosio.cdt/bin/../include/boost/pfr/precise/core.hpp:145:27: note: in instantiation of function template specialization 'boost::pfr::detail::for_each_field_dispatcher<const sac::key_weight, (lambda at /usr/local/eosio.cdt/bin/../include/boost/pfr/precise/core.hpp:147:9), 0, 1>' requested here
::boost::pfr::detail::for_each_field_dispatcher(
^
/usr/local/eosio.cdt/bin/../include/eosiolib/core/eosio/datastream.hpp:878:16: note: in instantiation of function template specialization 'boost::pfr::for_each_field<const sac::key_weight &, (lambda at /usr/local/eosio.cdt/bin/../include/eosiolib/core/eosio/datastream.hpp:878:34)>' requested here
boost::pfr::for_each_field(v, [&](const auto& field) {
^
/usr/local/eosio.cdt/bin/../include/eosiolib/core/eosio/datastream.hpp:701:10: note: in instantiation of function template specialization 'eosio::operator<<<eosio::datastream<char *>, sac::key_weight, nullptr>' requested here
ds << i;
^
/usr/local/eosio.cdt/bin/../include/eosiolib/core/eosio/datastream.hpp:879:10: note: in instantiation of function template specialization 'eosio::operator<<<eosio::datastream<char *>, sac::key_weight>' requested here
ds << field;
^
/usr/local/eosio.cdt/bin/../include/boost/pfr/detail/for_each_field_impl.hpp:35:10: note: in instantiation of function template specialization 'boost::pfr::detail::for_each_field_impl_apply<const std::__1::vector<sac::key_weight, std::__1::allocator<sac::key_weight> > &, (lambda at /usr/local/eosio.cdt/bin/../include/eosiolib/core/eosio/datastream.hpp:878:34), std::__1::integral_constant<unsigned int, 1> >' requested here
for_each_field_impl_apply(sequence_tuple::get<I>(t), std::forward<F>(f), size_t_<I>{}, 1L),
^
/usr/local/eosio.cdt/bin/../include/boost/pfr/precise/core.hpp:152:35: note: (skipping 6 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
::boost::pfr::detail::for_each_field_impl(
^
/usr/local/eosio.cdt/bin/../include/boost/pfr/precise/core.hpp:145:27: note: in instantiation of function template specialization 'boost::pfr::detail::for_each_field_dispatcher<const sac::newaccount, (lambda at /usr/local/eosio.cdt/bin/../include/boost/pfr/precise/core.hpp:147:9), 0, 1, 2, 3>' requested here
::boost::pfr::detail::for_each_field_dispatcher(
^
/usr/local/eosio.cdt/bin/../include/eosiolib/core/eosio/datastream.hpp:878:16: note: in instantiation of function template specialization 'boost::pfr::for_each_field<const sac::newaccount &, (lambda at /usr/local/eosio.cdt/bin/../include/eosiolib/core/eosio/datastream.hpp:878:34)>' requested here
boost::pfr::for_each_field(v, [&](const auto& field) {
^
/usr/local/eosio.cdt/bin/../include/eosiolib/core/eosio/datastream.hpp:997:6: note: in instantiation of function template specialization 'eosio::operator<<<eosio::datastream<char *>, sac::newaccount, nullptr>' requested here
ds << value;
^
/usr/local/eosio.cdt/bin/../include/eosiolib/contracts/eosio/../../contracts/eosio/action.hpp:304:57: note: in instantiation of function template specialization 'eosio::pack<sac::newaccount>' requested here
:account(a), name(n), authorization(1,auth), data(pack(std::forward<T>(value))) {}
^
./sac.hpp:255:7: note: in instantiation of function template specialization 'eosio::action::action<const sac::newaccount &>' requested here
action(
^
/usr/local/eosio.cdt/bin/../include/boost/pfr/detail/core14_loophole.hpp:105:6: note: candidate template ignored: substitution failure [with T = const sac::key_weight]
auto tie_as_tuple_loophole_impl(T& lvalue) noexcept {
^
/usr/local/eosio.cdt/bin/../include/boost/pfr/detail/core14_loophole.hpp:190:9: error: no matching function for call to 'tie_as_tuple_loophole_impl'
boost::pfr::detail::tie_as_tuple_loophole_impl(t)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/eosio.cdt/bin/../include/boost/pfr/precise/core.hpp:145:27: note: in instantiation of function template specialization 'boost::pfr::detail::for_each_field_dispatcher<const sac::order, (lambda at /usr/local/eosio.cdt/bin/../include/boost/pfr/precise/core.hpp:147:9), 0, 1, 2, 3, 4>' requested here
::boost::pfr::detail::for_each_field_dispatcher(
^
/usr/local/eosio.cdt/bin/../include/eosiolib/core/eosio/datastream.hpp:878:16: note: in instantiation of function template specialization 'boost::pfr::for_each_field<const sac::order &, (lambda at /usr/local/eosio.cdt/bin/../include/eosiolib/core/eosio/datastream.hpp:878:34)>' requested here
boost::pfr::for_each_field(v, [&](const auto& field) {
^
/usr/local/eosio.cdt/bin/../include/eosiolib/contracts/eosio/multi_index.hpp:1540:16: note: in instantiation of function template specialization 'eosio::operator<<<eosio::datastream<char *>, sac::order, nullptr>' requested here
ds << obj;
^
/usr/local/eosio.cdt/bin/../include/libcxx/memory:3026:32: note: in instantiation of function template specialization 'eosio::multi_index<11948801327611510784, sac::order, eosio::indexed_by<4584856835198025728, eosio::const_mem_fun<sac::order, eosio::fixed_bytes<32>, &sac::order::by_checksum> >, eosio::indexed_by<6299106148616765440, eosio::const_mem_fun<sac::order, unsigned long long, &sac::order::get_expires_at> > >::item::item<(lambda at /usr/local/eosio.cdt/bin/../include/eosiolib/contracts/eosio/multi_index.hpp:1530:51)>' requested here
return unique_ptr<_Tp>(new _Tp(_VSTD::forward<_Args>(__args)...));
^
/usr/local/eosio.cdt/bin/../include/eosiolib/contracts/eosio/multi_index.hpp:1530:26: note: in instantiation of function template specialization 'std::__1::make_unique<eosio::multi_index<11948801327611510784, sac::order, eosio::indexed_by<4584856835198025728, eosio::const_mem_fun<sac::order, eosio::fixed_bytes<32>, &sac::order::by_checksum> >, eosio::indexed_by<6299106148616765440, eosio::const_mem_fun<sac::order, unsigned long long, &sac::order::get_expires_at> > >::item, eosio::multi_index<11948801327611510784, sac::order, eosio::indexed_by<4584856835198025728, eosio::const_mem_fun<sac::order, eosio::fixed_bytes<32>, &sac::order::by_checksum> >, eosio::indexed_by<6299106148616765440, eosio::const_mem_fun<sac::order, unsigned long long, &sac::order::get_expires_at> > > *, (lambda at /usr/local/eosio.cdt/bin/../include/eosiolib/contracts/eosio/multi_index.hpp:1530:51)>' requested here
auto itm = std::make_unique<item>( this, [&]( auto& i ){
^
/Users/boid/Dev/boidDev/smart_account_creator/sac.cpp:16:12: note: in instantiation of function template specialization 'eosio::multi_index<11948801327611510784, sac::order, eosio::indexed_by<4584856835198025728, eosio::const_mem_fun<sac::order, eosio::fixed_bytes<32>, &sac::order::by_checksum> >, eosio::indexed_by<6299106148616765440, eosio::const_mem_fun<sac::order, unsigned long long, &sac::order::get_expires_at> > >::emplace<(lambda at /Users/boid/Dev/boidDev/smart_account_creator/sac.cpp:16:28)>' requested here
orders.emplace(sender, [&](auto& order) {
^
/usr/local/eosio.cdt/bin/../include/boost/pfr/detail/core14_loophole.hpp:105:6: note: candidate template ignored: substitution failure [with T = const sac::order]
auto tie_as_tuple_loophole_impl(T& lvalue) noexcept {
^
7 errors generated.
Error while processing /Users/boid/Dev/boidDev/smart_account_creator/sac.cpp.
abigen error