PYRToken
Source:Verified
Write Functions / decreaseAllowance
Overview

The decreaseAllowance function in the ERC20 contract allows a token holder to reduce the allowance granted to a specified spender. It ensures that the new allowance does not fall below zero and emits an Approval event to reflect the updated allowance.

Inputs
  • spender (address): The address of the spender whose allowance is being decreased.
  • subtractedValue (uint256): The amount by which the allowance is to be decreased.
Outputs
  • Returns (bool): The function returns true if the allowance was successfully decreased.
Emits One Event
Functions will often emit events during execution, often signifying key changes in state.

Recent Transactions Calling This Function
This returns the latest 20 times that this function was called directly by a wallet or internally by another contract.
Looking for transactions where this function was called...