# Introduction

Native @Scroll\_ZKP Perp DEX. Leverage trading & prediction markets on crypto, forex, commodities, & RWA.

### **Perpetual**

Rollie Finance is the first one-swipe AI trading perpetual exchange on Scroll, backed by disclosed investors such as Animoca Ventures, M77 Ventures, Sandy Peng, Co-Founder of Scroll, Alex Lee, Founder of Wombat Exchange, and Kate Wong, COO of RSS3.

Rollie Finance stands out from the many decentralized perpetual exchanges through its innovative AI-powered one-swipe-trading design, in which trades can be placed by simply swiping left or right on mobile to reflect users’ interests and trading appetites. Inside the simple one-swipe-trading interface, numerous trading algorithms, years of trading experience, real-time on-chain data, AI analysis, and more are simultaneously implemented in the background to ensure the trade is both simple and sophisticated.&#x20;

#### In a nutshell:

1. Non-custodial - no deposit and no signup; users control their funds;
2. Top-level on-chain security - built on Scroll zkEVM;
3. Fair - real-time median spot prices by Pyth decentralized oracle network;
4. Crypto, forex, commodities & RWA (coming soon);
5. HAM mode - 1000x leverage (coming soon);
6. Capital efficiency - lowest gas fees (thanks to ZK-infra), competitive trading fees, single USDC vault for all trading pairs (no order book segregated liquidity);
7. Simple user experience - built by traders for traders;
8. Fully transparent & decentralized - 100% on-chain execution.

### Social Trading

For traders, Rollie Finance covers crypto, forex, commodities & RWA on up to 1000x in our HAM mode (coming soon). Our goal is to form a fully transparent, simple, and symbiotic ecosystem where professional traders can earn trading fees and profits through our simple copy trading interface (coming soon), which will also allow beginner traders to quickly maximize their profit through copy trading their favorite professional trader(s).&#x20;

### $RLP

For liquidity providers, you can earn trading fees by providing $USDC into our Vault and receive $RLP, a liquidity token representing a share of the ownership of the underlying $USDC assets. The vault will act as a counterparty pool on Rollie FInance, making a profit when leverage traders lose and vice versa.

### Prediction Markets

The Rollie team believes trading should be interactive, social, and straightforward. Our prediction markets (coming soon) offer a simple and gamified trading experience with no risk of liquidation, access to small-cap tokens, and a hedge against volatile markets.

### $RF

Our governance and utility token, $ROLI (ERC20), enhances the functionalities of our protocol. As an RF token holder, you can influence and shape our platform's future development and receive some platform fees through staking in our \[Stake]. More exciting profit-generating features will be rolling out soon with $ROLI. Stay tuned!

Join the vibrant Rollie community today and unlock the endless possibilities of decentralized social trading. Enjoy the user-friendly interface, high security, and cost-efficient features that Rollie Finance offers. Experience the future of trading with us!


# Tokenomics

## Fee Distribution

Fee distribution is transparent for Rollie.

* 60% to $RLP holders
* 30% to $ROLI stakers
* 10% to Rollie Treasury

Staking $ROLI will entitle the holder to 30% of the protocol fee distribution, on top of possible $esROLI emissions (rate to be determined periodically).

## What is $esROLI?

Rollie also introduces Escrowed $ROLI ($esROLI), a tokenized form of $ROLI locked in our smart contract. Users who provide liquidity to the platform via Rollie's "Stake" page and stake their $ROLI earn $ esROLI as an additional reward. This incentive makes the platform more attractive to traders and increases trading volume.

This unique $esROLI token is earned by staking $ROLI in our smart contract; users can continue to earn trading fee rewards while their tokens are staked. In turn, $esRF can be staked and earn more $esROLI. This makes $esRF a versatile and valuable asset, providing users with additional options for earning passive income while contributing to the platform's liquidity.

Finally, the protocol fees are paid in USDT, a stablecoin on the Scroll network, the next-generation zkEVM Layer 2 scaling solution. This ensures that the platform fees are stable and predictable and provides a seamless trading experience for users.

In summary, $esROLI is a unique and valuable token that incentivizes liquidity provision and represents an interest in the staked $ROLI tokens. Stablecoin payments further increase its utility and value. This makes it an essential part of Rollie's ecosystem and supports its overall goal. More utilities will be added to $ROLI and $esROLI as Rollie grows!

## Token Distribution

| Description       | Percentage |
| ----------------- | ---------- |
| Team and Advisors | 20%        |
| IDO on Scroll     | 2%         |
| Treasury          | 35%        |
| Liquidity Mining  | 40%        |
| Marketing         | 3%         |
| **Total**         | **100%**   |


# Roadmap

## 2023

Q4

* [ ] Team Formation
* [ ] Testnet Ready
* [ ] Scroll Mainnet Launch Partner
* [ ] Security Audit
* [ ] Scroll IDO
* [ ] Launching with 10+ assets
* [ ] Copy trading launched
* [ ] Increasing and decreasing leverage within holding a position

## 2024

Q1

* [ ] Trading Competitions
* [ ] Launching of RWA
* [ ] Launching more assets
* [ ] Launch of "HAM Mode" with even higher leverage

Q2

* [ ] Prediction Market released


# Beginners Guide

To start trading on Rollie, you will need:

1. A Web3 Wallet with Scroll network added; &
2. Some ETH on Scroll Mainnet in your Web3 Wallet as gas fee.


# Connecting Your Wallet

To start using the Rollie on Scroll, you must set up a Web3 wallet. Metamask is one of the best wallet providers available, as it is compatible with any EVM-based blockchain, including Scroll. Here's how to set up Metamask and connect it to Rollie:

### **Metamask Installation:**

1\. Choose your preferred browser. Metamask supports Chrome, Firefox, Brave, Edge, and Opera. You can select your preferred browser and install the extension.

2\. Visit the Metamask website at <https://metamask.io/> and click the "Download" button, which will take you to the extension download page.

