Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix linter issue | Fabio Berger | 2017-09-26 | 1 | -1/+3 |
| | |||||
* | Add success test and regression test for previous bug where comparing ↵ | Fabio Berger | 2017-09-26 | 1 | -0/+19 |
| | | | | makerTokenAmount with a takerTokenAmount | ||||
* | Add tests for validateOrderFillableOrThrowAsync | Fabio Berger | 2017-09-26 | 1 | -0/+21 |
| | |||||
* | Fix a typo | Leonid Logvinov | 2017-09-18 | 1 | -1/+1 |
| | |||||
* | Add tests for contracts address config | Leonid Logvinov | 2017-09-18 | 1 | -2/+27 |
| | |||||
* | Fetch tokenTransferProxy address from exchange contract | Leonid Logvinov | 2017-09-18 | 1 | -1/+1 |
| | |||||
* | Fix log decoder to return correct types | Leonid Logvinov | 2017-09-06 | 1 | -5/+3 |
| | |||||
* | Fix type error | Leonid Logvinov | 2017-09-06 | 1 | -1/+2 |
| | |||||
* | Merge branch 'development' into fix/signature-verification | Leonid | 2017-09-06 | 6 | -77/+56 |
|\ | |||||
| * | Fix a typo in test name | Leonid Logvinov | 2017-09-06 | 1 | -1/+1 |
| | | |||||
| * | Add lifecycle methods | Leonid Logvinov | 2017-09-06 | 1 | -0/+8 |
| | | |||||
| * | Add test for logs decoding in awaitTransactionMinedAsync | Leonid Logvinov | 2017-09-06 | 1 | -0/+20 |
| | | |||||
| * | Decode logs args in awaitTransactionMinedAsync | Leonid Logvinov | 2017-09-06 | 1 | -2/+4 |
| | | |||||
| * | Change non-exhange contracts to also return txHash | Leonid Logvinov | 2017-09-05 | 3 | -7/+10 |
| | | |||||
| * | Implement zeroEx.awaitTransactionMined | Leonid Logvinov | 2017-09-05 | 2 | -7/+4 |
| | | |||||
| * | Temporarily remove web3_beta, cause it breaks installation and tests | Leonid Logvinov | 2017-09-05 | 2 | -22/+0 |
| | | |||||
| * | Make the functions immidiately return txHash instead of awaiting for a ↵ | Leonid Logvinov | 2017-09-05 | 2 | -48/+19 |
| | | | | | | | | transaction to be mined | ||||
| * | Fix tests descriptions | Leonid Logvinov | 2017-09-04 | 1 | -2/+2 |
| | | |||||
* | | Add signature verification as a part of order validation and tests for it | Leonid Logvinov | 2017-09-06 | 1 | -1/+11 |
|/ | |||||
* | Add 'content-type' header with value 'application/json' for http requests ↵ | Brandon Millman | 2017-09-01 | 1 | -0/+3 |
| | | | | made JSONRPC endpoints | ||||
* | Don't create whole web3 object in beta tests | Leonid Logvinov | 2017-08-30 | 2 | -9/+3 |
| | |||||
* | Add tests for web3@1.0 | Leonid Logvinov | 2017-08-30 | 1 | -0/+16 |
| | |||||
* | Use zeroEx.getAvailableAddressesAsync instead of web3.eth.getAccounts | Leonid Logvinov | 2017-08-30 | 4 | -4/+4 |
| | |||||
* | Add web3@1.0 to web3Factory | Leonid Logvinov | 2017-08-30 | 1 | -0/+12 |
| | |||||
* | Use zeroExConfig in tests | Leonid Logvinov | 2017-08-29 | 1 | -1/+4 |
| | |||||
* | Specify gasPrice in WETH tests | Leonid Logvinov | 2017-08-29 | 1 | -1/+2 |
| | |||||
* | Use 0x-json-schemas | Leonid Logvinov | 2017-08-28 | 2 | -360/+4 |
| | |||||
* | Add an explanatory comment | Leonid Logvinov | 2017-08-25 | 1 | -1/+4 |
| | |||||
* | Add a test that unlimited allowance reduces gas cost | Leonid Logvinov | 2017-08-25 | 1 | -0/+28 |
| | |||||
* | Add tests for unlimited allowance | Leonid Logvinov | 2017-08-25 | 1 | -0/+21 |
| | |||||
* | Change the unregistered token in tests | Leonid Logvinov | 2017-08-24 | 1 | -2/+2 |
| | |||||
* | Add tests for tokenRegistry public getters | Leonid Logvinov | 2017-08-24 | 1 | -3/+57 |
| | |||||
* | Add test for getTokenAddressesAsync | Leonid Logvinov | 2017-08-24 | 1 | -0/+14 |
| | |||||
* | Add validation for the case where the order is fully filled or canceled and ↵ | Leonid Logvinov | 2017-08-24 | 1 | -0/+9 |
| | | | | a test | ||||
* | Fix order validation tests | Leonid Logvinov | 2017-08-24 | 1 | -19/+20 |
| | |||||
* | Remove And's from names | Leonid Logvinov | 2017-08-24 | 1 | -33/+36 |
| | |||||
* | Separate order validation errors tests from exchange tests | Leonid Logvinov | 2017-08-24 | 2 | -84/+95 |
| | |||||
* | Merge pull request #131 from 0xProject/addTokenRegistryMethod | Fabio Berger | 2017-08-24 | 1 | -0/+16 |
|\ | | | | | Add public method to TokenRegistry | ||||
| * | rename method for clarity since we return a Token and not tokenMetadata | Fabio Berger | 2017-08-24 | 1 | -3/+3 |
| | | |||||
| * | use non-checksummed address | Fabio Berger | 2017-08-24 | 1 | -1/+1 |
| | | |||||
| * | Add public method `getTokenMetadataIfExistsAsync` to TokenRegistry wrapper, ↵ | Fabio Berger | 2017-08-23 | 1 | -0/+16 |
| | | | | | | | | refactor `getTokensAsync` to use `getTokenMetadataIfExistsAsync` under the hood and added unit tests | ||||
* | | rename proxy_wrapper_test to token_transfer_proxy_wrapper_test | Fabio Berger | 2017-08-23 | 1 | -0/+0 |
|/ | |||||
* | Rename shouldCheckTransfer to shouldThrowOnInsufficientBalanceOrAllowance in ↵ | Leonid Logvinov | 2017-08-22 | 4 | -37/+41 |
| | | | | tests | ||||
* | Rename internally Proxy to TokenTransferProxy | Leonid Logvinov | 2017-08-22 | 2 | -3/+3 |
| | |||||
* | Put the last test address on it's own line | Leonid Logvinov | 2017-08-22 | 1 | -1/+3 |
| | |||||
* | Use lowercase address in tests | Leonid Logvinov | 2017-08-22 | 1 | -1/+1 |
| | |||||
* | Reject checksummed addresses | Leonid Logvinov | 2017-08-22 | 2 | -4/+8 |
| | |||||
* | Merge pull request #118 from 0xProject/artifacts-update | Fabio Berger | 2017-08-21 | 1 | -4/+0 |
|\ | | | | | Update artifacts with the latest mainnet version | ||||
| * | Remove url from token registry | Leonid Logvinov | 2017-08-15 | 1 | -4/+0 |
| | | |||||
* | | set default value to hasAddresses boolean | Fabio Berger | 2017-08-17 | 1 | -1/+1 |
| | | |||||
* | | remove unnecessary assertion and add regression test | Fabio Berger | 2017-08-17 | 1 | -17/+40 |
| | | |||||
* | | Remove isUserAddressAvailable assertion from getBalanceAsync and add ↵ | Fabio Berger | 2017-08-17 | 2 | -21/+43 |
|/ | | | | regression test | ||||
* | Indent callbacks | Leonid Logvinov | 2017-07-26 | 1 | -2/+2 |
| | |||||
* | Rearrange imports | Leonid Logvinov | 2017-07-26 | 1 | -1/+1 |
| | |||||
* | Remove unused imports | Leonid Logvinov | 2017-07-26 | 4 | -4/+1 |
| | |||||
* | Fix tests | Leonid Logvinov | 2017-07-26 | 1 | -1/+1 |
| | |||||
* | Factor out order validation tests | Leonid Logvinov | 2017-07-26 | 2 | -147/+203 |
| | |||||
* | Cover all possible branches of order validation errors with tests | Leonid Logvinov | 2017-07-26 | 1 | -14/+59 |
| | |||||
* | Add a test: should throw when maker has balance to cover fees or transfer ↵ | Leonid Logvinov | 2017-07-26 | 1 | -0/+15 |
| | | | | but not both | ||||
* | Use actual exception values in test names | Leonid Logvinov | 2017-07-12 | 1 | -3/+3 |
| | |||||
* | Use PascalCase names as string enum keys | Leonid Logvinov | 2017-07-12 | 4 | -30/+30 |
| | |||||
* | Make getOrderHashHex static | Leonid Logvinov | 2017-07-12 | 3 | -11/+11 |
| | |||||
* | Migrate to using a single Exchange contract | Leonid Logvinov | 2017-07-12 | 4 | -81/+24 |
| | |||||
* | Migrate events | Leonid Logvinov | 2017-07-11 | 1 | -4/+4 |
| | |||||
* | Merge pull request #100 from 0xProject/improveSignOrder | Fabio Berger | 2017-07-08 | 1 | -9/+3 |
|\ | | | | | Improve signOrderHashAsync | ||||
| * | Modify signOrderHashAsync to parse the signatureHex string as V + R + S AND ↵ | Fabio Berger | 2017-07-08 | 1 | -9/+3 |
| | | | | | | | | R + S + V and check both for a valid signature in order to fix the issue of different nodes returning it differently | ||||
* | | Merge branch 'master' into cache_net_version | Leonid | 2017-07-08 | 3 | -49/+49 |
|\ \ | |||||
| * \ | Merge pull request #97 from 0xProject/speedup-tests | Leonid | 2017-07-08 | 1 | -30/+30 |
| |\ \ | | | | | | | | | Paralellize fill scenarios | ||||
| | * | | Add noop comment | Leonid | 2017-07-08 | 1 | -1/+1 |
| | | | | |||||
| | * | | Paralellize fill scenarios | Leonid Logvinov | 2017-07-08 | 1 | -30/+30 |
| | | | | |||||
| * | | | Merge pull request #98 from 0xProject/typos | Leonid | 2017-07-08 | 1 | -6/+6 |
| |\ \ \ | | |_|/ | |/| | | Typos | ||||
| | * | | Rename batchCancelOrderAsync to batchCancelOrdersAsync | Leonid Logvinov | 2017-07-08 | 1 | -3/+3 |
| | | | | |||||
| | * | | Rename batchFillOrderAsync to batchFillOrdersAsync | Leonid Logvinov | 2017-07-08 | 1 | -3/+3 |
| | |/ | |||||
| * / | Remove space after `it` keywork in tests | Fabio Berger | 2017-07-08 | 2 | -13/+13 |
| |/ | |||||
* | | Rename networkId to networkIdIfExists | Leonid Logvinov | 2017-07-07 | 1 | -2/+2 |
| | | |||||
* | | Fix a typo in a filename | Leonid Logvinov | 2017-07-07 | 1 | -0/+0 |
| | | |||||
* | | Rename RPC_NETWORK_ID to TESTRPC_NETWORK_ID | Leonid Logvinov | 2017-07-07 | 2 | -3/+3 |
| | | |||||
* | | Remove only | Leonid Logvinov | 2017-07-07 | 1 | -1/+1 |
| | | |||||
* | | Add tests for networkId caching and invalidation | Leonid Logvinov | 2017-07-07 | 2 | -0/+30 |
|/ | |||||
* | Fix comments to use web3 provider instead of web3 instance | Leonid Logvinov | 2017-07-07 | 2 | -2/+2 |
| | |||||
* | Move zeroEx.exchange.getAvailableContractAddressesAsync to ↵ | Leonid Logvinov | 2017-07-06 | 4 | -32/+26 |
| | | | | zeroEx.getAvailableExchangeContractAddressesAsync and zeroEx.exchange.getProxyAuthorizedContractAddressesAsync to zeroEx.getProxyAuthorizedExchangeContractAddressesAsync | ||||
* | Make all fields of subscriptionOpts schema optional | Leonid Logvinov | 2017-07-05 | 1 | -3/+3 |
| | |||||
* | move order hash schema to a separate file | Leonid Logvinov | 2017-07-05 | 1 | -1/+2 |
| | |||||
* | Add exchangeContractAddress to an order in schema tests | Leonid Logvinov | 2017-07-05 | 1 | -0/+1 |
| | |||||
* | Use .bignumber for BigNumber comparation | Leonid Logvinov | 2017-07-05 | 1 | -2/+2 |
| | |||||
* | Refactor event tests | Leonid Logvinov | 2017-07-05 | 1 | -13/+12 |
| | |||||
* | Add tests for order hash Schema | Leonid Logvinov | 2017-07-05 | 1 | -1/+20 |
| | |||||
* | Add tests for subscriptionOptsSchema and blockParamSchema | Leonid Logvinov | 2017-07-04 | 1 | -0/+38 |
| | |||||
* | Handle errors from pseudo-async subscription tests | Leonid Logvinov | 2017-07-04 | 2 | -10/+10 |
| | |||||
* | Merge branch 'master' into subscribe-token | Leonid | 2017-07-04 | 2 | -4/+13 |
|\ | |||||
| * | Merge pull request #89 from 0xProject/proxy | Leonid | 2017-07-04 | 2 | -4/+13 |
| |\ | | | | | | | Add zeroEx.proxy | ||||
| | * | Add zeroEx.proxy.getAuthorizedAddressesAsync and tests | Leonid Logvinov | 2017-07-04 | 1 | -0/+11 |
| | | | |||||
| | * | Make proxy wrapper public on zeroEx instance | Leonid Logvinov | 2017-07-04 | 2 | -4/+2 |
| | | | |||||
* | | | Add initial implementation and tests for zeroEx.token.subscribeAsync | Leonid Logvinov | 2017-07-04 | 1 | -1/+112 |
|/ / | |||||
* | | Fix merge problems | Leonid Logvinov | 2017-07-04 | 1 | -2/+3 |
| | | |||||
* | | Merge branch 'master' into wrap-log-bignumber | Leonid | 2017-07-04 | 6 | -61/+145 |
|\| | |||||
| * | Merge branch 'master' into add-exchange-address-to-order-struct | Leonid | 2017-07-04 | 1 | -0/+3 |
| |\ | |||||
| | * | Assert correct event names in subscribeAsync tests | Leonid Logvinov | 2017-07-01 | 1 | -0/+3 |
| | | | |||||
| * | | Fix comment | Leonid Logvinov | 2017-07-01 | 1 | -1/+1 |
| | | | |||||
| * | | Add tests for getProxyAuthorizedContractAddressesAsync | Leonid Logvinov | 2017-06-30 | 1 | -0/+12 |
| | | | |||||
| * | | Remove unused code from test/proxy_wrapper_test.ts | Leonid Logvinov | 2017-06-30 | 1 | -12/+0 |
| | | | |||||
| * | | Add a test for a ProxyWrapper | Leonid Logvinov | 2017-06-30 | 1 | -0/+35 |
| | | | |||||
| * | | Make zeroEx.getOrderHashHex non-async | Leonid Logvinov | 2017-06-30 | 2 | -10/+10 |
| | | | |||||
| * | | Fix typo in getAvailableContractAddressesAsync | Leonid Logvinov | 2017-06-30 | 2 | -3/+3 |
| | | | |||||
| * | | Make it clear that we are using a fake address in tests | Leonid Logvinov | 2017-06-30 | 1 | -2/+2 |
| | | | |||||
| * | | Fix a typo in a name | Leonid Logvinov | 2017-06-30 | 1 | -2/+2 |
| | | | |||||
| * | | Make getOrderHashHex a non-async function | Leonid Logvinov | 2017-06-30 | 1 | -13/+2 |
| | | | |||||
| * | | Allow multiple exchange versions t be functional at the same time | Leonid Logvinov | 2017-06-27 | 5 | -38/+95 |
| |/ | |||||
* / | Wrap all event args in a newer version of BigNumber and test it | Leonid Logvinov | 2017-07-02 | 1 | -21/+24 |
|/ | |||||
* | Merge pull request #81 from 0xProject/addWrappedETHSupport | Leonid | 2017-06-27 | 1 | -0/+106 |
|\ | | | | | Add Wrapped ETH Support | ||||
| * | refactor getBalanceInEthAsync to getBalanceInWeiAsync and change the test ↵ | Fabio Berger | 2017-06-27 | 1 | -18/+25 |
| | | | | | | | | assertions to check if the discrepancy between the existing ETH balance and expected balance is small enough to simply be the gas cost used by the transaction. | ||||
| * | Fix typo | Fabio Berger | 2017-06-27 | 1 | -1/+1 |
| | | |||||
| * | Implement EtherTokenWrapper and tests, with deposit and withdraw methods | Fabio Berger | 2017-06-26 | 1 | -0/+99 |
| | | |||||
* | | Rename KOVAN_URL to KOVAN_RPC_URL | Leonid Logvinov | 2017-06-23 | 2 | -2/+2 |
| | | |||||
* | | Simplify integration tests | Leonid Logvinov | 2017-06-23 | 1 | -34/+4 |
| | | |||||
* | | Refactor KOVAN_URL to constants and fetch mnemonic from package.json | Leonid Logvinov | 2017-06-23 | 2 | -2/+7 |
| | | |||||
* | | Add kovan integration tests | Leonid Logvinov | 2017-06-23 | 1 | -0/+54 |
|/ | |||||
* | Merge branch 'master' into fill-order-amuont | Leonid | 2017-06-23 | 5 | -20/+16 |
|\ | |||||
| * | Revert "Use different lodash import syntax which allows to include only used ↵ | Leonid | 2017-06-22 | 5 | -20/+16 |
| | | | | | | | | functions" | ||||
* | | Add test for return amount from fillOrdersUpToAsync | Leonid Logvinov | 2017-06-22 | 1 | -0/+6 |
| | | |||||
* | | Add test for cancelOrderAsync return value | Leonid Logvinov | 2017-06-22 | 1 | -0/+4 |
| | | |||||
* | | Add simple test checking that fillOrderAsync return filled amount | Leonid Logvinov | 2017-06-22 | 1 | -0/+10 |
| | | |||||
* | | Return filledAmount from fillOrderAsync | Leonid Logvinov | 2017-06-21 | 1 | -0/+18 |
|/ | |||||
* | Fall back to import x = require() syntax | Leonid Logvinov | 2017-06-21 | 5 | -9/+9 |
| | |||||
* | Use different lodash import syntax which allows to include only used functions | Leonid Logvinov | 2017-06-21 | 5 | -16/+20 |
| | |||||
* | Fix bug in 0x.js tests when passing Web3 instead of Web3 Provider | Leonid Logvinov | 2017-06-15 | 1 | -1/+1 |
| | |||||
* | Make ZeroEx constructor accept Web3Provider instead of Web3 instance | Leonid Logvinov | 2017-06-15 | 5 | -7/+7 |
| | |||||
* | Remove types that are not used in public interface from export and rename ↵ | Leonid Logvinov | 2017-06-14 | 2 | -3/+2 |
| | | | | EventEmitter to ContractEventEmitter and IndexFilterValues to IndexedFilterValues | ||||
* | Address feedback | Leonid Logvinov | 2017-06-14 | 1 | -2/+2 |
| | |||||
* | Add tests for stopWatchingAsync | Leonid Logvinov | 2017-06-13 | 1 | -0/+20 |
| | |||||
* | Refactor subscription to return zeroExSignature object | Leonid Logvinov | 2017-06-13 | 1 | -10/+16 |
| | |||||
* | Add getContractAddressAsync and tests | Leonid Logvinov | 2017-06-13 | 1 | -0/+7 |
| | |||||
* | Fix test | Leonid Logvinov | 2017-06-13 | 1 | -1/+1 |
| | |||||
* | Fix test | Leonid Logvinov | 2017-06-13 | 1 | -1/+1 |
| | |||||
* | Introduce index.ts file which defines public interface | Leonid Logvinov | 2017-06-13 | 7 | -12/+7 |
| | |||||
* | Change main file name from 0x.js.ts to 0x.ts | Leonid Logvinov | 2017-06-12 | 7 | -7/+7 |
| | |||||
* | Fix last tests | Leonid Logvinov | 2017-06-11 | 1 | -3/+3 |
| | |||||
* | Fix some tests | Leonid Logvinov | 2017-06-10 | 1 | -12/+12 |
| | |||||
* | Prefix private vars with _ | Leonid Logvinov | 2017-06-10 | 2 | -8/+8 |
| | |||||
* | Merge branch 'master' into subscribe-async-tests | Leonid | 2017-06-10 | 1 | -2/+1 |
|\ | |||||
| * | Merge branch 'master' into json-schema | Leonid | 2017-06-10 | 1 | -10/+258 |
| |\ | |||||
| * \ | Merge branch 'master' into json-schema | Leonid | 2017-06-10 | 1 | -3/+8 |
| |\ \ | |||||
| * | | | Fix tests | Leonid Logvinov | 2017-06-10 | 1 | -2/+1 |
| | | | | |||||
* | | | | Merge branch 'master' into subscribe-async-tests | Leonid | 2017-06-10 | 1 | -10/+258 |
|\ \ \ \ | | |_|/ | |/| | | |||||
| * | | | Address feedback | Leonid Logvinov | 2017-06-10 | 1 | -10/+20 |
| | | | | |||||
| * | | | Fix bugs in schemas | Leonid Logvinov | 2017-06-10 | 1 | -3/+3 |
| | | | | |||||
| * | | | Merge branch 'master' into schema-tests | Leonid | 2017-06-10 | 1 | -3/+8 |
| |\ \ \ | | | |/ | | |/| | |||||
| * | | | Merge branch 'master' into schema-tests | Leonid | 2017-06-09 | 1 | -0/+34 |
| |\ \ \ | | | |/ | | |/| | |||||
| * | | | Fix tests | Leonid Logvinov | 2017-06-09 | 1 | -1/+1 |
| | | | | |||||
| * | | | Add tests for fillOrderRequests schema | Leonid Logvinov | 2017-06-09 | 1 | -0/+26 |
| | | | | |||||
| * | | | Add tests for orderCancellationRequestsSchema | Leonid Logvinov | 2017-06-09 | 1 | -0/+26 |
| | | | | |||||
| * | | | Fix tests and add fillOrKillRequests schema | Leonid Logvinov | 2017-06-09 | 1 | -11/+37 |
| | | | | |||||
| * | | | Refactor tests | Leonid Logvinov | 2017-06-09 | 1 | -53/+47 |
| | | | | |||||
| * | | | Add tests for signedOrderSchema | Leonid Logvinov | 2017-06-09 | 1 | -0/+35 |
| | | | | |||||
| * | | | Add tests for order schema | Leonid Logvinov | 2017-06-09 | 1 | -0/+36 |
| | | | | |||||
| * | | | Tolerate more than one validation error in tests | Leonid Logvinov | 2017-06-09 | 1 | -1/+5 |
| | | | | |||||
| * | | | Rename to validateAgainstSchema | Leonid Logvinov | 2017-06-09 | 1 | -11/+11 |
| | | | | |||||
| * | | | Add tests for TokenSchema | Leonid Logvinov | 2017-06-09 | 1 | -2/+37 |
| | | | | |||||
| * | | | Add ecSignatureSchema tests | Leonid Logvinov | 2017-06-09 | 1 | -36/+58 |
| | | | | |||||
| * | | | Add ecSignatureParameter test | Leonid Logvinov | 2017-06-09 | 1 | -0/+20 |
| | | | | |||||
| * | | | Add tests for address schema | Leonid Logvinov | 2017-06-09 | 1 | -7/+21 |
| | | | | |||||
* | | | | Merge branch 'master' into subscribe-async-tests | Leonid | 2017-06-10 | 1 | -3/+8 |
|\ \ \ \ | | |_|/ | |/| | | |||||
| * | | | Add test for zeroEx.exchange.getCanceledTakerAmountAsync | Leonid Logvinov | 2017-06-10 | 1 | -3/+8 |
| | |/ | |/| | |||||
* | | | Fix tests | Leonid Logvinov | 2017-06-10 | 1 | -4/+4 |
| | | | |||||
* | | | Remove only | Leonid Logvinov | 2017-06-09 | 1 | -1/+1 |
| | | | |||||
* | | | Add LogCancel test to subscribeAsync | Leonid Logvinov | 2017-06-09 | 1 | -2/+18 |
|/ / | |||||
* | | Address feedback | Leonid Logvinov | 2017-06-09 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'master' into fillOrderUpToAsync | Leonid | 2017-06-09 | 2 | -52/+77 |
|\| | |||||
| * | Add orderFillOrKillRequestsSchema and validate using it instead of looping ↵ | Fabio Berger | 2017-06-09 | 1 | -1/+1 |
| | | | | | | | | over the requests and validating them individually | ||||
| * | Merge branch 'master' into batchFillOrKill | Fabio Berger | 2017-06-09 | 3 | -314/+254 |
| |\ | | | | | | | | | | | | | # Conflicts: # test/exchange_wrapper_test.ts | ||||
| * \ | Merge branch 'master' into batchFillOrKill | Fabio Berger | 2017-06-08 | 1 | -0/+22 |
| |\ \ | |||||
| * \ \ | Merge branch 'master' into batchFillOrKill | Fabio Berger | 2017-06-08 | 1 | -23/+72 |
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | # Conflicts: # src/types.ts | ||||
| * | | | | Implement batchFillOrKill and tests | Fabio Berger | 2017-06-08 | 1 | -51/+76 |
| | | | | | |||||
* | | | | | Merge branch 'master' into fillOrderUpToAsync | Leonid | 2017-06-09 | 1 | -16/+18 |
|\ \ \ \ \ | | |_|_|/ | |/| | | | |||||
| * | | | | Fix isValidSignature tests | Fabio Berger | 2017-06-09 | 1 | -16/+18 |
| | | | | | |||||
* | | | | | Add tests for fillOrdersUpTo | Leonid Logvinov | 2017-06-09 | 1 | -0/+34 |
|/ / / / | |||||
* | | | | Merge pull request #48 from 0xProject/interfaceTweaks | Leonid | 2017-06-08 | 1 | -2/+2 |
|\ \ \ \ | | | | | | | | | | | Interface tweaks | ||||
| * \ \ \ | Merge branch 'master' into interfaceTweaks | Leonid | 2017-06-08 | 1 | -0/+22 |
| |\ \ \ \ | | | |_|/ | | |/| | | |||||
| * | | | | Make web3Wrapper protected instead of public | Fabio Berger | 2017-06-08 | 1 | -2/+2 |
| | |_|/ | |/| | | |||||
* | | | | Merge pull request #47 from 0xProject/is-valid-signature-contract | Leonid | 2017-06-08 | 2 | -121/+25 |
|\ \ \ \ | | | | | | | | | | | Refactor isValidSignature | ||||
| * \ \ \ | Merge branch 'master' into is-valid-signature-contract | Leonid | 2017-06-08 | 1 | -0/+22 |
| |\ \ \ \ | | | |/ / | | |/| | | |||||
| * | | | | Fix linter error | Leonid Logvinov | 2017-06-08 | 1 | -3/+3 |
| | | | | | |||||
| * | | | | Rewrite isValidSignature tests | Leonid Logvinov | 2017-06-08 | 1 | -51/+25 |
| | | | | | |||||
| * | | | | Remove tests for isValidSignatureUsingContractCallAsync | Leonid Logvinov | 2017-06-08 | 1 | -78/+0 |
| | | | | | |||||
| * | | | | Refactor isValidSignature | Leonid Logvinov | 2017-06-08 | 1 | -13/+21 |
| | |/ / | |/| | | |||||
* | | | | Don't pass expressions as parameters | Leonid Logvinov | 2017-06-08 | 1 | -2/+4 |
| | | | | |||||
* | | | | Don't pass expressions as parameters | Leonid Logvinov | 2017-06-08 | 1 | -2/+4 |
| | | | | |||||
* | | | | Merge branch 'master' into batchFillAsync | Leonid | 2017-06-08 | 1 | -0/+22 |
|\ \ \ \ | | |/ / | |/| | | |||||
| * | | | Add getOrderHashHexUsingContractCallAsync | Leonid Logvinov | 2017-06-08 | 1 | -0/+22 |
| |/ / | |||||
* | | | Address feedback | Leonid Logvinov | 2017-06-08 | 2 | -7/+17 |
| | | | |||||
* | | | Merge branch 'master' into batchFillAsync | Leonid Logvinov | 2017-06-08 | 2 | -7/+79 |
|\| | | |||||
| * | | Format inputs | Leonid Logvinov | 2017-06-08 | 1 | -1/+2 |
| | | | |||||
| * | | Merge branch 'master' into batchCancelAsync | Leonid | 2017-06-08 | 2 | -2/+100 |
| |\| | |||||
| | * | add `hex` to function and variable name for clarity | Fabio Berger | 2017-06-07 | 1 | -1/+1 |
| | | | |||||
| | * | Fix tests with removed shouldCheckTransfer | Fabio Berger | 2017-06-07 | 1 | -6/+3 |
| | | | |||||
| | * | merge master | Fabio Berger | 2017-06-07 | 2 | -5/+52 |
| | |\ | |||||
| | * | | Implement fillOrKill & tests | Fabio Berger | 2017-06-07 | 1 | -1/+102 |
| | | | | |||||
| * | | | Address feedback | Leonid Logvinov | 2017-06-07 | 1 | -8/+4 |
| | | | | |||||
* | | | | Add no-op test | Leonid Logvinov | 2017-06-08 | 1 | -3/+3 |
| | | | | |||||
* | | | | Add success test | Leonid Logvinov | 2017-06-08 | 2 | -5/+33 |
| | | | | |||||
* | | | | Remove only | Leonid Logvinov | 2017-06-07 | 1 | -1/+1 |
| | | | | |||||
* | | | | Merge branch 'batchCancelAsync' into batchFillAsync | Leonid Logvinov | 2017-06-07 | 1 | -12/+22 |
|\| | | | |||||
| * | | | Refactor to use OrderCancellationRequest | Leonid Logvinov | 2017-06-07 | 1 | -11/+21 |
| | | | | |||||
| * | | | Add tests for batchCancelAsync | Leonid Logvinov | 2017-06-07 | 1 | -23/+65 |
| | |/ | |/| | |||||
| * | | Add comments for dates | Leonid Logvinov | 2017-06-07 | 1 | -2/+2 |
| | | | |||||
* | | | Move fillableAmount to initialization section | Leonid Logvinov | 2017-06-07 | 1 | -8/+17 |
| | | | |||||
* | | | Move initialization up | Leonid Logvinov | 2017-06-07 | 1 | -15/+15 |
| | | | |||||
* | | | Move fillOrderAsync to fill order describe block | Leonid Logvinov | 2017-06-07 | 1 | -179/+185 |
| | | | |||||
* | | | Add tests for batchCancelAsync | Leonid Logvinov | 2017-06-07 | 1 | -23/+65 |
| | | | |||||
* | | | Add comments for dates | Leonid Logvinov | 2017-06-07 | 1 | -2/+2 |
|/ / | |||||
* | | Address feedback | Leonid Logvinov | 2017-06-07 | 1 | -2/+2 |
| | | |||||
* | | Fix tests | Leonid Logvinov | 2017-06-06 | 1 | -1/+1 |
| | | |||||
* | | Remove only | Leonid Logvinov | 2017-06-06 | 1 | -1/+1 |
| | | |||||
* | | Add test when the order was already cancelled or filled | Leonid Logvinov | 2017-06-06 | 1 | -0/+5 |
| | | |||||
* | | Add checks and tests for expired order and zero fill amount | Leonid Logvinov | 2017-06-06 | 1 | -1/+17 |
| | | |||||
* | | Merge branch 'master' into cancelAsync | Leonid Logvinov | 2017-06-06 | 2 | -3/+5 |
|\| | |||||
| * | Pass nonExistentSenderAddress so that we get the proper rejection | Fabio Berger | 2017-06-06 | 1 | -1/+2 |
| | | |||||
| * | avoid newline issues by putting the assertion message on a single line | Fabio Berger | 2017-06-06 | 1 | -2/+3 |
| | | |||||
* | | Add initial implementation with success test | Leonid Logvinov | 2017-06-06 | 2 | -4/+30 |
|/ | |||||
* | Update schema_test.ts | Leonid | 2017-06-06 | 1 | -1/+1 |
| | |||||
* | Merge pull request #39 from 0xProject/senderAccount | Leonid | 2017-06-06 | 5 | -57/+66 |
|\ | | | | | Make methods accept senderAccount | ||||
| * | Rename isSenderAddressHexAsync to isSenderAddressAsync | Leonid Logvinov | 2017-06-06 | 1 | -3/+3 |
| | | |||||
| * | Last round of renamings | Leonid Logvinov | 2017-06-06 | 2 | -13/+13 |
| | | |||||
| * | Use variable name in assertin message | Leonid Logvinov | 2017-06-06 | 1 | -1/+1 |
| | | |||||
| * | Remove unused variable | Leonid Logvinov | 2017-06-06 | 1 | -1/+0 |
| | | |||||
| * | Rename accounts to addreses | Leonid Logvinov | 2017-06-06 | 3 | -3/+3 |
| | | |||||
| * | Remove message param from before | Leonid Logvinov | 2017-06-06 | 1 | -1/+1 |
| | | |||||
| * | Rename assert.isSenderAccountHexAsync to assert.isSenderAddressHexAsync | Leonid Logvinov | 2017-06-06 | 1 | -3/+3 |
| | | |||||
| * | Add tests for isSenderAccountHexAsync | Leonid Logvinov | 2017-06-06 | 1 | -0/+33 |
| | | |||||
| * | Make methods accept senderAccount | Leonid Logvinov | 2017-06-05 | 4 | -57/+34 |
| | | |||||
* | | Merge pull request #35 from 0xProject/chai-setup | Leonid | 2017-06-06 | 5 | -18/+22 |
|\ \ | | | | | | | Add chai_setup | ||||
| * | | Update chai_setup.ts | Leonid | 2017-06-06 | 1 | -1/+1 |
| | | | |||||
| * | | Merge branch 'master' into chai-setup | Leonid | 2017-06-06 | 2 | -4/+16 |
| |\ \ | |||||
| * | | | Address feedback | Leonid Logvinov | 2017-06-06 | 5 | -12/+12 |
| | | | | |||||
| * | | | Add chai_setup | Leonid Logvinov | 2017-06-05 | 5 | -17/+22 |
| | |/ | |/| | |||||
* | | | Merge pull request #34 from 0xProject/number-regex | Leonid | 2017-06-06 | 1 | -0/+46 |
|\ \ \ | |_|/ |/| | | Add tests to number regex and BigNumber serialization & fix bugs | ||||
| * | | Address feedback | Leonid Logvinov | 2017-06-06 | 1 | -18/+23 |
| | | | |||||
| * | | Add tests to number regex and BigNumber serialization & fix bugs | Leonid Logvinov | 2017-06-05 | 1 | -0/+41 |
| |/ | |||||
* | | Merge pull request #38 from 0xProject/async-errors | Leonid | 2017-06-06 | 1 | -4/+6 |
|\ \ | | | | | | | Add a couple of awaits and returns for async tests | ||||
| * | | Add chai-as-promised | Leonid Logvinov | 2017-06-05 | 1 | -0/+2 |
| | | | |||||
| * | | Add a couple of awaits and returns for async tests | Leonid Logvinov | 2017-06-05 | 1 | -4/+4 |
| |/ | |||||
* | | Address feedback | Leonid Logvinov | 2017-06-06 | 1 | -1/+2 |
| | | |||||
* | | Add regression test for transferFrom bug | Leonid Logvinov | 2017-06-05 | 1 | -0/+10 |
|/ | |||||
* | Merge pull request #32 from 0xProject/addEventSubscriptions | Fabio Berger | 2017-06-03 | 2 | -5/+87 |
|\ | | | | | Implement zeroEx.exchange.subscribeAsync | ||||
| * | remove space | Fabio Berger | 2017-06-03 | 1 | -1/+1 |
| | | |||||
| * | Merge branch 'master' into addEventSubscriptions | Fabio Berger | 2017-06-03 | 2 | -9/+5 |
| |\ | | | | | | | | | | | | | | | | | | | # Conflicts: # src/types.ts # test/exchange_wrapper_test.ts # test/utils/fill_scenarios.ts | ||||
| * \ | Merge branch 'master' into addEventSubscriptions | Fabio Berger | 2017-06-03 | 4 | -0/+4 |
| |\ \ | |||||
| * \ \ | Merge branch 'master' into addEventSubscriptions | Fabio Berger | 2017-06-03 | 4 | -98/+252 |
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # src/contract_wrappers/exchange_wrapper.ts # src/types.ts # test/exchange_wrapper_test.ts | ||||
| * \ \ \ | Merge branch 'fillOrderAsync' into addEventSubscriptions | Fabio Berger | 2017-06-02 | 1 | -0/+25 |
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # src/contract_wrappers/exchange_wrapper.ts | ||||
| * | | | | | Add tests for subscribeAsync, making sure events are caught and that ↵ | Fabio Berger | 2017-06-02 | 1 | -1/+83 |
| | | | | | | | | | | | | | | | | | | | | | | | | subscriptions are removed on provider change |