@@ -18,108 +18,91 @@ impl TokenConfigurationV0 {
1818 TokenConfigurationChangeItem :: TokenConfigurationNoChange => {
1919 AuthorizedActionTakers :: NoOne
2020 }
21- TokenConfigurationChangeItem :: Conventions ( _) => self
21+ TokenConfigurationChangeItem :: Conventions ( _) => * self
2222 . conventions_change_rules
23- . authorized_to_make_change_action_takers ( )
24- . clone ( ) ,
23+ . authorized_to_make_change_action_takers ( ) ,
2524 TokenConfigurationChangeItem :: ConventionsControlGroup ( _) => {
26- self . conventions_change_rules . admin_action_takers ( ) . clone ( )
25+ * self . conventions_change_rules . admin_action_takers ( )
2726 }
2827 TokenConfigurationChangeItem :: ConventionsAdminGroup ( _) => {
29- self . conventions_change_rules . admin_action_takers ( ) . clone ( )
28+ * self . conventions_change_rules . admin_action_takers ( )
3029 }
31- TokenConfigurationChangeItem :: MaxSupply ( _) => self
30+ TokenConfigurationChangeItem :: MaxSupply ( _) => * self
3231 . max_supply_change_rules
33- . authorized_to_make_change_action_takers ( )
34- . clone ( ) ,
32+ . authorized_to_make_change_action_takers ( ) ,
3533 TokenConfigurationChangeItem :: MaxSupplyControlGroup ( _) => {
36- self . max_supply_change_rules . admin_action_takers ( ) . clone ( )
34+ * self . max_supply_change_rules . admin_action_takers ( )
3735 }
3836 TokenConfigurationChangeItem :: MaxSupplyAdminGroup ( _) => {
39- self . max_supply_change_rules . admin_action_takers ( ) . clone ( )
37+ * self . max_supply_change_rules . admin_action_takers ( )
4038 }
41- TokenConfigurationChangeItem :: PerpetualDistribution ( _) => self
39+ TokenConfigurationChangeItem :: PerpetualDistribution ( _) => * self
4240 . distribution_rules
4341 . perpetual_distribution_rules ( )
44- . authorized_to_make_change_action_takers ( )
45- . clone ( ) ,
46- TokenConfigurationChangeItem :: PerpetualDistributionControlGroup ( _) => self
42+ . authorized_to_make_change_action_takers ( ) ,
43+ TokenConfigurationChangeItem :: PerpetualDistributionControlGroup ( _) => * self
4744 . distribution_rules
4845 . perpetual_distribution_rules ( )
49- . admin_action_takers ( )
50- . clone ( ) ,
51- TokenConfigurationChangeItem :: PerpetualDistributionAdminGroup ( _) => self
46+ . admin_action_takers ( ) ,
47+ TokenConfigurationChangeItem :: PerpetualDistributionAdminGroup ( _) => * self
5248 . distribution_rules
5349 . perpetual_distribution_rules ( )
54- . admin_action_takers ( )
55- . clone ( ) ,
56- TokenConfigurationChangeItem :: NewTokensDestinationIdentity ( _) => self
50+ . admin_action_takers ( ) ,
51+ TokenConfigurationChangeItem :: NewTokensDestinationIdentity ( _) => * self
5752 . distribution_rules
5853 . new_tokens_destination_identity_rules ( )
59- . authorized_to_make_change_action_takers ( )
60- . clone ( ) ,
61- TokenConfigurationChangeItem :: NewTokensDestinationIdentityControlGroup ( _) => self
54+ . authorized_to_make_change_action_takers ( ) ,
55+ TokenConfigurationChangeItem :: NewTokensDestinationIdentityControlGroup ( _) => * self
6256 . distribution_rules
6357 . new_tokens_destination_identity_rules ( )
64- . admin_action_takers ( )
65- . clone ( ) ,
66- TokenConfigurationChangeItem :: NewTokensDestinationIdentityAdminGroup ( _) => self
58+ . admin_action_takers ( ) ,
59+ TokenConfigurationChangeItem :: NewTokensDestinationIdentityAdminGroup ( _) => * self
6760 . distribution_rules
6861 . new_tokens_destination_identity_rules ( )
69- . admin_action_takers ( )
70- . clone ( ) ,
71- TokenConfigurationChangeItem :: MintingAllowChoosingDestination ( _) => self
62+ . admin_action_takers ( ) ,
63+ TokenConfigurationChangeItem :: MintingAllowChoosingDestination ( _) => * self
7264 . distribution_rules
7365 . minting_allow_choosing_destination_rules ( )
74- . authorized_to_make_change_action_takers ( )
75- . clone ( ) ,
76- TokenConfigurationChangeItem :: MintingAllowChoosingDestinationControlGroup ( _) => self
66+ . authorized_to_make_change_action_takers ( ) ,
67+ TokenConfigurationChangeItem :: MintingAllowChoosingDestinationControlGroup ( _) => * self
7768 . distribution_rules
7869 . minting_allow_choosing_destination_rules ( )
79- . admin_action_takers ( )
80- . clone ( ) ,
81- TokenConfigurationChangeItem :: MintingAllowChoosingDestinationAdminGroup ( _) => self
70+ . admin_action_takers ( ) ,
71+ TokenConfigurationChangeItem :: MintingAllowChoosingDestinationAdminGroup ( _) => * self
8272 . distribution_rules
8373 . minting_allow_choosing_destination_rules ( )
84- . admin_action_takers ( )
85- . clone ( ) ,
74+ . admin_action_takers ( ) ,
8675 TokenConfigurationChangeItem :: ManualMinting ( _) => {
87- self . manual_minting_rules . admin_action_takers ( ) . clone ( )
76+ * self . manual_minting_rules . admin_action_takers ( )
8877 }
8978 TokenConfigurationChangeItem :: ManualMintingAdminGroup ( _) => {
90- self . manual_minting_rules . admin_action_takers ( ) . clone ( )
79+ * self . manual_minting_rules . admin_action_takers ( )
9180 }
9281 TokenConfigurationChangeItem :: ManualBurning ( _) => {
93- self . manual_burning_rules . admin_action_takers ( ) . clone ( )
82+ * self . manual_burning_rules . admin_action_takers ( )
9483 }
9584 TokenConfigurationChangeItem :: ManualBurningAdminGroup ( _) => {
96- self . manual_burning_rules . admin_action_takers ( ) . clone ( )
97- }
98- TokenConfigurationChangeItem :: Freeze ( _) => {
99- self . freeze_rules . admin_action_takers ( ) . clone ( )
85+ * self . manual_burning_rules . admin_action_takers ( )
10086 }
87+ TokenConfigurationChangeItem :: Freeze ( _) => * self . freeze_rules . admin_action_takers ( ) ,
10188 TokenConfigurationChangeItem :: FreezeAdminGroup ( _) => {
102- self . freeze_rules . admin_action_takers ( ) . clone ( )
103- }
104- TokenConfigurationChangeItem :: Unfreeze ( _) => {
105- self . unfreeze_rules . admin_action_takers ( ) . clone ( )
89+ * self . freeze_rules . admin_action_takers ( )
10690 }
91+ TokenConfigurationChangeItem :: Unfreeze ( _) => * self . unfreeze_rules . admin_action_takers ( ) ,
10792 TokenConfigurationChangeItem :: UnfreezeAdminGroup ( _) => {
108- self . unfreeze_rules . admin_action_takers ( ) . clone ( )
93+ * self . unfreeze_rules . admin_action_takers ( )
94+ }
95+ TokenConfigurationChangeItem :: DestroyFrozenFunds ( _) => {
96+ * self . destroy_frozen_funds_rules . admin_action_takers ( )
97+ }
98+ TokenConfigurationChangeItem :: DestroyFrozenFundsAdminGroup ( _) => {
99+ * self . destroy_frozen_funds_rules . admin_action_takers ( )
109100 }
110- TokenConfigurationChangeItem :: DestroyFrozenFunds ( _) => self
111- . destroy_frozen_funds_rules
112- . admin_action_takers ( )
113- . clone ( ) ,
114- TokenConfigurationChangeItem :: DestroyFrozenFundsAdminGroup ( _) => self
115- . destroy_frozen_funds_rules
116- . admin_action_takers ( )
117- . clone ( ) ,
118101 TokenConfigurationChangeItem :: EmergencyAction ( _) => {
119- self . emergency_action_rules . admin_action_takers ( ) . clone ( )
102+ * self . emergency_action_rules . admin_action_takers ( )
120103 }
121104 TokenConfigurationChangeItem :: EmergencyActionAdminGroup ( _) => {
122- self . emergency_action_rules . admin_action_takers ( ) . clone ( )
105+ * self . emergency_action_rules . admin_action_takers ( )
123106 }
124107 TokenConfigurationChangeItem :: MainControlGroup ( _) => AuthorizedActionTakers :: NoOne ,
125108 }
0 commit comments