admin管理员组

文章数量:1529463

文章目录

    • Starknet架构之Starknet state
      • 过渡到新状态
      • Starknet架构之状态承诺State commitment
      • Merkle-Patricia trie 默克尔-帕特里夏树

Starknet架构之Starknet state

原文链接: https://docs.starknet.io/architecture-and-concepts/network-architecture/starknet-state/

Starknet’s state consists of:

  • Contract classes 合约类
    a mapping between the class hash and the class definition
    类哈希和类定义之间的映射

  • Contract instances 合约实例
    a mapping between addresses (251-bit field elements) and the contract’s state
    地址(251 位字段元素)和合约状态之间的映射

A contract instance’s state consists of:
合约实例的状态包括:

  • Class hash 类哈希
    defines the functionality of the contract
    定义合约的功能

  • Contract storage 合约存储
    a key-value mapping where the key/v

本文标签: 架构StarknetStatecommitment