IL1NativeTokenVault

Git Source

Inherits: INativeTokenVault, IL1AssetDeploymentTracker

Author: Matter Labs

The NTV is an Asset Handler for the L1AssetRouter to handle native tokens

Note: security-contact: security@matterlabs.dev

Functions

L1_NULLIFIER

The L1Nullifier contract

function L1_NULLIFIER() external view returns (IL1Nullifier);

chainBalance

Returns the total number of specific tokens locked for some chain

function chainBalance(uint256 _chainId, bytes32 _assetId)
  external
  view
  returns (uint256);

registerEthToken

Registers ETH token

function registerEthToken() external;

Events

TokenBeaconUpdated

event TokenBeaconUpdated(address indexed l2TokenBeacon);