  Temporary work is an employment situation useful and suitable in all
occasions in which business needs to adjust more easily and quickly to workload
fluctuations or maintain staffing flexibility. Temporary workers play therefore
an important role in many companies, but this kind of activity is subject to a
special form of legal protections and many aspects and risks must be taken into
account both employers and employees. In this work we propose a
blockchain-based system that aims to ensure respect for the rights for all
actors involved in a temporary employment, in order to provide employees with
the fair and legal remuneration (including taxes) of work performances and a
protection in the case employer becomes insolvent. At the same time, our system
wants to assist the employer in processing contracts with a fully automated and
fast procedure. To resolve these problems we propose the D-ES (Decentralized
Employment System). We first model the employment relationship as a state
system. Then we describe the enabling technology that makes us able to realize
the D-ES. In facts, we propose the implementation of a DLT (Decentralized
Ledger Technology) based system, consisting in a blockchain system and of a
web-based environment. Thanks the decentralized application platforms that
makes us able to develop smart contracts, we define a discrete event control
system that works inside the blockchain. In addition, we discuss the temporary
work in agriculture as a interesting case of study.
