Xave Finance
Xave Finance Socials
  • Introduction
  • General FAQs
  • Guides
    • How to Connect Your Wallet
    • How to Supply Liquidity
      • How to Add Liquidity to FXPools
      • How to Remove Liquidity from Xave Liquidity Pools
    • How to Use Xave Strategies
      • How to Deposit to xSGD Thetanuts Strategy
      • How to Withdraw from xSGD Thetanuts Strategy
    • How to Swap
    • How to Lend
    • How to Borrow
    • How to Repay
    • How to Withdraw
    • How to Vote for Xave's Gauges in Balancer using veBAL
      • How to get B-80BAL-20WETH
      • How to Lock veBAL
      • How to Vote for a Liquidity Gauge for Xave's Pool
    • How to Earn BAL Rewards
      • How to Stake into a Liquidity Pool's Gauge
      • How to Unstake from a Liquidity Pool's Gauge
      • How to Claim BAL Rewards
    • How to Claim XSGD Rewards
    • How to Test PHPT:USDC on Sepolia Testnet
  • Product Overview
    • FXPools
      • Pool Operator FAQs
      • Invariant FAQs
    • Lending Market
    • Xave Strategies
      • Strategy # 1: Thetanuts
      • Strategy # 2: USDC Lending
  • Tokenomics
    • XAV
    • XAV Tokenomics
      • XAV MultiSigs
      • Claim Portal for Prior Community Supporters
    • Governance
  • Contract Addresses
  • TOKEN LAUNCH
    • XAV Launches and Exchange Listing
  • Future
    • Roadmap
    • FXMetaPool
  • Contract Audits
    • Overview
    • Price Oracles Final Audit
    • FXPool Final Audit
    • Lending Market
    • Standard Operating Procedure for Security
  • Liquidity Provider and Protocol Fees
    • Avalanche Pools
    • Ethereum Pools
    • Polygon (POS) Pools
  • List of supported Stablecoins
    • 🇸🇬XSGD
    • 🇺🇸USDC
    • 🇪🇺EUROC
    • 🇪🇺EURS
    • 🇬🇧GBPT
  • Socials
    • Twitter
    • Medium
    • Discord
    • Github
  • Branding Assets
    • Xave Finance Brand Assets
Powered by GitBook
On this page
  1. Future

FXMetaPool

Last updated 1 year ago

Preview Link

How to test:

⚠️ Please contact any of our team members so we can send test tokens to your addresses

Polygon Mainnet fork / Buildbear

⚠️ The RPC URL is updated regularly. Please always check for the updated RPC URL on this page when testing in Polygon Mainnet Fork.

🦊 Add this RPC your Metamask: RPC URL: Chain Id: 137 Explorer URL: Faucet URL: Use the faucet to send the tokens needed to your address. Refer to the token addresses below:

  USDC: '0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174',
  XSGD: '0xDC3326e71D45186F113a2F448984CA0e8D201995',
  DAI: '0x8f3Cf7ad23Cd3CaDbD9735AFf958023239c6A063',
  EURS: '0xE111178A87A3BFf0c8d18DECBa5798827539Ae99',
  USDT: '0xc2132D05D31c914a87C6611C10748AEb04B58e8F',
  'bb-a-usd': '0x48e6B98ef6329f8f0A30eBB8c7C960330d648085', // balancer ComposableStablePool
 

Once added, follow the steps listed below for Add Liquidity and Swap, but connect to the Polygon Mainnet Fork network you’ve just added.

💰 Add/Remove Liquidity

  1. Connect your wallet (Metamask) to Polygon Mainnet fork / Buildbear

  2. Go to the /pool page

  3. You should be able to see the following pools

  4. Click on the "Manage" button.

  5. To add liquidity click the "Add Liquidity" tab.

  6. To remove liquidity, click the "Remove Liquidity" tab

💱 Swap

  1. Connect your wallet (Metamask) to Polygon Mainnet fork / Buildbear

  2. Go to the /pool page

  3. Make sure “AmmV2” is selected

  4. Try to swap any of the available tokens

Contract Addresses used in Polygon Mainnet Fork
// Contract Addresses Used:

oracles: {
     USDC: '0xfE4A8cc5b5B2366C1B58Bea3858e81843581b2F7',
     EURS: '0x73366Fe0AA0Ded304479862808e02506FE556a98',
     XSGD: '0x8CE3cAc0E6635ce04783709ca3CC4F5fc5304299',
     DAI: '0x4746DeC9e833A82EC7C2C1356372CcF2cfcD2F3D',
     USDT: '0x0A6513e40db6EB1b165753AD52E80663aeA50545',
     'bb-a-usd': '0x7111a302b929d14a323b489f234ef912903bf374'
   },

const tokens = {
 USDC: '0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174',
 XSGD: '0xDC3326e71D45186F113a2F448984CA0e8D201995',
 DAI: '0x8f3Cf7ad23Cd3CaDbD9735AFf958023239c6A063',
 EURS: '0xE111178A87A3BFf0c8d18DECBa5798827539Ae99',
 USDT: '0xc2132D05D31c914a87C6611C10748AEb04B58e8F',
 'bb-a-usd': '0x48e6B98ef6329f8f0A30eBB8c7C960330d648085', // balancer ComposableStablePool
 'bb-a-USDC': '0xF93579002DBE8046c43FEfE86ec78b1112247BB8', // balancer USDC:aUSDC AaveLinearPool
 'bb-a-DAI': '0x178E029173417b1F9C8bC16DCeC6f697bC323746', // balancer DAI:aDAI AaveLinearPool
 'bb-a-USDT': '0xFf4ce5AAAb5a627bf82f4A571AB1cE94Aa365eA6' // balancer USDT:aUSDT AaveLinearPool
}

const fxPools = {
 'LP_XSGD_bb-a-usd': '0x2c7223699099ca6785a9da783ededfca5218bd27',
 'LP_EURS_bb-a-usd': '0x70bbCeB61B5dD6645aABa80693B0078aee18E2e9'
}

const poolIds = {
 'XSGD_bb-a-usd':
   '0x2c7223699099ca6785a9da783ededfca5218bd27000200000000000000000b0d',
 'EURS_bb-a-usd':
   '0x70bbceb61b5dd6645aaba80693b0078aee18e2e9000200000000000000000b0e',
 'bb-a-usd':
   '0x48e6b98ef6329f8f0a30ebb8c7c960330d64808500000000000000000000075b',
 'bb-a-USDC':
   '0xf93579002dbe8046c43fefe86ec78b1112247bb8000000000000000000000759',
 'bb-a-DAI':
   '0x178e029173417b1f9c8bc16dcec6f697bc323746000000000000000000000758',
 'bb-a-USDT':
   '0xff4ce5aaab5a627bf82f4a571ab1ce94aa365ea600000000000000000000075a'
}

Coming Soon - Sepolia Deployment

🚧
🔗
https://dev-app-xave--pr163-balancer-demo-3-r6vnwazl.web.app/#/pool
https://rpc.buildbear.io/olympic-kit-fisto-40004d73
https://explorer.buildbear.io/xclabs/transactions
https://explorer.buildbear.io/olympic-kit-fisto-40004d73/transactions