ProxyPaymentAddressManager
Mainnet: 0x9C1B7A7D6b6EE04a465bD4B0F52b21807c49E36e
Inherits: IProxyPaymentAddressManager
Manages deploying proxy payment addresses for Juicebox projects.
State Variables
_addressesOf
mapping(uint256 => IProxyPaymentAddress[]) private _addressesOf;
terminalDirectory
The directory that will be injected into proxy payment addresses.
ITerminalDirectory public immutable override terminalDirectory;
ticketBooth
The ticket boot that will be injected into proxy payment addresses.
ITicketBooth public immutable override ticketBooth;
Functions
constructor
constructor(ITerminalDirectory _terminalDirectory, ITicketBooth _ticketBooth);
addressesOf
A list of all proxy payment addresses for the specified project ID.
function addressesOf(uint256 _projectId) external view override returns (IProxyPaymentAddress[] memory);
Parameters
Name | Type | Description |
---|---|---|
_projectId | uint256 | The ID of the project to get proxy payment addresses for. |
Returns
Name | Type | Description |
---|---|---|
<none> | IProxyPaymentAddress[] | A list of proxy payment addresses for the specified project ID. |
deploy
Deploys a proxy payment address.
function deploy(uint256 _projectId, string memory _memo) external override returns (address);
Parameters
Name | Type | Description |
---|---|---|
_projectId | uint256 | ID of the project funds will be fowarded to. |
_memo | string | Memo that will be attached withdrawal transactions. |