add token dealer
add test for pendingeventtokens