IChainAssetHandler
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
Name | Type | Description |
---|---|---|
chainId | uint256 | Chain ID of the ZK chain |
assetId | bytes32 | Asset ID of the token for the zkChain's CTM |
settlementLayerChainId | uint256 | The 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
Name | Type | Description |
---|---|---|
chainId | uint256 | Chain ID of the ZK chain |
assetId | bytes32 | Asset ID of the token for the zkChain's CTM |
zkChain | address | The address of the ZK chain on the chain where it is migrated to. |