File tree 3 files changed +3
-44
lines changed
catalyst-gateway/bin/src/service
3 files changed +3
-44
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ use poem_openapi::{
8
8
ApiResponse , NewType , Object ,
9
9
} ;
10
10
11
- use crate :: service:: { common, common :: types:: array_types:: impl_array_types} ;
11
+ use crate :: service:: common:: { self , types:: array_types:: impl_array_types} ;
12
12
13
13
// ToDo: The examples of this response should be taken from representative data from a
14
14
// response generated on pre-prod.
@@ -142,10 +142,10 @@ pub(crate) struct Cip36Details {
142
142
pub payment_address : Option < common:: types:: cardano:: cip19_shelley_address:: Cip19ShelleyAddress > ,
143
143
/// If the payment address is a script, then it can not be payed rewards.
144
144
#[ oai( default ) ]
145
- pub is_payable : common:: types:: cardano :: boolean:: IsPayable ,
145
+ pub is_payable : common:: types:: generic :: boolean:: BooleanFlag ,
146
146
/// If this field is set, then the registration was in CIP15 format.
147
147
#[ oai( default ) ]
148
- pub cip15 : common:: types:: cardano :: boolean:: IsCip15 ,
148
+ pub cip15 : common:: types:: generic :: boolean:: BooleanFlag ,
149
149
/// If there are errors with this registration, they are listed here.
150
150
/// This field is *NEVER* returned for a valid registration.
151
151
#[ oai( skip_serializing_if_is_none) ]
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 3
3
pub ( crate ) mod ada_value;
4
4
pub ( crate ) mod asset_name;
5
5
pub ( crate ) mod asset_value;
6
- pub ( crate ) mod boolean;
7
6
pub ( crate ) mod catalyst_id;
8
7
pub ( crate ) mod cip19_shelley_address;
9
8
pub ( crate ) mod cip19_stake_address;
You can’t perform that action at this time.
0 commit comments