Commit Graph

597 Commits

Author SHA1 Message Date
Victor Baranov d14597f7e4 merge with develop branch 2019-01-29 00:13:00 +03:00
Victor Baranov 5145fd0f3d
Merge branch 'develop' into trezor-ledger 2019-01-28 23:40:00 +03:00
Victor Baranov 6079160cc7 merge with develop branch 2019-01-28 23:09:53 +03:00
Victor Baranov ffda17dbc3 Merge branch 'develop' into add-rsk 2019-01-28 22:54:50 +03:00
Victor Baranov d3755f4aa9 Merge remote-tracking branch 'origin/develop' into trezor-ledger 2019-01-28 22:49:58 +03:00
Victor Baranov 53e61e31fd
Merge pull request #250 from poanetwork/multiple-trezor-accs
(Feature) Support of multiple accounts from Trezor HD wallet for single session
2019-01-28 22:39:21 +03:00
Victor Baranov 9d50bc9a34 check if this.props.renderAdditionalData is set 2019-01-25 16:57:55 +03:00
Victor Baranov 62b969796a Linter fixes 2019-01-25 16:39:02 +03:00
Victor Baranov 6a3a9a4d54 checkbox remove or keep imported accounts on forgetting device 2019-01-25 16:22:47 +03:00
Victor Baranov 4d2941bffb Confirm screen for forgetting device 2019-01-24 20:50:19 +03:00
Victor Baranov 4d7107ce6b TREZOR and LEDGER enums source 2019-01-24 13:14:29 +03:00
Victor Baranov 5ca2e2e55a TREZOR and LEDGER enums 2019-01-24 13:14:09 +03:00
Victor Baranov e79c51b23c Check that imported proxy contract has implemetation getter 2019-01-23 19:06:57 +03:00
Victor Baranov 5dccb58a7c Fix e2e tests 2019-01-23 16:06:14 +03:00
Victor Baranov c7a3f6c499 e2e tests for updateABI menu item, refactoring of accounts-dropdow source code 2019-01-22 19:01:43 +03:00
Victor Baranov 54eae91265 e2e tests for importing of delegateProxy contract, refactoring of e2e tests: dividing test cases to separate files, updateABI menu item for delegateProxy type 2019-01-21 20:59:21 +03:00
Victor Baranov d96d9ac3dc
Merge pull request #249 from poanetwork/textarea-for-array-fields
(Feature) Textarea instead of input for array type outputs in contract calls
2019-01-18 20:19:21 +03:00
Victor Baranov f2f40c33ed Remove depreciated code 2019-01-18 16:09:49 +03:00
Victor Baranov 1dfdb941b1 Trezor API v 6.0.3 2019-01-18 16:03:30 +03:00
Victor Baranov 901afe5dc8 Retrieive ABI for implementation of proxy contract 2019-01-17 23:50:32 +03:00
Victor Baranov 19d4c1349f Refactor importing of accounts: enums, helpers are added, react-hyperscript to JSX 2019-01-16 18:48:28 +03:00
Victor Baranov 212a873977 merge with develop branch 2019-01-16 16:04:57 +03:00
Victor Baranov a383a791fc Merge branch 'develop' of github.com:poanetwork/nifty-wallet into multiple-hardware 2019-01-16 13:26:53 +03:00
Victor Baranov 30b4157c30 Spread attributes in component 2019-01-15 17:23:26 +03:00
Victor Baranov 5417c89ae6 Textarea for array outputs in contract calls 2019-01-15 17:11:09 +03:00
Victor Baranov c9c8cc0eb9 Merge with develop branch 2019-01-15 15:50:41 +03:00
Victor Baranov defa777050 Fix validation for calling data from contract 2019-01-14 19:13:35 +03:00
Victor Baranov afc0599c5a Expand utils unit tests to old_ui folder 2019-01-11 18:03:32 +03:00
Victor Baranov 2f8afe3af3 e2e tests update to support RSK network, `buy Ether` button is renamed to `buy ${coinName}`, style fix of error in Buy screen 2019-01-11 16:17:27 +03:00
Victor Baranov 97c347ee2d RBTC exchange rate for mainnet and 0 exchange rate for testnet 2019-01-10 21:01:33 +03:00
Victor Baranov 8ca839d45d ESLint fix 2019-01-10 20:26:39 +03:00
Victor Baranov 966060868f make RSK testnet tx is not clickable 2019-01-10 20:24:02 +03:00
Victor Baranov 47a7866509 Add RSK testnet/mainnet to the list of networks 2019-01-10 19:59:43 +03:00
Victor Baranov 8622981e08
Merge branch 'develop' into multiple-hardware 2018-12-29 14:26:47 +03:00
Victor Baranov 0b2fb88812 catch in getAllOwners 2018-12-28 23:04:53 +03:00
Victor Baranov 29309d63d9 Merge branch 'multiple-hardware' of github.com:poanetwork/nifty-wallet into multiple-hardware 2018-12-28 16:44:48 +03:00
Victor Baranov 5b7010f790 Toast instead of error if Ledger is not unlocked 2018-12-28 16:44:17 +03:00
Victor Baranov 07b1695df9
Merge branch 'develop' into multiple-hardware 2018-12-28 15:34:50 +03:00
Victor Baranov 56759f28e8 Open accounts page despite HD is not connected 2018-12-28 14:13:12 +03:00
Victor Baranov 83b90b775d Remove selection of currently unlocked HD account in HD accounts list by default 2018-12-28 13:37:59 +03:00
Victor Baranov 204865b80b Unlock ledger HD account on changing account in dropdown list 2018-12-27 21:39:41 +03:00
dennistikhomirov 418efd3ccc e2e:merge with PR#238-unlock back contract account 2018-12-26 23:44:02 -08:00
Victor Baranov 31a5f7d8e4 check checkbox for selected account 2018-12-26 19:21:56 +03:00
Victor Baranov 291089de42 empty owners var fix 2018-12-26 18:23:18 +03:00
Victor Baranov b95904687d eslinter fix 2018-12-26 18:04:25 +03:00
Victor Baranov 4b0c8456d2 Fix for Ledger Live option 2018-12-26 17:54:32 +03:00
Victor Baranov 2b1e7fdbdf Merge remote-tracking branch 'origin/develop' into change-to-contract-acc-after-execution 2018-12-26 16:13:34 +03:00
Victor Baranov 1314294b1c Merge remote-tracking branch 'origin/develop' into contract-executors-reorder 2018-12-26 16:12:48 +03:00
Victor Baranov 67466deb02
Merge pull request #229 from poanetwork/bool-select
(Feature) Select input for Boolean type for contract type acc
2018-12-26 16:09:57 +03:00
Victor Baranov a44824a8b6 Merge remote-tracking branch 'origin/develop' into contract-executors-reorder 2018-12-26 15:54:04 +03:00
Victor Baranov 7ef163b741 Merge remote-tracking branch 'origin/develop' into change-to-contract-acc-after-execution 2018-12-26 15:50:54 +03:00
Victor Baranov 887b45df0c
Merge branch 'develop' into copy-abi 2018-12-26 15:18:28 +03:00
Victor Baranov 42f2af1711
Merge branch 'develop' into bool-select 2018-12-26 15:17:35 +03:00
Victor Baranov f3dd598110 eslinter, unit tests fixes 2018-12-25 19:33:58 +03:00
Victor Baranov 5d74c1765c Reorder method executors: owners are first 2018-12-25 18:49:26 +03:00
Victor Baranov d3aec77925 add isContractExecutionByUser to prop types validation 2018-12-25 16:07:31 +03:00
Victor Baranov eca9e0e4ff rememeber, that tx is from imported contract on `Buy ether` click 2018-12-25 00:28:07 +03:00
Victor Baranov 11e2ad4e89 props.isContractExecutionByUser to buyView 2018-12-24 23:59:14 +03:00
Victor Baranov 0a82973bee unlock contract acount on rejecting/accepting contract execution transaction 2018-12-24 19:22:14 +03:00
Dan J Miller 6d00f085a8 get cached balances feature from upstream 2018-12-24 15:39:03 +03:00
Victor Baranov c499a78dbe remove key prop from bool input 2018-12-24 12:16:12 +03:00
Victor Baranov 592fc7254e remove console.log 2018-12-21 20:04:07 +03:00
Victor Baranov a8bc88518c merge with develop branch 2018-12-21 15:28:10 +03:00
Victor Baranov dd109d98fb Merge remote-tracking branch 'origin/develop' into execute-button 2018-12-21 15:24:04 +03:00
Victor Baranov 4fa75b061f merge with develop branch 2018-12-21 15:23:10 +03:00
Victor Baranov 6094d02575
Merge pull request #226 from poanetwork/hardware-label
(Feature) Label for hardware acc
2018-12-21 15:19:27 +03:00
Victor Baranov 43cb6a2762 Copy contract ABI 2018-12-21 00:22:50 +03:00
Victor Baranov 2d361f7a59 Execute methods button for contract type 2018-12-21 00:00:20 +03:00
Victor Baranov ba833b5f54 merge with develop branch 2018-12-20 22:51:30 +03:00
Victor Baranov 2f89dfc5bb onChange input handler fix 2018-12-20 16:43:38 +03:00
Victor Baranov fcfb3e635d Select for bollean in interactions with smart-contracts 2018-12-19 19:57:34 +03:00
Victor Baranov 77d42f3bca Select in put for boolean type 2018-12-19 19:44:04 +03:00
Victor Baranov fd35ebed88 Hardware label 2018-12-19 18:23:56 +03:00
Victor Baranov cd8b1e61fc typo 2018-12-18 20:15:43 +03:00
Victor Baranov d4c80829b0 eslint fix 2018-12-18 20:14:38 +03:00
Victor Baranov c2734f1c68 bytes input is not a mandatory to fill 2018-12-18 20:12:34 +03:00
Victor Baranov ea9b54806f eslint fix and int type support 2018-12-18 19:51:02 +03:00
Victor Baranov f46bb26b5d handle bignumbers 2018-12-18 19:42:47 +03:00
Victor Baranov f5b5652569 Handle bool input 2018-12-18 18:51:41 +03:00
Victor Baranov fed6cee26e FF scroll appearance fix 2018-12-14 20:29:38 +03:00
Victor Baranov 267807fede copy icons for output fields 2018-12-14 20:14:12 +03:00
Victor Baranov 71eaa0458f Support of various output types fixes 2018-12-14 20:03:11 +03:00
Victor Baranov bfba6348ff Merge remote-tracking branch 'origin/develop' into contract-call-multiple-outputs 2018-12-12 13:55:15 +03:00
Victor Baranov 715668a1b6 go to Choose account page if encodeFunctionCall is successful 2018-12-11 23:49:29 +03:00
Victor Baranov 898672b530 multiple outputs support 2018-12-10 19:35:22 +03:00
Victor Baranov 7028652dbc remove unused props from send-contract 2018-12-07 21:19:42 +03:00
Victor Baranov 5ccda3c9a4 Copy ABI encoded function call 2018-12-07 19:57:11 +03:00
Victor Baranov aaf746862c Copy of abi button 2018-12-07 11:53:14 +03:00
Victor Baranov 848e4c81ee disabling of import 2018-12-07 11:35:25 +03:00
Victor Baranov a9d19b4044 Contract ABI is from Blockscout API, contract address validation 2018-12-06 20:30:25 +03:00
Victor Baranov 3b55292880 refactor of componentDidUpdate for accounts-dropdown 2018-12-06 00:15:54 +03:00
Victor Baranov 8bc4412981 eslint fix: Multiple spaces found before '{' 2018-12-05 23:41:51 +03:00
Victor Baranov 842e6a39a4 Fix: Issue is still here, error message if attempt to add custom token but this token has been imported as contract account 2018-12-05 22:45:15 +03:00
Victor Baranov 6e37fef40d Fix: Custom token detection failed if token contract's account has been imported to NW 2018-12-05 19:45:01 +03:00
Victor Baranov 7b5dcbb0d4 Fix: Account menu: green labels have different sizes for imported and contract values 2018-12-05 18:26:58 +03:00
Victor Baranov 27c100e0ac fix: Second call of the method balanceOf() leads to error message 2018-12-05 18:21:11 +03:00
Victor Baranov 93485f2312 Fixes for removing of simple address type 2018-12-05 15:04:53 +03:00
Victor Baranov 2546ed374b Various fixes from review 2018-12-05 14:22:50 +03:00
Victor Baranov 6af70ad914 disable nex button if account executor has not been chosen 2018-12-05 01:32:02 +03:00
Victor Baranov 667108af89 use ifContractAcc() util function 2018-12-05 00:58:25 +03:00
Victor Baranov a91e7dcdd2 change error style: an error is in font of everything at the page 2018-12-05 00:49:44 +03:00
Victor Baranov c26b3e4c9b styles fix && handling of hardware wallets 2018-12-05 00:06:23 +03:00
Victor Baranov 49605eedce eslint suggestion 2018-12-04 21:44:30 +03:00
Victor Baranov 480294d8f9 switch between networks fix 2018-12-04 21:37:51 +03:00
Victor Baranov c65b7c2275 Handle different contracts with the same address on different networks 2018-12-04 21:23:21 +03:00
Victor Baranov 3e3371a4b8 unit tests for added components 2018-12-04 18:29:47 +03:00
Victor Baranov 7972c49196 tests for new util funcs 2018-12-04 15:13:17 +03:00
Victor Baranov 82b8c2f6d8 rename getMultisig to getContract 2018-12-04 13:38:03 +03:00
Victor Baranov b51f65d0bd Merge remote-tracking branch 'origin/enhance-rpc-validation' into import-multisig 2018-12-04 13:37:32 +03:00
Victor Baranov 2d49078bee return back to multisig methods page ability 2018-12-03 18:39:18 +03:00
Victor Baranov 58cbe669ca Set selected sender address for multisig 2018-12-03 16:35:16 +03:00
Victor Baranov e592140471 choose multisig owner acc 2018-11-30 21:19:55 +03:00
Victor Baranov c17688f78c change network: multisig nadling 2018-11-30 17:10:58 +03:00
Victor Baranov ecf9951e83 encode multisig method and prepare tx 2018-11-29 20:52:24 +03:00
Victor Baranov 15efe097c4 fix error messages on invalid custom RPC 2018-11-28 20:54:12 +03:00
Victor Baranov 81178e94e9 refactor rpcValidation function 2018-11-28 20:28:08 +03:00
Victor Baranov df2286abdd Import multisig account option 2018-11-28 20:19:20 +03:00
Victor Baranov 337b9f1ffb remove arrow function for rpcValidation 2018-11-27 15:52:30 +03:00
Victor Baranov 768a065a15 custom RPC validation: JSON RPC request instead of HTTP request 2018-11-27 15:27:11 +03:00
Victor Baranov 3114d1aa27
Merge pull request #207 from poanetwork/token-balance-leading-zero
(Fix) Format of token balance in the tokens list
2018-11-26 22:29:53 +03:00
Victor Baranov 8d82e79a7a
Merge pull request #205 from poanetwork/hd-hide-export-private-key-option
(Feature) Hide export private key option for HD wallet
2018-11-26 22:10:24 +03:00
Victor Baranov 40cc45253e Format of token balance in the tokens list 2018-11-23 20:39:56 +03:00
Victor Baranov 0fce30d743 Allow 0 decimals fix 2018-11-23 20:13:16 +03:00
Victor Baranov fd7a71424f Hide export private key option for HD wallet 2018-11-23 17:23:51 +03:00
Victor Baranov 744a6c65a1 e.trim is not a function fix 2018-11-23 16:03:01 +03:00
Victor Baranov 256e585274 Refactor: remove duplicated capitalizeDevice function 2018-11-21 14:49:25 +03:00
Victor Baranov d0c4220a93 Merge remote-tracking branch 'origin/develop' into hw-support 2018-11-14 18:06:19 +03:00
Victor Baranov 8376da35ac countSignificantDecimals to /old-ui/app/util 2018-11-13 22:55:14 +03:00
Victor Baranov cff599d0ee Merge branch 'display-non-zero-fiat' of github.com:poanetwork/nifty-wallet into display-non-zero-fiat 2018-11-13 22:24:53 +03:00
Victor Baranov eadb36c307 countSignificantDecimals to util 2018-11-13 22:23:43 +03:00
Gerardo Nardelli 629f377f05
Update old-ui/app/components/fiat-value.js
var -> const

