so if i invest now 2 Eth ,i can hold 100% of the ownership if nobody after me invests
ofc there will be many investors, but i will be the first one
It was the Bitcointalk forum that inspired us to create Bitcointalksearch.org - Bitcointalk is an excellent site that should be the default page for anybody dealing in cryptocurrency, since it is a virtual gold-mine of data. However, our experience and user feedback led us create our site; Bitcointalk's search is slow, and difficult to get the results you need, because you need to log in first to find anything useful - furthermore, there are rate limiters for their search functionality.
The aim of our project is to create a faster website that yields more results and faster without having to create an account and eliminate the need to log in - your personal data, therefore, will never be in jeopardy since we are not asking for any of your data and you don't need to provide them to use our site with all of its capabilities.
We created this website with the sole purpose of users being able to search quickly and efficiently in the field of cryptocurrency so they will have access to the latest and most accurate information and thereby assisting the crypto-community at large.
//********************************************EMERGENCY BALANCE RESET
//In case any errors happen the balance can be modified manually, it will only be used as last resort!
function EmergencyBalanceReset(uint new_balance) manager
{
balance = new_balance;
Message_To_Investors="The Balance has been edited by the Manager!";
}
//The manager can deposit manually from previous version's balances
function ManualDeposit() manager
{
totaldeposited+=msg.value; //update deposited amount manually
balance+=msg.value; //update balance amount manually
Message_To_Investors = "Manual Deposit received from the Manager";
}
//********************************************MANUALLY ADD INVESTORS
//The manager can add manually the investors from the previous versions,
//so that those that invested in the older versions can join us in the new and updated versions
function NewManualInvestor(address new_investor , uint new_amount) manager
{
total_investors=investors.length+1;
investors.length += 1; //increment first
investors[investors.length-1].etherAddress = new_investor;
investors[investors.length-1].amount = new_amount;
investors[investors.length-1].percentage_ownership = new_amount /totaldeposited*10000000000;
Message_To_Investors="New manual Investor has been added by the Manager!"; // you can see if the newest investor was manually added or not, this will add transparency to the contract, since this function should only be used in emergency situations.
// This will ensure that the manager doesn't add fake investors of his own addresses.
}
//********************************************EMERGENCY BALANCE RESET
//In case any errors happen the balance can be modified manually, it will only be used as last resort!
function EmergencyBalanceReset(uint new_balance) manager
{
balance = new_balance;
Message_To_Investors="The Balance has been edited by the Manager!";
}
//The manager can deposit manually from previous version's balances
function ManualDeposit() manager
{
totaldeposited+=msg.value; //update deposited amount manually
balance+=msg.value; //update balance amount manually
Message_To_Investors = "Manual Deposit received from the Manager";
}
//********************************************MANUALLY ADD INVESTORS
//The manager can add manually the investors from the previous versions,
//so that those that invested in the older versions can join us in the new and updated versions
function NewManualInvestor(address new_investor , uint new_amount) manager
{
total_investors=investors.length+1;
investors.length += 1; //increment first
investors[investors.length-1].etherAddress = new_investor;
investors[investors.length-1].amount = new_amount;
investors[investors.length-1].percentage_ownership = new_amount /totaldeposited*10000000000;
Message_To_Investors="New manual Investor has been added by the Manager!"; // you can see if the newest investor was manually added or not, this will add transparency to the contract, since this function should only be used in emergency situations.
// This will ensure that the manager doesn't add fake investors of his own addresses.
}
investors[inv_length].etherAddress = msg.sender;
investors[inv_length].amount = amount;
investors[inv_length].percentage_ownership = investors[inv_length].amount /totaldeposited*10000000000;
for(uint k=0; k{investors[k].percentage_ownership = investors[k].amount/totaldeposited*10000000000;} //recalculate % ownership
total_investors=investors.length+1;
investors.length += 1;
investors[investors.length-1].etherAddress = msg.sender;
investors[investors.length-1].amount = amount;
investors[investors.length-1].percentage_ownership = investors[investors.length-1].amount /totaldeposited*10000000000;