Dan J Miller
480512d14f
Swaps support for local testnet ( #10658 )
...
* Swaps support for local testnet
* Create util method for comparison of token addresses/symbols to default swaps token
* Get chainId from txMeta in _trackSwapsMetrics of transaction controller
* Add comment to document purpose of getTransactionGroupRecipientAddressFilter
* Use isSwapsDefaultTokenSymbol in place of repeated defaultTokenSymbol comparisons in build-quote.js
4 years ago
Dan J Miller
153bbc6053
Move swaps constants to the shared constants directory ( #10614 )
4 years ago
Brad Decker
3d4dfc74a8
prefer chainId over networkId in most cases ( #10594 )
4 years ago
Brad Decker
2ed5bafa11
remove transactionCategory in favor of more types ( #10615 )
...
* remove transactionCategory in favor of more types
* remove reference to STANDARD in stubs
4 years ago
David Walsh
ffeaeea4b1
Disable BUY button from home screen when not on main network ( #10453 )
4 years ago
Erik Marks
e48053a6d5
Add custom network RPC method ( #9724 )
...
Co-authored-by: Erik Marks <25517051+rekmarks@users.noreply.github.com>
Co-authored-by: Brad Decker <git@braddecker.dev>
4 years ago
Erik Marks
76a2a9bb8b
@metamask/eslint config@5.0.0 ( #10358 )
...
* @metamask/eslint-config@5.0.0
* Update eslintrc and prettierrc
* yarn lint:fix
4 years ago
Erik Marks
4fef2b7443
Add MAX_SAFE_CHAIN_ID and refactor chain ID validation ( #10224 )
...
* Add MAX_SAFE_CHAIN_ID constant
* Add isSafeChainId to shared utils module
* Move isPrefixedFormattedHexString to shared utils module
* Validate custom RPC chain IDs in network controller
* Update some network controller error messages.
* Add isSafeChainId validation to UI
4 years ago
Erik Marks
7077ee68dc
Add NETWORK_TYPE_RPC constant ( #10203 )
...
* Refactor network display props
* Add NETWORK_TYPE_RPC constant
* Consolidate network constants
4 years ago
Erik Marks
90289ec22a
Further improve organization of constants ( #10200 )
4 years ago
Erik Marks
54e9c53b27
Add web3 shim usage notification ( #10039 )
...
* Add web3 shim usage alert background state and logic
* Cleanup alert background state, constants
* Implement web3 shim usage notification and settings
* nodeify alert controller background hooks
* Remove svg icon, again
* Tweak alert controller initialization
* Add support article URL
* Un-thunk alert UI "actions"
* Delete connect.svg file (unused)
4 years ago
Brad Decker
0653a489b0
add new MetaMetricsController ( #9857 )
4 years ago
Erik Marks
9d4b8a4903
@metamask/contract-metadata ( #9968 )
4 years ago
Brad Decker
daf783a0d8
Track a new schema event when adding a token ( #9810 )
...
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
4 years ago
Brad Decker
a49a4a066c
expand transaction constants coverage ( #9790 )
...
* expand transaction constants coverage
* touchups
* dont import inside of e2e
* Update app/scripts/controllers/transactions/tx-state-manager.js
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
* Update test/unit/app/controllers/transactions/tx-controller-test.js
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
4 years ago
Brad Decker
026a06b39d
add shared transaction constants ( #9459 )
...
Co-authored-by: Erik Marks <25517051+rekmarks@users.noreply.github.com>
4 years ago