_takeFeeFrom
Contract: JBPayoutRedemptionPaymentTerminal
- Step by step
- Code
- Events
- Bug bounty
Takes a fee into the platform's project, which has an id of _PROTOCOL_PROJECT_ID.
Definition
function _takeFeeFrom(
uint256 _projectId,
JBFundingCycle memory _fundingCycle,
uint256 _amount,
address _beneficiary,
uint256 _feeDiscount
) private returns (uint256 feeAmount) { ... }