index
:
dexon-0x-contracts
dev
master
stable
DEXON fork of 0x protocol contracts forked from 0x-monorepo (https://github.com/dexon-foundation/0x-contracts)
about
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
packages
/
order-utils
/
src
Commit message (
Expand
)
Author
Age
Files
Lines
*
Use new check for isBigNumber
Leonid Logvinov
2019-01-15
1
-1
/
+2
*
Upgrade bignumber.js version
Leonid Logvinov
2019-01-15
8
-24
/
+24
*
Use enums in pipeline
Amir Bandeali
2019-01-08
1
-1
/
+1
*
Minimize unnecessary type assertions
Amir Bandeali
2019-01-08
4
-97
/
+109
*
Fix linting errors
Amir Bandeali
2019-01-08
2
-0
/
+2
*
Add tests for recursive MAP decoding
Amir Bandeali
2019-01-08
2
-7
/
+24
*
Add recursive MultiAsset decoding, store first address in pipeline
Amir Bandeali
2019-01-08
3
-2
/
+30
*
Add individual balances and allowances to OrderRelevantState
Amir Bandeali
2019-01-08
3
-3
/
+74
*
Fix transferFrom to work with MAP
Amir Bandeali
2019-01-08
1
-18
/
+46
*
Rename functions
Amir Bandeali
2019-01-08
1
-14
/
+14
*
feat: Export MultiAssetData in types
Amir Bandeali
2019-01-08
1
-0
/
+1
*
Fix decoding and add tests
Amir Bandeali
2019-01-08
1
-6
/
+11
*
Add length check to MultiAsset encoding
Amir Bandeali
2019-01-08
2
-1
/
+8
*
Use new AbiEncoder, add logic for encoding/decoding MultiAsset assetData
Amir Bandeali
2019-01-08
3
-70
/
+213
*
Actually pass the signature, not the signature index to a wallet contract's `...
Fabio Berger
2018-12-11
1
-1
/
+1
*
Use RevertReason when possible
Fabio Berger
2018-11-12
1
-1
/
+1
*
Move signature validation into OrderValidationUtils.validateOrderFillableOrTh...
Fabio Berger
2018-11-10
1
-1
/
+13
*
Revert comment change
Fabio Berger
2018-11-10
1
-1
/
+1
*
Keep more helpful error messages, and stop swallowing errors when returning c...
Fabio Berger
2018-11-10
1
-59
/
+72
*
Remove unused validateFillOrKill method
Fabio Berger
2018-11-09
1
-30
/
+1
*
Fix validateOrderFillableOrThrowAsync method so it also checks order signatur...
Fabio Berger
2018-11-09
5
-23
/
+29
*
chore: change package org from 0xproject to 0x
Jacob Evans
2018-10-18
25
-53
/
+53
*
fix(order-utils): remove constants export
Jacob Evans
2018-10-18
1
-1
/
+0
*
feat: export AssetData from order-utils
fragosti
2018-10-17
1
-0
/
+1
*
Merge branch 'development' of https://github.com/0xProject/0x-monorepo into f...
fragosti
2018-10-17
3
-24
/
+2
|
\
|
*
update order-utils to use new artifacts and abi-gen wrappers packages
Alex Browne
2018-10-16
3
-24
/
+2
*
|
feat: use new AssetData type from types package
fragosti
2018-10-13
1
-2
/
+2
|
/
*
Move Metamask Error to OrderErrors
Jacob Evans
2018-10-09
2
-7
/
+5
*
Update the exported types for the packages which touch RPC providers
Jacob Evans
2018-10-09
1
-1
/
+8
*
Throw and handle errors from Providers.
Jacob Evans
2018-10-09
3
-8
/
+28
*
Detect MM on signature validation failure.
Jacob Evans
2018-10-08
1
-24
/
+28
*
Return SignedOrder from signing utils.
Jacob Evans
2018-10-05
5
-84
/
+154
*
Add eth_signTypedData support to our wallet subproviders
Jacob Evans
2018-10-05
2
-1
/
+3
*
Move SignTypedData to utils package
Jacob Evans
2018-10-05
6
-152
/
+45
*
Introduce Metamask Subprovider.
Jacob Evans
2018-10-05
3
-82
/
+48
*
Expose eth_signTypedData functionality for order signing
Jacob Evans
2018-10-05
3
-5
/
+53
*
Add additional order factory methods and refactor test to use them
Brandon Millman
2018-10-04
1
-1
/
+38
*
Add address normalization to isValidECSignature method
Fabio Berger
2018-09-27
1
-1
/
+3
*
Add transactionHash to OrderState and emit it from OrderWatcher subscription
Fabio Berger
2018-09-25
1
-1
/
+3
*
Calculate min and max rates in buy quote
fragosti
2018-09-19
2
-14
/
+27
*
Use order parser utils from order utils
fragosti
2018-09-05
2
-3
/
+3
*
Add order parsers to order-util
fragosti
2018-09-05
2
-1
/
+29
*
Merge pull request #1003 from 0xProject/feature/contracts/roundup
Amir Bandeali
2018-08-25
3
-8
/
+8
|
\
|
*
Append -Floor to getPartialAmount and isRoundingError
Remco Bloemen
2018-08-25
3
-8
/
+8
*
|
Remove remaining Trezor references
Amir Bandeali
2018-08-25
1
-12
/
+1
*
|
Fixed linter in signatureUtils
Greg Hysen
2018-08-25
1
-1
/
+1
*
|
Fixed trezor personal message in client+contracts; added a test using message...
Greg Hysen
2018-08-25
1
-1
/
+1
*
|
Remove Trezor SignatureType
Amir Bandeali
2018-08-25
1
-11
/
+1
*
|
Remove SigntureType.Caller from signingUtils
Amir Bandeali
2018-08-25
1
-5
/
+0
|
/
*
Merge branch 'development' into feature/forwarder-helper/init
Brandon Millman
2018-08-24
17
-392
/
+635
|
\
|
*
Fix many linter errors that showed up upon upgrading tsutil
Fabio Berger
2018-08-23
3
-3
/
+3
|
*
Move types from sol-compiler to types so they can be used in other places wit...
Fabio Berger
2018-08-22
1
-1
/
+1
|
*
Fix up order-utils
Fabio Berger
2018-08-21
3
-5
/
+30
|
*
Merge development
Fabio Berger
2018-08-17
6
-104
/
+252
|
|
\
|
*
|
Fix additional merge conflicts
Fabio Berger
2018-08-15
1
-1
/
+1
|
*
|
Merge development
Fabio Berger
2018-08-15
6
-106
/
+293
|
|
\
\
|
*
|
|
Rename EIP712Utils to eip712Utils since objectLiterals shouldn't start with caps
Fabio Berger
2018-08-04
3
-15
/
+15
|
*
|
|
Re-order index.ts and add missing types
Fabio Berger
2018-08-04
1
-12
/
+23
|
*
|
|
Add missing comments
Fabio Berger
2018-08-04
8
-32
/
+228
|
*
|
|
Stop exporting constants from order-utils
Fabio Berger
2018-08-04
1
-1
/
+0
|
*
|
|
Stop exporting crypto
Fabio Berger
2018-08-03
1
-1
/
+0
|
*
|
|
Make signature_util into an object literal so related functions are rendered ...
Fabio Berger
2018-08-03
4
-285
/
+299
|
*
|
|
Add missing exports discovered by generating compact typedoc JSON
Fabio Berger
2018-07-30
1
-1
/
+12
|
*
|
|
Remove all in-package monorepo-scripts by adding doc gen/upload and aggregate...
Fabio Berger
2018-07-30
2
-16
/
+0
*
|
|
|
Fix rounding bug in marketUtils
Brandon Millman
2018-08-23
1
-1
/
+1
*
|
|
|
Add ForwarderHelperImplConfig
Brandon Millman
2018-08-23
1
-1
/
+1
*
|
|
|
Remove marketSell and add to marketBuy implementation
Brandon Millman
2018-08-23
1
-2
/
+2
|
|
_
|
/
|
/
|
|
*
|
|
Rename OrderAlreadyCancelledOrFilled -> OrderCancelled.
Jacob Evans
2018-08-16
1
-28
/
+33
*
|
|
[Order-utils] Order is valid when maker amount is very small
Jacob Evans
2018-08-15
1
-19
/
+17
*
|
|
Merge branch 'development' into refactor/order-utils/market-utils-api
Brandon Millman
2018-08-15
3
-0
/
+104
|
\
\
\
|
*
\
\
Merge pull request #953 from 0xProject/feature/order-utils/order-sorting-utils
Brandon Millman
2018-08-15
3
-0
/
+104
|
|
\
\
\
|
|
|
_
|
/
|
|
/
|
|
|
|
*
|
Update sortingUtils to support Order and SignedOrder
Brandon Millman
2018-08-14
1
-44
/
+26
|
|
*
|
Change rateUtils to use Order
Brandon Millman
2018-08-14
1
-20
/
+20
|
|
*
|
Fix lint errors
Brandon Millman
2018-08-10
2
-2
/
+1
|
|
*
|
Make feeRate optional with a default of 0
Brandon Millman
2018-08-10
2
-3
/
+12
|
|
*
|
Add tests for sortingUtils
Brandon Millman
2018-08-10
1
-1
/
+0
|
|
*
|
Implement sorting utils
Brandon Millman
2018-08-10
2
-0
/
+70
|
|
*
|
Implement rate utils
Brandon Millman
2018-08-10
2
-0
/
+45
*
|
|
|
Make marketUtils interface compatible with Order and SignedOrder
Brandon Millman
2018-08-14
2
-42
/
+42
*
|
|
|
Update marketUtils api
Brandon Millman
2018-08-14
2
-40
/
+81
|
/
/
/
*
|
|
Update version numbers.
Jacob Evans
2018-08-14
1
-6
/
+8
*
|
|
Rename from SignerProviderType.EthSign to SignerType.Default
Jacob Evans
2018-08-11
2
-55
/
+48
*
|
|
Update Changelogs. Rebased from development
Jacob Evans
2018-08-09
1
-3
/
+4
*
|
|
Update jsdoc
Jacob Evans
2018-08-09
1
-5
/
+4
*
|
|
Introduce SignerProviderType
Jacob Evans
2018-08-09
4
-65
/
+62
|
/
/
*
|
Remove assertion comments
Brandon Millman
2018-08-07
1
-4
/
+0
*
|
Add tests for findFeeOrdersThatCoverFeesForTargetOrders
Brandon Millman
2018-08-06
2
-6
/
+10
*
|
Change orderStates param name to remaingFillableMakerAssetAmounts
Brandon Millman
2018-08-06
1
-30
/
+55
*
|
Implement first round of tests for findOrdersThatCoverMakerAssetFillAmount
Brandon Millman
2018-08-06
3
-12
/
+13
*
|
Move helper functions into order-utils
Brandon Millman
2018-08-06
2
-1
/
+110
*
|
Move CreateOrderOpts into shared types
Brandon Millman
2018-08-06
3
-12
/
+22
*
|
Update createFactory to accept one createOrderOpts param to encompass all opt...
Brandon Millman
2018-08-06
1
-28
/
+42
*
|
Update orderFactory interface
Brandon Millman
2018-08-04
2
-21
/
+22
*
|
Add createOrder with no signing to orderFactory
Brandon Millman
2018-08-02
2
-6
/
+37
|
/
*
Merge pull request #877 from 0xProject/feature/contracts/removeERC721Callback
Amir Bandeali
2018-07-23
1
-8
/
+3
|
\
|
*
Ran prettier
Greg Hysen
2018-07-18
1
-4
/
+1
|
*
Removed receiverData from ERC721 Proxy Id generation
Greg Hysen
2018-07-18
1
-6
/
+4
*
|
Rename call data schema id to CallData.
Jacob Evans
2018-07-19
1
-1
/
+1
*
|
Fix a bad merge
Leonid Logvinov
2018-07-18
2
-3
/
+3
*
|
Merge branch 'v2-prototype' into feature/order-watcher-v2
Leonid Logvinov
2018-07-18
3
-60
/
+53
|
\
|
|
*
Merge pull request #884 from 0xProject/export-more-0x.js
Fabio Berger
2018-07-18
3
-60
/
+53
|
|
\
|
|
*
Fix linter
Fabio Berger
2018-07-18
1
-1
/
+0
|
|
*
Rename decodeAssetDataId to decodeAssetProxyId for consistency
Fabio Berger
2018-07-18
1
-2
/
+2
|
|
*
Add java doc comments to assetDataUtils
Fabio Berger
2018-07-18
1
-1
/
+34
|
|
*
Move encodeUint256 & decodeUint256 out of assetDataUtils since we don't want ...
Fabio Berger
2018-07-18
2
-25
/
+12
|
|
*
Move type decl. to typescript-typings
Fabio Berger
2018-07-17
1
-8
/
+1
|
|
*
Rename assetProxyUtils to assetDataUtils
Fabio Berger
2018-07-17
2
-35
/
+16
*
|
|
Merge
Leonid Logvinov
2018-07-18
2
-2
/
+2
*
|
|
Merge branch 'v2-prototype' into feature/order-watcher-v2
Leonid Logvinov
2018-07-18
5
-12
/
+12
|
\
|
|
|
*
|
Fix tslint issues
Leonid Logvinov
2018-07-17
5
-12
/
+12
|
|
/
*
|
Export newly created store from order-utils
Leonid Logvinov
2018-07-13
2
-0
/
+17
*
|
Add OrderFilledCancelledLazyStore
Leonid Logvinov
2018-07-13
1
-0
/
+65
*
|
Add AbstractOrderFilledCancelledLazyStore
Leonid Logvinov
2018-07-13
1
-0
/
+12
|
/
*
Merge pull request #863 from 0xProject/refactor/0x.js
Fabio Berger
2018-07-12
1
-0
/
+20
|
\
|
*
Add assertions to SignatureUtils exported methods
Fabio Berger
2018-07-12
1
-0
/
+20
*
|
Fix lint for order-utils
Brandon Millman
2018-07-12
1
-1
/
+1
*
|
Add explicit HACK comment when we import assert
Brandon Millman
2018-07-12
1
-2
/
+2
|
/
*
Fix VRS signature generation in order-utils
Leonid Logvinov
2018-07-05
1
-2
/
+3
*
Fix validation logic by checking for 0 maker/taker amount before 0 fillTakerA...
Fabio Berger
2018-07-02
1
-3
/
+3
*
Fix enum name
Fabio Berger
2018-06-27
1
-9
/
+9
*
Merge branch 'v2-prototype' into feature/combinatorial-testing
Fabio Berger
2018-06-26
2
-93
/
+67
|
\
|
*
Run prettier and fix linting errors
Amir Bandeali
2018-06-26
2
-37
/
+48
|
*
Fix AssetProxyUtils
Remco Bloemen
2018-06-26
1
-1
/
+1
|
*
Update AssetProxyUtils
Remco Bloemen
2018-06-26
1
-90
/
+41
|
*
WIP
Remco Bloemen
2018-06-26
1
-16
/
+28
*
|
Fix inconsistency between contract and reference implementation of order vali...
Fabio Berger
2018-06-26
1
-0
/
+3
*
|
Fix tslint issues
Fabio Berger
2018-06-26
2
-2
/
+0
*
|
Fix lint errors
Fabio Berger
2018-06-26
3
-5
/
+2
*
|
Fix revertReason
Fabio Berger
2018-06-25
1
-1
/
+1
*
|
Remove no longer used method
Fabio Berger
2018-06-25
1
-16
/
+0
*
|
Check revert reasons in declarative and combinatorial tests
Fabio Berger
2018-06-25
1
-54
/
+59
*
|
Merge branch 'v2-prototype' into feature/combinatorial-testing
Fabio Berger
2018-06-25
1
-1
/
+1
|
\
|
|
*
Fixed how trezor messages are signed in `signature_utils`. Now uses `byteLeng...
Greg Hysen
2018-06-21
1
-1
/
+1
*
|
Fix orderValidationUtils where was confusing a makerAssetAmount as a takerAss...
Fabio Berger
2018-06-21
3
-11
/
+18
*
|
Merge branch 'v2-prototype' into feature/combinatorial-testing
Fabio Berger
2018-06-20
4
-62
/
+139
|
\
|
|
*
Optimize and remove redundant encodePacked
Jacob Evans
2018-06-19
2
-5
/
+0
|
*
Merge branch 'v2-prototype' into bug/contracts/eip712-191-prefix
Jacob Evans
2018-06-18
24
-2026
/
+672
|
|
\
|
*
|
Rebase and update feedback
Jacob Evans
2018-06-18
4
-33
/
+29
|
*
|
Basic EIP712 encoder
Jacob Evans
2018-06-08
2
-30
/
+50
|
*
|
Update Order utils to use eip712
Jacob Evans
2018-06-06
4
-46
/
+112
*
|
|
- Refactor assetWrapper to contain more of the normalizing logic instead of e...
Fabio Berger
2018-06-15
1
-2
/
+1
*
|
|
Fix divide by zero bug
Fabio Berger
2018-06-14
1
-3
/
+3
*
|
|
Implement initial set of orderFill combinatorial tests
Fabio Berger
2018-06-13
2
-63
/
+209
*
|
|
Remaining refactors of order-utils components for V2
Fabio Berger
2018-06-13
4
-34
/
+35
*
|
|
Remove comment since we have added the tests
Fabio Berger
2018-06-13
1
-5
/
+0
|
|
/
|
/
|
*
|
Validate all signature types rather then only ECSignatures
Fabio Berger
2018-06-12
1
-4
/
+12
*
|
Fix tslint issues
Fabio Berger
2018-06-12
3
-3
/
+1
*
|
Move OrderValidationUtils (+ tests) and ExchangeTransferSimulator to order-utils
Fabio Berger
2018-06-12
11
-16
/
+478
*
|
export parseECSignature method
Fabio Berger
2018-06-12
1
-0
/
+1
*
|
Fixed assetProxyUtils for linter
Greg Hysen
2018-06-09
1
-2
/
+2
*
|
Cleanup after last rebase
Greg Hysen
2018-06-08
1
-2
/
+2
*
|
Camelcase in memCopy
Greg Hysen
2018-06-08
1
-2
/
+2
*
|
Moved some constants to global scope in assetProxyUtils
Greg Hysen
2018-06-08
1
-18
/
+26
*
|
Style updates to contracts
Greg Hysen
2018-06-08
1
-2
/
+3
*
|
Union types for generalized decodeAssetData
Greg Hysen
2018-06-08
1
-13
/
+4
*
|
Style updates to ERC721 onReceiver
Greg Hysen
2018-06-08
1
-4
/
+6
*
|
Fixes after rebasing
Greg Hysen
2018-06-08
2
-38
/
+44
*
|
Fixed up after rebasing. Contracts build and tests pass
Greg Hysen
2018-06-08
1
-3
/
+4
*
|
Converged on naming scheme for asset data: renamed all instances of assetMeta...
Greg Hysen
2018-06-08
1
-33
/
+33
*
|
Tons of tests around nested byte arrays and ERC721 receiver
Greg Hysen
2018-06-08
1
-4
/
+26
*
|
Pass in fee and assetAmount rather then the whole signedOrder
Fabio Berger
2018-06-08
2
-15
/
+6
*
|
Revert to returning orderState on invalid order
Fabio Berger
2018-06-08
1
-1
/
+6
*
|
- Refactor remainingFillableCalculator so it can be used for the maker and ta...
Fabio Berger
2018-06-08
1
-58
/
+57
*
|
Update naming in orderStateUtils to use asset over token, also removed cancel...
Fabio Berger
2018-06-08
2
-44
/
+37
*
|
Get build and tests to pass
fragosti
2018-06-07
1
-2
/
+3
*
|
merge v2-prototype
Fabio Berger
2018-06-06
8
-1846
/
+9
|
\
\
|
*
|
Remove unused compact artifacts from order-utils
Fabio Berger
2018-06-05
7
-1845
/
+0
|
*
|
Add missing exports to order-utils and add CHANGELOG entry
Fabio Berger
2018-06-05
1
-1
/
+9
|
|
/
*
/
Try enabling no-unused-variable...
fragosti
2018-06-05
4
-6
/
+0
|
/
*
Improve comments and remove unused imports
Fabio Berger
2018-06-02
2
-3
/
+3
*
Add comment to exported method
Fabio Berger
2018-06-02
1
-0
/
+7
*
Fix type imports
Fabio Berger
2018-06-02
3
-3
/
+6
*
Add signature specific validation methods, and other refactors
Fabio Berger
2018-06-02
3
-53
/
+90
*
Rename ISigner to IWallet and implement SignatureType.Validator
Fabio Berger
2018-06-01
2
-5
/
+43
*
Fix metadata offsets
Fabio Berger
2018-06-01
1
-5
/
+7
*
Merge branch 'v2-prototype' into refactor/order-utils/for-v2
Fabio Berger
2018-06-01
2
-30
/
+31
|
\
*
|
Expose isValidPresignedSignatureAsync method
Fabio Berger
2018-05-31
1
-3
/
+19
*
|
Decide to throw for Caller signature type for now
Fabio Berger
2018-05-31
1
-2
/
+3
*
|
Fix order-utils tests
Fabio Berger
2018-05-31
5
-48
/
+95
*
|
Initial refactor of order-utils. Move many utils from contracts into this pac...
Fabio Berger
2018-05-30
11
-160
/
+478
|
/
*
Fix small bug in order-utils
Alex Browne
2018-05-23
1
-1
/
+1
*
Fix TSLint rules
Fabio Berger
2018-05-16
2
-5
/
+15
*
Add missing type definitions
Leonid Logvinov
2018-05-14
1
-1
/
+1
*
Split 0x.js into contract-wrappers, order-watcher but keep 0x.js as a unifyin...
Fabio Berger
2018-05-10
13
-0
/
+2122
*
Make a negligible change to order-utils to publish a new version
Leonid Logvinov
2018-05-05
1
-1
/
+1
*
Stop exporting assertions from order-utils
Leonid Logvinov
2018-05-02
2
-9
/
+0
*
Move order utils to @0xproject/order-utils
Leonid Logvinov
2018-05-02
11
-0
/
+345