19 , _account_dba(account_dba)
21 , _hardfork_service(services.hardfork_property_service())
27 FC_ASSERT(_hardfork_service.
has_hardfork(SCORUM_HARDFORK_0_6),
"Hardfork #6 is required");
28 FC_ASSERT(_nft_dba.is_exists_by<by_uuid>(op.
uuid), R
"(NFT with uuid "${uuid}" must exist.)", ("uuid", op.
uuid));
32 auto& nft = _nft_dba.get_by<by_uuid>(op.
uuid);
33 _nft_dba.update(nft, [&](
auto& nft) { nft.experience += op.
experience; });
adjust_nft_experience_evaluator(data_service_factory_i &, dba::db_accessor< account_object > &, dba::db_accessor< nft_object > &)
void do_apply(const operation_type &op)
bool is_exists_by(const Key &arg) const
virtual bool has_hardfork(uint32_t hardfork) const =0
This operation adjust NFT experience.
account_name_type moderator