Getting straight to the point here, check out json file number one (formatted like a legitimate EIP-712 hash):
{
"types": {
"EIP712Domain": [
{
"name": "name",
"type": "string"
},| // SPDX-License-Identifier: LGPL-3.0-only | |
| pragma solidity 0.7.6; | |
| import "./GnosisSafe.sol"; | |
| contract GnosisSafeTest is GnosisSafe { | |
| constructor() { | |
| // Initialize the Gnosis Safe with some owners and a threshold | |
| address[] memory owners = new address[](3); | |
| owners[0] = address(0x1); |
| // Decompiled by library.dedaub.com | |
| // 2025.04.18 18:07 UTC | |
| object "contract" { | |
| code { } | |
| object "runtime" { | |
| code { | |
| function func_0x311e(_0, _1, _2) -> ret_val_0, ret_val_1 { | |
| let _3 := mload(0x40) | |
| mstore(_3, _0) |
Getting straight to the point here, check out json file number one (formatted like a legitimate EIP-712 hash):
{
"types": {
"EIP712Domain": [
{
"name": "name",
"type": "string"
},| #!/usr/bin/env python3 | |
| """ | |
| safe_prefix_collision_miner.py | |
| Parallel “4-byte-prefix” collision miner for Gnosis Safe’s buggy EIP-191 fallback, | |
| with manual ABI-pack of `execTransaction(...)` calldata (no eth_abi dependency). | |
| Usage: | |
| python3 safe_prefix_collision_miner.py \ | |
| --catalogue safe_signature_catalogue.csv \ |
| #!/usr/bin/env python3 | |
| """ | |
| Fetch Token Flow query results for a list of contract addresses. | |
| * For each address: | |
| 1. POST the SQL (with address injected) -> receive sfqid | |
| 2. POST sfqid -> receive JSON results | |
| 3. Save to 0xXXXXXXXX.json (first 10 chars of address) | |
| Requires: requests, tqdm |