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.
0
votes
1
answer
710
views
How to get USDC balance of impersonated wallet in Hardhat test
I am writing a smart contract that uses USDC when a NFT is purchased (so the USDC is transferred from the seller to the buyer).
I am trying to test it in Hardhat but I am having troubles when using US …
0
votes
Is this possible to pay for ERC721 token with ERC20 token not ETH?
I come late to the party but I want to answer as I was working on a similar problem for several days and the answer is quite simple.
I am showing here an example to use USDC inside a ERC721 contract. …
1
vote
ERC721 NFT minting to accept custom ERC20 token as payment
I would just add to the accepted answer that the approve function has to be called from outside the contract (from the frontend for example). It took my a couple of days to figure this out, so just ad …