importsysimportdagvizimportnetworkxasnxfrometh_abiimportdecode# The parent of the root claim is uint32 max.ROOT_PARENT=4294967295# Get the abi-encoded inputb=sys.argv[1].removeprefix('0x')# Decode the inputt=decode(['(uint32,bool,bytes32,uint128,uint128)[]'],bytes.fromhex(b))[0]# Create the graphG=nx.DiGraph()forcint:claim=c[2].hex()