Co-Authored-By: vbaranov <baranov.viktor.27@gmail.com>
2018-11-13 21:51:06 +03:00
Gerardo Nardelli 41e9324220
Update old-ui/app/components/fiat-value.js
var -> let

Co-Authored-By: vbaranov <baranov.viktor.27@gmail.com>
2018-11-13 21:50:38 +03:00
Victor Baranov a33ba78ff1 Handle empty identity, handle error on removing of previosly deleted keyring acc, correct handle of error if it is an object 2018-11-13 12:50:27 +03:00
Victor Baranov 26ec76666f Update func countSignificantDecimals(...) description 2018-11-12 16:24:52 +03:00
Victor Baranov 42b008a613 eslinter fixes 2018-11-12 16:16:58 +03:00
Victor Baranov cf6a91e26e display non-zero fizt value 2018-11-12 15:30:37 +03:00
Victor Baranov af587d98ab Merge remote-tracking branch 'origin/develop' into hw-support 2018-11-09 23:44:28 +03:00
Victor Baranov 391c6a650c Return back updates for updateTokenInfo func 2018-11-09 17:40:22 +03:00
Victor Baranov 948d428c81 Return back updates for updateTokenInfo func 2018-11-09 17:39:42 +03:00
Victor Baranov c3156d06ba Check that pending tx is not token transfer 2018-11-09 17:37:18 +03:00
Victor Baranov 7add17a684 Remove MM warning and fix white pending tx page 2018-11-09 16:16:16 +03:00
Victor Baranov 33f8ea21c3 Merge remote-tracking branch 'origin/develop' into hw-support 2018-11-08 17:28:19 +03:00
Victor Baranov c17f3e28ff Remove unused prop types 2018-11-08 15:17:14 +03:00
Victor Baranov fcde550589 map to forEach 2018-11-08 14:27:56 +03:00
Victor Baranov cd897b5777 Remove console logging 2018-11-08 14:07:28 +03:00
Victor Baranov 1431d3adeb HD wallets styles correction 2018-11-08 14:04:41 +03:00
Victor Baranov b5a89d7381 ff body style fix 2018-11-08 11:24:26 +03:00
Victor Baranov e8ae62cfce Refactoring: generalizing of retrieving of Links for faucets and exchanges 2018-11-07 18:02:45 +03:00
Victor Baranov 5933b27067 Merge remote-tracking branch 'origin/develop' into hw-support 2018-11-06 17:32:30 +03:00
Victor Baranov 686d1af3e4
Merge pull request #174 from poanetwork/send-messages
(Fix) Sign data and recover account pages styles fixes
2018-11-06 17:14:33 +03:00