DeFi and the Future of Finance. Campbell R. Harvey
Чтение книги онлайн.

Читать онлайн книгу DeFi and the Future of Finance - Campbell R. Harvey страница 9

Название: DeFi and the Future of Finance

Автор: Campbell R. Harvey

Издательство: John Wiley & Sons Limited

Жанр: Маркетинг, PR, реклама

Серия:

isbn: 9781119836025

isbn:

СКАЧАТЬ

      The initial cryptocurrency model is the Bitcoin blockchain, which functions almost exclusively as a payment network, with the capabilities of storing and transacting bitcoins across the globe in real time with no intermediaries or censorship. This is powerful value proposition gives bitcoin its value. Even though its network effects are strong, some competitors in the cryptocurrency space offer enhanced functionality.

      A crucial ingredient of DeFi is a smart contract platform, which goes beyond a simple payments network such as Bitcoin and enhances the chain's capabilities. Ethereum is the primary example. A smart contract is code that can create and transform arbitrary data or tokens on top of the blockchain to which it belongs. Powerfully, it allows the user to trustlessly encode rules for any type of transaction and even create scarce assets with specialized functionality. Many of the clauses of traditional business agreements could be shifted to a smart contract, which not only would enumerate but also algorithmically enforce those clauses. Smart contracts go beyond finance to include gaming, data stewardship, and supply chain.

      However, gas is a primary mechanism for preventing system attacks that generate an infinite loop of code. It is not feasible to identify malicious code of this kind before running it, a problem formally known in computer science as the halting problem. Suppose a car is on autopilot, stuck in full throttle with no driver. Gas acts as a limiting factor: the car will stop eventually when the gas tank empties. In the same way, gas fees secure the Ethereum blockchain by making such attacks cost-prohibitive. They incentivize highly efficient smart contract code since contracts that use fewer resources and reduce the probability of user failures have a much higher chance of being used and succeeding in the market.