_beforeTransferTo
Contract: JBPayoutRedemptionPaymentTerminal
- Step by step
- Code
- Bug bounty
Logic to be triggered before transferring tokens from this terminal.
Definition
function _beforeTransferTo(address _to, uint256 _amount) internal pure override { ...}
- Arguments:
_to
is the address to which the transfer is going. This is ignored._amount
is the amount of the transfer, as a fixed point number with the same number of decimals as this terminal. This is ignored.
- The resulting function is internal to this contract and its inheriters.
- The resulting function overrides a function definition from the
IJBPayoutRedemptionPaymentTerminal
interface.
Body
Empty
/**
@notice
Logic to be triggered before transferring tokens from this terminal.
@param _to The address to which the transfer is going.
@param _amount The amount of the transfer, as a fixed point number with the same number of decimals as this terminal.
*/
function _beforeTransferTo(address _to, uint256 _amount) internal pure override {
_to; // Prevents unused var compiler and natspec complaints.
_amount; // Prevents unused var compiler and natspec complaints.
}
Category | Description | Reward |
---|---|---|
Optimization | Help make this operation more efficient. | 0.5ETH |
Low severity | Identify a vulnerability in this operation that could lead to an inconvenience for a user of the protocol or for a protocol developer. | 1ETH |
High severity | Identify a vulnerability in this operation that could lead to data corruption or loss of funds. | 5+ETH |