EcosystemNFTsDocs

Footer

Xchange

  • Swap
  • Liquidity
  • Loans
  • Fund
  • Vote

Tokens

  • X7R
  • X7DAO
  • X7D
  • X7101-X7105

Explore

  • Dashboard
  • Guides
  • Integration
  • Whitepaper
  • Breakdowns
  • Onchains
  • FAQs

Community

  • Telegram
  • Twitter
  • Discord
  • Warpcast
  • Blog
  • Links

Permissionless Trustless Decentralized Exchange

Launch your project on Xchange with 10-1000x the initial liquidity across multiple blockchains where anyone can Swap, Borrow and Lend!

X7 Finance·Trust No One. Trust Code. Long Live DeFi.
  • Telegram
  • Twitter
  • Discordś
  • Warpcast
  • YouTube
  • Reddit
  • GitHub
  • Pioneer 1488 avatar
    Guides
    View
  • Pioneer 1488 avatar
    Integration
    View
  • Pioneer 1488 avatar
    Whitepaper
    View
  • Pioneer 1488 avatar
    Breakdowns
    View
  • Pioneer 1488 avatar
    Onchains
    View
  • Pioneer 1488 avatar
    FAQ
    View
    • May-18-2024-080623-AM
    • April-15-2024-070347-AM
    • April-07-2024-013611-PM
    • March-25-2024-045347-PM
    • March-20-2024-020435-AM
    • March-10-2024-050447-AM
    • February-27-2024-111935-PM
    • February-23-2024-085159-PM
    • February-23-2024-083311-PM
    • February-23-2024-074011-PM
    • February-13-2024-0149593-AM
    • February-04-2024-031823-PM
    • January-25-2024-025835-AM
    • January-21-2024-055723-AM
    • January-14-2024-110859-PM
    • December-26-2023-090211-PM
    • December-05-2023-104859-PM
    • November-12-2023-033035-PM
    • November-03-2023-120747-AM
    • October-03-2023-052223-PM
    • September-15-2023-044847-AM
    • September-11-2023-100047-AM
    • September-08-2023-022611-AM
    • September-07-2023-125311-AM
    • September-06-2023-043559-PM
    • September-02-2023-034947-AM
    • August-31-2023-020635-PM
    • August-28-2023-103547-PM
    • August-26-2023-083147-PM
    • August-19-2023-100235-PM
    • August-13-2023-103311-PM
    • August-06-2023-123823-AM
    • August-01-2023-041247-AM
    • July-27-2023-020811-AM
    • July-25-2023-085411-AM
    • July-18-2023-102623-AM
    • July-11-2023-072359-AM
    • July-04-2023-074259-AM
    • June-27-2023-072459-AM
    • June-20-2023-092011-AM
    • June-13-2023-061835-AM
    • June-11-2023-052123-AM
    • June-06-2023-035847-AM
    • June-03-2023-015859-PM
    • June-03-2023-053759-AM
    • June-03-2023-081923-AM
    • June-03-2023-025411-AM
    • May-31-2023-035947-AM
    • May-30-2023-040547-AM
    • May-27-2023-033723-AM
    • May-25-2023-100159-PM
    • May-23-2023-030459-AM
    • May-17-2023-023435-AM
    • May-16-2023-065259-AM
    • May-09-2023-064923-AM
    • May-02-2023-054111-AM
    • Apr-25-2023-042347-AM
    • Apr-21-2023-073111-PM
    • Mar-29-2023-072323-PM
    • Mar-21-2023-052747-PM
    • Mar-02-2023-093223-PM
    • Feb-10-2023-094459-PM
    • Feb-10-2023-013535-AM
    • Feb-09-2023-104147-PM
    • Feb-06-2023-100135-PM
    • Feb-03-2023-064611-PM
    • Feb-02-2023-112347-PM
    • Feb-02-2023-100135-PM
    • Feb-01-2023-073047-AM
    • Feb-01-2023-035835-PM
    • Jan-31-2023-063823-PM
    • Jan-29-2023-092159-PM
    • Jan-27-2023-073311-PM
    • Jan-26-2023-085811-PM
    • Jan-24-2023-112311-PM
    • Jan-19-2023-085835-PM
    • Jan-16-2023-012223-PM
    • Jan-10-2023-055123-AM
    • Jan-03-2023-053423-AM
    • Jan-02-2023-105811-PM
    • Dec-30-2022-115323-PM
    • Dec-16-2022-123223-AM
    • Dec-14-2022-065059-PM
    • Dec-06-2022-081159-AM
    • Dec-02-2022-034459-AM
    • Nov-11-2022-011811-AM
    • Nov-10-2022-033259-AM
    • Nov-09-2022-071947-PM
    • Nov-08-2022-100935-PM
    • Nov-08-2022-012623-AM
    • Oct-31-2022-064923-AM
    • Oct-22-2022-061011-AM
    • Oct-16-2022-055223-PM
    • Oct-14-2022-061747-PM
    • Oct-13-2022-075135-AM
    • Oct-07-2022-100759-PM
    • Oct-06-2022-084123-AM
    • Oct-03-2022-072111-AM
    • Oct-01-2022-070111-AM
    • Sep-29-2022-125135-PM
    • Sep-28-2022-090211-AM
    • Sep-28-2022-050511-AM
    • Sep-28-2022-020547-AM
    • Sep-27-2022-021523-PM
    • Sep-27-2022-035535-AM
    • Sep-26-2022-092347-PM
    • Sep-26-2022-044647-PM
    • Sep-26-2022-033035-AM
    • Sep-26-2022-023011-AM
    • Sep-25-2022-035347-AM
    • Sep-24-2022-093123-PM
    • Sep-24-2022-103711-AM
    • Sep-24-2022-023335-AM
    • Sep-22-2022-090935-PM
    • Sep-19-2022-080259-AM
    • Sep-13-2022-105207-AM
    • Sep-12-2022-095341-AM
    • Sep-07-2022-082157-AM
    • Sep-04-2022-083900-AM
    • Sep-01-2022-051839-AM
    • Aug-31-2022-092227-PM
    • Aug-31-2022-055456-AM
    • Aug-30-2022-032405-AM
    • Aug-29-2022-044830-PM
    • Aug-29-2022-114635-AM
    • Aug-28-2022-020448-AM
    • Aug-26-2022-091751-PM
    • Aug-25-2022-104049-PM
    • Aug-25-2022-045900-AM
    • Aug-24-2022-043226-AM
    • Aug-24-2022-030749-AM
    • Aug-23-2022-062730-PM
    • Aug-22-2022-092218-AM
    • Aug-21-2022-072625-AM
    • Aug-19-2022-073411-PM
