Mango is planning to replace all their program log
msg! calls with Anchor events. This will reduce the cost of logging from 30k units to 4k units. This 26k unit saving is significant given the context that instructions have a limited compute budget of 200k compute units and the Mango program is often hitting close to the limit of that budget. It should allow more detailed information and stats to be collected about interactions with the Mango program.
This is a proposed grant of 1,000,000 MNGO to act as retroactive funding for the work Armani has done in creating the event log system in Anchor’s rust library and the generation of an IDL which can be used for parsing the events in typescript.