Commit Graph

1954 Commits

Author SHA1 Message Date
nicolas 38f6123d73
Disable Aave (#1052) 2020-06-23 13:20:01 -03: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
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
nicolas 2f46268fdf
Fix condition in TX sent from safe-apps (#1037)
* fix condition

* add type
2020-06-22 11:12:03 -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
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
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
Agustin Pane 6858a8d6d6 Refactors AVAILABLE_CURRENCIES as enum
Add types for currency values
2020-06-04 10:12:06 -03:00
fernandomg 0cf786e8d1 fix `data` string not being updated after modifying a reviewed tx 2020-06-03 14:04:58 -03:00
fernandomg e3a9945675 add types and fix `useField` usage 2020-06-03 14:04:15 -03:00
fernandomg c946cd98e0 Merge branch 'development' into 536-notifications-status-labels-sync
# Conflicts:
#	yarn.lock
2020-06-03 10:35:26 -03:00
fernandomg 02bb5211a7 fix errors when creating tx in safe v1.0.0
- Code was expecting `ExecutionSuccess` event. That's not part of v1.0.0
- `transactionHash` is part of the tx receipt, so no need to extract it from the event
- `safeTxHash` is calculated client-side, so no longer needed to get it from tx receipt
2020-06-03 10:34:31 -03:00
fernandomg cd77fba5b7 fix useField abi config object param 2020-06-02 13:32:11 -03:00
fernandomg 95a753cbe5 fix 'non-empty-pattern' ts warning 2020-06-02 10:50:32 -03:00
fernandomg 7dfa7af41d add general types to ContractInteraction components 2020-06-02 10:45:55 -03:00