BaseBribeFactory

Description:

An additional factory layer responsible solely for deploying instances of the BribeFactory contract. This allows for standardized deployment of the bribe creation mechanism itself.


function createBribeFactory() external returns (address)

Description:

Deploys a new BribeFactory contract instance. Stores the address of the newly deployed factory in lastBribeFactory. This function can be called by any address.

Return Value:

Type
Description

address

The address of the newly deployed BribeFactory.

Events Emitted:

BribeFactoryCreated(address bribeFactory)

Last updated