Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

UsdWithdrawalOutputBuilderFactory

Git Source

Inherits: IUsdWithdrawalOutputBuilderFactory, RollupsContract

Title: USD Withdrawal Output Builder Factory

Allows anyone to reliably deploy a new IUsdWithdrawalOutputBuilder contract.

State Variables

SAFE_ERC20_TRANSFER

ISafeErc20Transfer immutable SAFE_ERC20_TRANSFER

Functions

constructor

constructor(ISafeErc20Transfer safeErc20Transfer) ;

newUsdWithdrawalOutputBuilder

function newUsdWithdrawalOutputBuilder(IERC20 token, bytes32 salt)
    external
    override
    returns (IUsdWithdrawalOutputBuilder usdWithdrawalOutputBuilder);

calculateUsdWithdrawalOutputBuilderAddress

function calculateUsdWithdrawalOutputBuilderAddress(IERC20 token, bytes32 salt)
    external
    view
    override
    returns (address usdWithdrawalOutputBuilderAddress);

getSafeErc20Transfer

function getSafeErc20Transfer()
    external
    view
    override
    returns (ISafeErc20Transfer safeErc20Transfer);