A decentralized investment scheme

Hi guys, for game developers, and project owners.. i made a decentralized investment system smart contract where anyone and everyone can invest in your game platform or project and can get their returns based on the profit generated. Its a distinct way to sell shares to anyone and get investors using blockchain..

https://github.com/Pro-Culture/Dais sell shares of your Dapp (blockchain games and NFTs startups) with cryptocurrency using this code. You can refactor the code to suit your niche, its opensource

2 Likes

Yeah, am interested, we may even work together, let me see the source code

1 Like

Sent me some details

I'm a bit confused as too what this contract is trying to achieve.
People can invest an amount and 70% is sent to the owner.
Then a percentage of that amount is stored for that user, and then the user can claim that part later by calling claim.

If the user call the function twice the investinfo is overwritten, not updated.

Claim has an reentrancy vulnerability allowing an investor to drain the contracts remaining value. Also it is hardcoded to check for 2 days from invest time, not verifying against the stored investment time for claim.