Returns the remaining number of tokens that spender
will be
allowed to spend on behalf of owner
through transferFrom. This is
zero by default.
This value changes when approve or transferFrom are called.
Sets amount
as the allowance of spender
over the caller's tokens.
Emits an Approval event.
Atomically decreases the allowance granted to spender
by the caller.
This is an alternative to approve that can be used as a mitigation for problems described in approve.
Emits an Approval event indicating the updated allowance.
Requirements:
spender
cannot be the zero address.spender
must have allowance for the caller of at least
amount
.Atomically increases the allowance granted to spender
by the caller.
This is an alternative to approve that can be used as a mitigation for problems described in approve.
Emits an Approval event indicating the updated allowance.
Requirements:
spender
cannot be the zero address.Moves amount
tokens from the caller's account to recipient
.
Emits a Transfer event.
Moves amount
tokens from sender
to recipient
using the
allowance mechanism. amount
is then deducted from the caller's
allowance.
Emits a Transfer event.
Interface that represents a smart contract, which implements EIP20