What this does
This plug revokes an ERC-20 spending approval by setting the named spender's allowance from the socket back to zero. It asks the caller for a token address and a spender address at execution time. It fires when the caller runs it with those two values supplied. Leaving an approval in place keeps the spender able to move the token from the socket, and revoking by hand requires locating the token contract and submitting the allowance-zeroing call directly.
Actions · 1

Related plugs · 8