跳到主要内容

IJBProjectPayer

Git Source

Inherits: IERC165

Functions

directory

function directory() external view returns (IJBDirectory);

projectPayerDeployer

function projectPayerDeployer() external view returns (address);

defaultProjectId

function defaultProjectId() external view returns (uint256);

defaultBeneficiary

function defaultBeneficiary() external view returns (address payable);

defaultPreferClaimedTokens

function defaultPreferClaimedTokens() external view returns (bool);

defaultMemo

function defaultMemo() external view returns (string memory);

defaultMetadata

function defaultMetadata() external view returns (bytes memory);

defaultPreferAddToBalance

function defaultPreferAddToBalance() external view returns (bool);

initialize

function initialize(
uint256 _defaultProjectId,
address payable _defaultBeneficiary,
bool _defaultPreferClaimedTokens,
string memory _defaultMemo,
bytes memory _defaultMetadata,
bool _defaultPreferAddToBalance,
address _owner
) external;

setDefaultValues

function setDefaultValues(
uint256 _projectId,
address payable _beneficiary,
bool _preferClaimedTokens,
string memory _memo,
bytes memory _metadata,
bool _defaultPreferAddToBalance
) external;

pay

function pay(
uint256 _projectId,
address _token,
uint256 _amount,
uint256 _decimals,
address _beneficiary,
uint256 _minReturnedTokens,
bool _preferClaimedTokens,
string memory _memo,
bytes memory _metadata
) external payable;

addToBalanceOf

function addToBalanceOf(
uint256 _projectId,
address _token,
uint256 _amount,
uint256 _decimals,
string memory _memo,
bytes memory _metadata
) external payable;

receive

receive() external payable;

Events

SetDefaultValues

event SetDefaultValues(
uint256 indexed projectId,
address indexed beneficiary,
bool preferClaimedTokens,
string memo,
bytes metadata,
bool preferAddToBalance,
address caller
);