aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contract-wrappers/src
Commit message (Collapse)AuthorAgeFilesLines
* Update prettier to version ^1.15.3Alex Browne2019-01-111-1/+1
|
* Fixed merge conflict from developmentGreg Hysen2019-01-082-4/+5
|
* Ran prettierGreg Hysen2019-01-081-1/+9
|
* Doc generation working for changes by dutch auction wrapperGreg Hysen2019-01-081-1/+1
|
* export dutch auction wrapper types from 0x.jsGreg Hysen2019-01-081-0/+1
|
* Minor documentation updates to dutch auction wrapperGreg Hysen2019-01-081-7/+8
|
* `afterAuctionDetails` -> `auctionDetails`Greg Hysen2019-01-081-2/+2
|
* Ran prettier & linterGreg Hysen2019-01-082-67/+70
|
* Removed redundant assignmentGreg Hysen2019-01-081-1/+1
|
* ran prettier + added changelog entry for contract wrappersGreg Hysen2019-01-081-6/+2
|
* ran prettierGreg Hysen2019-01-081-17/+16
|
* dutch wrapper tests workingGreg Hysen2019-01-082-14/+22
|
* all dutchie wrapper tests passingGreg Hysen2019-01-081-64/+30
|
* Progress on dutch auction wrapper. Need to add auction data decoding to it.Greg Hysen2019-01-082-3/+73
|
* Dutch wrapperGreg Hysen2019-01-083-0/+162
|
* Minimize unnecessary type assertionsAmir Bandeali2019-01-081-80/+52
|
* feat: Add balance and allowance checks for MultiAssetProxyAmir Bandeali2019-01-081-45/+87
|
* feature(contract-wrappers): add support for Trust Wallet signature denial ↵Brandon Millman2018-12-212-2/+6
| | | | errors when trying to sense signature denial from a provider
* Update packages/contract-wrappers/src/types.tsFabio B2018-11-201-1/+1
| | | Co-Authored-By: LogvinovLeon <logvinov.leon@gmail.com>
* Add nonce to TxOptsLeonid Logvinov2018-11-207-0/+49
|
* address linter errorsFabio Berger2018-11-111-2/+0
|
* Move signature validation into ↵Fabio Berger2018-11-101-13/+2
| | | | OrderValidationUtils.validateOrderFillableOrThrowAsync
* Fix validateOrderFillableOrThrowAsync method so it also checks order ↵Fabio Berger2018-11-093-3/+37
| | | | signature, cancelled, cancelledUpTo, and throws helpful error messages
* Add note about tslint false positiveAlex Browne2018-10-272-0/+4
|
* fix(contract-wrappers): Fix tslint errors that were lingering due to ↵Alex Browne2018-10-249-28/+31
| | | | misconfiguration
* feat(contract-wrappers): relax requirement for throwing ↵Brandon Millman2018-10-242-2/+2
| | | | `ContractWrappersError.SignatureRequestDenied`
* feat(contract-wrappers): export ForwarderWrapperError and ↵Brandon Millman2018-10-234-1/+20
| | | | ContractWrapperError.SignatureRequestDenied
* chore: change package org from 0xproject to 0xJacob Evans2018-10-1822-78/+78
|
* Remove ContractNotFound errors in contract-wrappersAlex Browne2018-10-164-26/+0
|
* In contract-wrappers, remove setProvider and add unsubscribeAll method.Alex Browne2018-10-169-62/+6
|
* Update json-schemas for contract-wrappersAlex Browne2018-10-164-87/+22
|
* Add OrThrow suffix to getContractAddressesForNetworkAlex Browne2018-10-162-3/+2
|
* Fix bug introduced during rebaseAlex Browne2018-10-161-0/+1
|
* Fix failing doc generation testsAlex Browne2018-10-161-0/+2
|
* Fix linter errors in contract-wrappersAlex Browne2018-10-162-3/+4
|
* Improve error handling for unknown network ids in contract-wrappersAlex Browne2018-10-168-15/+30
|
* Apply various PR feedbackAlex Browne2018-10-167-23/+19
|
* Introduce new contract-addresses package and use it everywhereAlex Browne2018-10-1611-60/+136
|
* update contract_wrappers to use new artifacts and abi-gen wrappers packagesAlex Browne2018-10-1613-126/+142
|
* Remove artifacts from migrations package and update contract-wrappers ↵Alex Browne2018-10-1611-318/+129
| | | | accordingly
* Update contract-wrappers package to use new contracts package for generated ↵Alex Browne2018-10-1613-142/+104
| | | | files
* feat(contract-wrappers): add optional validation to the forwarder wrapperBrandon Millman2018-10-131-38/+84
| | | | | | | | Similar to the approach taken in exchange wrapper, make a call to an rpc node in order to simulate the transaction before actually sending the transaction. The decorator will parse revert reasons and other types of errors into canonical errors that a consumer of the library expects when interacting with a contract wrapper.
* Update the exported types for the packages which touch RPC providersJacob Evans2018-10-091-0/+1
|
* Throw and handle errors from Providers.Jacob Evans2018-10-091-1/+1
| | | | | | | 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 Evans2018-10-051-24/+3
| | | | | Create a helper back in EIP712Utils for code cleanup. Moved constants in order-utils into the constants object
* Add eth_signTypedData support to our wallet subprovidersJacob Evans2018-10-051-13/+22
|
* Fix linter issueLeonid Logvinov2018-10-027-9/+7
|
* merge developmentFabio Berger2018-09-253-6/+19
|\
| * Merge pull request #1037 from 0xProject/feature/forwarder-helper/sra-and-rpcFrancesco Agosti2018-09-243-6/+19
| |\ | | | | | | [asset-buyer] Create new AssetBuyer class
| | * Make ForwaderWrapper take in a number for feePercentage instead of BigNumberfragosti2018-09-193-6/+19
| | |
* | | Fix lint issuesFabio Berger2018-09-251-8/+8
| | |
* | | Decode logs received from blockstreamFabio Berger2018-09-251-4/+5
| | |
* | | Refactor blockstream integration to use the proper callback method interfaceFabio Berger2018-09-251-11/+29
|/ /
* | Add comments for clarityFabio Berger2018-09-241-0/+1
| |
* | Fix bug where if block wasn't found, getBlockAsync would throw. Now it ↵Fabio Berger2018-09-241-3/+14
|/ | | | returns `undefined`
* Update decoration errorFabio Berger2018-09-171-1/+1
|
* Merge https://github.com/0xProject/0x-monorepo into ↵fragosti2018-09-055-2/+192
|\ | | | | | | feature/website/update-portal-v2
| * Export abstract fetchersFabio Berger2018-09-051-0/+2
| |
| * Export missing typeFabio Berger2018-09-041-0/+1
| |
| * Add `validateFillOrderThrowIfInvalidAsync` and ↵Fabio Berger2018-09-042-2/+79
| | | | | | | | `validateOrderFillableOrThrowAsync` to ExchangeWrapper
| * Export fetchers from contract-wrappersFabio Berger2018-09-041-0/+3
| |
| * Move fetchers to contract-wrappersFabio Berger2018-09-042-0/+107
| |
* | Fix contract not deployed on network bug in ContractWrapper classBrandon Millman2018-08-311-1/+4
|/
* Export missing types and add OrderValidatorWrapper to hidden constructorsBrandon Millman2018-08-291-0/+3
|
* Add OrderValidatorWrapper to public interfaceBrandon Millman2018-08-281-0/+1
|
* Add getBalancesAndAllowances to wrapperBrandon Millman2018-08-281-0/+25
|
* Add params to all function commentsBrandon Millman2018-08-281-0/+12
|
* Add getERC721Owner to wrapperBrandon Millman2018-08-281-1/+13
|
* Update getOrdersAndTradersInfo to return an array insteadBrandon Millman2018-08-282-12/+12
|
* Add getBalanceAndAllowance to wrapperBrandon Millman2018-08-282-1/+25
|
* Add getTraderInfo and getTradersInfo to wrapperBrandon Millman2018-08-281-2/+27
|
* Add getOrderAndTraderInfoAsync to wrapperBrandon Millman2018-08-282-2/+24
|
* Initial OrderValidator wrapperBrandon Millman2018-08-284-0/+96
|
* Combine importsFabio Berger2018-08-271-2/+9
|
* Add/improve commentsFabio Berger2018-08-231-1/+1
|
* Fix remaining merge issuesFabio Berger2018-08-222-3/+5
|
* Merge development branchFabio Berger2018-08-222-0/+304
|\
| * Rename to Transaction Encoder.Jacob Evans2018-08-183-127/+301
| | | | | | | | Add tests for all encoding methods.
| * [Contract-wrappers] Exchange execute transaction encoderJacob Evans2018-08-162-0/+130
| |
* | Fix index.ts given fix in doc generationFabio Berger2018-08-221-12/+0
| |
* | Move types from sol-compiler to types so they can be used in other places ↵Fabio Berger2018-08-223-6/+3
| | | | | | | | without requiring sol-compiler as a dep
* | Add missing exports to 0x.js and contract-wrappers index.tsFabio Berger2018-08-211-0/+2
| |
* | Cleanup contract-wrappers index.tsFabio Berger2018-08-201-20/+30
| |
* | Remove outdating commentFabio Berger2018-08-176-12/+6
| |
* | Flesh out 0x.js index.ts and added some exports to other index.ts in the processFabio Berger2018-08-151-0/+1
| |
* | Merge developmentFabio Berger2018-08-1513-19/+374
|\|
| * fix contract-wrappers json-schemasfragosti2018-08-104-12/+12
| |
| * Rename to calldata utilsBrandon Millman2018-08-032-8/+8
| |
| * Add testsBrandon Millman2018-08-021-18/+19
| |
| * Create marketBuyOrdersOptimizationsBrandon Millman2018-08-023-8/+63
| |
| * Clarify ethAmount is in weiBrandon Millman2018-07-311-2/+2
| |
| * Add more assertionsBrandon Millman2018-07-313-6/+102
| |
| * Write initial test for forwarder_wrapperBrandon Millman2018-07-311-4/+4
| |
| * Add getOrdersInfo to exchange_wrapperBrandon Millman2018-07-312-3/+23
| |
| * Implement initial forwarder wrapperBrandon Millman2018-07-316-0/+183
| |
* | Add missing type exportsFabio Berger2018-08-071-0/+1
| |
* | Make signature_util into an object literal so related functions are rendered ↵Fabio Berger2018-08-031-2/+2
| | | | | | | | together in the docs
* | Add missing doc commentsFabio Berger2018-08-036-2/+55
| |
* | Remove all in-package monorepo-scripts by adding doc gen/upload and ↵Fabio Berger2018-07-301-8/+0
|/ | | | aggregate release note publishing to publish script
* Fix accidental import from test folderFabio Berger2018-07-261-1/+1
|
* Remove artifacts which should no longer be commitedFabio Berger2018-07-269-14598/+0
|
* Update artifacts in contract-wrappers, generate artifacts and improve READMEFabio Berger2018-07-269-3813/+14589
|
* Fix a bad mergeLeonid Logvinov2018-07-181-2/+2
|
* MergeLeonid Logvinov2018-07-181-9/+11
|
* Merge branch 'v2-prototype' into feature/order-watcher-v2Leonid Logvinov2018-07-185-19/+29
|\
| * Stop subscriptions from unsubscribing on recoverable network issuesFabio Berger2018-07-175-19/+29
| |
* | Export forgotten stuff from contract-wrappersLeonid Logvinov2018-07-131-3/+12
| |
* | Make getZRXAssetData not asyncLeonid Logvinov2018-07-131-3/+4
|/
* Merge pull request #863 from 0xProject/refactor/0x.jsFabio Berger2018-07-123-6/+9
|\ | | | | Refactor 0x.js
| * Add missing paramFabio Berger2018-07-121-0/+1
| |
| * Refactor 0x.js to V2Fabio Berger2018-07-123-3/+8
| |
| * Remove TokenRegistry from 0x.jsFabio Berger2018-07-122-3/+0
| |
* | Add explicit HACK comment when we import assertBrandon Millman2018-07-121-1/+1
|/
* Dedupe AssetProxyId typesLeonid Logvinov2018-07-094-9/+3
|
* Fix a typoLeonid Logvinov2018-07-091-1/+1
|
* Default shouldValidate to trueLeonid Logvinov2018-07-091-17/+17
|
* Add basic validation for exchange contract wrapperLeonid Logvinov2018-07-092-18/+159
|
* Add type for AssetProxyIdLeonid Logvinov2018-07-091-0/+5
|
* Add revert reason parsing to error handling decoratorLeonid Logvinov2018-07-092-0/+6
|
* Return AssetProxyId instead of string from proxy.getProxyIdAsync()Leonid Logvinov2018-07-092-4/+6
|
* Instantiate BlockAndLogStreamer with generic type parametersLeonid Logvinov2018-07-061-1/+1
|
* Fix testsLeonid Logvinov2018-07-062-30/+17
|
* Fix merge conflictsLeonid Logvinov2018-07-051-1/+1
|
* Adjust commentsLeonid Logvinov2018-07-051-114/+81
|
* Fix commentsLeonid Logvinov2018-07-051-5/+5
|
* Improve the commentLeonid Logvinov2018-07-051-1/+1
|
* Rename Proxie to ProxyLeonid Logvinov2018-07-051-1/+1
|
* Rename compact_artifacts to artifactsLeonid Logvinov2018-07-0510-9/+9
|
* Rearrange assertions t match parameter orderLeonid Logvinov2018-07-053-138/+109
|
* Fix match orders test and add a validation TODOLeonid Logvinov2018-07-051-1/+3
|
* Add Exchange contract wrapperLeonid Logvinov2018-07-053-3/+1040
|
* Pass through blockPollingInterval down to contract wrapperLeonid Logvinov2018-07-053-6/+21
|
* Export orderStatus and OrderInfoLeonid Logvinov2018-07-051-0/+2
|
* Add blockPollingInterval config to contractWrappers config typeLeonid Logvinov2018-07-051-0/+2
|
* Add contractWrappers.erc721Proxy.getproxyIdAsyncLeonid Logvinov2018-07-051-0/+9
|
* Add contractWrappers.erc20Proxy.getproxyIdAsyncLeonid Logvinov2018-07-051-0/+9
|
* Make it possible to configure block polling interval in base contract wrapperLeonid Logvinov2018-07-051-3/+6
|
* Add blockPollingIntervalMs as an optional field to contract-wrappers config ↵Leonid Logvinov2018-07-052-0/+2
| | | | schemas
* Add OrderInfo and OrderStatus to typesLeonid Logvinov2018-07-051-0/+16
|
* Add OrderTxOptsSchemaLeonid Logvinov2018-07-051-0/+8
|
* Update ABI in compact_artifactsLeonid Logvinov2018-07-053-86/+585
|
* Merge branch 'v2-prototype' into v2-contract-wrappers-WIPLeonid Logvinov2018-07-052-2/+122
|\
| * Merge branch 'v2-prototype' into eth-lightwallet-subprovider-finalJacob Evans2018-07-041-2/+11
| |\
| | * Update blockstream to latest version, propogate errors to top-level callersFabio Berger2018-07-041-2/+11
| | |
| * | Fix Tslint issuesFabio Berger2018-06-263-8/+7
| |/
* | Add isSubscriptionToken assertionLeonid Logvinov2018-06-294-0/+8
| |
* | Rename approved to approvedAddressLeonid Logvinov2018-06-291-2/+2
| |
* | Use removeUndefinedProperties for txOptsLeonid Logvinov2018-06-293-32/+55
| |
* | Rename getApprovedAsync to getApprovedIfExistsAsyncLeonid Logvinov2018-06-291-5/+5
| |
* | Add HACK commentsLeonid Logvinov2018-06-294-0/+8
| |
* | Add assertions for txOpts and methodOptsLeonid Logvinov2018-06-294-38/+75
| |
* | Remove tokenTransferProxyAddress from configLeonid Logvinov2018-06-292-10/+6
| |
* | Fix addresses in WETH9 and ZRX token artifactsLeonid Logvinov2018-06-292-2/+2
| |
* | Export newly refactored contracts from contract-wrappers and index.tsLeonid Logvinov2018-06-292-70/+50
| |
* | Refactor typesLeonid Logvinov2018-06-291-35/+21
| |
* | Implement ERC721 token wrapper and token transfer proxy with testsLeonid Logvinov2018-06-292-0/+512
| |
* | Refactor ERC20 token transfer proxy and it's testsLeonid Logvinov2018-06-291-25/+23
| |
* | Refactor ERC20 token wrapper and it's testsLeonid Logvinov2018-06-291-23/+23
| |
* | Refactor base contract-wrapper class to use new names, artifact format and ↵Leonid Logvinov2018-06-291-21/+13
| | | | | | | | only decode logs from that contract
* | Refactor EtherToken contract wrapper to use new names and artifacts formatLeonid Logvinov2018-06-291-19/+19
| |
* | Use new signature verification method in assertionsLeonid Logvinov2018-06-291-9/+12
| |
* | Remove unused params in filter_utilsLeonid Logvinov2018-06-291-13/+3
| |
* | Start unused parameter names with underscoreLeonid Logvinov2018-06-291-4/+4
| |
* | Remove old contracts and add new ones to/from artifacts.tsLeonid Logvinov2018-06-291-14/+19
| |
* | Remove exchange-related functionality for nowLeonid Logvinov2018-06-298-1665/+0
| |
* | Update compact_wrtifactsLeonid Logvinov2018-06-2914-1820/+3311
|/
* Fix typofragosti2018-06-151-1/+1
|
* Fix filling orders on Portalfragosti2018-06-156-4/+12
|
* Store the instantiated OrderValidationUtilsFabio Berger2018-06-121-2/+2
|
* Pass in generated contract wrapper to orderValidationUtils at instantiationFabio Berger2018-06-111-10/+25
|
* Refactor orderValidationUtils to use the generated contract wrapper instead ↵Fabio Berger2018-06-111-7/+11
| | | | of the higher-level one
* Refactor ExchangeTransferSimulator public interface to accet an ↵Fabio Berger2018-06-114-17/+59
| | | | AbstractBalanceAndProxyAllowanceLazyStore so that this module could be re-used in different contexts.
* Merge branch 'v2-prototype' into refactor/move-spawn-switch-to-utilsFabio Berger2018-06-0711-16/+16
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * v2-prototype: (66 commits) Run prettier Remove unused variable Fix linting issues Change shouldRenderHeader prop to shouldHideHeader Get build and tests to pass typo Apply prettier Update contracts tests after rebase Apply various fixes based on PR feedback Document debug_increaseTime method and fix typo in devnet README Use an enum for ProviderType in contracts/src/utils/web3_wrapper Update contracts package README Update relevant changelogs Remove global gas estimate buffer Add Async suffix to relevant assertions Fix linter errors Update package.json and yarn.lock Update more things to work with both Geth and Ganache Small fixes and cleanup Add additional gas to calls to fillOrderNoThrow ... # Conflicts: # packages/order-watcher/src/order_watcher/order_watcher.ts # packages/react-docs/src/components/type.tsx # packages/website/ts/components/ui/lifecycle_raised_button.tsx # packages/website/ts/components/wallet/wallet.tsx
| * Get build and tests to passfragosti2018-06-073-3/+9
| |
| * merge v2-prototypeFabio Berger2018-06-061-1/+1
| |\
| * | Linter now passesfragosti2018-06-066-0/+7
| | |
| * | Try enabling no-unused-variable...fragosti2018-06-059-18/+5
| | |
* | | Move spawnSwitchErr to @0xproject/utilsFabio Berger2018-06-061-3/+0
| |/ |/|
* | Mention the gasLimit until in the doc commentFabio Berger2018-06-051-1/+1
|/
* Fix TSLint rulesFabio Berger2018-05-164-6/+22
|
* Add missing type definitionsLeonid Logvinov2018-05-143-5/+5
|
* Remove unused methods and importsFabio Berger2018-05-112-31/+1
|
* Fix prettierFabio Berger2018-05-112-8/+2
|
* Merge branch 'development' into breakUp0xjsFabio Berger2018-05-111-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * development: Fix ganache subprovider config Fix a bug in compiler config precedence Fix linter errors Fix templates Remove unused deployer docs configs Add a legacy endpoint for the deployer Add a check for compiler output Add a comment Put ARTIFACTS_VERSION in a config Improve a comment Remove _applyDefaultsToDeployTxDataAsync Add a HACK comment Fix linter issues Rename deployer to sol-compiler Remove deployer Remove deployer from 0x.js and migrations Configure migrations with a compiler.json Remove deployer from metacoin and contract tests Update wallet footer and add remove token functionality # Conflicts: # .gitignore # packages/0x.js/package.json # packages/0x.js/src/0x.ts # packages/contracts/package.json # packages/contracts/test/multi_sig_with_time_lock.ts # packages/contracts/test/multi_sig_with_time_lock_except_remove_auth_addr.ts # packages/contracts/util/artifacts.ts # packages/deployer/test/deployer_test.ts # packages/migrations/package.json
* Rename zeroExContract... to contractWrappers...Fabio Berger2018-05-106-14/+14
|
* Add var returnsFabio Berger2018-05-102-6/+10
|
* Remove unneeded tslint disableFabio Berger2018-05-101-1/+0
|
* Remove generated contract wrappersFabio Berger2018-05-106-3842/+0
|
* Split 0x.js into contract-wrappers, order-watcher but keep 0x.js as a ↵Fabio Berger2018-05-1039-0/+8969
unifying library with the same interface