Skip to content

Instantly share code, notes, and snippets.

@palango
Last active January 2, 2018 14:40
Show Gist options
  • Save palango/4d24b5c6b3484de29c3e5dd72139778a to your computer and use it in GitHub Desktop.
Save palango/4d24b5c6b3484de29c3e5dd72139778a to your computer and use it in GitHub Desktop.
(Pdb++) e
<Log(address='bdeec64a315fcf20ba6ec609e3960df58b60db3a',
topics=[101310747533482684183367052398542450937031360496695075225560644342949186288103],
data=b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xf2\x04z\x82F&c"\x0c\xa3\xcf\xb661\x15\x1c9\x17\xaa\xce\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xc7\x8b\x86\x99}\x94T\x02cQ\x9a\xbcN\x11R\x85\x10X\xf5>')>
(Pdb++) e.to_dict()
{'bloom':
'00000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000040000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000',
'address': 'bdeec64a315fcf20ba6ec609e3960df58b60db3a', 'data':
'0x000000000000000000000000f2047a82462663220ca3cfb63631151c3917aace000000000000000000000000c78b86997d94540263519abc4e1152851058f53e',
'topics': ['dffbd9ded1c09446f09377de547142dcce7dc541c8b0b028142b1eba7026b9e7']}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment