-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature branch: runtime upgrade 1038 #1953
Conversation
* Add pool fee tab and table with drawers for edit and charging fees * Add UI of form to charge fees * Update links * Add successful submit state to charge order * Fetch pool fee data from onchain * Update styles of Drawer header * Enable setting pool fee charge * Fix update order * Remove logs * Add functionality for edit fees drawer * Update metadata when editing pool fees * Query proposed changes * Fix metadata update when item is not being removed * Clean up * Hide edit fee structure button for non admins * Remove unused var * Update styles * Support LP in holders & investor tx reporting (#1912) * Update * Fix * wip * Fix address format * Improve * Naming * Add investor tx type filter * Disable oracles (#1916) --------- Co-authored-by: Jeroen <[email protected]> Co-authored-by: Onno Visser <[email protected]>
* Add pool fees to create pool form * Add create fees to create pool * Add treasury account * Update formik to resolve type errors * Align all columns to the left * Add fees tab to issuer pool * Fix gray background to full width
* Fix button spacing in holdings * Update font color of tertiary button * Use tertiary buttons for poolfees table * Show actions only to allowed viewers * Handle cancel better on update fee charge * Update label * Add pool type input to create pool * Add validation for new input * Set correct default fees based on poolType * Add ~ to pending fees * Add pending fees for fixed fees * Fix tilde logic * Fix balance types * Account for epoch time if limit is amountPerSecond * Use last nav for pending fee calculation * Clean up naming * Remove ~ and add pending fees to fixed fee calc * Fix input jumping * Fix multiply by zero on first epoch where previous nav is 0 * Remove logs * Add type decorations for nav runtime api * Fix PoolNav types * Fetch nav value from runtime instead of chain storage * Fix decimal error in fees
fde7c31
to
cd843f5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reminder to revert commit 785c491 before merging
* Fix typo in tooltip * Place pool type next to pool name
…o runtime-upgrade-1038
* Add copy to clipboard to receiving address in table * Add total pending fees to page summary * Show action column only to receiving address and pool admins * Use maxPayable as amount for non fixed charges * Add fee position column and numbered fees * Fix disabled dropdown label * Rename protocol fees * Add tooltip to fee type label * Add fee position to metadata and update label of fixed fee input * Ajust edit fees drawer * Rename title in charge fees drawer * Remove log * Add * to required fields in create pool form * Update centrifuge-app/src/pages/IssuerCreatePool/PoolFeeInput.tsx * Fix fixed pending fees * Prettier * Fix reserve in chart --------- Co-authored-by: JP <[email protected]>
a5009ef
to
a3d9cba
Compare
* feat: add pool fees runtime api * fix: remove non-existent RPCs * feat: LoansApi v2
…o runtime-upgrade-1038
* Set up fee tx reporting * Use fee id * Setup * Naming * Update centrifuge-app/src/components/Report/FeeTransactions.tsx Co-authored-by: Sophia <[email protected]> --------- Co-authored-by: Sophia <[email protected]>
* Upgrade polkadot packages * Bump version * Upgrade deps in cent-app
👍 Dependency issues cleared. Learn more about Socket for GitHub ↗︎ This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored. |
PR deployed in Google Cloud |
Description
This pull request...
Closes #
Approvals
Screenshots
Impact