issues
search
yearn
/
yearn-vaults-v3
GNU Affero General Public License v3.0
96
stars
35
forks
source link
fix: reporting costs
#192
Closed
Schlagonia
closed
7 months ago
Schlagonia
commented
8 months ago
Description
Lower gas cost of reports
Only mint or burn once based on ending state
remove multiple converTo calls.
Only adjust the fees for the report if we need to.
set unlock date to 0 instead of unlock rate for cheaper totalSupply() calls
only updates lastReport once.
Checklist
[x] I have run vyper and solidity linting
[x] I have run the tests on my machine
[x] I have followed commitlint guidelines
[x] I have rebased my changes to the latest version of the main branch
Description
Checklist