Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Superfluid develop branch #3435

Merged
merged 336 commits into from
Dec 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
336 commits
Select commit Hold shift + click to select a range
e4a42f6
add isSuperToken
MohammadPCh Nov 6, 2023
eac7d36
handle super tokens in Token Icon
MohammadPCh Nov 6, 2023
ae18a90
handle super tokens icon
MohammadPCh Nov 6, 2023
8235fa3
update types
MohammadPCh Nov 6, 2023
aa7dd1e
add token to FETCH_USER_STREAMS
MohammadPCh Nov 6, 2023
5b9962d
separate superfluid types
MohammadPCh Nov 6, 2023
4436b1d
categorize streams by token
MohammadPCh Nov 6, 2023
209c685
change address to id in token
MohammadPCh Nov 6, 2023
6fab16a
add tokenStreams
MohammadPCh Nov 6, 2023
3bbdc64
hide tokens with stream
MohammadPCh Nov 6, 2023
85b7017
fix disable condition
MohammadPCh Nov 6, 2023
630ff0b
init StreamInfo
MohammadPCh Nov 6, 2023
a25a19a
fix styles
MohammadPCh Nov 23, 2023
33e54ed
Added ClaimModal configs
alireza-sharifpour Nov 23, 2023
0f1866a
Added Status to ProjectItem
alireza-sharifpour Nov 23, 2023
91f384e
handled Status Dynamically
alireza-sharifpour Nov 23, 2023
993cbf6
created ProjectVerificationBadge
alireza-sharifpour Nov 23, 2023
c9052c4
added ProjectVerificationBadge to ProjectItem
alireza-sharifpour Nov 23, 2023
e19feb8
update tokenInfo balance style
MohammadPCh Nov 23, 2023
c1fffab
add givback row
MohammadPCh Nov 23, 2023
172e5c8
update ui-design-system
MohammadPCh Nov 23, 2023
76f227e
show givback badge
MohammadPCh Nov 23, 2023
da8ba48
add Eligible Tokens title
MohammadPCh Nov 23, 2023
b7415be
update stream info
MohammadPCh Nov 23, 2023
8843ae8
show streams info
MohammadPCh Nov 23, 2023
2caa446
update StreamInfo data
MohammadPCh Nov 23, 2023
5e1b347
update StreamInfo styles
MohammadPCh Nov 23, 2023
fd59804
fix selected stream icon
MohammadPCh Nov 23, 2023
5c8d70b
limitFraction
MohammadPCh Nov 23, 2023
de7f922
add currentFlowRate
MohammadPCh Nov 23, 2023
db52a44
show end date
MohammadPCh Nov 23, 2023
0254694
show run out month
MohammadPCh Nov 26, 2023
ed4e63c
add Funding projects count
MohammadPCh Nov 26, 2023
23ea044
update tokenInfo styles
MohammadPCh Nov 26, 2023
9b39e0c
increase number of fractions
MohammadPCh Nov 26, 2023
09da3af
add superfluid sdk
MohammadPCh Nov 26, 2023
6ca1b26
decrease the ethers version
MohammadPCh Nov 27, 2023
d0512fc
add ethers helper
MohammadPCh Nov 27, 2023
c597486
init sf
MohammadPCh Nov 27, 2023
e455b2e
add getEthersSigner
MohammadPCh Nov 27, 2023
9c559ba
fix address
MohammadPCh Nov 27, 2023
02fd28e
update onDonate
MohammadPCh Nov 27, 2023
de0997e
Fixed spacing
alireza-sharifpour Nov 27, 2023
ae7b7e5
Added ProjectQFStatus component
alireza-sharifpour Nov 27, 2023
f7f6fe2
init onDonateEth and onDonate
MohammadPCh Nov 27, 2023
0fa359e
Merge pull request #3415 from Giveth/claim-recurring-donations
MohammadPCh Nov 28, 2023
e0ca388
Merge branch 'superfluid-develop-branch' into add-recurring-to-donati…
MohammadPCh Nov 28, 2023
02fb1ca
remove handle modals
MohammadPCh Nov 28, 2023
700da8f
fix address imports
MohammadPCh Nov 28, 2023
f550f12
fix other address imports
MohammadPCh Nov 28, 2023
c74530d
fix connect button
MohammadPCh Nov 28, 2023
dbd132f
remove handle modal
MohammadPCh Nov 28, 2023
519b96c
Merge pull request #3385 from Giveth/add-recurring-to-donation-page
alireza-sharifpour Nov 28, 2023
0554f97
changed Superfluid to svg
alireza-sharifpour Nov 28, 2023
dee1f6b
removed old logo
alireza-sharifpour Nov 28, 2023
82d41ee
added svg logo
alireza-sharifpour Nov 28, 2023
a263d3b
Added ProjectListedStatus component
alireza-sharifpour Nov 28, 2023
b670f3b
handle error
MohammadPCh Nov 28, 2023
adf170c
fix amount
MohammadPCh Nov 28, 2023
bfa76cc
Merge pull request #3432 from Giveth/fix-logo-and-public-site-listing
MohammadPCh Nov 29, 2023
6f33d5b
fix approve token
MohammadPCh Nov 29, 2023
a73f075
show super tokens
MohammadPCh Nov 29, 2023
43dcf30
update giveth ui package to fix givback icon
MohammadPCh Nov 29, 2023
efabd28
create a flow
MohammadPCh Nov 29, 2023
69ce035
show underlying token symbol if exists
MohammadPCh Nov 29, 2023
f711f27
remove wagmi provider
MohammadPCh Nov 29, 2023
3b3c498
handle zero flowrates
MohammadPCh Nov 29, 2023
a4b9094
add batch call
MohammadPCh Nov 29, 2023
c179186
check allowance before continue
MohammadPCh Nov 29, 2023
308c7fc
Merge branch 'develop' into superfluid-develop-branch
MohammadPCh Dec 2, 2023
471d28e
Merge branch 'superfluid-develop-branch' into recurring-donation-func…
MohammadPCh Dec 2, 2023
5adca5a
move selected token functionality to context
MohammadPCh Dec 2, 2023
b03cdfa
init ConfirmRecurringDonationModal
MohammadPCh Dec 2, 2023
9670364
remove confirm from the name
MohammadPCh Dec 2, 2023
641e449
show donation modal
MohammadPCh Dec 2, 2023
fe6f430
add title
MohammadPCh Dec 2, 2023
b980971
handle steps
MohammadPCh Dec 2, 2023
5aac609
separate inputs
MohammadPCh Dec 2, 2023
8515dbb
change max and percentage to options
MohammadPCh Dec 2, 2023
47d5e20
add StakingAmountInput
MohammadPCh Dec 2, 2023
667cfec
add ids
MohammadPCh Dec 2, 2023
fb5464c
use Amount input component
MohammadPCh Dec 2, 2023
af7103a
remove NumericalInput
MohammadPCh Dec 2, 2023
82d0112
update BaseInput styles
MohammadPCh Dec 2, 2023
86f5695
update StakingAmountInput styles
MohammadPCh Dec 2, 2023
5406307
update input style
MohammadPCh Dec 2, 2023
fd69033
fix icons
MohammadPCh Dec 2, 2023
55447f6
add token TokenIconWithGIVBack
MohammadPCh Dec 2, 2023
17e184c
use TokenIconWithGIVBack
MohammadPCh Dec 2, 2023
b4cd596
fix maxAmount
MohammadPCh Dec 2, 2023
732353c
handle decimals
MohammadPCh Dec 2, 2023
1570948
update onUserInput by decimals
MohammadPCh Dec 2, 2023
3565718
update color
MohammadPCh Dec 2, 2023
4cb1c92
init slider
MohammadPCh Dec 2, 2023
3af8ccd
show streams info
MohammadPCh Dec 2, 2023
e35a929
use GivethSection
MohammadPCh Dec 3, 2023
d834f27
add donate info
MohammadPCh Dec 3, 2023
17084e0
fix DonateToGiveth title
MohammadPCh Dec 3, 2023
c315013
add powered row
MohammadPCh Dec 3, 2023
ae38476
fix InputWithUnit imports
MohammadPCh Dec 4, 2023
206382d
init item
MohammadPCh Dec 4, 2023
aa0691f
add useTokenPrice
MohammadPCh Dec 4, 2023
f867a6d
move donation modal
MohammadPCh Dec 4, 2023
fe850e6
use wagmi address type
MohammadPCh Dec 4, 2023
ee3901d
show items
MohammadPCh Dec 4, 2023
aa65436
show correct amount
MohammadPCh Dec 4, 2023
bf6f502
update donate button disable condition
MohammadPCh Dec 4, 2023
d062dde
show price
MohammadPCh Dec 4, 2023
b04c63f
add run out section
MohammadPCh Dec 4, 2023
bae639e
update token info disable condition
MohammadPCh Dec 5, 2023
bc22a9e
add approve button
MohammadPCh Dec 5, 2023
ed7735d
fix select token
MohammadPCh Dec 5, 2023
17673b9
add loading to refresh
MohammadPCh Dec 5, 2023
aa86c11
fix eth refreshing
MohammadPCh Dec 5, 2023
6ad2bae
move stake steps to steps folder
MohammadPCh Dec 5, 2023
3f2b438
init steps
MohammadPCh Dec 5, 2023
6f4d753
remove old stake steps
MohammadPCh Dec 5, 2023
2889daa
add new stake steps
MohammadPCh Dec 5, 2023
c1b0326
use new stake steps
MohammadPCh Dec 5, 2023
aac047b
move mint modal
MohammadPCh Dec 5, 2023
d4b59fd
add mint step
MohammadPCh Dec 5, 2023
5a1e21d
use mint step
MohammadPCh Dec 5, 2023
202e37a
add translation to steps
MohammadPCh Dec 5, 2023
55cfbcd
add DonateSteps
MohammadPCh Dec 5, 2023
f077fd9
fix typo
MohammadPCh Dec 5, 2023
90a61bf
add theme to step title
MohammadPCh Dec 5, 2023
e55b490
add theme to steps
MohammadPCh Dec 5, 2023
e577019
move donate steps to inner modal
MohammadPCh Dec 5, 2023
c27f3ad
add theme to steps line
MohammadPCh Dec 5, 2023
80a2545
add user select none
MohammadPCh Dec 5, 2023
689db36
add approve functionality
MohammadPCh Dec 6, 2023
b9b05c3
add findSuperTokenByTokenAddress
MohammadPCh Dec 6, 2023
f1864eb
update on donate functionality
MohammadPCh Dec 6, 2023
f03de5f
fix button label
MohammadPCh Dec 6, 2023
db20f77
use wagmi address type
MohammadPCh Dec 6, 2023
b145cdb
handle multiple stream
MohammadPCh Dec 6, 2023
d3de565
fix approve
MohammadPCh Dec 6, 2023
a071115
handle user has stream to giveth
MohammadPCh Dec 6, 2023
423643a
fix donation on giveth for second time
MohammadPCh Dec 7, 2023
ec412c0
make button disable on loading
MohammadPCh Dec 7, 2023
8c7f902
handle Eth
MohammadPCh Dec 7, 2023
006cc01
show super token balance as amount
MohammadPCh Dec 7, 2023
5e873cb
remove unused functions
MohammadPCh Dec 7, 2023
7a7f61d
move token streams to context
MohammadPCh Dec 7, 2023
f5e0e6c
add findUserStreamOnSelectedToken
MohammadPCh Dec 7, 2023
60026ea
handle userStreamOnSelectedToken
MohammadPCh Dec 8, 2023
72fbcfa
fix useTokenPrice
MohammadPCh Dec 10, 2023
44c1b22
set percentage on update
MohammadPCh Dec 11, 2023
2c73e1b
fixed canceled project status issue
alireza-sharifpour Dec 11, 2023
46b4e93
Added canceled case
alireza-sharifpour Dec 11, 2023
eb779d5
show other recurring donations row
MohammadPCh Dec 11, 2023
d9f2206
fix action button for confirming
MohammadPCh Dec 11, 2023
d875296
calc total stream per sec
MohammadPCh Dec 11, 2023
e3cb7c8
fix changing selected token
MohammadPCh Dec 11, 2023
ac0cd81
handle updating in donate modal
MohammadPCh Dec 11, 2023
870d630
fix submitted step
MohammadPCh Dec 11, 2023
22684bb
use ONE_MONTH_SECONDS
MohammadPCh Dec 11, 2023
18c5c79
change slider color on exceed
MohammadPCh Dec 11, 2023
7bef7a0
fix isTotalStreamExceed
MohammadPCh Dec 11, 2023
54b5d28
Merge pull request #3475 from Giveth/fix-canceled-project-status
alireza-sharifpour Dec 11, 2023
846e445
init layer
MohammadPCh Dec 14, 2023
dde3a2a
merge
MohammadPCh Dec 17, 2023
389ec7c
update yarn.lock
MohammadPCh Dec 17, 2023
18bf928
fix encoding base 58 on ethers v5
MohammadPCh Dec 17, 2023
109e5b9
fix prettier
MohammadPCh Dec 17, 2023
c320be3
fix build issue
MohammadPCh Dec 17, 2023
d721db0
Merge pull request #3496 from Giveth/merge-develop-to-superfluid
alireza-sharifpour Dec 17, 2023
1148922
Merge branch 'develop' into superfluid-develop-branch
MohammadPCh Dec 17, 2023
8bcfb29
Merge branch 'superfluid-develop-branch' into recurring-donation-func…
MohammadPCh Dec 17, 2023
6ac14f5
fix prettier
MohammadPCh Dec 17, 2023
9eebc94
add wrapper
MohammadPCh Dec 18, 2023
fdacd0e
init toast
MohammadPCh Dec 18, 2023
d966e4d
add SwitchButton
MohammadPCh Dec 18, 2023
4e3ad32
add desc
MohammadPCh Dec 18, 2023
a288539
handle switch network
MohammadPCh Dec 18, 2023
b76b50e
show one-time donation
MohammadPCh Dec 18, 2023
2149793
disable closing modal on approving and donation
MohammadPCh Dec 18, 2023
50454b6
Added ABI
alireza-sharifpour Dec 18, 2023
985727c
Added anchorRegistryAddress
alireza-sharifpour Dec 18, 2023
9162e20
add top up button
MohammadPCh Dec 18, 2023
6901ea3
created useCreateAnchorContract hook
alireza-sharifpour Dec 19, 2023
f87f79f
project id cannot be undefined
alireza-sharifpour Dec 19, 2023
db83b12
Added comnents
alireza-sharifpour Dec 19, 2023
e0772fd
init DepositSteps
MohammadPCh Dec 20, 2023
a8f1e32
init ModifySuperTokenModal
MohammadPCh Dec 20, 2023
7fcdda2
init tabs
MohammadPCh Dec 20, 2023
baf2b2e
init DepositSuperToken
MohammadPCh Dec 21, 2023
ed28c4f
update test2
MohammadPCh Dec 21, 2023
3c2b6de
fix super token and token
MohammadPCh Dec 21, 2023
d610d4c
add stream balance
MohammadPCh Dec 21, 2023
a182003
add streams info
MohammadPCh Dec 21, 2023
d850a99
pass token streams to deposit
MohammadPCh Dec 21, 2023
ba9de8e
calc run out stream time
MohammadPCh Dec 21, 2023
02c11b6
add ModifyInfoToast
MohammadPCh Dec 21, 2023
3563018
use ModifyInfoToast
MohammadPCh Dec 21, 2023
02f3f00
add confirm button
MohammadPCh Dec 21, 2023
fb3013d
show steps
MohammadPCh Dec 21, 2023
f7feb40
add deposit translation
MohammadPCh Dec 21, 2023
3c2911d
fix super token balance
MohammadPCh Dec 21, 2023
c26e8ec
separate run out info section
MohammadPCh Dec 24, 2023
e7b8b1f
handle division by zero
MohammadPCh Dec 24, 2023
85a8e53
add approve step ui
MohammadPCh Dec 24, 2023
68e34b0
add approve functionality
MohammadPCh Dec 24, 2023
0ac4204
skip approve for native token
MohammadPCh Dec 24, 2023
c09d1d7
handle steps
MohammadPCh Dec 24, 2023
7544259
fix disable condition
MohammadPCh Dec 24, 2023
0ca1486
fix fetchEthPrice
MohammadPCh Dec 24, 2023
305adac
add onDeposit
MohammadPCh Dec 24, 2023
666f0bf
handle done action
MohammadPCh Dec 24, 2023
71cbf6d
fix loading state
MohammadPCh Dec 24, 2023
c18adcd
fix disable condition
MohammadPCh Dec 24, 2023
e978845
hide tabs
MohammadPCh Dec 24, 2023
fcd16e5
use token balance only from use token
MohammadPCh Dec 24, 2023
0cbdb46
add feature flag
MohammadPCh Dec 25, 2023
13d59ec
handled Claim Recurring Donations with feature flag
alireza-sharifpour Dec 25, 2023
c1b234b
hide tokens with stream on project from token list
MohammadPCh Dec 25, 2023
89313c0
comment eruda
MohammadPCh Dec 25, 2023
c8cff63
fix typo
MohammadPCh Dec 25, 2023
ba01150
update SuccessView
MohammadPCh Dec 25, 2023
951f23d
show SuccessView
MohammadPCh Dec 25, 2023
0798083
update styles
MohammadPCh Dec 25, 2023
f1118cb
update one time donation
MohammadPCh Dec 25, 2023
29fa2c9
remove unused
MohammadPCh Dec 25, 2023
367dd3a
use project data from props instead of context in QFSection
MohammadPCh Dec 25, 2023
906d96a
use project data from props instead of context in DonationSection
MohammadPCh Dec 25, 2023
1bc3e6e
pass projectData
MohammadPCh Dec 25, 2023
4c032c8
show project Info
MohammadPCh Dec 25, 2023
a35bb25
fix already donated width
MohammadPCh Dec 25, 2023
e77c852
set donation tx
MohammadPCh Dec 25, 2023
8822ffa
Merge branch 'superfluid-develop-branch' into recurring-donation-func…
aminlatifi Dec 25, 2023
9b7a776
fix no stream
MohammadPCh Dec 26, 2023
53731ce
handle giveth project
MohammadPCh Dec 26, 2023
d2c5337
fix nice banner width
MohammadPCh Dec 26, 2023
36ca29e
Merge pull request #3436 from Giveth/recurring-donation-functionality
MohammadPCh Dec 26, 2023
e494eb2
translate DonationCard
MohammadPCh Dec 27, 2023
a024233
translate RecurringDonationCard
MohammadPCh Dec 27, 2023
3d041af
translate SelectTokenModal
MohammadPCh Dec 27, 2023
520749a
remove unused prop
MohammadPCh Dec 27, 2023
7e1a06e
translate StreamInfo
MohammadPCh Dec 27, 2023
61ff8a4
translate WrongNetworkLayer
MohammadPCh Dec 27, 2023
a2e5e69
translate RecurringDonationModal
MohammadPCh Dec 27, 2023
ae3d466
translate ModifySuperTokenModal
MohammadPCh Dec 27, 2023
60c6b74
translate ModifySuperTokenModal
MohammadPCh Dec 27, 2023
8b5ae6b
translate DepositSuperToken
MohammadPCh Dec 27, 2023
a633c78
Merge branch 'develop' into superfluid-develop-branch
MohammadPCh Dec 27, 2023
11015a9
fix approveERC20tokenTransfer
MohammadPCh Dec 27, 2023
1ba4c26
install new packages
MohammadPCh Dec 27, 2023
077c350
remove unused logs
MohammadPCh Dec 27, 2023
db0a521
Merge pull request #3501 from Giveth/create-anchor-contract-hook
MohammadPCh Dec 28, 2023
3ebda61
Merge branch 'develop' into superfluid-develop-branch
MohammadPCh Dec 28, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 36 additions & 1 deletion lang/ca.json
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@
"label.givbacks_rewards": "Recompenses de GIVbacks",
"label.givbacks_rewards_corresponding_to_the_current_round": "Les recompenses de GIVbacks corresponents a la ronda actual estan disponibles després que la ronda finalitzi. Si has donat a un projecte verificat i encara no tens recompenses per reclamar, és probable que els GIVbacks no s'hagin distribuït per a aquesta ronda, o que ja hagis reclamat les teves recompenses de GIVbacks.",
"label.givbacks_rewards_donors_to_verified_projects": "GIVbacks recompensa els donants de projectes verificats amb GIV, potenciant Giveth com una força del bé impulsada pels donants.",
"label.givback_distributed_afer_round": "GIV rewards from the GIVbacks program will be distributed after the end of the current round.",
"label.givback_distributed_after_round": "GIV rewards from the GIVbacks program will be distributed after the end of the current round.",
"label.give": "Dóna",
"label.giveconomy": "GIVeconomy",
"label.giveconomy_activities": "Activitats de GIVeconomy",
Expand Down Expand Up @@ -1413,5 +1413,40 @@
"tooltip.donation.matching": "This estimation is based on the donations made so far this quadratic funding round and is not considering fraud analysis. Actual matching amount vary.",
"ubi": "Renta bàsica",
"water-and-sanitation": "Aigua i Sanejament",
"label.deposit": "dipòsit",
"label.how_do_you_want_to_donate": "Com vols donar?",
"label.this_feature_will_be_available_soon": "Aquesta funció estarà disponible aviat.",
"label.one_time_donation": "Donació Única",
"label.recurring_donation": "Donació Recurrent",
"label.make_a_recurring_donation_with": "Fes una donació recurrent amb ",
"label.provide_continuous_funding_by_streaming_your_donations_over_time": "Proporciona finançament continu fent les teves donacions periòdiques al llarg del temps.",
"label.creating_a_monthly_recurring_donation": "Creant una donació recurrent mensual",
"label.stream_balance": "Saldo de la Transmissió",
"label.select_token": "Selecciona Token",
"label.amount_to_donate_monthly": "Quantitat a donar mensualment",
"label.donate_to_this_project": "Dona a aquest projecte",
"label.per_month": "per Mes",
"label.stream_balance_runs_out_in": "El saldo del flux s'esgota en",
"label.months": "{count, plural, one { Mes} other { Mesos} }",
"label.month": "{count, plural, one { Mes} other { Mesos} }",
"label.top_up_stream_balance": "Recarrega el saldo del flux",
"label.you_are_supporting_other_projects_with_this_stream": "Estàs recolzant {count} altre projecte amb aquest flux",
"label.manage_recurring_donations": "Gestiona donacions recurrents",
"label.streams_powered_by": "Fluxos impulsats per",
"label.monthly": "Mensualment",
"label.donating_percentage_to": "Donant el {percentage} a ",
"label.modify_recurring_donation": "Modificar Donació Recurrent",
"label.stream_balances": "Saldos de la Transmissió",
"label.eligible_tokens": "Tokens Elegibles",
"label.you_have_stream_on_all_tokens": "Tens transmissió en tots els tokens",
"label.stream_runs_out_in": "El flux s'esgota en",
"label.funding_count_projects": "Finançant {count} {count, plural, one { Projecte} other { Projectes} }",
"label.recurring_donations_currently_only_available_on_optimism": "Les donacions recurrents actualment només estan disponibles en Optimism",
"label.switch_to_network_to_continue_donating": "Canvia a {network} per continuar donant a aquest projecte.",
"label.confirm_your_donation": "Confirma la teva donació",
"label.approving": "Aprovant",
"label.modify_stream_balance": "Modificar el Saldo de la Transmissió",
"label.funding": "Finançament",
"label.balance_runs_out_in": "El saldo s'esgota en",
"label.unfortunately_passport_is_incompatible": "Desafortunadament, Passport no és compatible amb multisigs. Si us plau, intenta-ho amb la teva cartera personal"
}
37 changes: 36 additions & 1 deletion lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@
"label.givbacks_rewards": "GIVbacks Rewards",
"label.givbacks_rewards_corresponding_to_the_current_round": "GIVbacks rewards corresponding to the current round become available after the round ends. If you donated to a verified project and do not yet have rewards to claim, it is likely that GIVbacks have not yet been distributed for that round, or that you claimed your GIVbacks rewards already.",
"label.givbacks_rewards_donors_to_verified_projects": "GIVbacks rewards donors to verified projects with GIV, super-charging Giveth as a donor-driven force for good.",
"label.givback_distributed_afer_round": "GIV rewards from the GIVbacks program will be distributed after the end of the current round.",
"label.givback_distributed_after_round": "GIV rewards from the GIVbacks program will be distributed after the end of the current round.",
"label.give": "Give",
"label.giveconomy": "GIVeconomy",
"label.giveconomy_activities": "GIVeconomy activities",
Expand Down Expand Up @@ -1413,5 +1413,40 @@
"tooltip.donation.matching": "This estimation is based on the donations made so far this quadratic funding round and is not considering fraud analysis. Actual matching amount vary.",
"ubi": "UBI",
"water-and-sanitation": "Water & Sanitation",
"label.deposit": "deposit",
"label.how_do_you_want_to_donate": "How do you want to donate?",
"label.this_feature_will_be_available_soon": "This feature will be available soon.",
"label.one_time_donation": "One-Time Donation",
"label.recurring_donation": "Recurring Donation",
"label.make_a_recurring_donation_with": "Make a recurring donation with ",
"label.provide_continuous_funding_by_streaming_your_donations_over_time": "Provide continuous funding by streaming your donations over time.",
"label.creating_a_monthly_recurring_donation": "Creating a Monthly recurring donation",
"label.stream_balance": "Stream Balance",
"label.select_token": "Select Token",
"label.amount_to_donate_monthly": "Amount to donate Monthly",
"label.donate_to_this_project": "Donate to this project",
"label.per_month": "per Month",
"label.stream_balance_runs_out_in": "Stream balance runs out in",
"label.months": "{count, plural, one { Month} other { Months} }",
"label.month": "{count, plural, one { Month} other { Months} }",
"label.top_up_stream_balance": "Top-up stream balance",
"label.you_are_supporting_other_projects_with_this_stream": "You are supporting {count} other project with this stream",
"label.manage_recurring_donations": "Manage recurring donations",
"label.streams_powered_by": "Streams powered by",
"label.monthly": "Monthly",
"label.donating_percentage_to": "Donating {percentage} to ",
"label.modify_recurring_donation": "Modify Recurring Donation",
"label.stream_balances": "Stream Balances",
"label.eligible_tokens": "Tokens Elegibles",
"label.you_have_stream_on_all_tokens": "You have stream on all tokens",
"label.stream_runs_out_in": "Stream runs out in",
"label.funding_count_projects": "Funding {count} {count, plural, one { Project} other { Projects} }",
"label.recurring_donations_currently_only_available_on_optimism": "Recurring donations are currently only available on Optimism",
"label.switch_to_network_to_continue_donating": "Switch to {network} to continue donating to this project.",
"label.confirm_your_donation": "Confirm your donation",
"label.approving": "Approving",
"label.modify_stream_balance": "Modify Stream Balance",
"label.funding": "Funding",
"label.balance_runs_out_in": "Balance runs out in",
"label.unfortunately_passport_is_incompatible": "Unfortunately Passport is not compatible with Multisigs, sign in with your regular wallet to verify your passport & make QF Donations."
}
38 changes: 36 additions & 2 deletions lang/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@
"label.givbacks_rewards": "Recompensas de GIVbacks",
"label.givbacks_rewards_corresponding_to_the_current_round": "Recompensas de GIVbacks correspondientes a la ronda actual se harán disponibles después de que la ronda termine. Si donaste a un proyecto verificado y no tienes recompensas por reclamar, es muy probable que los GIVbacks no hayan sido distribuidos para esa ronda, o que ya hayas reclamado.",
"label.givbacks_rewards_donors_to_verified_projects": "GIVbacks recompensa a los donantes de proyectos verificados con GIV, potenciando Giveth como una fuerza del bien impulsada por los donantes.",
"label.givback_distributed_afer_round": "GIV rewards from the GIVbacks program will be distributed after the end of the current round.",
"label.givback_distributed_after_round": "GIV rewards from the GIVbacks program will be distributed after the end of the current round.",
"label.give": "Da",
"label.giveconomy": "GIVeconomy",
"label.giveconomy_activities": "Actividades en GIVeconomy",
Expand Down Expand Up @@ -742,7 +742,6 @@
"label.show_your_support": "Muestra tu apoyo al futuro de las donaciones y desbloquea tu estilo único de Giveth minteando una de las primeras piezas NFT PFP inspiradas en Giveth.",
"label.sign_in_to_giveth": "Inicia Sesión en Giveth",
"label.sign_in_with_ethereum": "Ingresa con Ethereum",
"label.sign_in_with_ethereum": "Ingresa con Solana",
"label.sign_message": "Firmar Mensaje",
"label.sign_out": "Salir",
"label.sign_wallet": "Firmar Billetera",
Expand Down Expand Up @@ -1413,5 +1412,40 @@
"tooltip.donation.matching": "This estimation is based on the donations made so far this quadratic funding round and is not considering fraud analysis. Actual matching amount vary.",
"ubi": "UBI",
"water-and-sanitation": "Agua & Saneamiento",
"label.deposit": "depósito",
"label.how_do_you_want_to_donate": "¿Cómo quieres donar?",
"label.this_feature_will_be_available_soon": "Esta función estará disponible pronto.",
"label.one_time_donation": "Donación Única",
"label.recurring_donation": "Donación Recurrente",
"label.make_a_recurring_donation_with": "Haz una donación recurrente con ",
"label.provide_continuous_funding_by_streaming_your_donations_over_time": "Proporciona financiamiento continuo transmitiendo tus donaciones a lo largo del tiempo.",
"label.creating_a_monthly_recurring_donation": "Creando una donación recurrente mensual",
"label.stream_balance": "Saldo de Transmisión",
"label.select_token": "Seleccionar Token",
"label.amount_to_donate_monthly": "Cantidad a donar mensualmente",
"label.donate_to_this_project": "Donar a este proyecto",
"label.per_month": "por Mes",
"label.stream_balance_runs_out_in": "El saldo de la transmisión se agota en",
"label.months": "{count, plural, one { Mes} other { Meses} }",
"label.month": "{count, plural, one { Mes} other { Meses} }",
"label.top_up_stream_balance": "Recargar el saldo de la transmisión",
"label.you_are_supporting_other_projects_with_this_stream": "Estás apoyando {count} otro proyecto con esta transmisión",
"label.manage_recurring_donations": "Gestionar donaciones recurrentes",
"label.streams_powered_by": "Transmisiones potenciadas por",
"label.monthly": "Mensualmente",
"label.donating_percentage_to": "Donando el {percentage} a ",
"label.modify_recurring_donation": "Modificar Donación Recurrente",
"label.stream_balances": "Saldos de Transmisión",
"label.eligible_tokens": "Tokens Elegibles",
"label.you_have_stream_on_all_tokens": "Tienes transmisión en todos los tokens",
"label.stream_runs_out_in": "La transmisión se agota en",
"label.funding_count_projects": "Financiando {count} {count, plural, one { Proyecto} other { Proyectos} }",
"label.recurring_donations_currently_only_available_on_optimism": "Las donaciones recurrentes actualmente solo están disponibles en Optimism",
"label.switch_to_network_to_continue_donating": "Cambia a {network} para continuar donando a este proyecto.",
"label.confirm_your_donation": "Confirma tu donación",
"label.approving": "Aprobando",
"label.modify_stream_balance": "Modificar el Saldo de Transmisión",
"label.funding": "Financiamiento",
"label.balance_runs_out_in": "El saldo se agota en",
"label.unfortunately_passport_is_incompatible": "Desafortunadamente, Passport no es compatible con multisigs. Por favor, inténtalo con tu billetera personal."
}
2 changes: 1 addition & 1 deletion lang/nt_ca.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"label.get_your_giveth_name": "Get your Giveth Name.",
"label.gitcoin_passport": "Gitcoin Passport",
"label.givbacks": "GIVbacks",
"label.givback_distributed_afer_round": "GIV rewards from the GIVbacks program will be distributed after the end of the current round.",
"label.givback_distributed_after_round": "GIV rewards from the GIVbacks program will be distributed after the end of the current round.",
"label.giveconomy": "GIVeconomy",
"label.givers_nft": "Givers NFT",
"label.givers_pfp_holders": "Givers PFP Holders will be able to claim their own unique ",
Expand Down
2 changes: 1 addition & 1 deletion lang/nt_es.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"label.get_rewarded_with": "Get rewarded with up to ",
"label.get_your_giveth_name": "Get your Giveth Name.",
"label.gitcoin_passport": "Gitcoin Passport",
"label.givback_distributed_afer_round": "GIV rewards from the GIVbacks program will be distributed after the end of the current round.",
"label.givback_distributed_after_round": "GIV rewards from the GIVbacks program will be distributed after the end of the current round.",
"label.giveconomy": "GIVeconomy",
"label.givers_nft": "Givers NFT",
"label.givers_pfp_holders": "Givers PFP Holders will be able to claim their own unique ",
Expand Down
2 changes: 1 addition & 1 deletion lang/t_ca.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"label.get_your_giveth_name": "Obtén el teu nom de Giveth.",
"label.gitcoin_passport": "Passaport Gitcoin",
"label.givbacks": "GIVbacks",
"label.givback_distributed_afer_round": "Les recompenses GIV del programa GIVbacks es distribuiran després de la fi de la ronda actual.",
"label.givback_distributed_after_round": "Les recompenses GIV del programa GIVbacks es distribuiran després de la fi de la ronda actual.",
"label.giveconomy": "GIVeconomia",
"label.givers_pfp_holders": "Els titulars de Givers PFP podran reclamar el seu propi únic ",
"label.givpower": "GIVpower",
Expand Down
2 changes: 1 addition & 1 deletion lang/t_es.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"label.get_rewarded_with": "Obtén recompensas de hasta ",
"label.get_your_giveth_name": "Obtén tu Nombre de Giveth.",
"label.gitcoin_passport": "Pasaporte de Gitcoin",
"label.givback_distributed_afer_round": "Las recompensas GIV del programa GIVbacks se distribuirán después del final de la ronda actual.",
"label.givback_distributed_after_round": "Las recompensas GIV del programa GIVbacks se distribuirán después del final de la ronda actual.",
"label.giveconomy": "Economía de Giveth",
"label.givers_pfp_holders": "Los titulares de Givers PFP podrán reclamar su propio ",
"label.givpower": "GIVpower",
Expand Down
8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
},
"dependencies": {
"@apollo/client": "^3.8.3",
"@giveth/ui-design-system": "^1.11.17",
"@giveth/ui-design-system": "^1.11.19",
"@reduxjs/toolkit": "^1.9.5",
"@safe-global/api-kit": "^2.0.0",
"@segment/snippet": "^4.15.3",
Expand All @@ -28,16 +28,17 @@
"@solana/wallet-adapter-react-ui": "^0.9.34",
"@solana/wallet-adapter-wallets": "^0.19.23",
"@solana/web3.js": "^1.87.6",
"@superfluid-finance/sdk-core": "^0.6.12",
"@uniswap/v3-sdk": "^3.10.0",
"@web3auth/sign-in-with-solana": "^3.0.0",
"@web3modal/wagmi": "^3.1.0",
"apollo-upload-client": "^17.0.0",
"base58": "^2.0.1",
"bignumber.js": "^9.1.2",
"deepmerge": "^4.2.2",
"ethers": "^6.7.1",
"ethers": "5.7.2",
"framer-motion": "^10.12.12",
"graphql": "^16.8.0",
"graphql": "^16.8.1",
"lodash.isequal": "^4.5.0",
"lottie-react": "^2.3.1",
"next": "^13.5.1",
Expand Down Expand Up @@ -76,6 +77,7 @@
"@testing-library/react": "^13.3.0",
"@types/apollo-upload-client": "^14.1.0",
"@types/axios": "^0.14.0",
"@types/extract-files": "^8.1.3",
"@types/jest": "^28.1.4",
"@types/jest-axe": "^3.5.4",
"@types/lodash.isequal": "^4.5.5",
Expand Down
1 change: 0 additions & 1 deletion pages/test1.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,10 @@
});

