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
    • X7R Token Contract
    • X7DAO Token Contract
    • X7100 Token Contract
    • X7D
    • X7DAO Discount Authority
    • X7DAO Liquidity Hub
    • X7 Ecosystem Splitter
    • X7 Liquidity Loan Terms
    • X7 Lending Pool
    • X7 Lending Pool Reserve
    • X7 Lending Discount Authority
    • X7 Liquidity Treasury
    • X7 Profit Share Splitter
    • X7R Discount Authority
    • X7R Liquidity Hub
    • X7 Token Burner
    • X7 Token Timelock
    • X7 Treasury Splitter V3
    • X7100 Discount Authority
    • X7100 Liquidity Hub
    • X7 Borrowing Maxi NFT
    • X7 Dex Maxi NFT
    • X7 Ecosystem Maxi NFT
    • X7 Liquidity Maxi NFT
    • X7 Pioneer NFT
    • X7 Magister NFT
    • Xchange Factory
    • Xchange Pair
    • X7R Token Contract
    • X7DAO Token Contract
    • X7100 Token Contract
    • X7D
    • X7DAO Discount Authority
    • X7DAO Liquidity Hub
    • X7 Ecosystem Splitter
    • X7 Liquidity Loan Terms
    • X7 Lending Pool
    • X7 Lending Pool Reserve
    • X7 Lending Discount Authority
    • X7 Profit Share Splitter
    • X7R Discount Authority
    • X7R Liquidity Hub
    • X7 Token Burner
    • X7 Token Timelock
    • X7 Treasury Splitter V3
    • X7100 Discount Authority
    • X7100 Liquidity Hub
    • X7 Borrowing Maxi
    • X7 Dex Maxi
    • X7 Ecosystem Maxi
    • X7 Liquidity Maxi NFT
    • X7 Pioneer NFT
    • X7 Magister NFT
    • Xchange Factory
    • Xchange Pair
    • X7R Token Contract
    • X7DAO Token Contract
    • X7100 Token Contract
    • X7D
    • X7DAO Discount Authority
    • X7DAO Liquidity Hub
    • X7 Ecosystem Splitter
    • X7 Liquidity Loan Terms
    • X7 Lending Pool
    • X7 Lending Pool Reserve
    • X7 Lending Discount Authority
    • X7 Profit Share Splitter
    • X7R Discount Authority
    • X7R Liquidity Hub
    • X7 Token Burner
    • X7 Token Timelock
    • X7 Treasury Splitter V3
    • X7100 Discount Authority
    • X7100 Liquidity Hub
    • X7 Borrowing Maxi
    • X7 Dex Maxi
    • X7 Ecosystem Maxi
    • X7 Liquidity Maxi NFT
    • X7 Pioneer NFT
    • X7 Magister NFT
    • Xchange Factory
    • Xchange Pair
Smart Contract Variables
breakdowns

X7 Lending Pool

Smart Contract Function Variables

EcosystemRecipientSet

Parameter NameParameter TypeDescription
oldAddressaddressThe old ecosystem recipient address.
newAddressaddressThe new ecosystem recipient address.

RouterSet

Parameter NameParameter TypeDescription
oldAddressaddressThe old router address.
newAddressaddressThe new router address.

WETHSet

Parameter NameParameter TypeDescription
oldAddressaddressThe old WETH address.
newAddressaddressThe new WETH address.

X7DSet

Parameter NameParameter TypeDescription
oldAddressaddressThe old X7D contract address.
newAddressaddressThe new X7D contract address.

LoanTermActiveStateSet

Parameter NameParameter TypeDescription
newAddressaddressThe address of the loan term contract for which the state changed.
isActiveboolThe new active state of the loan term contract.

LiquidationRewardSet

Parameter NameParameter TypeDescription

On this page

  1. Smart Contract Function Variables

    1. EcosystemRecipientSet
    2. RouterSet
    3. WETHSet
    4. X7DSet
    5. LoanTermActiveStateSet
    6. LiquidationRewardSet
    7. OriginationSharesSet
    8. PremiumSharesSet
    9. EcosystemSplitterSet
    10. X7100ReserveRecipientSet
    11. X7DAORewardRecipientSet
    12. DiscountAuthoritySet
    13. RetainedFeeNumeratorSet
    14. LendingPoolReserveSet
    15. EcosystemFeeNumeratorSet
    16. X7DAOFeeNumeratorSet
    17. X7100FeeNumerator
    18. OriginationFeeSet
    19. PremiumFeeSet
    20. OriginationPaymentMade
    21. PremiumPaymentMade
    22. DiscountedQuoteCalculated
    23. LoanLiquidated
    24. LoanBoughtOut
