def get_events(delegate_pubkey):
res = DbCursor().execute_and_fetchall("""<STR_LIT>""".format(delegate_pubkey))<EOL>Event = namedtuple(<EOL>'<STR_LIT>',<EOL>'<STR_LIT>')<EOL>named_events = []<EOL>for i in res:<EOL><INDENT>tx_id = Event(<EOL>id=i[<NUM_LIT:0>],<EOL>amount=i[<NUM_LIT:1>],<EOL>fee=i[<NUM_LIT:2>],<EOL>timestamp=i[<NUM_LIT:3>],<EOL>recipientId=i[<NUM_LIT:4>],<EOL>senderId=i[<NUM_LIT:5>],<EOL>type=i[<NUM_LIT:6>],<EOL>raw=i[<NUM_LIT:7>]<EOL>)<EOL>named_events.append(tx_id)<EOL><DEDENT>return named_events<EOL>
returns a list of named tuples of all transactions relevant to a specific delegates voters.
    Flow: finds all voters and unvoters, SELECTs all transactions of those voters, names all transactions according to
    the scheme: 'transaction', 'id amount timestamp recipientId senderId rawasset type fee blockId