Professional Documents
Culture Documents
Fractals D 22 00143 - R1
Fractals D 22 00143 - R1
Fractals D 22 00143 - R1
Abstract: ICO strategy has worked so far to fund any project. In this scheme, the ICO launch a
token playing the stake role, the more people buy tokens, the more funding for the
projects. The stakeholders also earn money if the project gains more reliability and
more people buy this token. In other words, an ICO strategy works based on selling
and buying tokens either; security, utility, equity, etc. However, this paper’s focus is on
using oracles and Hyperledger, which means, that there is no need to launch a token
but it uses network block-chain benefits, particularly oracles and the Ethereum virtual
machine, not the Ethereum blockchain platform but its virtual machine. Since this is a
proposal to be used for governmental or corporate usage, the Hyperledger and oracles
strategy fits better. Funds for this use case are health field, specifically to pale the
covid-19 pandemic. The system’s reliability is the core to attracting investors and
donors to fund the system if it guarantees that resources will get to the right destiny.
DAPP is based on a smart contract aligned to smart societies’ concepts to ensure
system sustainability.
Response to Reviewers: please check corrections on the papers accordingly to your review.
Powered by Editorial Manager® and ProduXion Manager® from Aries Systems Corporation
Manuscript Click here to access/download;Manuscript;FUND SMART
SOCIETIES 270422.pdf
Abstract
ICO strategy has worked so far to fund any project. In this scheme, the ICO
launch a token playing the stake role, the more people buy tokens, the more
funding for the projects. The stakeholders also earn money if the project gains
more reliability and more people buy this token. In other words, an ICO strategy
works based on selling and buying tokens either; security, utility, equity, etc.
However, this paper’s focus is on using oracles and Hyperledger, which means,
that there is no need to launch a token but it uses network block-chain benefits,
particularly oracles and the Ethereum virtual machine, not the Ethereum
blockchain platform but its virtual machine. Since this is a proposal to be used
for governmental or corporate usage, the Hyperledger and oracles strategy fits
better. Funds for this use case are health field, specifically to pale the covid-19
pandemic. The system’s reliability is the core to attracting investors and donors
to fund the system if it guarantees that resources will get to the right destiny.
DAPP is based on a smart contract aligned to smart societies’ concepts to
ensure system sustainability.
1
1. INTRODUCTION
Intel, IBM, HITACHI, and some other corporations are participating in the
Hyperledger Linux Foundation initiative1-2. This initiative complements the
ICO3 scheme where funding is based on buying/selling a token and the price of
token and funding is increasing as long as more tokens are demanded in a public
network, as is the traditional tokens examples4: NFT, security, utility, equity,
etc. Hyperledger platform, has some benefits that traditional crypto platforms
do not have: speed and it is accessible to code smart contracts5-10 with a variety
of languages, but it is for focused private networks used by corporations.
Private networks allow block-chain to ease speed (>2000tps) and security by
not using too many nodes there are some kinds of nodes/peers in this scheme:
committing, ordering, and endorsing peers. In the traditional decentralized
system, all nodes have the ledger, which means, all nodes have the same
information, but Hyperledger has different nodes with different functions;
ordering peers to do the consensus to solve the border gateway protocol
(BGP)11, endorsing peers representing each network (LAN) and commitment
peers containing the ledger. If not all the nodes have the ledger, then the speed
can be fast (>2000tps).
In the ICO strategy, the redundance byzantine fault tolerance (RBFT) 12 can be
solved by several public network types of consensus13; proof of work (as used
in bitcoin), proof of stake with some variants, proof of importance, etc. In the
Hyperledger, the BGP has been solved by a lottery permission scheme or a
voting permission scheme14, for example, the following types of consensus:
kafka15 in the Hyperledger fabric project from IBM, redundance byzantine fault
tolerance (RBFT) in the Indy project from British Columbia, sumeragi in the
burrow project from monax, proof of elapsed time (PoET) in the sawtooth
Hyperledger, etc. In this use case, the Apache Kafka consensus is used and
tested. The Kafka consensus is a permissioned voting based, the leader does the
ordering and only in synchronized replicas can be voted as a leader (Kafka
2017).
The Merkle16-19 is a pillar to simplify the ledger cutting off branches of the
blockchain in a public network, but a Hyperledger (a private network) is not
required because the private network is not as big as the public network.
Smart societies20 looks that smart cities, social networks, and economical
societies formed by corporations and governmental organizations instead of
doing only smart systems. Some pillars of smart societies are health, security,
society prosperity, safety, sustainable ecosystems, etc. Therefore, this
Hyperledger application includes health, security, society prosperity, safety,
and sustainable ecosystems elements intrinsically. The architecture trend of the
current smart societies is based on the blockchain internet of things (BIoT). In
this case, the blockchain is coded with Hyperledger tools, and the internet of
things is based on all the user’s terminal devices entering information into the
system; Mobil devices, tablets, desktops, transactions GPS terminal devices,
etc.
Some decentralized public systems have also been proposed21-23 but this
application is an ad-hoc proposal for private corporations and governmental
organizations to attack pandemics; especially the COVID_19 use case.
The main objective is to develop an expert system for funding24-25.
Donations can be made with FIAT money to combat the COVID-19 pandemic.
Donating goods or money is a common practice among companies, non-
governmental organizations, and individuals. In the field of solidarity, the
donor is carried out and motivated with tax benefits.
Although various donation systems on the market today can help us in
fundraising; However, it is an expert system designed ad-hoc for the COVID-
19 pandemic with BIoT; the impact of using the BIoT concept is to send all the
data to the Internet cloud to form a large data repository, and the impact of
using KAFKA algorithm is to avoid saturation in the blockchain ecosystem.
The expert system is a funding system for raising funds via FIAT or tokens to
support the COVID-19 pandemic using the hyper ledger blockchain platform.
This system has an intelligent contract that meets the characteristics of being
reliable, versatile, accessible, and sustainable; and at the same time contributes
to a documented study that serves as a reference for future similar works, given
that the use of blockchain technology is not yet in daily use for this type of
application.
This study analyzes the parameter estimation on funding systems to combat
the COVID-19 pandemic to meet the essential characteristics of this type of
system; reliable, versatile, accessible, sustainable, and efficient.
Smart contracts can be successfully optimized using the Kafka consensus
algorithm. The use of this algorithm is essential when using big data around the
smart contract. Stability analysis of smart contracts is also needed to avoid
saturation.
2. HYPERLEDGER DOCOVID DAPP
HYPERLEDGER
APLICATIONS MANUFACTURING, GOVERMENT, HEALTH CARE, SERVICES SECTOR
a) SERVICE SUBLAYER,
b) CONSENSUS NETWORK SUBLAYER,
c) DATA SUBLAYER: ALGORITHMS, DIGITAL SIGNATURES.
BLOCK-CHAIN
d) SMART CONTRACTS,
LAYER
e) RBFT,
f) PEERS: ENDORSING, ORDERING, VALIDATION.
PUBLIC NETWORK
FUNDING ➔ EVM (ETHEREUM VIRTUAL MACHINE PERMISSION) ➔
DECENTRALIZED IDENTIFIER CRYPTO PERMISSION ➔
COMMUNICA-
TIONS
PRIVATE NETWORK
LAYERS
TRUST CREDENTIAL EXCHANGE ➔ ISSUER-HOLDER-VERIFIER:
Fig. 1. (TRUSTED VERIFICATION)
➔ EXTERNAL DATA
DATA INTERFACES
a) TRUST ANCHOR,
b) CREDENTIAL REGISTRY,
GOVERNANCE c) GOVERNANCE,
FRAMEWORK d) AUDITOR,
e) AUTHORITY,
Figure 2 mentions public data and private data; pubic data are open data and
public data are data only accessible by the private company owner of the
blockchain. EVM (Ethereum virtual machine) plays the role of a crypto filter
to secure the ss to the private blockchain, therefore EVM makes the private
blockchain enough reliable to use a Kafka algorithm which has no problem
with the Byzantine fault tolerance consensus algorithm.
Figure 3 Kafka consensus algorithm cluster architecture.
USA
4000
2000
US
This seems to be a fractal so far, but this curve shown in this figure 4 27will
have to drop sooner or later by vaccination and herd immunity, but the idea of
a funding system is to accelerate the fall of cases and save lives. Figure 4 shows
deaths but there is a correlation between the cases and the deaths (5% to 20%
deaths of the cases), therefore the curve of the case has the same shape.
The funding system, in general, is focused on a private network (Hyperledger
blockchain) to be used by nonprofit organizations. The rising money is
destinated to save lives (covid treatments, vaccine research, and vaccines), the
general dynamic system is shown in figure 5.
Fig. 5 Dynamic system map.
And, considering the SIR 33-36 model proposal our nonlinear system is based on
three equations:
𝑆̇ = −𝛽𝑆𝐼, t ≥ 0 (6)
̇𝐼 = 𝛽𝑆𝐼 − 𝛾𝐼, t ≥ 0 (7)
𝑅̇ = 𝛾𝐼 t ≥ 0 (8)
N= S+I+R t ≥ 0 (9)
Where S is the number of susceptible people (people exposed to covid), I is the
number of infected people, R is the number of recovered people and dead, and
N is the total population in an initial time of 0. 𝛽 is the infection rate and gamma
𝛾 is the recovery rate. Equations 6,7,8 and 9 represent the model SIR is a simple
design but works as a start point for many pandemic models.
The key value governing the time evolution of these equations is the so-called
epidemiological threshold;
Where;
DRV is the delivered resources related to vaccines.
SCI is the system constant related to infections cases,
DRT is the delivered resources related to treatments,
SCI is the system constant related to the recovery cases,
DR is the total delivered resources.
The parameters estimation is done using the recursive ARMA model from
equations (2) and (3) and the optimal parameters are found using the function
lsqnonlin (Nonlinear least-squares solver) that solves nonlinear least-squares
curve fitting problems37.
Once the system is identified, we can see the funding system as a homeostasis
system requiring an equilibrium. Since the total funding amount is the primary
variable to control, this needs to be regulated to satisfy the delivered resources
accordingly to (I) until becoming 0 (zero infected cases), or it can be seen as
a binomial probability (see eq. 13) issue with two cases37: the possibility to
get a new outbreak or the possibility of not getting a new outbreak if the
delivered resources are unlimited to apply, but this case of seeing the control
system as a binomial probability depends on the available resources to make
it happens.
𝑛𝐶 x px (1-p)n-x (14)
Where the matrix order corresponds to the differential equation order with
[𝑛×𝑛] [𝑛×1] [𝑛×𝑛] [𝑛×1]
𝐴 ∈ ℝ[0,−∞] , 𝐵 ∈ ℝ[0,1] , 𝐶 ∈ ℝ[1,−1] , 𝐷 ∈ ℝ[0,1] , 𝑤𝑡 ∈ 𝑁{𝜇𝑤𝑡 , 𝜎𝑤2𝑡 < ∞}
The control law system 𝑉𝑡 ∗ (Lyapunov variable37) with respect to (15) has the
form
𝑉𝑡 ∗ = 𝐻 + (𝐸𝑡 − 𝐺𝑌𝑡 ) (16)
Where the trajectory region with respect to the gain matrix 𝑴𝒕 , is described
in
𝑀̇𝑡 = −𝐹𝑡 (18)
𝐸𝑡 = 𝑌̂𝑡̇ − 𝐹𝑡 (22)
Figure 6 shows the S, I, and R behaviors, please note that the dynamic behavior
is similar to a square hyperbolic secant in t ≥ 0, also please note that this model
matches for OB = 0 therefore it only matches in the first outbreak period;
between t = 0 until the second outbreak appeared, approximately from the
march the middle to may the middle (please see fig. 4). However, as long as,
there is a new outbreak, the dynamic system will behave as a fractal with
recursive SIR patterns until the herd immunity. We are considering that global
herd immunity has not been reached.
Fig. 7 Dynamic susceptible prevalence using vaccines.
Figure 7 shows the susceptible prevalence for each outbreak, the outbreak
spikes are approximately in the following months according to figure 4: OB1
in April 2020, OB2 in January 2021, OB3 in April 2021, and an OB4 in January
2022.
PANDEMIC S, I, R, OUTPUT
INPUT
PROCESS INFECTED IN t ≥ 0
INFECTED = 0
FUNDING =>
PANDEMIC SUPPORT
(TREATMENTS AND VACCINES
The pandemic SIR control system (please see figure 9) only considers treatment
and vaccines elements in the controller since other actions such as mask usage
and isolation are already under the people’s consciousness so far and for
following pandemics. This control system applies and procures the required
funding according to the dynamic behavior of figure 9.
Figure 10 Output funding dynamic function.
In figure 10 can be seen the dynamic funding control action, this is the funding
that the system must have to deliver the proper resources to pandemic
treatments and vaccines. There is a correlation between the funding control, the
funding rise, and the delivered resources.
DIMENSION CAPABILITY
API keys 20
Figure 12 Hyperledger blockchain transactions.
Figure 12 shows the transactions timestamps. These are overall transactions
related to fundings users, resources receiver users, and system administrator
Hyperledger user transactions.
Brokers can be scalable
Throughput in MB/s
1200
1000
800
600
400
200
0
0 2 4 6 8 10 12
HYPERDONACOVID BOT
Funder ID
0x49EF4aE5B9Cd354d7A9cB159E3cB125b0DD6b10F
Funding balance
0.001 ETH
[1] https://www.hyperledger.org/
[2] S. Pradip, C. Mu-Yen and P. Jong, A software-defined fog node based
distributed blockchain cloud architecture for IoT, IEEE Access 6 (2017),
115-124.
[3] Yu Wang, Chapter 3: Introduction to Initial Crypto-Token Offering (ICO),
Inclusive FinTech, pp. 83-124(2018)
[4] Matt CHWIERUT et al, Chapter 4: The Characteristics of Token Investors,
Inclusive FinTech, pp. 125-171 (2018)
[5] Ernie Teo, Chapter 7: Introduction to Blockchain Smart Contracts and
Programming with Solidity for Ethereum, Blockchain and Smart
Contracts, 4 (2021), 189-216.
[6] J. Sun et al., Blockchain-based sharing services: What blockchain
technology can contribute to smart cities, Financial Innovation 2(26)
(2016), 1-9.
[7] J. L. Zhao, Overview of business innovation and research opportunities in
blockchain and introduction to the special issue, Financial Innovation 3(9)
(2017), 1-7.
[8] T. Aste, P. Tasca and T. D. Matteo, Blockchain technologies: The
foreseeable impact on society and industry, Computer 50(9) (2017), 18–28.
[9] H. Kim and M. Laskowski, A perspective on blockchain smart contracts:
Reducing uncertainty and complexity in value exchange, IEEE 26th
International Conference on Computer Communication and Networks
(ICCCN), (2019), 265-278.
[10] V. Youdom K. et al., Recent Advances in Smart Contracts: A Technical
Overview and State of the Art, IEEE Access, 8 (2020), 1-5.
[11] Yanwei Wu et al., A fraud prevention BGP protocol: CP-BGP, 2018 IEEE
International Conference on Computational Science and Computational
Intelligence (CSCI), (2018), 1-10.
[12] Pierre Aublin et al., RBFT: Redundant Byzantine Fault Tolerance, 2013
IEEE 33rd International Conference on Distributed Computing Systems.
(2013), 8-11.
[13] P. Rajitha Nair et al., Evaluation of Performance and Security of Proof of
Work and Proof of Stake using Blockchain, IEEE 2021 Third International
Conference on Intelligent Communication Technologies and Virtual
Mobile Networks (ICICV), (2021), 2-10.
[14] Sam Goundar et al., Chapter 7: Blockchain-based e-Voting Application,
Blockcain Technologies, Applications and Cryptocurrencies, (2020), 169-
188.
[15] Mohamed Ouhssini et al., Distributed intrusion detection system in the
cloud environment based on Apache Kafka and Apache Spark, IEEE 2021
Fifth International Conference On Intelligent Computing in Data Sciences
(ICDS), (2021), 1-10.
[16] Ralph C. Merkle, A Digital Signature Based on a Conventional Encryption
Function, Conference on the theory and application of Cryptographic
Techniques CRYPTO 1987:Advances in cryptology, (1987), 369-378.
[17] Jehan-François Paris, Thomas Schwarz, Merkle Hash Grids Instead of
Merkle Trees, IEEE: 2020 28th International Symposium on Modeling,
Analysis, and Simulation of Computer and Telecommunication Systems
(MASCOTS), (2020), 1-7.
[18] Brian Rogers et. Al, Using Address Independent Seed Encryption and
Bonsai Merkle Trees to Make Secure Processors OS- and Performance-
Friendly, 40th Annual IEEE/ACM International Symposium on
Microarchitecture (MICRO 2007), (2007), 1-11.
[19] Ricardo Carreño et al., Decentralized Donation Expert System to Bring
Down Covid-19, Fractals Journal, (2021), 1-11.
[20] Takuya ljima et al, Smart device contributing to realizing Smart Society,
and the relating International Standards, IEEE 2017 56th Annual
Conference of the Society of Instrument and Control Engineers of Japan
(SICE), (2017), 273-274.
[21] F. Matteo, DL-Tags: DLT and Smart Tags for Decentralized, Privacy-
Preserving, and Verifiable Supply Chain Management, IEEE Access, 7
(2019), 46198-46208.
[22] S. Kumar, An Investigation into Smart Contract Deployment on Ethereum
Platform Using Web3.js and Solidity Using Blockchain, Data Engineering
and Intelligent Computing, (2021), 549-561.
[23] R. Carreño, A NON-LINEAR MODEL FOR A SMART SEMANTIC
BROWSER BOT FOR A TEXT ATTRIBUTE RECOGNITION, fractals,
(2020), 1-10.
[24] Hanyang Wu. et al., Developing a Reliable Service System of Charity
Donation During the Covid-19 Outbreak, IEEE Access, 8 (2020), 1-4.
[25] Chang Liu, Lisa Liu, A Privacy-Preserving and Overhead-Free Protocol
for Direct Donations to People Impacted by COVID-19 Lockdowns, 2020
IEEE Global Humanitarian Technology Conference (GHTC), (2020), 1-2.
[26] Harris E. Michail et al., Area-Throughput Trade-Offs for SHA-1 and SHA-
256 Hash Functions’ Pipelined Designs, Journal of Circuits, Systems and
Computers, 25 (4), (2016), 1-2.
[27] https://especiais.gazetadopovo.com.br/coronavirus/casos-no-mundo/
[28] Laurencin C.T., McClinton A. The COVID-19 Pandemic: a Call to Action
to Identify and Address Racial and Ethnic Disparities. J Racial Ethn Health
Disparities, 7, 398-402 (2020).
[29] Vinay Chamola, A Comprehensive Review of the COVID-19 Pandemic
and the Role of IoT, Drones, AI, Blockchain, and 5G in Managing Its
Impact, IEEE Access, 8 (2020), 1-3.
[30] M. Jamshidi, Artificial Intelligence and COVID-19: Deep Learning
Approaches for Diagnosis and Treatment, IEEE Access, 8 (2020), 1-7.
[31] R. Carreño et al, An IoT Expert System Shell in Block-Chain Technology
with ELM as Inference Engine, IJITDM, , 18 (1), (2019), 87-104.
[32] Jules Sadefo Kamdem et al., S-ARMA Model and Wold Decomposition
for CovarianceStationary Interval-Valued Time Series Processes, New
Mathematics and Natural Computation, 17, (2021) 191–213.
[33] Sourav Chowdhury et al., Universality and herd immunity threshold:
Revisiting the SIR model for COVID-19, International Journal of Modern
Physics C, 32 (10), (2021), 1-9.
[34] https://mathworld.wolfram.com/Kermack-McKendrickModel.html
[35] https://www.kaggle.com/lisphilar/covid-19-data-with-sir-model
[36] https://towardsdatascience.com/extending-the-basic-sir-model-
b6b32b833d76
[37] S. Rionero, Lyapunov functionals for the coincidence between the first and
the second Lyapunov stability methods, New Trends in Fluid and Solid
Models, (2009), 113–121.
[38] W. Gu t al., Expert system for ice hockey game prediction: Data mining
with human judgment, IJITDM, 15(4) (2016), 763–789.
[39] N. J. Pizzi et al., Expert system approach to assessments of bleeding
predispositions in tonsillectomy/adenoidectomy patients, Advances in
Artificial Intelligence 27 (1990) 67–83.
[40] Agrawal, Prateek & Madaan, Vishu & Kumar, Vikas, Fuzzy rule-based
medical expert system to identify the disorders of eyes, ENT and liver.
International Journal of Advanced Intelligence Paradigms. 7(3) (2015),
352-367.
[41] H. Dong, A & Shan, D & Ruan, Z & Y. Zhou, L & Zuo, F. The Design and
Implementation of an Intelligent Apparel Recommend Expert System.
Mathematical Problems in Engineering. (2013).
[42] Som, Pradip & Chitturi, Ramesh & G. Babu, A.J. Expert Systems
Application in Manufacturing. Proceedings of SPIE - The International
Society for Optical Engineering. 786 (1987). 474-479.