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
Functions
breakdowns

X7 Profit Share Splitter Functions Breakdown

Contains the contract functions only with a link to the full function in the contract code

Interface

  • interface IWETH
  • interface IERC20
  • interface IX7ProfitShareSplitterV1

Contract events

  • event TokenReceiverSet(address indexed oldReceiver, address indexed newReceiver)
  • event OutletControllerAuthorizationSet(indexed outlet, address indexed setter, address indexed controller, bool authorization)
  • event OutletRecipientSet(indexed outlet, address indexed oldRecipient, address indexed newRecipient)
  • event OutletSharesSet( indexed outlet, uint256 oldShares, uint256 newShares)
  • event OutletFrozen(address indexed outletRecipient)
  • event NewRecipientAdded(indexed outlet, address indexed recipient, address indexed controller, uint256 shares)
  • event TotalSharesChanged(uint256 oldShareCount, uint256 newShareCount)

External Functions

  • receive () external payable {}
  • function setTokenReceiver(address receiver) external onlyOwner

On this page

  1. Interface

  2. Contract events

  3. External Functions

  4. Internal Functions

  5. Read-Only Functions

  • function addNewRecipient(address newRecipient, address controller, uint256 shares) external onlyOwner
  • function setOutletShares(uint256 outlet, uint256 newShares) external onlyOwner
  • function setOutletControllerAuthorization(address _outletControllerAuthorization) external
  • function setOutletRecipient(address _outletRecipient) external
  • function freezeOutlet() external
  • function takeBalance(uint256 _balance) external
  • function takeCurrentBalance() external
  • function pushAll() public
  • function rescueWETH(address to, uint256 value) public
  • function rescueTokens(address to, address token, uint256 value) external
  • Internal Functions

    • function _sendBalance(address _to, uint256 _amount) internal

    Read-Only Functions

    • function divvyUp(uint256 _totalAmount) public view returns (uint256, uint256, uint256)
    Previous
    ← X7 Lending Discount Authority
    Next
    X7R Discount Authority →

    -

    • 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