Questions tagged [address.transfer]
184 questions
3
votes
1 answer
How to monitor all your addresses and send payments out immediately to a main address
Say I have separate addresses for ethereum that are getting regular payments through different channels. How do I monitor these and immediately send balances to the main account and leave all the others empty at all times, if possible?
Also, is it…
user11213
- 31
- 2
2
votes
1 answer
How to pass msg.value as an argument?
I am trying to implement deposit functionality in my contract in the sense whoever calls the function below needs to deposit some ether. For example:
Contract A calls the function below and again, Contract A needs to deposit some ether.
I can do…
Emrah
- 1,654
- 2
- 9
- 24
1
vote
0 answers
Issue executing function transferOwnership(address newOwner) for ERC-20 token contract
I'm trying to execute the function transferOwnership(address newOwner), to change the owner of an ERC-20 token contract to a new owner address (I have access to the current owner address & the function is implemented in the contract code).
To…
SHLA
- 11
- 2
1
vote
0 answers
Why is this not a vulnerability in localethereum contract?
I am looking through localethereum smart contract: https://etherscan.io/address/0x09678741bd50c3e74301f38fbd0136307099ae5d#code
and I have trouble understanding why what I am seeing is not a vulnerability.
It is a p2p escrow service: seller sends…
dawka
- 31
- 2
1
vote
1 answer
Simple transfer from contract not working
this is very basic but i just want to test the transfer function. I load the contract with the constructor with 1 eth, then when i click the transfer function 0 wei is transferred. I understand this contract isn't very secure or good. But I just…
Gareth Schatynski
- 19
- 1
1
vote
0 answers
Where can I find my EUT tokens?
I've paid with my cb account to obtain during an ICO for EUT tokens. Looks like per etherscan that token were disbursed successfully, but not sure where I can go or wallet I can use to see my token balance and if I decide to sell the tokens in the…
aijuswannasing
- 11
- 1
0
votes
1 answer
ethereum.org - buy/sell example unclear
From the buy/sell example on ethereum.org:
function buy() payable returns (uint amount){
amount = msg.value / buyPrice; // calculates the amount
_transfer(this, msg.sender, amount);
return amount;
}
function sell(uint…
goodvibration
- 26,003
- 5
- 46
- 86
0
votes
1 answer
Solidity: Neither address.send nor address.transfer nor address.call is working
Problem
Whenever I call the paytest function (please see code snippet below) from javascript (please see code snippet below) i receive the below posted error message. Whether i use address.send, address.transfer or address.call, doesnt…
PupSt4r
- 49
- 6