From a9f26b409bcfe8bc55d77844c5001e057fb20927 Mon Sep 17 00:00:00 2001 From: Slava Matvienco Date: Wed, 19 May 2021 17:40:01 +0300 Subject: [PATCH] Merge Dev into Master (#263) * fix\ * Polish * Polish * notifications bubble design change * Polish * Polish * Polish * Fix * fix * fix * fix infinite table enlargement * fix * fix * fix * fix * fix * Fix SVG Sprite (#144) * Fix SVG sprite * Change originatorAPY with originatorNetAPY * fix proposals layout (#148) * fix proposals layout * fix nav z-index * extract fixes from antd.css * Fix color for disabled input on dark theme (#147) * fix create proposal page layout (#149) * Fixes (#151) * fix package-lock..json * fix proposals layout * fix proposals layout * fix proposals layout (#154) * fixes (#155) * fixes * fix * Fix package-lock (#156) Fix * fix voters styles * Issues fixing (#159) * fixes * fix * fixes * CH Tickets fix * CH Tickets fix * fix * Issues Fix (#160) * fixes * fix * fixes * CH Tickets fix * CH Tickets fix * fix * fix * Fix previous PR (#161) * Fixes (#162) * Fixes (#163) * Fix previous PR (#164) * Fix Pool Chart * Feature/notifications (#157) * merge theme to general provider * add notifications static markup * connect notiications to api * fix null on notifications list case * store read notification state * fix notification read status * extract notifications to separate provider * set custom texts to notifications * add missing message vars * SY Pools Implementation (#165) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge Co-authored-by: Alexandr Ricov * Update index.tsx (#168) * Polish SY Pools (#169) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge * Polish SY Pools Co-authored-by: Alexandr Ricov * fix layout, set content width limits * fix bloken layout proposal view page * fix layout, set content width limits (#171) * fix layout, set content width limits * fix bloken layout proposal view page * add notification types (#170) * merge theme to general provider * add notifications static markup * connect notiications to api * fix null on notifications list case * store read notification state * fix notification read status * extract notifications to separate provider * set custom texts to notifications * add missing message vars * add notification types * fix proposal-accepted text * Polish SY Pools (#172) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge * Polish SY Pools * Polish SY Pools Co-authored-by: Alexandr Ricov * change period button style * remove unused code * Hotfix/sy (#173) * fix layout, set content width limits * fix bloken layout proposal view page * change period button style * remove unused code * Feature/notifications (#174) * merge theme to general provider * add notifications static markup * connect notiications to api * fix null on notifications list case * store read notification state * fix notification read status * extract notifications to separate provider * set custom texts to notifications * add missing message vars * add notification types * fix proposal-accepted text * add delegate-start bonds value * SY Pools Polish (#175) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge * Polish SY Pools * Polish SY Pools * SY Pools Polish Co-authored-by: Alexandr Ricov * SY Pools Fixes (#176) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge * Polish SY Pools * Polish SY Pools * SY Pools Polish * Fix * Fix Co-authored-by: Alexandr Ricov * Fix * SY Polish (#178) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge * Polish SY Pools * Polish SY Pools * SY Pools Polish * Fix * Fix * Fix * Polish SY Co-authored-by: Alexandr Ricov * Fix (#179) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge * Polish SY Pools * Polish SY Pools * SY Pools Polish * Fix * Fix * Fix * Polish SY * Fix SY Table APR calculation Co-authored-by: Alexandr Ricov * remove multiple back arrow icons * add fonts classnames, standartize horiz padding * fix tabs icon space for legacy browsers * fallback flexbox gap * restore removed style * Hotfix/sy (#181) * fix layout, set content width limits * fix bloken layout proposal view page * change period button style * remove unused code * remove multiple back arrow icons * add fonts classnames, standartize horiz padding * fix tabs icon space for legacy browsers * fallback flexbox gap * restore removed style * Polish contracts * Polish contracts * Add Treasury tab under Governance module * Feature/treasury (#182) * Polish contracts * Polish contracts * Add Treasury tab under Governance module * add tabs component * make tabs shadow bg configurable * add shadows param description * notifications update (#183) * merge theme to general provider * add notifications static markup * connect notiications to api * fix null on notifications list case * store read notification state * fix notification read status * extract notifications to separate provider * set custom texts to notifications * add missing message vars * add notification types * fix proposal-accepted text * add delegate-start bonds value * add smart-yield-token-bought notification type * add token symbol for smart-yield-token-bought * Hotfix/sy (#184) * fix layout, set content width limits * fix bloken layout proposal view page * change period button style * remove unused code * remove multiple back arrow icons * add fonts classnames, standartize horiz padding * fix tabs icon space for legacy browsers * fallback flexbox gap * restore removed style * add tabs component * make tabs shadow bg configurable * add shadows param description * DAO Treasury (#185) * Polish contracts * Polish contracts * Add Treasury tab under Governance module * Fixes * Fixes * Fixes (#186) * Polish contracts * Polish contracts * Add Treasury tab under Governance module * Fixes * Fixes * Fixes * Fixes (#187) * Polish contracts * Polish contracts * Add Treasury tab under Governance module * Fixes * Fixes * Fixes * Fixes * Fixes (#188) * Merge Dev into Master (#180) * fix\ * Polish * Polish * notifications bubble design change * Polish * Polish * Polish * Fix * fix * fix * fix infinite table enlargement * fix * fix * fix * fix * fix * Fix SVG Sprite (#144) * Fix SVG sprite * Change originatorAPY with originatorNetAPY * fix proposals layout (#148) * fix proposals layout * fix nav z-index * extract fixes from antd.css * Fix color for disabled input on dark theme (#147) * fix create proposal page layout (#149) * Fixes (#151) * fix package-lock..json * fix proposals layout * fix proposals layout * fix proposals layout (#154) * fixes (#155) * fixes * fix * Fix package-lock (#156) Fix * fix voters styles * Issues fixing (#159) * fixes * fix * fixes * CH Tickets fix * CH Tickets fix * fix * Issues Fix (#160) * fixes * fix * fixes * CH Tickets fix * CH Tickets fix * fix * fix * Fix previous PR (#161) * Fixes (#162) * Fixes (#163) * Fix previous PR (#164) * Fix Pool Chart * Feature/notifications (#157) * merge theme to general provider * add notifications static markup * connect notiications to api * fix null on notifications list case * store read notification state * fix notification read status * extract notifications to separate provider * set custom texts to notifications * add missing message vars * SY Pools Implementation (#165) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge Co-authored-by: Alexandr Ricov * Update index.tsx (#168) * Polish SY Pools (#169) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge * Polish SY Pools Co-authored-by: Alexandr Ricov * fix layout, set content width limits (#171) * fix layout, set content width limits * fix bloken layout proposal view page * add notification types (#170) * merge theme to general provider * add notifications static markup * connect notiications to api * fix null on notifications list case * store read notification state * fix notification read status * extract notifications to separate provider * set custom texts to notifications * add missing message vars * add notification types * fix proposal-accepted text * Polish SY Pools (#172) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge * Polish SY Pools * Polish SY Pools Co-authored-by: Alexandr Ricov * Hotfix/sy (#173) * fix layout, set content width limits * fix bloken layout proposal view page * change period button style * remove unused code * Feature/notifications (#174) * merge theme to general provider * add notifications static markup * connect notiications to api * fix null on notifications list case * store read notification state * fix notification read status * extract notifications to separate provider * set custom texts to notifications * add missing message vars * add notification types * fix proposal-accepted text * add delegate-start bonds value * SY Pools Polish (#175) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge * Polish SY Pools * Polish SY Pools * SY Pools Polish Co-authored-by: Alexandr Ricov * SY Pools Fixes (#176) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge * Polish SY Pools * Polish SY Pools * SY Pools Polish * Fix * Fix Co-authored-by: Alexandr Ricov * Fix * SY Polish (#178) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge * Polish SY Pools * Polish SY Pools * SY Pools Polish * Fix * Fix * Fix * Polish SY Co-authored-by: Alexandr Ricov * Fix (#179) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge * Polish SY Pools * Polish SY Pools * SY Pools Polish * Fix * Fix * Fix * Polish SY * Fix SY Table APR calculation Co-authored-by: Alexandr Ricov Co-authored-by: Alexandr Ricov Co-authored-by: Michail Kargakis Co-authored-by: Bogdan Gheorghe * Polish contracts * Polish contracts * Add Treasury tab under Governance module * Fixes * Fixes * Fixes * Fixes * Add SY Pool card to Yield-Farming page * Fix SY-Pool-Card * Fixes * Fixes Co-authored-by: Alexandr Ricov Co-authored-by: Michail Kargakis Co-authored-by: Bogdan Gheorghe * Fixes (#191) * Merge Dev into Master (#180) * fix\ * Polish * Polish * notifications bubble design change * Polish * Polish * Polish * Fix * fix * fix * fix infinite table enlargement * fix * fix * fix * fix * fix * Fix SVG Sprite (#144) * Fix SVG sprite * Change originatorAPY with originatorNetAPY * fix proposals layout (#148) * fix proposals layout * fix nav z-index * extract fixes from antd.css * Fix color for disabled input on dark theme (#147) * fix create proposal page layout (#149) * Fixes (#151) * fix package-lock..json * fix proposals layout * fix proposals layout * fix proposals layout (#154) * fixes (#155) * fixes * fix * Fix package-lock (#156) Fix * fix voters styles * Issues fixing (#159) * fixes * fix * fixes * CH Tickets fix * CH Tickets fix * fix * Issues Fix (#160) * fixes * fix * fixes * CH Tickets fix * CH Tickets fix * fix * fix * Fix previous PR (#161) * Fixes (#162) * Fixes (#163) * Fix previous PR (#164) * Fix Pool Chart * Feature/notifications (#157) * merge theme to general provider * add notifications static markup * connect notiications to api * fix null on notifications list case * store read notification state * fix notification read status * extract notifications to separate provider * set custom texts to notifications * add missing message vars * SY Pools Implementation (#165) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge Co-authored-by: Alexandr Ricov * Update index.tsx (#168) * Polish SY Pools (#169) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge * Polish SY Pools Co-authored-by: Alexandr Ricov * fix layout, set content width limits (#171) * fix layout, set content width limits * fix bloken layout proposal view page * add notification types (#170) * merge theme to general provider * add notifications static markup * connect notiications to api * fix null on notifications list case * store read notification state * fix notification read status * extract notifications to separate provider * set custom texts to notifications * add missing message vars * add notification types * fix proposal-accepted text * Polish SY Pools (#172) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge * Polish SY Pools * Polish SY Pools Co-authored-by: Alexandr Ricov * Hotfix/sy (#173) * fix layout, set content width limits * fix bloken layout proposal view page * change period button style * remove unused code * Feature/notifications (#174) * merge theme to general provider * add notifications static markup * connect notiications to api * fix null on notifications list case * store read notification state * fix notification read status * extract notifications to separate provider * set custom texts to notifications * add missing message vars * add notification types * fix proposal-accepted text * add delegate-start bonds value * SY Pools Polish (#175) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge * Polish SY Pools * Polish SY Pools * SY Pools Polish Co-authored-by: Alexandr Ricov * SY Pools Fixes (#176) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge * Polish SY Pools * Polish SY Pools * SY Pools Polish * Fix * Fix Co-authored-by: Alexandr Ricov * Fix * SY Polish (#178) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge * Polish SY Pools * Polish SY Pools * SY Pools Polish * Fix * Fix * Fix * Polish SY Co-authored-by: Alexandr Ricov * Fix (#179) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge * Polish SY Pools * Polish SY Pools * SY Pools Polish * Fix * Fix * Fix * Polish SY * Fix SY Table APR calculation Co-authored-by: Alexandr Ricov Co-authored-by: Alexandr Ricov Co-authored-by: Michail Kargakis Co-authored-by: Bogdan Gheorghe * Polish contracts * Polish contracts * Add Treasury tab under Governance module * Add SY Pool Card to Yield-Farming page (#189) * Add SY Pool card to Yield-Farming page * Fix SY-Pool-Card * Update api.ts * Fixes (#190) * Add SY Pool card to Yield-Farming page * Fix SY-Pool-Card * Update api.ts * Fix Co-authored-by: Alexandr Ricov Co-authored-by: Michail Kargakis Co-authored-by: Bogdan Gheorghe * Fix * Fix Development Merge (#192) * Merge Dev into Master (#180) * fix\ * Polish * Polish * notifications bubble design change * Polish * Polish * Polish * Fix * fix * fix * fix infinite table enlargement * fix * fix * fix * fix * fix * Fix SVG Sprite (#144) * Fix SVG sprite * Change originatorAPY with originatorNetAPY * fix proposals layout (#148) * fix proposals layout * fix nav z-index * extract fixes from antd.css * Fix color for disabled input on dark theme (#147) * fix create proposal page layout (#149) * Fixes (#151) * fix package-lock..json * fix proposals layout * fix proposals layout * fix proposals layout (#154) * fixes (#155) * fixes * fix * Fix package-lock (#156) Fix * fix voters styles * Issues fixing (#159) * fixes * fix * fixes * CH Tickets fix * CH Tickets fix * fix * Issues Fix (#160) * fixes * fix * fixes * CH Tickets fix * CH Tickets fix * fix * fix * Fix previous PR (#161) * Fixes (#162) * Fixes (#163) * Fix previous PR (#164) * Fix Pool Chart * Feature/notifications (#157) * merge theme to general provider * add notifications static markup * connect notiications to api * fix null on notifications list case * store read notification state * fix notification read status * extract notifications to separate provider * set custom texts to notifications * add missing message vars * SY Pools Implementation (#165) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge Co-authored-by: Alexandr Ricov * Update index.tsx (#168) * Polish SY Pools (#169) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge * Polish SY Pools Co-authored-by: Alexandr Ricov * fix layout, set content width limits (#171) * fix layout, set content width limits * fix bloken layout proposal view page * add notification types (#170) * merge theme to general provider * add notifications static markup * connect notiications to api * fix null on notifications list case * store read notification state * fix notification read status * extract notifications to separate provider * set custom texts to notifications * add missing message vars * add notification types * fix proposal-accepted text * Polish SY Pools (#172) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge * Polish SY Pools * Polish SY Pools Co-authored-by: Alexandr Ricov * Hotfix/sy (#173) * fix layout, set content width limits * fix bloken layout proposal view page * change period button style * remove unused code * Feature/notifications (#174) * merge theme to general provider * add notifications static markup * connect notiications to api * fix null on notifications list case * store read notification state * fix notification read status * extract notifications to separate provider * set custom texts to notifications * add missing message vars * add notification types * fix proposal-accepted text * add delegate-start bonds value * SY Pools Polish (#175) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge * Polish SY Pools * Polish SY Pools * SY Pools Polish Co-authored-by: Alexandr Ricov * SY Pools Fixes (#176) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge * Polish SY Pools * Polish SY Pools * SY Pools Polish * Fix * Fix Co-authored-by: Alexandr Ricov * Fix * SY Polish (#178) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge * Polish SY Pools * Polish SY Pools * SY Pools Polish * Fix * Fix * Fix * Polish SY Co-authored-by: Alexandr Ricov * Fix (#179) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge * Polish SY Pools * Polish SY Pools * SY Pools Polish * Fix * Fix * Fix * Polish SY * Fix SY Table APR calculation Co-authored-by: Alexandr Ricov Co-authored-by: Alexandr Ricov Co-authored-by: Michail Kargakis Co-authored-by: Bogdan Gheorghe * Polish contracts * Polish contracts * Add Treasury tab under Governance module * Add SY Pool Card to Yield-Farming page (#189) * Add SY Pool card to Yield-Farming page * Fix SY-Pool-Card * Update api.ts * Fixes (#190) * Add SY Pool card to Yield-Farming page * Fix SY-Pool-Card * Update api.ts * Fix * Fix Co-authored-by: Alexandr Ricov Co-authored-by: Michail Kargakis Co-authored-by: Bogdan Gheorghe * Add KnownTokensProvider (#195) * Merge Dev into Master (#180) * fix\ * Polish * Polish * notifications bubble design change * Polish * Polish * Polish * Fix * fix * fix * fix infinite table enlargement * fix * fix * fix * fix * fix * Fix SVG Sprite (#144) * Fix SVG sprite * Change originatorAPY with originatorNetAPY * fix proposals layout (#148) * fix proposals layout * fix nav z-index * extract fixes from antd.css * Fix color for disabled input on dark theme (#147) * fix create proposal page layout (#149) * Fixes (#151) * fix package-lock..json * fix proposals layout * fix proposals layout * fix proposals layout (#154) * fixes (#155) * fixes * fix * Fix package-lock (#156) Fix * fix voters styles * Issues fixing (#159) * fixes * fix * fixes * CH Tickets fix * CH Tickets fix * fix * Issues Fix (#160) * fixes * fix * fixes * CH Tickets fix * CH Tickets fix * fix * fix * Fix previous PR (#161) * Fixes (#162) * Fixes (#163) * Fix previous PR (#164) * Fix Pool Chart * Feature/notifications (#157) * merge theme to general provider * add notifications static markup * connect notiications to api * fix null on notifications list case * store read notification state * fix notification read status * extract notifications to separate provider * set custom texts to notifications * add missing message vars * SY Pools Implementation (#165) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge Co-authored-by: Alexandr Ricov * Update index.tsx (#168) * Polish SY Pools (#169) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge * Polish SY Pools Co-authored-by: Alexandr Ricov * fix layout, set content width limits (#171) * fix layout, set content width limits * fix bloken layout proposal view page * add notification types (#170) * merge theme to general provider * add notifications static markup * connect notiications to api * fix null on notifications list case * store read notification state * fix notification read status * extract notifications to separate provider * set custom texts to notifications * add missing message vars * add notification types * fix proposal-accepted text * Polish SY Pools (#172) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge * Polish SY Pools * Polish SY Pools Co-authored-by: Alexandr Ricov * Hotfix/sy (#173) * fix layout, set content width limits * fix bloken layout proposal view page * change period button style * remove unused code * Feature/notifications (#174) * merge theme to general provider * add notifications static markup * connect notiications to api * fix null on notifications list case * store read notification state * fix notification read status * extract notifications to separate provider * set custom texts to notifications * add missing message vars * add notification types * fix proposal-accepted text * add delegate-start bonds value * SY Pools Polish (#175) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge * Polish SY Pools * Polish SY Pools * SY Pools Polish Co-authored-by: Alexandr Ricov * SY Pools Fixes (#176) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge * Polish SY Pools * Polish SY Pools * SY Pools Polish * Fix * Fix Co-authored-by: Alexandr Ricov * Fix * SY Polish (#178) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge * Polish SY Pools * Polish SY Pools * SY Pools Polish * Fix * Fix * Fix * Polish SY Co-authored-by: Alexandr Ricov * Fix (#179) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge * Polish SY Pools * Polish SY Pools * SY Pools Polish * Fix * Fix * Fix * Polish SY * Fix SY Table APR calculation Co-authored-by: Alexandr Ricov Co-authored-by: Alexandr Ricov Co-authored-by: Michail Kargakis Co-authored-by: Bogdan Gheorghe * Polish contracts * Polish contracts * Add Treasury tab under Governance module * Add SY Pool Card to Yield-Farming page (#189) * Add SY Pool card to Yield-Farming page * Fix SY-Pool-Card * Update api.ts * Fixes (#190) * Add SY Pool card to Yield-Farming page * Fix SY-Pool-Card * Update api.ts * Fix * Fix * Add SyPools Balance to YF TVL (#193) * Add KnownTokensProvider Co-authored-by: Alexandr Ricov Co-authored-by: Michail Kargakis Co-authored-by: Bogdan Gheorghe * Fixes (#196) * Merge Dev into Master (#180) * fix\ * Polish * Polish * notifications bubble design change * Polish * Polish * Polish * Fix * fix * fix * fix infinite table enlargement * fix * fix * fix * fix * fix * Fix SVG Sprite (#144) * Fix SVG sprite * Change originatorAPY with originatorNetAPY * fix proposals layout (#148) * fix proposals layout * fix nav z-index * extract fixes from antd.css * Fix color for disabled input on dark theme (#147) * fix create proposal page layout (#149) * Fixes (#151) * fix package-lock..json * fix proposals layout * fix proposals layout * fix proposals layout (#154) * fixes (#155) * fixes * fix * Fix package-lock (#156) Fix * fix voters styles * Issues fixing (#159) * fixes * fix * fixes * CH Tickets fix * CH Tickets fix * fix * Issues Fix (#160) * fixes * fix * fixes * CH Tickets fix * CH Tickets fix * fix * fix * Fix previous PR (#161) * Fixes (#162) * Fixes (#163) * Fix previous PR (#164) * Fix Pool Chart * Feature/notifications (#157) * merge theme to general provider * add notifications static markup * connect notiications to api * fix null on notifications list case * store read notification state * fix notification read status * extract notifications to separate provider * set custom texts to notifications * add missing message vars * SY Pools Implementation (#165) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge Co-authored-by: Alexandr Ricov * Update index.tsx (#168) * Polish SY Pools (#169) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge * Polish SY Pools Co-authored-by: Alexandr Ricov * fix layout, set content width limits (#171) * fix layout, set content width limits * fix bloken layout proposal view page * add notification types (#170) * merge theme to general provider * add notifications static markup * connect notiications to api * fix null on notifications list case * store read notification state * fix notification read status * extract notifications to separate provider * set custom texts to notifications * add missing message vars * add notification types * fix proposal-accepted text * Polish SY Pools (#172) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge * Polish SY Pools * Polish SY Pools Co-authored-by: Alexandr Ricov * Hotfix/sy (#173) * fix layout, set content width limits * fix bloken layout proposal view page * change period button style * remove unused code * Feature/notifications (#174) * merge theme to general provider * add notifications static markup * connect notiications to api * fix null on notifications list case * store read notification state * fix notification read status * extract notifications to separate provider * set custom texts to notifications * add missing message vars * add notification types * fix proposal-accepted text * add delegate-start bonds value * SY Pools Polish (#175) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge * Polish SY Pools * Polish SY Pools * SY Pools Polish Co-authored-by: Alexandr Ricov * SY Pools Fixes (#176) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge * Polish SY Pools * Polish SY Pools * SY Pools Polish * Fix * Fix Co-authored-by: Alexandr Ricov * Fix * SY Polish (#178) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge * Polish SY Pools * Polish SY Pools * SY Pools Polish * Fix * Fix * Fix * Polish SY Co-authored-by: Alexandr Ricov * Fix (#179) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge * Polish SY Pools * Polish SY Pools * SY Pools Polish * Fix * Fix * Fix * Polish SY * Fix SY Table APR calculation Co-authored-by: Alexandr Ricov Co-authored-by: Alexandr Ricov Co-authored-by: Michail Kargakis Co-authored-by: Bogdan Gheorghe * Polish contracts * Polish contracts * Add Treasury tab under Governance module * Add SY Pool Card to Yield-Farming page (#189) * Add SY Pool card to Yield-Farming page * Fix SY-Pool-Card * Update api.ts * Fixes (#190) * Add SY Pool card to Yield-Farming page * Fix SY-Pool-Card * Update api.ts * Fix * Fix * Add SyPools Balance to YF TVL (#193) * Add KnownTokensProvider * Fixes Co-authored-by: Alexandr Ricov Co-authored-by: Michail Kargakis Co-authored-by: Bogdan Gheorghe * Fixes (#199) * Merge Dev into Master (#180) * fix\ * Polish * Polish * notifications bubble design change * Polish * Polish * Polish * Fix * fix * fix * fix infinite table enlargement * fix * fix * fix * fix * fix * Fix SVG Sprite (#144) * Fix SVG sprite * Change originatorAPY with originatorNetAPY * fix proposals layout (#148) * fix proposals layout * fix nav z-index * extract fixes from antd.css * Fix color for disabled input on dark theme (#147) * fix create proposal page layout (#149) * Fixes (#151) * fix package-lock..json * fix proposals layout * fix proposals layout * fix proposals layout (#154) * fixes (#155) * fixes * fix * Fix package-lock (#156) Fix * fix voters styles * Issues fixing (#159) * fixes * fix * fixes * CH Tickets fix * CH Tickets fix * fix * Issues Fix (#160) * fixes * fix * fixes * CH Tickets fix * CH Tickets fix * fix * fix * Fix previous PR (#161) * Fixes (#162) * Fixes (#163) * Fix previous PR (#164) * Fix Pool Chart * Feature/notifications (#157) * merge theme to general provider * add notifications static markup * connect notiications to api * fix null on notifications list case * store read notification state * fix notification read status * extract notifications to separate provider * set custom texts to notifications * add missing message vars * SY Pools Implementation (#165) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge Co-authored-by: Alexandr Ricov * Update index.tsx (#168) * Polish SY Pools (#169) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge * Polish SY Pools Co-authored-by: Alexandr Ricov * fix layout, set content width limits (#171) * fix layout, set content width limits * fix bloken layout proposal view page * add notification types (#170) * merge theme to general provider * add notifications static markup * connect notiications to api * fix null on notifications list case * store read notification state * fix notification read status * extract notifications to separate provider * set custom texts to notifications * add missing message vars * add notification types * fix proposal-accepted text * Polish SY Pools (#172) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge * Polish SY Pools * Polish SY Pools Co-authored-by: Alexandr Ricov * Hotfix/sy (#173) * fix layout, set content width limits * fix bloken layout proposal view page * change period button style * remove unused code * Feature/notifications (#174) * merge theme to general provider * add notifications static markup * connect notiications to api * fix null on notifications list case * store read notification state * fix notification read status * extract notifications to separate provider * set custom texts to notifications * add missing message vars * add notification types * fix proposal-accepted text * add delegate-start bonds value * SY Pools Polish (#175) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge * Polish SY Pools * Polish SY Pools * SY Pools Polish Co-authored-by: Alexandr Ricov * SY Pools Fixes (#176) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge * Polish SY Pools * Polish SY Pools * SY Pools Polish * Fix * Fix Co-authored-by: Alexandr Ricov * Fix * SY Polish (#178) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge * Polish SY Pools * Polish SY Pools * SY Pools Polish * Fix * Fix * Fix * Polish SY Co-authored-by: Alexandr Ricov * Fix (#179) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge * Polish SY Pools * Polish SY Pools * SY Pools Polish * Fix * Fix * Fix * Polish SY * Fix SY Table APR calculation Co-authored-by: Alexandr Ricov Co-authored-by: Alexandr Ricov Co-authored-by: Michail Kargakis Co-authored-by: Bogdan Gheorghe * Polish contracts * Polish contracts * Add Treasury tab under Governance module * Add SY Pool Card to Yield-Farming page (#189) * Add SY Pool card to Yield-Farming page * Fix SY-Pool-Card * Update api.ts * Fixes (#190) * Add SY Pool card to Yield-Farming page * Fix SY-Pool-Card * Update api.ts * Fix * Fix * Add SyPools Balance to YF TVL (#193) * Add KnownTokensProvider * Fixes * Update index.tsx (#197) * Update contracts.tsx (#198) * Fix prices Co-authored-by: Alexandr Ricov Co-authored-by: Michail Kargakis Co-authored-by: Bogdan Gheorghe * Fix (#201) * Add KnownTokensProvider * Fixes * Fix prices * Fix * Fix Treasury (#203) * Lint fixes * Fix * Fix (#205) * Fix Treasury Fee Transfer * fix * Feature/sy stats (#194) * add dark theme wallet logos * Fixes * Fixes (#210) * add dark theme wallet logos (#209) * SY Stats fixes (#212) * Fixes * SY Stats fixes * Polish (#214) * SY Stats fixes * Polish * improve NavTabs component * drop Originator APY from APY trend chart * Infrastructure migration * fix active tab comparison * add withdraw page to portfolio navlink group * Polish YF module (#221) * Update dependencies * Contract Polish * Refactor contracts * Polish YF module * style token amount select dropdown * Polish YF (#223) * Update dependencies * Contract Polish * Refactor contracts * Polish YF module * Polish YF * Polish YF (#224) * Update dependencies * Contract Polish * Refactor contracts * Polish YF module * Polish YF * Polish YF * Polish YF * extract Dropdown component * inline back link * YF Polish (#225) * Update dependencies * Contract Polish * Refactor contracts * Polish YF module * Polish YF * Polish YF * Polish YF * YF Polish * Merge YF Ref (#226) * Update dependencies * Contract Polish * Refactor contracts * Polish YF module * Polish YF * Polish YF * Polish YF * YF Polish * Fix * Migrate to new API * Fixes (#228) * Update dependencies * Contract Polish * Refactor contracts * Polish YF module * Polish YF * Polish YF * Polish YF * YF Polish * Fix * Fixes * Fixes * Feature/se (#219) * add pairs, pool, deposit SE pages * add withdraw SE page * add portfolio SE page * add change tranche SE page * improve dropdown components * extract dropdown base component Co-authored-by: Slava Matvienco * improvements * fix conflicts * improvements (#230) * improvements * fix conflicts * Fixes (#229) * Update dependencies * Contract Polish * Refactor contracts * Polish YF module * Polish YF * Polish YF * Polish YF * YF Polish * Fix * Fixes * Fixes * Fixes * Fix * Fix SY Pools * Fix SVG icons sprite * Fix last PR (#231) * Update dependencies * Contract Polish * Refactor contracts * Polish YF module * Polish YF * Polish YF * Polish YF * YF Polish * Fix * Fixes * Fixes * Fixes * Fix * Fix SY Pools * Fix SVG icons sprite * Fix * Add changes from master to development (#232) * Merge DEV into Master (#215) * drop Originator APY from APY trend chart Co-authored-by: Alexandr Ricov * Sync development with master (#234) * Polish YF (#235) * Fixes * Polish * Polish Co-authored-by: Slava Matvienco * Polish YF (#236) * Fixes * Polish * Polish * Fixes Co-authored-by: Slava Matvienco * add pagination functionality * SY Fixes (#239) * SY Fixes * SY Fixes * YF Fixes (#241) * review changes * add pagination functionality (#238) * improvements * fix conflicts * add pagination functionality * review changes * Update env flows * Update flex.scss * * (#243) * Add testnet environment (#245) * display faucets * improve token amount view * remove unused file * faucets module (#246) * improvements * fix conflicts * add pagination functionality * review changes * display faucets * improve token amount view * remove unused file * Env fixes (#247) * * * * * * * * (#249) * Update testnet.yml * remove isTestnet mock * fix merge issues * Update api.ts (#252) * add Modal component * Update api.ts (#253) * fix buttons * Update api.ts (#254) * Sync Dev from Master (#255) * Merge Dev into Master (#250) * fix typo * Update testnet.yml * Update fauceteerProvider.tsx Co-authored-by: Bogdan Gheorghe * * * * (#256) * Fix SY Senior Deposit (#258) * * * * * add auto (OS) color scheme * fix theme switch bug * * (#261) * Merge Dev into Master (#259) (#262) * fix\ * Polish * Polish * notifications bubble design change * Polish * Polish * Polish * Fix * fix * fix * fix infinite table enlargement * fix * fix * fix * fix * fix * Fix SVG Sprite (#144) * Fix SVG sprite * Change originatorAPY with originatorNetAPY * fix proposals layout (#148) * fix proposals layout * fix nav z-index * extract fixes from antd.css * Fix color for disabled input on dark theme (#147) * fix create proposal page layout (#149) * Fixes (#151) * fix package-lock..json * fix proposals layout * fix proposals layout * fix proposals layout (#154) * fixes (#155) * fixes * fix * Fix package-lock (#156) Fix * fix voters styles * Issues fixing (#159) * fixes * fix * fixes * CH Tickets fix * CH Tickets fix * fix * Issues Fix (#160) * fixes * fix * fixes * CH Tickets fix * CH Tickets fix * fix * fix * Fix previous PR (#161) * Fixes (#162) * Fixes (#163) * Fix previous PR (#164) * Fix Pool Chart * Feature/notifications (#157) * merge theme to general provider * add notifications static markup * connect notiications to api * fix null on notifications list case * store read notification state * fix notification read status * extract notifications to separate provider * set custom texts to notifications * add missing message vars * SY Pools Implementation (#165) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge Co-authored-by: Alexandr Ricov * Update index.tsx (#168) * Polish SY Pools (#169) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge * Polish SY Pools Co-authored-by: Alexandr Ricov * fix layout, set content width limits * fix bloken layout proposal view page * fix layout, set content width limits (#171) * fix layout, set content width limits * fix bloken layout proposal view page * add notification types (#170) * merge theme to general provider * add notifications static markup * connect notiications to api * fix null on notifications list case * store read notification state * fix notification read status * extract notifications to separate provider * set custom texts to notifications * add missing message vars * add notification types * fix proposal-accepted text * Polish SY Pools (#172) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge * Polish SY Pools * Polish SY Pools Co-authored-by: Alexandr Ricov * change period button style * remove unused code * Hotfix/sy (#173) * fix layout, set content width limits * fix bloken layout proposal view page * change period button style * remove unused code * Feature/notifications (#174) * merge theme to general provider * add notifications static markup * connect notiications to api * fix null on notifications list case * store read notification state * fix notification read status * extract notifications to separate provider * set custom texts to notifications * add missing message vars * add notification types * fix proposal-accepted text * add delegate-start bonds value * SY Pools Polish (#175) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge * Polish SY Pools * Polish SY Pools * SY Pools Polish Co-authored-by: Alexandr Ricov * SY Pools Fixes (#176) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge * Polish SY Pools * Polish SY Pools * SY Pools Polish * Fix * Fix Co-authored-by: Alexandr Ricov * Fix * SY Polish (#178) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge * Polish SY Pools * Polish SY Pools * SY Pools Polish * Fix * Fix * Fix * Polish SY Co-authored-by: Alexandr Ricov * Fix (#179) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge * Polish SY Pools * Polish SY Pools * SY Pools Polish * Fix * Fix * Fix * Polish SY * Fix SY Table APR calculation Co-authored-by: Alexandr Ricov * remove multiple back arrow icons * add fonts classnames, standartize horiz padding * fix tabs icon space for legacy browsers * fallback flexbox gap * restore removed style * Hotfix/sy (#181) * fix layout, set content width limits * fix bloken layout proposal view page * change period button style * remove unused code * remove multiple back arrow icons * add fonts classnames, standartize horiz padding * fix tabs icon space for legacy browsers * fallback flexbox gap * restore removed style * Polish contracts * Polish contracts * Add Treasury tab under Governance module * Feature/treasury (#182) * Polish contracts * Polish contracts * Add Treasury tab under Governance module * add tabs component * make tabs shadow bg configurable * add shadows param description * notifications update (#183) * merge theme to general provider * add notifications static markup * connect notiications to api * fix null on notifications list case * store read notification state * fix notification read status * extract notifications to separate provider * set custom texts to notifications * add missing message vars * add notification types * fix proposal-accepted text * add delegate-start bonds value * add smart-yield-token-bought notification type * add token symbol for smart-yield-token-bought * Hotfix/sy (#184) * fix layout, set content width limits * fix bloken layout proposal view page * change period button style * remove unused code * remove multiple back arrow icons * add fonts classnames, standartize horiz padding * fix tabs icon space for legacy browsers * fallback flexbox gap * restore removed style * add tabs component * make tabs shadow bg configurable * add shadows param description * DAO Treasury (#185) * Polish contracts * Polish contracts * Add Treasury tab under Governance module * Fixes * Fixes * Fixes (#186) * Polish contracts * Polish contracts * Add Treasury tab under Governance module * Fixes * Fixes * Fixes * Fixes (#187) * Polish contracts * Polish contracts * Add Treasury tab under Governance module * Fixes * Fixes * Fixes * Fixes * Fixes (#188) * Merge Dev into Master (#180) * fix\ * Polish * Polish * notifications bubble design change * Polish * Polish * Polish * Fix * fix * fix * fix infinite table enlargement * fix * fix * fix * fix * fix * Fix SVG Sprite (#144) * Fix SVG sprite * Change originatorAPY with originatorNetAPY * fix proposals layout (#148) * fix proposals layout * fix nav z-index * extract fixes from antd.css * Fix color for disabled input on dark theme (#147) * fix create proposal page layout (#149) * Fixes (#151) * fix package-lock..json * fix proposals layout * fix proposals layout * fix proposals layout (#154) * fixes (#155) * fixes * fix * Fix package-lock (#156) Fix * fix voters styles * Issues fixing (#159) * fixes * fix * fixes * CH Tickets fix * CH Tickets fix * fix * Issues Fix (#160) * fixes * fix * fixes * CH Tickets fix * CH Tickets fix * fix * fix * Fix previous PR (#161) * Fixes (#162) * Fixes (#163) * Fix previous PR (#164) * Fix Pool Chart * Feature/notifications (#157) * merge theme to general provider * add notifications static markup * connect notiications to api * fix null on notifications list case * store read notification state * fix notification read status * extract notifications to separate provider * set custom texts to notifications * add missing message vars * SY Pools Implementation (#165) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge Co-authored-by: Alexandr Ricov * Update index.tsx (#168) * Polish SY Pools (#169) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge * Polish SY Pools Co-authored-by: Alexandr Ricov * fix layout, set content width limits (#171) * fix layout, set content width limits * fix bloken layout proposal view page * add notification types (#170) * merge theme to general provider * add notifications static markup * connect notiications to api * fix null on notifications list case * store read notification state * fix notification read status * extract notifications to separate provider * set custom texts to notifications * add missing message vars * add notification types * fix proposal-accepted text * Polish SY Pools (#172) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge * Polish SY Pools * Polish SY Pools Co-authored-by: Alexandr Ricov * Hotfix/sy (#173) * fix layout, set content width limits * fix bloken layout proposal view page * change period button style * remove unused code * Feature/notifications (#174) * merge theme to general provider * add notifications static markup * connect notiications to api * fix null on notifications list case * store read notification state * fix notification read status * extract notifications to separate provider * set custom texts to notifications * add missing message vars * add notification types * fix proposal-accepted text * add delegate-start bonds value * SY Pools Polish (#175) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge * Polish SY Pools * Polish SY Pools * SY Pools Polish Co-authored-by: Alexandr Ricov * SY Pools Fixes (#176) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge * Polish SY Pools * Polish SY Pools * SY Pools Polish * Fix * Fix Co-authored-by: Alexandr Ricov * Fix * SY Polish (#178) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge * Polish SY Pools * Polish SY Pools * SY Pools Polish * Fix * Fix * Fix * Polish SY Co-authored-by: Alexandr Ricov * Fix (#179) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge * Polish SY Pools * Polish SY Pools * SY Pools Polish * Fix * Fix * Fix * Polish SY * Fix SY Table APR calculation Co-authored-by: Alexandr Ricov Co-authored-by: Alexandr Ricov Co-authored-by: Michail Kargakis Co-authored-by: Bogdan Gheorghe * Polish contracts * Polish contracts * Add Treasury tab under Governance module * Fixes * Fixes * Fixes * Fixes * Add SY Pool card to Yield-Farming page * Fix SY-Pool-Card * Fixes * Fixes Co-authored-by: Alexandr Ricov Co-authored-by: Michail Kargakis Co-authored-by: Bogdan Gheorghe * Fixes (#191) * Merge Dev into Master (#180) * fix\ * Polish * Polish * notifications bubble design change * Polish * Polish * Polish * Fix * fix * fix * fix infinite table enlargement * fix * fix * fix * fix * fix * Fix SVG Sprite (#144) * Fix SVG sprite * Change originatorAPY with originatorNetAPY * fix proposals layout (#148) * fix proposals layout * fix nav z-index * extract fixes from antd.css * Fix color for disabled input on dark theme (#147) * fix create proposal page layout (#149) * Fixes (#151) * fix package-lock..json * fix proposals layout * fix proposals layout * fix proposals layout (#154) * fixes (#155) * fixes * fix * Fix package-lock (#156) Fix * fix voters styles * Issues fixing (#159) * fixes * fix * fixes * CH Tickets fix * CH Tickets fix * fix * Issues Fix (#160) * fixes * fix * fixes * CH Tickets fix * CH Tickets fix * fix * fix * Fix previous PR (#161) * Fixes (#162) * Fixes (#163) * Fix previous PR (#164) * Fix Pool Chart * Feature/notifications (#157) * merge theme to general provider * add notifications static markup * connect notiications to api * fix null on notifications list case * store read notification state * fix notification read status * extract notifications to separate provider * set custom texts to notifications * add missing message vars * SY Pools Implementation (#165) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge Co-authored-by: Alexandr Ricov * Update index.tsx (#168) * Polish SY Pools (#169) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge * Polish SY Pools Co-authored-by: Alexandr Ricov * fix layout, set content width limits (#171) * fix layout, set content width limits * fix bloken layout proposal view page * add notification types (#170) * merge theme to general provider * add notifications static markup * connect notiications to api * fix null on notifications list case * store read notification state * fix notification read status * extract notifications to separate provider * set custom texts to notifications * add missing message vars * add notification types * fix proposal-accepted text * Polish SY Pools (#172) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge * Polish SY Pools * Polish SY Pools Co-authored-by: Alexandr Ricov * Hotfix/sy (#173) * fix layout, set content width limits * fix bloken layout proposal view page * change period button style * remove unused code * Feature/notifications (#174) * merge theme to general provider * add notifications static markup * connect notiications to api * fix null on notifications list case * store read notification state * fix notification read status * extract notifications to separate provider * set custom texts to notifications * add missing message vars * add notification types * fix proposal-accepted text * add delegate-start bonds value * SY Pools Polish (#175) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge * Polish SY Pools * Polish SY Pools * SY Pools Polish Co-authored-by: Alexandr Ricov * SY Pools Fixes (#176) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge * Polish SY Pools * Polish SY Pools * SY Pools Polish * Fix * Fix Co-authored-by: Alexandr Ricov * Fix * SY Polish (#178) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge * Polish SY Pools * Polish SY Pools * SY Pools Polish * Fix * Fix * Fix * Polish SY Co-authored-by: Alexandr Ricov * Fix (#179) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge * Polish SY Pools * Polish SY Pools * SY Pools Polish * Fix * Fix * Fix * Polish SY * Fix SY Table APR calculation Co-authored-by: Alexandr Ricov Co-authored-by: Alexandr Ricov Co-authored-by: Michail Kargakis Co-authored-by: Bogdan Gheorghe * Polish contracts * Polish contracts * Add Treasury tab under Governance module * Add SY Pool Card to Yield-Farming page (#189) * Add SY Pool card to Yield-Farming page * Fix SY-Pool-Card * Update api.ts * Fixes (#190) * Add SY Pool card to Yield-Farming page * Fix SY-Pool-Card * Update api.ts * Fix Co-authored-by: Alexandr Ricov Co-authored-by: Michail Kargakis Co-authored-by: Bogdan Gheorghe * Fix * Fix Development Merge (#192) * Merge Dev into Master (#180) * fix\ * Polish * Polish * notifications bubble design change * Polish * Polish * Polish * Fix * fix * fix * fix infinite table enlargement * fix * fix * fix * fix * fix * Fix SVG Sprite (#144) * Fix SVG sprite * Change originatorAPY with originatorNetAPY * fix proposals layout (#148) * fix proposals layout * fix nav z-index * extract fixes from antd.css * Fix color for disabled input on dark theme (#147) * fix create proposal page layout (#149) * Fixes (#151) * fix package-lock..json * fix proposals layout * fix proposals layout * fix proposals layout (#154) * fixes (#155) * fixes * fix * Fix package-lock (#156) Fix * fix voters styles * Issues fixing (#159) * fixes * fix * fixes * CH Tickets fix * CH Tickets fix * fix * Issues Fix (#160) * fixes * fix * fixes * CH Tickets fix * CH Tickets fix * fix * fix * Fix previous PR (#161) * Fixes (#162) * Fixes (#163) * Fix previous PR (#164) * Fix Pool Chart * Feature/notifications (#157) * merge theme to general provider * add notifications static markup * connect notiications to api * fix null on notifications list case * store read notification state * fix notification read status * extract notifications to separate provider * set custom texts to notifications * add missing message vars * SY Pools Implementation (#165) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge Co-authored-by: Alexandr Ricov * Update index.tsx (#168) * Polish SY Pools (#169) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge * Polish SY Pools Co-authored-by: Alexandr Ricov * fix layout, set content width limits (#171) * fix layout, set content width limits * fix bloken layout proposal view page * add notification types (#170) * merge theme to general provider * add notifications static markup * connect notiications to api * fix null on notifications list case * store read notification state * fix notification read status * extract notifications to separate provider * set custom texts to notifications * add missing message vars * add notification types * fix proposal-accepted text * Polish SY Pools (#172) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge * Polish SY Pools * Polish SY Pools Co-authored-by: Alexandr Ricov * Hotfix/sy (#173) * fix layout, set content width limits * fix bloken layout proposal view page * change period button style * remove unused code * Feature/notifications (#174) * merge theme to general provider * add notifications static markup * connect notiications to api * fix null on notifications list case * store read notification state * fix notification read status * extract notifications to separate provider * set custom texts to notifications * add missing message vars * add notification types * fix proposal-accepted text * add delegate-start bonds value * SY Pools Polish (#175) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge * Polish SY Pools * Polish SY Pools * SY Pools Polish Co-authored-by: Alexandr Ricov * SY Pools Fixes (#176) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge * Polish SY Pools * Polish SY Pools * SY Pools Polish * Fix * Fix Co-authored-by: Alexandr Ricov * Fix * SY Polish (#178) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge * Polish SY Pools * Polish SY Pools * SY Pools Polish * Fix * Fix * Fix * Polish SY Co-authored-by: Alexandr Ricov * Fix (#179) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge * Polish SY Pools * Polish SY Pools * SY Pools Polish * Fix * Fix * Fix * Polish SY * Fix SY Table APR calculation Co-authored-by: Alexandr Ricov Co-authored-by: Alexandr Ricov Co-authored-by: Michail Kargakis Co-authored-by: Bogdan Gheorghe * Polish contracts * Polish contracts * Add Treasury tab under Governance module * Add SY Pool Card to Yield-Farming page (#189) * Add SY Pool card to Yield-Farming page * Fix SY-Pool-Card * Update api.ts * Fixes (#190) * Add SY Pool card to Yield-Farming page * Fix SY-Pool-Card * Update api.ts * Fix * Fix Co-authored-by: Alexandr Ricov Co-authored-by: Michail Kargakis Co-authored-by: Bogdan Gheorghe * Add KnownTokensProvider (#195) * Merge Dev into Master (#180) * fix\ * Polish * Polish * notifications bubble design change * Polish * Polish * Polish * Fix * fix * fix * fix infinite table enlargement * fix * fix * fix * fix * fix * Fix SVG Sprite (#144) * Fix SVG sprite * Change originatorAPY with originatorNetAPY * fix proposals layout (#148) * fix proposals layout * fix nav z-index * extract fixes from antd.css * Fix color for disabled input on dark theme (#147) * fix create proposal page layout (#149) * Fixes (#151) * fix package-lock..json * fix proposals layout * fix proposals layout * fix proposals layout (#154) * fixes (#155) * fixes * fix * Fix package-lock (#156) Fix * fix voters styles * Issues fixing (#159) * fixes * fix * fixes * CH Tickets fix * CH Tickets fix * fix * Issues Fix (#160) * fixes * fix * fixes * CH Tickets fix * CH Tickets fix * fix * fix * Fix previous PR (#161) * Fixes (#162) * Fixes (#163) * Fix previous PR (#164) * Fix Pool Chart * Feature/notifications (#157) * merge theme to general provider * add notifications static markup * connect notiications to api * fix null on notifications list case * store read notification state * fix notification read status * extract notifications to separate provider * set custom texts to notifications * add missing message vars * SY Pools Implementation (#165) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge Co-authored-by: Alexandr Ricov * Update index.tsx (#168) * Polish SY Pools (#169) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge * Polish SY Pools Co-authored-by: Alexandr Ricov * fix layout, set content width limits (#171) * fix layout, set content width limits * fix bloken layout proposal view page * add notification types (#170) * merge theme to general provider * add notifications static markup * connect notiications to api * fix null on notifications list case * store read notification state * fix notification read status * extract notifications to separate provider * set custom texts to notifications * add missing message vars * add notification types * fix proposal-accepted text * Polish SY Pools (#172) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge * Polish SY Pools * Polish SY Pools Co-authored-by: Alexandr Ricov * Hotfix/sy (#173) * fix layout, set content width limits * fix bloken layout proposal view page * change period button style * remove unused code * Feature/notifications (#174) * merge theme to general provider * add notifications static markup * connect notiications to api * fix null on notifications list case * store read notification state * fix notification read status * extract notifications to separate provider * set custom texts to notifications * add missing message vars * add notification types * fix proposal-accepted text * add delegate-start bonds value * SY Pools Polish (#175) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge * Polish SY Pools * Polish SY Pools * SY Pools Polish Co-authored-by: Alexandr Ricov * SY Pools Fixes (#176) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge * Polish SY Pools * Polish SY Pools * SY Pools Polish * Fix * Fix Co-authored-by: Alexandr Ricov * Fix * SY Polish (#178) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge * Polish SY Pools * Polish SY Pools * SY Pools Polish * Fix * Fix * Fix * Polish SY Co-authored-by: Alexandr Ricov * Fix (#179) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge * Polish SY Pools * Polish SY Pools * SY Pools Polish * Fix * Fix * Fix * Polish SY * Fix SY Table APR calculation Co-authored-by: Alexandr Ricov Co-authored-by: Alexandr Ricov Co-authored-by: Michail Kargakis Co-authored-by: Bogdan Gheorghe * Polish contracts * Polish contracts * Add Treasury tab under Governance module * Add SY Pool Card to Yield-Farming page (#189) * Add SY Pool card to Yield-Farming page * Fix SY-Pool-Card * Update api.ts * Fixes (#190) * Add SY Pool card to Yield-Farming page * Fix SY-Pool-Card * Update api.ts * Fix * Fix * Add SyPools Balance to YF TVL (#193) * Add KnownTokensProvider Co-authored-by: Alexandr Ricov Co-authored-by: Michail Kargakis Co-authored-by: Bogdan Gheorghe * Fixes (#196) * Merge Dev into Master (#180) * fix\ * Polish * Polish * notifications bubble design change * Polish * Polish * Polish * Fix * fix * fix * fix infinite table enlargement * fix * fix * fix * fix * fix * Fix SVG Sprite (#144) * Fix SVG sprite * Change originatorAPY with originatorNetAPY * fix proposals layout (#148) * fix proposals layout * fix nav z-index * extract fixes from antd.css * Fix color for disabled input on dark theme (#147) * fix create proposal page layout (#149) * Fixes (#151) * fix package-lock..json * fix proposals layout * fix proposals layout * fix proposals layout (#154) * fixes (#155) * fixes * fix * Fix package-lock (#156) Fix * fix voters styles * Issues fixing (#159) * fixes * fix * fixes * CH Tickets fix * CH Tickets fix * fix * Issues Fix (#160) * fixes * fix * fixes * CH Tickets fix * CH Tickets fix * fix * fix * Fix previous PR (#161) * Fixes (#162) * Fixes (#163) * Fix previous PR (#164) * Fix Pool Chart * Feature/notifications (#157) * merge theme to general provider * add notifications static markup * connect notiications to api * fix null on notifications list case * store read notification state * fix notification read status * extract notifications to separate provider * set custom texts to notifications * add missing message vars * SY Pools Implementation (#165) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge Co-authored-by: Alexandr Ricov * Update index.tsx (#168) * Polish SY Pools (#169) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge * Polish SY Pools Co-authored-by: Alexandr Ricov * fix layout, set content width limits (#171) * fix layout, set content width limits * fix bloken layout proposal view page * add notification types (#170) * merge theme to general provider * add notifications static markup * connect notiications to api * fix null on notifications list case * store read notification state * fix notification read status * extract notifications to separate provider * set custom texts to notifications * add missing message vars * add notification types * fix proposal-accepted text * Polish SY Pools (#172) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge * Polish SY Pools * Polish SY Pools Co-authored-by: Alexandr Ricov * Hotfix/sy (#173) * fix layout, set content width limits * fix bloken layout proposal view page * change period button style * remove unused code * Feature/notifications (#174) * merge theme to general provider * add notifications static markup * connect notiications to api * fix null on notifications list case * store read notification state * fix notification read status * extract notifications to separate provider * set custom texts to notifications * add missing message vars * add notification types * fix proposal-accepted text * add delegate-start bonds value * SY Pools Polish (#175) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge * Polish SY Pools * Polish SY Pools * SY Pools Polish Co-authored-by: Alexandr Ricov * SY Pools Fixes (#176) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge * Polish SY Pools * Polish SY Pools * SY Pools Polish * Fix * Fix Co-authored-by: Alexandr Ricov * Fix * SY Polish (#178) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge * Polish SY Pools * Polish SY Pools * SY Pools Polish * Fix * Fix * Fix * Polish SY Co-authored-by: Alexandr Ricov * Fix (#179) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge * Polish SY Pools * Polish SY Pools * SY Pools Polish * Fix * Fix * Fix * Polish SY * Fix SY Table APR calculation Co-authored-by: Alexandr Ricov Co-authored-by: Alexandr Ricov Co-authored-by: Michail Kargakis Co-authored-by: Bogdan Gheorghe * Polish contracts * Polish contracts * Add Treasury tab under Governance module * Add SY Pool Card to Yield-Farming page (#189) * Add SY Pool card to Yield-Farming page * Fix SY-Pool-Card * Update api.ts * Fixes (#190) * Add SY Pool card to Yield-Farming page * Fix SY-Pool-Card * Update api.ts * Fix * Fix * Add SyPools Balance to YF TVL (#193) * Add KnownTokensProvider * Fixes Co-authored-by: Alexandr Ricov Co-authored-by: Michail Kargakis Co-authored-by: Bogdan Gheorghe * Fixes (#199) * Merge Dev into Master (#180) * fix\ * Polish * Polish * notifications bubble design change * Polish * Polish * Polish * Fix * fix * fix * fix infinite table enlargement * fix * fix * fix * fix * fix * Fix SVG Sprite (#144) * Fix SVG sprite * Change originatorAPY with originatorNetAPY * fix proposals layout (#148) * fix proposals layout * fix nav z-index * extract fixes from antd.css * Fix color for disabled input on dark theme (#147) * fix create proposal page layout (#149) * Fixes (#151) * fix package-lock..json * fix proposals layout * fix proposals layout * fix proposals layout (#154) * fixes (#155) * fixes * fix * Fix package-lock (#156) Fix * fix voters styles * Issues fixing (#159) * fixes * fix * fixes * CH Tickets fix * CH Tickets fix * fix * Issues Fix (#160) * fixes * fix * fixes * CH Tickets fix * CH Tickets fix * fix * fix * Fix previous PR (#161) * Fixes (#162) * Fixes (#163) * Fix previous PR (#164) * Fix Pool Chart * Feature/notifications (#157) * merge theme to general provider * add notifications static markup * connect notiications to api * fix null on notifications list case * store read notification state * fix notification read status * extract notifications to separate provider * set custom texts to notifications * add missing message vars * SY Pools Implementation (#165) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge Co-authored-by: Alexandr Ricov * Update index.tsx (#168) * Polish SY Pools (#169) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge * Polish SY Pools Co-authored-by: Alexandr Ricov * fix layout, set content width limits (#171) * fix layout, set content width limits * fix bloken layout proposal view page * add notification types (#170) * merge theme to general provider * add notifications static markup * connect notiications to api * fix null on notifications list case * store read notification state * fix notification read status * extract notifications to separate provider * set custom texts to notifications * add missing message vars * add notification types * fix proposal-accepted text * Polish SY Pools (#172) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge * Polish SY Pools * Polish SY Pools Co-authored-by: Alexandr Ricov * Hotfix/sy (#173) * fix layout, set content width limits * fix bloken layout proposal view page * change period button style * remove unused code * Feature/notifications (#174) * merge theme to general provider * add notifications static markup * connect notiications to api * fix null on notifications list case * store read notification state * fix notification read status * extract notifications to separate provider * set custom texts to notifications * add missing message vars * add notification types * fix proposal-accepted text * add delegate-start bonds value * SY Pools Polish (#175) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge * Polish SY Pools * Polish SY Pools * SY Pools Polish Co-authored-by: Alexandr Ricov * SY Pools Fixes (#176) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge * Polish SY Pools * Polish SY Pools * SY Pools Polish * Fix * Fix Co-authored-by: Alexandr Ricov * Fix * SY Polish (#178) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge * Polish SY Pools * Polish SY Pools * SY Pools Polish * Fix * Fix * Fix * Polish SY Co-authored-by: Alexandr Ricov * Fix (#179) * Polish cards * add pages * add sy reward pools contract * add SY pools static pages * add sy reward pools contract * add sy reward pools contract * add sy reward pools contract * fix * fix * Fix styles * fixes * style lint fix * fix * fix * fix * fix * Merge * Polish SY Pools * Polish SY Pools * SY Pools Polish * Fix * Fix * Fix * Polish SY * Fix SY Table APR calculation Co-authored-by: Alexandr Ricov Co-authored-by: Alexandr Ricov Co-authored-by: Michail Kargakis Co-authored-by: Bogdan Gheorghe * Polish contracts * Polish contracts * Add Treasury tab under Governance module * Add SY Pool Card to Yield-Farming page (#189) * Add SY Pool card to Yield-Farming page * Fix SY-Pool-Card * Update api.ts * Fixes (#190) * Add SY Pool card to Yield-Farming page * Fix SY-Pool-Card * Update api.ts * Fix * Fix * Add SyPools Balance to YF TVL (#193) * Add KnownTokensProvider * Fixes * Update index.tsx (#197) * Update contracts.tsx (#198) * Fix prices Co-authored-by: Alexandr Ricov Co-authored-by: Michail Kargakis Co-authored-by: Bogdan Gheorghe * Fix (#201) * Add KnownTokensProvider * Fixes * Fix prices * Fix * Fix Treasury (#203) * Lint fixes * Fix * Fix (#205) * Fix Treasury Fee Transfer * fix * Feature/sy stats (#194) * add dark theme wallet logos * Fixes * Fixes (#210) * add dark theme wallet logos (#209) * SY Stats fixes (#212) * Fixes * SY Stats fixes * Polish (#214) * SY Stats fixes * Polish * improve NavTabs component * drop Originator APY from APY trend chart * Infrastructure migration * fix active tab comparison * add withdraw page to portfolio navlink group * Polish YF module (#221) * Update dependencies * Contract Polish * Refactor contracts * Polish YF module * style token amount select dropdown * Polish YF (#223) * Update dependencies * Contract Polish * Refactor contracts * Polish YF module * Polish YF * Polish YF (#224) * Update dependencies * Contract Polish * Refactor contracts * Polish YF module * Polish YF * Polish YF * Polish YF * extract Dropdown component * inline back link * YF Polish (#225) * Update dependencies * Contract Polish * Refactor contracts * Polish YF module * Polish YF * Polish YF * Polish YF * YF Polish * Merge YF Ref (#226) * Update dependencies * Contract Polish * Refactor contracts * Polish YF module * Polish YF * Polish YF * Polish YF * YF Polish * Fix * Migrate to new API * Fixes (#228) * Update dependencies * Contract Polish * Refactor contracts * Polish YF module * Polish YF * Polish YF * Polish YF * YF Polish * Fix * Fixes * Fixes * Feature/se (#219) * add pairs, pool, deposit SE pages * add withdraw SE page * add portfolio SE page * add change tranche SE page * improve dropdown components * extract dropdown base component Co-authored-by: Slava Matvienco * improvements (#230) * improvements * fix conflicts * Fixes (#229) * Update dependencies * Contract Polish * Refactor contracts * Polish YF module * Polish YF * Polish YF * Polish YF * YF Polish * Fix * Fixes * Fixes * Fixes * Fix * Fix SY Pools * Fix SVG icons sprite * Fix last PR (#231) * Update dependencies * Contract Polish * Refactor contracts * Polish YF module * Polish YF * Polish YF * Polish YF * YF Polish * Fix * Fixes * Fixes * Fixes * Fix * Fix SY Pools * Fix SVG icons sprite * Fix * Add changes from master to development (#232) * Merge DEV into Master (#215) * drop Originator APY from APY trend chart Co-authored-by: Alexandr Ricov * Sync development with master (#234) * Polish YF (#235) * Fixes * Polish * Polish Co-authored-by: Slava Matvienco * Polish YF (#236) * Fixes * Polish * Polish * Fixes Co-authored-by: Slava Matvienco * SY Fixes (#239) * SY Fixes * SY Fixes * YF Fixes (#241) * add pagination functionality (#238) * improvements * fix conflicts * add pagination functionality * review changes * Update env flows * Update flex.scss * * (#243) * Add testnet environment (#245) * faucets module (#246) * improvements * fix conflicts * add pagination functionality * review changes * display faucets * improve token amount view * remove unused file * Env fixes (#247) * * * * * * * * (#249) * Update testnet.yml * Update api.ts (#252) * Update api.ts (#253) * Update api.ts (#254) * Sync Dev from Master (#255) * Merge Dev into Master (#250) * fix typo * Update testnet.yml * Update fauceteerProvider.tsx Co-authored-by: Bogdan Gheorghe * * * * (#256) * Fix SY Senior Deposit (#258) * * * * Co-authored-by: Alexandr Ricov Co-authored-by: Michail Kargakis Co-authored-by: Bogdan Gheorghe Co-authored-by: Liviu Damian Co-authored-by: Liviu Damian Co-authored-by: Slava Matvienco Co-authored-by: Alexandr Ricov Co-authored-by: Michail Kargakis Co-authored-by: Bogdan Gheorghe Co-authored-by: Liviu Damian Co-authored-by: Liviu Damian Co-authored-by: Slava Matvienco Co-authored-by: Alexandr Ricov Co-authored-by: Michail Kargakis Co-authored-by: Bogdan Gheorghe Co-authored-by: Liviu Damian Co-authored-by: Liviu Damian Co-authored-by: Slava Matvienco --- public/index.html | 1 + src/components/custom/icon/index.tsx | 8 +-- src/components/custom/modal/index.tsx | 59 +++++++++++++++++++ src/components/custom/modal/s.module.scss | 59 +++++++++++++++++++ src/components/custom/notification/index.tsx | 37 ++++++------ .../custom/token-amount-new/s.module.scss | 1 + .../providers/general-provider/index.tsx | 43 ++++++++++---- .../components/layout-side-nav/index.tsx | 47 ++++++++++----- .../views/wallet-deposit-view/index.tsx | 7 ++- .../smart-exposure/views/pool-view/index.tsx | 6 +- src/modules/smart-yield/api.ts | 12 ++-- src/modules/smart-yield/index.tsx | 4 +- .../deposit-view/senior-tranche/index.tsx | 4 +- .../smart-yield/views/markets-view/index.tsx | 24 +++++++- .../smart-yield/views/stats-view/index.tsx | 2 +- src/modules/yield-farming/contracts/yfPool.ts | 10 ++-- .../yield-farming/contracts/yfStaking.ts | 18 +++--- src/react-app-env.d.ts | 1 + src/resources/svg/icons-sprite.svg | 27 +++------ src/resources/svg/static-sprite.svg | 57 +++++++++++++++--- src/styles/button.scss | 10 ++-- src/utils/contracts.ts | 31 ---------- .../components/connect-wallet-modal/index.tsx | 4 +- .../components/notifications/index.tsx | 4 +- src/web3/utils.ts | 14 +++++ 25 files changed, 342 insertions(+), 148 deletions(-) create mode 100644 src/components/custom/modal/index.tsx create mode 100644 src/components/custom/modal/s.module.scss delete mode 100644 src/utils/contracts.ts diff --git a/public/index.html b/public/index.html index 56b360f4..2dd6e751 100644 --- a/public/index.html +++ b/public/index.html @@ -20,5 +20,6 @@
+ diff --git a/src/components/custom/icon/index.tsx b/src/components/custom/icon/index.tsx index e8e96b86..f417f313 100644 --- a/src/components/custom/icon/index.tsx +++ b/src/components/custom/icon/index.tsx @@ -25,7 +25,7 @@ export type TokenIconNames = | 'compound' | 'static/aave' | 'cream_finance' - | 'yearn_finance' + | 'aave_polygon' | 'token-all'; export type NavIconNames = @@ -42,7 +42,7 @@ export type NavIconNames = | 'wallet-outlined' | 'docs-outlined'; -export type ThemeIconNames = 'moon' | 'sun'; +export type ThemeIconNames = 'moon' | 'sun' | 'weather'; export type IconNames = | LogoIconNames @@ -123,9 +123,7 @@ export type IconNames = | 'arrow-forward' | 'science' | 'building' - | 'internet' - | 'balance' - | 'finance'; + | 'internet'; export type IconProps = { name: IconNames; diff --git a/src/components/custom/modal/index.tsx b/src/components/custom/modal/index.tsx new file mode 100644 index 00000000..f9fddb77 --- /dev/null +++ b/src/components/custom/modal/index.tsx @@ -0,0 +1,59 @@ +import { FC, ReactNode, useCallback, useEffect, useRef } from 'react'; +import { createPortal } from 'react-dom'; + +import Icon from '../icon'; + +import s from './s.module.scss'; + +const rootNode = document.querySelector('#root'); +const modalsNode = document.querySelector('#modal-root'); + +type Props = { + heading?: ReactNode; + closeHandler: Function; +}; + +export const Modal: FC = ({ children, heading, closeHandler }) => { + const closeHandlerRef = useRef(closeHandler); + + const keyboardHandler = useCallback(event => { + if (closeHandlerRef.current && event.key === 'Escape') { + closeHandlerRef.current(); + } + }, []); + + useEffect(() => { + document.addEventListener('keydown', keyboardHandler, false); + + if (rootNode) { + rootNode.setAttribute('inert', 'true'); + rootNode.setAttribute('aria-hidden', 'true'); + } + + return () => { + document.removeEventListener('keydown', keyboardHandler, false); + + if (rootNode) { + rootNode.removeAttribute('inert'); + rootNode.removeAttribute('aria-hidden'); + } + }; + }, [keyboardHandler]); + + if (!modalsNode) return null; + + return createPortal( +
+
+
+
{heading}
+ +
+
{children}
+
+
, + modalsNode, + ); +}; diff --git a/src/components/custom/modal/s.module.scss b/src/components/custom/modal/s.module.scss new file mode 100644 index 00000000..8dc236ec --- /dev/null +++ b/src/components/custom/modal/s.module.scss @@ -0,0 +1,59 @@ +.dialog { + position: fixed; + top: 0; + right: 0; + bottom: 0; + left: 0; + background: rgba(0, 0, 0, 0.6); + z-index: 10; +} + +.inner { + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + width: 100%; + max-width: 560px; + background-color: var(--theme-card-color); + border-radius: 4px; + + @media (max-width: 768px) { + top: auto; + bottom: 16px; + left: 16px; + right: 16px; + transform: none; + max-width: initial; + width: auto; + } +} + +.closeButton { + background-color: transparent; + border: none; + padding: 0; + display: flex; + flex-shrink: 0; + color: var(--theme-icon-color); + + &:hover { + color: var(--theme-icon-hover-color); + } +} + +.header { + padding: 32px; + border-bottom: 1px solid #ccc; + display: flex; + align-items: flex-start; +} + +.heading { + flex-grow: 1; + display: flex; + align-items: center; +} + +.content { +} diff --git a/src/components/custom/notification/index.tsx b/src/components/custom/notification/index.tsx index f27b2cf7..422c7335 100644 --- a/src/components/custom/notification/index.tsx +++ b/src/components/custom/notification/index.tsx @@ -8,7 +8,8 @@ import formatDuration from 'date-fns/formatDuration'; import intervalToDuration from 'date-fns/intervalToDuration'; import isThisWeek from 'date-fns/isThisWeek'; import isToday from 'date-fns/isToday'; -import { getEtherscanAddressUrl, getHumanValue, shortenAddr } from 'web3/utils'; +import Erc20Contract from 'web3/erc20Contract'; +import { formatToken, getEtherscanAddressUrl, getHumanValue, shortenAddr } from 'web3/utils'; import Icon, { IconNames } from 'components/custom/icon'; import IconNotification from 'components/custom/icon-notification'; @@ -16,13 +17,10 @@ import { Text } from 'components/custom/typography'; import { BondToken } from 'components/providers/known-tokens-provider'; import { NotificationType, useNotifications } from 'components/providers/notifications-provider'; import { useReload } from 'hooks/useReload'; -import SYSmartYieldContract from 'modules/smart-yield/contracts/sySmartYieldContract'; import ExternalLink from '../externalLink'; import NotificationIcon from './icon'; -import { getSessionContractByAddress, setSessionContractByAddress } from 'utils/contracts'; - import s from './s.module.scss'; // @ts-ignore @@ -33,6 +31,8 @@ const colorPairs: Record<'green' | 'red' | 'blue', [string, string]> = { blue: ['--theme-blue-color', '--theme-blue-color-rgb'], }; +const SYContractsMap = new Map(); + function getProposalLink(id: number): React.ReactNode { return {`PID-${id}`}; } @@ -222,26 +222,29 @@ function getData(n: NotificationType, reload: Function): [IconNames, [string, st , ]; case 'smart-yield-token-bought': { - const contract = getSessionContractByAddress(n.metadata.syPoolAddress); - if (!contract || !contract.symbol) { - const syPoolContract = new SYSmartYieldContract(n.metadata.syPoolAddress); - syPoolContract.loadCommon().then(() => { - if (syPoolContract.symbol) { - setSessionContractByAddress(n.metadata.syPoolAddress, { - symbol: syPoolContract.symbol, - }); - reload(); - } - }); + let erc20Contract = SYContractsMap.get(n.metadata.syPoolAddress); + + if (!erc20Contract) { + erc20Contract = new Erc20Contract([], n.metadata.syPoolAddress); + SYContractsMap.set(n.metadata.syPoolAddress, erc20Contract); + erc20Contract + .loadCommon() + .then(() => reload()) + .catch(Error); } + return [ 'stake', colorPairs.blue, <> Stake your{' '} - {getStrongText(`${Intl.NumberFormat('en').format(Number(n.metadata.amount))} ${contract?.symbol ?? ''}`)} to - earn extra yield + {getStrongText( + `${formatToken(BigNumber.from(n.metadata.amount)?.unscaleBy(erc20Contract.decimals)) ?? '-'} ${ + erc20Contract.symbol ?? '' + }`, + )}{' '} + to earn extra yield >; - theme: string; - isDarkTheme: boolean; - toggleDarkTheme: () => void; + theme: 'light' | 'dark'; + selectedTheme: 'light' | 'dark' | undefined; + toggleTheme: () => void; }; -const GeneralContext = React.createContext({} as any); +const GeneralContext = createContext({} as any); const mqlDark = window.matchMedia('(prefers-color-scheme: dark)'); const defaultTheme = mqlDark.matches ? 'dark' : 'light'; @@ -19,10 +19,23 @@ type Props = { }; const GeneralContextProvider: React.FC = ({ children }) => { - const [navOpen, setNavOpen] = React.useState(false); - const [theme, setTheme] = useLocalStorage('bb_theme', defaultTheme); + const [navOpen, setNavOpen] = useState(false); + const [osColorScheme, setOsColorScheme] = useState<'light' | 'dark'>(defaultTheme); + const [selectedTheme, setSelectedTheme, removeSelectedTheme] = useLocalStorage<'light' | 'dark' | undefined>( + 'bb_theme', + ); + + const theme: 'light' | 'dark' = selectedTheme || osColorScheme; + + useEffect(() => { + setOsColorScheme(defaultTheme); + + mqlDark.addEventListener('change', e => { + setOsColorScheme(e.matches ? 'dark' : 'light'); + }); + }, []); - React.useEffect(() => { + useEffect(() => { if (theme) { document.body.setAttribute('data-theme', theme); } else { @@ -36,9 +49,15 @@ const GeneralContextProvider: React.FC = ({ children }) => { navOpen, setNavOpen, theme, - isDarkTheme: theme === 'dark', - toggleDarkTheme: () => { - setTheme(theme === 'dark' ? 'light' : 'dark'); + selectedTheme, + toggleTheme: () => { + if (selectedTheme === 'light') { + setSelectedTheme('dark'); + } else if (selectedTheme === 'dark') { + removeSelectedTheme(); + } else { + setSelectedTheme('light'); + } }, }}> {children} @@ -49,5 +68,5 @@ const GeneralContextProvider: React.FC = ({ children }) => { export default GeneralContextProvider; export function useGeneral(): GeneralContextType { - return React.useContext(GeneralContext); + return useContext(GeneralContext); } diff --git a/src/layout/components/layout-side-nav/index.tsx b/src/layout/components/layout-side-nav/index.tsx index 0920e195..02e26c6f 100644 --- a/src/layout/components/layout-side-nav/index.tsx +++ b/src/layout/components/layout-side-nav/index.tsx @@ -6,7 +6,7 @@ import { Link, NavLink, useLocation } from 'react-router-dom'; import cn from 'classnames'; import Tooltip from 'components/antd/tooltip'; -import Icon from 'components/custom/icon'; +import Icon, { IconNames } from 'components/custom/icon'; import { Text } from 'components/custom/typography'; import { useGeneral } from 'components/providers/general-provider'; import config from 'config'; @@ -14,13 +14,13 @@ import config from 'config'; import s from './s.module.scss'; const LayoutSideNav: React.FC = () => { - const { navOpen, setNavOpen, toggleDarkTheme, isDarkTheme } = useGeneral(); + const { navOpen, setNavOpen } = useGeneral(); const location = useLocation(); const [expanded, setExpanded] = React.useState(false); React.useEffect(() => { setNavOpen(false); - }, [location.pathname]); + }, [location.pathname, setNavOpen]); React.useEffect(() => { if (navOpen) { @@ -34,10 +34,6 @@ const LayoutSideNav: React.FC = () => { setExpanded(prevState => !prevState); } - function handleThemeToggle() { - toggleDarkTheme(); - } - const displayTooltip = !isMobile && !expanded; return ( @@ -138,14 +134,7 @@ const LayoutSideNav: React.FC = () => { - - - + + + ); +}; diff --git a/src/modules/governance/views/wallet-deposit-view/index.tsx b/src/modules/governance/views/wallet-deposit-view/index.tsx index bffb0bdb..ec0dac03 100644 --- a/src/modules/governance/views/wallet-deposit-view/index.tsx +++ b/src/modules/governance/views/wallet-deposit-view/index.tsx @@ -184,7 +184,12 @@ const WalletDepositView: React.FC = () => { - diff --git a/src/modules/smart-exposure/views/pool-view/index.tsx b/src/modules/smart-exposure/views/pool-view/index.tsx index b3c380ad..a838eed2 100644 --- a/src/modules/smart-exposure/views/pool-view/index.tsx +++ b/src/modules/smart-exposure/views/pool-view/index.tsx @@ -32,10 +32,10 @@ const PoolView: React.FC = () => {
- + Deposit - + Withdraw { {({ ref, setOpen, open }) => (