File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ class ChainOperations
10
10
const OPERATION_CONTENT = 'content ' ; //only for VIZ
11
11
const OPERATION_TRANSFER = 'transfer ' ;
12
12
const OPERATION_CUSTOM_JSON = 'custom_json ' ;
13
+ const OPERATION_CUSTOM = 'custom ' ;//only for VIZ
13
14
14
15
const OPERATIONS_IDS = [
15
16
self ::OPERATION_VOTE => 0 ,
Original file line number Diff line number Diff line change @@ -52,6 +52,12 @@ class OperationSerializer
52
52
'required_posting_auths ' => self ::TYPE_SET_STRING ,
53
53
'id ' => self ::TYPE_STRING ,
54
54
'json ' => self ::TYPE_STRING
55
+ ],
56
+ ChainOperations::OPERATION_CUSTOM => [//only for VIZ
57
+ 'required_auths ' => self ::TYPE_SET_STRING ,
58
+ 'required_posting_auths ' => self ::TYPE_SET_STRING ,
59
+ 'id ' => self ::TYPE_STRING ,
60
+ 'json ' => self ::TYPE_STRING
55
61
]
56
62
];
57
63
You can’t perform that action at this time.
0 commit comments