nutsfinance / tapio-eth

MIT License
1.16k stars 29 forks source link

Immutable variables for the pool configuration #54

Open azat-hafizov opened 4 months ago

azat-hafizov commented 4 months ago

Some pool configuration variables cannot be changed after contract initialization. They can be declared as immutable and initialized during pool contract deployment, instead of during initialization. This represents a trade-off between an easy deployment process and gas optimization (each such variable may help save 1000-2000 gas for most user interactions).

ptdatta commented 2 weeks ago

Hey @azat-hafizov can I work on it?