• Converts and returns the msg.sender viewed on L2 to the address that submitted a transaction to the inbox on L1.

    Parameters

    • address: string

      The sender address viewed on L2.

    Returns string

    applyL1ToL2Alias.

    const l2ContractAddress = "0x813A42B8205E5DedCd3374e5f4419843ADa77FFC";
    const l1ContractAddress = utils.undoL1ToL2Alias(l2ContractAddress);
    // const l1ContractAddress = "0x702942B8205E5dEdCD3374E5f4419843adA76Eeb"