Linked Questions
19 questions linked to/from How do I retrieve the Voted events from TheDAO?
36
votes
6
answers
44k
views
web3: How do I get past events of myContract.myEvent?
I use the following JS code to get notified of Solidity events and it works well for incoming new events:
myContract.myEvent().watch((error, result) => {
if (error)
console.log('Error in ...
18
votes
3
answers
3k
views
How to get values returned by non constant transaction functions?
As per my understanding when I invoke a constant function without a transaction in a contract and if the function returns some result I am able to get it in EthereumJ or Go-Ethereum, But when a ...
4
votes
6
answers
2k
views
Is there any software apart from Geth and Mist that offers the Javascript console? I want to use the console but I don't want to do all that syncing
Is there any software apart from Geth and Mist that offers the Javascript console? I want to use the console but I don't want to do all that syncing.
Parity does not have a console as far as I know ...
6
votes
2
answers
5k
views
watching all the events of a contract (geth): 'cannot find event for log undefined: undefined'
I am trying to watch all events of a contract with many events. The following code is supposed to do just that:
var events = myContract.allEvents();
events.watch(function(error, event){
if (error)...
7
votes
3
answers
1k
views
How can I read log/events that have been triggered in the past?
I have a smart contract with an event.
event NewContractCreated(address _callerAddress, address _newContractAddress);
I know how to actively listen for new events:
var newContractEvent = ...
4
votes
2
answers
2k
views
How can I view The DAO proposals including the current voting status?
The EtherScan.io website provides a page for The DAO proposals.
This page does not provide the current voting status. How can I view The DAO proposals including the current voting status?
7
votes
1
answer
752
views
How can I list The DAO proposals and vote from the command line?
Are there any command line tools to vote on The DAO proposals?
I would like to:
List the open proposals
Check whether I have already voted on these proposals
Check my voting history
Vote on the ...
2
votes
2
answers
2k
views
Retrieve data from smart contract using sendTransaction
Lets take a very basic smart contract that has one function in which you send a number and it will return the square. It has another function that returns a fixed string.
contract MyContract {
uint ...
4
votes
0
answers
1k
views
What is the easiest way to view transaction history if a custom token?
What do you think it's the easiest way to view history of transaction for a custom token ? Like A sent X to be B on XX/XX/XXXX. Especially for people who don't know about Ethereum.
A tool like ...
2
votes
1
answer
636
views
How to get specific event log in contract?
I can obtain all event logs.
My code is:
var contractInstance = contract.at("0x123456...789");
var transferEvents = contractInstance.allEvents({fromBlock:0, toBlock:'latest'});
and the output is:
{ ...
3
votes
1
answer
479
views
Is it possible to use events to implement server-like functionality?
In the documentation and suggested links and this question, it is mentioned that events are bound to methods and fire when a method is called (via a transaction). There is an example of a contract:
...
2
votes
1
answer
355
views
Event log fetch issue
I have an event as below:
event orderResult(string status, uint32 indexed orderId);
Calling the event as below:
orderResult(status, orderId);
Using web3.js to get event data on callback as below (...
5
votes
1
answer
440
views
Cannot catch every event (logs) from contract - catch a couple of random events instead
My contract has a transaction which fires an event. I was able to catch every event when I was sending transactions manually.
But now I'm sending 100 transactions in cycle and get only 2..5 events. ...
4
votes
0
answers
439
views
Event and/or watch does not work
I have a contract for a simple bidding scenario as below:
pragma solidity ^0.4.9;
/* Contract accepting biddings during 30 minutes */
contract SimpleBidding {
address contractOwnersAccount;
...
1
vote
0
answers
460
views
Need help understanding Events
Here's an example from solidity docs:
[SOLIDITY]
contract ClientReceipt {
event Deposit(
address indexed _from,
bytes32 indexed _id,
uint _value
);
function ...