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
687af1f3d4
Change string formatting
2017-11-30 10:23:58 -06:00
ericmeyer
437e052bbb
Merge pull request #82 from 8thlight/add-contract-types
...
Add contract types
2017-11-30 10:21:21 -06:00
ericmeyer
cb1c08efc4
Merge pull request #81 from 8thlight/integretion-test-travis
...
Update .travis.yml so that integration tests run
2017-11-30 09:53:02 -06:00
Matt Krump
091bbc69b3
Update .travis.yml so that integration tests run
2017-11-29 14:39:59 -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
72b656fc15
Update README to include contract summary usage
2017-11-28 15:14:05 -06:00
ericmeyer
623381b2c3
Merge pull request #78 from 8thlight/add-contract-state-to-contract-summary
...
Add contract state to contract summary
2017-11-28 14:47:02 -06:00
Matt Krump
54458e9741
Address PR comments
2017-11-28 14:40:05 -06:00
Matt Krump
1bae6db483
Added sort method to ContractAttributes array
2017-11-28 14:05:39 -06:00
Matt Krump
aa3318451b
Updated to use contracts derived Attributes
2017-11-28 13:43:08 -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
Eric Meyer
9c1051bfce
Update NewSummary to take the blockchain
2017-11-27 09:21:21 -06:00
Eric Meyer
90edd15ead
Update spacing of summary
2017-11-27 08:54:30 -06:00
ericmeyer
ac940b5bae
Merge pull request #73 from 8thlight/report
...
Update contract summary output to include transaction info
2017-11-14 10:05:31 -06:00
Matt Krump
d0602833bb
Update contract summary output to include transaction info
2017-11-14 09:57:27 -06:00
Eric Meyer
a23023f7d6
Move environment configuration to root
2017-11-14 09:10:48 -06:00
Eric Meyer
1889dcad5a
Rename contract file
2017-11-14 09:06:10 -06:00
ericmeyer
5d28fd52f8
Merge pull request #72 from 8thlight/reorg-postgres
...
Reorg postgres
2017-11-13 16:24:19 -06:00
Eric Meyer
50fcae4215
Split in-memory and postgres tests
2017-11-13 16:20:37 -06:00
Eric Meyer
9b4e170e14
Extract shared repository tests to helper
2017-11-13 16:20:37 -06:00
ericmeyer
2a947add95
Merge pull request #71 from 8thlight/contract_summary
...
Add transactions for a watched contract
2017-11-13 16:18:47 -06:00
Matt Krump
0b9930dd9c
Add transactions for a watched contract
2017-11-13 16:16:18 -06:00
ericmeyer
874051cf89
Merge pull request #70 from 8thlight/show-contract-summary
...
Allow users to watch and print summaries for contracts
2017-11-13 13:59:52 -06:00
Eric Meyer
f50a4d7726
Allow users to watch and print summaries for contracts
2017-11-13 13:51:09 -06:00
Matt K
f0f086e48d
Merge pull request #69 from 8thlight/watch_contract
...
* Add contracts table / start building out watch contracts
2017-11-13 10:55:55 -06:00
Matt Krump
e510154c81
mend
2017-11-13 10:37:09 -06:00
Matt K
74b51a6e05
Merge pull request #67 from 8thlight/from_complete
...
Added From field to transactions
2017-11-13 10:31:57 -06:00
Matt Krump
4ad1d531a8
Update contract naming per Eric PR review
2017-11-13 10:11:27 -06:00
A. F. Dudley
75ac3d75d8
Merge pull request #68 from 8thlight/license
...
Add LICENSE
2017-11-09 21:01:30 -05:00
Matt Krump
c7bd6de7da
Added From field to transactions
2017-11-09 16:51:22 -06:00
Matt Krump
30fadffb14
Add contracts table / start building out watch contracts
2017-11-09 15:06:01 -06:00
Eric Meyer
a655470f18
Refactor run main.go
2017-11-09 14:30:24 -06:00
Eric Meyer
84205a21ea
Extract loading config to a shared file
2017-11-09 13:37:10 -06:00
Matt Krump
e414d42704
Add LICENSE
2017-11-09 12:58:17 -06:00
Matt K
c0f737868b
Merge pull request #66 from 8thlight/postgres
...
Refactor postgres to be initialized with config
2017-11-09 12:47:34 -06:00
Matt K
54ed808a61
Merge pull request #65 from 8thlight/config
...
Refactor config to return an error instead of aborting
2017-11-09 12:44:21 -06:00
Eric Meyer
58fbeb32fd
Refactor postgres to be initialized with config
2017-11-09 12:42:24 -06:00
Eric Meyer
aa52088ba7
Refactor config to return an error instead of aborting
2017-11-09 12:41:02 -06:00
ericmeyer
61cf7af2ec
Merge pull request #63 from 8thlight/add_db_transactions-two
...
Add database transactions to postgres repository
2017-11-08 15:28:43 -06:00
Matt Krump
df9e7ebcc5
Add database transactions to postgres repository
...
* Repository returns error when CreateBlock fails.
2017-11-08 15:25:06 -06:00
ericmeyer
d3b3da7f17
Merge pull request #59 from 8thlight/populate-historical-blocks
...
Populate historical blocks
2017-11-08 14:55:00 -06:00
Eric Meyer
4c84173bc0
Add ability to populate missing blocks
...
* The command populates up to the highest known block number
* The anticipated use case is that the listener will be running
in parallel to the populateBlocks command
* This will mean that the listener is responsible for picking up
new blocks, and the populateBlocks command is reposible for
historical blocks
* Reformat SQL statements
2017-11-08 14:52:38 -06:00
Matt Krump
cdc861e5f2
Update Config to use abs path if supplied
2017-11-08 14:42:23 -06:00
ericmeyer
d3946e27d8
Merge pull request #57 from 8thlight/refactor-specs
...
Remove duplication in repository specs
2017-11-06 14:17:31 -06:00
Eric Meyer
1bd56ec499
Remove duplication in repository specs
2017-11-06 14:15:02 -06:00
Eric Meyer
7131eafe99
Fix Travis
2017-11-06 13:22:02 -06:00