1919//! Autogenerated weights for module_honzon
2020//!
2121//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
22- //! DATE: 2022-07-25 , STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
22+ //! DATE: 2022-08-06 , STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
2323//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("karura-dev"), DB CACHE: 1024
2424
2525// Executed Command:
2929// --chain=karura-dev
3030// --steps=50
3131// --repeat=20
32- // --pallet=*
32+ // --pallet=module_honzon
3333// --extrinsic=*
3434// --execution=wasm
3535// --wasm-execution=compiled
@@ -51,25 +51,25 @@ impl<T: frame_system::Config> module_honzon::WeightInfo for WeightInfo<T> {
5151 // Storage: Honzon Authorization (r:1 w:1)
5252 // Storage: Balances Reserves (r:1 w:1)
5353 fn authorize ( ) -> Weight {
54- ( 30_023_000 as Weight )
54+ ( 52_590_000 as Weight )
5555 . saturating_add ( T :: DbWeight :: get ( ) . reads ( 3 as Weight ) )
5656 . saturating_add ( T :: DbWeight :: get ( ) . writes ( 3 as Weight ) )
5757 }
5858 // Storage: unknown [0x3a7472616e73616374696f6e5f6c6576656c3a] (r:1 w:1)
5959 // Storage: Honzon Authorization (r:1 w:1)
6060 // Storage: Balances Reserves (r:1 w:1)
6161 fn unauthorize ( ) -> Weight {
62- ( 31_449_000 as Weight )
62+ ( 31_507_000 as Weight )
6363 . saturating_add ( T :: DbWeight :: get ( ) . reads ( 3 as Weight ) )
6464 . saturating_add ( T :: DbWeight :: get ( ) . writes ( 3 as Weight ) )
6565 }
6666 // Storage: unknown [0x3a7472616e73616374696f6e5f6c6576656c3a] (r:1 w:1)
6767 // Storage: Balances Reserves (r:1 w:0)
6868 // Storage: Honzon Authorization (r:0 w:1)
6969 fn unauthorize_all ( c : u32 , ) -> Weight {
70- ( 22_604_000 as Weight )
71- // Standard Error: 408_000
72- . saturating_add ( ( 4_535_000 as Weight ) . saturating_mul ( c as Weight ) )
70+ ( 22_653_000 as Weight )
71+ // Standard Error: 443_000
72+ . saturating_add ( ( 4_414_000 as Weight ) . saturating_mul ( c as Weight ) )
7373 . saturating_add ( T :: DbWeight :: get ( ) . reads ( 2 as Weight ) )
7474 . saturating_add ( T :: DbWeight :: get ( ) . writes ( 1 as Weight ) )
7575 . saturating_add ( T :: DbWeight :: get ( ) . writes ( ( 1 as Weight ) . saturating_mul ( c as Weight ) ) )
@@ -89,7 +89,7 @@ impl<T: frame_system::Config> module_honzon::WeightInfo for WeightInfo<T> {
8989 // Storage: AcalaOracle Values (r:1 w:0)
9090 // Storage: AssetRegistry AssetMetadatas (r:2 w:0)
9191 fn adjust_loan ( ) -> Weight {
92- ( 112_387_000 as Weight )
92+ ( 110_970_000 as Weight )
9393 . saturating_add ( T :: DbWeight :: get ( ) . reads ( 18 as Weight ) )
9494 . saturating_add ( T :: DbWeight :: get ( ) . writes ( 10 as Weight ) )
9595 }
@@ -107,7 +107,7 @@ impl<T: frame_system::Config> module_honzon::WeightInfo for WeightInfo<T> {
107107 // Storage: System Account (r:1 w:1)
108108 // Storage: Loans TotalPositions (r:1 w:1)
109109 fn transfer_loan_from ( ) -> Weight {
110- ( 87_216_000 as Weight )
110+ ( 86_059_000 as Weight )
111111 . saturating_add ( T :: DbWeight :: get ( ) . reads ( 17 as Weight ) )
112112 . saturating_add ( T :: DbWeight :: get ( ) . writes ( 8 as Weight ) )
113113 }
@@ -117,10 +117,6 @@ impl<T: frame_system::Config> module_honzon::WeightInfo for WeightInfo<T> {
117117 // Storage: Prices LockedPrice (r:2 w:0)
118118 // Storage: AcalaOracle Values (r:1 w:0)
119119 // Storage: AssetRegistry AssetMetadatas (r:2 w:0)
120- // Storage: Homa TotalStakingBonded (r:1 w:0)
121- // Storage: Homa ToBondPool (r:1 w:0)
122- // Storage: Tokens TotalIssuance (r:1 w:0)
123- // Storage: Homa TotalVoidLiquid (r:1 w:0)
124120 // Storage: CdpEngine DebitExchangeRate (r:1 w:0)
125121 // Storage: CdpEngine CollateralParams (r:1 w:0)
126122 // Storage: Tokens Accounts (r:6 w:6)
@@ -132,12 +128,16 @@ impl<T: frame_system::Config> module_honzon::WeightInfo for WeightInfo<T> {
132128 // Storage: Loans TotalPositions (r:1 w:1)
133129 // Storage: AuctionManager TotalCollateralInAuction (r:1 w:0)
134130 // Storage: Dex TradingPairStatuses (r:3 w:0)
135- // Storage: Dex LiquidityPool (r:2 w:2)
136- // Storage: StableAsset Pools (r:1 w:0)
131+ // Storage: Dex LiquidityPool (r:3 w:2)
132+ // Storage: StableAsset Pools (r:2 w:0)
137133 // Storage: AggregatedDex AggregatedSwapPaths (r:1 w:0)
134+ // Storage: Homa TotalStakingBonded (r:1 w:0)
135+ // Storage: Homa ToBondPool (r:1 w:0)
136+ // Storage: Tokens TotalIssuance (r:1 w:0)
137+ // Storage: Homa TotalVoidLiquid (r:1 w:0)
138138 fn close_loan_has_debit_by_dex ( ) -> Weight {
139- ( 259_295_000 as Weight )
140- . saturating_add ( T :: DbWeight :: get ( ) . reads ( 36 as Weight ) )
139+ ( 288_101_000 as Weight )
140+ . saturating_add ( T :: DbWeight :: get ( ) . reads ( 38 as Weight ) )
141141 . saturating_add ( T :: DbWeight :: get ( ) . writes ( 16 as Weight ) )
142142 }
143143 // Storage: unknown [0x3a7472616e73616374696f6e5f6c6576656c3a] (r:1 w:1)
@@ -147,7 +147,7 @@ impl<T: frame_system::Config> module_honzon::WeightInfo for WeightInfo<T> {
147147 // Storage: System Account (r:2 w:1)
148148 // Storage: Dex TradingPairStatuses (r:3 w:0)
149149 // Storage: Dex LiquidityPool (r:3 w:2)
150- // Storage: StableAsset Pools (r:1 w:0)
150+ // Storage: StableAsset Pools (r:2 w:0)
151151 // Storage: AggregatedDex AggregatedSwapPaths (r:1 w:0)
152152 // Storage: CdpEngine DebitExchangeRate (r:1 w:0)
153153 // Storage: Loans Positions (r:1 w:1)
@@ -158,27 +158,30 @@ impl<T: frame_system::Config> module_honzon::WeightInfo for WeightInfo<T> {
158158 // Storage: AcalaOracle Values (r:1 w:0)
159159 // Storage: AssetRegistry AssetMetadatas (r:2 w:0)
160160 fn expand_position_collateral ( ) -> Weight {
161- ( 199_525_000 as Weight )
162- . saturating_add ( T :: DbWeight :: get ( ) . reads ( 27 as Weight ) )
161+ ( 211_007_000 as Weight )
162+ . saturating_add ( T :: DbWeight :: get ( ) . reads ( 28 as Weight ) )
163163 . saturating_add ( T :: DbWeight :: get ( ) . writes ( 13 as Weight ) )
164164 }
165165 // Storage: unknown [0x3a7472616e73616374696f6e5f6c6576656c3a] (r:1 w:1)
166166 // Storage: CdpEngine CollateralParams (r:1 w:0)
167167 // Storage: Loans Positions (r:1 w:1)
168168 // Storage: Dex TradingPairStatuses (r:3 w:0)
169169 // Storage: Dex LiquidityPool (r:3 w:2)
170- // Storage: StableAsset Pools (r:1 w:0)
170+ // Storage: StableAsset Pools (r:2 w:0)
171171 // Storage: AggregatedDex AggregatedSwapPaths (r:1 w:0)
172+ // Storage: Homa TotalStakingBonded (r:1 w:0)
173+ // Storage: Homa ToBondPool (r:1 w:0)
174+ // Storage: Tokens TotalIssuance (r:2 w:1)
175+ // Storage: Homa TotalVoidLiquid (r:1 w:0)
172176 // Storage: Tokens Accounts (r:5 w:5)
173177 // Storage: System Account (r:2 w:1)
174178 // Storage: CdpEngine DebitExchangeRate (r:1 w:0)
175179 // Storage: Rewards SharesAndWithdrawnRewards (r:1 w:1)
176180 // Storage: Rewards PoolInfos (r:1 w:1)
177181 // Storage: Loans TotalPositions (r:1 w:1)
178- // Storage: Tokens TotalIssuance (r:1 w:1)
179182 fn shrink_position_debit ( ) -> Weight {
180- ( 197_554_000 as Weight )
181- . saturating_add ( T :: DbWeight :: get ( ) . reads ( 23 as Weight ) )
183+ ( 323_847_000 as Weight )
184+ . saturating_add ( T :: DbWeight :: get ( ) . reads ( 28 as Weight ) )
182185 . saturating_add ( T :: DbWeight :: get ( ) . writes ( 14 as Weight ) )
183186 }
184187 // Storage: unknown [0x3a7472616e73616374696f6e5f6c6576656c3a] (r:1 w:1)
@@ -195,7 +198,7 @@ impl<T: frame_system::Config> module_honzon::WeightInfo for WeightInfo<T> {
195198 // Storage: Homa ToBondPool (r:1 w:0)
196199 // Storage: Homa TotalVoidLiquid (r:1 w:0)
197200 fn transfer_debit ( ) -> Weight {
198- ( 137_148_000 as Weight )
201+ ( 133_578_000 as Weight )
199202 . saturating_add ( T :: DbWeight :: get ( ) . reads ( 21 as Weight ) )
200203 . saturating_add ( T :: DbWeight :: get ( ) . writes ( 7 as Weight ) )
201204 }
@@ -209,7 +212,7 @@ impl<T: frame_system::Config> module_honzon::WeightInfo for WeightInfo<T> {
209212 // Storage: Homa TotalVoidLiquid (r:1 w:0)
210213 // Storage: CdpEngine DebitExchangeRate (r:1 w:0)
211214 fn precompile_get_current_collateral_ratio ( ) -> Weight {
212- ( 32_314_000 as Weight )
215+ ( 31_907_000 as Weight )
213216 . saturating_add ( T :: DbWeight :: get ( ) . reads ( 11 as Weight ) )
214217 }
215218}
0 commit comments