Lawrence Forman
3c07cbde47
@0x/types
: Rename WalletOrderValidator
to OrderWallet
in SignatureType
...
`@0x/types`: Add `EIP1271Wallet` and `EIP1271OrderWallet` to `SignatureType`
2019-07-23 15:53:24 -07:00
Amir Bandeali
1940458306
Add tests for OrderTransferSimulationUtils
2019-07-23 15:52:20 -07:00
Amir Bandeali
f01743e27c
Add tests for simulateTransferFromCalls
2019-07-23 15:52:20 -07:00
Amir Bandeali
6ddaa6f52a
Add expirationTimeSeconds to ZeroExTransaction schema throughout codebase
2019-07-23 15:46:15 -07:00
Amir Bandeali
c570478aaa
Add fee assetData fields to OrderWithoutDomain and Order types
2019-07-23 15:23:40 -07:00
Lawrence Forman
0bcd47b394
Add OrderValidator and WalletOrderValidator signature strategies to Exchange ( #1774 )
...
* In `@0x/contracts-exchange`: Add `SignatureType.OrderValidator` support to contracts and refactor signature validation functions.
* In `@0x/types`: Add `SignatureType.OrderValidator` and `RevertReason.InappropriateSignature`.
* In `@0x/contracts-exchange`: Fix contracts and update tests for `SignatureType.OrderValidator`.
* Ran prettier/linter
* Update changelogs
* In `@0x/order-utils`: Add `SignatureOrderValidatorError` to `ExchangeRevertErrors`.
* In `@0x/contracts-exchange`: Add `SignatureOrderValidatorError` rich revert. Fix rebase issues. Rename `IValidator.isValidOrder` to `IValidator.isValidOrderSignature`.
* In `@0x/contracts-exchange`: Add revert test cases for `OrderValidator` signature type.
* In `@0x/order-utils`: Update changelog.
* In `@0x/contracts-exchange`: Split off `SignatureType.OrderValidator` scheme into its own interface and registry.
* In `@0x/types`: Add `SignatureType.WalletOrderValidator`.
* In `@0x/order-utils`: Add `SignatureWalletOrderValidatorError`.
* In `@0x/contracts-exchange`: Add `SignatureType.WalletOrderValidator` support.
* Ran prettier
* In `@0x/types`: Remove `RevertReason.WalletOrderValidator`.
* Update/fix changelogs in `@0x/contracts-exchange`, `@0x/order-utils`, and `@0x/types`.
* In `@0x/contracts-exchange`: Make `isValidOrderSignature` `external` instead of `public`.
* In `@0x/contracts-exchange`: Change `isValidOrderSignature` back to `public` because passing `calldata` to internal functions isn't supported.
2019-07-23 15:18:26 -07:00
Lawrence Forman
8305168bc4
Add OrderStatus
to @0x/types
2019-07-23 15:12:03 -07:00
Lawrence Forman
55f3322576
Rename eip712domain
field in Order
and ZeroExTransaction
to just domain
.
2019-07-23 15:04:46 -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
Lawrence Forman
4bbaa6b41c
Update tooling/types to incorporate chainID in domain separators.
2019-07-23 14:58:00 -07:00
David Sun
542255332d
changed market-operation type to enum from literal
2019-07-15 15:29:13 -07:00
Xianny
88ae8311c8
Copy dutch auction asset data utils to @0x/order-utils ( #1943 )
...
* copy dutch auction assetdata utils to @0x/order-utils
* encode/decode dutch auction asset data using order-utils
2019-07-12 17:27:06 -07:00
David Sun
82da33d742
light refactor
2019-07-11 15:15:09 -07:00
Amir Bandeali
5dcf7919fc
Fix build errors
2019-06-18 19:52:18 -07:00
Amir Bandeali
f2cbf4a561
Regenerate abi-gen-wrappers
2019-06-18 19:50:59 -07:00
Amir Bandeali
0c8bb2e675
Add unit tests for StaticCallProxy
2019-06-18 19:50:59 -07:00
Amir Bandeali
720d335b09
Add StaticCallProxy types and move 1155 method ABI into order-utils
2019-06-18 19:50:59 -07:00
Greg Hysen
e7c4120d24
Validation checks for the length of asset data
2019-06-05 14:08:25 -07:00
Greg Hysen
1212e534a8
Adds boundary checks when copying dynamic fields (includes tests)
2019-06-05 14:08:25 -07:00
Amir Bandeali
d0e43ebaf1
Merge pull request #1712 from merklejerk/fix/feature/contracts/LibAddressArray-tests
...
Fix LibAddressArray.indexOf() and add LibAddressArray tests.
2019-03-20 11:38:08 -07:00
Lawrence
87fd3f2a82
Add RevertReason.InvalidFreeMemoryPtr
to packages/types.
2019-03-20 10:19:46 -04:00
Greg Hysen
7ed3afe9f0
Updated function signature for ERC1155 ProxyId - ERC1155Token -> ERC1155Assets
2019-03-19 15:35:08 -07:00
Lawrence Forman
ae24119c09
Merge branch 'development' into feature/contracts/coordinator-tx-eip712-mixed-domains
2019-03-15 19:10:44 -04:00
Greg Hysen
9207d1c680
Do not revert if value or amount are zero. Only if amount is non-zero and there is an overflow.
2019-03-15 15:05:52 -07:00
Greg Hysen
1e5648111e
Updated changelogs and documentation for erc1155 proxy
2019-03-15 15:05:02 -07:00
Greg Hysen
05ef250ab4
Ran prettier & linter
2019-03-15 15:05:02 -07:00
Greg Hysen
5704afc54c
ERC1155 Asset Data tests + types
2019-03-15 15:05:02 -07:00
Greg Hysen
4473851f5b
Remaining tests for erc1155 proxy
2019-03-15 15:05:02 -07:00
Greg Hysen
15d9e2d3d5
Split ERC1155 Asset Proxy from ERC1155 POC implementation - squashed
2019-03-15 15:05:02 -07:00
Lawrence Forman
afaabb3673
Move Coordinator EIP712 constants from contracts/test-utils
to packages/order-utils
.
...
Export `constants` from `packages/types`.
Add `SignatureInvalid` to `RevertReason` in `packages/types`.
2019-03-15 16:52:18 -04:00
Greg Hysen
ebfa00d555
Added remaining erc1155 revert reasons to types
package
2019-03-11 15:00:41 -07:00
Greg Hysen
60d24ada62
tests for allowance approvals on erc1155
2019-03-11 14:59:58 -07:00
Greg Hysen
0c03747807
Basic ERC1155 wrapper
2019-03-11 14:55:45 -07:00
Amir Bandeali
53a70bbffb
Change InvalidSender err to invalidOrigin
2019-03-07 13:58:50 -08:00
Amir Bandeali
d0aa907418
Add TEC revert reasons
2019-02-26 13:29:18 -08:00
Amir Bandeali
64401f1031
Fix bug in slice functions that disallow slicing the last byte of a byte array
2019-02-25 09:59:25 -08:00
Leonid Logvinov
de23428069
Merge development
2019-02-07 11:15:37 +01:00
Amir Bandeali
9abd6f5695
Allow custom domains in eip712Utils
2019-02-05 09:23:09 -08:00
Amir Bandeali
1ada679663
Update ZeroExTransactionSchema
2019-02-05 09:23:09 -08:00
Leonid Logvinov
6943bbcacb
Temp
2019-02-04 10:38:02 +01:00
Greg Hysen
c850046ea0
Dutch Auction Contract Wrapper
2019-01-07 15:50:48 -08:00
Amir Bandeali
70508f52a1
Update CHANGELOGs
2019-01-07 10:31:11 -08:00
Amir Bandeali
1dda10b4f3
Add recursive MultiAsset decoding, store first address in pipeline
2019-01-07 10:31:11 -08:00
Amir Bandeali
df4f3d9eac
feat: Add fields to OrderRelevantState and change AssetData to SingleAssetData
2019-01-07 10:31:11 -08:00
Amir Bandeali
4d5fcf8985
feat: Add MultiAsset types
2019-01-07 10:31:11 -08:00
Greg Hysen
6a0f5f39ee
Prettier / Linter fixes for TS
2018-12-18 13:36:05 -08:00
Greg Hysen
dbf1de2e69
Revert reasons for balance threshold filter
2018-12-18 13:36:05 -08:00
Greg Hysen
16bd0ce7ec
generalized KYC extension passing all tests
2018-12-18 13:36:05 -08:00
Greg Hysen
33e41dd500
More tests + require instead of revert in compliance contract
2018-12-18 13:36:05 -08:00
Jacob Evans
0bffc3d10e
chore: Add RevertReasons for DutchAuction. Test revert reasons
2018-12-04 09:14:00 +11:00