4.1.1 Use Case UCF1
Let's start with the use case of a user who wants to create an investment fund in decentralized assets.
A user of the MerlinProtocol platform will have the prerogative to create his own personalized basket of tokens, entirely controlled by him and in which he can decide the composition of the basket.
The composition of the fund or basket can be fixed or dynamic, depending on the will of the creator.
A fixed composition of the fund foresees the initial choice of services and products of the crypto world to be included in its portfolio of offerings to other users, chosen from the many existing ERC20 tokens.
A dynamic composition of the fund allows the creator to decide on an objective parameter for evaluating the market performance of crypto products and services, whose verification is guaranteed over time by a system of decentralized oracles connected to the MerlinProtocol platform.
For example, the user creator of the fund will be able to decide whether to keep in his investment fund in the creation phase only the 20 best ERC20 coins chosen for daily capitalization, volumes moved on the market, percentage of rise or fall in value and many other parameters.
From the moment the fund is created a network of decentralized oracles will provide reliable information on market trends, after which the fund will delegate the buying and selling operations to a decentralized exchange in order to rebalance the fund according to the criteria set by the creator.
He will use the platform's graphical interface via prior connection to an ethereum wallet he owns. He will be able to set the criteria by which his fund will evaluate purchases and sales of DeFi products and services. The chosen criteria will be transmitted by the webapp to the offchain oracles that will collect data from the market, which will then be transmitted through appropriate connectors to the Smart Contracts of the fund. At the same time a Smart Contract "SCF" will be initialized and will constitute the actual fund.
The platform will initialize the initial parameters of SCF:
a wallet address of the creator of the fund, who will receive part of the fund's fees for being its creator;
the pointers to the connectors of the oracles identified in the initial phase, which will act as intermediaries between the oracles providing data on market trends and the Smart Contract itself;
the initial conversion rate that relates ETH invested in the fund and fund tokens received in exchange
the minimum share of ETH participation in the fund
other support variables relevant to the functioning of the system, such as the connection to the Treasury Smart Contract "SCT" to which part of the fees will be forwarded.
It should be noted that the users, when creating a fund, are guided in the process by restrictive parameters for the selection criteria of the assets that can be part of the fund, so as to carry out a risk assessment of the fund already at this stage.
This feature is necessary for technical reasons, as there are limitations on the number and configuration of oracles that can be produced and which can be expanded as the MerlinDAO chooses.
Last updated