{
    "Function": "createRetryableTicket",
    "File": "contracts/tests/arbitrum/InboxMock.sol",
    "Parent Contracts": [
        "contracts/arbitrum/IInbox.sol",
        "contracts/arbitrum/IMessageProvider.sol"
    ],
    "High-Level Calls": [
        "AddressAliasHelper",
        "AddressAliasHelper"
    ],
    "Internal Calls": [
        "abi.encodePacked()",
        "_deliverMessage"
    ],
    "Library Calls": [
        "applyL1ToL2Alias",
        "applyL1ToL2Alias"
    ],
    "Low-Level Calls": [],
    "Code": "function createRetryableTicket(\n        address _destAddr,\n        uint256 _arbTxCallValue,\n        uint256 _maxSubmissionCost,\n        address _submissionRefundAddress,\n        address _valueRefundAddress,\n        uint256 _maxGas,\n        uint256 _gasPriceBid,\n        bytes calldata _data\n    ) external payable override returns (uint256) {\n        _submissionRefundAddress = AddressAliasHelper.applyL1ToL2Alias(_submissionRefundAddress);\n        _valueRefundAddress = AddressAliasHelper.applyL1ToL2Alias(_valueRefundAddress);\n        return\n            _deliverMessage(\n                L1MessageType_submitRetryableTx,\n                msg.sender,\n                abi.encodePacked(\n                    uint256(uint160(bytes20(_destAddr))),\n                    _arbTxCallValue,\n                    msg.value,\n                    _maxSubmissionCost,\n                    uint256(uint160(bytes20(_submissionRefundAddress))),\n                    uint256(uint160(bytes20(_valueRefundAddress))),\n                    _maxGas,\n                    _gasPriceBid,\n                    _data.length,\n                    _data\n                )\n            );\n    }"
}