Repository navigation
feat(proxy): implement upgrade proxy contract for bonding curve logic migration (#1055) - #1079
Merged
Chucks1093 merged 1 commit intoOct 18, 2026
Conversation
|
@itzsoftwaredevops-sys Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
itzsoftwaredevops-sys
force-pushed
the
feat/issue-1055-bonding-curve-upgrade-proxy
branch
2 times, most recently
from
October 18, 2026 02:45
fecb6c2 to
6589dec
Compare
itzsoftwaredevops-sys
force-pushed
the
feat/issue-1055-bonding-curve-upgrade-proxy
branch
from
October 18, 2026 02:49
6589dec to
cc59b97
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
BondingCurveProxycontract (creator-keys/src/proxy.rs) providing an upgrade proxy pattern for bonding curve logic migration (Implement upgrade proxy contract for bonding curve logic migration #1055).set_paused,is_paused) to guard trading during migrations.UpgradeExecutedevent (UPGRADE_EXECUTED_EVENT_NAME) on successful implementation migration.creator-keys/src/test_proxy.rsvalidating initialization, access control, interface validation, emergency pause, and delegation.Why
Issue #1055 specifies the requirement for an upgrade proxy contract that wraps the bonding curve logic to allow administrators to migrate to upgraded contract logic while preserving all balances, continuous pricing states, and event notifications.
Implementation
creator-keys/src/proxy.rs:BondingCurveProxywith methodsinitialize,upgrade_implementation,set_paused,is_paused,get_implementation,get_admin, anddispatch.Admin,Implementation,IsPaused,Initialized.validate_interfaceprobing bonding curve methods before completing upgrades.UpgradeExecutedevent publishing.creator-keys/src/lib.rs: Exposedproxymodule and exportedBondingCurveProxy,BondingCurveProxyClient.creator-keys/src/test_proxy.rs: Unit test coverage for initialization, authorization, interface checks, pause guard, and delegation.Testing
cargo check -p creator-keys(passed)cargo check --tests -p creator-keys(passed)Checklist
creator-keysunit/integration tests for every changed contract behavior, including failure paths for new or reachableContractErrorvariantscargo check -p creator-keysandcargo check --tests -p creator-keysCloses #1055