MrToph / goostew

MIT License
49 stars 4 forks source link

refactor to ERC4626 interface for goo deposits/withdrawals #13

Closed MrToph closed 2 years ago

github-actions[bot] commented 2 years ago

Changes to gas cost

Generated at commit: 53391096d873d9266748a93d862725901edf22ab, compared to commit: 28c82817ba32d11a153b14b5c4162d0a0cf7012f

๐Ÿงพ Summary

Contract Method Avg (+/-) %
GooStew balanceOf
depositGobblers
getGlobalInfo
getUserInfo
transfer
updateUser
-46 โœ…
-6,118 โœ…
-408 โœ…
-36 โœ…
-57 โœ…
+988 โŒ
-0.19%
-1.90%
-4.44%
-0.07%
-0.08%
+5.54%

Full diff report ๐Ÿ‘‡
| Contract | Deployment Cost (+/-) | Method | Min (+/-) | % | Avg (+/-) | % | Median (+/-) | % | Max (+/-) | % | # Calls (+/-) | |:-|-:|:-|-:|-:|-:|-:|-:|-:|-:|-:|-:| | **GooStew** | 3,310,884 (+463,188) | _balanceOf_
_depositGobblers_
_getGlobalInfo_
_getUserInfo_
_transfer_
_updateUser_ | 24,377 (-46)
116,843 (+2,439)
8,772 (-408)
54,744 (-36)
70,992 (-57)
10,369 (-124) | **-0.19%**
**+2.13%**
**-4.44%**
**-0.07%**
**-0.08%**
**-1.18%** | 24,377 (-46)
316,073 (-6,118)
8,772 (-408)
54,744 (-36)
70,992 (-57)
18,821 (+988) | **-0.19%**
**-1.90%**
**-4.44%**
**-0.07%**
**-0.08%**
**+5.54%** | 24,377 (-46)
413,875 (+457)
8,772 (-408)
54,744 (-36)
70,992 (-57)
10,369 (-124) | **-0.19%**
**+0.11%**
**-4.44%**
**-0.07%**
**-0.08%**
**-1.18%** | 24,377 (-46)
413,875 (+457)
8,772 (-408)
54,744 (-36)
70,992 (-57)
46,169 (-124) | **-0.19%**
**+0.11%**
**-4.44%**
**-0.07%**
**-0.08%**
**-0.27%** | 1 (0)
13 (-1)
1 (0)
1 (0)
1 (0)
12 (-1) |