aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/blockchain.ts
Commit message (Collapse)AuthorAgeFilesLines
* fix(website): currentProvider called on undefinedBrandon Millman2018-11-151-1/+1
|
* fix(website): fix code splittingBrandon Millman2018-11-121-3/+3
|
* fix(website): prepare website for breaking MetaMask change for eip 1102Brandon Millman2018-10-311-61/+66
|
* fix(website): create correct subprovider for metamaskBrandon Millman2018-10-231-1/+1
|
* Remove old 0x.js from websiteFabio Berger2018-10-181-11/+5
|
* chore: change package org from 0xproject to 0xJacob Evans2018-10-181-7/+7
|
* Update website to use the new unsubscribeAll method in contract-wrappersAlex Browne2018-10-161-6/+5
|
* Apply various PR feedbackAlex Browne2018-10-161-2/+0
|
* Introduce new contract-addresses package and use it everywhereAlex Browne2018-10-161-11/+2
|
* Update testnet-faucets and website to work with new artifacts and abi-gen ↵Alex Browne2018-10-161-3/+17
| | | | wrappers
* Throw and handle errors from Providers.Jacob Evans2018-10-091-3/+9
| | | | | | | 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
* Introduce Metamask Subprovider.Jacob Evans2018-10-051-18/+4
| | | | 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
* Update everything to Coinbase Wallet instead of Toshifragosti2018-09-261-1/+1
|
* Fix order creation and fill flow in Portalfragosti2018-09-181-1/+1
|
* Fix minting for new tokens on testnetsfragosti2018-09-071-1/+22
|
* Merge branch 'feature/website/update-portal-v2' of ↵fragosti2018-09-051-7/+5
|\ | | | | | | https://github.com/0xProject/0x-monorepo into feature/website/update-portal-v2
| * Add back order validation logicFabio Berger2018-09-051-7/+5
| |
* | Use order parser utils from order utilsfragosti2018-09-051-2/+1
|/
* Update exchange ABI for decoding logsBrandon Millman2018-08-311-5/+1
|
* Remove LogError legacy stuffBrandon Millman2018-08-311-4/+0
|
* Update comment for validationBrandon Millman2018-08-311-1/+2
|
* Remove commented out blockBrandon Millman2018-08-311-20/+0
|
* Remove cancel checkBrandon Millman2018-08-311-7/+0
|
* Update generate and fill order flowsBrandon Millman2018-08-311-2/+11
|
* Token registry from old 0x versionBrandon Millman2018-08-311-9/+12
|
* Fix importBrandon Millman2018-08-311-1/+1
|
* Initial changes for v2 portalBrandon Millman2018-08-311-98/+101
|
* Remove TODOfragosti2018-07-191-1/+0
|
* Add lifecycle messagesfragosti2018-07-191-11/+13
|
* WIP for sending ether from portal (works)fragosti2018-07-191-0/+26
|
* Fix tslint issuesLeonid Logvinov2018-07-171-3/+7
|
* Merge branch 'v2-prototype' of https://github.com/0xProject/0x-monorepo into ↵fragosti2018-07-141-19/+12
|\ | | | | | | bug/website/txhash-error
| * Merge pull request #866 from 0xProject/feature/website/integrate-heapFrancesco Agosti2018-07-141-1/+1
| |\ | | | | | | Integrate Heap analytics into the website
| | * Integrate heap analyticsfragosti2018-07-121-1/+1
| | |
| * | Fix linter issuesFabio Berger2018-07-141-4/+3
| | |
| * | Export Web3ProviderEngine from subproviders packageFabio Berger2018-07-131-4/+4
| | |
| * | -fetch';Fabio Berger2018-07-131-10/+4
| |/
* | Refactor utils and add UNNKOWN environment typefragosti2018-07-131-1/+0
| |
* | Make error reporter not return a promise and add more environment possibilitiesfragosti2018-07-131-3/+3
|/
* Grab token registry information from our DB for mainnetBrandon Millman2018-07-111-3/+7
|
* Fix unsubscribe bugfragosti2018-07-101-1/+3
|
* Merge pull request #835 from 0xProject/feature/website/token-updatesBrandon Millman2018-07-071-1/+1
|\ | | | | Update token registry icons and asset picker flows
| * Update token registry icons and asset picker flowsBrandon Millman2018-07-071-1/+1
| |
* | Merge pull request #828 from 0xProject/feature/website/portal-improvementsBrandon Millman2018-07-071-4/+26
|\ \ | | | | | | Fix some portal bugs, and poll for best gas price
| * | address CR feedbackfragosti2018-07-071-2/+2
| | |
| * | Poll for gas prices and use fast instead of average for better UXfragosti2018-07-061-4/+26
| |/
* / Hard code exchange abiBrandon Millman2018-07-071-1/+6
|/
* Add missing undefined checkFabio Berger2018-07-041-0/+1
|
* remove console.logFabio Berger2018-07-041-1/+0
|
* Fix conditionalFabio Berger2018-07-041-3/+4
|
* Rename subprovider in blockchain.tsFabio Berger2018-07-041-2/+2
|
* Remove dep on Web3 in Website. Introduced InjectedWeb3 type.Fabio Berger2018-07-041-7/+17
|
* Add human readable names for Toshi and CipherBrandon Millman2018-07-031-0/+2
|
* Merge branch 'v2-prototype' of https://github.com/0xProject/0x-monorepo into ↵fragosti2018-06-291-5/+7
|\ | | | | | | feature/website/support-new-metamask
| * Remove isTracked field on token in favor of trackedTimestampBrandon Millman2018-06-291-5/+7
| |
* | Changing provider to ledger more consistent with previous experiencefragosti2018-06-281-3/+5
| |
* | Fix convention stufffragosti2018-06-281-15/+15
| |
* | Remove IS_MAINNET_ENABLED configfragosti2018-06-281-5/+2
| |
* | Rename all corresponding bools to shouldUseLedgerProviderfragosti2018-06-281-13/+13
| |
* | Remove unused variablesfragosti2018-06-271-9/+3
| |
* | Make unsubscribing workfragosti2018-06-271-1/+5
| |
* | Fix stateful ledger dialog edge statefragosti2018-06-271-2/+1
| |
* | Fix subtle issues with ledger config dialogfragosti2018-06-271-1/+1
| |
* | Ledger to metamask to ledger workingfragosti2018-06-271-20/+31
| |
* | Have basic network switching workingfragosti2018-06-261-110/+114
| |
* | Remove existing networkId watching logic from BlockchainWatcherfragosti2018-06-261-3/+3
|/
* Check network state immediately instead of waiting for delayBrandon Millman2018-06-191-3/+3
|
* Fix filling orders on Portalfragosti2018-06-151-0/+1
|
* Fix no-unused-variable tslint rule to include parameters and fix issuesFabio Berger2018-06-121-4/+4
|
* Address feedbackfragosti2018-06-051-3/+5
|
* Check transaction receipt status codes where applicableAlex Browne2018-05-241-1/+1
|
* Fix prettierLeonid Logvinov2018-05-241-1/+3
|
* Remove 0x.js as a dependency from websiteLeonid Logvinov2018-05-241-58/+60
|
* Merge branch 'development' into v2-prototypeFabio Berger2018-05-161-27/+30
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
| * Add missing type definitionsLeonid Logvinov2018-05-141-27/+30
| |
* | Fix zeppelin imports, run prettierAmir Bandeali2018-04-211-1/+3
|/
* Implement backendClient object to unify calls to the portal apiBrandon Millman2018-04-191-8/+8
|
* Remove legacy exportFabio Berger2018-04-131-1/+0
|
* Merge branch 'development' into feature/subproviders/mnemonic-wallet-subproviderJacob Evans2018-04-121-4/+22
|\
| * Refactor RedundantRpcSubprovider into RedundantSubproviderFabio Berger2018-04-061-4/+21
| |
* | Update website to support latest ledgerJacob Evans2018-04-111-8/+1
|/
* Move our contract templates to accept Provider instead of Web3WrapperLeonid Logvinov2018-04-041-3/+4
|
* Remove WETH hack now that updated WETH address is in TokenRegistryFabio Berger2018-03-271-21/+1
|
* Add error popover if TokenRegistry on network user is browsing on don't ↵Fabio Berger2018-03-251-0/+16
| | | | include the requisite default tokens for 0x Portal to function
* Consolidate all console.log into the @0xproject/utils packageBrandon Millman2018-03-141-4/+4
|
* Merge pull request #447 from 0xProject/refactorAnalyticsFabio Berger2018-03-121-11/+12
|\ | | | | Refactor Website Analytics
| * Refactor Analytics so that calls to ReactGA are all in a single module, ↵Fabio Berger2018-03-101-11/+12
| | | | | | | | combining the provider type util function, moving GA id to configs and using utils.onPageLoadAsync
* | Fix getTokenBalanceAndAllowanceAsync to take ownerAddressIfExists so that we ↵Fabio Berger2018-03-111-4/+7
| | | | | | | | don't sometimes pass an empty string and sometimes undefined
* | Fix userAddress bugsFabio Berger2018-03-111-8/+8
| |
* | Get rid of getFirstAccountIfExistsAsync since no longer neededFabio Berger2018-03-111-9/+4
| |
* | Refactor blockchain to store userAddress as address or undefinedFabio Berger2018-03-111-34/+63
| |
* | Create blockchainWatcher class and refactor Portal such that Ether amounts ↵Fabio Berger2018-03-101-18/+46
| | | | | | | | are always passed around as baseUnits
* | remove remaining declarationFabio Berger2018-03-091-1/+0
| |
* | Remove _exchangeAddress instance var from blockchain classFabio Berger2018-03-091-10/+1
|/
* Move Documentation to the `@0xproject/react-docs` packageFabio Berger2018-03-061-3/+11
|
* Move onPageLoadAsync to utilsFabio Berger2018-03-031-9/+1
|
* Rename _unsubscribeAll to unsubscribeAllLeonid Logvinov2018-02-271-1/+1
|
* Implement blockchain.portalOrderToZeroExOrderLeonid Logvinov2018-02-091-0/+20
|
* Address feedbackLeonid Logvinov2018-02-081-34/+0
|
* Remove hash from signatureDataLeonid Logvinov2018-02-081-8/+5
|
* Change the InjectedWeb3Subprovider to accept Web3.ProviderJacob Evans2018-02-031-1/+1
|
* Fix lint errorsBrandon Millman2018-01-311-1/+1
|
* Make default gasPrice more readableFabio Berger2018-01-311-1/+3
|
* Fix linter errorsFabio Berger2018-01-311-6/+3
|
* Pass in whether we want the personal message prefix appended and never ↵Fabio Berger2018-01-301-1/+14
| | | | append it for Ledger. This fixes signing when Ledger is used and the backing node is not Parity
* Wholesale replace the tokenByAddress and de-dup properlyFabio Berger2018-01-301-10/+14
|
* Call destroy ealier so that web3Wrapper stops polling for ↵Fabio Berger2018-01-301-2/+5
| | | | userAddress/networkId updates before we prep for the batchDispatch
* Remove the ability to clear tokenByAddress. It should simply be updated.Fabio Berger2018-01-301-1/+0
|
* Fetch default gasPrice from our ethGasStation API mirror and set it for all ↵Fabio Berger2018-01-291-3/+34
| | | | transactions
* Add missing entries for Ropsten and Rinkeby testnets, added Ropsten to ↵Fabio Berger2018-01-291-2/+2
| | | | Ledger network dropdown
* Add flash message instructing user to confirm tx on LedgerFabio Berger2018-01-291-0/+13
|
* Make it such that users can switch between Ledger accounts without first ↵Fabio Berger2018-01-291-2/+4
| | | | switching back to an injected provider
* Fix bug where could not switch to Ledger and backFabio Berger2018-01-291-19/+24
|
* Implement just-in-time loading of token balances & allowancesFabio Berger2018-01-281-40/+19
|
* Initial Ledger support implementationFabio Berger2018-01-281-107/+108
|
* Fix prettierLeonid Logvinov2018-01-181-10/+14
|
* Use intervalUtils.clearAsyncExcludingInterval instead of calling ↵Fabio Berger2018-01-181-3/+3
| | | | clearInterval directly for grepability
* Add missing onError callbacksFabio Berger2018-01-181-1/+5
|
* Fix ts error in portal after enabling more strict checksLeonid Logvinov2018-01-101-3/+3
|
* Fix linter errorsLeonid Logvinov2018-01-041-2/+1
|
* Use configured version of bignumber in all packagesLeonid Logvinov2018-01-041-1/+1
|
* Apply prettier configLeonid Logvinov2018-01-031-119/+130
|
* Add new underscore-privates rule to @0xproject/tslint-config and fix lint errorsBrandon Millman2017-12-201-178/+178
|
* Merge branch 'development' into createWethPageFabio Berger2017-12-201-46/+46
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * development: (27 commits) Remove re-assignment Fix scrolling topBar on Portal Fix overflow issue on calculated fillAmount Fix faulty import Introduce an identityCommandBuilder Define types for methodID Define types for ethereumjs-abi Install types for yargs Fix comments Fix linter issues Fix linter error Rename SubscriptionOpts to BlockRange Refactor remaining _.assign to spread operator Move muiTheme into it's own module Refactor configs and constants, standardize on uppercase/snakecase, alphebetize, rename for logical grouping Sort colors into color spectrum remove unused style standarize on `grey` over `gray` spelling and other color related fixes Standardize colors to always be in uppercase hex and consolidate material-ui greys Consolidate all custom colors and material-ui colors into a colors module ... # Conflicts: # packages/website/ts/components/eth_wrappers.tsx # packages/website/ts/components/portal.tsx # packages/website/ts/utils/configs.ts # packages/website/ts/utils/constants.ts
| * Merge branch 'development' into refactor/websiteFabio Berger2017-12-201-3/+3
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * development: Introduce an identityCommandBuilder Define types for methodID Define types for ethereumjs-abi Install types for yargs Fix comments Fix linter issues Fix linter error Rename SubscriptionOpts to BlockRange
| | * Rename SubscriptionOpts to BlockRangeLeonid Logvinov2017-12-191-3/+3
| | |
| * | Merge branch 'development' into refactor/websiteFabio Berger2017-12-191-4/+4
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * development: Add additional public changes introduced to changelog Update CHANGELOG Add a comment Introduce a variable for true Remove redundant template string Implement the address derivations Add hdnode dependency Move web3 import after subprovider imports in test web3_factory Fixed https://github.com/0xProject/wiki/issues/19 by disabling re-rendering of markdownCodeBlock renderer if props haven't updated Add convenience `rebuild` command Update website calls to deposit/withdraw Add entry to CHANGELOG Fix tests in contracts Modify the etherToken wrapper methods to accept an etherTokenAddress as the first arg. Since it is becoming apparent we will be updating the canonical WETH contract, we want users of 0x.js to be able to interact with n number of etherTokens without re-instantiating for each one. Fix documentation issue where `unsubscribeAll` shown as method on every contractWrapper instance even though it's only used by Exchange and Token wrappers. # Conflicts: # packages/website/ts/components/eth_weth_conversion_button.tsx
| | * Update website calls to deposit/withdrawFabio Berger2017-12-181-4/+4
| | |
| * | Refactor configs and constants, standardize on uppercase/snakecase, ↵Fabio Berger2017-12-191-20/+20
| | | | | | | | | | | | alphebetize, rename for logical grouping
| * | Replace remaining strEnums with property TS string enumsFabio Berger2017-12-181-15/+15
| | |
| * | Update first two string enums to native typeFabio Berger2017-12-181-4/+4
| |/
* | Add airtable tasks to TODO'sFabio Berger2017-12-191-0/+3
| |
* | Temporarily pretend as if new WETH contracts are already whitelisted by ↵Fabio Berger2017-12-181-6/+11
| | | | | | | | tokenRegistry and put hacks behind the shouldDeprecateOldWethToken flag
* | Update to passing etherTokenAddress into withdraw and deposit callsFabio Berger2017-12-181-4/+4
|/
* Temporary hack to alleviate issues with updating tokenRegistry with new WETH ↵Fabio Berger2017-12-161-1/+14
| | | | address
* Fix website unused varsLeonid Logvinov2017-12-151-11/+1
|
* Reuse intervalutils in websiteLeonid Logvinov2017-12-151-3/+3
|
* Don't unsubscribe on error. It's done automaticallyLeonid Logvinov2017-12-121-6/+3
|
* Merge branch 'development' into feature/addSubprovidersFabio Berger2017-12-091-3/+3
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * development: Update README.md Inline network module Stop supporting different file extensions in abi-gen Refactor networkId out of web3Wrapper Update connect types in preperation for publishing Fix CI command Address feedback Refactor web3Wrapper to a separate package # Conflicts: # package.json # packages/website/ts/blockchain.ts
| * Merge branch 'development' into feature/web3-wrapperLeonid2017-12-081-5/+10
| |\
| * | Refactor web3Wrapper to a separate packageLeonid Logvinov2017-12-071-3/+3
| | |
* | | Merge branch 'development' into feature/addSubprovidersFabio Berger2017-12-081-5/+10
|\ \ \ | | |/ | |/| | | | | | | | | | * development: Make sure we don't pass empty maker into getOrderHashHex Make sure we always pass in the correct networkId even if no injectedWeb3 found
| * | Make sure we always pass in the correct networkId even if no injectedWeb3 foundFabio Berger2017-12-081-5/+10
| |/
* | Merge branch 'development' into feature/addSubprovidersFabio Berger2017-12-071-1/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * development: Inline function Introduce a const Make private Add version matcher script Use same versions of dependencies everywhere Add missing await Move declaration into proper conditional block Fix Party element so that an identicon's height is that which was passed in # Conflicts: # packages/website/package.json # yarn.lock
| * Move declaration into proper conditional blockFabio Berger2017-12-061-1/+1
| |
* | Use subproviders subpackage in website and remove old subprovidersFabio Berger2017-12-061-21/+23
|/
* Fix tslint errorFabio Berger2017-11-291-1/+1
|
* Last remaining website fixesFabio Berger2017-11-281-7/+9
|
* Fix tslint issuesFabio Berger2017-11-281-142/+102
|
* Fix subscriptions given latest changes to 0x.jsFabio Berger2017-11-241-4/+5
|
* Fix bugFabio Berger2017-11-241-2/+2
|
* Upgrade to latest 0x.js version and refactor subscriptions to use latest ↵Fabio Berger2017-11-231-24/+40
| | | | interface
* Add website to mono repo, update packages to align with existing ↵Fabio Berger2017-11-221-0/+770
sub-packages, use new subscribeAsync 0x.js method