BuilderWallet
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
| Name | Type | Description |
|---|---|---|
builderAdmin | address | The 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
| Name | Type | Description |
|---|---|---|
token | address | The address of the token swept |
to | address | The address that received the tokens |
amount | uint256 | The amount of tokens swept |