My contract is reaching beyond the gas limit and I cannot deploy it on the main net as is. I can reduce the gas cost by removing all the constant functions whose only purpose it to give access to the underlying data in a nice way.
This actually reduce the gas cost by more than 30 % and should allow me to deploy my contract on the mainnet.
Since that raw data is theoretically accessible anyway. I was wondering if there is a nice way to replicate such constant functions on the web3 / js side ?
By the way, I know that I could break my contract in several sub contract via DELEGATECALL. But I am here specifically interested in the ability to reduce gas cost by removing the need of constant functions.