IChainAssetHandler

Git Source

Inherits: IAssetHandler, IL1AssetHandler

Author: Matter Labs

Note: security-contact: security@matterlabs.dev

Events

MigrationStarted

Emitted when the bridging to the chain is started.

event MigrationStarted(
  uint256 indexed chainId,
  bytes32 indexed assetId,
  uint256 indexed settlementLayerChainId
);

Parameters

NameTypeDescription
chainIduint256Chain ID of the ZK chain
assetIdbytes32Asset ID of the token for the zkChain's CTM
settlementLayerChainIduint256The chain id of the settlement layer the chain migrates to.

MigrationFinalized

Emitted when the bridging to the chain is complete.

event MigrationFinalized(
  uint256 indexed chainId, bytes32 indexed assetId, address indexed zkChain
);

Parameters

NameTypeDescription
chainIduint256Chain ID of the ZK chain
assetIdbytes32Asset ID of the token for the zkChain's CTM
zkChainaddressThe address of the ZK chain on the chain where it is migrated to.