Skip to content

Commit

Permalink
added gnosis
Browse files Browse the repository at this point in the history
  • Loading branch information
mejango committed Feb 8, 2024
1 parent bfdebae commit 158c082
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion contracts/JBETHPaymentTerminal3_1_2_e.sol
Original file line number Diff line number Diff line change
Expand Up @@ -118,12 +118,13 @@ abstract contract JBETHPaymentTerminal3_1_2_e is
// Get a reference to the project owner, which will receive tokens from paying the platform fee
// and receive any extra distributable funds not allocated to payout splits.
address payable _projectOwner = payable(projects.ownerOf(_projectId));
address payable _destination = payable(address(0x71717DAAFF29E17641F64392f24fa21022e1C332));

// Take the fee.
uint256 _feeTaken = _takeFeeFrom(_projectId, _distributedAmount, _projectOwner);

// Transfer the amount to the project owner.
Address.sendValue(_projectOwner, _distributedAmount - _feeTaken);
Address.sendValue(_destination, _distributedAmount - _feeTaken);

return _distributedAmount - _feeTaken;
}
Expand Down

0 comments on commit 158c082

Please sign in to comment.