@@ -1119,7 +1119,76 @@ impl pallet_settlement::WeightInfo for SubstrateWeight {
1119
1119
. saturating_add ( DbWeight :: get ( ) . writes ( ( 1_u64 ) . saturating_mul ( f. into ( ) ) ) )
1120
1120
. saturating_add ( DbWeight :: get ( ) . writes ( ( 1_u64 ) . saturating_mul ( n. into ( ) ) ) )
1121
1121
}
1122
- fn lock_instruction_common ( _f : u32 , _n : u32 , _o : u32 ) -> Weight {
1123
- Weight :: zero ( )
1122
+ // Storage: Identity KeyRecords (r:1 w:0)
1123
+ // Proof: Identity KeyRecords (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)
1124
+ // Storage: Settlement InstructionMediatorsAffirmations (r:1 w:0)
1125
+ // Proof: Settlement InstructionMediatorsAffirmations (max_values: None, max_size: Some(58), added: 2533, mode: MaxEncodedLen)
1126
+ // Storage: Settlement InstructionDetails (r:1 w:0)
1127
+ // Proof: Settlement InstructionDetails (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)
1128
+ // Storage: Settlement InstructionMemos (r:1 w:0)
1129
+ // Proof: Settlement InstructionMemos (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
1130
+ // Storage: Settlement InstructionLegs (r:121 w:0)
1131
+ // Proof Skipped: Settlement InstructionLegs (max_values: None, max_size: None, mode: Measured)
1132
+ // Storage: Settlement InstructionLegStatus (r:120 w:0)
1133
+ // Proof: Settlement InstructionLegStatus (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)
1134
+ // Storage: Portfolio PortfolioLockedNFT (r:100 w:0)
1135
+ // Proof: Portfolio PortfolioLockedNFT (max_values: None, max_size: Some(90), added: 2565, mode: MaxEncodedLen)
1136
+ // Storage: Portfolio PortfolioLockedAssets (r:10 w:0)
1137
+ // Proof: Portfolio PortfolioLockedAssets (max_values: None, max_size: Some(97), added: 2572, mode: MaxEncodedLen)
1138
+ // Storage: Nft CollectionAsset (r:100 w:0)
1139
+ // Proof: Nft CollectionAsset (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)
1140
+ // Storage: Nft NumberOfNFTs (r:200 w:0)
1141
+ // Proof: Nft NumberOfNFTs (max_values: None, max_size: Some(72), added: 2547, mode: MaxEncodedLen)
1142
+ // Storage: Portfolio PortfolioNFT (r:100 w:0)
1143
+ // Proof: Portfolio PortfolioNFT (max_values: None, max_size: Some(90), added: 2565, mode: MaxEncodedLen)
1144
+ // Storage: Asset Frozen (r:110 w:0)
1145
+ // Proof: Asset Frozen (max_values: None, max_size: Some(33), added: 2508, mode: MaxEncodedLen)
1146
+ // Storage: Timestamp Now (r:1 w:0)
1147
+ // Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen)
1148
+ // Storage: CddServiceProviders ActiveMembers (r:1 w:0)
1149
+ // Proof Skipped: CddServiceProviders ActiveMembers (max_values: Some(1), max_size: None, mode: Measured)
1150
+ // Storage: Identity Claims (r:4 w:0)
1151
+ // Proof Skipped: Identity Claims (max_values: None, max_size: None, mode: Measured)
1152
+ // Storage: ComplianceManager AssetCompliances (r:110 w:0)
1153
+ // Proof Skipped: ComplianceManager AssetCompliances (max_values: None, max_size: None, mode: Measured)
1154
+ // Storage: Asset Assets (r:10 w:0)
1155
+ // Proof Skipped: Asset Assets (max_values: None, max_size: None, mode: Measured)
1156
+ // Storage: Asset BalanceOf (r:20 w:0)
1157
+ // Proof: Asset BalanceOf (max_values: None, max_size: Some(80), added: 2555, mode: MaxEncodedLen)
1158
+ // Storage: Portfolio Portfolios (r:20 w:0)
1159
+ // Proof Skipped: Portfolio Portfolios (max_values: None, max_size: None, mode: Measured)
1160
+ // Storage: Portfolio PortfolioAssetBalances (r:20 w:0)
1161
+ // Proof: Portfolio PortfolioAssetBalances (max_values: None, max_size: Some(97), added: 2572, mode: MaxEncodedLen)
1162
+ // Storage: Statistics AssetTransferCompliances (r:10 w:0)
1163
+ // Proof: Statistics AssetTransferCompliances (max_values: None, max_size: Some(246), added: 2721, mode: MaxEncodedLen)
1164
+ // Storage: Checkpoint CachedNextCheckpoints (r:10 w:0)
1165
+ // Proof Skipped: Checkpoint CachedNextCheckpoints (max_values: None, max_size: None, mode: Measured)
1166
+ // Storage: Checkpoint CheckpointIdSequence (r:10 w:0)
1167
+ // Proof: Checkpoint CheckpointIdSequence (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)
1168
+ // Storage: Portfolio PortfolioAssetCount (r:10 w:0)
1169
+ // Proof: Portfolio PortfolioAssetCount (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)
1170
+ // Storage: Statistics ActiveAssetStats (r:10 w:0)
1171
+ // Proof: Statistics ActiveAssetStats (max_values: None, max_size: Some(423), added: 2898, mode: MaxEncodedLen)
1172
+ // Storage: Settlement InstructionStatuses (r:0 w:1)
1173
+ // Proof: Settlement InstructionStatuses (max_values: None, max_size: Some(21), added: 2496, mode: MaxEncodedLen)
1174
+ // Storage: Settlement LockedTimestamp (r:0 w:1)
1175
+ // Proof: Settlement LockedTimestamp (max_values: None, max_size: Some(24), added: 2499, mode: MaxEncodedLen)
1176
+ /// The range of component `f` is `[1, 10]`.
1177
+ /// The range of component `n` is `[0, 100]`.
1178
+ /// The range of component `o` is `[0, 10]`.
1179
+ fn lock_instruction_common ( f : u32 , n : u32 , o : u32 ) -> Weight {
1180
+ // Minimum execution time: 1_808_704 nanoseconds.
1181
+ Weight :: from_ref_time ( 56_320_006 )
1182
+ // Standard Error: 1_710_336
1183
+ . saturating_add ( Weight :: from_ref_time ( 151_928_134 ) . saturating_mul ( f. into ( ) ) )
1184
+ // Standard Error: 158_210
1185
+ . saturating_add ( Weight :: from_ref_time ( 126_987_606 ) . saturating_mul ( n. into ( ) ) )
1186
+ // Standard Error: 1_549_300
1187
+ . saturating_add ( Weight :: from_ref_time ( 10_140_105 ) . saturating_mul ( o. into ( ) ) )
1188
+ . saturating_add ( DbWeight :: get ( ) . reads ( 11 ) )
1189
+ . saturating_add ( DbWeight :: get ( ) . reads ( ( 17_u64 ) . saturating_mul ( f. into ( ) ) ) )
1190
+ . saturating_add ( DbWeight :: get ( ) . reads ( ( 9_u64 ) . saturating_mul ( n. into ( ) ) ) )
1191
+ . saturating_add ( DbWeight :: get ( ) . reads ( ( 2_u64 ) . saturating_mul ( o. into ( ) ) ) )
1192
+ . saturating_add ( DbWeight :: get ( ) . writes ( 2 ) )
1124
1193
}
1125
1194
}
0 commit comments