ChainPL
  • Overview
    • What is ChainPL?
    • Governance & Community
    • Evolution
  • Innovating DeFi Yield Optimization
    • What Sets ChainPL Apart?
    • Autocompounding Across Chains
    • Protocol Overview
  • Core Elements
  • Mechanics
  • Yield Farming
  • Stakeholders & ChainPL DAO
  • Revenue Bridge
    • Key Functions
    • Operational Workflow
    • Bridging Mechanisms & Source Chain Operations
    • Functionality on Source Chains
  • Tokenomics
    • ChainPL Token
    • Allocation
    • CPL Token Governance
Powered by GitBook
On this page
  1. Revenue Bridge

Operational Workflow

Smart Contract Execution

The ChainPLRevenueBridge.sol smart contract manages the bridging process, primarily through its harvest() function, which wraps native tokens, tops up the Cowllector, and then executes the cross-chain transfer.

Configurability

Key operational aspects, such as the bridging method, stablecoin choice, swap pool, and target chain/address, can be adjusted by ChainPL’s Core team to adapt to evolving cross-chain dynamics.

Upgradability and Security

Deployed as a proxy contract, the Revenue Bridge can receive critical updates from ChainPL’s Development Council, ensuring adaptability in a rapidly evolving bridging landscape.

Gasless Approvals:

Incorporating BIP-2612’s permit pattern, the bridge allows users to authorize transactions via signatures without incurring gas fees, leveraging OpenZeppelin's BRC20Permit.sol contract for this functionality.

In summary, the ChainPL Revenue Bridge is a multifunctional tool designed to efficiently and securely manage and transfer assets across blockchains, supporting the broader ChainPL ecosystem's liquidity and Treasury needs. Its adaptable nature and upgradable design ensure it remains relevant and effective in the fast-paced world of decentralized finance (DeFi).

PreviousKey FunctionsNextBridging Mechanisms & Source Chain Operations

Last updated 1 year ago