Lawrence Forman
233336ea16
Ran prettier and linter
2019-07-23 15:17:56 -07:00
Lawrence Forman
06499f2155
In @0x/contract-wrappers
: Update tests
2019-07-23 15:17:56 -07:00
Lawrence Forman
995669cccd
In contract-wrappers
, inherit chaiSetup
from @0x/dev-utils
2019-07-23 15:13:26 -07:00
Lawrence Forman
4aae7348d1
Update fill-scenarios
, contract-wrappers
, contract-artifacts
, abi-gen-wrappers
to use new domain schema and Order
format.
2019-07-23 15:08:00 -07:00
Lawrence Forman
232a43f34f
Update contract-wrappers
tests.
2019-07-23 14:59:31 -07:00
Lawrence Forman
2d28fde24d
Migrate all contract-related tooling and tests to accept a chain ID in domain separators.
2019-07-23 14:58:00 -07:00
Xianny
048f5c2771
[Multilang] hardcode ABI into abi-gen-wrappers ( #1883 )
...
* Export artifacts and addresses from abi-gen-wrappers
* only export addresses, not artifacts
* abi-gen-wrappers no longer accept ContractAbi as constructor param
ABI is now hardcoded when wrapper is generated
* remove unused imports
* remove unused import
* changes after review
* fix method ordering
* update constructor args
* prettier
* statically enumerate ABI properties
* remove abi-gen-wrappers generated-wrappers from prettierignore
* add template for recursive components
* add `indexed` field for EventParameter
* prettier
* update known-good wrappers with ABIs and fix Python ABI loading
* remove generated-artifacts and update gitignore
2019-07-08 12:44:19 -07:00
Jacob Evans
eec016380d
Commit fix to decode
2019-05-14 19:57:48 +02:00
Jacob Evans
dcab272be0
Add a test for encoding/decoding dutch auction asset data
2019-05-14 19:20:27 +02:00
Xianny
41cc5234c4
Add coordinator wrapper ( #1792 )
...
* wip first pass at coordinator wrapper
* implement cancels, helper methods, and more unit tests
* pin typeorm version in pipeline
* prettier
* add export to 0x.js
* generate ZeroEx transaction using EIP712
* update Coordinator artifact
* change OrderError -> TypedDataError
2019-05-09 15:48:41 -07:00
Jacob Evans
fa67997424
Move order_utils from asset-buyer to order-utils package
2019-03-28 14:00:39 +01:00
Jacob Evans
a5f06c577d
Remove unused pause
2019-03-28 14:00:38 +01:00
Jacob Evans
a34d5b29e8
Return eventually rejectedWith
2019-03-28 14:00:38 +01:00
Jacob Evans
91ec65da1b
Await in tests to prevent clash in before blocks
2019-03-28 14:00:38 +01:00
Jacob Evans
8b70762e34
Add a Test for an Untransferrable ERC20 token
2019-03-28 14:00:37 +01:00
Jacob Evans
18c613a611
Update comments
2019-03-28 14:00:37 +01:00
Jacob Evans
957f8c56a1
validateRemainingOrderAmountIsFillable
2019-03-28 14:00:37 +01:00
Jacob Evans
b16446877e
only
2019-03-28 14:00:37 +01:00
Jacob Evans
9164d58dc7
Simulate maker transfer in order validation
2019-03-28 14:00:27 +01:00
Jacob Evans
180c65cfeb
Change all packages to use web3providerengine without excess polling
2019-03-21 11:50:19 +01:00
Fabio Berger
1fa82c1077
Fix up missing Provider interfaces and refactor providerUtils.standardizeOrThrow()
2019-02-19 22:34:31 -08:00
Greg Hysen
500b4940a3
Improvements and conventions in utils package + abi decoder
2019-02-08 17:12:54 -08:00
Greg Hysen
6406126ae3
Merged tx decoder into AbiDecoder in utils and merged zeroex tx decoder into ContractWrappers.
2019-02-08 16:25:30 -08:00
Greg Hysen
d9c4c74a56
Added tests for ZeroExTransactionDecoder
2019-02-08 16:25:30 -08:00
Greg Hysen
5a231fb057
Prep for txData decoder tests
2019-02-08 16:25:30 -08:00
Greg Hysen
63f41df327
started writing tests for zeroex tx decoder
2019-02-08 16:25:30 -08:00
Amir Bandeali
8246dec843
Rename getTransactionHex to getTransactionHashHex for clarity
2019-02-05 09:26:03 -08:00
Fabio Berger
e021460f03
Remove .only
2019-02-05 13:09:23 +00:00
Fabio Berger
332cc14dcd
Add preSigned isValidSignature test for success case using smart contract & TS implementation
2019-02-05 13:07:40 +00:00
Leonid Logvinov
c3afc13dd6
Upgrade bignumber.js version
2019-01-15 16:25:24 +01:00
Jacob Evans
dc58c60841
Update hardcoded token addresses
2019-01-12 18:50:05 +11:00
Xianny
943c378309
Implement tslint enum-naming to enforce PascalCase on enum members ( #1474 )
2019-01-11 10:04:30 -08:00
Greg Hysen
a00e416a19
ran prettier
2019-01-07 15:50:48 -08:00
Greg Hysen
77a2ca1ddc
Minor documentation updates to dutch auction wrapper
2019-01-07 15:50:48 -08:00
Greg Hysen
c6ab380685
Ran prettier & linter
2019-01-07 15:50:48 -08:00
Greg Hysen
bbd4828340
removed .only
2019-01-07 15:50:48 -08:00
Greg Hysen
06139cbfe5
Added dutch auction utils to contract-wrappers
2019-01-07 15:50:48 -08:00
Greg Hysen
b249a50d8f
ran prettier
2019-01-07 15:50:48 -08:00
Greg Hysen
0432212a34
dutch wrapper tests working
2019-01-07 15:50:48 -08:00
Greg Hysen
7203ca90cf
all dutchie wrapper tests passing
2019-01-07 15:50:48 -08:00
Greg Hysen
5da748a062
Progress on dutch auction wrapper. Need to add auction data decoding to it.
2019-01-07 15:50:48 -08:00
Greg Hysen
43b648e7dc
Dutch wrapper
2019-01-07 15:50:48 -08:00
Fabio Berger
6fa6579c31
Use correctly formatted signature so that it rejects with the expected reason and not because the signature is mal-formatted
2018-11-12 11:57:54 +01:00
Fabio Berger
b21c1bea46
Use rejectedWith
2018-11-12 10:23:42 +01:00
Fabio Berger
857a35d4f7
Fix validateOrderFillableOrThrowAsync method so it also checks order signature, cancelled, cancelledUpTo, and throws helpful error messages
2018-11-09 00:45:48 +01:00
Jacob Evans
9f924e459c
chore: change package org from 0xproject to 0x
2018-10-18 22:27:31 +11:00
Alex Browne
5bdfad9b41
Remove ContractNotFound errors in contract-wrappers
2018-10-16 00:23:43 -07:00
Alex Browne
6f8e98e537
In contract-wrappers, remove setProvider and add unsubscribeAll method.
2018-10-15 17:35:25 -07:00
Alex Browne
003ab1e5b3
Fix linter errors in contract-wrappers
2018-10-15 13:38:59 -07:00
Alex Browne
c83dec22c9
Improve error handling for unknown network ids in contract-wrappers
2018-10-15 13:38:59 -07:00