Questions tagged [transfer]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
27 views

Problem: Payment between smart contracts without reducing the balance of the sender contract

I work on Truffle. I have two smart contracts A and B. Codes of them are same. A should transfer some ether to B and store some information about this payment. I funded A with METAMASK. But, whenever ...
0
votes
1answer
24 views

how to set an ether value as a function parameter?

I work on Truffle and my project is simple. contract A should transfer some ether to contract B. contract A is funded enough. In contract A, there is a function called payment that performs the ...
0
votes
1answer
15 views

transfer ether from smart contract to my wallet

Hi I awant to transfer transfer ether from smart to my wallet so I ceated a sendEther function in the smart contract function sendEther() public { msg.sender.transfer(1 ether); } very basic ...
0
votes
2answers
16 views

Transfer eth to accounts in Remix javasctipt VM solidity V 0.6.0+

I am simple man, but learning Eth Dev. I am testing a contract in Remix however I can't transfer Eth between the accounts in the javascript VM (using solidity V0.6.0 +). I have researched for a while ...
0
votes
1answer
26 views

Gets reverted when calling ERC20.transfer in a contract, not reverted when transferring 0

I have this code inside a contract interface ERC20 { //standard variables function allowance(address _owner, address _spender) constant returns (uint remaining); function approve(address ...
0
votes
0answers
19 views

Which are the best and most secure multisend contract? [duplicate]

I am making a system where I need to withdraw funds from 1 wallet to 2 or more wallets at the same time. I have been looking for the solution to this problem, it seems like Multisend is the way to do ...
0
votes
1answer
18 views

I am having trouble transferring my coin from coin-base wallet to coin-base pro

Hello guys i am trying to transfer my coin from coin-base wallet to coin-base pro. it shows me a message " you are trying to send an erc20 token which are issued on the Ethereum blockchain. This mean ...
0
votes
1answer
198 views

Using “.value(…)” is deprecated. Use “{value: …}” instead

This works fine in Remix but when trying to work in VSCode (for compiling purposes; DApp course, trying to build .json through compile.js ) it throws the error Using ".value(....
0
votes
0answers
42 views

No transfer of ether

My Code below ( Following an Online Course, absolute beginner here ^_^) pragma solidity >=0.4.17 <0.7.0; contract CampaignFactory{ Campaign[] public deployedCampaigns; function ...
0
votes
0answers
17 views

TransactionException: Transaction has failed with status: 0x0. Gas used: 50434. (not-enough gas?)

I’m new to ethereum and have small experiance with write contracts (in solidity). I think I have a very simple question but is very hard for me. I wrote a contract to manage erc20 tokens. Most ...
1
vote
1answer
31 views

Metamask doesn't show token value on erc20 contract interaction [closed]

Why using the Transfer method is showing the value of the erc20 that I want to transfer while with a custom method is always showing 0 ETH on metamask instead of the token that I'm transferring via ...