Questions tagged [transfer]
The transfer tag has no summary.
267 questions
2 votes
1 answer
49 views
Execute some function after receiving funds on a smart contract
I want to execute an explicit function after receiving funds on a smart contract. e.g I have a function called lunch() and dinner() then I want to lunch() to be executed when contract receives 2 ether ...
0 votes
0 answers
61 views
Withdrawing an ERC20 token from an already deployed contract
I have very limited experience with Ethereum Smart Contracts. Somebody recently informed me that a contract I own (I have no idea why it was created over 5 years ago!) is eligible for UNI airdrop and ...
0 votes
0 answers
30 views
transfer doesn't work when using hardhat mainnet fork
steps to reproduce create default hardhat project with the standard Lock contract mkdir my-hardhat-project cd my-hardhat-project npm init -y npm install --save-dev hardhat npx hardhat fork mainnet ...
0 votes
0 answers
327 views
4wmm transfer or exchange
I have in my wallet of coinbase an amount of 4wmm coins that I can’t use them or exchange in coinbase. Is anyone who knows any wallet to accept 4wmm coins and have the choice to cash out or to ...
0 votes
1 answer
59 views
How to distinguish the type of incoming token? (native token or an ERC20)
I have a function that allows users to send tokens to the smart contract. Since the methods to transfer tokens are different from ERC20 and native tokens, I need a way to distinguish them. Or maybe I ...
0 votes
1 answer
48 views
An address sent out WETH but this address doesn't hold any WETH
0x73c35a5b2b57cb21562de72ab5dd60443463f49b sent out 2.2 WETH on 2024-07-11, as indicated by the transaction hash 0x87980c30a1f2765c39e03170004e1e56f38234be05fe063ca3d7634ba953e55e. However, this is ...
0 votes
0 answers
33 views
Transfers is is not showing up
I transferred Sentio protocol to Coinbase but it’s not showing up? https://etherscan.io/tx/0x7119bbc869a24f58be0478c7e4f25dfca7608371a835c1cdd1fef685fd262902
0 votes
0 answers
17 views
A custom ERC20 Ethereum was transferred but the value shows 0
I received an amount of Ethereum, but the value shows 0. I would like to know how that is possible and what it is. I have been asked to add a custom token, and it shows a symbol (erc20) and the ...
0 votes
1 answer
36 views
How to transfer ETH to owner of an ERC1155 before mint?
Currently, I'm working on a project to mint an ERC1155 token. but I need to make a transfer before the mint. Imagine minting this NFT, the user should pay $10, so I have to convert $10 to the ETH ...
0 votes
0 answers
32 views
I accidentally sent token to the currency contract, is it possible to get the tokens back?
Transaction Hash: 0x60edf1efc5d2b811a355bcbe5413825f46d770c42d46dbaa2b1d5b6a6fb5342a Status: Success Block: 21307942 230 Block Confirmations Timestamp: 45 mins ago (Dec-01-2024 01:25:11 PM UTC) ...
1 vote
1 answer
44 views
What are the ways in which ETH can be forcefully sent to a contract that doesn't implement the fallback function?
It is mentioned in the Solidity docs that there are several ways to forcefully send ETH to a contract: Neither contracts nor “external accounts” are currently able to prevent someone from sending ...
1 vote
1 answer
44 views
Is it possible for a contract to completely prevent incoming ETH transfers?
Can a contract be designed in such a way that it will always have a balance of zero ETH? Maybe this can be achieved by skipping the payable modifier in all functions, and not implementing the fallback ...
1 vote
1 answer
112 views
Get ETH transfers of several addresses from Etherscan
I am trying to get the data about ETH transfers from multiple addresses on Etherscan, similar to what I can find on https://etherscan.io/tokentxns. This is so I can track how much ETH an address has ...
0 votes
1 answer
80 views
Please take a look at my contract
The issues I am currently encountering are: The user has already authorized the contract once, but when I process transactions in the backend, the user still gets prompted to authorize again. The gas ...
1 vote
1 answer
187 views
How can I retrieve all Ethereum transfers from a transaction?
I'm trying to extract all Ethereum transfers from a given transaction. Some transactions send transfers to block builders, while others may involve different recipients or actions. What is the best ...