1. On each transfer check that the token types match. 2. On deposit make sure the token type is the same as the token.