Implementing voting inside a SafeMoon contract


I'm trying to implement the OpenZeppelin governance library into the Safemoon smart contract but the size of the final smart contract is over 24kb. (optimisation was enabled while compiling).

Anyone has a clue how I could solve this and/or could offer some help.
That would be greatly appreciated!

Take care,

You need to break up the contract into two contracts, and write functions to allow interaction between them...

You can also optimize the contract size just by writing good code :slight_smile: