The Coinvest protocol is the heart of the platform while the smart contract functions contain logic that is executed when a token exchange, transaction, funding, and distribution occurs. The protocol can be accessed directly using the following contracts:
Token Offering Contract
Private Whitelist and Crowdsale Functions
The private whitelist and crowdsale functions contain details and actions specific to the public token offering. This includes, but is not limited to the ability to purchase tokens and variables such as initial token price, discount rates, and more. The COIN token crowdsale variables are based upon the details outlined in the crowdsale section of this whitepaper.
In the event of an investment, this function will execute, confirm, and anchor investment data to the blockchain. This protocol is also referred to as InvestChainᵀ ᷟ below. Additional variables specific to this use are recorded to the blockchain for record history and smart contract execution. Investment portfolios require a full deposit of COIN approved by the user, and sent by the DAPP to the smart contract. The funds are held by the Investment Contract until they are sold and withdrawn by the user at a later date (initiated through the Coinvest or partner DAPPs). Thus guaranteeing non-custody of the funds by a human body throughout the entire investment process.
This contract handles the distribution of the fee schedule when the <sell> function has been initiated. The distribution supports the core Coinvest DAPP as well as custom DAPPS created and operated by others.
The Oracle contract will use Oraclize to frequently update market prices of the different cryptonized assets on the Investment contract.
DAO Contract (Future)
The DAO contract will be implemented in the future and will allow all COIN holders to vote in new contracts to replace old ones. To begin with, these contracts will all be combined, disallowing the owner wallet the ability to switch out contracts with no approval while providing maximum security. However, contracts will be split up and put under DAO control to enable easy updates.
User Database Contract (Future)
This contract saves all investment data on the holdings of each user. Once the DAO is created, compartmentalizing this contract from the Investment contract will allow updates of the Investment contract without affecting users.
All data in all cases above can be validated by the Ethereum network nodes.Coinvest InvestChainᵀ ᷟTechnology
The COIN protocol utilizes InvestChainᵀ ᷟ, a technology created by Coinvest that anchors transaction data to the blockchain. In other words, provides a receipt of investment history for each on-chain trade. This receipt provides irrefutable proof of the investment data recorded at a specific time. Thus, preserving data integrity and increasing overall trust in the industry. Each receipt contains the following elements:
User wallet address
Cryptonized asset name(s)
Cryptonized asset price(s)
Cryptonized asset allocation
To provide complete trust and transparency, Coinvest will also create tools to validate these receipts, as open-source components for commercial use for the public. (Similar to cryptocurrency explorers, transaction data can be retrieved by way of different variable)
Coinvest will also develop API’s that enable partners in the COIN token ecosystem to accept the COIN token as a method of exchange AND provide complete transparency and validation to their users as well.