aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/blockchain.ts
Commit message (Collapse)AuthorAgeFilesLines
* 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