Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Minimize unnecessary type assertions | Amir Bandeali | 2019-01-08 | 1 | -1/+3 |
| | |||||
* | Fix linting errors | Amir Bandeali | 2019-01-08 | 1 | -0/+1 |
| | |||||
* | Add tests for recursive MAP decoding | Amir Bandeali | 2019-01-08 | 2 | -3/+44 |
| | |||||
* | Fix transferFrom to work with MAP | Amir Bandeali | 2019-01-08 | 1 | -2/+2 |
| | |||||
* | Fix decoding and add tests | Amir Bandeali | 2019-01-08 | 1 | -28/+44 |
| | |||||
* | Implement prefer-template tslint rule | kao | 2018-12-08 | 1 | -1/+1 |
| | |||||
* | Fix validateOrderFillableOrThrowAsync method so it also checks order ↵ | Fabio Berger | 2018-11-09 | 1 | -1/+2 |
| | | | | signature, cancelled, cancelledUpTo, and throws helpful error messages | ||||
* | feat(order_utils.py): ERC721 asset data codec (#1186) | F. Eugene Aumson | 2018-10-27 | 1 | -3/+22 |
| | |||||
* | feat(order_utils.py): ERC20 asset data encoding and decoding | F. Eugene Aumson | 2018-10-24 | 1 | -0/+31 |
| | | | | | | | | | | In addition to the ERC20 codec, also: Stopped ignoring type errors on 3rd party imports, by including interface stubs for them; Removed the unimplemented signature-utils module, which was just a stand-in when the python project support was first put in place. https://github.com/0xProject/0x-monorepo/pull/1144 | ||||
* | chore: change package org from 0xproject to 0x | Jacob Evans | 2018-10-18 | 13 | -23/+23 |
| | |||||
* | update order-utils to use new artifacts and abi-gen wrappers packages | Alex Browne | 2018-10-16 | 2 | -6/+3 |
| | |||||
* | Throw and handle errors from Providers. | Jacob Evans | 2018-10-09 | 2 | -63/+88 |
| | | | | | | | In web3 wrapper when a response contains an error field we throw this rather than return response.result which is often undefined. In Signature Utils we handle the error thrown when a user rejects the signing dialogue to prevent double signing. Exposed the ZeroExTransaction JSON schema. In Website only use the MetamaskSubprovider if we can detect the provider is Metamask | ||||
* | Return SignedOrder from signing utils. | Jacob Evans | 2018-10-05 | 3 | -3/+106 |
| | | | | | Create a helper back in EIP712Utils for code cleanup. Moved constants in order-utils into the constants object | ||||
* | Introduce Metamask Subprovider. | Jacob Evans | 2018-10-05 | 1 | -89/+15 |
| | | | | MM has a number of inconsistencies with other providers when implementing the JSON RPC interface. This subprovider wraps those nuances so they do not leak into the rest of our code | ||||
* | Expose eth_signTypedData functionality for order signing | Jacob Evans | 2018-10-05 | 1 | -10/+45 |
| | |||||
* | Add transactionHash to OrderState and emit it from OrderWatcher subscription | Fabio Berger | 2018-09-25 | 1 | -0/+20 |
| | |||||
* | Merge pull request #1003 from 0xProject/feature/contracts/roundup | Amir Bandeali | 2018-08-25 | 1 | -6/+6 |
|\ | | | | | [contracts] Add getPartialAmountCeil and isRoundingErrorCeil | ||||
| * | Append -Floor to getPartialAmount and isRoundingError | Remco Bloemen | 2018-08-25 | 1 | -6/+6 |
| | | |||||
* | | Remove remaining Trezor references | Amir Bandeali | 2018-08-25 | 1 | -9/+0 |
| | | |||||
* | | Remove Trezor SignatureType | Amir Bandeali | 2018-08-25 | 1 | -14/+0 |
|/ | |||||
* | Merge branch 'development' into feature/forwarder-helper/init | Brandon Millman | 2018-08-24 | 4 | -30/+97 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * development: (187 commits) Remove trailing slash Fix linter Stop nesting interfaces and add necessary type exports Remove duplicate type and remove nested interface Add support for rending the Tuple type Add missing keyu Remove excessive timestamp Improve doc commebnt Remove docs catch-all endpoint Fix comments Look for all TS mapped types Add catch and exit with non-zero Remove superfluous dep Fix CHANGELOG entry Fix double assignment Upgrade Typedoc to 0.12.0, which works with TS 3.x Fix prettier issues Enable dry run of release publishing and handle git tags existing update yarn.lock Missing/superfluous type exports from connect ... | ||||
| * | Merge development | Fabio Berger | 2018-08-17 | 4 | -32/+264 |
| |\ | |||||
| * | | Fix additional merge conflicts | Fabio Berger | 2018-08-15 | 3 | -13/+32 |
| | | | |||||
| * | | Merge development | Fabio Berger | 2018-08-15 | 3 | -39/+415 |
| |\ \ | |||||
| * | | | Stop exporting constants from order-utils | Fabio Berger | 2018-08-04 | 1 | -1/+3 |
| | | | | |||||
| * | | | Make signature_util into an object literal so related functions are rendered ↵ | Fabio Berger | 2018-08-03 | 1 | -16/+52 |
| | | | | | | | | | | | | | | | | together in the docs | ||||
* | | | | Add ForwarderHelperImplConfig | Brandon Millman | 2018-08-23 | 1 | -12/+12 |
| |_|/ |/| | | |||||
* | | | Rename OrderAlreadyCancelledOrFilled -> OrderCancelled. | Jacob Evans | 2018-08-16 | 1 | -1/+3 |
| | | | | | | | | | | | | Remove try catch of throwing errors in favour of returning the Errors in a OrderValidationResult | ||||
* | | | [Order-utils] Order is valid when maker amount is very small | Jacob Evans | 2018-08-15 | 1 | -0/+122 |
| | | | | | | | | | | | | | | | | | | | | | Previously our min fillable calculation would throw a rounding error when encountering a valid order (with a small maker amount). This was inconsistent with the on-chain logic which allowed this order to be filled. | ||||
* | | | Merge branch 'development' into refactor/order-utils/market-utils-api | Brandon Millman | 2018-08-15 | 2 | -0/+122 |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * development: feat: Upgrade TypeScript to 3.0.1 Add defaults for networkId and pagination Update sortingUtils to support Order and SignedOrder Change rateUtils to use Order Updated CHANGELOG Fix lint errors Update tests for optional feeRate Make feeRate optional with a default of 0 Add tests for sortingUtils Implement sorting utils Add tests for rateUtils Implement rate utils | ||||
| * \ \ | Merge pull request #953 from 0xProject/feature/order-utils/order-sorting-utils | Brandon Millman | 2018-08-15 | 2 | -0/+122 |
| |\ \ \ | | |_|/ | |/| | | [order-utils] Add rate and sorting utilities | ||||
| | * | | Fix lint errors | Brandon Millman | 2018-08-10 | 2 | -9/+5 |
| | | | | |||||
| | * | | Update tests for optional feeRate | Brandon Millman | 2018-08-10 | 2 | -3/+14 |
| | | | | |||||
| | * | | Make feeRate optional with a default of 0 | Brandon Millman | 2018-08-10 | 1 | -7/+1 |
| | | | | |||||
| | * | | Add tests for sortingUtils | Brandon Millman | 2018-08-10 | 1 | -0/+66 |
| | | | | |||||
| | * | | Add tests for rateUtils | Brandon Millman | 2018-08-10 | 1 | -0/+55 |
| | | | | |||||
* | | | | Remove remaining amounts that are now defaults in tests | Brandon Millman | 2018-08-14 | 1 | -36/+1 |
| | | | | |||||
* | | | | Update marketUtils api | Brandon Millman | 2018-08-14 | 1 | -23/+44 |
|/ / / | |||||
* | | | Rename from SignerProviderType.EthSign to SignerType.Default | Jacob Evans | 2018-08-11 | 1 | -37/+50 |
| | | | |||||
* | | | Update jsdoc | Jacob Evans | 2018-08-09 | 1 | -0/+1 |
| | | | |||||
* | | | Introduce SignerProviderType | Jacob Evans | 2018-08-09 | 1 | -39/+78 |
|/ / | | | | | | | This allows the developer to indicate the nuanced signer provider. Some have different implementations (trezor, ledger) and others have different implementations (metamask). Breaking the abstraction of eth_sign. EthSign assumes a spec compliant implementation and can be used as a default | ||||
* | | Add strictArgumentEncodingCheck to BaseContract and use it in contract templates | Alex Browne | 2018-08-09 | 1 | -1/+2 |
| | | |||||
* | | Add some test cases that stress slippageBufferAmount param | Brandon Millman | 2018-08-06 | 1 | -6/+15 |
| | | |||||
* | | Add tests for findFeeOrdersThatCoverFeesForTargetOrders | Brandon Millman | 2018-08-06 | 2 | -14/+155 |
| | | |||||
* | | Change orderStates param name to remaingFillableMakerAssetAmounts | Brandon Millman | 2018-08-06 | 2 | -61/+14 |
| | | |||||
* | | Implement first round of tests for findOrdersThatCoverMakerAssetFillAmount | Brandon Millman | 2018-08-06 | 2 | -0/+209 |
|/ | |||||
* | Merge pull request #884 from 0xProject/export-more-0x.js | Fabio Berger | 2018-07-18 | 1 | -2/+2 |
|\ | | | | | Export missing V2 pieces from 0x.js | ||||
| * | Rename assetProxyUtils to assetDataUtils | Fabio Berger | 2018-07-17 | 1 | -2/+2 |
| | | |||||
* | | Fix tslint issues | Leonid Logvinov | 2018-07-17 | 2 | -5/+4 |
|/ | |||||
* | Change import paths from z_r_x and e_r_c to zrx and erc | Leonid Logvinov | 2018-06-29 | 2 | -4/+4 |
| | |||||
* | Merge branch 'v2-prototype' into feature/combinatorial-testing | Fabio Berger | 2018-06-25 | 5 | -7/+2 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * v2-prototype: (97 commits) Fix typos in comments Add modifier and tests for removeAuthorizedAddressAtIndex Update and add tests Change removeAuthorizedAddress => removeAuthorizedAddressAtIndex Move isFunctionRemoveAuthorizedAddress to test Fix usage of `popLastByte` Fix LibBytes is a library Remove `areBytesEqual` Fix usage of `contentAddress()` Clean low bits in bytes4 Clean high bits in address Refactor LibBytes.readBytes4 for consistency Fix LibBytes.equals Add trailing garbage testcase for LibBytes.equals Rename bytes.equals Add slice and sliceDestructive Rename bytes.rawAddress and add bytes.contentAddress Rename read/writeBytesWithLength Using LibBytes for bytes Make LibBytes a library ... # Conflicts: # packages/contracts/src/utils/constants.ts # packages/contracts/test/exchange/core.ts | ||||
| * | Fix known order hash value test | Jacob Evans | 2018-06-22 | 1 | -8/+4 |
| | | |||||
| * | Skip failing tests temporarily | Fabio Berger | 2018-06-22 | 1 | -2/+6 |
| | | |||||
| * | Use make-promises-safe as a preloader instead of manually importing | Alex Browne | 2018-06-22 | 5 | -5/+0 |
| | | |||||
* | | Remaining refactors of order-utils components for V2 | Fabio Berger | 2018-06-13 | 1 | -12/+13 |
|/ | |||||
* | Fix no-unused-variable tslint rule to include parameters and fix issues | Fabio Berger | 2018-06-12 | 2 | -13/+4 |
| | |||||
* | Remove global hooks from tests and deploy contracts from within the specific ↵ | Fabio Berger | 2018-06-12 | 2 | -54/+32 |
| | | | | tests | ||||
* | Fix tslint issues | Fabio Berger | 2018-06-12 | 1 | -3/+2 |
| | |||||
* | Move OrderValidationUtils (+ tests) and ExchangeTransferSimulator to order-utils | Fabio Berger | 2018-06-12 | 4 | -0/+305 |
| | |||||
* | Fix tslint failure | Fabio Berger | 2018-06-08 | 1 | -1/+1 |
| | |||||
* | Pass in fee and assetAmount rather then the whole signedOrder | Fabio Berger | 2018-06-08 | 1 | -30/+20 |
| | |||||
* | - Refactor remainingFillableCalculator so it can be used for the maker and ↵ | Fabio Berger | 2018-06-08 | 1 | -0/+257 |
| | | | | | | | taker side - Moved the tests over from order-watcher - Did some token -> asset renaming | ||||
* | Try enabling no-unused-variable... | fragosti | 2018-06-05 | 4 | -6/+2 |
| | |||||
* | Fix type imports | Fabio Berger | 2018-06-02 | 2 | -2/+2 |
| | |||||
* | Add signature specific validation methods, and other refactors | Fabio Berger | 2018-06-02 | 1 | -2/+0 |
| | |||||
* | Fix TODOs | Fabio Berger | 2018-06-01 | 1 | -2/+1 |
| | |||||
* | Merge branch 'v2-prototype' into refactor/order-utils/for-v2 | Fabio Berger | 2018-06-01 | 1 | -3/+3 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * v2-prototype: (45 commits) Check length before accessing indices, add awaitTransactionSuccess where needed, and rename function Add back before/after snapshots for each test Rename Signer to Wallet, rename GAS_ESTIMATE to GAS_LIMIT Make preSigned and allowedValidators mappings public Change names of signature types Fix formatting and tests Make AssetProxyId last byte of assetData Add signer to txHash, allow approveValidator to be used with executeTransaction Update Whitelist Fix Exchange interface Increase block gas limit Use last byte of signature as signature type Remove TxOrigin signature type, modify whitelist to use Validator signature type Update Whitelist contract with comments, also require maker to be whitelisted Fix build Add example whitelist contract and minimum tests Add sample whitelist contract Add TxOrigin signature type and rearrange order of types Add approveValidator function Add Validator signature type ... # Conflicts: # packages/contracts/src/contracts/current/protocol/Exchange/MixinSignatureValidator.sol # packages/contracts/src/utils/types.ts # packages/contracts/test/exchange/transactions.ts # packages/order-utils/src/asset_proxy_utils.ts | ||||
* | | Move isValidOrderHash to the order_hash_test file | Fabio Berger | 2018-05-31 | 2 | -15/+15 |
| | | |||||
* | | Fix order-utils tests | Fabio Berger | 2018-05-31 | 2 | -33/+28 |
| | | |||||
* | | Initial refactor of order-utils. Move many utils from contracts into this ↵ | Fabio Berger | 2018-05-30 | 2 | -28/+85 |
|/ | | | | package. | ||||
* | Remove web3Factory.create and remove dev-tools dependency on sol-cov | Leonid Logvinov | 2018-05-23 | 1 | -3/+2 |
| | |||||
* | Merge pull request #594 from 0xProject/improvement/addCustomTslintRules | Fabio Berger | 2018-05-23 | 1 | -4/+8 |
|\ | | | | | Add more tslint rules | ||||
| * | Fix TSLint rules | Fabio Berger | 2018-05-16 | 1 | -4/+8 |
| | | |||||
* | | Use make-promises-safe to catch unhandled rejections in tests | Alex Browne | 2018-05-17 | 3 | -0/+3 |
|/ | |||||
* | Add missing type definitions | Leonid Logvinov | 2018-05-14 | 2 | -3/+3 |
| | |||||
* | Fix signature utils tests | Leonid Logvinov | 2018-05-03 | 1 | -15/+22 |
| | |||||
* | Move order utils to @0xproject/order-utils | Leonid Logvinov | 2018-05-02 | 5 | -0/+260 |