Replete Finance | Docs
  • Intro
    • About Replete
      • Why Replete?
      • What are use cases for Replete?
      • Are there risks?
      • Design Philosophies
      • Under the hood
  • Core Functions
    • Supply
      • How to supply?
      • How much can I earn?
      • Supply Limit
      • Collateral opt-out
    • Borrow
      • How to borrow?
      • How much interest to pay?
      • Borrow Limit
      • Health Factor
      • Avoiding liquidation
      • Liquidation
    • Repay
      • How to repay?
    • Withdraw
      • How to withdraw?
  • Governance
    • Replete DAO
    • Governance Procedure
      • [RIP-1] Replete Labs Proposal
  • Tokenomics
    • Token
  • Developers
    • How to Supply
    • How to Borrow
    • How to Repay
    • How to Withdraw
  • Contracts
    • RepletePool
    • BridgeReceiver
  • Links
    • Replete Site
    • Discord
    • Twitter
  • Legal
    • Privacy Policy
    • Terms of use
Powered by GitBook
On this page

Was this helpful?

  1. Contracts

BridgeReceiver

Receives and handles all cross chain messages. Exists only on Pool Chain (Arbitrum).

PreviousRepletePoolNextPrivacy Policy

Last updated 11 months ago

Was this helpful?

Currently integrated with LayerZero v1, v2 and Stargate v1, v2.


An internal Replete contract which proxies all communications from to the Pool contract on Pool Chain. A mapping of bridgeModules are stored in the contract which are adapters, allowing to bridge assets from Pool Chain to any remote chain, most likely used by {*AndBridgeVia*} methods on .

Whilst the performs actions on behalf of the user, some safety features exist to protect user funds. All assets are supplied on behalf of the user, rather than the contract, so users are able to withdraw assets, in the case of an emergency, by withdrawing directly on the Pool contract. This also means that Replete is unable to directly create a borrow position on your behalf or withdraw your assets.

When you borrow through , you sign a credit delegation signature bridgeDelegationData which allows the contract to create a borrow position from your collateral for the amount you allowed. These signatures are one time use and expire if unused. This also prevents replay attacks if the underlying cross chain messaging service is compromised. Read more about .

When you withdraw through , you sign a permit signature permitSignature which allows the contract to withdraw your assets for up to the amount you allowed. These signatures are one time use and expire if unused. This also prevents replay attacks if the underlying cross chain messaging service is compromised. Read more about .

RepletePool
IBridgeModule
RepletePool
BridgeReceiver
BridgeReceiver
RepletePool
BridgeReceiver
RepletePool
BridgeReceiver
Withdrawing Security
Borrowing Security