Skip to main content

BuilderWallet

Git Source

State Variables
​

FACTORY
​

address public immutable FACTORY

builderAdmin
​

address public builderAdmin

Functions
​

constructor
​

constructor(address factory) ;

init
​

function init(address _builderAdmin) external;

sweep
​

function sweep(address token, address to) external;

Events
​

BuilderWalletInitialized
​

Emitted when the builder wallet is initialized

event BuilderWalletInitialized(address indexed builderAdmin);

Parameters

NameTypeDescription
builderAdminaddressThe address of the builder admin

TokensSwept
​

Emitted when tokens are swept from the wallet

event TokensSwept(address indexed token, address indexed to, uint256 amount);

Parameters

NameTypeDescription
tokenaddressThe address of the token swept
toaddressThe address that received the tokens
amountuint256The amount of tokens swept