跳到主要内容

ProxyPaymentAddressManager

Git Source

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

NameTypeDescription
_projectIduint256The ID of the project to get proxy payment addresses for.

Returns

NameTypeDescription
<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

NameTypeDescription
_projectIduint256ID of the project funds will be fowarded to.
_memostringMemo that will be attached withdrawal transactions.