We are working on a security token sale and are aware we may need to be able to "lock" our tokens, not from being transferred from person to person but from being listed on any exchanges decentralized or otherwise (the tokens will be RegA so will be able to be transferred to nonaccredited investors, however it can't be listed on an unregulated exchanges such as Etherdelta).
I am aware that StartEngine offers this code for their projects but we are not with them. Is anyone aware of how this lock can be implemented in our smart contracts or have any publicly available examples?
Thanks in advance.