aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | Rename read/writeBytesWithLengthRemco Bloemen2018-06-234-36/+36
| | | | |
| * | | | Using LibBytes for bytesRemco Bloemen2018-06-236-26/+38
| | | | |
| * | | | Make LibBytes a libraryRemco Bloemen2018-06-236-35/+30
| | | | |
| * | | | Merge LibMem and LibBytesRemco Bloemen2018-06-2311-399/+322
| | | | |
| * | | | Use provided mem in refernce memcpyRemco Bloemen2018-06-231-2/+2
| | | | |
| * | | | Merge pull request #749 from 0xProject/feature/contracts/transactionHashAsmAmir Bandeali2018-06-231-8/+18
| |\ \ \ \ | | |_|_|/ | |/| | | Converted `hashZeroExTransaction` to assembly. Saves 1k gas
| | * | | Apply mask to address to zero-out unused bytes.Greg Hysen2018-06-231-1/+1
| | | | |
| | * | | Converted `hashZeroExTransaction` to assembly. Saves 1k gasGreg Hysen2018-06-221-8/+18
| | | | |
| * | | | Merge pull request #748 from 0xProject/fix/contracts/nullAssetProxyFabio Berger2018-06-223-27/+48
| |\ \ \ \ | | |_|_|/ | |/| | | Check that assetProxy exists before attempting transfer
| | * | | Check that assetProxy exists before attempting transferAmir Bandeali2018-06-223-27/+48
| | | | |
| * | | | Merge pull request #752 from 0xProject/make-promises-safe-preloaderFabio Berger2018-06-2211-11/+1
| |\ \ \ \ | | | | | | | | | | | | Use make-promises-safe as a preloader instead of manually importing
| | * | | | Use make-promises-safe as a preloader instead of manually importingAlex Browne2018-06-2211-11/+1
| | | |/ / | | |/| |
| * | | | Merge pull request #751 from 0xProject/feature/contracts/compilerRunsAmir Bandeali2018-06-221-1/+1
| |\ \ \ \ | | |/ / / | |/| | | Updated compiler runs to be 1,000,000
| | * | | Updated compiler runs to be 1,000,000Greg Hysen2018-06-221-1/+1
| | | | |
| * | | | Add event to setSignatureValidatorApproval, rename signer => signerAddress ↵Amir Bandeali2018-06-2215-70/+144
| | | | | | | | | | | | | | | | | | | | accross all contracts
| * | | | Add senderAddress to Fill and Cancel logs, add comments to events and typesAmir Bandeali2018-06-225-44/+47
| | |/ / | |/| |
| * | | Remove unreachable PreSigned checkAustin Roberts2018-06-221-4/+0
| |/ / | | | | | | | | | This code was unreachable, as it had the exact same condition as line 206.
| * | Set settleOrder and settleMatchedOrders to privateGreg Hysen2018-06-214-25/+2
| | |
| * | Removed MixinSettlement. Moved `settleOrder` into `MixinExchangeCore` and ↵Greg Hysen2018-06-218-238/+205
| | | | | | | | | | | | `settleMatchedOrders` into `MixinMatchOrders`
| * | LinterGreg Hysen2018-06-211-2/+1
| | |
| * | Renamed constants in test wallet/validatorGreg Hysen2018-06-212-11/+11
| | |
| * | Few more minor #nit wording changesGreg Hysen2018-06-212-5/+5
| | |
| * | Changed wording of two tests #nitGreg Hysen2018-06-211-2/+2
| | |
| * | Minor improvements to MixinSignatureValidator testsGreg Hysen2018-06-211-14/+8
| | |
| * | Remove .onlyGreg Hysen2018-06-211-1/+1
| | |
| * | Fixed two mislabelled revert reasons + Signature Validator revert tests ↵Greg Hysen2018-06-213-8/+17
| | | | | | | | | | | | working on Geth
| * | Minor style tweaksGreg Hysen2018-06-213-8/+8
| | |
| * | Twenty new tests for MixinSignatureValidator. Fixed handling of unsupported ↵Greg Hysen2018-06-219-27/+530
| |/ | | | | | | types. Fixed trezor prefix.
* | Add support for approveAll in assetWrapper and fillOrderScenariosFabio Berger2018-06-214-5/+80
| |
* | Improve verbose loggingFabio Berger2018-06-211-2/+5
| |
* | Fix merge variable name issueFabio Berger2018-06-201-1/+1
| |
* | Add support for setting allowance to unlimitedFabio Berger2018-06-202-7/+35
| |
* | Add noop conditionals for clarityFabio Berger2018-06-201-0/+10
| |
* | Rename for clarityFabio Berger2018-06-201-8/+8
| |
* | Split balance and allowance amount types in prep of adding the "unlimited" ↵Fabio Berger2018-06-203-51/+59
| | | | | | | | allowance enum value
* | Remove unneeded explicit type defFabio Berger2018-06-201-1/+1
| |
* | Add TS 2.7 numeric separators to improve readabilityFabio Berger2018-06-201-6/+6
| |
* | Merge branch 'v2-prototype' into feature/combinatorial-testingFabio Berger2018-06-2021-103/+444
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * v2-prototype: (22 commits) Fix closing parens in liborder Update after rebase ERC721Proxy Always call safeTransferFrom Rename makerEpoch => orderEpoch Make cancelOrdersUpTo compatible with sender abstraction Update PR template Use Image component instead of img tag Assembler orderHash function Optimize and remove redundant encodePacked Fix linting issue Fix bug where we do fetch balances on wallet login Check network state immediately instead of waiting for delay Fix onboarding persisting when changing routes Consolidate account state messaging logic Only elevate wallet zIndex when onboarding is in progress Rebase and update feedback Run linter Add Portal v2 logging Simplified handling of source < 32 edge case Basic EIP712 encoder ...
| * Merge pull request #637 from 0xProject/bug/contracts/eip712-191-prefixJacob Evans2018-06-207-45/+166
| |\ | | | | | | Add missing EIP191 prefix for EIP712 and Execute Transaction
| | * Fix closing parens in liborderJacob Evans2018-06-201-16/+15
| | |
| | * Assembler orderHash functionRemco Bloemen2018-06-191-18/+22
| | |
| | * Optimize and remove redundant encodePackedJacob Evans2018-06-194-13/+23
| | |
| | * Merge branch 'v2-prototype' into bug/contracts/eip712-191-prefixJacob Evans2018-06-1870-929/+2461
| | |\
| | * | Rebase and update feedbackJacob Evans2018-06-184-81/+85
| | | | | | | | | | | | | | | | | | | | | | | | Cache the domain separator data with address this Use the EIP712Types enum for types everywhere Rename EIP712 struct ExecuteTransaction to ZeroExTransaction
| | * | Basic EIP712 encoderJacob Evans2018-06-081-10/+11
| | | |
| | * | Update Order utils to use eip712Jacob Evans2018-06-069-178/+50
| | | |
| | * | Add missing EIP191 prefix for EIP712Jacob Evans2018-06-0510-50/+279
| | | |
| * | | Update after rebaseJacob Evans2018-06-201-7/+1
| | | |
| * | | ERC721Proxy Always call safeTransferFromJacob Evans2018-06-201-2/+6
| | | |
| * | | Rename makerEpoch => orderEpochAmir Bandeali2018-06-207-46/+49
| | | |
| * | | Make cancelOrdersUpTo compatible with sender abstractionAmir Bandeali2018-06-208-8/+225
| | | |
| * | | Merge pull request #683 from 0xProject/fix/contracts/memcpyRemco Bloemen2018-06-191-10/+12
| |\ \ \ | | | | | | | | | | Simplified handling of source < 32 edge case
| | * | | Simplified handling of source < 32 edge caseRemco Bloemen2018-06-111-10/+12
| | | | |
* | | | | Add ability for verbose loggingFabio Berger2018-06-201-2/+10
| | | | |
* | | | | Fix typoFabio Berger2018-06-191-2/+2
| | | | |
* | | | | Rename NewOrderFactory to OrderFactoryFromScenario for clarityFabio Berger2018-06-192-5/+5
| | | | |
* | | | | Remove hack in ERC20WrapperFabio Berger2018-06-197-12/+30
| | | | |
* | | | | Cleanup coreCombinatorialUtilsFabio Berger2018-06-191-220/+226
| | | | |
* | | | | Comments and cleanupFabio Berger2018-06-191-20/+8
| | | | |
* | | | | Merge branch 'v2-prototype' into feature/combinatorial-testingFabio Berger2018-06-197-141/+218
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * v2-prototype: Prettier fix Update default params in sendRawPaylodAsync for improved JSON-RPC compatibility Fix missed merge conflicts Fix additional versions and update yarn.lock Add OrderWatcherConfig type to 0x.js docs page Export OrderWatcherConfig from 0x.js Update all package versions to match latest published to NPM Update CHANGELOG's with publishes performed on development branch Rebase with latest removing PROXY_ID from transfer Split transfer impl and AssetProxyMixin change @0xproject/types to ethereum-types remove mistaken comment workaround for TypeScript trailing comma bug Document contract_templates
| * | | | Merge pull request #728 from 0xProject/fix/post-dev-publishFabio Berger2018-06-191-12/+12
| |\ \ \ \ | | | | | | | | | | | | Update v2-prototype w/ development changes since publish
| | * | | | Fix additional versions and update yarn.lockFabio Berger2018-06-191-1/+1
| | | | | |
| | * | | | Update all package versions to match latest published to NPMFabio Berger2018-06-191-11/+11
| | | | | |
| * | | | | Merge pull request #659 from ↵Jacob Evans2018-06-196-129/+206
| |\ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | 0xProject/feature/contracts/split-proxy-internal-logic Split transfer implementation and AssetProxyMixin
| | * | | | Rebase with latest removing PROXY_ID from transferJacob Evans2018-06-185-95/+111
| | | | | |
| | * | | | Split transfer impl and AssetProxyMixinJacob Evans2018-06-184-95/+156
| | | |_|/ | | |/| |
* | | | | Merge branch 'v2-prototype' into feature/combinatorial-testingFabio Berger2018-06-199-30/+105
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * v2-prototype: (40 commits) Increase number of columns in relayer grid for small screens Make isValidSignature public Make batchFill methods return FIllResults struct Remove remove_tags script Small fixes Use semver package instead of getNextPatchVersion Use semver library instead of semverUtils small fixes Show all errors of a given kind at once rather then throwing after the first instance is encountered fix package.json Add more prepublish checks remove remove_tags script Create a shared Image component Adjust version in changelog Update RelayerGridTile render logic to incorportate colors and logos Add max width to top bar Set max-width for LargeLayout Finish last onboarding step Finish set allowance step Add onboarding assets ...
| * | | | Make isValidSignature publicAmir Bandeali2018-06-193-15/+15
| | | | |
| * | | | Make batchFill methods return FIllResults structAmir Bandeali2018-06-192-10/+28
| |/ / /
| * | | Merge pull request #700 from 0xProject/fix/contracts/tokenbugsRemco Bloemen2018-06-161-1/+29
| |\ \ \ | | | | | | | | | | Handle tokens that do not return bool
| | * | | Handle tokens that do not return boolRemco Bloemen2018-06-141-1/+29
| | | | |
| * | | | Change wording of error message when you try to use more than one subproviderAlex Browne2018-06-151-1/+1
| | | | |
| * | | | Fix linter errors and remove coverage.jsonAlex Browne2018-06-151-2/+1
| | | | |
| * | | | Remove unused variables and other small fixesAlex Browne2018-06-152-6/+7
| | | | |
| * | | | Fix a bug in revert_trace.tsAlex Browne2018-06-151-23/+23
| | | | |
| * | | | Introduce subprovider for printing revert stack tracesAlex Browne2018-06-153-22/+51
| |/ / /
* | | | Add ability to tweak the relevant balances/allowances for the maker and ↵Fabio Berger2018-06-154-78/+380
| | | | | | | | | | | | | | | | taker for a fillScenario. Convert more of the core tests to the declarative form.
* | | | - Refactor assetWrapper to contain more of the normalizing logic instead of ↵Fabio Berger2018-06-158-74/+314
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | erc20Wrapper and erc721Wrapper - Add burn method to DummyERC721Token - Add additional methods to assetWrapper to set balance/allowances on ERC20 and ERC721 tokens - Use approve instead of approveAll for ERC721 tokens
* | | | Rename OrderAmountScenario to OrderAssetAmountScenario and convert ↵Fabio Berger2018-06-145-60/+59
| | | | | | | | | | | | | | | | generateOrderCombinations to generateFillOrderCombinations
* | | | Use a defaultFillScenario in fillOrder testsFabio Berger2018-06-141-36/+39
| | | |
* | | | Fix incorrect string values in enumFabio Berger2018-06-141-2/+2
| | | |
* | | | Fix calculation of expFilledTakerAmount and expected values in events emittedFabio Berger2018-06-141-4/+7
| | | |
* | | | Replace initial set of legacy manually written fillOrder tests with ↵Fabio Berger2018-06-142-434/+186
| | | | | | | | | | | | | | | | declarative FillScenario tests
* | | | Add ability to specify takerAssetFillAmount and taker scenarios as part of a ↵Fabio Berger2018-06-144-35/+153
| | | | | | | | | | | | | | | | FillScenario
* | | | Move orderFill combinatorialTests to exchange folderFabio Berger2018-06-131-4/+4
| | | |
* | | | Merge branch 'v2-prototype' into feature/combinatorial-testingFabio Berger2018-06-1327-345/+532
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * v2-prototype: (26 commits) Rename _coverageCollector -> _profilerCollector in TraceCollectionSubprovider Refactor sol-cov to de-duplicate code for coverage and profiling Rename popByte and popAddress Hard code test addresses/bytes32 instead of generating pseudorandom ones Update artifacts Rename computeCoverageAsync -> computeSingleTraceCoverageAsync Fix linter errors Refactor sol-cov to avoid keeping traceInfo in memory Unpop byte rather than making deep copy Pass gas in to marketBuyOrdersNoThrow Looks up the memory location of makerAssetData/takerAssetData Make ZRX_PROXY_ID constant rather than popping it from ZRX_ASSET_DATA Add tests for deepCopyBytes and missing write methods from LibBytes Pop id from assetData before dispatching to AssetProxies Upgrade solidity-parser-entlr 0.2.11 => 0.2.12 Fix import order Fix typos Add CHANGELOGs Speed-up sol-cov Increase delay when sending transactions during devnet startup ...
| * | | Rename popByte and popAddressAmir Bandeali2018-06-135-18/+18
| | | |
| * | | Hard code test addresses/bytes32 instead of generating pseudorandom onesAmir Bandeali2018-06-131-19/+16
| | | |
| * | | Unpop byte rather than making deep copyAmir Bandeali2018-06-134-90/+95
| | | |
| * | | Pass gas in to marketBuyOrdersNoThrowAmir Bandeali2018-06-131-1/+1
| | | |
| * | | Looks up the memory location of makerAssetData/takerAssetDataGreg Hysen2018-06-131-0/+2
| | | |
| * | | Make ZRX_PROXY_ID constant rather than popping it from ZRX_ASSET_DATAAmir Bandeali2018-06-135-23/+13
| | | |
| * | | Add tests for deepCopyBytes and missing write methods from LibBytesAmir Bandeali2018-06-133-70/+201
| | | |
| * | | Pop id from assetData before dispatching to AssetProxiesAmir Bandeali2018-06-1320-209/+268
| | | |
| * | | Speedup awaitTransactionMinedAsync and reduce polling interval in contracts ↵Alex Browne2018-06-121-1/+4
| | | | | | | | | | | | | | | | tests
* | | | Implement initial set of orderFill combinatorial testsFabio Berger2018-06-1311-427/+575
| | | |
* | | | Refactor ERC20 and ERC721 wrappers for V2 and introduce the assetWrapper ↵Fabio Berger2018-06-134-9/+95
| | | | | | | | | | | | | | | | superset
* | | | Variable rename for clarityFabio Berger2018-06-131-2/+2
| | | |
* | | | Merge branch 'v2-prototype' into feature/combinatorial-testingFabio Berger2018-06-1246-387/+1541
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * v2-prototype: (68 commits) Stop exporting ArtifactWriter Fix no-unused-variable tslint rule to include parameters and fix issues Fix linter exclude rule Validate all signature types rather then only ECSignatures Store the instantiated OrderValidationUtils Remove global hooks from tests and deploy contracts from within the specific tests Add EmitStatement to ASTVisitor Fix tslint issues Add back artifacts file Fix a bug in SolCompilerArtifacts adapter config overriding Move OrderValidationUtils (+ tests) and ExchangeTransferSimulator to order-utils export parseECSignature method Export ArtifactWriter from migrations package Remove unused artifact file Pass in generated contract wrapper to orderValidationUtils at instantiation Refactor orderValidationUtils to use the generated contract wrapper instead of the higher-level one Refactor ExchangeTransferSimulator public interface to accet an AbstractBalanceAndProxyAllowanceLazyStore so that this module could be re-used in different contexts. Increase timeout for contract migrations Remove some copy-paste code Await transactions in migrations ...
| * | | Fix no-unused-variable tslint rule to include parameters and fix issuesFabio Berger2018-06-122-2/+2
| | | |
| * | | Implement SolidityProfiler & adapt sol-cov to work with GethLeonid Logvinov2018-06-096-1/+58
| |/ /
| * | Linter changes to contractsGreg Hysen2018-06-094-21/+6
| | |
| * | Updated LibBytes error messagesGreg Hysen2018-06-083-28/+36
| | |
| * | Cleanup after last rebaseGreg Hysen2018-06-084-6/+5
| | |
| * | Updated tests to use new revert handlerGreg Hysen2018-06-082-13/+13
| | |
| * | Minor fixes after rebaseGreg Hysen2018-06-081-14/+6
| | |
| * | Camelcase in memCopyGreg Hysen2018-06-084-23/+23
| | |
| * | Style updates to contractsGreg Hysen2018-06-086-26/+20
| | |
| * | Union types for generalized decodeAssetDataGreg Hysen2018-06-081-2/+2
| | |
| * | Fixed a styling throughout contracts. Moved closing parenthesis for long ↵Greg Hysen2018-06-088-31/+62
| | | | | | | | | | | | list of function parameters to next line.
| * | Removed setting makerAssetData/takerAssetData from tests where values are ↵Greg Hysen2018-06-081-34/+0
| | | | | | | | | | | | same as defaultOrderParams.
| * | Fixed merge error when rebasing wrt length variable in asset data decodersGreg Hysen2018-06-082-4/+4
| | |
| * | Style updates to ERC721 onReceiverGreg Hysen2018-06-086-12/+21
| | |
| * | Fixed after rebaseGreg Hysen2018-06-083-5/+5
| | |
| * | Fixes after rebasingGreg Hysen2018-06-083-8/+6
| | |
| * | Fixed up after rebasing. Contracts build and tests passGreg Hysen2018-06-087-50/+30
| | |
| * | Style audit for proxies + libmem + libbytesGreg Hysen2018-06-088-50/+72
| | |
| * | Style audit proxiesGreg Hysen2018-06-083-20/+64
| | |
| * | Call safeTransferFrom only when there is receiver data presentGreg Hysen2018-06-083-13/+20
| | |
| * | Fixed formatting in memory layoutGreg Hysen2018-06-081-6/+6
| | |
| * | Resolved edge case in Memcpy where where send would eventually turn ↵Greg Hysen2018-06-082-144/+154
| | | | | | | | | | | | "negative" and wrap around.
| * | Removed the LibAssetProxyDecoder. Merged decode functions into the proxies. ↵Greg Hysen2018-06-089-95/+64
| | | | | | | | | | | | This way they can still be used by the forwarding contract. TestAssetDataDecoders inherits them in the same way the forwarding contract would
| * | Converged on naming scheme for asset data: renamed all instances of ↵Greg Hysen2018-06-0822-290/+257
| | | | | | | | | | | | assetMetadata, proxyData, proxyMetadata to assetData
| * | proxyData -> assetDataGreg Hysen2018-06-082-12/+12
| | |
| * | Implement memcpy using masking and end-aligned wordsRemco Bloemen2018-06-081-59/+85
| | |
| * | Add tests for word loop iterationRemco Bloemen2018-06-081-2/+6
| | |
| * | Add test for zero-size overlapRemco Bloemen2018-06-081-1/+3
| | |
| * | Add test casesRemco Bloemen2018-06-081-17/+133
| | |
| * | Cleanup test scriptRemco Bloemen2018-06-081-16/+1
| | |
| * | Convert Solidity tests to vectorsRemco Bloemen2018-06-082-232/+6
| | |
| * | Generate tests from vectorsRemco Bloemen2018-06-082-5/+64
| | |
| * | Tests for writing bytes to nested bytesGreg Hysen2018-06-081-9/+91
| | |
| * | Fixed up wording in memcpyGreg Hysen2018-06-081-3/+3
| | |
| * | Tons of tests around nested byte arrays and ERC721 receiverGreg Hysen2018-06-085-28/+197
| | |
| * | Test for onReceived erc721 callbackGreg Hysen2018-06-086-5/+126
| | |
| * | LibAssetProxyDecoder testsGreg Hysen2018-06-082-27/+31
| | |
| * | Foundation for TestLibAssetProxyDecoderGreg Hysen2018-06-087-2/+128
| | |
| * | Tests for libMemGreg Hysen2018-06-085-16/+80
| | |
| * | LibMem + TestLibMem + LibAssetProxyDecoder + DummyERC721ReceiverGreg Hysen2018-06-088-27/+581
| | |
| * | Add missing awaitTransactionSuccessAsync callsAlex Browne2018-06-082-23/+53
| | |
* | | Merge branch 'v2-prototype' into feature/combinatorial-testingFabio Berger2018-06-0823-55/+55
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * v2-prototype: Fix linter issue Fix linter issue Fix tslint issues Fix missing paths Fixed path Use source-map-support package to include correct line numbers in mocha move generated contract wrappers from `contract_wrappers/generated/` to `generated_contract_wrappers` in package with no non-generated contract wrappers
| * | Merge pull request #678 from 0xProject/fix/order-utils/remaining-v2-changesFabio Berger2018-06-081-0/+1
| |\ \ | | | | | | | | Remaining Order-utils V2 Changes
| * \ \ Merge pull request #670 from 0xProject/fix/generated-nestingFabio Berger2018-06-0823-56/+56
| |\ \ \ | | | | | | | | | | Remove unnecessary folder nesting
| | * | | Fix tslint issuesFabio Berger2018-06-082-2/+2
| | | | |
| | * | | Fix missing pathsFabio Berger2018-06-081-4/+4
| | | | |
| | * | | Fixed pathFabio Berger2018-06-073-11/+11
| | | | |
| | * | | merge v2-prototypeFabio Berger2018-06-0732-335/+465
| | |\ \ \
| | * | | | move generated contract wrappers from `contract_wrappers/generated/` to ↵Fabio Berger2018-06-0624-60/+60
| | | | | | | | | | | | | | | | | | | | | | | | `generated_contract_wrappers` in package with no non-generated contract wrappers
| * | | | | Merge pull request #676 from 0xProject/feature/mocha-source-mapsAlex Browne2018-06-081-1/+1
| |\ \ \ \ \ | | |_|/ / / | |/| | | | Use source-map-support package to include correct line numbers in mocha
| | * | | | Use source-map-support package to include correct line numbers in mochaAlex Browne2018-06-071-1/+1
| | | | | |
* | | | | | Merge branch 'fix/order-utils/remaining-v2-changes' into ↵Fabio Berger2018-06-083-2/+3
|\ \ \ \ \ \ | | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | feature/combinatorial-testing * fix/order-utils/remaining-v2-changes: Fix tslint failure Pass in fee and assetAmount rather then the whole signedOrder
| * | | | | Fix tslint failureFabio Berger2018-06-083-2/+3
| |/ / / /
* | | | | POC: Generates an order from spec, get's the amount fillableFabio Berger2018-06-087-32/+462
| | | | |
* | | | | merge v2-prototypeFabio Berger2018-06-0732-321/+451
|\| | | |
| * | | | Merge pull request #673 from mohoff/patch-1Fabio Berger2018-06-071-1/+1
| |\ \ \ \ | | | | | | | | | | | | typo
| | * | | | typomohoff2018-06-071-1/+1
| | |/ / /
| * | | | Merge branch 'v2-prototype' of https://github.com/0xProject/0x-monorepo into ↵fragosti2018-06-0719-214/+416
| |\| | | | | | | | | | | | | | | | | | feature/improve-linting
| | * | | Apply prettierAlex Browne2018-06-072-3/+10
| | | | |
| | * | | Update contracts tests after rebaseAlex Browne2018-06-072-14/+14
| | | | |
| | * | | Apply various fixes based on PR feedbackAlex Browne2018-06-073-12/+55
| | | | |
| | * | | Use an enum for ProviderType in contracts/src/utils/web3_wrapperAlex Browne2018-06-071-4/+21
| | | | |
| | * | | Update contracts package READMEAlex Browne2018-06-071-0/+9
| | | | |
| | * | | Add Async suffix to relevant assertionsAlex Browne2018-06-0714-112/+112
| | | | |
| | * | | Fix linter errorsAlex Browne2018-06-073-8/+38
| | | | |
| | * | | Update more things to work with both Geth and GanacheAlex Browne2018-06-073-38/+42
| | | | |
| | * | | Small fixes and cleanupAlex Browne2018-06-073-8/+4
| | | | |
| | * | | Add additional gas to calls to fillOrderNoThrowAlex Browne2018-06-073-152/+55
| | | | |
| | * | | Throw in web3-wrapper when rawCallResult is '0x'Alex Browne2018-06-073-6/+17
| | | | |
| | * | | Fix some more test cases, especially those that call increaseTimeAlex Browne2018-06-074-55/+84
| | | | |
| | * | | Add support for TEST_PROVIDER env varAlex Browne2018-06-071-3/+4
| | | | |
| | * | | Update more tests to pass on GethAlex Browne2018-06-074-21/+29
| | | | |
| | * | | Get LibBytes tests working on both Ganache and GethAlex Browne2018-06-073-25/+34
| | | | |
| | * | | Add ability to quickly switch between Geth and Ganache by changing a constAlex Browne2018-06-071-3/+16
| | | | |
| | * | | Update exchange/transactions tests for Geth error messagesAlex Browne2018-06-071-4/+4
| | | | |
| | * | | Update some tests after rebaseAlex Browne2018-06-073-20/+29
| | | | |
| | * | | Add more transactions to Geth on init. Skip tests that are failing.Alex Browne2018-06-076-20/+135
| | | | |
| | * | | Replace constant.REVERT test assertions with ↵Alex Browne2018-06-0712-170/+143
| | | | | | | | | | | | | | | | | | | | expectRevertOrAlwaysFailingTransaction
| | * | | Update code after rebaseAlex Browne2018-06-073-3/+8
| | | | |
| | * | | Use Geth for contract testsAlex Browne2018-06-071-0/+20
| | | | |
| * | | | Get build and tests to passfragosti2018-06-071-1/+2
| | | | |
| * | | | Merge branch 'v2-prototype' of https://github.com/0xProject/0x-monorepo into ↵fragosti2018-06-071-2/+1
| |\| | | | | | | | | | | | | | | | | | feature/improve-linting
| | * | | Stop running prettier on generated filesLeonid Logvinov2018-06-071-2/+1
| | |/ /
| * | | Use CLI for excludefragosti2018-06-072-4/+1
| | | |
| * | | Merge branch 'v2-prototype' of https://github.com/0xProject/0x-monorepo into ↵fragosti2018-06-071-3/+3
| |\| | | | | | | | | | | | | | feature/improve-linting
| * | | merge v2-prototypeFabio Berger2018-06-061-1/+2
| |\ \ \
| * | | | Linter now passesfragosti2018-06-0627-104/+35
| | |_|/ | |/| |
* | | | Implement initial generateOrder function that given the scenario values for ↵Fabio Berger2018-06-072-0/+244
| |_|/ |/| | | | | | | | an order, generates the actual order.
* | | Merge v2-prototypeFabio Berger2018-06-061-1/+1
|\ \ \ | | |/ | |/|
| * | Replace `-` with `_` in yarn script name so that we are consistent across ↵Fabio Berger2018-06-051-1/+1
| | | | | | | | | | | | yarn script names
* | | - Rename watch to watch_without_deps in sub-packages, so dev's don't confuse ↵Fabio Berger2018-06-051-3/+3
|/ / | | | | | | | | | | | | running watch from root dir, with sub-package dir - stop using special prebuild script name and run pre_build steps for `watch` and `build` commands - Remove `clean` step from `build`/`watch`
* | Merge pull request #658 from 0xProject/dont-automatically-rebuild-for-testsAlex Browne2018-06-051-1/+2
|\ \ | |/ |/| Don't automatically rebuild when running yarn test
| * Don't automatically rebuild when running yarn testAlex Browne2018-06-051-1/+2
| |
* | rename GT to GREATER_THANJacob Evans2018-06-053-3/+3
| |
* | Rebase from v2-prototypeJacob Evans2018-06-052-38/+2
| |
* | Update Exchange statuses, revert instead of emmitting event on fill/cancel ↵Amir Bandeali2018-06-0530-702/+491
|/ | | | failures, and remove redundant logic in matchOrders
* Merge branch 'v2-prototype' into refactor/order-utils/for-v2Fabio Berger2018-06-023-55/+52
|\ | | | | | | | | | | | | | | | | | | | | | | * v2-prototype: Set contract expiration time to a constant 10 minutes Remove unused promises array Make erc20_wrapper and erc721_wrapper serial Rename changelogs to changelog Add CHANGELOG entry Check that git branch is up to date before publishing Move prepublish checks before building packages for publishing Refactor changelog utils to a separate module
| * Set contract expiration time to a constant 10 minutesAlex Browne2018-06-021-1/+2
| |
| * Remove unused promises arrayAlex Browne2018-06-022-6/+0
| |
| * Make erc20_wrapper and erc721_wrapper serialAlex Browne2018-06-022-48/+50
| |
* | Improve comments and remove unused importsFabio Berger2018-06-021-1/+1
| |
* | Fix tslint issuesFabio Berger2018-06-023-5/+3
| |
* | Fix types versionFabio Berger2018-06-021-1/+1
| |
* | Merge branch 'v2-prototype' into refactor/order-utils/for-v2Fabio Berger2018-06-0219-42/+91
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * v2-prototype: (33 commits) Only show ProviderDisplay in portal Improve sol-cov docs Remove old parse code Refactor order parser and add shared order support to new portal Add generate and fill order routes Address feedback Override ethereumjs-tx version Fix missing key Update placeholder param ordering Change userEtherBalanceInWei to optional so we can know if its loading Add loading state to ProviderDisplay Tweaks Add Placeholder component Add StandardIconRow Split render into loading and loaaded Fix linter errors Fix linter errors Add ethereum-types to extraFileIncludes Introduce ethereum-types package Remove merge conflicts from yarn.lock ... # Conflicts: # packages/contracts/src/utils/exchange_wrapper.ts # packages/contracts/src/utils/match_order_tester.ts # packages/contracts/src/utils/types.ts # packages/contracts/test/exchange/core.ts # packages/contracts/test/exchange/match_orders.ts # packages/contracts/test/libraries/lib_bytes.ts # packages/sol-cov/package.json
| * Fix linter errorsLeonid Logvinov2018-06-016-6/+6
| |
| * Add ethereum-types to extraFileIncludesLeonid Logvinov2018-06-011-2/+9
| |
| * Introduce ethereum-types packageLeonid Logvinov2018-06-0115-20/+20
| |
| * Merge pull request #641 from 0xProject/feature/remove-typesLeonid Logvinov2018-06-011-0/+2
| |\ | | | | | | Remove types
| | * Remove some typesLeonid Logvinov2018-06-011-0/+2
| | |
| * | Fix buildAmir Bandeali2018-06-011-1/+1
| |/
| * Merge pull request #640 from 0xProject/await-transaction-successAlex Browne2018-05-315-25/+64
| |\ | | | | | | Add awaitTransactionSuccess where needed
| | * Pass in a provider and instantiate a new web3Wrapper in token_registry_wrapperAlex Browne2018-05-312-5/+7
| | |
| | * Add awaitTransactionSuccess where neededAlex Browne2018-05-314-22/+59
| | |
* | | fix method renameFabio Berger2018-06-011-1/+1
| | |
* | | Rename Ecrecover to EthSignFabio Berger2018-06-013-6/+3
| | |
* | | Merge branch 'v2-prototype' into refactor/order-utils/for-v2Fabio Berger2018-06-0142-188/+717
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
| * | Check length before accessing indices, add awaitTransactionSuccess where ↵Amir Bandeali2018-05-315-25/+43
| | | | | | | | | | | | needed, and rename function
| * | Add back before/after snapshots for each testAmir Bandeali2018-05-3116-0/+97
| | |
| * | Rename Signer to Wallet, rename GAS_ESTIMATE to GAS_LIMITAmir Bandeali2018-05-313-4/+4
| | |
| * | Make preSigned and allowedValidators mappings publicAmir Bandeali2018-05-311-2/+2
| | |
| * | Change names of signature typesAmir Bandeali2018-05-312-6/+6
| | |
| * | Fix formatting and testsAmir Bandeali2018-05-3118-94/+16
| | |
| * | Make AssetProxyId last byte of assetDataAmir Bandeali2018-05-3118-37/+74
| | |
| * | Add signer to txHash, allow approveValidator to be used with executeTransactionAmir Bandeali2018-05-313-7/+10
| | |
| * | Update WhitelistAmir Bandeali2018-05-316-24/+55
| | |
| * | Fix Exchange interfaceAmir Bandeali2018-05-311-7/+5
| | |
| * | Use last byte of signature as signature typeAmir Bandeali2018-05-318-106/+103
| | |
| * | Remove TxOrigin signature type, modify whitelist to use Validator signature typeAmir Bandeali2018-05-317-35/+35
| | |
| * | Update Whitelist contract with comments, also require maker to be whitelistedAmir Bandeali2018-05-315-16/+72
| | |
| * | Fix buildAmir Bandeali2018-05-313-19/+24
| | |
| * | Add example whitelist contract and minimum testsAmir Bandeali2018-05-313-11/+121
| | |
| * | Add sample whitelist contractAmir Bandeali2018-05-313-1/+60
| | |
| * | Add TxOrigin signature type and rearrange order of typesAmir Bandeali2018-05-313-63/+77
| | |
| * | Add approveValidator functionAmir Bandeali2018-05-312-2/+17
| | |
| * | Add Validator signature typeAmir Bandeali2018-05-314-3/+69
| | |
| * | Add deepCopyBytes method to LibBytesAmir Bandeali2018-05-313-0/+92
| | |
| * | Change logDecoder back into class, remove awaitTransactionMined from ↵Amir Bandeali2018-05-313-50/+62
| |/ | | | | | | multiSigWrapper
* | Introduce OrderWithoutExchangeAddress type since this is what get's sent to ↵Fabio Berger2018-05-314-32/+28
| | | | | | | | the smart contracts
* | Initial refactor of order-utils. Move many utils from contracts into this ↵Fabio Berger2018-05-3020-382/+64
| | | | | | | | package.
* | Freeze order-utils at 0.0.5 for all packages except contractsFabio Berger2018-05-301-1/+1
|/
* Remove contracts -> @0xproject/order-utils dependencyLeonid Logvinov2018-05-265-103/+86
|
* Fix imports in order_utilsLeonid Logvinov2018-05-251-1/+1
|
* Merge pull request #571 from 0xProject/feature/contracts/proxyOwnerAmir Bandeali2018-05-2520-387/+629
|\ | | | | Update MultiSigWalletWithTimeLockExceptRemoveAuthorizedAddress
| * Use web3-wrapper instead of 0x.js, update logDecoderAmir Bandeali2018-05-257-49/+48
| |
| * Cleanup testsAmir Bandeali2018-05-254-6/+12
| |
| * Move readFirst4 to LibBytesAmir Bandeali2018-05-255-39/+53
| |
| * Add old MultiSig to previous contracts, cleanup file structureAmir Bandeali2018-05-257-16/+16
| |
| * Fix buildAmir Bandeali2018-05-254-4/+91
| |
| * Address feedback, rename contract to AssetProxyOwnerAmir Bandeali2018-05-256-33/+37
| |
| * Update multisig tests and utilsAmir Bandeali2018-05-254-253/+355
| |
| * Update MultiSigWalletWithTimeLockExceptRemoveAuthorizedAddress to use a ↵Amir Bandeali2018-05-251-18/+48
| | | | | | | | mapping of registered proxies