Dan Finlay
443b1a8eb7
Remove keyring controller from project
7 years ago
kumavis
dd45592641
metamask - use provider-engines block tracker
7 years ago
Dan Finlay
128cf40f91
Fix accont-tracker merge bug
7 years ago
Dan Finlay
f01b0a818b
Fix account-tracker references
7 years ago
Dan Finlay
d2a747e57e
Fix computed-balances controller reference
7 years ago
Dan Finlay
11c8c07bfc
Refactor eth-store into account-tracker
...
EthStore was only being used for tracking account balances and nonces now, so I removed its block-tracking duties, renamed it account-tracker, and removed it as a dependency from `KeyringController`, so that KRC can go live on without a hard dep on it.
7 years ago
Dan Finlay
977405fc7d
Remove dead code from eth-store
7 years ago
Dan Finlay
08b36b9b58
Allow metamaskController to define keyring types
7 years ago
Dan Finlay
4c971ebfd1
Define encryptor in constructor params instead of platform object
7 years ago
kumavis
0a5ae39509
bug - fix event emitter mem leak warning
7 years ago
Dan Finlay
e9043f22df
Allow custom encryptor to be passed to MetaMaskController and KeyringControllers.
7 years ago
frankiebee
14b9d16ece
platforms: put context for extension in platform extension class
7 years ago
frankiebee
bfd75107f1
add context to platform to not have X-Metamask-Origin in mascara
7 years ago
Kevin Serrano
bd8428e9ed
Comply with current currency API and add additional styling.
7 years ago
Dan Finlay
2b7b1db851
Do not mark a retry tx failed that has been broadcast successfully
...
Fixes #2115
If a tx has been braodcast, the only failures we should accept are:
- Never mined
- On chain failure
We had a section of code that would mark a tx failed during any unknown error during a retry.
Now no retry > 1 will ever mark a tx failed, since it has been broadcast, and may be mined.
7 years ago
kumavis
d7097db022
createOriginMiddleware - fix var name
7 years ago
kumavis
765ef64061
metamask controller - destroy filter polyfill on disconnect
7 years ago
kumavis
245c0f0c27
metamask controller - move middleware into seperate files
7 years ago
Dan Finlay
a01921758b
Add computed balance to account detail view
7 years ago
Dan Finlay
86cd4e4fed
Got pending balance updating correctly
7 years ago
frankiebee
77a48fb0b1
ensure that values written to txParams are hex strings
7 years ago
Dan Finlay
e4d7fb2447
Add state-labeled events to allow subscribing to any transaction's state change
7 years ago
kumavis
96d1175834
debug - prefer logger over console
7 years ago
kumavis
a265144176
metamask cont - standardize multiplex stream naming
7 years ago
Chi Kei Chan
8b5f2a95df
Improve styling in Confirmation Screen; Show decoded send token data
7 years ago
Dan Finlay
53a467cd1e
Some progress
7 years ago
frankiebee
9e0c0745ab
linting && format fixing
7 years ago
frankiebee
3ad67d1b14
match other controller patterns
7 years ago
Chi Kei Chan
7eb6dae418
Added signTokenTx; Adding token confirmation screen
7 years ago
kumavis
8545453a9d
contentscript - fix obj-multiplex instantiation and use pump for streams
7 years ago
frankiebee
62f26c5ba8
fix miss type
7 years ago
frankiebee
9b9df41724
more tests and craete a getPendingTransactions function
7 years ago
kumavis
d03b0547bb
inpage provider - define sendAsync on the prototype
7 years ago
kumavis
ef3bf810bf
inpage - use obj-multiplex module
7 years ago
kumavis
70401626e2
lint - remove dead code
7 years ago
kumavis
9d4c02e57f
metamask - add jsonrpc filter middleware on per-connection engine
7 years ago
kumavis
0e8e655fdb
inpage - distinguish pump vs pipe
7 years ago
kumavis
57e4805c62
streams - use pump and published obj-multiplex
7 years ago
Dan Finlay
d4d7c6d89e
Linted
7 years ago
Dan Finlay
fadc0617df
Make tx calculations account for gas prices
7 years ago
Dan Finlay
c616581001
Remove logs
7 years ago
Dan Finlay
a95a3c7e4f
Fix balance calc test
7 years ago
Dan Finlay
74c6de7d23
Add constructor comment
7 years ago
Dan Finlay
7b92268428
Fix valueFor test
7 years ago
Dan Finlay
4058574436
Add basic test for valueFor
7 years ago
Dan Finlay
b6e8791bc2
test not passing
7 years ago
kumavis
440a42bbc3
inpage - add idRemapMiddleware
7 years ago
frankiebee
50075c6df5
fix messy merge
7 years ago
frankiebee
00fca4f1f2
remove unused variable
7 years ago
Dan Finlay
74f7fc4613
Check balances in parallel
7 years ago