March 2024
on-chains

march-20-2024 02:04:35 am utc

https://etherscan.io/tx/0x372a2b940b62629fb2ec4499121440f08573fe5e719346be21a26b20d242a500

gm or gn,

As you may recall, there is a bug in the lending pool that prevents funds from being returned back to the lending pool reserve. This would prevent an upgrade to the lending pool or usage of some of those funds for alternative lending pool implementations (such as to support Uniswap pairs).

We will be doing maintenance to extract the funds from the X7LendingPoolV1 and returning that ETH to the X7LendingPoolReserve.

This will be accomplished by:

  1. Deactivating all lending terms contracts.
  2. Setting the liquidation reward to 0.
  3. Deploying a modified loan term contract that allows for the repayment amount to be set to 0 and a loan limit that includes the entire pool.
  4. Deploying a token contract (which will only allow the deployer to transact so that no market activity can take place).
  5. Originating a loan for the entirety of the lending pool.
  6. Setting the repayment amount to 0.
  7. "paying" the liability, effectively ending the loan.
  8. Removing the liquidity from the pair (which is permitted because the lending pool has registered that the loan was repaid).
  9. using returnETH on the LendingPoolReserve contract to return the ETH without minting any additional X7D.

After this is done we can deploy a fixed lending pool contract.

Hopefully this also highlights the sensitivity of some of the protocol functions that would allow an authorized address to call these functions.

This is appropriate for a nascent protocol for exactly the reasons which should be clear (being able to not have 63 ETH stuck forever on a V1 contract).

But calling of these kinds of functions must be guarded heavily, especially as TVL grows.

Previous
← March-25-2024-045347-PM
Next
March-10-2024-050447-AM →

-

  • Pioneer 1488 avatar
    Guides
    View
  • Pioneer 1488 avatar
    Integration
    View
  • Pioneer 1488 avatar
    Whitepaper
    View
  • Pioneer 1488 avatar
    Breakdowns
    View
  • Pioneer 1488 avatar
    Onchains
    View
  • Pioneer 1488 avatar
    FAQ
    View