Using Piles & pileTokens

Positions on the Takepile Protocol are opened with pileTokens, so you'll need to pick some up before you can start trading. The first set of piles at launch will utilize USDB, but these instructions will work with any asset available for deposit on Takepile (USDB, USDC etc.). Say you'd like to trade with up to 25x leverage. First, you'll need leveraged pileTokens. We'll run through an example with depositing wrapped FTM (wFTM).

To get pileFTM-25, you'll deposit wFTM into the wFTM-25x Pile. You'll receive pileFTM-25 in return. A pileToken is minted upon deposit, which means the size of a pile grows as more traders add or interact with a pile.

Example: The USDC Pile has 100 pileUSDC in total. You deposit 10 USDC into the pile. 10 pileUSDC is then minted and added to your wallet, and the USDC Pile has grown to a total of 110 pileUSDC.

Your newly minted pileFTM-25 can then be used to open up a position, which we'll explain further on the next page. First, we'll go into more detail about pileTokens. Along with being minted on the deposit of the pile's underlying asset, pileTokens are also minted upon a successful trade.

Example: Say that the USDC Pile has a total balance of 1000 pileUSDC, and you have a balance of 100 pileUSDC, owning 10% of the pile. You use 100 pileUSDC to short BTC. You decide to close your position with a 20% gain, bringing your total position size to 119.76012 pileUSDC, subtracting for opening and closing fees. 19.76012 pileUSDC is then minted into your wallet and the total balance in the USDC pile is 1019.76012. After the trade, you would then own 11.74% of all pileUSDC rather than 10%.

The opposite would also be true in a losing trade. If a position closes with a 20% loss, 20% of the total position's collateral would be burned and reflected in the pile.

While the conversion rate of assets may differ from time to time, what is true on Takepile is that if you own 10% of a pileToken's supply, you would be able to redeem 10% of a pile's underlying asset. If you were to deposit 100 USDB into the USDB pile while it has a supply of 1000 pileUSDB, bringing the total up to 1100 pileUSDB in circulation, but other traders have losing positions that bring the total number of pileUSDB in circulation down to 900, your pileUSDB would then be worth more USDB than it was originally.

To learn more technical information regarding piles, head here:

Piles

Last updated