3\. Follow the prompts to import an existing wallet or create a new one.

### **Metamask Setup for Scroll:**

*Easy Way*

1a. Head to <https://chainlist.org/chain/534352>, connect your wallet, and click "Add to MetaMask" Done!

or&#x20;

*Harder Way*

1b. Click the Metamask icon in your browser's upper right "extensions" icon. If you've installed Metamask but don't see the icon, try reloading the page.

2\. Click on the three dots on the upper right, choose "Setting" then the "Networks" tab, and select "Add Network" from the drop-down.

3\. Click "Add a Network Manually," and add the following information:

* Network Name: Scroll Network
* RPC URL: <https://rpc.scroll.io>
* Chain ID: 534352
* Currency symbol: ETH
* Block Explorer URL: <https://blockscout.scroll.io>

4\. Click "Save." You're now all set to use MetaMask on Scroll network!

### **Connecting Your Metamask Wallet to Rollie:**

1\. Visit <https://rollie.finance>.

2\. Click the "Connect Wallet" button in the top right corner.

3\. A MetaMask pop-up window will appear, requesting approval for the connection. Approve and confirm the access to complete the process.

4\. Congratulations! You're now connected to Rollie and ready to start trading!

MetaMask is the only available wallet option for connecting to Rollie Finance on Scroll. However, the platform is constantly working to introduce more wallet options in the future. Stay tuned for updates!<br>


# Get ETH on Scroll

## Bridge ETH from ETH Mainnet - Official Bridge

To bridge ETH from ETH Mainnet to Scroll Mainnet, you can use the official Scroll bridge here:

1. Make sure you have some ETH in your Wallet on Mainnet to bridge some over. If you don't you can click "Buy" on your MetaMask wallet on ETH network. MetaMask will display the best quotes based on your region, preferred payment method, the specific token you want to purchase, and the available providers. Follow the instructions provided by your chosen provider to finalize your cryptocurrency purchase. This may involve providing your wallet address and payment details.
2. Go to <https://scroll.io/bridge> and connect the Wallet you have set up previously by clicking "Connect Wallet" on the upper right corner, and follow the instructions to bridge your ETH over to Scroll Mainnet.

## Bridge Stablecoins Using Stargate (coming soon)

LayerZero, one of the first partners, enables cross-chain swaps with the ability to send over some gas tokens, seamlessly allowing the users to transfer from all supported LayerZero chains they have assets on to Scroll.

Bridge from Ethereum Mainnet, BNB, Avalanche, Polygon, Arbitrum, Optimism, Fantom, Metis, zkEVM, zkSync, Base, Linea, and Kava.

Bridging is simple:

1. Go to the link below, and connect and approve your Wallet
2. Choose the network you want to bridge `FROM`
3. Choose the Scroll as the network you want to bridge `TO` and select USDC
4. In settings, on the upper right of the trading modal, choose some destination gas to make your life easier.
5. Choose the amount you want to transfer.
6. Transfer.
7. You are ready to start trading on Rollie!

{% embed url="<https://stargate.finance/transfer>" %}
Stargate Finance bridge to Scroll
{% endembed %}

## On-Ramping with MetaMask (coming soon)

MetaMask provides a user-friendly platform for purchasing cryptocurrency. Follow these steps to get started:

