When Compound deploys a new Comet market, upgrades the Comptroller, or modifies oracle interfaces, the contract ABI changes ripple through every integration surface. Wallet providers must update transaction construction logic to match new function signatures. Custodians and exchanges need to adjust balance calculation engines to handle modified event emissions. Liquidation bots require recalibration when collateral factor or liquidation incentive parameters shift. Even a minor change to the accrueAccount or absorb interface can break downstream systems that rely on precise calldata encoding or event log parsing.

API and SDK Changes for Protocol Upgrades
Why API and SDK Changes Matter
API and SDK changes in Compound upgrades directly affect every off-chain system that constructs transactions, tracks positions, or monitors protocol state.
The migration from cToken to Comet (Compound III) represents the most significant API break in the protocol's history. The single-asset borrowing model, unified supply/withdraw/borrow/repay interface, and CometRewards contract architecture are fundamentally incompatible with legacy cToken integration patterns. Teams maintaining both legacy and Comet integrations must manage parallel code paths, distinct address registries, and separate position-tracking logic. Community SDKs and subgraph implementations have evolved to abstract this complexity, but breaking changes in helper libraries can still force application rewrites when function signatures, return types, or dependency versions shift without adequate deprecation windows.
Operational teams should treat every Compound governance proposal and contract upgrade as a potential integration-breaking event. A parameter change that seems minor—such as adjusting a reserve factor or supply cap—may not break contract interfaces but can invalidate off-chain risk models, liquidation profitability calculations, or APY display logic. Chainscore Labs can assess the impact surface of pending upgrades on your specific integration architecture, review transaction construction and event indexing logic for compatibility with new contract versions, and validate that position-tracking engines correctly handle accrual mechanics across both cToken and Comet deployments before changes reach mainnet.
Integration Impact at a Glance
A changelog-style reference for developers to quickly assess the operational impact of breaking changes in Compound's client libraries, ABIs, and helper functions following a protocol upgrade.
| Area | What changes | Who is affected | Action |
|---|---|---|---|
Contract ABI | New or modified function signatures, events, or error codes in core contracts (e.g., Comet, CometRewards). | Wallet providers, custodians, subgraph indexers, liquidation bots | Regenerate contract bindings from the canonical ABI and re-validate all transaction construction logic. |
Helper Functions | Community SDKs may deprecate legacy functions (e.g., for cToken) or introduce new helpers for Comet-specific flows like claiming rewards. | Front-end developers, DeFi aggregators, back-end services | Audit all SDK function calls against the latest release notes and migrate to new helper functions to ensure future compatibility. |
Event Signatures | New event topics or changes to indexed parameters can break event monitoring and historical data queries. | Data teams, analytics platforms, subgraph operators | Update event signature hashes and re-index historical data where parameter indexing has changed to prevent gaps in position tracking. |
Legacy Endpoints | Deprecation of Compound II (cToken) specific API endpoints or subgraph schemas as the protocol migrates to Compound III (Comet). | Exchanges, institutional custodians, data aggregators | Plan a migration to Comet-based data sources and implement a dual-read period to verify data consistency before deprecating legacy systems. |
Transaction Encoding | Changes to calldata structure for complex operations like | Liquidation bot operators, DeFi protocols building on Compound | Test all transaction construction logic against the new contract interfaces on a testnet to prevent mainnet reverts. |
Governance Interactions | New proposal types or changes to the Governor contract's interface can break automated governance monitoring or voting tools. | Governance delegates, voting dashboards, protocol treasuries | Verify that governance tooling correctly encodes and decodes new proposal types and calldatas against the latest Governor ABI. |
Cross-Chain Deployments | New chain deployments may introduce chain-specific contract addresses and oracle implementations that are not reflected in a unified SDK. | Multi-chain wallets, cross-chain aggregators, data dashboards | Verify the canonical contract address and oracle configuration for each new chain against the official Compound documentation before enabling support. |
The API Surface: From cToken to Comet
Analysis of the fundamental API and SDK changes required when migrating from the Compound II cToken architecture to the Compound III Comet model.
The transition from Compound II to Compound III (Comet) represents a complete redesign of the protocol's API surface, not a simple version increment. The legacy cToken model wraps each asset in its own ERC-20 contract, requiring integrators to interact with separate cToken instances for supply and borrow operations. Comet collapses this into a single monolithic contract per deployment, where users manage a single account that holds multiple collateral assets and a single borrow position. This architectural shift breaks every existing integration at the contract interface level, requiring wallet providers, custodians, and DeFi aggregators to rebuild their transaction construction logic from the ground up.
The operational impact is immediate and binary: function signatures, event schemas, and state management patterns are incompatible between the two systems. A mint call on a cToken becomes a supply call on a Comet contract. The borrowBalanceStored view function is replaced by borrowBalanceOf. Liquidation logic moves from liquidateBorrow to absorb, which bundles the seizure of collateral and repayment of debt into a single operation. Indexers must rewire their event listeners from Mint, Redeem, Borrow, and RepayBorrow to Supply, Withdraw, SupplyCollateral, TransferCollateral, and AbsorbCollateral. Every SDK wrapper, subgraph schema, and off-chain position tracker must be rewritten to accommodate the new account-centric model where a user's health is calculated across multiple collateral types against a single borrowed asset.
Teams maintaining integrations against both architectures must implement a routing layer that dispatches transactions based on the target market version. This requires maintaining dual ABI registries, separate gas estimation logic, and parallel position reconciliation pipelines. Chainscore Labs can perform an integration readiness review that maps your existing cToken interaction surface to the Comet equivalent, identifies gaps in event monitoring coverage, and validates that your off-chain accounting logic correctly handles the new borrowIndex and supplyIndex tracking mechanisms before you deploy to production.
Who Is Affected by API and SDK Changes
Wallet and Custody Impact
API and SDK changes directly affect how wallets construct transactions and display user positions. A breaking change in the supply or withdraw function signature will cause transaction failures if the integration is not updated. Custodians must also update internal ledgers to reconcile new event signatures or interest accrual mechanics.
Action Checklist:
- Audit transaction construction logic against the latest contract ABIs.
- Update balance calculation engines to use new accrual tracking methods.
- Test against testnet deployments before mainnet activation.
- Implement graceful error handling for deprecated methods.
Chainscore can perform an integration readiness review to ensure your custody workflows remain reliable through the upgrade cycle.
Common Integration Breakage Patterns
Protocol upgrades frequently introduce breaking changes to contract interfaces, event signatures, and SDK methods. Integrators must audit their dependency surface against these common failure modes to prevent application outages.
ABI Method Signature Changes
Upgrades to Comet or Comptroller contracts may rename or reorder function parameters, breaking strict ABI decoders. For example, a new version parameter added to a core function like supply will cause CALL_EXCEPTION reverts in Ethers v6 or viem if the fragment is not updated. Integrators must regenerate TypeChain bindings or manually update human-readable ABIs for every new Comet deployment. Chainscore can perform a pre-upgrade ABI diff to identify breaking signature changes before they reach mainnet.
Event Signature and Indexed Parameter Shifts
Event definitions are not immutable. A protocol upgrade may add an indexed parameter to SupplyCollateral or change the ordering of fields in AbsorbCollateral. This shifts the keccak256 topic hash and alters the data layout, silently breaking subgraph handlers and event monitoring services. Indexers relying on hardcoded topic0 values will stop ingesting data. Teams should implement topic0 discovery from on-chain contract ABIs rather than hardcoding. Chainscore can validate event monitoring pipelines against new deployment artifacts.
Deprecated Legacy Endpoint Fallback Failures
As Compound III matures, legacy cToken API endpoints or community SDK wrappers may be deprecated without explicit migration paths. An application that falls back to a deprecated Compound.js method for accruing interest may silently return stale data if the underlying contract logic has moved to a new AccrueInterest pattern. Integrators should avoid hardcoded fallback chains and instead query the active contract version on-chain. Chainscore can map your integration's API surface to identify deprecated call paths.
SDK Version Lock and Dependency Drift
Community-maintained SDKs for Compound often lag behind core protocol upgrades. A wallet locked to an SDK version that hardcodes the Comet absorb function signature will fail to construct valid liquidation transactions after a minor contract update. This is critical for liquidation bots where transaction failure directly leads to loss of profit or bad debt accumulation. Integrators should pin SDK versions and run integration tests against forked mainnet before upgrading. Chainscore can review your dependency management strategy for upgrade resilience.
Cross-Chain Address Mismatch After Governance Execution
When Compound governance deploys a new Comet market on a sidechain like Arbitrum or Polygon, the canonical contract address is set via a cross-chain governance message. If an integrator updates their SDK configuration before the governance message executes on the target chain, transactions will be directed to an empty address or an old implementation. This is a common race condition for multi-chain wallets. Integrators should verify on-chain bytecode at the expected address before routing user funds. Chainscore can build a cross-chain deployment verification checklist for your operations team.
Permit and EIP-2612 Compatibility Breaks
Upgrades to the Comet contract may alter the domain separator construction or the permit function signature, invalidating gasless transaction flows. If a front-end caches the domain separator or uses an outdated permit typehash, user signatures will revert on-chain. This breaks UX for institutional custody workflows that rely on gasless supply and withdraw operations. Integrators must recompute EIP-712 domain separators dynamically from the contract. Chainscore can audit your off-chain signature construction logic for compliance with the latest deployment.
Integration Risk Matrix
Evaluates the operational and technical impact of API and SDK changes introduced by Compound protocol upgrades on downstream integrators.
| Area | What changes | Who is affected | Action |
|---|---|---|---|
Contract ABI | Addition, removal, or renaming of functions and events in cToken or Comet contracts. | Wallets, exchanges, aggregators, liquidation bots, data indexers. | Re-generate contract bindings from the new verified ABI. Audit all call sites for deprecated methods. |
Event Signature | Modification of indexed parameters or event name hashes for core actions like Supply, Withdraw, or Absorb. | Subgraph developers, data analytics teams, back-end position trackers. | Update event filter topics in indexing logic. Replay event history against new signatures to confirm completeness. |
Interest Rate Model | Replacement of the interest rate model contract with a new address or interface. | Risk dashboards, simulation engines, any system calculating accrual off-chain. | Update the interest rate model contract address and ABI. Validate off-chain accrual logic against on-chain |
SDK Helper Functions | Deprecation of legacy helper functions in community SDKs for transaction construction. | Front-end teams, wallet providers, script-based integrators. | Migrate to new SDK methods for core actions. Test transaction construction on a testnet before mainnet deployment. |
Price Oracle Interface | Change in oracle contract address or the | Liquidation bots, risk monitors, DeFi protocols using Compound as a price source. | Update the oracle contract address in bot configurations. Verify price staleness threshold logic remains valid. |
Comet Reward Contract | New reward token logic or a change in the Merkle proof claiming interface. | Protocols abstracting claims, institutional staking services. | Review the new |
Governance Timelock | Change in the timelock delay or the admin contract address. | Governance monitoring tools, automated defense systems. | Update the timelock address in monitoring systems. Adjust alerting thresholds for queued governance transactions. |
Developer Migration Checklist
A practical checklist for developers maintaining applications, bots, or services that integrate with Compound. Use this to systematically validate your integration surface before, during, and after a protocol upgrade to prevent transaction failures, inaccurate position data, and liquidation errors.
What to check: Verify that your application's hardcoded contract addresses and ABIs match the canonical deployments for the target network and the new protocol version (e.g., a new Comet market or a migrated Comptroller).
Why it matters: Protocol upgrades often deploy new contract instances. Pointing to a deprecated address will cause transaction failures. Using an outdated ABI can lead to incorrectly encoded function calls, resulting in reverted transactions or, worse, funds being sent to fallback functions.
Readiness signal: A successful, decoded call to a read-only function (like symbol() or decimals()) on the new contract address from your staging environment confirms basic connectivity and ABI compatibility.
Canonical Resources and References
Use these sources to verify Compound API, ABI, SDK, and governance-driven upgrade changes before updating production integrations. Treat documentation, repositories, and executed governance payloads as complementary sources, not substitutes for on-chain validation.
Looking to build on a specific blockchain?
We build smart contracts, DeFi applications, wallets, tokenization platforms, and blockchain infrastructure across the major ecosystems teams choose today. That includes Ethereum, Arbitrum, Optimism, Polygon, Avalanche, Solana, Sui, Aptos, Hedera, Stellar, and NEAR, with support for additional EVM and non-EVM networks based on your product requirements.
EVM ecosystems
- Ethereum
- Arbitrum
- Optimism
- Polygon
- Avalanche
- Cronos

