Closed roman-monk closed 1 year ago
had to deal with contract size limit recently and changing onlyManager modifier to function can save up to 590 bytes, which is like 2.5% of total limit. implemented as in OZ onlyOwner/whenNotPaused
Looks good, had to do this as well before. Nice little contract sizing trick.
Looks good to me too.
had to deal with contract size limit recently and changing onlyManager modifier to function can save up to 590 bytes, which is like 2.5% of total limit. implemented as in OZ onlyOwner/whenNotPaused