• Mark Tyneway's avatar
    contracts-bedrock: fee vault track total value · 7d1351bd
    Mark Tyneway authored
    Adds an accumulator for the total amount of fees
    withdrawn from the system. This is really helpful for
    data analytics. I also think it could be used to build
    an on chain prediction market for economic activity.
    This code path isn't triggered too often, so an extra
    sload/sstore and checked math doesn't matter much.
    7d1351bd
storage-snapshot.sh 1.95 KB