CatapultServer  v0.5.0.1 (Elephant)
plugins/txes/mosaic/src/validators/Results.h File Reference
Include dependency graph for plugins/txes/mosaic/src/validators/Results.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 catapult
 
 catapult::validators
 

Macros

#define DEFINE_MOSAIC_RESULT(DESCRIPTION, CODE)   DEFINE_VALIDATION_RESULT(Failure, Mosaic, DESCRIPTION, CODE, None)
 Defines a mosaic validation result with DESCRIPTION and CODE. More...
 

Functions

 catapult::validators::DEFINE_MOSAIC_RESULT (Invalid_Duration, 1)
 Validation failed because the duration has an invalid value. More...
 
 catapult::validators::DEFINE_MOSAIC_RESULT (Invalid_Name, 2)
 Validation failed because the name is invalid. More...
 
 catapult::validators::DEFINE_MOSAIC_RESULT (Name_Id_Mismatch, 3)
 Validation failed because the name and id don't match. More...
 
 catapult::validators::DEFINE_MOSAIC_RESULT (Expired, 4)
 Validation failed because the parent is expired. More...
 
 catapult::validators::DEFINE_MOSAIC_RESULT (Owner_Conflict, 5)
 Validation failed because the parent owner conflicts with the child owner. More...
 
 catapult::validators::DEFINE_MOSAIC_RESULT (Id_Mismatch, 6)
 Validation failed because the id is not the expected id generated from signer and nonce. More...
 
 catapult::validators::DEFINE_MOSAIC_RESULT (Parent_Id_Conflict, 100)
 Validation failed because the existing parent id does not match the supplied parent id. More...
 
 catapult::validators::DEFINE_MOSAIC_RESULT (Invalid_Property, 101)
 Validation failed because a mosaic property is invalid. More...
 
 catapult::validators::DEFINE_MOSAIC_RESULT (Invalid_Flags, 102)
 Validation failed because the mosaic flags are invalid. More...
 
 catapult::validators::DEFINE_MOSAIC_RESULT (Invalid_Divisibility, 103)
 Validation failed because the mosaic divisibility is invalid. More...
 
 catapult::validators::DEFINE_MOSAIC_RESULT (Invalid_Supply_Change_Direction, 104)
 Validation failed because the mosaic supply change direction is invalid. More...
 
 catapult::validators::DEFINE_MOSAIC_RESULT (Invalid_Supply_Change_Amount, 105)
 Validation failed because the mosaic supply change amount is invalid. More...
 
 catapult::validators::DEFINE_MOSAIC_RESULT (Invalid_Id, 106)
 Validation failed because the mosaic id is invalid. More...
 
 catapult::validators::DEFINE_MOSAIC_RESULT (Modification_Disallowed, 107)
 Validation failed because mosaic modification is not allowed. More...
 
 catapult::validators::DEFINE_MOSAIC_RESULT (Modification_No_Changes, 108)
 Validation failed because mosaic modification would not result in any changes. More...
 
 catapult::validators::DEFINE_MOSAIC_RESULT (Supply_Immutable, 109)
 Validation failed because the mosaic supply is immutable. More...
 
 catapult::validators::DEFINE_MOSAIC_RESULT (Supply_Negative, 110)
 Validation failed because the resulting mosaic supply is negative. More...
 
 catapult::validators::DEFINE_MOSAIC_RESULT (Supply_Exceeded, 111)
 Validation failed because the resulting mosaic supply exceeds the maximum allowed value. More...
 
 catapult::validators::DEFINE_MOSAIC_RESULT (Non_Transferable, 112)
 Validation failed because the mosaic is not transferable. More...
 
 catapult::validators::DEFINE_MOSAIC_RESULT (Max_Mosaics_Exceeded, 113)
 Validation failed because the credit of the mosaic would exceed the maximum of different mosaics an account is allowed to own. More...
 

Macro Definition Documentation

◆ DEFINE_MOSAIC_RESULT

#define DEFINE_MOSAIC_RESULT (   DESCRIPTION,
  CODE 
)    DEFINE_VALIDATION_RESULT(Failure, Mosaic, DESCRIPTION, CODE, None)

Defines a mosaic validation result with DESCRIPTION and CODE.