Non-EVM ecosystems
- Solana
- Sui
- Aptos
- Hedera
- Stellar
- NEAR
Additional ecosystems
- Polkadot
- Cosmos
- TON
- Cardano
- Algorand
- Tempo
Also available for Base, appchains, custom EVM networks, and cross-chain product architecture.
Frequently Asked Questions
Common questions from development teams managing Compound integrations through protocol upgrades. Covers contract ABI changes, SDK deprecations, and testing strategies to maintain application compatibility.
Monitor the canonical Compound Improvement Proposal (CIP) repository and governance forum for new Comet or Comptroller implementations. Breaking ABI changes typically involve:
- Function signature modifications: Parameter reordering, type changes, or new return values in core functions like
supply,withdraw,borrow, orabsorb. - Event signature changes: Altered indexed parameters or event names that break existing event listeners and subgraph handlers.
- Interface additions: New required methods that existing integrations must implement.
Verification steps:
- Diff the proposed contract ABI against your currently integrated version.
- Check for deprecated functions marked in NatSpec comments or governance discussion threads.
- Validate against the deployed contract on the target network's block explorer once the governance timelock executes.
- Test your integration's transaction construction against a local fork of the upgraded contracts before mainnet activation.
Chainscore can perform an upgrade impact assessment that maps every ABI change to your specific integration surface, identifying which functions, events, and error codes require code changes.
Delivering blockchain solutions for 5+ years.
We have partnered with 50+ leading DeFi protocols, NFT ecosystems, and fintech innovators to build secure, scalable, and capital-efficient blockchain products.
Selected Partners & Clients
“I've been working with Chainscore Labs for last 3+ years, they've consistently delivered with strong ownership across multiple projects. The team is reliable and detail-oriented.”
How to get started?
If you're looking for blockchain integration, ChainScore Labs has 5+ years of experience helping teams build and integrate exchanges, wallets, smart contracts, tokenization solutions, and protocol-connected products, we can help you choose the right path, integrate securely, and get to production faster. Our team consists of experienced blockchain developers and architects who can help you with your blockchain integration needs.
Exploration & Strategy
Define your product goals and choose the right blockchain architecture for your use case.
Architecture & Design
Design the smart contracts, tokenomics, and security parameters of your system.
Development & Integration
Build and integrate with wallets, oracles, and front-end dApps for a seamless experience.
Security & Launch
Comprehensive audits followed by a risk-managed mainnet deployment to protect your users.
Discover our
blockchain development services.
We build production-grade blockchain solutions for top-tier projects across DeFi and Web3.
Need a blockchain engineering team?
Send the project context and we will respond with next steps, scope questions, and a practical path to delivery.


