Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
The ERC20 Token Standard is a set of 8 functions to be included (in an agreed upon language) in a smart token contract in order to enable interoperability across multiple interfaces and dapps. These functions relate to (1) how tokens can be transferred (2) how to access data about the token, and (3) how to format key events like transfers and approvals. ERC stands for Ethereum Request for Comments.
1
vote
1
answer
220
views
Why can't I Transfer ERC20 Tokens through my ERC721 contract as payment?
Here's the function:
function transferERC20() external {
_erc20.transferFrom(msg.sender, erc20Recipient, 6*10**18);
}
After I imported the IERC20 Interface to interact with ERC20 tokens i …
0
votes
1
answer
66
views
Receiving ERC20 tokens as paymant inside my smart contracts
Is there a way to receive X amount of ERC20 tokens to transact certain methods inside my smart contracts?
So let's say a mint method is payable and receives ether as a value instead, it requires the m …