diff --git a/build/SimpleAssets/SimpleAssets.wasm b/build/SimpleAssets/SimpleAssets.wasm index 21d1b5c..c37863a 100755 Binary files a/build/SimpleAssets/SimpleAssets.wasm and b/build/SimpleAssets/SimpleAssets.wasm differ diff --git a/include/SimpleAssets.hpp b/include/SimpleAssets.hpp index cb729a6..2c6c136 100644 --- a/include/SimpleAssets.hpp +++ b/include/SimpleAssets.hpp @@ -605,20 +605,6 @@ CONTRACT SimpleAssets : public contract{ const uint8_t FEE_PRECISION = 2; const uint16_t FEE_PRECISION_AMOUNT = 100; - /* - * List of authors that need double signatute owner and wet.wax@nftops - */ - - const std::vector waxauthors{ "vgo.wax"_n, "irl.wax"_n, "wax"_n }; - - /* - * Check wax authors double signature owner and wet.wax@nftops - * - * @param author name of asset to check for second signature. - * @return no return value. - */ - - void checkwaxauthor( name author ); /* * Get new asset id. * diff --git a/src/SimpleAssets.cpp b/src/SimpleAssets.cpp index 6c4290b..b084aac 100644 --- a/src/SimpleAssets.cpp +++ b/src/SimpleAssets.cpp @@ -178,15 +178,6 @@ void SimpleAssets::check_empty_vector( vector& vector_ids, string vect check( !(vector_ids.size() == 0), "Please add values to parameter: " + move(vector_name) ); } -void SimpleAssets::checkwaxauthor( name author ) { - - for ( auto i = 0; i < waxauthors.size(); ++i ) { - if ( author == waxauthors[i] ) { - internal_use_do_not_use::require_auth2( "wet.wax"_n.value, "nftops"_n.value ); - } - } -} - ACTION SimpleAssets::transfer( name from, name to, vector& assetids, string memo ) { check( from != to, "cannot transfer to yourself" ); @@ -236,8 +227,6 @@ ACTION SimpleAssets::transfer( name from, name to, vector& assetids, s check( from.value == itr->owner.value, "Asset id: " + to_string(assetids[i]) + " is not yours to transfer. Owner: " + itr->owner.to_string() ); check( offert.find( assetids[i] ) == offert.end(), "Asset id: " + to_string(assetids[i]) + " offered for a claim and cannot be transferred. Cancel offer?" ); - checkwaxauthor( itr->author ); - assets_t.emplace( rampayer, [&]( auto& s ) { s.id = itr->id; s.owner = to; @@ -292,7 +281,6 @@ ACTION SimpleAssets::offer( name owner, name newowner, vector& assetid for ( auto i = 0; i < assetids.size(); ++i ) { const auto itr = assets_f.find ( assetids[i] ); check( itr != assets_f.end(), "Asset id: " + to_string( assetids[i] ) + " was not found." ); - checkwaxauthor( itr->author ); check( offert.find ( assetids[i] ) == offert.end(), "Asset id: " + to_string(assetids[i]) + " is already offered for claim." ); check( delegatet.find( assetids[i] ) == delegatet.end(), "Asset id: " + to_string(assetids[i]) + " is delegated and cannot be offered." ); @@ -341,7 +329,6 @@ ACTION SimpleAssets::burn( name owner, vector& assetids, string memo ) check( offert.find( assetids[i] ) == offert.end(), "Asset id: " + to_string(assetids[i]) + " has an open offer and cannot be burned." ); check( delegatet.find( assetids[i] ) == delegatet.end(), "Asset id: " + to_string(assetids[i]) + " is delegated and cannot be burned." ); - checkwaxauthor( itr->author ); //Events uniqauthor[itr->author].push_back( assetids[i] ); assets_f.erase(itr);