I would like to check in my contract the incomming amount.
I tried these:
void mycontract(name from, name to, eosio::asset quantity, std::string memo){
check( quantity.amount > 50, "must transfer only maximum 50 tokens/transaction" );
or
if(quantity.amount > 50) { }
But these not working.