Contract Upgrade
Overview
TermMax employs a strategic mixed approach to contract upgradeability, balancing flexibility with security. Only critical infrastructure components are upgradeable, while core protocol logic remains immutable to ensure user trust and system stability.
Upgradable Contracts
TermMax implements the Universal Upgradeable Proxy Standard (UUPS) pattern for the following contracts:
1. AccessManager Contract
Purpose: Controls the permission system for the entire protocol
Upgrade Authority: DEFAULT_ADMIN_ROLE
Critical Functions: Role management, permission controls, system-wide access control
2. TermMaxRouter Contract
Purpose: Handles routing logic between protocol components
Upgrade Authority: DEFAULT_ADMIN_ROLE
Critical Functions: User interaction routing, protocol integration management
Upgrade Process
Multisig Preparation
Technical team prepares upgrade transaction data
Admin multisig wallet initiates upgrade proposal
Upgrade parameters and new implementation address verified
Signature Collection
Threshold Required: 4 out of 6 signatures
Security Features:
Gnosis Safe multisig wallet implementation
Hypernative Guardian service provides additional transaction security
Post-Upgrade Verification
Check the upgraded contract status on Etherscan and/or other networks' explorers
Confirm all state correctly preserved during upgrade
Validate new functionality works as expected
Ensure permissions and access controls maintained
Check external integrations remain functional
Monitor for any issues post-upgrade
All upgrades monitored by Immunefi bug bounty hunters
Last updated