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

Freeze bank settings #261

Merged
merged 6 commits into from
Dec 6, 2024
Merged

Freeze bank settings #261

merged 6 commits into from
Dec 6, 2024

Conversation

jgur-psyops
Copy link
Contributor

@jgur-psyops jgur-psyops commented Dec 3, 2024

Adds the ability for the group/bank admin to freeze a bank's settings, preventing them from ever being configured again. This will be used in permissionless pools to prevent the pool administrator from trolling by setting interest to 400%, replacing the oracle, etc.

Fixes a bug where config did not update the origination fee rate.

Updates TS test suite with new reference types to be ported to the package for updates to date.

Possible TODO: add an unfreeze that can only be executed by the org's multisig to handle edge specific edge cases.

@jgur-psyops jgur-psyops merged commit 244a3b3 into main Dec 6, 2024
4 checks passed
@jgur-psyops jgur-psyops deleted the freeze-settings branch December 6, 2024 20:10
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.

2 participants