An Agent-Based Model Framework for Utility-Based Cryptoeconomies

Kiran Karra
CryptoEconLab
Published in
3 min readAug 10, 2023

Introduction

CryptoEconLab (CEL) is excited to share our latest publication: An Agent-Based Model Framework for Utility-Based Cryptoeconomies, published and presented at the Chainscience 2023 conference.

This paper explores how Agent-Based Models (ABMs) can be adapted to a particular type of decentralized system: utility-based decentralized networks. These networks employ their own currency to provide consumptive rights on the products or services the network offers, creating a marketplace of goods providers and consumers. Since the entire system depends on the good being traded, any tool attempting to model such a system needs to consider how changes in utility impact the system and the agents.

Our approach complements other methods in the literature. It builds on the work of Zhang et al. to enable multi-scale coupling between individual microeconomic preferences and protocol-specific supply dynamics.

A Framework for Applying ABMs to Cryptoeconomies

The paper begins by defining a framework for mapping cryptoeconomies to ABMs. The main components are the environment and the agents.

Three properties define the environment:

  1. Network Performance Metrics — what are the key metrics to be modeled and used as performance indicators when evaluating the results of the ABM simulation?
  2. Inputs — when agents take part in the cryptoeconomy, what are the subset of actions that they can take that would affect the network metrics?
  3. Outputs — what outputs flow back to agents (i.e., miners), affecting the agent decisions about their actions in the next timestep?

The agents interacting in the defined environment are miners in a blockchain who take actions based on the environmental outputs. The environment then processes those actions, updates metrics, and generates observable outputs. The outputs are fed back to the agents, and the process is repeated. This feedback loop defines the evolution of the environment and maps well to the real world, where interactions between miners and the blockchain define the evolution of the blockchain. Figure 1 maps the flow of information between the environment and the agents.

Fig 1: Proposed framework for mapping cryptoeconomies to an ABM. Miners are represented by agents, the environment models the supply dynamics and the network KPIs and generates outputs for agents to act upon.

Application to Filecoin

Next, the paper applies this proposed framework to Filecoin. A mathematical model is developed describing the relationship between network inputs and supply. Then, the framework described above is applied. The environment is mapped as follows:

  1. Network Performance Metrics — three categories are relevant to Filecoin:
    - Power: Network QAP, Network RBP
    - Minting: Mined FIL
    - Supply: Circulating Supply, Locked
  2. Inputs — The amount of aggregate power onboarded and renewed on the network.
  3. Outputs — In our model, agents can use all of the network performance metrics to make future decisions about onboarding and renewals. This maps to reality because these metrics are publically available through data aggregators such as Starboard.

Finally, agents model Storage Providers (SPs) and decide whether to onboard and/or renew power based on the environment observables.

The Filecoin ABM is shown in Figure 2.

Figure 2: A diagram of the ABM of the Filecoin network, with arrows indicating the direction of data flow

We implement this model and use it to conduct some interesting experiments that explore the impact of certain policies on the evolution of the cryptoeconomy.

Conclusion

This work came together due to collaboration between the entire CryptoEconLab team on various aspects of cryptoeconomic modeling. The approach taken here is guided by our experience modeling cryptoeconomies for many protocols and teams. For more details, please view the paper here, or watch this talk we gave on modeling cryptoeconomies with ABMs at CryptEconDay in Austin.

To learn more about CryptoEconLab services, check out our website at cryptoeconlab.io and contact us at cel@protocol.ai or Twitter @cryptoeconlab for immediate assistance.

This article was made for informational purposes only. CryptoEconLab does not provide legal, tax, financial, or investment advice. No party should act in reliance upon, or with the expectation of, any such advice.

--

--