28 namespace graphene {
namespace protocol {
43 if( amount_for_new_target.valid() )
45 FC_ASSERT( amount_for_new_target->amount > 0,
"A positive amount is needed" );
46 FC_ASSERT( amount_for_new_target->asset_id == asset_id_type(),
"Amount must be in BTS so far" );
asset amount
The amount of the ticket.
unsigned_int target_type
The target ticket type, see ticket_type.
Updates an existing ticket.
#define FC_ASSERT(TEST,...)
Checks a condition and throws an assert_exception if the test is FALSE.
#define GRAPHENE_IMPLEMENT_EXTERNAL_SERIALIZATION(type)