Integration of Exchange Rate Functionality into sINV CCIP
Background:
sINV, the staked version of the INV governance token within the Inverse Finance ecosystem, accrues rewards through auto-compounding of INV staking rewards and DBR streaming rewards. As Inverse Finance expands across multiple chains, ensuring accurate and real-time exchange rates during cross-chain transfers of sINV is crucial for maintaining token value consistency in third party protocol integrations.
Objective:
To integrate exchange rate functionality into the existing Chainlink Cross-Chain Interoperability Protocol (CCIP) for sINV transfers, we’ll be utilizing Programmable Data Token Transfer contracts on each supported network. This integration will ensure that sINV tokens are accurately valued during cross-chain transfers, reflecting real-time exchange rates on L2 Networks.
Implementation Plan:
- Accept Ownership of Programmable Data Token Transfer Contracts:
The DAO will assume ownership of the deployed Programmable Data Token Transfer contracts on each network to manage and update exchange rates effectively. The launch process is as follows:
-
Ownership of the Ethereum Mainnet “ProgrammableDataToken” contract will be transferred to and accepted by the Inverse Treasury upon execution of this proposal.
-
Ownership of the L2 ProgrammableDataTokenTransfers is assigned to the corresponding GovernanceProxy on execution, sending a message via the GovernanceSender contract.
-
TWG Multisig accepts ownership of the L2 proxies
-
Base Network: 0x0173804066f7403e0815680f3dda125a6cd10f7c
-
Ethereum Mainnet: 0x7a43c13f7fb3a0bf19ceb3fbc583a0cada6d29a2
- Designate Contracts as Exchange Rate Updaters:
The Programmable Data Token Transfer contracts will be assigned as exchange rate updaters within the ReceiptToken contracts on each L2 network…
Technical Details:
- Programmable Data Token Transfers: Chainlink’s CCIP supports the inclusion of arbitrary data—such as exchange rates—within token transfer transactions. This feature ensures that sINV tokens maintain accurate value representation across different chains.
Chainlink Documentation - Exchange Rate Updates: By designating the Programmable Data Token Transfer contracts as exchange rate updaters, the system can fetch and apply real-time exchange rates during sINV transfers, ensuring value consistency on L2’s.
On-Chain Actions Required:
- Ownership Acceptance:
Execute transactions to accept ownership of the specified Programmable Data Token Transfer contracts on each network. - Updater Designation:
Update the ReceiptToken contracts on each L2 network to recognize the Programmable Data Token Transfer contracts as authorized exchange rate updaters. - Remove Deployment Permission:
Remove unnecessary deployment permission “allowlistCaller” 0xMT from GovernanceSender contract: GovernanceSender | Address 0xaea8ae87a34a0faaea0e6bed9f4627f576b524fa | Etherscan