Questions tagged [erc]
The erc tag has no usage guidance.
23
questions
0
votes
1
answer
19
views
Consolidate multiple Ethereum accounts
I have multiple Ethereum accounts with pretty small amount of Ether, like equivalent of $20…$50
Is it possible to consolidate all wallets and/or transfer the all coins to a single wallet in Ethereum ...
1
vote
0
answers
14
views
What does this function actually do in ERC1820?
I am unable to understand these two functions from the ERC1820 contract and its use. What does it actually do under the hood?
Function 1 :
/// @notice Checks whether the hash is a ERC165 interface (...
0
votes
0
answers
20
views
Is ERC 20 smart contract apply mining pool rewards is scam [duplicate]
I got notifications ERC 20 smart mining pool rewards 25ETH which is 46kusdt . When I click over there, my fox wallet money 11kusdt went to someone account. Then I spoken to customer service they given ...
1
vote
2
answers
819
views
How to create a raw ERC-4337 UserOperation from scratch and then send it to bundler?
I want to create a raw ERC-4337 UserOperation. I am using ethers library to write the test cases .
According to ERC-4337 official documentation , the UserOperation is a struct with many fields .
...
0
votes
1
answer
15
views
Can I build an AragonOSx plugin using the Diamond pattern?
While developing my governance plugin for Aragon OSx, I ran into the max contract size limit.
To get past this issue I looked online and found the ERC-2535 Diamonds, Multi-Facet Proxy standard.
I have ...
1
vote
2
answers
707
views
EIP-4337 example implementation and source code
Heard about new boi in the town https://eips.ethereum.org/EIPS/eip-4337 .
Read its documentation but it is way too technical for a beginner like me . Can anyone explain it in simple terms ? I read the ...
1
vote
1
answer
38
views
Is it possible to make ERC20 tokens that the issuer originally has all controls over them?
I am wondering if the issuer of the ERC20 token can move tokens from user A to user B, without getting the allownace from user A. Is it posssible? If it is, how should I code the ERC20 contract?
0
votes
1
answer
79
views
Which function to call while inheriting a contract?
I was learning about Access Control in Solidity . I found OpenZeppelin's AccessControl.sol in which these 2 functions were available . I have a doubt as to which function to call in the inheriting ...
0
votes
3
answers
99
views
Is there any standard to burn these tokens?
I am learning Solidity .
Currrently I am learning about ERC token standards . I want to write a smart contract in which it is possible for "msg.sender" who is calling the mint() function to ...
0
votes
2
answers
90
views
What is mint rate in ERC721A?
What is mintRate here ?
contract Contract721A is ERC721A, Ownable {
uint256 public mintRate = 0.001 ether;
function setMintRate(uint256 _mintRate) public onlyOwner {
...
2
votes
1
answer
218
views
What do we mean by collision prevention when we are writing proxy contract for a smart contract?
I am learning to write a proxy contract in Solidity.
What do we mean by collision when writing proxy contract for a smart contract?
I have some other questions as well , pls refer to comments inside ...
1
vote
2
answers
473
views
Which is the best proxy contract?
I am learning how to write proxy contract for a smart contract . I am across this article .
Here are many standards specified for writing a proxy contract . Which one of them is "best" ?
By &...
0
votes
1
answer
332
views
Use of data in mint function of ERC1155
what is the use of data in parameter function of ERC1155
bytes memory data
function _mint(
address to,
uint256 id,
uint256 amount,
bytes memory data
) internal virtual {
require(to ...
1
vote
0
answers
42
views
Private key error [closed]
My etherium private key has ffffffffffffat the start and always gives private key error each time I try to import it, the last 32 digit is correct
0
votes
1
answer
37
views
What is "|" operator?
I have been going through the ERC998 contract and came across this:
return (ERC998_MAGIC_VALUE << 224) | bytes32(rootOwnerAddress)
What is this "|" operator?
0
votes
1
answer
18
views
Ethereum Token Standard Naming
What are the criteria to name an ERC? I'm creating an ERC and I wonder how should I name it. I've been looking everywhere (Medium, Hash node, ETH Stack Exchange) and I haven't been able to find an ...
0
votes
1
answer
443
views
How to get the total value of a address including tokens other than ETH
Is there a way to get the total value of a ETH address, not only its ETH value? I know Etherscan shows this on their website but I don't know if there is an API where I can grab this data, preferably ...
0
votes
1
answer
32
views
How can the response from ERC-165 supportsInterface be trusted?
ERC-165 defines a function "supportsInterface" which takes a bytes4 interface ID and returns true or false based on whether the implementing contract conforms to the interface related to ...
2
votes
1
answer
123
views
ERC4626 and slippage
The newly introduced ERC4626 standard provides functions for depositing and withdrawing funds to a vault, but it is unclear to me how the designers envisioned adding custom slippage rates from the ...
2
votes
2
answers
257
views
Is it mandatory to include royalties inside smart contract code of an NFT smart contract?
I have created a smart contract for the NFT collection marketplace and did not include any royalties inside the smart contract.
I would like to confirm whether do I need to add some functions inside ...
0
votes
1
answer
38
views
how can you turn off airdrops on an erc115
Just looking to see if anyone has come across the ability to stop airdrops on 1155?
1
vote
1
answer
95
views
How to mint using standard ERC721
I couldn't find such mint, burn functions on the ERC721, ERC20, ERC1155 standard.
Should developer add these function by themselves?
Why wasn't it considered when the standard protocols were made?
...
2
votes
1
answer
115
views
Where are the "missing" EIPs numbers
A reference to a (non-existent) ERC715 popped up in a SE question and this made me wonder if there is a rationale behind the EIP numbering (based on the eip1, draft are included in the eip process and ...