Ian Norden
417b18ec6a
Edits to address PR issues; change license from apache to AGPL; and work
...
towards generic method polling and reposito;y; config settings to
filterevents/methods by account address; refactoring some stuff out of
repo and into converter; remove fetcher and instead call
blockchain's FetchContractData directly; finishing tests
2018-11-15 12:32:52 -06:00
Ian Norden
ccd21f73c9
adjusted FetchContractData to work with variable number of contract method arguments, changed fetcher's FetchSupply method to more general FetchBigInt method and added FetchBool and FetchAddress methods
2018-11-03 13:49:23 -05:00
Rob Mulholand
05186634bd
Add light sync command
...
- Only syncs block headers (excludes block bodies, transactions, receipts, and logs)
- Modifies validation window to include the most recent block
- Isolates validation window to the variable defined in the cmd directory (blocks
have a separate variable defined in the block_repository for determining when
to set a block as final)
2018-11-03 13:49:23 -05:00
Matt Krump
76dad443ec
Update FetchContractData to allow optional args
2018-03-12 14:21:34 -05:00
Matt Krump
5a2bb04670
Remove unused contract methods
2018-03-12 14:21:34 -05:00
Matt Krump
06f78e0083
Handle events
...
- Adds interfaces for developers to build handlers that update data in
response to log events
- Resolves #29
2018-03-05 10:01:50 -06:00
Matt K
605b0a96ae
Add graphql server ( #27 )
...
* Add graphql server
* Update Makefile
* Update log_filters constraint
* Add GetLogFilter to repo
* Update travis (use Makefile, go fmt, go vet)
* Add logFilter schema and resolvers
* Add GetWatchedEvent to watched_events_repo
* Add watchedEventLog schema and resolvers
2018-02-08 10:12:08 -06:00
ee4f7c710a
replace '8thlight' with 'vulcanize'
2018-01-06 15:31:53 -05:00
Matt K
6decf0b54b
Remove pubsub and replace w/ polling head of chain ( #122 )
...
* Rename geth package structs to not be prefaced with package name
* No longer need to dump schema since Travis uses migrate
* Rearrange history package
* Removed double request for receipt from block rewards
* Remove Listener + Observers and Replace w/ Polling Head
* Potential Short term Issue w/ Infura (ignore these tests for now)
2018-01-05 11:55:00 -06:00
Matt K
18163f970e
Get ABI via etherscan API ( #96 )
...
- Added ABI request
- Add unique constraint on contract hash for watched contracts
2017-12-07 09:58:06 -06:00
Eric Meyer
0439791381
Rename WatchedContract to Contract
2017-12-05 09:39:58 -06:00
Eric Meyer
3a2e7e0cc1
Update Blockchain interface to use WatchedContract instead of Contract
2017-12-04 17:04:06 -06:00
Eric Meyer
5aa0bcd6ce
Move WatchedContract back to core
2017-12-04 17:04:06 -06:00
Eric Meyer
3af336a34a
Return invalid state attribute in appropriate branch
2017-12-04 13:31:27 -06:00
Matt K
71de8e970d
Contract hist ( #84 )
...
Add ability to query contract historical state
2017-12-04 12:54:33 -06:00
Eric Meyer
486fdc10e4
Update functions that return error to not return pointer
...
* Matches Golang convention
2017-12-04 10:34:49 -06:00
Eric Meyer
e9bfae9412
Update GetContractStateAttribute to take a Contract instead of contract hash
2017-11-30 16:36:36 -06:00
Eric Meyer
5c18639ef4
Extract Attributes to contract struct
2017-11-30 16:15:32 -06:00
Matt Krump
b2dfe1e486
Move type conversion to presenter
2017-11-29 09:32:34 -06:00
Matt Krump
b26bcf74e9
First pass at adding non-string attributes
2017-11-28 17:04:09 -06:00
Matt Krump
1bae6db483
Added sort method to ContractAttributes array
2017-11-28 14:05:39 -06:00
Eric Meyer
60bef69113
Start reading available attributes from ABI
2017-11-28 09:41:23 -06:00
Eric Meyer
708ad114ac
Add function to get string state attributes for a given contract
2017-11-27 15:18:04 -06:00