nutsfinance / tapio-eth

MIT License
1.16k stars 30 forks source link

Immutable variables for the pool configuration #54

Open azat-hafizov opened 8 months ago

azat-hafizov commented 8 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 4 months ago

Hey @azat-hafizov can I work on it?