Closed gabririgo closed 6 years ago
david's proposal:
store address of buyer as a hash rather than address:
logic: address of owner remains anonymous and user can always send a sell transaction, as the sell function would not be checked from msg.sender, but from the hash of msg.sender plus some other parameter
implemented. The address is not shown in the buy function, and in the event we show the address of the vault manager, hence no need to hash the address of the hodler. closing this
implement function buy vault on behalf. logic: allow trader to transfer from exchange to his wallet and allocate vault shares for different clients
modificare codice cosi:
function buyVault() buyVaultOnBehalf(msg.sender, null?);
function buyVaultOnBehalf(address _buyer, string mnemonic) logic of current buyVault()