Skip to content

feat/handle frozen assets#807

Merged
defispartan merged 10 commits intomainfrom
feat/handle-frozen-assets
May 26, 2022
Merged

feat/handle frozen assets#807
defispartan merged 10 commits intomainfrom
feat/handle-frozen-assets

Conversation

@defispartan
Copy link
Collaborator

@defispartan defispartan commented May 26, 2022

For frozen assets:

  • Show warning icon on dashboard
  • Show warning banner on reserve overview page
  • Disable supply/borrow buttons and messages in actions panel on reserve overview page

Can test by mocking the AaveCollector contract on Eth Mainnet: 0x464c71f6c2f760dda6093dcb91c24c39e5d6e18c

@github-actions
Copy link

github-actions bot commented May 26, 2022

📦 Next.js Bundle Analysis

This analysis was generated by the next.js bundle analysis action 🤖

⚠️ Global Bundle Size Increased

Page Size (compressed)
global 484.92 KB (🟡 +313 B)
Details

The global bundle is the javascript bundle that loads alongside every page. It is in its own category because its impact is much higher - an increase to its size means that every page on your website loads slower, and a decrease means every page loads faster.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

If you want further insight into what is behind the changes, give @next/bundle-analyzer a try!

Three Pages Changed Size

The following pages changed size from the code in this PR compared to its base branch:

Page Size (compressed) First Load
/ 52 KB (🟡 +246 B) 536.92 KB
/markets 27.03 KB (🟡 +192 B) 511.95 KB
/reserve-overview 71.39 KB (🟡 +378 B) 556.3 KB
Details

Only the gzipped size is provided here based on an expert tip.

First Load is the size of the global bundle plus the bundle for the individual page. If a user were to show up to your website and land on a given page, the first load size represents the amount of javascript that user would need to download. If next/link is used, subsequent page loads would only need to download that page's bundle (the number in the "Size" column), since the global bundle has already been downloaded.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

Next to the size is how much the size has increased or decreased compared with the base branch of this PR. If this percentage has increased by 20% or more, there will be a red status indicator applied, indicating that special attention should be given to this.

@github-actions
Copy link

@github-actions
Copy link

@MareskoY
Copy link
Contributor

all good for me

MareskoY
MareskoY previously approved these changes May 26, 2022
@github-actions
Copy link

MareskoY
MareskoY previously approved these changes May 26, 2022
@defispartan defispartan merged commit f56e90a into main May 26, 2022
@defispartan defispartan deleted the feat/handle-frozen-assets branch May 26, 2022 16:32
@github-actions
Copy link

@defispartan defispartan linked an issue Jun 2, 2022 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Handle frozen reserves

2 participants