CatapultServer
v0.5.0.1 (Elephant)
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Variables
_
a
b
c
d
e
f
h
i
k
l
m
n
o
p
r
s
t
u
w
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
Enumerations
a
b
c
d
e
f
i
l
m
n
o
p
r
s
t
u
v
w
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Enumerations
Related Functions
Files
File List
File Members
All
a
b
c
d
e
f
g
h
i
l
m
n
p
r
s
t
u
v
w
Functions
m
r
Variables
a
b
c
d
e
f
h
i
l
m
n
p
r
s
t
u
v
w
Macros
b
c
d
e
f
g
i
l
m
n
p
r
s
u
v
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
plugins/txes/mosaic/src/validators/Results.h
Go to the documentation of this file.
1
21
#pragma once
22
#ifndef CUSTOM_RESULT_DEFINITION
23
#include "
catapult/validators/ValidationResult.h
"
24
25
namespace
catapult
{
namespace
validators {
26
27
#endif
28
#define DEFINE_MOSAIC_RESULT(DESCRIPTION, CODE) DEFINE_VALIDATION_RESULT(Failure, Mosaic, DESCRIPTION, CODE, None)
30
31
// region common
32
34
DEFINE_MOSAIC_RESULT
(Invalid_Duration, 1);
35
37
DEFINE_MOSAIC_RESULT
(Invalid_Name, 2);
38
40
DEFINE_MOSAIC_RESULT
(Name_Id_Mismatch, 3);
41
43
DEFINE_MOSAIC_RESULT
(Expired, 4);
44
46
DEFINE_MOSAIC_RESULT
(Owner_Conflict, 5);
47
49
DEFINE_MOSAIC_RESULT
(Id_Mismatch, 6);
50
51
// endregion
52
53
// region mosaic
54
56
DEFINE_MOSAIC_RESULT
(Parent_Id_Conflict, 100);
57
59
DEFINE_MOSAIC_RESULT
(Invalid_Property, 101);
60
62
DEFINE_MOSAIC_RESULT
(Invalid_Flags, 102);
63
65
DEFINE_MOSAIC_RESULT
(Invalid_Divisibility, 103);
66
68
DEFINE_MOSAIC_RESULT
(Invalid_Supply_Change_Direction, 104);
69
71
DEFINE_MOSAIC_RESULT
(Invalid_Supply_Change_Amount, 105);
72
74
DEFINE_MOSAIC_RESULT
(Invalid_Id, 106);
75
77
DEFINE_MOSAIC_RESULT
(Modification_Disallowed, 107);
78
80
DEFINE_MOSAIC_RESULT
(Modification_No_Changes, 108);
81
83
DEFINE_MOSAIC_RESULT
(Supply_Immutable, 109);
84
86
DEFINE_MOSAIC_RESULT
(Supply_Negative, 110);
87
89
DEFINE_MOSAIC_RESULT
(Supply_Exceeded, 111);
90
92
DEFINE_MOSAIC_RESULT
(Non_Transferable, 112);
93
95
DEFINE_MOSAIC_RESULT
(Max_Mosaics_Exceeded, 113);
96
97
// endregion
98
99
#ifndef CUSTOM_RESULT_DEFINITION
100
}}
101
#endif
catapult::validators::DEFINE_MOSAIC_RESULT
DEFINE_MOSAIC_RESULT(Invalid_Duration, 1)
Validation failed because the duration has an invalid value.
ValidationResult.h
catapult
Definition:
AddressExtractionExtension.cpp:28
catapult-server
plugins
txes
mosaic
src
validators
Results.h
Generated by
1.8.16