Closed gabririgo closed 6 years ago
buyVaultOnBehalf is a useful feature to implement the subscription module, distributors/managers will need to be careful not sending fund shares to contracts.
Preventing sending tokens to contracts is not a solution, as some contracts might be built on purpose to hold and transfer them. Closing it.
the function buyVaultOnBehalf has been implemented in vaults, and allows one manager to buy on an exchange, buy shares of vault on behalf of client and send the user the keys that control the shares
but one potential problem is the following: if the manager buys on behalf of a contract, such contract will not be able to move tokens unless it is programmed to do that.
one such manager would probably need to go through further verification.