What this does
This plug reads a wallet's balance of a supplied ERC-20 token and grants a spender an allowance to transfer that token from the socket. It asks the caller for the token address, the allowance amount, and the spender address. It runs whenever the caller executes it, with no schedule or threshold gating the approval. Setting an allowance by hand or on a stale amount risks approving the wrong spender or a figure that does not match the intended transfer.
Actions · 3



Related plugs · 8