hswick
15c2b5accb
Providing filter indexes works
6 years ago
hswick
586a8b416c
Created failing test case for using topics for indexed events
6 years ago
hswick
6810583771
Properly returning/formatting the event log
6 years ago
hswick
d95f60f225
Filter is properly returning data even with indexed and non indexed fields
6 years ago
hswick
0a5b2cd2b4
Decoding indexed fields working for tx_receipt
6 years ago
hswick
779fd76928
Nonindexed fields working in formatted log
6 years ago
hswick
ecba23c693
indexed event data field working
6 years ago
hswick
abc634865a
Added test for indexed events
6 years ago
hswick
4448f93e37
Using a single process to manage smart contract interactions
6 years ago
hswick
749afc3fe8
Improved error message for invalid arg count to constructor
6 years ago
hswick
26b9d64651
Added unit converters, resolves #7
6 years ago
Piotr Żelazko
ecf93db587
Amend options encoding
...
Former version would leave leading zeroes which isn't correct Ethereum JSON RPC encoding.
6 years ago
hswick
4a65096370
Silenced warnings in lib
6 years ago
hswick
b2929483d8
Throw when number of inputs is not valid
6 years ago
hswick
b56165af74
Silence constructor warning
6 years ago
Piotr Żelazko
f2555c5fb9
Add tx_hash to returning tuple at contract's deployment
6 years ago
Piotr Żelazko
a6907464f1
Shorten lines with replies so it reads better
6 years ago
Piotr Żelazko
86927171d1
Refactor options' checkers so they are explicitly compared to nil when given in a list
6 years ago
Piotr Żelazko
fea7f19232
Refactor mapping names in order to avoid conflicts
6 years ago
Piotr Żelazko
4a8487ae1d
Reformat function ExW3.reformat_abi/1
6 years ago
Piotr Żelazko
84c41b5d37
Reformat code that handles returning proper error messages
6 years ago
Piotr Żelazko
beade40d68
Change error messages into atoms
6 years ago
Piotr Żelazko
fcb8717837
Add error messages in case user does not provide either gas or transaction sender
6 years ago
Piotr Żelazko
57595fd877
Change deploy_helper
...
If it had not found a proper constructor it would fail either on encoding or a transaction would fail. Now it prints a warnings indicating what may be happening.
6 years ago
Piotr Żelazko
c24b82f6ca
Fix abi reformatting bug
...
Bug unveiled when a deployed contract had fallback function and a constructor with arguments.
6 years ago
hswick
4b2ef0b88b
Added 0x prefixing to values
6 years ago
hswick
7abfae5b4a
Added keccak256 hash
6 years ago
hswick
a6037e0850
event log data is a map with names
6 years ago
hswick
5e55d59b7f
Don't emit event if log is empty
6 years ago
hswick
f19651ef4d
Added event filtering, with formatted data
6 years ago
hswick
dbd6262a40
Able to receive event from listener
6 years ago
hswick
ab94dcb4a9
Added filter methods
6 years ago
hswick
a2d8edfa52
Moved poller and listener into lib, setup test
6 years ago
Deon
67db4310c9
use ExthCrypto.Hash.Keccak.kec instead of web3_sha3
7 years ago
Deon
4aaf93d573
fix formatting
7 years ago
Deon
5a18897947
Added checksum methods
7 years ago
hswick
4ec252d2ef
Support address type
7 years ago
hswick
6672c4635a
Reformatted code
7 years ago
hswick
3b3ea4c654
Added typespecs and docs to methods
7 years ago
hswick
db705033d8
Added case where args keyword but empty list, and also case where empty list and constructor exists for deploy
7 years ago
hswick
9944d2a92f
Set version to 0.1.0, and got rid of dependencies
7 years ago
hswick
a48f7fa0e2
Changed Contract module to GenServer, new tests, + a few more methods
7 years ago
hswick
6e0d781271
Dynamic arrays work, with abi workaround
7 years ago
hswick
63eec560bf
Added image to README
7 years ago
hswick
d0355acb3e
Contract tx_receipt returns tuple, modified tests
7 years ago
hswick
0bb04f362e
Special tx_receipt outputs event data with labels
7 years ago
hswick
e19440c94d
Event pub sub working, with filtering, and using a registry
7 years ago
hswick
6cf9295896
Added bytes to string method
7 years ago
hswick
df0bbd35d5
Event pubsub working
7 years ago
hswick
5ad6a8bfb7
Added event tester test
7 years ago