smart-contracts
smart-contracts copied to clipboard
InvestorInteractionContract: Voting cannot be gamed anymore
We are using for internal vote counting addresses starting from 0x64 upwards. This is to provide extreme compatibility with all the wallets: bare minimum is, an ability to transfer EIP-20 tokens.
However, if someone would transfer some SecurityTokens to 0x64 or related addresses, they could nullify the votes by calling importInvestor(0x64).
This is now prevented.
Test will be amended once we have a conflict-free test_security_token.py.