Skip to content

Latest commit

 

History

History
71 lines (48 loc) · 1.7 KB

README.md

File metadata and controls

71 lines (48 loc) · 1.7 KB

Lodster-Gas-Opti

File no 1 :- Comptroller.sol

Before optimization gas 10168545 gas, transaction cost 8842213 gas , execution cost 8173809 gas

After Optimization gas 10084920 gas, transaction cost 8769495 gas , execution cost 8107075 gas


File No 2 :- CErc20.sol

Before :- gas 6882621 gas, transaction cost 5984887 gas , execution cost 5526283 gas ,

After :- gas 6854081 gas, transaction cost 5960070 gas , execution cost 5503446 gas ,


File No :- 3 CToken.sol Can't because of abtract but you can change and see gas difference inhertied file.


File No :- 4 CErc20Delegate.sol

Before gas 7139455 gas, transaction cost 6208221 gas , execution cost 5734585 gas ,

After gas 7093957 gas, transaction cost 6168658 gas , execution cost 5697738 gas


File No :- 5 CErc20Delegator.sol

Before gas 3854322 gas, transaction cost 3351584 gas , execution cost 3024516 gas

After gas 3834579 gas, transaction cost 3334416 gas , execution cost 3009964 gas


File No :- 6 BaseJumpRateModelV2.sol can't because abtract contract