Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Solidity events and logging problems. Events allow the convenient usage of the EVM logging facilities, which in turn can be used to “call” JavaScript callbacks in the user interface of a dapp, which listen for these events.
0
votes
1
answer
412
views
Can I assume when an event is received means the transaction is 100% confirmed?
I am listening to the even using Nethereum.
May I know if an event is received means the transaction is confirmed?
If not? How can I know it is failed and perform a rollback?
1
vote
1
answer
319
views
NewEventDTO is not a valid Event Type
The solidity code
pragma solidity ^0.4.24;
event NewEvent(uint32 tag, uint32 idx);
My Nethereum code
public class NewEventDTO
{
[Parameter("uint32", "tag", 1, false)]
public uint Tag { get …
2
votes
NewEventDTO is not a valid Event Type
I have found the answer myself after downloading Nethereum source code and trying to debug myself.
The latest version requires us to put the [Event()] attribute for Event DTO
0
votes
1
answer
54
views
Complete a transaction outside of Solidity
Example for my e-commerce site:
uint public PO;
function () {
emit Purchase(PO++, msg.sender, msg.value, msg.data); // first param is indexed
}
The code above is for illustrative purpose only. …
0
votes
Events not being detected in Nethereum
I my case, I have to poll the GetAllChanges() a few times (10 sec apart) then only can get the events.
Some times two or more events arrive at the same time. …