oldRewarduint256The old liquidation reward amount.
newRewarduint256The new liquidation reward amount.

OriginationSharesSet

Parameter NameParameter TypeDescription
oldEcosystemSplitterOriginationShareuint256The old percentage share of origination fees for the ecosystem splitter.
oldX7DAOOriginationShareuint256The old percentage share of origination fees for X7DAO.
oldX7100OriginationShareuint256The old percentage share of origination fees for X7100.
oldLendingPoolOriginationShareuint256The old percentage share of origination fees for the lending pool.
newEcosystemSplitterOriginationShareuint256The new percentage share of origination fees for the ecosystem splitter.
newX7DAOOriginationShareuint256The new percentage share of origination fees for X7DAO.
newX7100OriginationShareuint256The new percentage share of origination fees for X7100.
newLendingPoolOriginationShareuint256The new percentage share of origination fees for the lending pool.

PremiumSharesSet

Parameter NameParameter TypeDescription
oldEcosystemSplitterPremiumShareuint256The old percentage share of premium fees for the ecosystem splitter.
oldX7DAOPremiumShareuint256The old percentage share of premium fees for X7DAO.
oldX7100PremiumShareuint256The old percentage share of premium fees for X7100.
oldLendingPoolPremiumShareuint256The old percentage share of premium fees for the lending pool.
newEcosystemSplitterPremiumShareuint256The new percentage share of premium fees for the ecosystem splitter.
newX7DAOPremiumShareuint256The new percentage share of premium fees for X7DAO.
newX7100PremiumShareuint256The new percentage share of premium fees for X7100.
newLendingPoolPremiumShareuint256The new percentage share of premium fees for the lending pool.

EcosystemSplitterSet

Parameter NameParameter TypeDescription
oldAddressaddressThe old ecosystem splitter address.
newAddressaddressThe new ecosystem splitter address.

X7100ReserveRecipientSet

Parameter NameParameter TypeDescription
oldAddressaddressThe old X7100 reserve recipient address.
newAddressaddressThe new X7100 reserve recipient address.

X7DAORewardRecipientSet

Parameter NameParameter TypeDescription
oldAddressaddressThe old X7DAO reward recipient address.
newAddressaddressThe new X7DAO reward recipient address.

DiscountAuthoritySet

Parameter NameParameter TypeDescription
oldAddressaddressThe old discount authority contract address.
newAddressaddressThe new discount authority contract address.

RetainedFeeNumeratorSet

Parameter NameParameter TypeDescription
oldValueuint256The old retained fee numerator value.
newValueuint256The new retained fee numerator value.

LendingPoolReserveSet

Parameter NameParameter TypeDescription
oldAddressaddressThe old lending pool reserve contract address.
newAddressaddressThe new lending pool reserve contract address.

EcosystemFeeNumeratorSet

Parameter NameParameter TypeDescription
oldValueuint256The old ecosystem fee numerator value.
newValueuint256The new ecosystem fee numerator value.

X7DAOFeeNumeratorSet

Parameter NameParameter TypeDescription
oldValueuint256The old X7DAO fee numerator value.
newValueuint256The new X7DAO fee numerator value.

X7100FeeNumerator

Set

Parameter NameParameter TypeDescription
oldValueuint256The old X7100 fee numerator value.
newValueuint256The new X7100 fee numerator value.

OriginationFeeSet

Parameter NameParameter TypeDescription
oldValueuint256The old origination fee amount.
newValueuint256The new origination fee amount.

PremiumFeeSet

Parameter NameParameter TypeDescription
oldValueuint256The old premium fee amount.
newValueuint256The new premium fee amount.

OriginationPaymentMade

Parameter NameParameter TypeDescription
loanIduint256The ID of the loan for which payment was made.
paymentAmountuint256The amount of the origination payment made.

PremiumPaymentMade

Parameter NameParameter TypeDescription
loanIduint256The ID of the loan for which payment was made.
paymentAmountuint256The amount of the premium payment made.

DiscountedQuoteCalculated

Parameter NameParameter TypeDescription
loanIduint256The ID of the loan for which the quote was calculated.
quoteAmountuint256The amount of the discounted quote calculated for the loan.

LoanLiquidated

Parameter NameParameter TypeDescription
loanIduint256The ID of the loan that was successfully liquidated.

LoanBoughtOut

Parameter NameParameter TypeDescription
loanIduint256The ID of the loan that was successfully bought out.
Previous
← X7 Liquidity Loan Terms
Next
X7 Lending Pool Reserve →

-

  • 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