JBETHERC20ProjectPayerDeployer
Deploys project payer contracts.
Mainnet: 0xa5ca9CEa71Df4b680484e5Ff753a1b1185ba5b43
Goerli: 0x483bFC77f28DB242d40aa456D801354fEEBb502E
Adheres to:
IJBETHERC20ProjectPayerDeployer: General interface for the methods in this contract that interact with the blockchain's state according to the protocol's rules.
State Variables
implementation
address immutable implementation;
directory
IJBDirectory immutable directory;
Functions
constructor
constructor(IJBDirectory _directory);
Parameters
| Name | Type | Description | 
|---|---|---|
_directory | IJBDirectory | A contract storing directories of terminals and controllers for each project. | 
deployProjectPayer
Allows anyone to deploy a new project payer contract.
function deployProjectPayer(
    uint256 _defaultProjectId,
    address payable _defaultBeneficiary,
    bool _defaultPreferClaimedTokens,
    string memory _defaultMemo,
    bytes memory _defaultMetadata,
    bool _defaultPreferAddToBalance,
    address _owner
) external override returns (IJBProjectPayer projectPayer);
Parameters
| Name | Type | Description | 
|---|---|---|
_defaultProjectId | uint256 | The ID of the project whose treasury should be forwarded the project payer contract's received payments. | 
_defaultBeneficiary | address payable | The address that'll receive the project's tokens when the project payer receives payments. | 
_defaultPreferClaimedTokens | bool | A flag indicating whether issued tokens from the project payer's received payments should be automatically claimed into the beneficiary's wallet. | 
_defaultMemo | string | The memo that'll be forwarded with the project payer's received payments. | 
_defaultMetadata | bytes | The metadata that'll be forwarded with the project payer's received payments. | 
_defaultPreferAddToBalance | bool | A flag indicating if received payments should call the pay function or the addToBalance function of a project. | 
_owner | address | The address that will own the project payer. | 
Returns
| Name | Type | Description | 
|---|---|---|
projectPayer | IJBProjectPayer | The project payer contract. |