Step 1: Install MetaMask Visit the official MetaMask website (<https://metamask.io/>) and download the browser extension or mobile app compatible with your device. Install it following the provided instructions. (This may only work on networks supported; Ethereum Mainnet has guaranteed support.)

Step 2: Create a new wallet or import an existing one using your seed phrase. Create a strong password to secure your wallet and ensure you note down your seed phrase in a safe place.

Step 3: Connect Wallet to begin the buying process; this allows you to explore the available options.

Step 4: Access the "Buy" Button Within the MetaMask browser extension or mobile app, locate the "Buy" button and click on it. This button initiates the process of buying cryptocurrency.

Step 5: MetaMask will display the best quotes based on your region, preferred payment method, the specific token you want to purchase, and the available providers.&#x20;

Step 6: Follow the instructions provided by your chosen provider to finalize your cryptocurrency purchase. This may involve providing your wallet address and payment details.

Step 7: After completing the payment, you will have funds in your wallet! Follow the instructions above to bridge your ETH to Scroll.


# ROLLs

ROLLs are vapourware gaming credits of Rollie Finance. With ROLLs, you can win Airdrop Points from playing Toilet Paper Game [here](https://app.rollie.finance/airdrop-mission/game)

{% hint style="warning" %}
Remember to play the game with all your ROLLs or your ROLLs will become useless upon close of Airdrop Points accumulation period.
{% endhint %}


# How to get ROLLs?

Before starting to earn ROLLs, you need to complete the tasks [here](https://app.rollie.finance/airdrop-mission/game)

1. Link your wallet
2. Follow @rolliefinance on [X](https://x.com/rolliefinance)
3. Connect & Join Rollie Finance [Discord](https://discord.gg/xyGrP54aNR)
4. Enter the invite code (get the invite code in [invite-code](https://discord.gg/kqym9ywp7m) channel in Discord )

{% hint style="warning" %}
The social account unbinding (X, Discord) is unavailable now. Please make sure you connect to the right account.
{% endhint %}

After finishing social tasks, you can start earning ROLLs by completing daily missions [here](https://app.rollie.finance/airdrop-mission/dashboard)

Daily Missions

* Check-in - Daily check-in
* Tweet - Daily tweet about Rollie Finance
* Referral - Refer your friend to win more ROLLs, full explanation [here](https://docs.rollie.finance/getting-started/referral-system)&#x20;

{% hint style="warning" %}
Each account comes with 5 referral codes. Every extra new referral code costs 10 ROLLs
{% endhint %}

Golden Missions

* Stake - Stake on Rollie Finance, full explanation [here](https://docs.rollie.finance/getting-started/stake)&#x20;
* Trade - Trade on Rollie Finance, full explanation [here](https://docs.rollie.finance/getting-started/trade)

More details coming soon...


# Mini-games

Mini-games are where you win airdrop points!

### Rollie-n-Roll

The first mini-game is Rollie-n-Roll. You insert ROLL points into the television and earn ROLLs. If you are a degen risk taker, roll it with 200 ROLLs, go big, or go home; If you are a thoughtful trader, roll it with 50 ROLLs, slow and steady wins the race.

<figure><img src="/files/Gg2ycVvtOkrTxtMaws2c" alt=""><figcaption></figcaption></figure>

&#x20;There are more games to come, stay tuned...


# Tips

At Rollie, our community thrives on engagement, trust, and growth. We have built our platform around five core pillars that reflect our values and the importance of every user's contribution. Here's how you can earn ROLLs by aligning with these pillars:

**1. Daily Commitment**

* Check-In: Your consistent engagement matters. By checking in daily, you show your dedication to Rollie, and we reward that commitment.

**2. Community Advocacy**

* Tweet: Sharing your positive experiences about Rollie helps us grow. When you tweet about us, you are recognized for your role as a Rollie ambassador.

**3. Network Expansion**

* Referral: Expanding our community is key. Successfully referring new users not only benefits them but also brings rewards to you, fostering a network of mutual growth.

**4. Financial Trust**

* Stake: Trust is built through commitment. Staking USDC in our Vault demonstrates your trust in Rollie, and we reward this financial commitment. Staking is strongly relevant to the amount you staked and the time you staked, the earlier the better.

**5. Active Participation**

* Trade: A dynamic market is driven by active trading. By participating in trades, you contribute to the vibrancy of our marketplace and are rewarded for your activity. Trading is strongly relevant to certain parameters
  * Volume
  * Total Block Number lasted of a position (period of time for the position from opened to closed)
  * Open Interest
  * Fee Generated


# Stake


# Stake $USDC

### What is RLP Vault?

RLP Vault is a USDC vault, with each RLP (ERC20), a transferrable token representing a share of the RLP Vault and, in turn, the underlying USDC assets in the vault. Users can stake USDC into the vault to earn trading fees.

The vault will get a portion of the trading fees. Please check the [Tokenomics](/tokenomics) section for the latest updates. Hence, the RLP token holder will get a pro-rata share of the relevant trading fees according to their RLP amount.

The vault's primary function is to act as the counterparty to all trades made on Rollie Finance. Hence, if traders lose (negative PnL for the traders), the stakers (RLP holders) will earn a positive return plus the trading fees. Further, even if the traders win (positive PnL for traders), as long as fees earned are more significant than PnL payouts, stakers earn a positive return.

### How is the RLP price calculated?

RLP is calculated by the USDC balance added by the accrued fees and trader's cumulative profits and losses, then divided by the outstanding RLP.

### How do you stake USDC into RLP Vault? In other words, how to mint/get RLP?

1. To stake USDC into RLP Vault, connect your Metamask wallet to Rollie by clicking "Connect" on the upper right corner of the website.
2. Go to the "Stake" tab, enter "the amount of USDC" you wish to stake, and then click "Stake" to start earning trading fees.


# Stake $ROLI

Our governance and utility token, $ROLI (ERC20), enhances the functionalities of our protocol. As an $ROLI token holder, you can influence and shape our platform's future development (governance coming soon) and earn $esRF rewards.

### How to Stake $ROLI?

1. Get $ROLI from ***Coming Soon***.
2. Connect your Metamask wallet to Rollie Finance by clicking the "Connect" button in the upper right corner.
3. Go to our website's "Stake" tab and select the "$ROLI" tab.
4. Enter "the number of $ROLI" you wish to stake.
5. Let your $ROLI work for you & come back later to claim your $esRF rewards!

### $ROLI Staking - Basic Staking Rewards:

A total reward of $esRF tokens (amount decided periodically) will be allocated to the $ROLI staking pool. Your rewards will depend on how long you have staked your $ROLI, $ROLI staked, and the total $ROLI staked.

### $ROLI Staking - Sharing of Trading Fees:

A portion of the protocol trading fee will also be distributed to $ROLI stakers. For the amount, please take a look at the [Tokenomics](/tokenomics) page.

### $ROLI Staking - Tiered Staking Rewards:

The Quarterly Tiered Staking Reward Program (with details to be announced periodically) will offer additional $esRF incentives for users that meet a certain amount of trading/staking/other requirements. Stay tuned to our Twitter for updates.&#x20;


# Stake $esROLI

$esROLI is the escrowed version of our governance and utility token $ROLI. You can stake earn and participate in governance (coming soon) with $esROLI on Rollie Finance just like you can with $ROLI; the only difference is that $esROLI can only be used within the Rollie platform. If you wish to use $esROLI outside the Rollie platform, you must withdraw and convert your $esROLI to $ROLI (please see "esROLI Vesting" section).

### How to Stake $esROLI?

1. Get $esROLI from staking $ROLI (see "Stake $ROLI" section).
2. Connect your Metamask wallet to Rollie Finance by clicking the "Connect" button in the upper right corner.
3. Go to our website's "Stake" tab and select the "$esROLI" tab.
4. Enter "the number of $esROLI" you wish to stake.
5. Let your $esROLI work for you & come back later to claim more $esROLI rewards!

### $esROLI Staking - Basic Staking Rewards:

A total reward of $esROLI tokens (amount decided periodically) will be allocated to the $ROLI staking pool. Your rewards will depend on how long you have staked your $ROLI, $ROLI staked, and the total $ROLI staked.

### $esROLI Staking - Tiered Staking Rewards:

The Quarterly Tiered Staking Reward Program (with details to be announced periodically) will offer additional $esROLI incentives for users that meet a certain amount of trading/staking/other requirements. Stay tuned to our Twitter for updates. <br>


# $esROLI Vesting

Escrowed ROLI ($esROLI) is vital in providing stability and security to Rollie's tokenomics. The platform can mitigate market volatility and reduce sell-side pressure by locking a portion of ROLI tokens in a smart contract and gradually releasing them. This stability benefits ROLI holders and creates a more attractive trading and investment environment for users.

Furthermore, $esROLI introduces compelling long-term incentives for ROLI holders. By incentivizing users to retain their tokens and actively engage in platform governance and liquidity provision, Rollie cultivates a robust community and stimulates continuous involvement. These elements are instrumental in the ecosystem's growth and advancement.

Undoubtedly, $esROLI is a pivotal mechanism underpinning Rollie's platform and token's stability, sustainability, and long-term triumph. Its role is not just significant but indispensable, emphasizing the urgency for our audience to comprehend its importance in Rollie's overall success.

Rollie has a vesting/conversion mechanism for $esROLI over a specific period, allowing users to convert their $esROLI to $ROLI tokens to be used outside the Rollie Finance platform. For conversion/vesting, you will need the average amount of $ROLI you used to obtain your $esROLI in your wallet, which will be reserved in your account during the conversion duration. Reserved tokens cannot be sold during this period but will continue to earn rewards as if you are staking your $ROLI tokens. After initiating vesting, the $esROLI tokens will be converted to $ROLI every second (pro rata) and be fully converted over 365 days. $esROLI tokens converted into $ROLI are claimable at any time. If you wish to sell your reserved $ROLI before vesting, use the "Withdraw" button on the "Stake" page; partial withdrawals are not supported.

To learn how to earn more $esROLI with $esROLI within the Rollie platform, please go to the "Stake $esROLI" section. As you know, governance with $ROLI and $esROLI has yet to be made live.&#x20;

### How do you convert $esROLI to $ROLI?

1. Get $esROLI from staking $ROLI (see "Stake $ROLI" section).
2. Connect your Metamask wallet to Rollie Finance by clicking the "Connect" button in the upper right corner.
3. Go to the "Stake" tab of our website, select the "$ROLI" tab, and go to "esROLI - Conversion."
4. Enter "the number of $esROLI" you wish to convert.
5. Please make sure you have the required $ROLI tokens in your wallet.
6. Hit "convert," confirm the transaction on your wallet, and let your $esROLI work for you & come back after the specified duration to claim your $ROLI!
7. Your reserved $ROLI will continue to earn rewards here as if it's staked!
8. Your "Vesting Status" shows a claimable amount of $ROLI over the total amount of $ROLI you will get at the end of the vesting period.
9. Your "Claimable" is your current amount of $ROLI. Note that the vesting amount of $esROLI and the claimable amount of $ROLI do not accrue rewards.


# Trade

If you're new to trading using Rollie, here's a step-by-step overview guide on how to initiate and terminate trades using the Rollie Finance web application (more detail in \[Opening Trades], \[Managing Trades], and \[Closing Trades] sections):

1. Make sure you have USDC (as collateral for trading) and ETH (for gas fee) on Scroll Mainnet. Otherwise, you learn how to obtain them [here](/getting-started/beginners-guide/get-eth-on-scroll).
2. Make sure your Metamask wallet is switched to Scroll Mainnet. If this is your first time using Scroll Mainnet or Metamask, follow this [Tutorial](/getting-started/beginners-guide/connecting-your-wallet) to set things up.&#x20;
3. Make sure you have a Metamask wallet connected to the Rollie Finance platform. If you haven't connected your wallet yet, click the "Connect" button in the upper right corner.
4. Select the "Trade" tab to access the trading interface.
5. Select the asset you want to trade. For example, select the ETH/USD trading pair to trade ETH. All the assets supported can be found here in the [Pairs List](/getting-started/trade/pairs-list).
6. Enter the amount of asset you want to trade under "Position Size" and set the "Leverage" you wish to apply for this trade. The trading interface will automatically calculate the "Collateral" in USDC you must pay for this trade.
7. Confirm the details of the trade and submit your transaction. You will be prompted to authorize the transaction using your Metamask wallet.
8. Once the transaction is confirmed on your Metamask wallet, you will see your order under "Pending Orders," "Open Orders," or "Order History," depending on whether the order has been executed and/or closed.
9. If the order placed is still under "Pending Orders," if you wish to terminate it, find the trade you want to terminate and select "Cancel." You will be prompted to confirm the cancellation. Confirm the transaction on your wallet, and once the transaction is confirmed on-chain, the tokens will be returned to your wallet.

Following these steps, you can quickly initiate and terminate trades on the Rollie Finance web application. Just to remind you, you must have sufficient ETH tokens on Scroll Mainnet in your wallet to cover transaction fees and USDC tokens to use as collateral for your trades.

<br>


# Pairs List

This page shows the status of the pairs supported

<table><thead><tr><th>Asset Class</th><th>Asset</th><th data-hidden>pairIndex</th></tr></thead><tbody><tr><td>Crypto</td><td>BTC/USD</td><td></td></tr><tr><td>Crypto</td><td>ETH/USD</td><td></td></tr><tr><td>Crypto</td><td>BNB/USD</td><td></td></tr><tr><td>Crypto</td><td>XRP/USD</td><td></td></tr><tr><td>Crypto</td><td>ADA/USD</td><td></td></tr><tr><td>Crypto</td><td>DOGE/USD</td><td></td></tr><tr><td>Crypto</td><td>MATIC/USD</td><td></td></tr><tr><td>Crypto</td><td>SOL/USD</td><td></td></tr><tr><td>Crypto</td><td>SHIB/USD</td><td></td></tr><tr><td>Crypto</td><td>LTC/USD</td><td></td></tr><tr><td>Crypto</td><td>AVAX/USD</td><td></td></tr><tr><td>Crypto</td><td>TRX/USD</td><td></td></tr><tr><td>Crypto</td><td>UNI/USD</td><td></td></tr><tr><td>Crypto</td><td>ATOM/USD</td><td></td></tr><tr><td>Crypto</td><td>ETC/USD</td><td></td></tr><tr><td>Crypto</td><td>LINK/USD</td><td></td></tr><tr><td>Crypto</td><td>BCH/USD</td><td></td></tr><tr><td>Crypto</td><td>APT/USD</td><td></td></tr><tr><td>Crypto</td><td>LDO/USD</td><td></td></tr><tr><td>Crypto</td><td>NEAR/USD</td><td></td></tr><tr><td>Crypto</td><td>APE/USD</td><td></td></tr><tr><td>Crypto</td><td>GRT/USD</td><td></td></tr><tr><td>Crypto</td><td>SAND/USD</td><td></td></tr><tr><td>Crypto</td><td>MANA/USD</td><td></td></tr><tr><td>Crypto</td><td>AXS/USD</td><td></td></tr><tr><td>Crypto</td><td>AAVE/USD</td><td></td></tr><tr><td>Crypto</td><td>FXS/USD</td><td></td></tr><tr><td>Crypto</td><td>OP/USD</td><td></td></tr><tr><td>Crypto</td><td>CRV/USD</td><td></td></tr><tr><td>Crypto</td><td>CHZ/USD</td><td></td></tr><tr><td>Crypto</td><td>ARB/USD</td><td></td></tr><tr><td>Forex</td><td>GBP/USD</td><td></td></tr><tr><td>Forex</td><td>EUR/USD</td><td></td></tr><tr><td>Forex</td><td>USD/JPY</td><td></td></tr><tr><td>Forex</td><td>AUD/USD</td><td></td></tr><tr><td>Forex</td><td>NZD/USD</td><td></td></tr><tr><td>Forex</td><td>USD/CAD</td><td></td></tr><tr><td>Forex</td><td>USD/CHF</td><td></td></tr><tr><td>Indices</td><td>SPY</td><td></td></tr><tr><td>Indices</td><td>QQQ</td><td></td></tr></tbody></table>


# Opening Trades

To open a trade on Rollie Finance:&#x20;

1. Make sure you have USDC (as collateral for trading) and ETH (for gas fee) on Scroll Mainnet. Otherwise, you learn how to obtain them [\[here\]](/getting-started/beginners-guide/get-eth-on-scroll).
2. Make sure your Metamask wallet is switched to Scroll Mainnet. If this is your first time using Scroll Mainnet or Metamask, follow this [Tutorial](/getting-started/beginners-guide/connecting-your-wallet) to set things up.
3. Go to Rollie.Finance and click "Trade" to access the trading interface.
4. Make sure you have a Metamask wallet connected to the Rollie Finance platform. If you haven't connected your wallet yet, click the "Connect" button in the upper right corner.
5. Select the "Trade" tab to access the trading interface.
6. Select the asset you want to trade on the left. For example, select the ETH/USD trading pair to trade ETH. You can also "star" your favorite trading pair for easy access. All the assets supported can also be found here in the [Pairs List](/getting-started/trade/pairs-list).
7. Select the appropriate trade parameters, including:
   1. Trade and order type: long (buy) or short (sell);
   2. Market, limit, or stop limit order execution types;
   3. Collateral settings: the maximum amount you are willing to undertake in case of liquidation;
   4. Leverage multiplier settings;&#x20;
   5. Max slippage (for market order);
   6. Optional stop-loss or take-profit orders.
8. If you enter the amount of asset you want to trade under "Position Size" and set the "Leverage" you wish to apply for this trade. The trading interface will automatically calculate the "Collateral" in USDC you must pay for this trade.
9. Confirm the details of the trade and submit your transaction. You will be prompted to authorize the transaction using your Metamask wallet. (If it's your first trade, you must authorize the contract before using USDC in your wallet. Press the approve button to complete the transaction and continue authorizing your trade's actual transaction.)
10. Wait for the confirmation prompt in your web3 wallet. After submitting the transaction, you might receive multiple confirmation requests and must authorize all before the trade appears on the front-end dashboard's Orders sections.
11. Once the transaction is confirmed on your Metamask wallet, you will see your order under "Pending Orders," "Open Orders," or "Order History," depending on whether the order has been executed and/or closed.
12. Your trade request is initiated when it reaches the network and executes once the Pyth oracle provides that the current price matches your set parameter(s).
13. In cases where the maximum open interest or net open interest limit is reached, limit orders will be queued in the system and executed once both the maximum open interest and price conditions are met.
14. By following these steps, you can begin trading on Rollie Finance. Double-check your trade parameters to minimize errors or losses before executing an order. Happy Rollie Trading!


# Managing Trades

To access and update your TP/SL levels on Rollie Finance, follow these steps:

1. Once your trades are open, you can view the details of your current position under the "Open Orders" section in the dashboard. You can access any pending limit or stop orders in the "Pending Orders" section.
2. Click on "trade details" below your open order in the sidebar to view and manage your stop loss/take profit.
3. Under the "Actions" section, you will see two buttons. Select the pencil icon on the right to edit your take profit or stop loss price levels.
4. You can update your take profit or stop loss price by manually inputting the targeted price level or adjusting the profit or loss percentage. Click "Confirm" to proceed with the changes.
5. You will then receive a prompt to sign the transaction in your wallet before any updates can be made to your TP/SL levels.
6. Following these simple steps, you can easily access and manage your open position details and update your TP/SL levels on Rollie Finance. You can always keep track of your positions and adjust your TP/SL levels to manage risk and maximize profits.


# Closing Trades

To close a trade on Rollie Finance, follow these steps:

1. Locate the trade you want to close in the "Open Orders" section on the dashboard. This section will display all your active positions.
2. You will find an X button on the right-hand side of the trade. Click on this button to initiate the trade closure process.
3. Confirm the transaction using your Metamask wallet. A prompt will appear in your wallet asking for confirmation to close the trade. Follow the required steps and confirm the transaction.
4. Wait for the confirmation of the trade closure. You will receive this confirmation in your wallet. Once the transaction is confirmed, your trade will be closed, and you will no longer have an active position in that particular trade.
5. It's important to note that closing a trade will result in the realization of any profits or losses associated with that trade. Consider your risk management strategy and current market conditions before closing a trade.


# Trading Flow

Understanding the trade process on Rollie's trading engine is helpful for users to navigate the platform effectively. Here is a simplified explanation of the trade lifecycle:

1\. Select Trade: Users choose a trading pair and the number of tokens they want, Long or Short, and choose the leverage and all parameter(s).

2\. Calculate Estimated Price and Fees: The trading engine computes the transaction's estimated price and gas fees.

3\. Sign and Submit Transaction: Users sign and submit the transaction using their connected wallet (e.g., MetaMask). The transaction is then sent to the Scroll network. All action will be performed once that specific transaction is confirmed on-chain.

4\. Confirmation: Validators on the Scroll network confirm the transaction and add it to the blockchain.

5\. Trade Completion: Once the transaction is confirmed, the trade status changes to "completed," the acquired token appears in the user's connected wallet.

It's important to note that trade action performance time can vary depending on network congestion. Users can choose to pay higher gas fees to expedite their transactions.

If a trade fails, the status will be "failed." This can happen with insufficient funds, improper slippage settings, or network congestion. The token or funds will be returned to the user's wallet in such cases.


# Trading Engine

Rollie has an efficient trading engine enables users to participate in decentralized trading effortlessly. This trading engine gives users a comprehensive overview of the trading process and allows them to engage in DeFi markets easily. The trading engine shows users available token pairs, trading fees, and real-time pricing information with historical price charts to make informed trading decisions. Additionally, users can customize their preferences for the slippage tolerance level and gas fees.

With Rollie's trading engine, users can participate in the growth of different projects and tokens and navigate the market effectively while trading in the decentralized finance ecosystem.


# One-Swipe AI Trading


# What is One-Swipe AI Trade

### Overview

Welcome to the One-Swipe AI Trading beta feature! This innovative tool empowers traders to leverage the power of AI by aggregating the latest news and social sentiment, all while removing the complexity typically associated with trading. With One-Swipe AI Trading, you can access vital information with unparalleled simplicity and start making informed trading decisions instantly.

<figure><img src="/files/wVJ3IZM4xftCP881k85c" alt=""><figcaption></figcaption></figure>

### Key Features

#### AI-Powered Aggregation

One-Swipe AI Trading harnesses the power of advanced AI algorithms to collect and analyze the most recent news and social sentiment related to your preferred trading assets. This ensures you have the latest and most relevant information at your fingertips, enabling smarter and more timely trading decisions.

#### Simplified Trading Interface

Designed for ease of use, One-Swipe AI Trading abstracts away the intricacies of traditional trading platforms. This feature delivers aggregated insights in an intuitive format, allowing you to focus on what truly matters—making profitable trades.

#### One-Swipe Convenience

With just one swipe, you can access a wealth of information and start trading. This feature is perfect for both seasoned traders looking for efficiency and newcomers seeking a user-friendly introduction to the trading world.

More features coming soon...


# How to start?

1. Connect your wallet (check out [Guide](https://docs.rollie.finance/getting-started/beginners-guide/connecting-your-wallet))
2. Select the entry setting that you'd prefer

   * Amount per Entry (USDC)
     * Put down the amount for each One-Swipe Trade and click `CONFIRM`

   <div align="center"><figure><img src="/files/Dopq1ZtZV0kxy2bh8E7Q" alt="" width="420"><figcaption></figcaption></figure></div>

   * Amount Setting
     * Remaining Approved Amount: this is the amount left that you approved
     * Approve More: Put down how much you want to approve and click `CONFIRM`

<figure><img src="/files/elxd8I54lW5h9sv8PpS4" alt="" width="420"><figcaption></figcaption></figure>

3. Enjoy your One-Swipe AI Trading
   * Swiping left/Click on Skip to pass on the trade
   * Swiping right/Click on ❤ to open a position
4. Check your orders
   * Switch to the Orders tab and you will see all your positions

Happy One-Swipe AI trading!


# Take Profit / Stop Loss

Rollie Finance distinguishes itself from other decentralized perpetual exchanges with its innovative AI-powered one-swipe-trading design. Users can place trades by simply swiping left or right on mobile, reflecting their interests and trading appetites.

Behind this simple interface, advanced trading algorithms, years of trading experience, real-time on-chain data, and AI analysis work together to ensure trades are both simple and sophisticated. **Rollie’s AI-powered algorithms optimize take-profit (TP) and stop-loss (SL) settings to maximize the probability of profit.**

Experience the convenience of One-Swipe AI trading with Rollie Finance—making trading effortless and efficient.


# Trade-to-Earn

The Rollie.Finance website will have an "Earn" tab where users can keep up-to-date with the current and upcoming campaigns and tournaments to earn rewards.

### Trade2Earn PreGame Tournament

Trade-to-earn pre-game tournament will be live during our Alpha launch:

1. During the Alpha launch, users will be playing with Test TOkens tokens on Rollie;
2. All mock/test activities are still happening on-chain on Scroll Mainnet;
3. Even though this is a test launch, we want to reward early users of our platform for helping us to improve;
4. A snapshot of top leaderboard players will be taken each day at 00:00 UTC;
5. Top leaders will be rewarded according to their performance daily during our Alpha launch period with ... [🧻](https://emojipedia.org/roll-of-paper) iykyk


# Referral System

The Rollie Referral program is an exciting opportunity for new and existing users to participate in the growth of Rollie Finance and be rewarded for their efforts. Here are the details of our referral program:

1. Referral Rewards: Users who sign up through your unique referral link will permanently link their account to your referral address. As a result, all trades executed on their account will enjoy a discount while you earn rebates from their trading fees.
2. Lifetime Fee Discounts: As a trader, you can benefit from up to 20% lifetime fee discounts. These discounts will be applied to your trading fees, allowing you to save on transaction costs.
3. Lifetime Rebates: As a referrer, you will receive lifetime rebates of up to 20% from the trading fees of the users you refer. These rebates will be paid out to you in USDC, giving you an additional source of income.
4. Simple Participation: Participating in the referral program is straightforward. Visit the referral page on Rollie Finance, connect your MetaMask wallet, and sign up as a referrer. You can then copy your unique referral link and share it with others on social media platforms like Twitter, Telegram, or Facebook. We also provide social media sharing options to help amplify the visibility of your referral link.
5. Tiered Referrer Program: We value our community members and reward them accordingly. Upon signing up, all users automatically become tier 1 referrers. If you have a significant existing follower base and are interested in becoming a Tier 2 referrer, you can submit an application form providing information about your followers. Tier 2 referrers receive additional benefits and rewards.

Join our vibrant community today and start earning rewards as we grow together. For more detailed information on our referral program and the tier list, please take a look at the provided tier list below (coming soon).

{% hint style="warning" %}
Each account gets 5 referral codes from the get-go,  for extra referral codes, each costs 10 ROLLs.
{% endhint %}

<figure><img src="/files/XIIJDq1cLfO43mLgPpTi" alt=""><figcaption></figcaption></figure>


# Oracle

Pyth's state-of-the-art oracles proudly power Rollie Finance. All the price feeds are using Pyth as our primary oracle.

For more information, please visit their website at <https://pyth.network/>


# Risks

### Risk Management

Risk management is a crucial priority for Rollie's trading engine, and the platform incorporates various measures to help users mitigate risks and ensure secure trading. Here are some critical risk management features:

1. Slippage Tolerance: Users can set their preferred slippage tolerance level to protect against unfavorable price differences. The transaction will be reverted if the price falls beyond the set threshold to prevent potential unexpected losses;
2. Circuit Breakers: Rollie's trading engine utilizes circuit breakers to pause trading during periods of extreme volatility. This helps avoid liquidity imbalances and sudden price crashes, reducing the risk of significant losses;
3. 3 Open Trades per Trading Pair per Wallet - limitation to be removed in the future (coming soon);
4. 900% winning percentage cap per trade collateral - being risk management for liquidity providers;
5. Risk Monitoring: Rollie's robust monitoring systems actively detect and prevent risks like flash loans, front-running, and market manipulation. The risk management team works to safeguard users and maintain a safe trading environment;
6. User Awareness: Users can minimize risks by conducting thorough research, understanding market conditions, and setting appropriate trading parameters such as limits and stop-loss orders.

While Rollie implements risk management measures, users must use their discretion when trading and acknowledge the inherent risks. Conducting research, comprehending market conditions, and carefully assessing potential risks are necessary before making any transactions.

Rollie's trading engine is designed to provide users with a secure and efficient trading environment. By incorporating advanced risk management features and promoting fair and transparent trading practices, Rollie aims to ensure a reliable trading experience for its users.

### Risks

Rollie offers decentralized financial opportunities that have the potential for high returns. However, it's essential to understand the risks of using Rollie.

Various risks are associated with using Rollie, such as market volatility, smart contract risk, regulatory changes, and contract failure or bugs. Market volatility means that the value of assets can change unexpectedly, while smart contract risk involves the possibility of smart contracts having bugs or vulnerabilities.

Regulatory changes worldwide can impact decentralized finance services' availability and legality, and contract failure or bugs may occur. Moreover, there are potential risks associated with staking, such as committing to withdrawal processing times for assets and losing them if the staking pool faces issues.

Rollie does not guarantee returns or profits; users are responsible for their investments. However, Rollie is working to provide a secure and transparent platform for users.

By understanding these risks and taking precautions, users can make informed decisions about investing in Rollie while minimizing the potential impact of the risks involved.


# Fees and Spread

Rollie's fee and spread structures are designed to be transparent and competitive. By charging reasonable fees and prioritizing low spreads, Scrollie seeks to attract more traders and maintain a healthy user trading environment. By being conscious of fees and spreads, users can take advantage of Rollie's trading engine and achieve their trading goals efficiently and cost-effectively.

Fees and spreads are integral components of Rollie's trading engine and play a significant role in determining the cost and profitability of trades. Rollie aims to create a fair and transparent trading environment that promotes user trust and satisfaction by providing transparent information and empowering users with knowledge.

{% hint style="info" %}
**Legend**

Long - L

Short - S

Above - A

Below - B

Open Interest - OI

Rollover Fee per Block - RFPB

Trade Collateral - TC
{% endhint %}

<table><thead><tr><th width="171">Fee Description</th><th>Calculation</th><th>Fee Explanation</th></tr></thead><tbody><tr><td>Opening Fee and Closing Fee</td><td>0.04% of position size</td><td>Charged upon the total position size (Calculated using collateral * leverage)</td></tr><tr><td>Base Spread</td><td><p>0.025% for crypto and stocks</p><p>0% for FX</p></td><td>It is inversely related to the liquidity of the pair, meaning the spread is smaller the more liquidity it has. This is considered to simulate the bid/ask spread on a Central Limit Order Book (CLOB) exchange's execution price. Spread only applies when opening a trade. There is no spread when closing a trade.</td></tr><tr><td>Price impact (%)</td><td>(OI {L/S} + New trade position size / 2) / 1% depth {A/B}</td><td>Price impact depends on the position size of your trade and the pair's liquidity on spot exchanges; this is used to prevent price manipulation of the spot price of an asset. This is also implemented in a way that it simulates execution price in a CLOB exchange and is used to protect SLP holders from the directional skew. This is calculated by the current aggregate open interest on the platform plus half of the trade position size, divided by 1% of the order book depth on a reference exchange. Price impact only applies when opening a trade. There is no spread when closing a trade.</td></tr><tr><td>Borrowing Fee</td><td>(Current block - trade open block) * RFPB % * TC</td><td>Allows traders to be mindful of position size and leverage, which enables solid risk management for protocol health. Note that Rollie provides synthetic leverage.</td></tr><tr><td>Funding Fee</td><td><p><strong>Long Position</strong><br>Accumulated funding fee per OI += (Long OI - Short OI) * blocks elapsed * funding fee per block % / Long OI<br></p><p><strong>Short Position</strong><br>Accumulated funding fee per OI += (Short OI - Long OI) * blocks elapsed * funding fee per block % / Short OI</p></td><td>The goal is to minimize the discrepancy between long and short open interests and prevent significant exposure to one side of any trading pairs. This is common in centralized exchanges as it incentivizes perpetual prices to trade at par to spot prices through a funding rate mechanism, where long pay shorts if contracts are traded at a premium to spot, and vice versa. Rollie uses oracle-based pricing but includes a fee to neutralize the long-short skew to protect SLP holders. As with rollover fees, they are charged per block. The fee is charged on the total position size.</td></tr><tr><td>Rollover Fee</td><td></td><td>This fee varies depending on the volatility of the underlying assets being traded, which is measured using the average true range (ATR), expressed as a percentage of the average closing price (ATRP). This is charged per block.</td></tr></tbody></table>


# Keepers

Keepers are automated bots or software programs that play a crucial role in the smooth operation of the trading engine on Rollie. They monitor liquidity pools and token prices.&#x20;

It's important to note that keepers operate within predefined parameters and algorithms Rollie sets to ensure stability and integrity. They are designed to enhance trading efficiency while working alongside users and other system components.

Overall, keepers are essential to Rollie's trading engine, contributing to maintaining liquidity, monitoring market conditions, executing trades, and safeguarding the trading environment. Their roles help optimize and streamline the trading experience on Rollie.

You can learn how to [operate a keeper](/developers/operating-a-keeper-coming-soon) in the following sections.


# Open Interest

Rollie Finance sets a maximum open interest (maxOI) and a maximum net open interest (maxNetOI) to protect our liquidity providers, which will be updated periodically to reflect the optimal limits for the platform, balancing growth needs and security for our liquidity providers.

### How Open Interest (OI) works:

For the BTC/USD trading pair example, the maximum open interest (maxOI) for both the long and short sides is set at 6M.&#x20;

The current long open interest is 2M, below the maximum limit. The current short open interest is 1M, below the maximum limit.

To calculate the net open interest (netOI) for risk management purposes, we take the absolute value of the difference between the long and short open interest. In this case, the netOI is 2M - 1M = 1M.

The maximum net open interest (maxNetOI) cap limits the net market exposure for a specific asset based on the maximum market risk allowed. If the netOI exceeds the maxNetOI limit, the market exposure is too high and needs to be controlled. In this example, the netOI of 1M has reached the maximum net open interest cap.

As a result, new long positions can no longer be opened because the net open interest has hit the maximum net open interest cap. However, the vault can still accommodate an additional 1M short open interest without altering the long open interest.

This mechanism helps manage risk by controlling the net market exposure within predefined limits, ensuring the trading model remains secure and stable.

<br>


# Brand Asset

### Logo

<div align="left"><figure><img src="/files/z7Q1KYzyxlWU7ZlZCYxn" alt="" width="375"><figcaption></figcaption></figure></div>

### Profile Photo

<div align="left"><figure><img src="/files/FsUHiEPsnP1qiW7fHUHE" alt="" width="188"><figcaption></figcaption></figure></div>

\
For brand assets please download [here](https://drive.google.com/drive/folders/1wsQ8SLvBn2UNOhwPdkXvPFAlh9XCzDhK) ⏬


# Links

### Website Links

:globe\_with\_meridians: <http://rollie.finance/>

### Social Media

:books: <https://medium.com/@rolliefinance>

:bird: <https://twitter.com/rolliefinance>

:airplane: <https://t.me/rolliefinance>

:space\_invader: <https://discord.gg/us8e2CPVS7>

:scroll: [https://docs.rollie.finance/ ](<https://docs.rollie.finance/ >)


# Contract

### Mainnet Contracts

<table><thead><tr><th width="193">Contract</th><th>Address</th></tr></thead><tbody><tr><td>Deployer</td><td>0x5f283a197F9B9B0Ed1F316709a601A6cb607C908</td></tr><tr><td>Keeper</td><td>0x9f542A2F789FE07e500334C5f5fD0198322Bb5a1</td></tr><tr><td>FeeHelper</td><td>0x8DAD101A41677DF40553B988eF420374b8f39E10</td></tr><tr><td>registerAdmin</td><td>0x81E784509C6aC82414AB2ea3C13C36048d3ED24b</td></tr><tr><td>TradingStorage</td><td>0x7Aa73970Dc1eAe1e39AA3eAC9F3DadB4468993a1</td></tr><tr><td>PairInfos</td><td>0xA852CE8B0BF3Bcd9191D6140a4627E7823c84848</td></tr><tr><td>PythOracle</td><td>0xbb3BDc7a71dADfAd28Af0D556047678299ed1CFa</td></tr><tr><td>TradingVault</td><td>0xA79E00e68549e91e5f0c27048F453b3D87ef6E3D</td></tr><tr><td>Referrals</td><td>0x8b5Fb77f637bD2C5d77358346Be91b387D201713</td></tr><tr><td>Trading</td><td>0x7ed8b1328A42B40A0D2d3F9511a162c345b35eCa</td></tr><tr><td>Team Multisig</td><td>0x534032BD51479090CB822B98a3D307E12EAc32D0</td></tr></tbody></table>


# Security Audits

📋 [Zokyo Audit Report](https://github.com/zokyo-sec/audit-reports/blob/main/Rollie/Rollie_Zokyo_audit_report_April16th_2024.pdf)


# Bug Bounty (Coming Soon)


# Developer Information (Coming Soon)


# Operating a Keeper (Coming Soon)


