Questions tagged [allowance]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
27 views

Usecase for approve and allowance functions of ERC20 token

Could you please enlighten me on how approve and allowance functions work using a usecase? I dont understand the underlying operations of these functions. Especially, when a token owner delegates the ...
0
votes
0answers
17 views

How to enable anyone to call the function transferring ERC20 to a hardcoded address

https://cryptounlocked.wetrust.io/ - allows only ETH Moloch V2 - allows only WETH (see this issue) You could make a contract that all it does is convert ETH to WETH and can only withdraw to your ...
0
votes
1answer
60 views

Is there an indexed database for ERC20 allowances?

For instance, I'd like to make the following query: Return all the addresses that have approved spender x on a particular token It seems that I can only query for a specific (address, spender) ...
1
vote
1answer
28 views

Do dapps(contract) check allowance of buyer when he calls buy function?

When a buyer calls a buy function on dapp contract, some dapps check the buyer's allowance before transfer tokens(erc20). Is it usual?