My public address is 0x9867d28A1836ecf6DcbA93e49e12dB4f4B787fE9
I noticed there's a better alternative here
This is a script that can be used to estimate your rewards form HMs submissions on C4.
In order to use it fill out in the .env file:
HMS_POT- the HM awards for the contestCONTEST_NAME- can be also partial name, but best to use the full name to avoid dupes (e.g.2024-01-renft)GH_ACCESS_TOKEN- it has to be a classic token with the repo scope permissions, not a fine-grained token. The fine-grained tokens don't support reading private repos that you don't own.
When runing forge test -m testGas --gas-report -vv, it shows the cost of calling x is 261:
╭──────────────────────────────────┬─────────────────┬─────┬────────┬─────┬─────────╮
│ contracts/Gas.sol:Store contract ┆ ┆ ┆ ┆ ┆ │
╞══════════════════════════════════╪═════════════════╪═════╪════════╪═════╪═════════╡
│ Deployment Cost ┆ Deployment Size ┆ ┆ ┆ ┆ │
├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌┼╌╌╌╌╌╌╌╌┼╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌┤