Search…
⌃K
🌉

# Bridge Stablecoins to Local Vault Chains

PONY Index holds auto-compounding stablecoin vaults from multiple chains. The allocation in rounded percentage terms as of the last rebalancing is shown in the Composition section or updated on the Scalara page (Data tab).
An exact list of the ERC20 tokens held by $PONY and how many units of each are necessary to mint one unit of$PONY can be read directly from the contract. Querying the tokens function with 0-indexed integers returns the list of constituent token addresses, the weights function returns the corresponding weightfactors and ibRatio returns a scaling factor.
Minting one unit of PONY requires weights[i] * ibRatio * 1e-18 units of token i.
The ibRatio adjusts the token balance for streaming fees deducted through time.
Current vault prices can be estimated by their net asset value (NAV). Beefy publishes the NAVs of their vaults through their mootoken API.
More accurate and up-to-date PONY allocations can then be calculated with:
${allocation[i]} = {weights[i]*NAV[i] \over \sum_j{weights[j]*NAV[j]}}$
To start the minting process the user has to move assets to these chains to deposit into the respective yield farming vaults.
For simplicity (least amount of transactions) this guide assumes the user starts with USDC on Ethereum Mainnet. Where possible this guide will then suggest to deposit USDC into vaults or pools. At times, there may be cheaper options depending on pool balances and slippage (e.g. one of the stablecoins may be low in balance in a Curve pool and hence there could be a small "bonus" for depositing it).
Of the total dollar amount to be minted, bridge from Ethereum to the respective native chains of the vaults the share based on the allocations determined above. As of August 20, for example
Keep in mind that there are bridging fees (0.1%, minimum ~$80, maximum ~$1000), USDC price volatility, rounding, vault deposit fees, slippage and pool imbalances. Therefore these calculations may be slightly off (i.e. leave some dust when eventually minting PONY).
Make sure that you have a small amount of the native tokens needed for gas on the respective chains.
• ETH on Optimism (e.g. bridge to Optimism, 0.01 ETH should be more than enough for all Optimism related transactions)
• MATIC on Polygon (0.1 MATIC are airdropped when using the official Polygon bridge that should cover all Polygon related transactions)
• AVAX on Avalanche (0.1 AVAX is airdropped when bridging more than \$75 on the official Avalanche bridge that should cover all Avalanche related transactions)
At the end of this step, if you had started with USDC 10,000 on Ethereum Mainnet, you should have approximately USDC 5,140 on Optimism, USDC 3,550 on Polygon and USDC 1,310 on Avalanche as well as some gas tokens.