Hey, everyone! I was wondering if it is possible to customize (through cloud functions) the way the synced smart contracts events are saved in the data base? For the context I am building a prediction market platform.
Whenever a user wages money on a outcome my contract emits an event containing how many shares user received. How can I store this info in integer ETH format not string wei?
you can try to use afterSave or beforeSave hook to add info in another column, or you could run a job every x minutes that sets a value in a new column