const fetchProjects = async () => {
const res = await client.query({

Check warning on line 74 in pages/test1.tsx

View workflow job for this annotation

GitHub Actions / build

'res' is assigned a value but never used. Allowed unused vars must match /^_/u
query: FETCH_ALL_PROJECTS,
fetchPolicy: 'network-only',
});
console.log('res', res);
};

// console.log('gnosisValues', gnosisValues);
Expand Down
51 changes: 13 additions & 38 deletions pages/test2.tsx
Original file line number Diff line number Diff line change
@@ -1,58 +1,33 @@
import { useEffect } from 'react';
import { erc20ABI, useAccount, useContractRead, useNetwork } from 'wagmi';
import { getContract } from 'wagmi/actions';
import { formatWeiHelper } from '@/helpers/number';
import { approveERC20tokenTransfer } from '@/lib/stakingPool';
import { useState } from 'react';
import { useAccount, useNetwork } from 'wagmi';
import { ModifySuperTokenModal } from '@/components/views/donate/ModifySuperToken/ModifySuperTokenModal';
import config from '@/configuration';

const YourApp = () => {
const [showModal, setShowModal] = useState(false);
const { address, isConnected, status } = useAccount();
const { chain } = useNetwork();
const chainId = chain?.id;
// console.log('address', address, isConnected, status, chainId);
const { data } = useContractRead({
address: '0xc916Ce4025Cb479d9BA9D798A80094a449667F5D',
abi: erc20ABI,
functionName: 'allowance',
});

useEffect(() => {
const contract = getContract({
address: '0xc916Ce4025Cb479d9BA9D798A80094a449667F5D',
abi: erc20ABI,
});
contract.read
.allowance([
'0x8F48094a12c8F99d616AE8F3305D5eC73cBAA6b6',
'0x632AC305ed88817480d12155A7F1244cC182C298',
])
.then(res => console.log('Allow', formatWeiHelper(res.toString())));
}, []);

console.log('contractRead', getContract);

return (
<div>
<w3m-button />
<div>
<button
onClick={() => {
if (!chainId) return;
approveERC20tokenTransfer(
1000000000000000000n,
address!,
config.EVM_NETWORKS_CONFIG[chainId]?.GIVPOWER
?.LM_ADDRESS!,
config.EVM_NETWORKS_CONFIG[chainId]
.GIV_TOKEN_ADDRESS!,
chainId,
false,
);
setShowModal(true);
}}
>
FUck This Approval stuffs
Test Button
</button>
</div>
{showModal && (
<ModifySuperTokenModal
setShowModal={setShowModal}
selectedToken={config.OPTIMISM_CONFIG.SUPER_FLUID_TOKENS[1]}
tokenStreams={{}}
/>
)}
</div>
);
};
Expand Down
Loading
Loading