Leonid Logvinov
|
968df3424c
|
Add copy_fixtures command
|
2017-05-30 12:55:00 +02:00 |
|
Fabio Berger
|
eefc8ca7ec
|
add assertions that contractInstances are not undefined before provider update
|
2017-05-30 12:53:42 +02:00 |
|
Fabio Berger
|
007c57ec40
|
Also instantiate tokenRegistry contract instance
|
2017-05-30 12:52:28 +02:00 |
|
Fabio Berger
|
6aded80b2f
|
remove unused import
|
2017-05-30 12:51:34 +02:00 |
|
Fabio Berger
|
3d3297834c
|
remove unused declarations
|
2017-05-30 12:50:29 +02:00 |
|
Fabio Berger
|
f78f3b1bcd
|
remove unused import
|
2017-05-30 12:48:46 +02:00 |
|
Fabio Berger
|
e2d0fd9cf9
|
remove unused import
|
2017-05-30 12:47:53 +02:00 |
|
Fabio Berger
|
b837021e6e
|
improve comment
|
2017-05-30 12:47:46 +02:00 |
|
Fabio Berger
|
a3ce892f85
|
Make tokenRegistry contract instantiation lazy and clear it on provider update
|
2017-05-30 12:43:50 +02:00 |
|
Fabio Berger
|
cb31b21d28
|
rename invalidateExchangeContract to invalidateContractInstance
|
2017-05-30 12:43:06 +02:00 |
|
Fabio Berger
|
e8a52ce1da
|
Merge branch 'master' into dontReinstantiateContractInstances
|
2017-05-30 12:37:45 +02:00 |
|
Fabio Berger
|
911ab437b8
|
Merge pull request #24 from 0xProject/tokenRegistry
TokenRegistryWrapper
|
2017-05-30 12:37:25 +02:00 |
|
Fabio Berger
|
02d7f808ab
|
Merge branch 'master' into tokenRegistry
# Conflicts:
# src/0x.js.ts
|
2017-05-30 12:36:28 +02:00 |
|
Fabio Berger
|
73ae3df172
|
Merge pull request #22 from 0xProject/regex-fix
Fix the empty code regex
|
2017-05-30 12:32:13 +02:00 |
|
Fabio Berger
|
d15002a110
|
Add tests for setProvider
|
2017-05-30 12:30:38 +02:00 |
|
Fabio Berger
|
55b00ab380
|
Add setProvider method to 0x.js that updates the web3 provider and invalidates any contractInstances instantiated with the old provider
|
2017-05-30 12:28:07 +02:00 |
|
Fabio Berger
|
87491e6741
|
Lazily instantiate exchangeContract and store as instance variable instead of re-instantiating on every call
|
2017-05-30 12:27:27 +02:00 |
|
Fabio Berger
|
c536114b16
|
make web3Wrapper a private instance variable
|
2017-05-30 12:25:17 +02:00 |
|
Leonid Logvinov
|
380c1e1ca5
|
Make fillOrderAsync accept signedOrder instead of a shit-ton of params
|
2017-05-30 12:17:43 +02:00 |
|
Leonid Logvinov
|
cf63e1d1a6
|
Change BigNumber schema to Number schema
|
2017-05-30 12:16:33 +02:00 |
|
Leonid Logvinov
|
170dd91bfd
|
Change BigNumber schema to Number schema
|
2017-05-30 12:13:30 +02:00 |
|
Leonid Logvinov
|
4b8ff4bf5f
|
Add id to signedOrderSchema
|
2017-05-30 12:02:50 +02:00 |
|
Leonid Logvinov
|
72e3b0e290
|
Add first order fixture
|
2017-05-30 12:01:47 +02:00 |
|
Leonid Logvinov
|
95b78d877a
|
Add isBoolean assertion
|
2017-05-30 12:00:51 +02:00 |
|
Leonid Logvinov
|
699e588d1f
|
Add signedOrderSchema and all subschemas
|
2017-05-30 12:00:23 +02:00 |
|
Leonid Logvinov
|
603a88872d
|
Add Order and SignedOrder types
|
2017-05-30 11:56:23 +02:00 |
|
Fabio Berger
|
4d63a4d02a
|
use to.have.lengthOf
|
2017-05-30 10:49:34 +02:00 |
|
Fabio Berger
|
1e69d2d1e1
|
Improve type definitions
|
2017-05-30 10:48:34 +02:00 |
|
Fabio Berger
|
f2cd368a49
|
Add TokenMetadata type
|
2017-05-30 10:42:39 +02:00 |
|
Leonid Logvinov
|
cda040ef99
|
Merge branch 'master' into fillOrderAsync
|
2017-05-30 10:24:45 +02:00 |
|
Leonid Logvinov
|
220f925415
|
Fix the empty code regex
|
2017-05-30 10:21:48 +02:00 |
|
Fabio Berger
|
5bfc3f8976
|
remove unused import
|
2017-05-30 10:19:29 +02:00 |
|
Leonid
|
1f6ed77f47
|
Merge pull request #20 from 0xProject/removeSrcFilesNotUsedByTests
Allow tests to access schemas, utils and types
|
2017-05-30 10:12:54 +02:00 |
|
Fabio Berger
|
f4bc7ecf5f
|
Merge branch 'tokenRegistry' into erc20Wrapper
|
2017-05-30 09:55:52 +02:00 |
|
Fabio Berger
|
b21779999f
|
Merge branch 'removeSrcFilesNotUsedByTests' into tokenRegistry
|
2017-05-30 09:55:15 +02:00 |
|
Fabio Berger
|
ec379cc350
|
Merge branch 'master' into removeSrcFilesNotUsedByTests
|
2017-05-30 09:54:52 +02:00 |
|
Fabio Berger
|
c9111aea38
|
name exchangeWrapper test file properly
|
2017-05-30 09:54:11 +02:00 |
|
Fabio Berger
|
000e364406
|
Reverts: 7e96b45ea0c51ca5589640018172a91a35596148 which broke this regex for the 0x0 edge-case
|
2017-05-30 09:53:55 +02:00 |
|
Fabio Berger
|
132b5d4f9b
|
Add tests for getBalanceAsync
|
2017-05-30 09:52:47 +02:00 |
|
Fabio Berger
|
6686443317
|
Implement ERC20Wrapper and it's first method getBalanceAsync
|
2017-05-30 09:52:31 +02:00 |
|
Fabio Berger
|
f3d5690d56
|
Add tests for getTokensAsync including schema validation
|
2017-05-29 23:52:10 +02:00 |
|
Fabio Berger
|
919585cd79
|
Add TokenRegistryWrapper and getTokensAsync method
|
2017-05-29 23:51:27 +02:00 |
|
Fabio Berger
|
6cb9bd4426
|
Instead of removing all files from ./lib/src for the UMD test, we leave the utils and schema folders as well as the types file since they are used by the test files
|
2017-05-29 23:21:38 +02:00 |
|
Leonid Logvinov
|
9bb738bb2f
|
Finish ecSignature renaming
|
2017-05-29 22:45:05 +02:00 |
|
Leonid Logvinov
|
7fea711927
|
Add assertions for parameters
|
2017-05-29 22:42:32 +02:00 |
|
Leonid Logvinov
|
b46ad44856
|
Move field declaration to the begining of the class
|
2017-05-29 22:35:17 +02:00 |
|
Leonid Logvinov
|
96092de5cb
|
Add initial implementation of fillOrderAsync
|
2017-05-29 22:30:18 +02:00 |
|
Leonid Logvinov
|
7dddf2010e
|
Add getExchangeInstanceOrThrowAsync && getSenderAddressOrThrowAsync
|
2017-05-29 22:14:18 +02:00 |
|
Leonid Logvinov
|
34de598642
|
Add tests to linter targets
|
2017-05-29 22:09:43 +02:00 |
|
Leonid Logvinov
|
45c12216aa
|
Use npm run testrpc on circlecCI
|
2017-05-29 22:09:20 +02:00 |
|