Fabio Berger
075fa315e7
Switch out whitepaper with 0x protocol specification
2018-12-12 18:19:26 +01:00
Fabio Berger
fc5f0c9863
Switch out RocketChat icon with Discord icon
2018-12-12 18:19:25 +01:00
fragosti
13e89d027c
feat: disable slider when no affiliate info
2018-12-12 18:19:25 +01:00
Leonid Logvinov
ea8f35b743
Refactor out tokens from core contracts package
2018-12-12 18:19:06 +01:00
Leonid Logvinov
9365a3bc75
Refactor our protocol interfaces into @0x/contracts-interfaces
2018-12-12 18:19:06 +01:00
Alex Browne
363095f2fe
Change type of transactions.gas_used and gas_price to BigNumber/numeric
2018-12-12 18:19:01 +01:00
Alex Browne
b57b6c04cc
Fix prettier
2018-12-12 18:19:00 +01:00
Alex Browne
e1d77d6e10
Address PR feedback
2018-12-12 18:18:56 +01:00
Xianny
da51f6e56f
pull OHLCV records from Crypto Compare ( #1349 )
...
* [WIP] pull OHLCV records from Crypto Compare
* lint
* refactor to pull logic out of script and into modules
* add entity test for ohlcv_external entity
* implement rate limit and chronological backfill for ohlcv
* add unit tests; cleanup variable names
* Fetch OHLCV pairs params from events table
* better method names
* fix outdated test
* lint
* Clean up after review
* oops
* fix failing test
* better filtering of most recent records
* fix bug when generating pairs
* fix default earliest backfill date
* fix bug with retrieving backfill time
* prettier
2018-12-12 18:18:37 +01:00
Alex Browne
5d0f82c3c6
Introduce framework for running basic tests for entities ( #1344 )
...
* Introduce framework for running basic tests for entities
* Add pipeline tests to CircleCI config
* Make pipeline tests more configurable and fix CircleCI config
* Add coverage dir to pipeline package
* Add basic tests for all exchange event entities
* Add tests for remaining entities
* Create separate test scripts in package.json and add new info to README
* Update db_setup.ts to revert migrations even if you are using docker
* Automatically pull the postgres image if needed
* Add comment about why NumberToBigIntTransformer is needed
2018-12-12 18:17:51 +01:00
Jake Ellowitz
1878a0c4b0
updating comment for 0x trusted tokens
2018-12-12 18:17:33 +01:00
Jake Ellowitz
b538fabdef
metadata and trusted sources in same raw table
2018-12-12 18:17:26 +01:00
Jake Ellowitz
01716e0d51
Pull token metadata re trusted tokens
2018-12-12 18:17:13 +01:00
Alex Browne
7cd3f3cead
Add script for pulling missing block data
2018-12-12 18:17:05 +01:00
Alex Browne
9d9b5edc9c
Add support for pulling Cancel and CancelUpTo events
2018-12-12 18:16:55 +01:00
Alex Browne
09a0ca659e
Add transactionHash to CancelUpToEvent and CancelEvent entities
2018-12-12 18:16:50 +01:00
Alex Browne
1d189d112e
Add homepage_url to relayers
2018-12-12 18:16:46 +01:00
Alex Browne
829b7cb712
Change some column types from varchar to numeric
2018-12-12 18:16:21 +01:00
Alex Browne
fb8267d85e
Rename taker and maker amounts in sra_orders
2018-12-12 18:16:08 +01:00
Alex Browne
d842078997
Implement scraping sra orders from radar relay
2018-12-12 18:16:08 +01:00
Alex Browne
7f574949a4
Update schema for sra_orders
2018-12-12 18:15:56 +01:00
Jake Ellowitz
caeb59a9ae
Pointing entities to raw schema
...
Fix linter issues
2018-12-12 18:15:56 +01:00
Jake Ellowitz
ea95de7d9d
Mapping dev schema to initial migration
2018-12-12 18:15:56 +01:00
Alex Browne
52f2ee6e79
Configure linter with --format stylish and fix linter errors
2018-12-12 18:15:50 +01:00
Alex Browne
4fa4f13813
Rename Transaction.ts to transaction.ts
...
Rename Relayer.ts to relayer.ts
Rename Block.ts to block.ts
2018-12-12 18:15:10 +01:00
Alex Browne
f5f01c0c3e
Add better error handling for immediately invoked async functions
2018-12-12 18:15:10 +01:00
Alex Browne
99d90bb665
Rename table and column names
2018-12-12 18:14:08 +01:00
Alex Browne
9d8c423b98
Reorganize entities. Make scripts work from any directory.
2018-12-12 18:14:08 +01:00
Alex Browne
d24b2a5a69
Split index.ts into multiple scripts in scripts/ and detect last known block when pulling events
2018-12-12 18:14:01 +01:00
Alex Browne
aa63632fff
Remove unused function parameter in index.ts script
2018-12-12 18:13:46 +01:00
Alex Browne
d86f5c4fbd
Use bigint for gasUsed and gasPrice in Transaction
2018-12-12 18:13:46 +01:00
Alex Browne
0a69752d20
Update relayer code to use new relayer-registry format
2018-12-12 18:13:46 +01:00
Alex Browne
f6ebdd1a3f
Implement fetching and parsing relayer info
2018-12-12 18:13:26 +01:00
Alex Browne
e2f222b08f
Implement support for getting and parsing blocks and transactions
2018-12-12 18:13:11 +01:00
Alex Browne
50924d62cb
chore: Fix tslint config.
2018-12-12 18:12:53 +01:00
Alex Browne
da5e8b09d9
Fix bugs in merge_v2_events script and disable verbose logging
2018-12-12 18:12:53 +01:00
Alex Browne
fff1e2cfa7
Rename index.ts -> merge_v2_events
2018-12-12 18:12:43 +01:00
Alex Browne
1544e5ed9f
Update script to work with existing v1 pipeline data
2018-12-12 18:12:43 +01:00
Alex Browne
4912affbe8
Update pipeline to use new @0x npm org for imports
2018-12-12 18:12:36 +01:00
Alex Browne
c52ab47185
Update to use ContractWrappers + Infura instead of Etherscan
2018-12-12 18:12:30 +01:00
Alex Browne
f082a3f768
Rebase and update to use new modularized artifacts
2018-12-12 18:12:24 +01:00
Alex Browne
27c229a146
Add tests for SRA order conversion
2018-12-12 18:12:18 +01:00
Alex Browne
43c2b81604
Re-add missing tests
2018-12-12 18:12:18 +01:00
Alex Browne
2a133f2c55
Add soruceUrl to SraOrder entity
2018-12-12 18:12:18 +01:00
Alex Browne
4570bc2729
Add preliminary support for scraping orders from SRA endpoints (no pagination, only RR support for now)
2018-12-12 18:12:18 +01:00
Alex Browne
8702a35467
For event entities, rename address -> contractAddress and make it a primary key
2018-12-12 18:12:11 +01:00
Alex Browne
07f80500fa
Implement scraping and parsing exchange CancelUpTo events
2018-12-12 18:12:11 +01:00
Alex Browne
97fc4257a0
Use multi-primary keys for event and filter null logIndexes
2018-12-12 18:12:11 +01:00
Alex Browne
25f1b7701f
Implement scraping and parsing exchange cancel events
2018-12-12 18:12:11 +01:00
Alex Browne
6b889aeeed
Make event parsing more functional and less class-based
2018-12-12 18:12:06 +01:00