Commit Graph

2262 Commits

Author SHA1 Message Date
Daniel Sanchez 715988ff27 Disable synthetix app for mainnet deployment 2020-07-22 10:54:30 +02:00
nicolas 240b2068ef
replace links and legal text (#1132) 2020-07-21 17:33:13 +04:00
Agustin Pane 6ba98f4e8a
(BugFix) Add guard type for modules (#1124)
* Add guards for modules

* Add guards for modules

* Update src/routes/safe/store/actions/fetchSafe.ts

Co-authored-by: Fernando <fernando.greco@gmail.com>

Co-authored-by: Fernando <fernando.greco@gmail.com>
2020-07-20 20:17:33 +04:00
fernandomg a4d6e224f3 remove optional props 2020-07-18 10:26:32 -03:00
fernandomg fc28d1c833 fix dispatch misuse 2020-07-18 10:08:16 -03:00
fernandomg c28124b685 remove List from selectors 2020-07-17 17:33:21 -03:00
fernandomg 46e567ba88 add typing for TxDescription components 2020-07-17 17:13:36 -03:00
Fernando b5c3f08642
Merge branch 'development' into feature/#934-advanced-settings 2020-07-17 14:29:19 -03:00
fernandomg cc103c00d7 refactor: Advanced settings component 2020-07-17 14:25:05 -03:00
Mati Dastugue 4782d81204 Merge branch 'feature/wallet-enhacements' of github.com:gnosis/safe-react into feature/wallet-enhacements 2020-07-17 12:21:53 -03:00
Mati Dastugue 0237de751f Feedback PR 2020-07-17 12:21:05 -03:00
fernandomg ad9ee25b36 refactor: move `Dispatch` type to a common place 2020-07-17 12:00:50 -03:00
fernandomg c74b79bf67 refactor: prevent using reducer's name for field selection 2020-07-17 11:51:18 -03:00
fernandomg 3b7992a9e1 fix: remove unnecessary `async` 2020-07-17 11:12:24 -03:00
fernandomg 95e557b133 refactor: remove optional chaining as modules is always returned as an array 2020-07-17 11:10:27 -03:00
fernandomg 1ccb37e031 refactor: move tableTypes to `src/components/Table/types.d.ts` 2020-07-17 11:08:24 -03:00
fernandomg 1064e3deb8 fix relative paths and commented lines 2020-07-17 11:05:06 -03:00
fernandomg d483f1ff16 fix "cannot read `size` of undefined" error message 2020-07-17 11:04:49 -03:00
fernandomg eab41bd314 display module tx information 2020-07-16 23:09:24 -03:00
Fernando 6442b52562
Merge branch 'development' into feature/#934-advanced-settings 2020-07-16 19:12:59 -03:00
Mikhail Mikheev 17aef9703a
Merge branch 'development' into feature/wallet-enhacements 2020-07-17 01:14:05 +04:00
nicosampler db20cf107c Add synthetix app 2020-07-16 17:32:45 -03:00
Mati Dastugue f9a345d200 merge with develop 2020-07-16 12:13:06 -03:00
fernandomg 665d87eec7 Revert "replace `any` with `unknown`"
This reverts commit 8209e950
2020-07-16 10:30:05 -03:00
fernandomg 1674dab6ae Merge branch 'development' into feature/#934-advanced-settings 2020-07-16 10:26:32 -03:00
fernandomg 4634041467 prevent TypeError when viewedSafe is undefined 2020-07-16 10:23:25 -03:00
fernandomg 67c67f4569 set type for dispatch actions in hooks 2020-07-16 10:23:23 -03:00
Mikhail Mikheev cd6078e0a8
Merge branch 'development' into AddingTestId 2020-07-16 16:31:02 +04:00
fernandomg 8209e950d6 replace `any` with `unknown` 2020-07-15 18:50:19 -03:00
fernandomg 1671136115 replace `JSX.Element` with `React.ReactElement`
See: @Ferdaber's note at: https://github.com/typescript-cheatsheets/react-typescript-cheatsheet/blob/master/docs/advanced/types-react-ap.md

> I discourage the use of most `...Element` types because of how black-boxy `JSX.Element` is. You should almost always assume that anything produced by `React.createElement` is the base type `React.ReactElement`.
2020-07-15 18:48:29 -03:00
fernandomg b9262ffdf0 fix cannot read map of null error 2020-07-15 18:44:44 -03:00
Mikhail Mikheev a6600c703d add ethereumnetworks type 2020-07-15 19:12:23 +04:00
Mikhail Mikheev 4eb5a6b12f use inferred type for owners in OwnerForm 2020-07-15 18:25:54 +04:00
Mikhail Mikheev 211749aab8 fix fetchTransaction/createTransaction types 2020-07-15 18:14:28 +04:00
fernandomg fa30de45a8 Merge branch 'development' into feature/#934-advanced-settings 2020-07-15 08:33:22 -03:00
fernandomg 3858daf649 fix owners typing 2020-07-14 18:33:25 -03:00
fernandomg 32598bbe87 fix relative path 2020-07-14 17:04:39 -03:00
fernandomg 012f0a9693 Extract [string, string] as ModulePair type 2020-07-14 17:02:15 -03:00
fernandomg 79e80ea5e4 replace ternary with nullish coalescing operator 2020-07-14 16:43:32 -03:00
fernandomg 342acd27c4 use `JSX.Element` and fix imports 2020-07-14 16:42:05 -03:00
fernandomg 5cb1eb483a extract `TableColumn` interface to a common place and use where necessary 2020-07-14 16:22:22 -03:00
fernandomg 1fb191b7ae fix `valueInWei` so its always a string 2020-07-14 16:01:00 -03:00
fernandomg 92cb386cc7 remove usage of template string as `ethBalance` is only of string type now 2020-07-14 15:57:39 -03:00
fernandomg d9e428c4ed create `ProviderState`
done out of consistency, but with `ProviderRecord` it would have been enough
2020-07-14 15:00:37 -03:00
fernandomg c314910713 use `TokenState` in AppReduxState 2020-07-14 13:14:37 -03:00
fernandomg 4e18a416ee create `TokenState` 2020-07-14 12:57:10 -03:00
nicosampler 475e95bf5f Allow HX values 2020-07-14 10:15:04 -03:00
fernandomg f96eb3b8da rename SafeVersion interface 2020-07-14 09:21:11 -03:00
fernandomg b709f7774a fix ethBalance typing, set it to only `string` type 2020-07-14 08:39:48 -03:00
fernandomg 8bdfdb906c fix type for `AddressInfo` 2020-07-14 08:36:25 -03:00
fernandomg a8b8284bf4 fix modules discovery 2020-07-13 18:26:09 -03:00
fernandomg caaf7c8812 fix typing after merge 2020-07-13 16:25:38 -03:00
fernandomg 77eb70edf7 Merge branch 'development' into feature/#934-advanced-settings 2020-07-13 13:37:16 -03:00
francovenica 0129a720b0
Merge branch 'development' into AddingTestId 2020-07-13 10:19:52 -03:00
Mikhail Mikheev 34209aeb49 Merge branch 'master' of github.com:gnosis/safe-react into 2.6.1-dev-master-backemerge 2020-07-09 11:39:24 +04:00
Mikhail Mikheev c6d8d179aa
Merge branch 'development' into AddingTestId 2020-07-09 10:31:24 +04:00
Mikhail Mikheev 5072ad71b8
Merge branch 'development' into coveralls 2020-07-09 09:53:46 +04:00
Mati Dastugue 67c7506c4d Wallet enhancements 2020-07-09 01:06:49 -03:00
Agustin Pane ec83fc61ca Replaces ProviderInfo with ProviderProps 2020-07-08 16:12:45 -03:00
Agustin Pane c55c9236aa Add types for isSmartContractWallet 2020-07-08 16:08:08 -03:00
Mati Dastugue 5925f6ef9b
Update ts type for handleChange 2020-07-08 16:00:24 -03:00
nicosampler fb12430cc9 update request app 2020-07-08 15:47:31 -03:00
francovenica 855a69e434
Merge branch 'development' into AddingTestId 2020-07-08 13:35:44 -03:00
Mati Dastugue 73ba4d1897
Merge branch 'development' into fix/allow-repick 2020-07-08 12:41:43 -03:00
Fernando 9d4a7b84d5
(Fix) Load Safe if the address exist (#1104) 2020-07-08 11:41:25 -03:00
Agustin Pane 53731ffd9c Merge branch 'development' of https://github.com/gnosis/safe-react into coveralls
# Conflicts:
#	yarn.lock
2020-07-08 10:27:41 -03:00
Agustin Pane 7458eb0957 Fixs getProviderInfo usage 2020-07-08 10:26:33 -03:00
Agustin Pane 8fd252d1a7 Adds types in getWeb3.ts 2020-07-08 10:25:45 -03:00
Agustin Pane 8fb5cf5e63 Adds web3-core types 2020-07-08 10:07:38 -03:00
francovenica 6b3d7304f4
Merge branch 'development' into AddingTestId 2020-07-07 17:13:14 -03:00
Franco Venica b10928dbde add test id for send_funds test 2020-07-07 16:20:18 -03:00
Mati Dastugue 6611027b35 Merge branch 'development' of github.com:gnosis/safe-react into fix/allow-repick 2020-07-07 12:25:55 -03:00
Mikhail Mikheev e4ffd326a8 add 1inch.exchange app 2020-07-07 16:09:10 +04:00
Mikhail Mikheev 492b45f13a
Merge branch 'development' into 2.5.2-dev-master-backmerge 2020-07-07 11:28:41 +04:00
Agustin Pane 26a358a3af
(Feature) - 1029 Improve Polling behaviour (#1047)
* Adds exponential backOff for fetch methods

* Avoid multiple requests before the last finished

* Removes unused dependency

* Adds try catch

* Fix isFetchingData variable initialization

* Add return type to fetchAllUserCollectiblesByCategoryAsync

* Improve typings for fetchSafeTokens

* Add more types

* Improve types usage

* Improve types usage

* Refactor useCheckForUpdates to avoid calling the actions before they finished

* Updates typing in OpenSea.ts

* Update store types

* Update store types

* Remove unused promises

* useCheckForUPdates & useFetchTokens refactor wip

* enhanced safe state/selector types

* refactor useCheckForUpdates

* improve comment in useSafeScheduledUpdaates

* type enhancements

* use checksumAddress to checksum an address

* dep bump

Co-authored-by: Mikhail Mikheev <mmvsha73@gmail.com>
Co-authored-by: Mati Dastugue <matias.dastugue@altoros.com>
2020-07-06 16:34:14 -03:00
Mikhail Mikheev 54ed00564b
2.5.1 Dev <- master backmerge (#1093)
* check if there as a pending transaction before marking transaction as a cancellation one

* update pkg.json
2020-07-06 12:04:31 -03:00
Agustin Pane 4c7fa87b1d Merge branch 'master' into 2.5.2-dev-master-backmerge 2020-07-06 12:02:52 -03:00
Agustin Pane d5f05536c3
(Hotfix) Tx decoding (#1094)
* Add types

* Fix missing condition

* Update Version
2020-07-06 09:54:49 -03:00
fernandomg 60c535e387 fix: disableModule params 2020-07-06 08:17:10 -03:00
fernandomg 5f413ff5e9 fix: type check 2020-07-06 08:11:35 -03:00
Fernando 0f5d8e80bb
Merge branch 'development' into feature/#934-advanced-settings 2020-07-06 07:59:11 -03:00
Mikhail Mikheev ab7fab365f check if there as a pending transaction before marking transaction as a cancellation one 2020-07-06 14:41:55 +04:00
Mati Dastugue 0f4f1077fe Allow repick address in contract interaction mode 2020-07-03 18:00:39 -03:00
Mati Dastugue 72a13f8c74
Update name in props 2020-07-03 14:48:18 -03:00
Mati Dastugue b9e8bcc179
Merge branch 'development' into feature/address-book-suggestions 2020-07-03 14:08:10 -03:00
fernandomg 91e300a862 Use external loader instead of GnoTable builtin one 2020-07-03 09:55:32 -03:00
Fernando 38b1d83f8c
Merge branch 'development' into feature/#934-advanced-settings 2020-07-03 09:38:19 -03:00
Agustin Pane 36e78e00b4
(Fix) - Settings ui break (#1073)
* Adds useWindowDimensions hook
Uses useWindowDimensions hook to render the address on ownerAddressTable depending of the size of the screen

* Fix table width for medium sizes

* Reduces padding for medium screen sizes
Also simplifies js logic for adding cut addresses

* Adjust the padding for larger screens

* Adjust the padding for larger screens

Co-authored-by: Mikhail Mikheev <mmvsha73@gmail.com>
2020-07-03 16:23:30 +04:00
Agustin Pane 2ea1608d30 Merge branch 'development' of https://github.com/gnosis/safe-react into coveralls 2020-07-03 08:55:34 -03:00
Fernando 9931ef9210
Merge branch 'development' into feature/#934-advanced-settings 2020-07-03 08:07:12 -03:00
nicolas 822903c83d
sapp iframe size (#1081)
* sapp iframe size

* review changes

* CenteredMT

* remove className

Co-authored-by: Mikhail Mikheev <mmvsha73@gmail.com>
2020-07-03 14:12:49 +04:00
Mati Dastugue 0e3436bf67
Prevent showing enable data modal (#1086)
* Prevent from showing enable modal

* Add message info for failing txs

* c'mon Travis! Stop complaining.

* PR feedback improvements

Co-authored-by: Mati Dastugue <mdastugu@amazon.com>
Co-authored-by: Mikhail Mikheev <mmvsha73@gmail.com>
2020-07-03 13:59:36 +04:00
Fernando 244f81b0a4
Merge branch 'development' into feature/#934-advanced-settings 2020-07-02 20:36:51 -03:00
Mati Dastugue 7db9fae535
Merge branch 'development' into feature/address-book-suggestions 2020-07-02 13:34:19 -03:00
Agustin Pane 3e982b741f Merge branch 'master' of https://github.com/gnosis/safe-react into coveralls
# Conflicts:
#	yarn.lock
2020-07-02 09:06:28 -03:00
fernandomg c84caeb027 Change Advanced Settings icon
- this required to point the `@gnosis.pm/safe-react-components` to the github repo
2020-07-01 16:23:58 -03:00
fernandomg bac59b9b38 remove trash code 2020-07-01 12:55:09 -03:00
fernandomg 1a095e561b fix state type in collectibles selector 2020-07-01 12:54:27 -03:00
nicosampler 725a9e9a84 sort apps alphabetically 2020-07-01 11:22:32 -03:00
nicosampler 1cdd16abb6 Add Idle sapp 2020-07-01 11:15:51 -03:00
fernandomg ea6fc17457 Rephrase remove modal message 2020-07-01 09:03:57 -03:00
Agustin Pane 98ec85d454 Merge branch 'development' of https://github.com/gnosis/safe-react into coveralls 2020-07-01 08:50:14 -03:00
fernandomg d5f6ef26f5 fix typo 2020-06-30 21:32:41 -03:00
fernandomg 873f8bad74 Enable "disable module" functionality
- changed `remoteModules` in favor of `remoteModulesPaginated`, so we can properly have track of the `prevModule` for every module
- refactored how module is stored from an array of `moduleAddress`es, to an array of `[moduleAddress, prevModuleAddress]`
- Implemented the RemoveModule by copying the `RemoveSafeModule` implementation
- TODO: display data
2020-06-30 21:30:51 -03:00
fernandomg a6ff15d1f3 Fix styles and use all the possible safe-react-components 2020-06-30 18:27:21 -03:00
fernandomg 91dc0bbc29 Migrate Settings menu to gnosis-safe-components 2020-06-30 17:10:33 -03:00
fernandomg dc75d97083 WIP: fix typings (?)
Not so sure about how robust the fix is. But allow me to continue developing
2020-06-30 15:49:47 -03:00
fernandomg ec09b3bd55 Merge branch 'development' into feature/#934-advanced-settings
# Conflicts:
#	src/routes/safe/store/actions/fetchSafe.ts
#	src/routes/safe/store/models/safe.ts
#	src/routes/safe/store/reducer/safe.ts
2020-06-30 14:23:58 -03:00
Mati Dastugue 02eeb0410e Merge branch 'development' of github.com:gnosis/safe-react into feature/address-book-suggestions 2020-06-30 12:59:38 -03:00
Agustin Pane 35a118b975 Updates coverage script 2020-06-30 12:06:46 -03:00
Mikhail Mikheev a8483a97da
Merge pull request #1041 from gnosis/1013-undefined-error
(Fix) - #1013 undefined error
2020-06-30 18:48:33 +04:00
fernandomg ebf8d149a2 WIP: code cleanup and fix typings 2020-06-29 15:46:00 -03:00
Fernando 328343fa9d
Merge pull request #1069 from gnosis/2.3.2-dev-master-backmerge 2020-06-29 13:53:57 -03:00
Mati Dastugue 0587bb9139 Fix types + improve form values 2020-06-29 13:48:46 -03:00
nicolas 6def3cbc93
add Aave app (#1075) 2020-06-29 13:39:48 -03:00
Mati Dastugue f21913d84a Merge branch 'development' of github.com:gnosis/safe-react into feature/address-book-suggestions 2020-06-29 12:57:14 -03:00
Mikhail Mikheev ed72219f03 type definition fixes 2020-06-29 15:29:27 +04:00
fernandomg 3eba845314 WIP: add `Advanced` settings
there's a lot of duplicated code, just copying functionalities and building basic structure for the section
2020-06-26 18:57:17 -03:00
fernandomg cbc8121bd9 fix typings 2020-06-26 18:56:08 -03:00
fernandomg 2d8da9ca98 add modules 2020-06-26 18:55:48 -03:00
Mati Dastugue 89100d5158 Change value validator 2020-06-26 13:04:43 -03:00
nicosampler 5ddb487411 typo 2020-06-26 12:29:01 -03:00
nicosampler ecf9e1dd79 explicitly type classNames 2020-06-26 12:19:29 -03:00
Mikhail Mikheev f2f9cb7d81 default safe logic fixes 2020-06-26 18:38:59 +04:00
nicosampler 7271d465e1 Fix: Sapp confirmTXs modal width. 2020-06-26 11:10:05 -03:00
Mikhail Mikheev ca51768b04 Merge branch 'development' of github.com:gnosis/safe-react into 1013-undefined-error 2020-06-26 18:09:55 +04:00
Mikhail Mikheev 00843b5c66 Fix dev mainnet config 2020-06-26 13:36:43 +04:00
Mikhail Mikheev 728bcc3f8e fix catching errors during retrieving token symbols/decimals 2020-06-26 13:34:12 +04:00
Mikhail Mikheev 46c227881a hardcode ens contract address to isERC721Transaction function, fallback to 18/unknown in methods fetching token decimals 2020-06-26 13:22:34 +04:00
Mati Dastugue d11142de70 Update types 2020-06-25 21:22:17 -03:00
Mati Dastugue c5681f1491 Merge branch 'development' of github.com:gnosis/safe-react into feature/address-book-suggestions 2020-06-25 20:59:37 -03:00
Agustin Pane abd61dc055 Move window definition 2020-06-25 12:47:23 -03:00
Agustin Pane d7d2305b9c Adds global interface for window.web3 2020-06-25 12:27:38 -03:00
Agustin Pane d61146c017 Merge branch 'master' of https://github.com/gnosis/safe-react into coveralls
# Conflicts:
#	yarn.lock
2020-06-25 10:42:30 -03:00
Agustin Pane 8d1ef7ac36 Disable errored tests 2020-06-25 10:36:57 -03:00
Mikhail Mikheev f39b0903ca
2.3.1 bugfix
* fallback to tx.recipient in case no if statement worked in getTxData

* update pkg.json
2020-06-25 16:18:53 +04:00
Agustin Pane 7fe182db3c Add default provider for node 2020-06-25 08:53:27 -03:00
Mati Dastugue 79fbc2a54b Add types for Address book suggestion 2020-06-24 16:57:45 -03:00
Mati Dastugue cf2fd4522c Merge branch 'development' of github.com:gnosis/safe-react into feature/address-book-suggestions 2020-06-24 16:39:30 -03:00
Mati Dastugue 62270e180b update types 2020-06-24 16:39:19 -03:00
Agustin Pane 0f699acea3 Fix confirmation file to make tests run 2020-06-24 11:14:03 -03:00
nicolas 38f6123d73
Disable Aave (#1052) 2020-06-23 13:20:01 -03:00
Mikhail Mikheev 01358de643 fix default safe return 2020-06-23 19:57:30 +04:00
Mikhail Mikheev c925449db2 fix apps types, fix lastTimeUserLoggedInForSafes type 2020-06-23 19:38:09 +04:00
Mikhail Mikheev 21ae4800c9 fix getDefaultSafe return type 2020-06-23 19:09:24 +04:00
Mikhail Mikheev f8d6ad4ca2 more fixes for pendingCreationTx 2020-06-23 19:06:23 +04:00
Mikhail Mikheev 96ffd52266 fix pendingSafeTx type issues 2020-06-23 19:05:42 +04:00
Mikhail Mikheev 8f0cccdb59 Fix token storage type errors, remove unused functions 2020-06-23 19:03:02 +04:00
Mati Dastugue 6d2638410f Set address book suggestions 2020-06-23 10:36:30 -03:00
Mikhail Mikheev e7c012d5d1 Fix addressbook type errors 2020-06-23 17:33:57 +04:00
Agustin Pane ebb02df721
(Fix) Fix undefined for maxValue validator in case there is no token selected (#1031)
* Fix undefined for maxValue validator  in case there is no token selected

* Add condition on validator

* Fix reset form status

* Force the re-validation on the amount field

* Fix paste address
2020-06-23 10:28:12 -03:00
Mikhail Mikheev 18f03b8bc1 typing loadFromStorage wip 2020-06-23 13:53:10 +04:00
nicolas 8c2d67897d
Adding Aave and Sablier apps (#1045) 2020-06-22 16:27:08 -03:00
Mati Dastugue 768c12e975 Merge branch 'development' of github.com:gnosis/safe-react into feature/supportCustomTX 2020-06-22 12:18:09 -03:00
Agustin Pane 231a9a7d35 Remove types 2020-06-22 12:05:08 -03:00
nicolas 2f46268fdf
Fix condition in TX sent from safe-apps (#1037)
* fix condition

* add type
2020-06-22 11:12:03 -03:00
Agustin Pane cc6aa13451 Fix types 2020-06-19 20:00:24 -03:00
francovenica b02924f5ef
Adding test (feature) (#1030)
* data-testid for load and create safe

* fix connect button id

* removed buttons data-testid property
2020-06-19 19:06:53 -03:00
Mati Dastugue 4241d1fa96 Fix TS types 2020-06-19 14:24:28 -03:00
Agustin Pane caa94c879b Types 2020-06-19 13:02:54 -03:00
Agustin Pane 5c00d51c3c Remove types on loadFromStorage 2020-06-19 12:21:24 -03:00
Agustin Pane 3283bf1dc6 Add types 2020-06-19 11:18:33 -03:00
Agustin Pane bcb468e3ec Fix race condition 2020-06-19 11:07:23 -03:00
Agustin Pane fe7e4b5536 Merge branch 'development' of https://github.com/gnosis/safe-react into 1013-undefined-error 2020-06-19 10:00:56 -03:00
Mati Dastugue 45ca501c60 Fix value bug + preserve values when changing switch 2020-06-18 20:14:53 -03:00
Mati Dastugue 3628ee9b5f Merge branch 'development' of github.com:gnosis/safe-react into development 2020-06-18 16:18:07 -03:00
Mati Dastugue 84fae2e845 Add support for customTX 2020-06-18 16:17:47 -03:00
Mati Dastugue a5b4585049
Merge pull request #1010 from gnosis/feature/txsCollectibles
Collectibles Transactions + Add WalletLink Support
2020-06-18 11:33:21 -03:00
nicolas 813619c123
hide sapp iframe until it loads completely (#1020)
* hide sapp iframe until it loads completely

* review changes

* remove code

* moving type

* adding styled-components types

* fix TS error

* refactor iframe loading
2020-06-18 14:03:12 +04:00
Fernando 0296a670e7
(Fix) [Contract Interaction] Support array-like arguments (#1009)
* Add `ArrayTypeInput` to support array type values

- also updated types for ContractInteraction/utils

* Update placeholder message

* Support fixed size arrays

- refactored how Field's key is generated due to conflicts with final-form library and `[]` in the name
- also simplified validation for array-like fields, as it messed with arguments of type `T[][2][][3]`
2020-06-18 13:53:49 +04:00
Mati Dastugue 75ee00caec
Fix methodToCall variable 2020-06-16 13:05:43 -03:00
Agustin Pane 336413c8e5 Fix undefined for maxValue validator in case there is no token selected 2020-06-16 09:29:12 -03:00
Mati Dastugue b5f73c8e3c Fix typo. Add Typescript types 2020-06-13 15:50:15 -03:00
Mati Dastugue 552611d779 Fix typo in function name + Add Wallet link 2020-06-12 16:35:24 -03:00
Mati Dastugue 678d7ed5a4 Merge branch 'development' of github.com:gnosis/safe-react into feature/txsCollectibles 2020-06-11 21:35:29 -03:00
Agustin Pane 6d1a349d87
(Fix) - Identicons fix (#1004)
* Replaces old blockies dependency with ethereum-blockies-base64

* Add types

* Refactor as functional component

* Simplify identicon logic

* Simplify identicon styling logic

* Simplify identicon styling logic
2020-06-11 12:13:14 -03:00
Mati Dastugue 027b8ccc51 Merge with dev 2020-06-10 11:39:15 -03:00
Mati Dastugue a3541d8a33 Add support for collectibles 2020-06-10 11:32:30 -03:00
Fernando 41ec0786b7
(Refactor) Update `dataDecoded` structure (#995) 2020-06-09 16:15:31 -03:00
nicolas 509aefe286
fix config (#1002) 2020-06-09 13:19:17 -03:00
nicolas ea1662bc6f
Safe apps url config (#1001)
* safe-react-apps  url from config and add request app

* Adding types

* safe-react-components bump

* extracting types

* add return type

Co-authored-by: lukasschor <lukas.schor@gnosis.pm>
Co-authored-by: Mati Dastugue <matias.dastugue@altoros.com>
Co-authored-by: Fernando <fernando.greco@gmail.com>
Co-authored-by: Mikhail Mikheev <mmvsha73@gmail.com>
2020-06-09 11:34:43 -03:00
Mikhail Mikheev 8f9cd58d4e
Merge pull request #985 from gnosis/fix/#983-support-ens-for-contract-interaction
(Fix) [Contract Interaction] Support ENS for contract address
2020-06-09 18:11:28 +04:00
Mikhail Mikheev 6d56286c02 Merge branch 'development' of github.com:gnosis/safe-react into 982-fiatbalances-dont-show 2020-06-09 14:04:28 +04:00
Mikhail Mikheev cdbdf69829
Merge pull request #996 from gnosis/fix/#994-contractInteraction-no_data-for-abi-field
(Fix) Properly identify methods to interact with
2020-06-09 12:49:24 +04:00
fernandomg 9db0d76fa1 Allow pure functions to be called 2020-06-08 15:54:09 -03:00
Mati Dastugue f7faf3e29c Merge with dev 2020-06-08 13:24:48 -03:00
fernandomg 7d83843b96 properly identify methods to interact with 2020-06-06 17:34:26 -03:00
Fernando cefb33b593
(Fix) [Contract Interaction] Parameter validation (#974) 2020-06-06 10:32:25 -03:00
fernandomg d488436054 avoid populating abi field with invalid data if it's not required 2020-06-05 11:22:35 -03:00
fernandomg 78682a90af add decorator to extract eth address from ENS for contract address 2020-06-05 11:22:35 -03:00
fernandomg 3ac845106b move `isValidEnsName` to utils 2020-06-05 11:22:35 -03:00
fernandomg 45a3719bb0 Merge branch 'development' into fix/#950-parameter-validation-contractInteraction 2020-06-05 11:21:47 -03:00
Agustin Pane ed56191e56 Fix types 2020-06-05 11:08:29 -03:00
Agustin Pane 3deb37da26 Fix types 2020-06-05 09:33:37 -03:00
Agustin Pane 6c857ee02a Merge branch 'development' of https://github.com/gnosis/safe-react into 957-null-balances
# Conflicts:
#	package.json
2020-06-05 09:05:01 -03:00
Mikhail Mikheev 5a7ced92ad
Merge pull request #897 from gnosis/536-notifications-status-labels-sync
Feature: Hide transactions with no confirmations, labels/notifications sync
2020-06-05 14:20:04 +04:00
Agustin Pane e5c6d8040d
(Fix) Null balances (#971)
* Fixs balances will null value

* Fixs collectibles not loading

* Uses useLocation hooks

* Add types

* fix types for useLocation

Co-authored-by: Mikhail Mikheev <mmvsha73@gmail.com>
2020-06-04 17:54:39 -03:00
fernandomg 4d41e813ed Merge branch 'development' into fix/#950-parameter-validation-contractInteraction
# Conflicts:
#	package.json
#	src/routes/safe/components/Balances/SendModal/screens/ContractInteraction/RenderInputParams/index.tsx
#	src/routes/safe/components/Balances/SendModal/screens/ContractInteraction/Review/index.tsx
#	src/routes/safe/components/Balances/SendModal/screens/ContractInteraction/Review/style.ts
#	src/routes/safe/components/Balances/SendModal/screens/ContractInteraction/index.tsx
#	src/routes/safe/components/Balances/SendModal/screens/ContractInteraction/utils/index.ts
#	yarn.lock
2020-06-04 11:17:49 -03:00
Agustin Pane 63193d2429
(Fix) [Contract Interaction] boolean fields (#976)
* Replaces checkbox component with safe apps components

* Refactor input params to use checkbox component for boolean types

* Remove "anys"
Fix boolean values display on review tx

* Remove any

* Fix ts issues

* Exports boolean fn to util function

* Extract input component rendering to another component

* Fixs imports
Add types

* Remove old checkbox component

* Add types

* Add types

* fix `data` string not being updated after modifying a reviewed tx

* fixes required for typescript 3.9.3 upgrade

* bump typescript version

* add travis_wait for build command

* add cache for yarn

* travis wait fix

* remove travis_wait

* Revert "fix `data` string not being updated after modifying a reviewed tx"

This reverts commit 49356054cd93726b058073d3cd2e7a0244fd5914.

* Revert "Revert "fix `data` string not being updated after modifying a reviewed tx""

This reverts commit f2572e68dc59c01d8e4b1eccf975faf4006cd7a7.

Co-authored-by: Mikhail Mikheev <mmvsha73@gmail.com>
2020-06-04 10:56:55 -03:00
Agustin Pane 1a901126df Adds fallback to USD as currency rate selected in case that the data stored is not defined 2020-06-04 10:49:12 -03:00