aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/src/utils
Commit message (Collapse)AuthorAgeFilesLines
* Update file structureAmir Bandeali2018-06-3028-3371/+0
|
* Make registerAssetProxy append onlyAmir Bandeali2018-06-302-16/+4
|
* Change getTransactionReceipt to awaitTransactionMinedAmir Bandeali2018-06-301-1/+1
|
* Update expectRevertReasonOrAlwaysFailingTransactionAsync to check status codesAlex Browne2018-06-301-6/+35
|
* Fix testsAmir Bandeali2018-06-302-0/+3
|
* Remove unused constantsFabio Berger2018-06-281-2/+0
|
* Reduce the userAddresses to the individual addresses actually used by tests, ↵Fabio Berger2018-06-281-1/+2
| | | | as well as only deploy the number of ERC20 tokens needed for each test suite
* Add await time constantFabio Berger2018-06-281-0/+2
|
* Add missing awaitTransactionSuccessAsync callsFabio Berger2018-06-281-6/+10
|
* Merge branch 'v2-prototype' into feature/combinatorial-testingFabio Berger2018-06-271-2/+0
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * v2-prototype: Improve 'web3-provider-engine' typings Fix build Update artifacts Add more revert reasons to tests Make dispatchTransferFrom revert with reason from AssetProxy on failure Remove redundant files, hard code function selector in dispatchTransferFrom, and modify revert reason Updated offset of receiverData length to reflect new assetData encoding. ERC20 Custom storage layout Golf the authorization check ERC20 manual memory layout ERC20 inline return ERC721 inline return Golf ERC721 transferFrom Inline ERC20 tranferFrom selector constant Optimize ERC20 transferFrom Polish asset picker layout Update relayer grid fallback icon Change metamask install link based on browser Use ethereumjs-tx@1.3.5 instead of our fork # Conflicts: # packages/contracts/test/asset_proxy/proxies.ts # packages/contracts/test/exchange/core.ts # packages/migrations/artifacts/2.0.0/DummyERC721Token.json
| * Remove redundant files, hard code function selector in dispatchTransferFrom, ↵Amir Bandeali2018-06-271-2/+0
| | | | | | | | and modify revert reason
* | Fix type issueFabio Berger2018-06-271-2/+2
| |
* | Merge branch 'refactor/check-revert-reasons' into feature/combinatorial-testingFabio Berger2018-06-271-1/+5
|\| | | | | | | | | | | | | | | | | | | | | * refactor/check-revert-reasons: Temporarily switch revert reasons to `TransferFailed`. Should be `InvalidAmount` but because of an oversight in the assembly implementation of `dispatchTransferFrom`, it always throws `TransferFailed` Expect RevertReason be passed in, not string Rename RevertReasons to RevertReason since singular enum names are more common # Conflicts: # packages/contracts/test/asset_proxy/proxies.ts # packages/contracts/test/exchange/core.ts
| * Expect RevertReason be passed in, not stringFabio Berger2018-06-261-1/+5
| |
* | Fix merge issuesFabio Berger2018-06-264-16/+17
| |
* | Prettier fixesFabio Berger2018-06-261-4/+1
| |
* | Fix tslint issuesFabio Berger2018-06-263-16/+3
| |
* | Check revert reasons in declarative and combinatorial testsFabio Berger2018-06-251-7/+8
| |
* | merge check-revert-reasonsFabio Berger2018-06-251-44/+0
|\|
| * Move RevertReasons to @0xproject/types packageFabio Berger2018-06-251-44/+0
| |
* | merge check-revert-reasonsFabio Berger2018-06-253-13/+56
|\|
| * Merge branch 'v2-prototype' into refactor/check-revert-reasonsFabio Berger2018-06-253-5/+6
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * v2-prototype: (48 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/contracts/current/utils/Ownable/Ownable.sol # packages/contracts/test/libraries/lib_bytes.ts
| * | Rename ContractLibErrors to RevertReasonsFabio Berger2018-06-231-1/+1
| | |
| * | Remove revert reason 'Exchange' prefixFabio Berger2018-06-231-2/+2
| | |
| * | Move constants over to ContractLibError enum and update all testsFabio Berger2018-06-232-15/+10
| | |
| * | Fix test now that contract reverts with messageFabio Berger2018-06-221-0/+1
| | |
| * | Change Whitelist error messages to conform to rest and added revert reason ↵Fabio Berger2018-06-221-0/+2
| | | | | | | | | | | | checks to transactions tests
| * | Merge branch 'v2-prototype' into refactor/check-revert-reasonsFabio Berger2018-06-225-5/+15
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * v2-prototype: (40 commits) Use make-promises-safe as a preloader instead of manually importing Updated compiler runs to be 1,000,000 Add event to setSignatureValidatorApproval, rename signer => signerAddress accross all contracts Add senderAddress to Fill and Cancel logs, add comments to events and types Fix Island component Add missing image assets for Chris and Mel Fix some bugs in sol-cov Remove unreachable PreSigned check Fix linting Buttons look hella disabled now Remove border radius, fix width issue for unlock step Add Chris and Mel to about page fix linter issues only call getLocationByOffset if source if defined Set settleOrder and settleMatchedOrders to private Prevent prettier issue Support mobile friendly onboarding flows Removed MixinSettlement. Moved `settleOrder` into `MixinExchangeCore` and `settleMatchedOrders` into `MixinMatchOrders` Migrations after rebasing Linter ...
| * | | Check revert reasons in Authorizable testsFabio Berger2018-06-211-0/+1
| | | |
| * | | Update core tests to actually check revert messageFabio Berger2018-06-212-0/+44
| | | |
* | | | Merge branch 'v2-prototype' into feature/combinatorial-testingFabio Berger2018-06-256-10/+21
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
| * | | Update and add testsAmir Bandeali2018-06-231-2/+4
| | | |
| * | | Move isFunctionRemoveAuthorizedAddress to testRemco Bloemen2018-06-231-0/+2
| | | |
| * | | Merge LibMem and LibBytesRemco Bloemen2018-06-232-3/+0
| | |/ | |/|
| * | Add event to setSignatureValidatorApproval, rename signer => signerAddress ↵Amir Bandeali2018-06-223-5/+5
| | | | | | | | | | | | accross all contracts
| * | Fixed two mislabelled revert reasons + Signature Validator revert tests ↵Greg Hysen2018-06-211-0/+5
| | | | | | | | | | | | working on Geth
| * | Twenty new tests for MixinSignatureValidator. Fixed handling of unsupported ↵Greg Hysen2018-06-212-0/+5
| |/ | | | | | | types. Fixed trezor prefix.
* | Add support for approveAll in assetWrapper and fillOrderScenariosFabio Berger2018-06-213-4/+41
| |
* | 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-202-38/+45
| | | | | | | | 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-203-6/+25
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-202-6/+23
| |\ | | | | | | Add missing EIP191 prefix for EIP712 and Execute Transaction
| | * Optimize and remove redundant encodePackedJacob Evans2018-06-191-2/+1
| | |
| | * Merge branch 'v2-prototype' into bug/contracts/eip712-191-prefixJacob Evans2018-06-1819-65/+277
| | |\
| | * | Rebase and update feedbackJacob Evans2018-06-181-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | 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-065-142/+7
| | | |
| | * | Add missing EIP191 prefix for EIP712Jacob Evans2018-06-055-7/+158
| | | |
| * | | Make cancelOrdersUpTo compatible with sender abstractionAmir Bandeali2018-06-201-0/+2
| | |/ | |/|
* | | 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-191-6/+6
| | |
* | | 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-192-4/+32
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 ...
| * | 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-151-5/+6
| | |
| * | Fix a bug in revert_trace.tsAlex Browne2018-06-151-23/+23
| | |
| * | Introduce subprovider for printing revert stack tracesAlex Browne2018-06-152-22/+50
| | |
* | | Add ability to tweak the relevant balances/allowances for the maker and ↵Fabio Berger2018-06-152-35/+323
| | | | | | | | | | | | 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-154-67/+295
| | | | | | | | | | | | | | | | | | | | | | | | 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-143-43/+48
| | | | | | | | | | | | generateOrderCombinations to generateFillOrderCombinations
* | | 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
| | |
* | | Add ability to specify takerAssetFillAmount and taker scenarios as part of a ↵Fabio Berger2018-06-143-29/+141
| | | | | | | | | | | | FillScenario
* | | Merge branch 'v2-prototype' into feature/combinatorial-testingFabio Berger2018-06-134-5/+19
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 ...
| * | Unpop byte rather than making deep copyAmir Bandeali2018-06-131-8/+3
| | |
| * | Pass gas in to marketBuyOrdersNoThrowAmir Bandeali2018-06-131-1/+1
| | |
| * | Add tests for deepCopyBytes and missing write methods from LibBytesAmir Bandeali2018-06-131-0/+1
| | |
| * | Pop id from assetData before dispatching to AssetProxiesAmir Bandeali2018-06-133-3/+18
| | |
| * | Speedup awaitTransactionMinedAsync and reduce polling interval in contracts ↵Alex Browne2018-06-121-1/+4
| | | | | | | | | | | | tests
* | | Implement initial set of orderFill combinatorial testsFabio Berger2018-06-1310-187/+553
| | |
* | | Refactor ERC20 and ERC721 wrappers for V2 and introduce the assetWrapper ↵Fabio Berger2018-06-133-9/+85
| | | | | | | | | | | | superset
* | | Variable rename for clarityFabio Berger2018-06-131-2/+2
| | |
* | | Merge branch 'v2-prototype' into feature/combinatorial-testingFabio Berger2018-06-127-18/+77
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 ...
| * | Implement SolidityProfiler & adapt sol-cov to work with GethLeonid Logvinov2018-06-093-1/+51
| | |
| * | Updated LibBytes error messagesGreg Hysen2018-06-081-5/+5
| | |
| * | Style updates to contractsGreg Hysen2018-06-081-1/+1
| | |
| * | Removed the LibAssetProxyDecoder. Merged decode functions into the proxies. ↵Greg Hysen2018-06-082-3/+3
| | | | | | | | | | | | 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-081-12/+12
| | | | | | | | | | | | assetMetadata, proxyData, proxyMetadata to assetData
| * | Test for onReceived erc721 callbackGreg Hysen2018-06-082-0/+3
| | |
| * | Foundation for TestLibAssetProxyDecoderGreg Hysen2018-06-082-0/+3
| | |
| * | Tests for libMemGreg Hysen2018-06-082-0/+3
| | |
* | | Merge branch 'v2-prototype' into feature/combinatorial-testingFabio Berger2018-06-085-8/+8
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 v2-prototypeFabio Berger2018-06-0713-41/+150
| |\ \ \
| * | | | move generated contract wrappers from `contract_wrappers/generated/` to ↵Fabio Berger2018-06-066-13/+13
| | |_|/ | |/| | | | | | | | | | `generated_contract_wrappers` in package with no non-generated contract wrappers
* | | | Merge branch 'fix/order-utils/remaining-v2-changes' into ↵Fabio Berger2018-06-081-0/+1
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | 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-081-0/+1
| | |/ | |/|
* | | POC: Generates an order from spec, get's the amount fillableFabio Berger2018-06-086-32/+196
| | |
* | | merge v2-prototypeFabio Berger2018-06-0713-41/+150
|\| |
| * | Merge branch 'v2-prototype' of https://github.com/0xProject/0x-monorepo into ↵fragosti2018-06-075-8/+144
| |\ \ | | | | | | | | | | | | feature/improve-linting
| | * | Apply various fixes based on PR feedbackAlex Browne2018-06-071-1/+1
| | | |
| | * | Use an enum for ProviderType in contracts/src/utils/web3_wrapperAlex Browne2018-06-071-4/+21
| | | |
| | * | Add Async suffix to relevant assertionsAlex Browne2018-06-071-9/+9
| | | |
| | * | Fix linter errorsAlex Browne2018-06-072-2/+36
| | | |
| | * | Update more things to work with both Geth and GanacheAlex Browne2018-06-071-22/+14
| | | |
| | * | Small fixes and cleanupAlex Browne2018-06-072-6/+2
| | | |
| | * | Add additional gas to calls to fillOrderNoThrowAlex Browne2018-06-071-6/+6
| | | |
| | * | Throw in web3-wrapper when rawCallResult is '0x'Alex Browne2018-06-072-0/+13
| | | |
| | * | Fix some more test cases, especially those that call increaseTimeAlex Browne2018-06-071-0/+26
| | | |
| | * | Add support for TEST_PROVIDER env varAlex Browne2018-06-071-3/+4
| | | |
| | * | Update more tests to pass on GethAlex Browne2018-06-072-0/+14
| | | |
| | * | Get LibBytes tests working on both Ganache and GethAlex Browne2018-06-072-1/+6
| | | |
| | * | Add ability to quickly switch between Geth and Ganache by changing a constAlex Browne2018-06-071-3/+16
| | | |
| | * | Replace constant.REVERT test assertions with ↵Alex Browne2018-06-071-2/+2
| | | | | | | | | | | | | | | | expectRevertOrAlwaysFailingTransaction
| | * | Update code after rebaseAlex Browne2018-06-073-2/+27
| | |/
| * | Get build and tests to passfragosti2018-06-071-1/+2
| | |
| * | Linter now passesfragosti2018-06-0610-34/+6
| |/
* / Implement initial generateOrder function that given the scenario values for ↵Fabio Berger2018-06-072-0/+244
|/ | | | an order, generates the actual order.
* Update Exchange statuses, revert instead of emmitting event on fill/cancel ↵Amir Bandeali2018-06-052-16/+7
| | | | 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
| |
* | Fix tslint issuesFabio Berger2018-06-021-2/+1
| |
* | Merge branch 'v2-prototype' into refactor/order-utils/for-v2Fabio Berger2018-06-029-15/+25
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-014-4/+4
| |
| * Add ethereum-types to extraFileIncludesLeonid Logvinov2018-06-011-2/+9
| |
| * Introduce ethereum-types packageLeonid Logvinov2018-06-018-14/+11
| |
| * Merge pull request #640 from 0xProject/await-transaction-successAlex Browne2018-05-311-4/+10
| |\ | | | | | | Add awaitTransactionSuccess where needed
| | * Pass in a provider and instantiate a new web3Wrapper in token_registry_wrapperAlex Browne2018-05-311-4/+6
| | |
| | * Add awaitTransactionSuccess where neededAlex Browne2018-05-311-2/+6
| | |
* | | Rename Ecrecover to EthSignFabio Berger2018-06-013-6/+3
| | |
* | | Merge branch 'v2-prototype' into refactor/order-utils/for-v2Fabio Berger2018-06-019-58/+73
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
| * | Rename Signer to Wallet, rename GAS_ESTIMATE to GAS_LIMITAmir Bandeali2018-05-311-1/+1
| | |
| * | Make AssetProxyId last byte of assetDataAmir Bandeali2018-05-311-8/+8
| | |
| * | Add signer to txHash, allow approveValidator to be used with executeTransactionAmir Bandeali2018-05-311-5/+4
| | |
| * | Use last byte of signature as signature typeAmir Bandeali2018-05-311-2/+2
| | |
| * | Remove TxOrigin signature type, modify whitelist to use Validator signature typeAmir Bandeali2018-05-311-0/+1
| | |
| * | Update Whitelist contract with comments, also require maker to be whitelistedAmir Bandeali2018-05-311-0/+2
| | |
| * | Add example whitelist contract and minimum testsAmir Bandeali2018-05-311-0/+1
| | |
| * | Add TxOrigin signature type and rearrange order of typesAmir Bandeali2018-05-311-3/+5
| | |
| * | 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-313-26/+22
| | | | | | | | the smart contracts
* | Initial refactor of order-utils. Move many utils from contracts into this ↵Fabio Berger2018-05-3010-316/+25
|/ | | | package.
* Remove contracts -> @0xproject/order-utils dependencyLeonid Logvinov2018-05-261-0/+1
|
* Fix imports in order_utilsLeonid Logvinov2018-05-251-1/+1
|
* Merge pull request #571 from 0xProject/feature/contracts/proxyOwnerAmir Bandeali2018-05-257-62/+76
|\ | | | | Update MultiSigWalletWithTimeLockExceptRemoveAuthorizedAddress
| * Use web3-wrapper instead of 0x.js, update logDecoderAmir Bandeali2018-05-255-42/+41
| |
| * Cleanup testsAmir Bandeali2018-05-251-1/+1
| |
| * Add old MultiSig to previous contracts, cleanup file structureAmir Bandeali2018-05-251-5/+5
| |
| * Address feedback, rename contract to AssetProxyOwnerAmir Bandeali2018-05-253-8/+5
| |
| * Update multisig tests and utilsAmir Bandeali2018-05-251-25/+43
| |
* | Merge branch 'v2-prototype' into feature/contracts/eip712-order-hashFabio Berger2018-05-256-38/+17
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * v2-prototype: Temporarily disable installation tests Pin connect in sra-report Fix a typo Pin types in sra-report Fix linter issues Unpin types version in @0xproject/connect Pin types version in website Do a fake version bump on types so that yarn doesn't try to install updated version for not yet migrated packages Migrate migrations to v2 # Conflicts: # packages/contracts/src/utils/order_utils.ts
| * | Fix linter issuesLeonid Logvinov2018-05-251-1/+1
| | |
| * | Migrate migrations to v2Leonid Logvinov2018-05-256-39/+18
| |/
* | Use domain separator for exchange addressJacob Evans2018-05-251-4/+19
| |
* | Update order hash to match latest eip712Jacob Evans2018-05-251-19/+26
|/
* Check transaction receipt status codes where applicableAlex Browne2018-05-241-1/+1
|
* Move contract utilsLeonid Logvinov2018-05-242-0/+377
|
* Merge branch 'v2-prototype' into feature/truffle-sol-covLeonid Logvinov2018-05-246-23/+26
|\
| * Fix ExchangeWrapperFabio Berger2018-05-231-3/+5
| |
| * Fix importsFabio Berger2018-05-231-1/+1
| |
| * Merge branch 'v2-prototype' into refactor/contracts/remove0xjsDepFabio Berger2018-05-237-18/+31
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * v2-prototype: Fix tslint issues Add `are` to boolean naming conventions Fix tslint Fix the tsutils version, fixing ts typings issue Rename some variables in multi_sig_with_time_lock.ts Remove extra awaitTransactionMinedAsync calls Update artifacts Update yarn.lock Fix warnings in Metacoin Upgrade UglifyJS to include ES6 support Add CancelOrder and MatchOrder types Add missing return types Ignore classnames linter rule Apply changes to test/exchange/match_orders.ts Fix some unhandled promise rejections Add awaitTransactionMinedAsync after every sent transaction Add missing blockchainLifecycle calls to contracts tests # Conflicts: # packages/contracts/src/utils/exchange_wrapper.ts # packages/contracts/test/asset_proxy/proxies.ts # packages/contracts/test/exchange/dispatcher.ts # packages/contracts/test/multi_sig_with_time_lock.ts
| * | Remove 0x.js dep from contractsFabio Berger2018-05-236-23/+24
| | |
* | | Fix a bug in CALL-like opcode handlingLeonid Logvinov2018-05-231-1/+2
| | |
* | | Remove web3Factory.create and remove dev-tools dependency on sol-covLeonid Logvinov2018-05-231-3/+9
| |/ |/|
* | Merge pull request #601 from 0xProject/contracts-test-fixesAlex Browne2018-05-231-0/+1
|\ \ | | | | | | Contracts test fixes
| * | Add awaitTransactionMinedAsync after every sent transactionAlex Browne2018-05-221-0/+1
| |/
* | Add CancelOrder and MatchOrder typesRemco Bloemen2018-05-222-3/+15
| |
* | Add missing return typesRemco Bloemen2018-05-224-14/+14
|/
* orderFilledAmount -> orderTakerAssetFilledAmountGreg Hysen2018-05-191-1/+1
|
* Cleaned up interface for decoding proxy data. Added a general decoder, which ↵Greg Hysen2018-05-192-5/+53
| | | | should be useful for the forwarding contract code.
* Removed redundant log decode callGreg Hysen2018-05-191-2/+0
|
* The OrderInfo struct is now returned by the getOrderInfo functionGreg Hysen2018-05-192-5/+9
|
* Style changes to atomic order matchingGreg Hysen2018-05-191-6/+8
|
* Added require reasons to MixinMatchOrders and cleaned up some comments.Greg Hysen2018-05-191-20/+15
|
* Atomic Order Matching - TestsGreg Hysen2018-05-194-6/+147
|
* Merge pull request #583 from 0xProject/bug/contracts/erc721-encoded-padJacob Evans2018-05-181-1/+2
|\ | | | | ERC721Proxy Pad to 32 if asset ids are small
| * Pad to 32 if asset ids are smallJacob Evans2018-05-101-1/+2
| |
* | Merge branch 'development' into v2-prototypeFabio Berger2018-05-164-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * development: (29 commits) Do not remove artifacts when running `clean` fix style errors Fix circular dependency Add my profile image to images Add myself to about page Add dogfood configs to website Revert to lerna:run lint Do lint sequentially Exclude monorepo-scripts from tslint as test Fix prettier Add hover state to top tokens Change to weekly txn volume Change minimum Node version to 6.12 Document Node.js version requirement and add it to package.json Apply prettier to some files which were not formatted correctly Fix TSLint issues Fix TSLint issues Update ethereeumjs-testrpc to ganache-cli Fix infinite loop Add changelog entries for packages where executable binary exporting fixed ... # Conflicts: # packages/contracts/package.json # packages/contracts/util/formatters.ts # packages/contracts/util/signed_order_utils.ts # packages/migrations/package.json # yarn.lock
* | Merge branch 'development' into v2-prototypeAmir Bandeali2018-05-168-76/+98
|/
* Make LibBytes methods internal, add TestLibBytesAmir Bandeali2018-05-051-1/+1
|
* Make all lib functions internal, add contracts for testingAmir Bandeali2018-04-272-31/+2
|
* Add tests and commentsAmir Bandeali2018-04-271-2/+0
|
* Update tests and utilsAmir Bandeali2018-04-276-1/+65
|
* merge v2-prototypeFabio Berger2018-04-243-97/+96
|\
| * Rename variables, create private validation methods in token wrappersAmir Bandeali2018-04-243-97/+96
| |
* | Fix testsAmir Bandeali2018-04-242-3/+21
|/
* Define numbers of dummy tokens to deploy in constantsAmir Bandeali2018-04-243-2/+4
|
* Remove type assertionsAmir Bandeali2018-04-241-18/+12
|
* Fix and cleanup testsAmir Bandeali2018-04-242-1/+13
|
* Add ERC721 wrapperAmir Bandeali2018-04-242-20/+161
|
* Add ERC20WrapperAmir Bandeali2018-04-243-32/+127
|
* Rename proxyUtils => assetProxyUtilsAmir Bandeali2018-04-231-6/+6
|
* Rename missed variablesAmir Bandeali2018-04-231-1/+1
|
* Add missing async suffixAmir Bandeali2018-04-221-1/+1
|
* Rename token => assetAmir Bandeali2018-04-224-57/+57
|
* Rename Token => IERC20TokenAmir Bandeali2018-04-221-2/+0
|
* Rename DummyToken => DummyERC20TokenAmir Bandeali2018-04-223-9/+6
|
* export proxyUtils instead of individual functionsAmir Bandeali2018-04-221-34/+32
|
* Added tests for (most functions in) LibBytes. The write methods are not ↵Greg Hysen2018-04-211-0/+1
| | | | currently compatible with our generated contract wrappers.
* Miscellaneous style changes to the contracts package; specifically testsGreg Hysen2018-04-211-2/+2
|
* Removed ERC20 V1 Proxy + TokenTransferProxyGreg Hysen2018-04-213-13/+0
|
* Removed takerTokenAddress and makerTokenAddress from Order struct.Greg Hysen2018-04-212-8/+0
|
* toUnsigned -> toBuffer in assetProxyUtilsGreg Hysen2018-04-211-1/+1
|
* Minor changes to typescript testsGreg Hysen2018-04-212-4/+2
|
* Updated ERC20 v1 proxy names in testsGreg Hysen2018-04-212-3/+3
|
* Minor style improvements to asset proxy utilsGreg Hysen2018-04-211-10/+3
|
* ethereum-js for encoding/decoding asset proxy dataGreg Hysen2018-04-211-41/+32
|
* Removed unused dependencyGreg Hysen2018-04-211-1/+0
|
* snake case to camel caseGreg Hysen2018-04-211-25/+25
|
* makerAssetProxyData/takerAssetProxyData -> makerAssetData/takerAssetDataGreg Hysen2018-04-212-10/+10
|
* Renaming TransferProxy to ProxyGreg Hysen2018-04-211-3/+3
|
* Asset Proxy DispatcherGreg Hysen2018-04-215-2/+94
|
* Revert variable namingAmir Bandeali2018-04-214-55/+55
|
* Add marketBuyOrders, rename variables, and fx old testsAmir Bandeali2018-04-214-104/+121
|
* Fix build errorsAmir Bandeali2018-04-212-12/+5
|
* Separate filled/cancelled errorsAmir Bandeali2018-04-211-1/+2
|
* Remove partial cancelsAmir Bandeali2018-04-213-24/+6
|
* Change from cancelOrdersBefore to cancelOrdersUpTo. The effect is that ↵Greg Hysen2018-04-211-2/+2
| | | | orders with salt <= to maker epoch will be cancelled (previously, it was salt < maker epoch)
* Renamed all instances of timestamp to salt. Clarified test case wording.Greg Hysen2018-04-212-3/+3
|
* Fixed spacingGreg Hysen2018-04-211-2/+2
|
* Implementation and tests in the protocol for cancelling all orders up to a ↵Greg Hysen2018-04-212-0/+16
| | | | specific time
* Add private keys for testrpc mnemonicAmir Bandeali2018-04-211-20/+14
|
* Address feedback and lintAmir Bandeali2018-04-217-121/+36
|
* Add tests for fillOrderNoThrow based functionsAmir Bandeali2018-04-211-0/+42
|
* Fix package.jsonAmir Bandeali2018-04-211-5/+5
|
* Add fillOrderNoThrow to exchange wrapper and add testAmir Bandeali2018-04-211-0/+21
|
* Update order utilsAmir Bandeali2018-04-211-5/+5
|
* Add script for starting testrpc with preconfigured private keysAmir Bandeali2018-04-212-0/+29
|
* Add utils for hashing and signing orders, update wrappersAmir Bandeali2018-04-215-52/+95
|
* Modify utils to work with new signature formatAmir Bandeali2018-04-216-149/+189
|
* Use new logDecoder interfaceAmir Bandeali2018-04-212-10/+13
|
* Rename variablesAmir Bandeali2018-04-212-27/+27
|
* Move log decoding logic to exchange wrapperAmir Bandeali2018-04-211-11/+39
|
* Add logDecoder, remove outdated testsAmir Bandeali2018-04-214-16/+77
|
* Move utils dir into srcAmir Bandeali2018-04-2110-0/+679