Skip to main content

Multichain ERC-20 State


ERC-20 State

The total supply is fixed and cannot be increased for utility tokens.


Multichain ERC-20 State

A multichain token has token instances on multiple chains. Therefore, every chain does not maintain the complete supply. To keep track of this a new supply state must be stored.

The total supply is also fixed and cannot be increased for utility tokens. The issuer can move supply to other chains, e.g. to create new pools, if he is a token holder. The minimum supply needed to move to other chains is the one des not create spillage on exchanges (make calculation).



Questions:

  • Networks:

    • there are 3000+ networks so every issuer will decide his own set

    • needed a especial facet to track the actual networks covered by the issuer

    • if we know all networks covered by the issuer, we do not need to store total aggregated supply, it can be calculated off-chain. Maybe is good for security.

    • expandToNetwork

      • clone current diamond with no supply

      • guarantee facet version

      • withdraw supply from current network

      • add intended supply to new network

    • expandNetwork

      • withdraw supply from current network

      • add intended supply to new network

    • whichdrawFromNetwork

  • Registry:

  • Contract:

  • Factory:

  • Functions:

    • how to verify that all networks have the same contract functions?
ERCTitleDescription
ERC-6358Cross-Chain Token States SynchronizationA paradigm to synchronize token states over multiple existing public chains
ERC-2157dType Storage Extension - Decentralized Type System for EVMThis ERC is an extension of ERC-1900, proposing an optional storage extension for dType, a decentralized type system, specifying a general ABI for all storage contracts that contain type instances.
ERC-5559Cross Chain Write Deferral ProtocolThe cross chain write deferral protocol provides a mechanism to defer the storage & resolution of mutations to off-chain handlers