Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Add increase & decrease debt to borrow proxy #1944

Merged
merged 2 commits into from
Aug 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions runtime/altair/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -581,6 +581,8 @@ impl InstanceFilter<RuntimeCall> for ProxyType {
RuntimeCall::Loans(pallet_loans::Call::update_portfolio_valuation{..}) |
RuntimeCall::Loans(pallet_loans::Call::propose_transfer_debt { .. }) |
RuntimeCall::Loans(pallet_loans::Call::apply_transfer_debt { .. }) |
RuntimeCall::Loans(pallet_loans::Call::increase_debt { .. }) |
RuntimeCall::Loans(pallet_loans::Call::decrease_debt { .. }) |
RuntimeCall::Permissions(..) |
RuntimeCall::CollatorAllowlist(..) |
// Specifically omitting Tokens
Expand Down Expand Up @@ -629,6 +631,8 @@ impl InstanceFilter<RuntimeCall> for ProxyType {
RuntimeCall::Loans(pallet_loans::Call::update_portfolio_valuation { .. }) |
RuntimeCall::Loans(pallet_loans::Call::propose_transfer_debt { .. }) |
RuntimeCall::Loans(pallet_loans::Call::apply_transfer_debt { .. }) |
RuntimeCall::Loans(pallet_loans::Call::increase_debt { .. }) |
RuntimeCall::Loans(pallet_loans::Call::decrease_debt { .. }) |
// Borrowers should be able to close and execute an epoch
// in order to get liquidity from repayments in previous epochs.
RuntimeCall::PoolSystem(pallet_pool_system::Call::close_epoch{..}) |
Expand Down
4 changes: 4 additions & 0 deletions runtime/centrifuge/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -679,6 +679,8 @@ impl InstanceFilter<RuntimeCall> for ProxyType {
RuntimeCall::Loans(pallet_loans::Call::update_portfolio_valuation{..}) |
RuntimeCall::Loans(pallet_loans::Call::propose_transfer_debt { .. }) |
RuntimeCall::Loans(pallet_loans::Call::apply_transfer_debt { .. }) |
RuntimeCall::Loans(pallet_loans::Call::increase_debt { .. }) |
RuntimeCall::Loans(pallet_loans::Call::decrease_debt { .. }) |
RuntimeCall::Permissions(..) |
RuntimeCall::CollatorAllowlist(..) |
// Specifically omitting Tokens
Expand Down Expand Up @@ -722,6 +724,8 @@ impl InstanceFilter<RuntimeCall> for ProxyType {
RuntimeCall::Loans(pallet_loans::Call::update_portfolio_valuation { .. }) |
RuntimeCall::Loans(pallet_loans::Call::propose_transfer_debt { .. }) |
RuntimeCall::Loans(pallet_loans::Call::apply_transfer_debt { .. }) |
RuntimeCall::Loans(pallet_loans::Call::increase_debt { .. }) |
RuntimeCall::Loans(pallet_loans::Call::decrease_debt { .. }) |
// Borrowers should be able to close and execute an epoch
// in order to get liquidity from repayments in previous epochs.
RuntimeCall::PoolSystem(pallet_pool_system::Call::close_epoch{..}) |
Expand Down
4 changes: 4 additions & 0 deletions runtime/development/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -584,6 +584,8 @@ impl InstanceFilter<RuntimeCall> for ProxyType {
RuntimeCall::Loans(pallet_loans::Call::update_portfolio_valuation{..}) |
RuntimeCall::Loans(pallet_loans::Call::propose_transfer_debt { .. }) |
RuntimeCall::Loans(pallet_loans::Call::apply_transfer_debt { .. }) |
RuntimeCall::Loans(pallet_loans::Call::increase_debt { .. }) |
RuntimeCall::Loans(pallet_loans::Call::decrease_debt { .. }) |
RuntimeCall::Permissions(..) |
RuntimeCall::CollatorAllowlist(..) |
// Specifically omitting Tokens
Expand Down Expand Up @@ -634,6 +636,8 @@ impl InstanceFilter<RuntimeCall> for ProxyType {
RuntimeCall::Loans(pallet_loans::Call::update_portfolio_valuation { .. }) |
RuntimeCall::Loans(pallet_loans::Call::propose_transfer_debt { .. }) |
RuntimeCall::Loans(pallet_loans::Call::apply_transfer_debt { .. }) |
RuntimeCall::Loans(pallet_loans::Call::increase_debt { .. }) |
RuntimeCall::Loans(pallet_loans::Call::decrease_debt { .. }) |
// Borrowers should be able to close and execute an epoch
// in order to get liquidity from repayments in previous epochs.
RuntimeCall::PoolSystem(pallet_pool_system::Call::close_epoch { .. }) |
Expand Down
Loading