gaswoman tracks multisig gas spending for a Safe. It generates a JSON which can be imported with the Safe Transaction Builder.
Built with Node.js and the Safe Transaction Service API. Inspired by gasman.
Clone with:
git clone https://github.com/filipvvv/gaswoman.git
cd gaswoman
gaswoman accepts two command line arguments:
- A Safe address, and
- A Unix timestamp
Any transactions which were executed before the timestamp are ignored. Pass the arguments to gaswoman like so:
node . <safe-address> <timestamp>
For example, to calculate gas refunds for the JuiceboxDAO multisig since 2022-12-08, use:
node . 0xAF28bcB48C40dBC86f52D459A6562F658fc94B1e 1670475600
To generate a timestamp, you can use a service like unixtimestamp.com.
gaswoman will write to refunds.json
. To queue your transaction:
- Open the Safe App.
- On the right-hand side of the screen, click "Use Transaction Builder".
- Within the Transaction Builder, select "choose a file" (in the lower right-hand corner).
- Navigate to the gaswoman directory, and double-click on
refunds.json
. - Click "Create Batch".
- Click "Send Batch".
- Click "Submit".