Lawrence Forman
51391b7f0e
@0x/contracts-exchange-libs
: Correct internal variable naming in src/index.ts
.
...
`@0x/contracts-utils`: Correct internal variable naming in `src/index.ts`.
`@0x/contracts-exchange`: Remove functions from `TestExchangeInternals.sol` that are now in other packages.
`@0x/contracts-exchange`: Remove `TestExchangeMath.sol`. Exchange math functions are now tested in `@0x/contracts-exchange-libs`.
`@0x/contracts-exchange`: Move `ReferenceFunctions` to default package export.
`@0x/contracts-exchange`: Update `match_order.ts` tests to use reference math functions instead of `TestExchangeMath`.
`@0x/contracts-exchange`: Remove `_updateFilledState()` combinatorial tests in favor of normal unit testing. Combinatorial testing was overkill.
`@0x/contracts-exchange`: Update/refactor `calculateFillResults()` combinatorial tests to use the reference functions and hide them behind `TEST_ALL`.
2019-08-06 15:30:59 -04:00
Lawrence Forman
884b1add8e
@0x/contracts-exchange-libs
: Move in revamped LibFillResults
tests from @0x/contracts-exchange
.
2019-08-06 15:30:59 -04:00
Lawrence Forman
f791cd3a37
@0x/contracts-exchange-libs
: Remove unecessary checks for zero
...
denominator.
`@0x/contracts-exchange-libs`: `LibMath` tests from `@0x/contracts-exchange` into this package.
`@0x/contracts-exchange-libs`: Adjust logic in reference functions to be
closer to solidity implementation.
2019-08-06 15:30:30 -04:00
Lawrence Forman
c30d59d5d3
@0x/types
: Add FillResults
, MatchedFillResults
, and
...
`BatchMatchedFillResults` types.
`@0x/contracts-utils`: Add reference functions for `SafeMath`.
`@0x/contracts-exchange-libs`: Add reference functions for `LibMath` and
`LibFillResults`.
`@0x/contracts-test-utils`: Move `*FillResults` types to `@0x/types`.
`@0x/contracts-test-utils`: Add `log_utils.ts`.
`@0x/contracts-test-utils`: Add `hexRandom()` to `hex_utils.ts`.
`@0x/contracts-test-utils`: Add the contstants: `MAX_UINT256`,
`ADDRESS_LENGTH`.
2019-08-06 15:30:30 -04:00
David Sun
d36eb04ae8
Publish
...
- @0x/contracts-asset-proxy@2.2.4
- @0x/contracts-coordinator@2.0.9
- @0x/contracts-dev-utils@0.0.6
- @0x/contracts-erc1155@1.1.11
- @0x/contracts-erc20@2.2.10
- @0x/contracts-erc721@2.1.11
- @0x/contracts-exchange-forwarder@3.0.8
- @0x/contracts-exchange-libs@3.0.4
- @0x/contracts-exchange@2.1.10
- @0x/contracts-extensions@4.0.4
- @0x/contracts-multisig@3.1.10
- @0x/contracts-test-utils@3.1.12
- @0x/contracts-utils@3.2.0
- 0x.js@6.0.14
- @0x/abi-gen-templates@2.4.0
- @0x/abi-gen-wrappers@5.1.0
- @0x/abi-gen@3.1.2
- @0x/assert@2.1.2
- @0x/asset-buyer@6.1.10
- @0x/asset-swapper@1.0.0
- @0x/base-contract@5.3.0
- @0x/connect@5.0.15
- @0x/contract-artifacts@2.0.3
- @0x/contract-wrappers@10.1.0
- @0x/contracts-gen@1.0.12
- @0x/dev-utils@2.2.6
- @0x/fill-scenarios@3.0.15
- @0x/json-schemas@3.1.12
- @0x/migrations@4.1.11
- @0x/order-utils@8.2.4
- @0x/order-watcher@4.0.16
- @0x/sol-compiler@3.1.11
- @0x/sol-coverage@3.0.8
- @0x/sol-doc@2.0.15
- @0x/sol-profiler@3.1.10
- @0x/sol-trace@2.0.16
- @0x/sol-tracing-utils@6.0.15
- @0x/sra-spec@2.0.13
- @0x/subproviders@5.0.0
- @0x/utils@4.4.2
- @0x/web3-wrapper@6.0.9
2019-07-31 13:36:00 -07:00
David Sun
b97ba35279
Updated CHANGELOGS
2019-07-31 13:35:49 -07:00
Greg Hysen
2968dfb2ae
Minor readability improvements
2019-07-29 12:14:37 +02:00
Greg Hysen
88a7d9cca8
Updated changelogs for deployFrom0xArtifactAsync interface change
2019-07-29 12:11:02 +02:00
Greg Hysen
d8cf9d54aa
Updated all instances of deployFrom0xArtifactAsync
2019-07-29 12:07:28 +02:00
fabioberger
3a3658708a
Get all Mocha's on same version and add typings to all packages
2019-07-26 18:05:57 +02:00
fabioberger
c66d8f202a
Update Mocha
2019-07-26 17:38:44 +02:00
Fabio Berger
6f3cee1a1e
Publish
...
- @0x/contracts-asset-proxy@2.2.3
- @0x/contracts-coordinator@2.0.8
- @0x/contracts-dev-utils@0.0.5
- @0x/contracts-erc1155@1.1.10
- @0x/contracts-erc20@2.2.9
- @0x/contracts-erc721@2.1.10
- @0x/contracts-exchange-forwarder@3.0.7
- @0x/contracts-exchange-libs@3.0.3
- @0x/contracts-exchange@2.1.9
- @0x/contracts-extensions@4.0.3
- @0x/contracts-multisig@3.1.9
- @0x/contracts-test-utils@3.1.11
- @0x/contracts-utils@3.1.10
- 0x.js@6.0.13
- @0x/abi-gen-templates@2.3.0
- @0x/abi-gen-wrappers@5.0.3
- @0x/abi-gen@3.1.1
- @0x/assert@2.1.1
- @0x/asset-buyer@6.1.9
- @0x/asset-swapper@0.0.5
- @0x/base-contract@5.1.2
- @0x/connect@5.0.14
- @0x/contract-artifacts@2.0.2
- @0x/contract-wrappers@9.1.8
- @0x/contracts-gen@1.0.11
- @0x/dev-utils@2.2.5
- ethereum-types@2.1.4
- @0x/fill-scenarios@3.0.14
- @0x/json-schemas@3.1.11
- @0x/migrations@4.1.10
- @0x/order-utils@8.2.3
- @0x/order-watcher@4.0.15
- @0x/react-docs@2.0.15
- @0x/react-shared@2.0.15
- @0x/sol-compiler@3.1.10
- @0x/sol-coverage@3.0.7
- @0x/sol-doc@2.0.14
- @0x/sol-profiler@3.1.9
- @0x/sol-resolver@2.0.9
- @0x/sol-trace@2.0.15
- @0x/sol-tracing-utils@6.0.14
- @0x/sra-spec@2.0.12
- @0x/subproviders@4.1.2
- @0x/types@2.4.1
- @0x/typescript-typings@4.2.4
- @0x/utils@4.4.1
- @0x/web3-wrapper@6.0.8
2019-07-24 01:50:18 -07:00
Fabio Berger
c43d4bbf71
Updated CHANGELOGS
2019-07-24 01:50:00 -07:00
James Towle
ffa32f7610
Changed the returndata for batchMatchOrders
2019-07-23 15:53:26 -07:00
James Towle
e0cff4b74e
Updated batchMatchOrders to fix an edge case and added tests
2019-07-23 15:53:26 -07:00
James Towle
1a385de367
Improved the efficiency of batchMatchOrders
2019-07-23 15:53:25 -07:00
James Towle
f289b3112b
Implemented batchMatchOrders
2019-07-23 15:53:25 -07:00
James Towle
6384518ee1
@0x:contracts-exchange
Updated LibMath to use library rich errors
2019-07-23 15:53:25 -07:00
James Towle
a1a6c3e40c
Updated the DivisionByZeroError to not use assembly
2019-07-23 15:52:20 -07:00
James Towle
a2b19a1b9d
Updated DivisionByZero error
2019-07-23 15:52:20 -07:00
James Towle
4d1a942e79
Removed unnecessary files and code
2019-07-23 15:52:20 -07:00
James Towle
eb4afa8f2c
Update contracts/exchange-libs/contracts/src/interfaces/IMixinLibMathRichErrors.sol
...
Co-Authored-By: Lawrence Forman <lawrence@0xproject.com>
2019-07-23 15:52:20 -07:00
James Towle
468bbea44d
Update contracts/exchange-libs/contracts/src/interfaces/IMixinLibMathRichErrors.sol
...
Co-Authored-By: Lawrence Forman <lawrence@0xproject.com>
2019-07-23 15:52:20 -07:00
James Towle
e229d2d59f
Updated tests to work with LibMathRichErrors
2019-07-23 15:52:20 -07:00
James Towle
3d58dc2a50
Added RichReverts to exchange-libs
2019-07-23 15:51:43 -07:00
James Towle
4e6dd1b213
Updated the style
2019-07-23 15:51:43 -07:00
James Towle
5813bb9ca8
Updated any remaining contracts using 0.5.5 to 0.5.9
2019-07-23 15:46:16 -07:00
Amir Bandeali
e6443a2612
Update CHANGELOGs
2019-07-23 15:46:16 -07:00
Amir Bandeali
7cff9ba86a
Refactor tests
2019-07-23 15:46:15 -07:00
Amir Bandeali
6ddaa6f52a
Add expirationTimeSeconds to ZeroExTransaction schema throughout codebase
2019-07-23 15:46:15 -07:00
Lawrence Forman
b636057251
@0x/contracts-exchange-libs
: Make EIP712_ORDER_SCHEMA_HASH
public.
2019-07-23 15:44:58 -07:00
Lawrence Forman
c692c8f055
@0x/contracts-exchange-libs
: Regenerate LibExchangeSelectors.sol
2019-07-23 15:44:58 -07:00
Lawrence Forman
575842eab4
@0x/contracts-exchange-libs
: Convert generate-exchange-selectors
script to typescript.
2019-07-23 15:43:23 -07:00
Lawrence Forman
14167412e0
@0x/contracts-exchange-libs
: Make generate-exchange-selectors
terminate file with a newline.
2019-07-23 15:26:59 -07:00
Lawrence Forman
7c0f075d1f
Update changelogs with PR #s
2019-07-23 15:26:59 -07:00
Lawrence Forman
f4aea76c6e
Ran prettier
2019-07-23 15:26:59 -07:00
Lawrence Forman
2109ed8464
@0x/contracts-exchange-libs
: Add generate-exchange-selectors
package script to regenerate LibExchangeSelectors
from Exchange artifacts.
2019-07-23 15:26:59 -07:00
Lawrence Forman
a5c0b95f8b
Update changelogs
2019-07-23 15:26:59 -07:00
Lawrence Forman
e3bca7e7e7
@0x/exchange-libs
: Remove LibAbiEncoder
2019-07-23 15:23:40 -07:00
Lawrence Forman
7cb6795d40
@0x/contracts-exchange-libs
: Add takerFeeAssetData
and makerFeeAssetData
to Order
struct.
2019-07-23 15:23:40 -07:00
Lawrence Forman
94d0db2dba
In @0x/order-utils
: Fix order hash tests.
...
In `@0x/contracts-exchange-libs`: Add fee asset datas to `LibOrder` type.
2019-07-23 15:23:40 -07:00
Amir Bandeali
64c596c922
temp
2019-07-23 15:23:40 -07:00
Amir Bandeali
ed0fcf2829
Remove LibAbiEncoder
2019-07-23 15:23:40 -07:00
Amir Bandeali
8af253e9ab
Remove accidental recursive function call in TestLibs contract
2019-07-23 15:21:14 -07:00
Amir Bandeali
6763bce627
Add _ to remaining internal/private functions
2019-07-23 15:21:14 -07:00
Amir Bandeali
6ce3e18831
Remove deprecated error libs
2019-07-23 15:21:14 -07:00
Amir Bandeali
3e461ac2e5
Rename internal and private functions
2019-07-23 15:21:14 -07:00
Lawrence Forman
9af51aaca1
Add PRs to changelogs.
2019-07-23 15:21:14 -07:00
Lawrence Forman
3bacf09710
Update changelogs
2019-07-23 15:21:14 -07:00
Amir Bandeali
f094e9118c
Fix inconsistent pragma for ABIEncoderV2
2019-07-23 15:10:31 -07:00