# Welcome to O3 Docs

O3 Swap is a cross-chain aggregation protocol, allowing users to access multi-chain liquidity sources on one platform. **What you will find here:**

{% content-ref url="/pages/0DHDA58uayWdjRZ2qIUE" %}
[O3 Swap V2 (Interchange)](/o3-swap-v2-interchange)
{% endcontent-ref %}

{% content-ref url="/pages/-Mb\_yEEoVXg-4tSeS625" %}
[User Guide](/o3-swap-user-guide)
{% endcontent-ref %}

{% content-ref url="/pages/B1qNa1yRcPrSmatEicP2" %}
[O3 Vote](/o3-vote)
{% endcontent-ref %}

{% content-ref url="/pages/-M\_aLQdg2jjpSIYMa\_w7" %}
[Resources](/resources)
{% endcontent-ref %}

{% content-ref url="/pages/-MXCDg3MvWtplerH32T4" %}
[Contact Us](/contact-us-1)
{% endcontent-ref %}

{% content-ref url="/pages/-MYEFq5ZlASpZc\_X0nIR" %}
[Become a Community Partner](/hiring/become-a-community-partner)
{% endcontent-ref %}


# O3 Swap V2 (Interchange)

The Interchange for networks in Web 3.0.

## Introduction&#x20;

O3 Swap’s version 2, officially named ‘O3 Interchange’, will be a cross-chain DEX like no other in that it provides services aside from bridging the same token across different chains, but rather swaps heterogeneous or different digital assets too. In addition to aggregating DEXs on the source chain as V1 did, O3 Interchange will also aggregate DEXs on the destination chain. That means users will have more choices for their destination asset.

O3 Interchange was designed by a team dedicated to building an interoperable aggregator for Web 3.0 that provides a universal solution for cross-chain trading. The design closely aligns with the O3 community's feedback to push the boundaries of what's currently technologically possible. O3 Labs will continue to closely follow the existing cross-chain solutions on the marketplace and will continually improve the protocol according to the wishes of $O3's holders via the O3 DAO which should be refined and released sometime at the end of Q1 of 2022 or in Q2 of 2022.

The new cross-chain mechanisms of Swap and Bridge allow for simple one-time confirmation transactions. Additionally, they'll be able to support more EVM-compatible chains and tokens. Separately, the O3 Labs team will also provide a Gas Station to solve the gas fee demand on each chain. Through Interchange and with stops at our Gas Station, users can better access the Web 3.0 superhighway.

## **1.** O3 Interchange Layer Structure

![](/files/IQ2mqEFnCgIHFmjLa6X8)

### **1.1 Application Layer**

**O3 Swap**: O3 Swap V1 only supported aggregating DEXs on the source chain, but O3 Interchange, which is the updated and full version of V1, now can also aggregate DEXs on the destination chain via a cross-chain aggregator. This means that cross-chain swaps on V2 will have a more diverse set of token offerings to swap from and to.

**O3 Bridge**: Based on PTMCs (Pegged Token Management Contracts) and pToken AMM Pools, O3 Bridge will allow users to safely bridge their tokens from one chain to another through the use of a sleek user interface, instantly with one-time transaction confirmations.

**O3 Gas Station**: Considering there’s no better solution to meet the huge demand in gas fees in the current market, the O3 Gas Station is developed based on the O3 Swap to provide users with a simple interface and powerful function. Users no longer need to buy ETH/BNB/MATIC/etc... on centralized exchanges (CEXs) and withdraw to their decentralized wallets frequently. This costs valuable time and money. Instead, they can exchange these gas tokens directly within our gas station with little fuss.

**O3 Wallet**: The brand new O3 Wallet focuses on being a mobile cross-chain tool, where the main functions, like Swap and Gas Station, will be integrated into one app with our proprietary UI. Others like Hub and Vault will also be included in the O3 Wallet Mobile APP progressively, stage by stage.

### **1.2 Protocol Layer**

**O3 Aggregators**: Aggregate the liquidity from DEXs on various chains, provide abundantly supported tokens to swap, and look for the most cost-efficient routings.

**PTMCs** (Pegged Token Management Contracts): A series of smart contracts on different chains manage pTokens’ burning on the source chain and minting on the destination chain. Each pToken on each chain has an independent PTMC. These PTMCs will be run by a relay network - Poly Network.

### **1.3 Liquidity Layer**

**DEXs**: DEXs integrated by the O3 Aggregator help users swap between different assets. We can integrate multiple DEXs on different chains.

**NPAPs** (nativeToken & peggedToken AMM Pools): An AMM pool consists of an amount of Token and an amount of its pegged token(pToken). These pools are operated by the protocol automatically during cross-chain transactions, so there are no extra steps for users to interact with them. Only when it comes to adding liquidity or converting between Token and pToken via Barter for arbitrage opportunities will users need to take that step on their own.

By deploying pToken AMM pools, numerous hot and niche long-tail tokens from projects looking for exposure can be supported for cross-chain transactions on O3 Swap V2 easily and frequently.

### **1.4 Network Layer**

All EVM networks can be supported in a short time by simply deploying PTMCs and integrating with O3 aggregators. Supported networks will be synchronized on Swap, Bridge, and the O3 Gas Station.

## **2. Cross-chain System**

![Cross-chain transactions among ETH, USDC, and BNB. The routes are as above.](/files/XL0wGA6qWTIsK9dBAp97)

### Steps

1. Select the input asset from the source chain, and the output asset from the destination chain, and input the amount. **Submit for inquiry**.&#x20;
2. The O3 Aggregator then looks for the best price from DEXs, recommends the most cost-efficient route, and shows the quote. **Confirm the transaction**.&#x20;
3. **Source chain**: ETH will be swapped to USDC from a DEX, then bartered to pUSDC from the USDC/pUSDC pool. After being approved by PTMCs on the source chain, pUSDC will be burned.
4. **Destination chain**: The same amount of pUSDC will be minted after approval by the PTMCs on the destination chain, then bartered to USDC from the USDC/pUSDC pool. This USDC amount can then be swapped to BNB from a DEX by the aggregator or directly transferred to the user's address on the destination chain.

## 3. Liquidity (Hub)

### 3.1 Liquidity Solution

![](/files/XIiJXCB6MOAhu7DmMQY8)

All liquidity is deposited in the AMM pools consisting of Tokens and pTokens. For example, users can deposit either A, or pA, or A + pA. Depositing A + pA instead of only A or pA can reduce price impact and give you more LP tokens.

**Liquidity Entry Chain**

There is a critical mechanism named Liquidity Entry Chain, which is set to a Token that its pToken has to be pegged from. This mechanism ensures that each pToken on each chain comes from a real Token deposited on its Liquidity Entry Chain and has its value guaranteed rather than being minted from nowhere. A Liquidity Entry Chain can be the Ethereum mainnet, BNB Chain, or any other public chain.

Take A as an example, if its Liquidity Entry Chain is Ethereum mainnet, then users can Peg A within Ethereum mainnet or from it to other chains to get pA. On the contrary, users can also Unpeg pA back to Ethereum mainnet to redeem their A.

### 3.2 Convert

Users can convert between Token and pToken via 1:1 Peg or Barter.

#### Peg

Peg Token to pToken or Unpeg pToken to Token at a 1:1 ratio. Peg can happen within a token's Liquidity Entry Chain or from it to other chains. Unpeg can happen within a token's Liquidity Entry Chain or from other chains to it.

#### Barter

Barter between Token and pToken directly from the AMM pools within the same chains. There might be a slippage during bartering. The default slippage is set to 1%.

To be clear, you may earn or lose a small percentage of your exchange when bartering between Tokens and pTokens.&#x20;

### 3.3 Arbitrage

The initial Token:pToken ratio in an AMM pool is 1:1, but it’ll be fluctuating as barters happen. So sometimes users may barter more Tokens or pTokens, and that's where users can arbitrage by Bartering. More importantly, these arbitrages are also constantly balancing that ratio and the liquidity among different pools, which makes cross-chain trading more lossless.

Take A as an example, its Liquidity Entry Chain is the Ethereum mainnet and the pool has more A than pA. At some point in the pool on the BNB Chain, the amount of A is getting lower than pA's, then users can Barter m\*A for n\*pA (n>m), and Unpeg n\*pA to Ethereum mainnet to get n\*A. The profit of this arbitrage ≈ (n-m) \* A, and both the pools got more balanced at the same time.

## 4. Risks & Disclaimer&#x20;

Caution should be exercised when interacting with any smart contract or dApp. While risks are attempted to be mitigated through testing, audits, and bug bounties, there is always a risk of vulnerabilities in smart contract code.

This doc is for general information based on O3 Swap V2 (Interchange)’s development. It should not be considered professional financial investment advice and used in the evaluation of making any investment decision.

New updates and changes might not be updated immediately within this doc. The latest product updates and information are subject to the [official Twitter](https://twitter.com/O3_Labs) announcement.


# Tokenomics

The Economic Model of O3 Interchange(v2)

## Summary

O3 Swap Token (O3) issued by O3 Labs represents all O3 products and is also a critical mediator to promote their development. Except for trading on exchanges and some airdrop events, there are two major ways to earn O3 tokens: providing liquidity in Liquidity Pools and participating in governance voting.&#x20;

Most importantly, O3 Interchange will build an Economic System of Deflation. All transaction fees collected into the Treasury will be used to constantly buyback $O3 and burn to pump it, thus benefiting all $O3 Holders.

In addition to the O3 Swap Token, the O3 DAO Token (DAO3) is the governance token and performs extra applications of O3. O3 Holders can stake their O3 to get DAO3, which means being an O3 Holder is the only official way to get DAO3. Most notably, DAO3 mainly represents the governance rights of holders, so it shall not have a price or should be price inelastic.&#x20;

Under this Economic System of Deflation, all participants, including users, liquidity providers, developers, and all O3 Holders, will be encouraged to invest in the maintenance of the overall ecology through the O3 and the DAO3 tokens.

O3 Token Contract Address (Same address on each chain):&#x20;

0xEe9801669C6138E84bD50dEB500827b776777d28

DAO3 Token Contract Address:

Coming soon

## 1. Economic System

![](/files/RjUXWZsZvefP7lz5MMPs)

## 2. **Ecological Role**

### 2.1 Cross-chain User

Users who interact with cross-chain Bridge, Swap, Gas Station, and all other functionalities on O3 Interchange, in which processes generate transaction fees.&#x20;

### 2.2 Liquidity Provider&#x20;

Liquidity providers can get LP Tokens that represent the proportion of the liquidity they have deposited into Liquidity Pools. They can stake their LP Tokens to earn rewards.&#x20;

### 2.3 O3 Holder

O3 Holders can stake their O3 tokens in the “Vault” to get DAO3, which represents the governance rights of the O3 DAO Governance. There will be rewards in O3 tokens for governance participation and rewards in other tokens for DAO3 holders.

### 2.4 Treasury

Our Community Treasury is a multi-sig contract designed to receive, manage and distribute tokens for multiple purposes to promote the development of O3 Labs projects and the community as a whole.

The treasury fund will be transparently supervised and managed by community members through [O3 Vote](https://snapshot.org/#/o3dao.eth), giving them the power to decide how the fund should be used.

<table><thead><tr><th width="228">Name</th><th>Multi-sig Contract Address</th></tr></thead><tbody><tr><td>Treasury (Arbtrum One)</td><td><a href="https://arbiscan.io/address/0xB23D6Fc44E40e56cB3b0d2C28Ba3D7A170A07a49">0xB23D6Fc44E40e56cB3b0d2C28Ba3D7A170A07a49</a></td></tr></tbody></table>

### 2.5 Development Committee

Mainly composed of the O3 Labs team responsible for promoting the development of the project and the community construction. Other candidates can be elected to join the Development Committee for building along with the O3 Labs.

## **3. Staking**

### **3**.1 LP Staking

The LP tokens received after adding liquidity into Liquidity Pools can be staked in the LP pools in the “Vault” to earn O3 tokens or other tokens.

### 3.2 Token Release

In order to protect the $O3 token price, the total incentive is set to a fixed amount per year and will be halved based on that amount of the last year.

| Year              | O3 Token Incentives |
| ----------------- | ------------------- |
| 2022.06 - 2023.06 | 10,000,000 O3       |
| 2023.06 - 2024.06 | 5,000,000 O3        |
| 2024.06 - 2025.06 | 2,500,000 O3        |
| ...               | ...                 |

Each pool has an initial weight of incentive proportion, and the weight will be redetermined periodically by the proportions of its trading volume and governance votes to optimize the utilization rate of the liquidity and maximize the interests of liquidity providers.

### 3.3 O3 Staking (Phase I)

In Phase I of O3 DAO, O3 holders can stake their O3 to get NFTs, and then stake NFTs to mine DAO3.&#x20;

Check here for more details > [Phase I: Fair Launch](https://docs.o3swap.com/pages/fMLy3bQ7HMUmDXSLC4H6#3.1-phase-i-fair-launch-89-600-eth-blocks-2-weeks)

### 3.4 DAO3

#### Governance Incentives

DAO3 holders can participate in governance, and voting with DAO3 gives you rewards in O3 tokens depending on the DAO3 cost.

#### Venture Pool

DAO3 can also be staked to earn rewards in Venture Pools for tokens provided by our partnered projects. There can be some projects that are freshly arising but have great potential, and partner projects can also be proposed and voted on in DAO.

## 4. Unlock O3

The O3 token is in a locked state after being mined in the above ways. Users are required to provide liquidity with O3 trading pairs to the main DEX on the current chain to unlock the O3 tokens. The unlocking mechanism is as follows:

![](/files/cV8amew4Y3IKOeha44z8)

{% hint style="info" %}
UnlockSpeed **= K \* (LP Amount Staked)**

*K is the number of unlocked O3 per block time that relates to the $O3 price.*&#x20;

* The decimal place for K is 8.
  {% endhint %}

{% hint style="info" %}
maxUnlockSpeed **= (O3 Amount Locked) / G**

O3 Amount Locked *= The number of locked O3 (including the claimable unlocked O3)*&#x20;

*G is the block amount depending on the block time of a chain.*
{% endhint %}

## 5. Buyback

All transaction fees stored in the Treasury will be used to constantly buyback $O3 from the market for periodic redistribution.

| Treasury                           |                                                                                                      |
| ---------------------------------- | ---------------------------------------------------------------------------------------------------- |
| 80% (can be decided by the O3 DAO) | Buyback $O3 and burned.                                                                              |
| 20%                                | Goes to the Development Committee for future development, community events, and marketing campaigns. |

Redistribution proportions for other utilizations can be proposed and voted through the O3 DAO.


# O3 Vote

A preview version of O3 DAO & An entry to implement your ideas

### Read before you propose

* A proposal needs at least **5k O3** to be submitted, and **50k O3** voted to pass on [snapshot](https://snapshot.org/#/o3dao.eth).
* A proposal must follow the [**Proposal Templates** ](#proposal-template-1-pool)listed below to be valid as well as easily understood by the devs and other users, or it might be rejected even if it passed.
* A proposal will be executed on **Enactment Day** according to the most time-efficient order once the vote has been approved. (Enactment Day: every **Wednesday** on **odd weeks**, [ISO](https://en.wikipedia.org/wiki/ISO_8601#Week_dates))
* If there is more than one adjustment to the same subject on the Enactment Day, only the latest one should be executed.

{% hint style="info" %}
Proposals and votes do not cost an O3 token.

Only the $O3 balance before the block number which the proposal was created will be counted as voting power.
{% endhint %}

### Proposal template 1 - Pool

Add a token liquidity pool on a chain, and it will also be added to the bridge list and swap list. At least two pools on different chains are being added to enable a bridge for a token.

#### Title

* Add $XXX Pools on Chain\_A and Chain\_B

#### Proposal Topic

* Deploy $XXX pools on Chain\_A and Chain\_B to enable users to bridge $XXX between the two chains. $XXX LPs are able to stake LP-XXX to earn $O3.

#### Description

* $XXX has a lot of holders and high demand on Chain\_A and Chain\_B.
* Supporting the $XXX bridge could bring new users and liquidity.
* ...

#### Token info

* Chain\_A address: 0x... (contract has to be **verified** for safety concerns) ; DEX: Uniswap (with **most liquidity** of this token)
* Chain\_B address: 0x... ; DEX: ...

#### Resources

* Website:
* Social media:
* …

#### Choices

* Yes / No

### Proposal template 2 - Chain

Add a new chain for users to bridge & swap tokens from/to. It has to be an **EVM-compatible** chain.

#### Title

* Deploy O3 Swap on Chain\_A

#### Proposal Topic

* Deploy O3 Swap on Chain\_A to enable users to bridge & swap tokens from/to.

#### Description

* Chain\_A has a high volume and liquidity demand.
* …

#### Resources

* Website:&#x20;
* Social media:&#x20;
* …

#### Choices

* Yes / No

### Proposal template 3 - Token

Add a token into the **swap list** to enable users to swap for a token. It’s aggregating the token liquidity from DEXs without deploying a pool.

#### Title

* Add $XXX token on Chain\_A swap list.

#### Proposal Topic

* Add $XXX token on Chain\_A swap list without deploying a pool. Users can swap from or to $XXX on Chain\_A.

#### Description

* $XXX has a lot of holders and high demand on Chain\_A and Chain\_B.
* ...

#### Token info

* Chain\_A address: 0x... (contract has to be **verified** for safety concerns) ; DEX: Uniswap (with **most liquidity** of this token)

#### Resources

* Website:
* Social media:&#x20;
* …

#### Choices

* Yes / No

### Proposal template 4 - Rewards Adjustment

Adjust the $O3 reward of a pool by a percentage (must be within the range **-50% to +50%**). Remember that the increase of one pool’s reward leads to the decrease of other pools’ rewards since the total $O3 reward is a fixed amount.

#### Title

* Adjust the $XXX pool reward on Chain\_A.

#### Proposal Topic

* $XXX pool reward on Chain\_A: +10%

#### Description

* $XXX has higher demand on Chain\_A than that on Chain\_B.
* …

#### Choices

* Yes / No

### Proposal template 5 - Other Proposals

Proposals for other improvements or suggestions to O3 Swap have to be constructive and practical.

#### Title

* Proposal to …

#### Proposal Topic

* Proposal to …

#### Description

* This proposal helps …
* …

#### Execution

* ...
* …

#### Choices

* Yes / No


# DAO

A Decentralized Democracy for a Transparent Web 3.0

## Governance Flowchart

![](/files/YtQsJgrkWxiD8eO71Wbz)

## 1. Introducing O3 DAO

O3 DAO is a decentralized autonomous organization where users are able to make proposals to help improve the user experience of O3 Swap and other O3 products. The DAO supports a wide range of ideas like voting on the new tokens and chains to be supported in O3 V2, adjusting the APRs of different pools or adding new pools outright. Users can also make proposals regarding website UI improvement, treasury management, and new features they’d like implemented.&#x20;

The development team at O3 Labs is open to all possibilities provided that are popular in the community. Of course, there must be possibilities. We believe O3 DAO will become the cornerstone of O3 consensus where great ideas from the community can be developed and brought to life so users can grow with O3.

## 2. About $DAO3

$DAO3 is the governance token for the O3 DAO. All $DAO3 holders are able to vote on a proposal which may change the O3 protocol, and a voter needs to hold a certain amount of $DAO3 to propose a vote. Furthermore, $DAO3 can be used to propose more other utilities like unlocking rewards or accelerating the $O3 mining speed.&#x20;

## 3. How to get DAO3 tokens

### 3.1 Phase I : Fair Launch (89 600 eth blocks ≈ 2 weeks)

During Phase I, users stake $O3 (eth) to get O3 NFTs (eth) wherein a percentage of the staked $O3 will be burned forever. The NFT mining level depends on the amount of burned $O3. Check your NFT’s mining levels here:[ Mining Ability](broken://pages/hdoZYsCGEHqxAtxNyLuD).&#x20;

Loyal users who value making changes to the protocol to suit their unique needs should consider burning a larger amount of $O3 to secure their influence.&#x20;

The first batch of $DAO3 supply (10m) will be distributed to users according to each user’s NFT mining ability.&#x20;

Vt - $DAO3 total mining speed; Vi - each user’s mining speed; Mt - total mining ability count; Mi - each user’s mining ability.

![](https://lh5.googleusercontent.com/k9YgsR1QIH0N2mtgDMBQ29AMdNFvc30MjKuyc8keMbRDVKiO0L5CGm8rk0W4_49vPUUg9bXJ85VI6tKfSH1vkvrjpB2tdVHelExbmxwgt0hrZHWefYajFx6_27zlhedY5fWG6afG)

![](/files/XZpKCrd0IUsMzubCco3O)

## **4. How to vote**

A proposal cycle starts every Monday at 12PM UTC when all the numbers (except for voting-result related numbers) will be read from a snapshot.

### 4.1 Poll (Discord)

The O3 governance channel in discord is the place for governance-related discussion among the community. All members here have the right to submit a poll as a temperature check for a potential proposal.&#x20;

To submit a poll, the user has to select a template and provide required content to make a poll more understandable to the community and O3 Labs team. Other members can actively provide their personal opinions to perfect the content to better benefit the O3 community and O3 users.&#x20;

A poll will be valid and available to be cited to propose a formal vote. If it eventually gets a certain amount of likes, then users can proceed to the next stage of formal voting.&#x20;

Qp - threshold of a valid poll (likes amount) ; Cd - $DAO3 circulating amount; k2 - a tentative parameter

![](https://lh5.googleusercontent.com/RTzMpuG2jW6NaNywGyep6fhaxg1mP8eJ9Fye7-LEvylACiXYB2wNmHaflNJIbmL9UEliIw8VQ3h7ONkn4MYsEj19FAArSmleJkEri9BOt44GTitA8jusGEOYNJY2v-H4wPmQ29lT)

Poll content:&#x20;

1. Title
2. Abstract
3. Reason & purpose
4. Detailed info & potential voting options based on different poll templates

Poll requirements:&#x20;

1. Non price related, constructive suggestions.
2. Non insulting language.
3. Shall take into account the public interests and no biased or risky intention.
4. Shall not affect the normal operation of the O3 Labs
5. Must comply with local laws and regulations.

### **4.2 Propose a vote (O3 governance portal)**

A proposer must hold a certain amount of $DAO3 before proposing a formal vote, and the proposal does not burn any $DAO3.&#x20;

To submit a vote, the proposer has to select a proper template, cite a valid poll (each poll can be cited only once for each ongoing proposal) which contains the most detailed information about the formal vote, period of validity and all other required content and voting options should be clearly provided.

Proposal content:

1. Title
2. Cited poll # & link
3. Detailed info & voting options based on different vote templates

Proposal requirements:

1. The main purpose shall be detailed in the cited poll.
2. The options shall be included in the cited poll.&#x20;
3. Avoid potential risk to protocol and users as much as possible.&#x20;

Note: Each type of proposal has a limited number of times during one proposal cycle.

### 4.3 Vote (O3 governance portal)

All $DAO3 holders have the right to vote on the ongoing proposals.&#x20;

A voter needs to decide how many $DAO3 tokens will be voted (the voted $DAO3 will be burned) to support an option, or multiple options. You can vote multiple times for one proposal if you changed your mind. These $DAO3 tokens indicate support or opposition to a proposal.

A proposal will be valid if it eventually reaches the quorum which refers to the $DAO3 burned amount in a proposal.&#x20;

Qv - the quorum of a vote; k4 - a tentative parameter.

![](https://lh5.googleusercontent.com/f6Q-xerslC-Wg5IeT2n5L4qYm63vw3xlur24vmg0kwOOtJ6Dp8TrlZiOS4hcwFvCAo8lgNGk0xZDwUV7S71NRfdanGl8ScpcN-l3YfnKaNJJn_0UpMDM-HQMmxYYxFkVsxd3rD2U)

If the proposal fails to reach the quorum before it ends, then it will be closed and archived.

## **5. Reward**

Once a proposal passes the quorum, no matter if it is approved or vetoed, all voters will be rewarded a certain amount of $O3. The reward amount is calculated based on the equations below:

Ri - user’s $O3 reward amount; Bi - each user’s $DAO3 burned amount in a proposal; Bo - user’s $O3 burned amount; k3 and k4 - tentative parameters.

Phase I:

![](https://lh6.googleusercontent.com/F6JGTKtwxGYYHp6vj2Im7ihmkwmTfwqFUFvS57wd3k9nEVQG1_zveJ9dqoXQnMMVTRgJhXcwpLXrD5pl3rFNyp04i3COJwyt4FIv62RSDoPClOGU0qr9lCkEJSmLZezLBHcZwVwn)

## **6. Execute**

When a proposal becomes valid, the execution of the proposal may be scheduled.&#x20;

For a “yes/no” vote, the proposal will be executed if the affirmative vote exceeds 50%.&#x20;

For a multi-choice vote, the most voted option will be executed.

**Notice Period**

A 2-day notice period starts right away when a proposal is approved.&#x20;

During this period, users and the O3 Labs can value the potential risk and users can take measures to protect their assets.&#x20;

When the notice period finishes, the execution starts.

## **7. Announcements**

Each time a poll or a proposal is approved, there will be a public announcement in the O3 discord governance channel to inform all users.&#x20;

When a proposal has been successfully implemented, there will be an official announcement from the O3 official twitter account.

##

Note: All parameters(k) will be disclosed once they have been tested. More details and DAO functionalities will be updated in this doc.


# Code

#### **O3 Swap Token (O3) Contract:**

* 0xEe9801669C6138E84bD50dEB500827b776777d28 (same address on all chains)

The smart contracts of O3 Swap V2 (Interchange) were audited by [PeckShield](https://peckshield.com/) and [CertiK](https://www.certik.com/). For the details, please check the links below.

#### GitHub

{% embed url="<https://github.com/O3Labs/o3swap-v2-core>" %}

**Audit Report - CertiK**

{% embed url="<https://github.com/O3Labs/o3swap-audit/blob/main/CertiK%20Security%20Assessment%20for%20O3%20Interchange.pdf>" %}

**Audit Report - PeckShield**

{% embed url="<https://github.com/O3Labs/o3swap-audit/blob/main/PeckShield%20Audit%20Report%20O3%20Interchange.pdf>" %}


# User Guide

Welcome to the O3 Swap User Guide.

What you will find here:

{% content-ref url="/pages/gYubAYAfYjC3NECEYNJv" %}
[How to connect my wallet?](/o3-swap-user-guide/how-to-connect-my-wallet)
{% endcontent-ref %}

{% content-ref url="/pages/anlkOafyzAb69Nqx4crQ" %}
[How to Bridge？](/o3-swap-user-guide/how-to-bridge)
{% endcontent-ref %}

{% content-ref url="/pages/IstTpppDtKXAeBHF7uvM" %}
[How to Swap?](/o3-swap-user-guide/how-to-swap)
{% endcontent-ref %}

{% content-ref url="/pages/RDZzUYqaDERKfVh4BKbd" %}
[How to Convert between pToken and Token?](/o3-swap-user-guide/how-to-convert-between-ptoken-and-token)
{% endcontent-ref %}

{% content-ref url="/pages/cKJhjlJl5aLO0k2yaYME" %}
[How to use Gas Station?](/o3-swap-user-guide/how-to-use-gas-station)
{% endcontent-ref %}

{% content-ref url="/pages/MoxXxovKv16aciTEUk3M" %}
[How to view transaction history?](/o3-swap-user-guide/how-to-view-transaction-history)
{% endcontent-ref %}

{% content-ref url="/pages/IrMmwUhPnaZCiJVzACvM" %}
[How to set a slippage tolerance and transaction time limit?](/o3-swap-user-guide/how-to-set-a-slippage-tolerance-and-transaction-time-limit)
{% endcontent-ref %}

{% content-ref url="/pages/86lpLo5JyaClPOoDX5d9" %}
[How to add liquidity?](/o3-swap-user-guide/how-to-add-liquidity)
{% endcontent-ref %}

{% content-ref url="/pages/3zesGWtqtlPBHL6uUdPc" %}
[How to stake & unstake LP tokens for liquidity mining?](/o3-swap-user-guide/how-to-stake-and-unstake-lp-tokens-for-liquidity-mining)
{% endcontent-ref %}

{% content-ref url="/pages/ezuAEFel3yyUFyKcXEw0" %}
[How to claim & unlock O3?](/o3-swap-user-guide/how-to-claim-and-unlock-o3)
{% endcontent-ref %}

{% content-ref url="/pages/uCmEcUBLdDT9Uko07ql0" %}
[How to remove liquidity?](/o3-swap-user-guide/how-to-remove-liquidity)
{% endcontent-ref %}

{% content-ref url="/pages/gtSZPxOiO3JyTH6LI71T" %}
[How to arbitrage?](/o3-swap-user-guide/how-to-arbitrage)
{% endcontent-ref %}


# Why did I receive pToken?

## What is a pToken?

pToken (O3 pegged token) is the cross-chain soft asset pegged(1:1) from its native token through the O3 protocol. As a medium, it enables the most basic cross-chain function. It’s not necessary for users to have any interactions with pTokens in a normal cross-chain transaction. The only scenarios a user will have to interact with them is when performing Peg, Barter, or arbitrage in the Hub.

![](https://lh6.googleusercontent.com/z2LPxhi2qpE-SekpQfvYb6LTew_nvrxqbQ0i9bU9fNg5659JWtt1BoL1vR57B9_JrJztTY2_CdRoDnFDcN8WZud5K0AFOuPbsu2L7XjEnFSXkSEIEce4jg9LLEHWmY4yU0Qj_2WPLKT7rJ8LMjO9SC8)

When a bridge or cross-chain swap transaction with a higher slippage than the user had previously set occurs due to its low or fluctuated liquidity, the barter on the destination chain may fail, then the user will receive pTokens.

To avoid it, do not set the slippage tolerance too low.

![](https://lh6.googleusercontent.com/bou6narM7gIt443FMBHMK7bRtDGsXIO0GtUO8KjUEXBVa7FORUDB0AKumTXyZiTz-dA3QrnearvkSzwXX9rAdtifYoIT3Hqq6_0oVOXpbILL1pyhITkOmPp7J-bYeA6d2JuEhoiH5_8lwXxgZYrO5IA)

{% hint style="info" %}
Do not worry if it did happen, check the [Userguide](https://docs.o3swap.com/o3-swap-user-guide/how-to-convert-between-ptoken-and-token) to convert your pTokens back to Tokens.
{% endhint %}


# How to connect my wallet?

Remember that you need to connect your wallet before you are able to make any transactions.

Click the “Connect Wallet” button on the right side of any tab in [v2.o3swap.com](https://v2.o3swap.com). Select the wallet extension or app that you want to connect to by clicking the “+” button.

Confirm the connection in the pop-up window of your wallet extension or app.

![](https://lh6.googleusercontent.com/rn1ouxX9p3zC1E9WlKk2z-9ZLsiE7eb4U-QV32qp52bkH_eqhjJAnqZfID_jG_sxvoHQzCEF3GnecNNjAqUj_1aQHgwEHLH5fxOsfebxH7ZDKY3LX2NXLrWxMqp_-jsVBJ5msnDnb4--6CaPAQ)

![](https://lh5.googleusercontent.com/sgsNtmrAPyNfWoDQL20dq5RJGLeci_yTXkZaHFLExubl3ArfqDZBIrEgnXrJKh3i9o2xgApE830bBZdd041RyWlsFD03ma_QIS8QeJPYAOlhn0G8fy3WxJyeiiWnVJDLF_XBmfWNqD6tHtaqpw)


# How to Bridge？

### Step 1

Go to [v2.o3swap.com](https://v2.o3swap.com/). Click on the Token Logo or the down arrow to select the token, then put the number of tokens that you want to bridge in the input box on the left side.

![](https://lh4.googleusercontent.com/7CIBxcSSiszPKEMZB4jOQca2dIyqORIJoKQNJxO6RAlBo3LZWGcKpODmlEyGUVUMHzfo-azZNEeHUppmmHQ7VP6OUbsOAszu8FtOA8FrRyiB4wIYauOvibdnLQ3TcWtUmuSeWaUoZdPOYuFfcw)

### Step 2

Click on the “From” box to select which chain your token will be bridged from.

Then click on the “To” box to select the chain that you want your token to be bridged to.

![](https://lh4.googleusercontent.com/iJwX2qvAP8hmnmfS_uo8vXgZ0NMsLU6LROHE0HPSQgzkm7TtVOdKJMVeoYY7C8YNVWkkoTMSIBockR380FGkBWfiXrEz0PBVYaqHHOJwM1utSbC24z8-ax7Bvw-e__GILfT1uvKsYeBSFaVXhw)

### Step 3

Click the “Confirm” button to continue the transaction, and click the “Confirm” button in the pop-up window of your wallet extension or app to submit the transaction.

![](https://lh3.googleusercontent.com/GUkfGsmM-XcG3NNmVr0yXW37VQtNtyqGY_a3yEEJblFMPUtCDHe0o7j8Z-ZS7j5OItsZKf2nc-zqWq237Ybl4JLVBc05eDFMKiGmM3fauPuuIBoOQcd2Aqtj7VN2EvEfum0Mxhouvvt2AxTRug)

{% hint style="info" %}
If it is the first time that your wallet or the token you select is using the Bridge, you will need to click on the “Approve” button at the pop-up window. Then click Confirm again. The final step is to click confirm in the pop-up window of your wallet extension or app.
{% endhint %}


# How to Swap?

### Step 1

Go to [v2.o3swap.com](https://v2.o3swap.com/). Click on the Token Logo or the down arrow to select the chain and the token that you want to swap from, then put the number of tokens to transfer in the input box on the right side.\
\
Then select the chain and token that you want to swap to.

![](https://lh3.googleusercontent.com/gtH_FIrNYoDUAqdadRV7yzynBLx1qf2UGKF4lTAzj2BgDxrKRCCdoD8M9ALGbLPff6xojdHyijw-k-DdZZH9BFxA-6ktN3FfUORtvBNa5xDKDRaMQIfAJJ92ZiN-3Zce04Pqf5lK2VHPOh8m5w)

![](https://lh4.googleusercontent.com/kkuq-8ZXMdU0ifclSjndNwyrIDFNV2VsA_vIot-06i6VyEGbWvxbvIvcFVSykp-gHX4eItwMfLZakC-j2eTI9AYbzuQp02--oDeEJXtBYOUAcNUZnrMGMjmD7C4bkVggx1bGWCyHXQwSEqHtvw)

![](https://lh3.googleusercontent.com/fEeCcgTRZiBDnqooBbPXuiqiC9KKbWUXz3w3cjM-SpYWP2M-cWFWl-QqVMzyYr6CzPbdU1C7iR4elQwMwiI6UmX7lJx5500IuuG41fyVMcV_JCH5R2xkGrGNxsmuADqHX2SSVvlWMMAkEAmhrg)

### **Step 2**

Click RFQ(request for quote) to get quotes. You will get an optimal price routing by default, and you can also choose other options by clicking on “More Trading Price”.

Then click the “Swap” button to continue the transaction, and click the “Confirm” button in the pop-up window of your wallet extension or app to submit the transaction.

![](https://lh6.googleusercontent.com/IDavsOLM0iPVUM6s87ZSRqpGfdC3-iTnTt9mjnh4EaK_SMzUMU2R2iTXBQytbUZNw0NKTFWBFlqXo4FFTNeWcWGo_25_g9ynN8usL1JVQ4BH6kCGKa_DwE4ANdsIfAQDJ6uaWtK8nIKwVLsCoQ)

![](https://lh4.googleusercontent.com/J8aFHf4RFsv0ylfNed8jUJpsfVo1vqntHlNls86J_pGfuxVBR2Faf11nXvSZJU2lG9P8XwVb0HOv_dbwLdR8K84FWt0rTWesVttM6XOj1n83O-wbZEkn-8yYpvvd8g8CZ8bOX_y94S9IOwR8Rw)

{% hint style="info" %}
If your transaction involves swapping on the DEX on the destination chain, the default slippage tolerance will be set to 5% to increase the success rate. You can still set a lower slippage, but lower slippage may cause failure on the destination. You also need to check the checkbox for the agreement of receiving pToken when the failure occurs on the destination chain.
{% endhint %}


# How to Convert between pToken and Token?

Go to [v2.o3swap.com/hub](https://v2.o3swap.com/hub) to convert via Peg or Barter.

### Convert via Peg

Click on the Token Logo or the down arrow to select the chain and the token that you want to Peg/Unpeg from, then put the number of tokens to transfer in the input box on the right side.

![](https://lh4.googleusercontent.com/8XJpIt6Kdn9g_pEldOV5bsFwLCoXmNqlhhplRXS7bRowq1zexSizj5MbKMwnSy10K_9GPWmDRev_76tAU5j14u1hiGzjV1w7yFNRbcYvC94zWZOgnU1sm64IG1CGqCVFLQVkVGPXIXkWI36_ZA)

![](https://lh5.googleusercontent.com/6TG6MyDCfWi-lgdkynI4_SCmyq_NIQXatA6tknYloagWnoudXmHNi4wdQFJV6i3TiG2aVhJckSxmnKRZaTU30DtusTqxGl4prPEjGLeKkgQWthWZ7MDSYsKoVZDEBeUHq7kfG2BZqt9ixKIMHg)

Then click on the “SELECT” button to select a chain to Peg/Unpeg to.

![](https://lh4.googleusercontent.com/xDAAEeS-1mib6FRslPnl2cntq40naMWojaFnbqJxwcsoc-7WG_KcUcYLe8RnjQTJ4A3hbL0TR0Gvi9mciLyEmH1arGGiqYqmYzLEOhn71qZp5PT3JgeTWSvWpYMYT-NXz7yY55IikTzt1ChCqw)

![](https://lh4.googleusercontent.com/FJYHjg7puQ6Jd-R_TJ1OA36v30OCKOj2ne8aQEKe3HfBd-OaT3aKnLRBYCGpjcpKN1f1TZqgCVGGClZdbWovSwlWEv1wMr3Ho7JmjmyyeCg27FHnTxZeTMoHxlGGDeHn0IpAvL_uFacutCY69Q)

Click “Confirm” to continue the transaction, and click the “Confirm” button in the pop-up window of your wallet extension or app to submit the transaction.

![](https://lh4.googleusercontent.com/2AahxfZy2v77JCiZDVTwZJEJ0cnS87-Z4QIJpyY0Wvg97D_R9h328PCxde0atDD-AQlh6no2kqya2cRXDj4W3nN9ke-D8L5pIuj8txb_G9RZ-Um5kObAoOy-5QjArNdDJUbBa8_alOwc50z0rA)

### Convert via Barter

Click on the Token Logo or the down arrow to select the chain and the token that you want to Barter, then put the number of tokens to transfer in the input box on the right side.

![](https://lh3.googleusercontent.com/KSwPlHg_3_77cmJ8sB6ywYHyNIytmr3Fn8hL9plcEzhANlV12Lpeu4XSsxuyfqvY8yYiXXFBtEjHl8oetqxHXWAZoodvNo-5Dn8yzunkzElFbGkDVpYcBxO2CXxyeeYdLlQLraLSpnnRGbRhSw)

Click “Confirm” to continue the transaction, and click the “Confirm” button in the pop-up window of your wallet extension or app to submit the transaction.

![](https://lh6.googleusercontent.com/bgcDG6KYm9LsfsNeTykzWYPCCHS7pj6U5tOsJNnzSwUiNZg2hk5FtYOJ4gsuobj06gJyBxCJ2P3w7MChJ8GpuEa7kWD4gI7rw53IvxIpfLeA6LJb9N_HvRCPKZxiZO49NGeRDLEIU3xT3Zh-MA)


# How to use Gas Station?

Click the “Gas Station” button in the lower right corner of any tab in [v2.o3swap.com](https://v2.o3swap.com/).

Click on the Token Logo or the down arrow to select the chain and the token that you want to pay, then put the number of tokens to transfer in the input box on the right side.

![](https://lh3.googleusercontent.com/HU7RCHPSb_xrVdu6yPSVgPHfOHHROYvbVhcCdD__NrLcN8qPAA_MvsMTQVIT4c_eWM7msx9Xwq-BOF6O484H3bUxdI_5ZFc7_hU7kIIWICWczSBsbU6_8AatmOJRI0NIleOvmiP7dkX5ioviTA)

![](https://lh4.googleusercontent.com/vo1fHKMuye5xuLcz6enJfQKJvU2TJ58_S8EnRYeUpT-y4UYop_aqX8y4Af-xFNhf3-f2xuUqaOXsPqSU-M2_KNaz1XUQ4DvNpza5pXOue38hxCDV8XD-WrzVXMwfoVtEhmWZAV2GWcsyGeFmlQ)

Then click “SELECT” to select which chain’s gas asset you want to get.

![](https://lh4.googleusercontent.com/QeCZf9jfFzrPViRp2O46yv3v-wPZIHoUJj9mjwCQ4FjQ5vzKB1nUmZWxn7-2L2eXTNa_OdP1UvYGv84q9zvlbfW76cY5dANje5efo7JxJ42nP6S08eOJWLQhjayrJ_mqr4LgVJCOaQxToEdqQA)

![](https://lh4.googleusercontent.com/axBHRDnoPNx-Oij9N9bW5iO_Ry8X0NiRr61HfCxgS8GVUCAH0CySCVhWIP0IRzExHVx0X_9Z7znS-6hpcPEZodUBAFtKwcFwqX8R-OY73e-RXhlEwdvboDfem7sNMKbk7p2zZfPhyUCkAmbmUg)

Click “Confirm” to continue the transaction, and click the “Confirm” button in the pop-up window of your wallet extension or app to submit the transaction.

![](https://lh5.googleusercontent.com/7u69CeroBmcLszdMwZzeUv0mMgGvaDE_gNIhSfbJGwCAlVyBy9lbCFm3DP_CAE4ibykxf1PJsNnU8LgcvGFp4_goh47J4dd1UDk2V2lULSW7KyfXGqZ7RnWRPApB1xbIs8ACMwgGlHZlSIYXUQ)

{% hint style="info" %}
If your transaction involves swapping on the DEX on the destination chain, the default slippage tolerance will be set to 5% to increase the success rate. You can still set a lower slippage, but lower slippage may cause failure on the destination. You also need to check the checkbox for the agreement of receiving pToken when the failure occurs on the destination chain.
{% endhint %}


# How to view transaction history?

Click the “History” button to show the 50 latest transactions.

![](https://lh5.googleusercontent.com/4mVc-Nm46plhmkXydzRwRPXhxg0JvBagknNVhlZ5ky5hagz8sNBWPGuuA4z7pYw8NGdNSi9KNXh6RQGr7y8j-r2jRQtiefW_p-CuT7i9EX0_0fxGRxVXODEQ2JzNTn9p0JvTbfTOD40IXFWKAg)


# How to set a slippage tolerance and transaction time limit?

Click the settings button to open the settings, select a recommended slippage, or input a custom slippage in the “Custom” box.

Then click the back button to continue the transaction.

![](https://lh6.googleusercontent.com/CoFELeYoyJfypovFZ7V-C10siads4dLdeuX-QSmudtD-7zJr7q_goy6an4reH99mGF-YX3DzkGvA7aTMwAVPQLVVBmN6pD11TMp2tqV7xkC1lq73jVvJrIeNdQwZyv7Gzxp4JPvtzkC6UAIqBg)

![](https://lh3.googleusercontent.com/mY5kmI9uzpYqIv6AVzGiN3j7nDjNE6bRgu4fozIPQmffv1kmgeaYeOjloQxM7NGgDLsfp8ZK36WDLtxZ-Aav6kpa2GR7lMsD_FGM3zJxxGZbtE0fTKmGCZJDsdDn_JnR_xw-OQn_3zBldeR5zQ)

The default transaction time limit is 10 minutes, which means after 10 minutes of pending, the transaction will be canceled and you will get your tokens back.

You can input a custom time in the box, and click the back button to continue the transaction.


# How to add liquidity?

Go to [v2.o3swap.com/hub](https://v2.o3swap.com/). Select a pool that you want to deposit your tokens into from the pool list. You can input the token name or chain name in the search box to quickly find your desired pool.

Click on a pool tab to show the pool details. Select the pool you want to deposit into and click "+".

![](https://lh3.googleusercontent.com/hMFM8a-L_-i8OlabyaNzKSqdLzSEYOHB1YZ80H_5A_51fXMp96wnIyuWA33Dea9RXGntwI0xPbRO4Jbn6yX8Swyh0S08WjufQvmd38RGRBOFSv93y689fFbFEUXhPvayfi4xcUn7z8iDVDzMTQ)

![](https://lh6.googleusercontent.com/ZWkPGvMw47zlxfrBZaCuDdJoHW8tcyt_t-Z0gGqaUfnMxlHgPbNHbQHNhEpWVdJGa2miYXZpKgzUnnb2SnALeFVSeM6-VQhpm_bQ_OOCiWRcKt4ZolMpeMq36KtOWczxuUo-CJCDrs1ZtJuQaQ)

Take the USDT pool on Ethereum as an example. Input the number of USDT, or pUSDT, or the numbers of both USDT and pUSDT that you want to deposit into the pool.

Then click “Deposit” to continue the transaction, and click the “Confirm” button in the pop-up window of your wallet extension or app to submit the transaction.

![](https://lh4.googleusercontent.com/E0skdwGm_z2Kc6yHG1blZ0U0hNwMdG6pktO0heqepdaj-Vpsn4Pc3zTBoUQC_cyW68J1tD47tFdQRPpZDmF_zhp3849_LTOrmmBP-ODpzTXd0SLsgDyCsDvWCVR1TJvEL7E3sMQ-7oaimopRug)

After the transaction, you will receive an amount of LP-USDT representing the liquidity that you have deposited. The amount of LP-USDT you can receive will be shown below.

![](/files/slMbmRGv4ApFogR7vMC4)

![](/files/TIPbrxif3CwZotm4edrF)

![](/files/unzXi1iJuj6wo5FMbI0I)

{% hint style="info" %}
Adding pToken into the pool can reduce the price impact and you will get more LP tokens when there are more Tokens than pTokens in the pool, which means that you are balancing the pool and it will bring you more rewards during liquidity mining.
{% endhint %}


# How to stake & unstake LP tokens for liquidity mining?

Go to [v2.o3swap.com/vault](https://v2.o3swap.com/vault) to stake your LP tokens manually. Click on the chain name to switch the chain and find the staking pool corresponding to your LP tokens, then click “Stake” or “Unstake”.

![](https://lh5.googleusercontent.com/bg5Xt7jwvZ7f1-qdjBil18uacT9zHcZjHtSSeFqJ9SVt7AMlaXgv9IyCcDLfLfELd9szVlA1gTTm1oXxbMS1C323uvPRs7A0nSHbp9OYFU2OFILf1CPJchsvHEO9pZoweEjBXkPjFYxvbMHFdA)

![](https://lh5.googleusercontent.com/QWmbIuoVNcjVmTxjT3qURmX73mCQP0dSA7Q37sE-DqNm1P__LtrKWJPzLsbHg7kVQuF0LKlcG7kwTpC6KjceUYywuJLprh5JRTMWP1ndx-J4DASVRuMwO_gdd2VNea6g1wQf2VVTYlH2Jdy54g)

Input the number of LP tokens that you want to stake for mining, then click “Confirm” to continue the transaction, and click the “Confirm” button in the pop-up window of your wallet extension or app to submit the transaction.

![](https://lh5.googleusercontent.com/_BUhItMpwLt0c0UvLCsc3IiPBUFzip7_CVbxqiNQ5rStGxpJYAH7X1OmYA_I20txcByiaOJt0TJaOrVvc8kC3gmjBaRQrjsgx6S_RQ3NWSxiGDS-7XEiryF2aVugxtCNiVQQXxwGSaNOtgQycA)


# How to claim & unlock O3?

### Claim

Go to [v2.o3swap.com/vault](https://v2.o3swap.com/vault). Click on the chain name to switch the chain and find the pool your LP tokens are staked into.

![](https://lh5.googleusercontent.com/bg5Xt7jwvZ7f1-qdjBil18uacT9zHcZjHtSSeFqJ9SVt7AMlaXgv9IyCcDLfLfELd9szVlA1gTTm1oXxbMS1C323uvPRs7A0nSHbp9OYFU2OFILf1CPJchsvHEO9pZoweEjBXkPjFYxvbMHFdA)

The number of O3 tokens mined will be shown under “Claimable O3” as below. Click “CLAIM” to claim your O3 token, and click the “Confirm” button in the pop-up window of your wallet extension or app to submit the transaction.

![](https://lh3.googleusercontent.com/2lj--eaRlPuRmR3TMBWSbjx_ZgixCMRXHKZkjqCdSsRDgmflsM75wo3WPE2p3xIhUm8SPMB-13jV8X8LzRqy47i6Ofx3hEwj1xQvbsQovKKzJxTHC7C2vLDYAoAVzZCZW_fU5D_SzVUMNhvfVA)

### Unlock

The O3 token mined is at a locked state which needs to be unlocked for further operation. The total O3 token your address holds, the amount of O3 tokens unlocked and the amount to be unlocked are shown at the top area of the [Vault](http://v2.o3swap.com/vault).

![](https://lh4.googleusercontent.com/-8QSFFUDDPU89JfusuHJ1arF7xbQmxjHAWBE5DfteHsJaUFk_cUggYfCpYFi6cVMy7FVcWGBjzBXbgOxvJTgI6CltSc6oc_M_hgrOh6pLMWYxZic1lAf7nj6ip48JqDsaRg_XD_Vjpd6FOPULA)

Click “Get LP” and it will lead you to the main DEX on the current chain.

Take the Ethereum chain as an example, you will need to add an amount of O3-USDT trading pair on Uniswap to get the UNI-LP to unlock your mined O3.&#x20;

{% hint style="info" %}
The O3 token to be added to the O3-USDT trading pair needs to be bought from DEX or CEX [markets](https://www.coingecko.com/en/coins/o3-swap#markets). The mined and locked O3 tokens can not be used to add liquidity.
{% endhint %}

![](https://lh4.googleusercontent.com/EW4HNdtQOB8e_42SJYZTOmElyZwQMIu8eRllIslbZmzF4jMcXEL2jgWmI-izTwEvxF4JXfC_tDOFyJ7XkM9knS5fBaXohH2f6sMN8u9S12eZi0--7MT9fTf06sZ3TO8LYcZ8R4tv3WFl4d3MGw)

![](https://lh4.googleusercontent.com/mPEZoc6rfn_SpqxMgVLRPM6myWLNpVr0UMNjAIJ7Z1aQuMSE67m6AAAUWAxMx1sQh2P2CtTaM6EfeM7l3jifhqw6aF7h-yx59xejclLydtTsclKmv08tcJoFBG0wDImPZDCeTqnda0nFkC3iWg)

The optimal amount of UNI-LP you need for unlocking can be calculated by the calculator as below. Input the number of O3 tokens needed to be unlocked then it will show you the least amount of O3 and USDT you need to add on Uniswap to unlock at the fastest speed. You can add lower or higher than this amount which differs the speed.

![](https://lh3.googleusercontent.com/2D6zmwNqm6MBL9sIeXrmJxhCAxZOz_jvdaas6rEY5iLdx4tdj43Tc66QezjVFQBxv4G7zwqK3_cSll22aL_hhwmsjcS_eqQUZYdy0uJ1oE0tcg49l4EylfOk-D5RVj0dDahWaynApaqVNojdBw)

![](https://lh3.googleusercontent.com/a5B1czGtZ1ZqpaIlReg_npeJWy0xziBVtpKNw28qzpOFVUhuyZZqI8TrsY0eSeULsloTv6x42orWyHUe7FraNdSQls-nStt3gW64KtkkNxfadPFWhATglEjeNnGL3nmsIajljm0b0yUsCABesA)

After you get the UNI-LP, return back to the Vault and click stake. Input the amount of UNI-LP that you want to stake for unlocking O3 and click “Confirm”, then click the “Confirm” button in the pop-up window of your wallet extension or app to submit the transaction.

![](https://lh6.googleusercontent.com/xHH3W_HLSp1__eZESrjV5auj4hSeVWlY49Mn3f3EUkxa9UdkFPIx89CpXdlleOZmmBMJi7Q9pwtY7IYXVMWkVNG_VquV_o8ki0a2K8ZIIEwdxmK07TBCEMg4wPKCJU2TQ9iY5yInE-Ppwiixow)

![](https://lh5.googleusercontent.com/2tg3FrXRbGLPzWC6ol2oumumLuEKHD2xQn3ONCVf7VYmCiwW_PzM6UGcXaBmdf6lpxO7DZzQ7DDRFJv7yFFVHGjH93SiZIIh1kjqu8L-6DnOdebrVEKkBZm-up5zA6q8iPUjucEj5QTieGbTqQ)

The O3 mined will be shown under “Unlocked Amount”, then you can claim these O3 and own all the rights and functions of the O3 token.

![](https://lh4.googleusercontent.com/0HwlAXSbZIb_B4rWDgYd3usLrV9UeB9m65NfHSpas8rVmr2SVGu9VqoRCRTrHu65_kQbIaOBMFDRGhJSO9ORla09WB6H4mkc4Rwmlyd44nhks9pjqX0ehTWh3e74teKfMhOl6jxk3Po_7-shGw)

{% hint style="info" %}
The LP tokens received from DEXs can be used for unlocking multiple times and can be redeemed back to the tokens you have added.
{% endhint %}


# How to remove liquidity?

Go to [v2.o3swap.com/hub](https://v2.o3swap.com/hub). Select a pool that you want to withdraw your tokens from in the pool list. Turn on the “Staked Only” button to show your position pool only, or input the token name or chain name in the search box to quickly find your position.

![](/files/M91zVKhDoafCxyXz2Gzn)

Click on a pool tab to show the pool details. Select the pool that you want to withdraw your liquidity from, and click “-”.

![](/files/03bFEEO7zpXlNhMsjcnb)

Take withdrawing USDT/pUSDT from the pool on Ethereum as an example, there are two kinds of withdrawal modes.

### Optimal Pair

“Optimal Pair” mode enables you to receive the maximum amounts of USDT and pUSDT without price impact according to the current ratio of USDT: pUSDT in the pool.

Input the number of LP-USDT that you want to withdraw for USDT and pUSDT.

![](/files/w14EVsRIsr31ZasUvwJn)

The numbers of USDT and pUSDT that you can receive will be shown below. Click “Withdraw” to continue the transaction, and click the “Confirm” button in the pop-up window of your wallet extension or app to submit the transaction.

![](/files/Neg8jWU60E2DCAm4Q5Z4)

### **Single Token**

Switch to “Single Token” mode, you can choose USDT or pUSDT that you want to receive when withdrawing your liquidity. There might be a price impact according to the current ratio of USDT: pUSDT.

Input the number of LP-USDT that you want to withdraw for USDT or pUSDT.

![](/files/S1biYAJBfdMD2LsESCg9)

The number of USDT or pUSDT that you can receive will be shown below. Click “Withdraw” to continue the transaction, and click the “Confirm” button in the pop-up window of your wallet extension or app to submit the transaction.

![](/files/IUyhvcNAG9pq9WqQ7qcp)

{% hint style="info" %}
The LP token has to be unstaked from the “Vault” before you can withdraw your liquidity.
{% endhint %}


# How to arbitrage?

Arbitration can not only bring earnings to arbitrageurs and balance pools but also help cross-chain users trade with less slippage.

**When Amount(Token) > Amount(pToken)**

Take the USDT pool on Ethereum as an example, there is an apparently larger amount of USDT than that of pUSDT, which means the USDT/pUSDT exchange rate is larger than 1.

![](https://lh5.googleusercontent.com/F1RJJlxtn1CNHsECHJ1irJTELqInTT347V475XSLSSeU_tin5wIqqTOX8k7hvdz7dJHtCRbRRs71uvhHVWIeYSGMMt11-Y3rNf9HbLBh2KL0Sa-7rIKTszHd_ww0fkWUlPJUf7scQU3zu8VkbA)

In this case, you can Peg 200 USDT to 200 pUSDT at a 1:1 ratio.

![](https://lh3.googleusercontent.com/sd-qpwIDD_2Ylr0m21_x7JEgYE375wHPelWnJEpC4E3zfACgVrUrwrQbPNgECOObgUIICxT9IOvQvucV15u0iqUPe5iNu728j7boe1HQeAQiKcu-AxPTrdG8VImekSvcOAW-QDBBsesQUWzWbw)

Then Barter these 200 pUSDT for 200.65 USDT, and your profit is 200.65 - 200 = 0.65 USDT. After this arbitration, the pool becomes more balanced.

![](https://lh6.googleusercontent.com/VzXFCNcoZzB92tn4YAn1xfHc3ROV0z2cfYGAeIcKuHd8OGr7_3dze5jnkUj7a0xi4yaMWbnf8PqybwjRFQwl7vHYN9N10_dzN0-Fc4u41ziynIF_gv2WfzK4FnOFaCOjfIcQtpnoVx8QxvCeNQ)

**When TokenAmount < pToken Amount**

Take the USDT pool on BNB Chain as an example, there is an apparently smaller amount of USDT than that of pUSDT, which means the USDT/pUSDT exchange rate is smaller than 1.

![](https://lh5.googleusercontent.com/Kb17yN3LvW3C8FQ3d_8l2afdaV-ehJ062bvCjpJx2YaBo_l-Fx9GGRR5fZjyuDfh_GTEnAS5JU6LuN3ZlAk1mI0IBy5t72jm49ojBzYyyG0YXZQ20b2yGny5QN2xuJsRy9fO6u7Yeo-BPFJ-Xw)

In this case, you can Barter 200 USDT for 200.65 pUSDT.

![](https://lh5.googleusercontent.com/-O_tzKrkKF6FCer_oKVGTz8dxMh9wLL97O27MFXATci1VyWyyX1UpIITFXw4g4wDoTkcC1VP4jv8snTOzSsZqWgYjq2o8m71tbIyMvX_OaRgEBuFEOkc9xKHmROMQhGkhh3brA58ekUXrg6iIA)

Then Unpeg these 200.65 pUSDT back to its Liquidity Entry Chain, which is Ethereum for 200.53 USDT, and your profit is 200.53 - 200 = 0.53 USDT. After this arbitration, the pool becomes more balanced.

![](https://lh6.googleusercontent.com/O1a5txAMn6iAWfKu5q878mnnKpTCu-8SZGNGiragJdM9u9RAxnBT31Gw9dZB7-yfxFupmoloUGyT0wM9umvMmtvjjfaaOOJv533TWaYQkeaRPPhcAfTyc7sCeXtSPepzupn3JXj7sM_QWu28yQ)


# Features Q\&A

### What is O3 Interchange?

O3 Interchange is the name of O3 Swap version 2. “Interchange” means it can connect to different networks and also support cross-chain transactions between different assets.

### What is the Bridge?

Bridge is a popular cross-chain solution for symmetric assets and adopted by most of the cross-chain protocols. It only allows a user to bridge X asset from chain A to chain B.

### What is the Swap?

Swap(or cross-chain swap), presented by O3 Interchange, is the innovative solution for cross-chain transactions between asymmetric assets. By aggregating DEXs’ liquidity on different chains based on the Bridge, users are able to cross-chain swap X asset from chain A to Y asset on chain B.

### What is the Gas Station?

Gas station is provided by the O3 Interchange for users to exchange gas on the destination chain. Users can exchange X asset on chain A for the gas asset of chain B based on the functionality of the Swap. This helps users to acquire the gas they need for further transactions on the destination chain and also bypass CEXs.

### What is the Hub?

Hub is the liquidity center of O3 Interchange supporting the trades among Bridge, Swap, Gas Station, Peg, and Barter. It is an aggregator of liquidity pools (NPAPs - nativeToken & peggedToken AMM Pools) in which liquidity providers can add & remove their liquidity, Peg and Barter.

### What is the Vault?

The vault allows liquidity providers to earn rewards by staking their LP Tokens after adding liquidity in the Hub, and to claim and unlock the earned tokens.

### What is the new version of the O3 Wallet?

The new version of the O3 wallet is "O3: Cross-Chain Wallet" specially designed for mobile devices which incorporates the Bridge and Swap functions of the O3 Interchange. In addition to the natively designed UI and smooth interactive experience, the wallet allows users to do cross-chain transactions at the tip of their fingers.

### What is the O3 aggregator?

The O3 aggregator is one of the critical management units in the liquidity network of O3 Interchange. After reading users' cross-chain requests, it can swap asymmetric assets across chains by utilizing the liquidity from the liquidity layers 1 and 2.

### What are liquidity layers 1 and 2?

Liquidity layer 1 is the cross-chain native liquidity pools built in the O3 Interchange, also known as the native token and cross-chain soft asset automated market maker pools (NPAPs). The basic instant bridging of symmetric assets is achieved by this layer composed of NPAPs.&#x20;

Liquidity layer 2 is composed of the aggregated liquidity from different DEXs on each chain. With the help of this layer and the O3 aggregator, an instant cross-chain swap between asymmetric assets becomes more efficient and secure.

### What is native token liquidity?

Native token liquidity refers to a native token that is operable, not mapped, pegged or minted by a third party. The liquidity of the deposited native token helps to transfer the native token from the source chain to the destination chain.&#x20;

### What is a liquidity pool or an NPAP?

Liquidity pools of O3 Interchange adopt trustless NPAPs (native token and cross-chain soft asset automatic market pools), a mechanism coupling native token with the corresponding cross-chain soft asset through ptoken pegged by O3 protocol: n*token+m*ptoken(n≈m). It’s designed especially for exchange between a native token and a cross-chain soft asset to ensure users will receive a native token on the destination chain without noticing the existence of a cross-chain soft asset.

### What is the truthless safety mechanism?

O3 Interchange liquidity pools adopt an AMM pool mechanism similar to Curve, and the utilization of liquidity is totally realized by smart contracts. This mechanism’s reputation for reliability and degree of decentralization has long been validated by known DEXs such as Curve.

### Will O3 Interchange support more chains and assets in the future?

O3 Interchange is highly scalable and secure in a simple way because of its parallel NPAPs and DEX aggregation. As soon as new NPAP liquidity pools are deployed on any EVM-compatible chain, cross-chain transactions with new assets on the new chain are supported automatically.

### What is the price impact when providing liquidity?

Each liquidity pool is made up of token and ptoken, and their exchange rate is continuously changing with cross-chain trades. When a liquidity provider adds both the token and the ptoken to the pool at the same time, the pool maintains balanced. Thus, the LP will receive more LP tokens to earn more rewards. When the provided liquidity tips over the balance between the ratio of the token and the ptoken, the LP will receive less LP token.

### What are PTMCs?

PTMCs (Cross-chain soft asset management contract) is made up of relay consensus networks management contracts on multi-chains operable protocol, Poly Network. It’s used to burn and mint the cross-chain asset on the source chain and the destination chain at the rate of 1:1 to realize the base level of instant bridging of the cross-chain soft asset with extraordinary efficiency and security.

### What is a pToken?

pToken (O3 pegged token) is the cross-chain soft asset pegged(1:1) from its native token through the O3 protocol. As a medium, it enables the most basic cross-chain function. It’s not necessary for users to have any interactions with pTokens in a normal cross-chain transaction. The only scenarios a user will have to interact it is when performing Peg, Barter, or arbitrage in the Hub.

### What is Peg?

Pegging is the act of depositing native tokens into liquidity pools via liquidity entry chain in order to mint ptoken at the rate of 1:1. On the contrary, users can unpeg a ptoken via the liquidity entry chain in order to redeem the native tokens at the rate of 1:1. Ptoken will be burnt after redemption.

### What is Barter?

Barter is the on-chain swapping between token and ptoken in a liquidity pool. The exchange rate is influenced by the current ratio of token and ptoken.

### What is the liquidity entry chain?

A liquidity entry chain is designed for each asset liquidity as the only entrance for native tokens to peg and the only exit for cross-chain soft assets to unpeg. This is the liquidity conservation mechanism first introduced by O3 Interchange to ensure the native token and its corresponding cross-chain soft asset are balanced during settlement.

### What is liquidity arbitrage?

As cross-chain transactions take place, the ratio between trading pairs in the liquidity pool will fluctuate, instead of a perfect ratio of 1:1. The arbitrage mechanism not only incentivizes users to engage in arbitrary trades to profit, but also balances the ratio of trading pairs in every liquidity pool and chain, thus making the cross-chain transaction nearly frictionless. Assuming the quantity of X is much more than pX in a liquidity pool, users can peg X to pX at the rate of 1:1. Then, barter pX for more x in the same chain for the purpose of arbitrage.

### What are the rules of liquidity incentives？

In order to protect the $O3 token price, the total token incentives will be set to a fixed amount per year. The incentives of each liquidity pool will also be adjusting periodically according to its trading volume and governance votes to optimize the liquidity utilization rate and maximize the interests for liquidity providers.

### Can users stake O3 token?

Yes. After the O3 DAO launches, users can stake O3 token to earn the governance token, DAO3, which can be used for submitting proposals and voting. Meanwhile, O3 DAO will introduce the first-ever V2E (Vote to Earn) mechanism to encourage the participation for governance. This one-of-a-kind V2E mechanism is more sustainable and scalable than traditional single token staking. It brings users more economic incentives and a strong sense of belonging to O3 DAO Community.

### Why is the mined $O3 locked? How to unlock it？

The O3 token obtained through the incentive mechanism is locked. Users can collect and check the number of locked O3 tokens in the Vault. The locked O3 token can only be unlocked by staking the LP token by providing O3 trading pairs to the main DEX on each chain. The LP token for unlocking is reusable and valid as long as the liquidity remains in the DEX. Incentive locking mechanism can effectively protect the price of O3 token and the interest of liquidity providers and O3 owners.

### What is the O3 burning mechanism?

All transaction fees will be continuously collected to the Treasury. O3 Labs will buy back and burn the circulating O3 in the market using the collected transaction fees to realize the deflation token mechanism.


# USDC Cross-Chain Transfer Protocol

### Step 1 Connect Wallet&#x20;

Open [o3swap.com/usdc](https://o3swap.com/usdc), enter O3 Swap CCTP-Bridge, connect your wallet.

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

### **Step 2 Select Chain**

This version only supports native USDC cross-chain transactions on Ethereum, Arbitrum, and Avalanche.

Click on the “From” box to select which chain your token will be bridged from.

Then click on the “To” box to select the chain that you want your token to be bridged to.

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

### **Step 3 Confirm Transaction**

Review and confirm that all the details are correct then click “Confirm”.

Click the “Confirm” button in the pop-up window of your wallet extension or app to submit the transaction.

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

{% hint style="info" %}
If it is the first time that your wallet or the token you select is using the Bridge, you will need to click on the “Approve” button at the pop-up window. Then click Confirm again. The final step is to click confirm in the pop-up window of your wallet extension or app.
{% endhint %}

### **Step 4 Claim your USDC**

After the transaction, you need to complete one final step — claim your USDC. Click \[History] on the right, find your corresponding transaction, click \[Mint].

{% hint style="info" %}
your USDC needs to be claimed on the target chain, in this case Arbitrum, your MetaMask wallet will prompt you to switch networks. After switching to the correct network, click “Claim” again.
{% endhint %}

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

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

### **Step 5 Wait for your cross-chain transaction to complete. It is now processing.**

While your cross-chain transaction is processing the status will change two times:

* Claim
* Success

**Note:**

1\. If any unexpected issues occur, you can refresh the page and click “Claim” again.

2\. If your transaction got stuck, click the search button shown below, paste your tx hash and speed up your transaction. You need to play a small gas fee on the destination chain.

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


# O3 Widget

Customize the [O3 Swap Widget](https://o3swap.com/widget) preset and integrate it into your website without any additional coding work, and allow your users to swap tokens across chains without leaving your dApp!&#x20;

#### See what you can customize below:

* Choose between a horizontal or vertical view that best fits your website UI.

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

![](/files/XdHYRY8XtWyY4oUc4SPJ)

* Select the language for the widget. Currently, English and Chinese are supported.

<div align="left"><figure><img src="/files/f1IWqYownjxVnjozHyZZ" alt=""><figcaption></figcaption></figure></div>

* Pick a theme color that matches your project's branding style. You can customize any color or choose from a default set.

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

* Set the default option for the widget. You can paste the chain ID and token address to specify the default source chain, source token, destination chain, and destination token.

<div align="left"><figure><img src="/files/1rNSxj0ATnXCXrzaGhWL" alt=""><figcaption></figcaption></figure></div>

Once all the [Presets](https://o3swap.com/widget) are configured, simply copy the code by clicking the button in the upper-right corner. The widget can be integrated with ease, and you can also customize the settings directly in the code.

<figure><img src="/files/4ukHWwQKFUgkpduph9e6" alt=""><figcaption></figcaption></figure>


# O3 SDK

The O3 [V2-SDK](https://www.npmjs.com/package/@o3swap/v2-sdk) allows developers to integrate the Bridge & Swap functionalities of O3 Swap V2(Interchange) into your dApps or extensions where users will be able to swap tokens across chains fast and easily without redirecting them to another website.

Feel free to [Contact Us](https://discord.gg/rBmE9RQB2H) if you need any help regarding the integration.


# Contact Us

#### **If you have any questions or feedback. We'd love to hear your ideas for how we can make O3 Swap better. You can contact us via email or main social media.**

> ### Email: <support@o3.network>

{% hint style="danger" %}
**Please be aware that our admins will NEVER send you a private message at first. If anybody approaches you directly e.g. pretending to represent customer support, please block them and report it as spam.**
{% endhint %}

{% hint style="danger" %}
**NEVER reveal your Private Keys and Mnemonic to anyone for any reason!**
{% endhint %}


# Resources

## **Links**

* **O3 Swap v2 (Interchange):** [**https://v2.o3swap.com/**](https://o3swap.com/)
* **Github:** [**https://github.com/O3Labs/o3swap-v2-core**](https://github.com/O3Labs/o3swap-v2-core)
* **SDK for integration:** [**https://www.npmjs.com/package/@o3swap/v2-sdk**](https://www.npmjs.com/package/@o3swap/v2-sdk)
* **Download O3 Wallet:** [**https://o3.network/#/wallet**](https://o3.network/#/wallet)
* **Download NeoLine:** [**https://neoline.io/en/**](https://neoline.io/en/)
* **Metamask Github:** [**https://github.com/MetaMask/metamask-extension/releases**](https://github.com/MetaMask/metamask-extension/releases)
* **Metamask extension:** [**https://metamask.io/**](https://metamask.io/)

## Media Article&#x20;

### Publish0x

{% embed url="<https://www.publish0x.com/o3-labs>" %}

### CoinTelegraph

{% embed url="<https://cointelegraph.com/news/cross-chain-protocol-brings-together-liquidity-sources-from-multiple-networks>" %}

{% embed url="<https://cointelegraph.com/press-releases/learn-about-o3-swap-from-the-defi-cross-chain-market>" %}

{% embed url="<https://cointelegraph.com/news/decentralized-exchange-aggregator-crosses-defi-blockchains-for-best-trades>" %}

{% embed url="<https://cointelegraph.com/news/how-cross-chain-liquidity-aggregation-can-shape-the-future-of-defi>" %}


# Become a Community Partner

With the growth of O3, we are recruiting O3 Community Partners from market, and we will cooperate with more blockchain KOLs (Twitter/YouTube) recently.

### **General Information**

* Position: Part-time
* Location: Shanghai, Tokyo, Remote.&#x20;
* Time-zone preference: Any

### **Responsibilities:**

* Develop cooperation with high-quality and potential media & KOL.
* Participate in the company’s overseas marketing program.
* Plan promotional campaigns such as contests, coupons, or giveaways.
* Product optimization plans based on overseas market demand.

### **Requirements:**

* Prefer native English speakers, with outgoing personalities.
* Have resources on different influencers, opinion leaders, crypto funds, small and big whales, and exchanges.
* Blockchain industry knowledge is a plus.

### **How to apply:**

Email: <contact@o3swap.com>&#x20;

You can also tell us which blockchain KOLs you like. ❤️❤️


# Terms of Service

### **1. Terms**

By accessing the website at <https://o3swap.com/> or using the application (O3 Wallet), you are agreeing to be bound by these terms of service, all applicable laws and regulations, and agree that you are responsible for compliance with any applicable local laws. If you do not agree with any of these terms, you are prohibited from using or accessing this site. The materials contained in this website are protected by applicable copyright and trademark law.

### **2. Use License**

1. Permission is granted to temporarily download one copy of the materials (information or software) on O3 Labs's website for personal, non-commercial transitory viewing only. This is the grant of a license, not a transfer of title, and under this license you may not:
   1. modify or copy the materials;
   2. use the materials for any commercial purpose, or for any public display (commercial or non-commercial);
   3. attempt to decompile or reverse engineer any software contained on O3 Labs's website;
   4. remove any copyright or other proprietary notations from the materials; or
   5. transfer the materials to another person or "mirror" the materials on any other server.
2. This license shall automatically terminate if you violate any of these restrictions and may be terminated by O3 Labs at any time. Upon terminating your viewing of these materials or upon the termination of this license, you must destroy any downloaded materials in your possession whether in electronic or printed format.

### **3. Disclaimer**

1. The beta product launched by o3 labs is provided on an “as is” and “as available” basis, and the primary purpose of this beta version is to obtain feedback on the product performance. You are advised to safeguard important data, to use caution at your own risk level, and not rely in any way on the correct functioning or performance of the beta product and/or accompanying materials.
2. The materials on O3 Labs's website are provided on an 'as is' basis. O3 Labs makes no warranties, expressed or implied, and hereby disclaims and negates all other warranties including, without limitation, implied warranties or conditions of merchantability, fitness for a particular purpose, or non-infringement of intellectual property or other violation of rights.
3. Further, O3 Labs does not warrant or make any representations concerning the accuracy, likely results, or reliability of the use of the materials on its website or otherwise relating to such materials or on any sites linked to this site.

### **4. Limitations**

In no event shall O3 Labs or its suppliers be liable for any damages (including, without limitation, damages for loss of data or profit, or due to business interruption) arising out of the use or inability to use the materials on O3 Labs's website (<https://o3swap.com/>, <https://o3.network/> ), even if O3 Labs or a O3 Labs authorized representative has been notified orally or in writing of the possibility of such damage. Because some jurisdictions do not allow limitations on implied warranties, or limitations of liability for consequential or incidental damages, these limitations may not apply to you.

### **5. Accuracy of materials**

The materials appearing on O3 Labs's website could include technical, typographical, or photographic errors. O3 Labs does not warrant that any of the materials on its website are accurate, complete or current. O3 Labs may make changes to the materials contained on its website at any time without notice. However O3 Labs does not make any commitment to update the materials.

### **6. Links**

O3 Labs has not reviewed all of the sites linked to its website and is not responsible for the contents of any such linked site. The inclusion of any link does not imply endorsement by O3 Labs of the site. Use of any such linked website is at the user's own risk.

### **7. Modifications**

O3 Labs may revise these terms of service for its website at any time without notice. By using this website you are agreeing to be bound by the then current version of these terms of service.

### **8. Governing Law**

These terms and conditions are governed by and construed in accordance with the laws of Japan and you irrevocably submit to the exclusive jurisdiction of the courts in that State or location.


# 歡迎來到 O3 Swap

O3 Swap 是一個跨鏈聚合交易平台，允許用戶在一個平台上訪問多鏈流動性來源。你會在這裡找到什麼：

{% content-ref url="/pages/-MXBvTmgsm\_teh0fvOhK" %}
[O3 Swap Litepaper 繁體中文](/fan-ti-zhong-wen/o3-swap-litepaper)
{% endcontent-ref %}

{% content-ref url="/pages/-MXCDg3MvWtplerH32T4" %}
[聯繫我們](/fan-ti-zhong-wen/contact-us-1)
{% endcontent-ref %}


# O3 Swap Litepaper 繁體中文

Version 1.0 / June 2021

## 1. 介紹

### 1.1 簡介

O3 Swap 是 O3 Labs 團隊孵化的跨鏈聚合協議。O3 Swap 的使命是為用戶提供基於加密貨幣的金融服務，允許在其去中心化錢包中兌換各種加密資產。此外還提供“跨鏈兌換”以實現不同網絡中的資產結算，而無需考慮典型的區塊鏈網絡的局限性。隨著去中心化金融協議（DeFi）的蓬勃發展，借貸、交換、衍生品等開放金融市場日益成熟，我們希望通過 O3 Swap，結合去中心化錢包，打造一站式的聚合交換平台，為開發者與用戶提供更自由與開放的交易環境。

### 1.2 背景

O3 Labs 於 2017 年在東京成立，是老牌的區塊鏈開發團隊之一。核心產品 O3 Wallet 在歐洲、美國、日本加密市場有著良好的用戶口碑，致力於為全球 40 多個國家的 150,000 名用戶提供專業的數字資產管理工具和服務，在日本、歐洲、美國、俄羅斯、韓國和中國擁有超過 40,000 人的 O3 社區。

### 1.3 使命

DeFi 的創新為行業帶來了諸多實際應用，推動了開放金融的發展。去中心化交易所（DEX）就是一個顯著的例子，隨著消費者的參與和激增，它逐漸被市場認可。以太坊 DeFi 項目總質押價值已超過 600 億美元（DeBank 數據）。然而，網絡擁塞和擴展性差導致了高額交易費。隨著各種 Layer2 方案的出現，以及一些側鏈如 BSC 和 HECO 的努力，現在投資者有了更多的選擇。然而，區塊鏈之間的屏障仍然限制了資產的使用，而 O3 Swap 有助於應對這些限制。

為了提供更高效、更簡單的交易方式，我們比較不同鏈上的著名交易所，為用戶找到最具效益的交易費率。此外，我們透過跨鏈協議來連接不同的區塊鏈網絡，並允許用戶在不考慮網絡屏障的情況下自由交換資產。

### 1.4 特色

1. 無許可，抗審查：在任何環境下，任何人都可以無需許可的訪問使用，並且不需要通過任何的 KYC 審查。
2. 流動性聚合：用戶通過去中心化錢包可以一次性直接訪問到對應網絡上多個的 DEX 的流動性，獲得最優質、有效的交易價格。
3. 跨鏈交易：基於市場上成熟／有潛力的跨鏈解決方案上構建跨鏈交易池，讓用戶能夠實現在多鏈資產之間自由交易。
4. 社區驅動：根據 O3 Swap Token 的發行與經濟模型創新設計，最終將實現去中心化治理與社區驅動發展。

## 2. 功能模塊

### **2.1** 分層架構

![](/files/-MXBya9ImdwTlkjZCqAf)

O3 Swap 通過四層的結構來確保流動性市場的信息完整及對稱性，為用戶提供安全與高效的交易環境。

1. Networks（網絡層）：網絡層是 O3 Swap 的基礎，包括了以太坊、BSC、Neo、Heco 等公鏈網絡和具有潛力的 Layer 2 網絡。
2. Market Liquidity（流動性市場）：O3 Swap 在不同鏈上部署聚合協議，連接與聚合多個優質 DEX 的流動性，為用戶推薦最佳的價格和交易路徑。
3. Settlement Layer（結算層）：用戶通過 O3 Swap 連接交易池 ，基於私鑰簽名授權、通過智能合約來完成結算交易。另一方面，通過跨鏈協議與跨鏈池幫助用戶完成跨鏈的資產轉換與結算。
4. Application Layer（應用層）：將對應的服務和智能合約封裝成統一的API 提供給開發者，同時也為 O3 Swap 用戶交易、支付提供一個更方便易用前端界面。

### &#x20;**2.2** 系統設計

![](/files/-MYF2yxJFrjeJh3GPIhn)

O3 Swap 的主要功能模塊包括兌換聚合器（O3 Aggregator）和跨鏈池（O3 Hub）。 O3聚合器部署在主流區塊鏈上，幫助用戶在相應的網絡中找到最有效益的交易價格和路線。 跨鏈池為用戶提供基於 Poly Network 的跨鏈交易服務，同時支持用戶通過來自不同鏈的代幣來添加流動性，以賺取跨鏈交易費和 O3 獎勵。

### 2.3 O3 聚合器

![](/files/-MXByzFEcaz6UUjXQGCy)

1. Users：通過加密錢包連接到 O3 Swap 進行挖礦與交易的用戶。&#x20;
2. O3 Relayer：用戶與鏈上合約的代理者。用戶依據不同的需求，授權代理者通過 O3 Swap 找到最合適的交易路徑。&#x20;
3. Swap：作為系統的核心交互機制，接收代理者的請求並實現交易結算。&#x20;
4. Aggregator：負責聚合多個鏈上流動性源，為用戶找到最佳的價格和交易路徑。
5. Cross-chain Pool：基於 Poly Network 跨鏈協議搭建的跨鏈資產交易池，實現不同鏈上資產的自由兌換。&#x20;
6. Liquidity Providers: 流動性提供者，主要包括以下流動性源：

* 來自不同 DEX 的鏈上算法自動做市商。
* 為跨鏈池提供流動性的 LP 做市商。

### 2.4 O3 跨鏈池

![](/files/-MYF5r6MZWLB2ze_YABS)

O3 Hub 由跨鏈資產池和基於 Poly Network 的跨鏈協議組成，使用 Curve 的 StableSwap 不變量，能夠優化為穩定幣提供流動性的算法性能。這樣的優勢在於為流動性提供者提供非常低的價格滑點，並極大地減少了無償損失。在實現方面，交易者可以簡單地跨鏈兌換主流資產；流動性提供者可以將單個或多個資產存入跨鏈池並質押 LP 以獲得 O3 獎勵。相比傳統的 Hub 機制，此設計允許用戶無需進行資產存取即可兌換跨鏈資產，大大降低了用戶操作/交易的門檻。

### 2.5 跨鏈交易路徑

![](/files/-MYFEsTayVjFRaQ_yH3Y)

舉例來說，在中心化路線中，如果要將 Metamask 上的 BNB 兌換到 MDEX 上的 HUSD，交易路線是一個複雜而繁瑣的過程。交易者需要將幣存入中心化交易所並通過 KYC 和兩步驗證執行兩次交易，最後將其提取到去中心化錢包和 DEX。而在 O3 Swap 去中心化路線中，我們通過聚合器和跨鏈池提供一站式交易體驗，讓交易者可以在他們的錢包中簡單地交換多鏈資產。 整個過程無賬號限制。

## **3.** 代幣經濟學

### 3.1 簡介

O3 Swap Token (O3) 是 O3 Swap 發行的治理代幣。 是推動 O3 Swap 網絡發展的重要媒介。 基於 O3 Swap 的經濟模型，通過代幣的社區治理機制，激勵各方參與者投入到整體生態網絡的維護與發展。

**代幣合約：0xEe9801669C6138E84bD50dEB500827b776777d28**

### **3.2** 經濟模型

![](/files/-MY4q4OHASsy1LXdg3iX)

在 O3 Swap 的經濟模型中，賺取 O3 的方式有3種。首先，用戶可以通過早期參與產品測試和社區貢獻獲得空投。 其次，可以通過 O3 Swap 獲得交易挖礦獎勵。第三，可以在 Vault 參與流動性挖礦或其他質押挖礦獲得 O3 獎勵。以上三種方式獲得 O3 處於凍結狀態，需要在公開交易市場為 O3 交易兌提供流動性來解鎖賬戶裡的 O3。解鎖的 O3 有三個主要用途：

1. 會員權益：O3 持有者可獲得 O3 Swap 國庫分配的利息和交易折扣。
2. 社區治理：用戶可以通過質押 O3 發起提案、參與投票等方式參與社區治理。
3. LP質押：用戶可以使用 O3 合成流動性權益證明（LP），可用於解鎖和挖礦。

另一方面，O3 Swap 的所有交易費用將定期用於在公開市場回購 O3，並按比例分配給 O3 的權益持有者和發展委員會。

### **3.3** 生態角色

1. 用戶 (Users)：使用 O3 Swap 進行交易的消費者。
2. O3 持有人 (O3 Holder)：持有 O3 參與社區治理並質押 O3 獲得相關權益的社區成員。
3. 流動性提供者 (Liquidity Providers)：為 O3 Hub（跨鏈池）提供流動性的合作夥伴/用戶。
4. 國庫 (Treasury)：負責執行接收、管理、分配、定期對社區披露財務數據等。
5. 開發委員會 (Development Committee)：早期由 O3Labs、社區貢獻者和獲得投票多數的代表共同組成，後期完全由社區推選組成。

### **3.4** 回購

O3 Swap 平台收取的手續費將定期全部用於在公開市場上回購 O3，並存入國庫之中進行再分配。

### **3.5** 質押

O3 持有者將能夠通過參與質押 O3 獲得社區提案治理、手續費折扣等權益，同時將根據每次回購總量的比例，質押者能夠按比例獲得的質押獎勵，獎勵來源於 O3 Swap 國庫中的 O3，按照以下公式進行發放：

$$
StakingRewardsO3 = BuybackO3 \* 70%
$$

初始比例默認70%，既每回購1個 O3，就有 0.7 個 O3 被分配給 O3 質押者，後期百分比參數由 DAO 提案投票決定 。

### **3.6** 交易挖礦

用戶在 O3 Swap 上進行過交易後將會獲得 O3 作為獎勵，根據每次回購 O3 的數量按照初始默認 1:1 的系統釋放 O3 用於交易挖礦獎勵，固定的區塊時間週期結算與發放一次，交易挖礦的計算公式如下：

$$
MiningRewardsO3 = BuybackO3 \* 100%
$$

初始比例默認100%，既每回購1個 O3，系統就釋放1個 O3 被分配用於交易挖礦，後期百分比參數由 DAO 提案投票決定 。

### 3.7 流動性挖礦

用戶可以通過質押單幣或多幣來生成 LP，為 O3 跨鏈池增加流動性，生成 LP 之後質押 LP 將會獲得 O3 獎勵，LP 代表流動性提供者贖回其資產並獲得 O3 獎勵的權利，該獎勵與他們對跨鏈池的貢獻成正比，跨鏈池的交易手續費將100%分配給流動性提供者。當流動性提供者撤回其流動性時，LP 將被銷毀並可以取回他們存入的代幣。

### **3.8** 解鎖

* 凍結O3：用戶可以通過平台空投、交易挖礦、流動性挖礦、單幣挖礦等方式獲得凍結的O3（無法進行交易）。
* 解鎖O3：透過向 DEX 提供 O3 交易對的流動性，用戶可以參與 O3 Swap 的全部功能（參考經濟模型）。解鎖步驟和公式如下：

1. 在 Uniswap V2 上搜索 O3/USDT 交易對。增加流動性以獲得 UNI-LP 代幣。
2. 前往 “Vault” 並質押 UNI-LP。鎖定的 O3 將開始轉換為解鎖的 O3。最大解鎖速度為15000 塊（約48小時）。

$$
Unlock Speed = min\left{ Unlock Speed, max Unlock Speed \right}
$$

{% hint style="info" %}
**UnlockSpeed（解鎖速度）= K \*（LP 質押數量）**

*K (每個區塊時間解鎖的 O3 數量) = 51.63977794 O3/LP/Block.*&#x20;

* K 的小數位數為 8。
  {% endhint %}

{% hint style="info" %}
**maxUnlockSpeed（最大解鎖速度）=（O3 凍結數量 / G）**

*O3 凍結數量 =  鎖定的O3數量（包括可領取的解鎖O3）*

*G = 15000.（區塊數量）*&#x20;
{% endhint %}

### 3.9 **國庫**

國庫為 O3 的收益儲備池，並且負責執行接收、管理、分配、定期對社區披露財務數據等。 O3 Swap 的收益將在固定區塊週期內於公開市場回購 O3 並存入國庫；為了促進項目的良性循環發展，國庫的收入一部分將用於獎勵 O3 Staker；另一部分 O3 將分配給發展委員會，用於激勵社區貢獻。在階段0治理期間，默認國庫 O3 收入 70% 分配給 O3 staker ；30% 劃撥至發展委員會。<br>

### 3.10 **發展委員會**

發展委員會主要負責推動項目的發展和社區建設。在早期階段，它將由 O3 Labs、社區貢獻者和獲得多數票的代表組成。 後期完全由社區選舉產生。<br>

### 3.11 **分配機制**

O3 發行總量上限為 100,000,000 枚，總共分為兩個分配階段，階段0總量 10,000,000 枚，其中包括創世激勵和社區回饋；階段1總量90,000,000 枚，主要為線性釋放。<br>

|             | **O3 分配**   | **分配量**        | **比例**  | **流通說明**                                                                     |
| :---------: | ----------- | -------------- | ------- | ---------------------------------------------------------------------------- |
| **Phase 0** | **創世激勵**    | **5,000,000**  | **5%**  | **用於激勵早期參與交易貢獻者。**                                                           |
|             | **社區回饋**    | **5,000,000**  | **5%**  | <p><strong>用於回饋社區支持者、早期用戶、推薦者；</strong></p><p><strong>需提供流動性解鎖。</strong></p> |
| **Phase 1** | **交易挖礦**    | **35,000,000** | **35%** | **用於激勵交易者和流動性提供者，根據不同階段遞減式釋放，預計2年釋放完畢。**                                     |
|             | **團隊**      | **10,000,000** | **10%** | **2年線性釋放。**                                                                  |
|             | **投資與合作機構** | **15,000,000** | **15%** | **2年線性釋放。**                                                                  |
|             | **凍結**      | **30,000,000** | **30%** | **用於項目後期發展。**                                                                |

<div align="left"><img src="https://lh5.googleusercontent.com/mLFmXYboF2MSlVVy-7EJWvA0-Z0uheQrJJog50wKnwEymPBKYExjEk6TH-9hgQFZRfDn4tpk8OL8BEkYf5DHH4Cz-sS6whMOQujaWpHKRFKtnGKgFUgdp2CqVjnvZsEPoLc_J0P_" alt=""></div>

<div align="left"><img src="https://lh5.googleusercontent.com/dzZ43M94nVRB5qo33u1Zd0r21D_H6BTG6LKXiyTZvAktfm0NowdTfac5AUcObbRAGhGU9LzOzDt_w0KWWSJs57KD8e4bIP6dyJEDiwtn7k3ipI53j_j-0i93jDhQE26ohPbpOacu" alt=""></div>

## **4.** 挖礦階段

### 4.1 冰川時代：共50萬以太坊區塊（約10週）

僅在以太坊主網上，支持兩種挖礦形式：

* 跨鏈池流動性挖礦

1. 充值 USDT/BUSD/HUSD 到 Hub（跨鏈池）獲得 USD-LP。
2. 到 “Vault” 質押 USD-LP 以獲得 O3 獎勵（需要解鎖）。

* O3 挖礦

1. 到 “Vault” 質押 O3 以獲得 O3 獎勵（需要解鎖）。
2. 在下一個挖礦階段（侏羅紀）之前，已質押的 O3 無法取出。

#### 獎勵分配

| Ice Age (Block) | Stake LP (O3/Block) | Stake O3 (O3/Block) |
| --------------- | ------------------- | ------------------- |
| 0 - 50000       | 12                  | 6                   |
| 50001 - 150000  | 6                   | 3                   |
| 150001 - 300000 | 4                   | 2                   |
| 300001 - 500000 | 3                   | 1.5                 |

### 4.2  侏羅紀：參數未定

1. 支持以太坊、幣安智能鏈、Neo、火幣生態鏈。
2. 支持交易挖礦。
3. 質押 O3 以獲得交易手續費折扣。
4. 啟動回購機制。

## **5. 治理**

O3 Swap 致力於推動去中心化治理，打造一個完全由社區自治的開源、開放、抗審查的生態。 O3Labs 團隊將去中心化治理的的發展進程分為以下三個階段：

{% tabs %}
{% tab title="2021 Q1-Q2" %}
發行 O3 Swap Token 並啟動階段I 的經濟模型。
{% endtab %}

{% tab title="2021 Q3-Q4" %}
啟動 DAO 版本1、啟動階段 II 經濟模型和社區激勵。 開放治理渠道，例如社區提案和 O3 投票。
{% endtab %}

{% tab title="2022 " %}
啟動 DAO 版本2，開發委員會轉為 DAO。完全由 DAO 組織的去中心化治理和決策。
{% endtab %}
{% endtabs %}

## **6.** 里程碑

* **2021 Q1**

1. 主網上線&#x20;
2. Neo Swap 上線&#x20;
3. 發布 Litepaper V1

* **2021 Q2-Q3**‌

1. 上線 O3 Hub，提供跨鏈交易服務&#x20;
2. 支持 ETH，BSC 跨鏈兌換&#x20;
3. 發布 O3 Version 1

* **2021 Q4**

1. 啟動 DAO Version 1&#x20;
2. 完成 Layer2 版本開發與部署&#x20;
3. 完成 O3 Hub 跨 Layer2 開發

* **2022**

1. 發布 V2，支持即時詢價，掛單交易&#x20;
2. 發布跨鏈 2.0&#x20;
3. 啟動 DAO Version 2
4. 發布 O3 network

## **7. 參考資料**

* **Bancor Protocol.** [**https://docs.bancor.network/**](https://docs.bancor.network/)
* **DeBank.** [**https://debank.com/**](https://debank.com/)
* **Ethereum’s Internet of Blockchains. (2021).** [**https://polygon.technology/lightpaper-polygon.pdf**](https://polygon.technology/lightpaper-polygon.pdf)
* **Fernando Martinelli, Nikolai Mushegian. (2019). A non-custodial portfolio manager, liquidity provider, and price sensor.** [**https://balancer.finance/whitepaper/**](https://balancer.finance/whitepaper/)
* **Messari Research (2020). Crypto Theses for 2020.** [**https://messari.io/report/crypto-theses-for-2020**](https://messari.io/report/crypto-theses-for-2020)
* **Michael Egorov. (2019). StableSwap - efficient mechanism for Stablecoin liquidity.** [**https://curve.fi/files/stableswap-paper.pdf**](https://curve.fi/files/stableswap-paper.pdf)
* **PolyNetwork: An Interoperability Protocol for Heterogeneous Blockchains. (2020).** [**https://www.poly.network/PolyNetwork-whitepaper.pdf**](https://www.poly.network/PolyNetwork-whitepaper.pdf)
* **Satoshi Nakamoto (2008). “Bitcoin: A peer-to-peer electronic cash system”, Bitcoin, 2008,** [**https://bitcoin.org/en/bitcoin-paper**](https://bitcoin.org/en/bitcoin-paper)
* **Tokenlon Protocol Litepaper V1.0. (2020).** [**https://tokenlon.im/files/Tokenlon-litepaper\_en-us.pdf**](https://tokenlon.im/files/Tokenlon-litepaper_en-us.pdf)

## **8. 聲明**

此篇是基於 O3 Swap 的開發建議和經驗的一般信息。它不應被視為專業的金融投資建議並用於評估或做出任何投資決策。本文反映了作者的當前觀點，並不代表引用的模型或其附屬公司。 未來的產品更新將不會另行宣布，最新產品更新請關注官方消息。


# SWAP

### **Step 1: Go to Swap Page**

Go to <https://o3swap.com/> Click Swap on the homepage to enter the exchange page.

![](https://lh5.googleusercontent.com/Gfhv5T7ABhEHioHIEr3hSgTdSmkWjHATgsoFIMaoZ48Fs93UDGATHm5IGyE7DvLNMwcSYJWc8xa0Z6B-lcqAK5wdtHfHUAQThCWVszCRbzsj1w4CQTtKWAhpr52CXuZVHHkih8bw)

### **Step 2: Connect to your wallets**

Connect the wallet and confirm the connection in the pop-up window.

* Neo swap: currently support O3 Wallet and NeoLine
* Eth, BSC, Heco cross-chain swap: currently support Metamask

![](https://lh3.googleusercontent.com/GIpwN-5MJh6gTXYlaDsGmYAq8lUcXYQvuWVGrp_FoR1CpnUq37J42ApM-j1b40_fkaEE2qXA5o1P80pgFdtqd8cuTRHerkmsLviPs0ZrWJmx3y25CKBJIUZ_WfMgj8kegyQ3SeA3)

![](https://lh3.googleusercontent.com/ubjedXv-wb2vLJXh2n7On8gS1XNX-ZVfx4mQn8O6Uo1Blucmozz8rgJpKZMfVciu6jt-REnlEwc9OpORPd7nYOmwCN1nNSjqd-OAZeI8T3PkU2DH6dzzT9jHHmJ8iXfoypsrZgOz)

### **Step 3: Start to swap**

1. Choose the token in “From” and “To” and enter the amount you want to exchange.&#x20;
2. Click “RFQ”, on the transaction detail page, you will see the amount, value, trading route, rate, and fee.
3. You can also choose other routes by clicking “More Trading Price”.
4. Click “Confirm” after you make sure all transaction information is correct.
5. The Metamask or O3 Wallet will show you a pop-up window to confirm the transaction. You can adjust the GAS fee (network fee) here.

   &#x20;

![](https://lh6.googleusercontent.com/uivxUZaSKb5du5OzyRHpvMU9yfg0cK9kQfHZRJ40gViq8M0JBsAvTbxT5V1WOUFTbxO_zzHgjFCpc4hQ_QpF1hZ5kUC5f2I4sbLiRl8q-V2SWEb4ERbbsu23p5gxUpqhP6pKlc4e)

![](https://lh5.googleusercontent.com/bm7bEj9y5eSs6Pfb7wJ-X3JK14hlEnkQK0n22wtlcy9LtxnVc9hRJ5a8pIS5jR7ejC-3F7hcCU4f0Sbpt9jQL0J5fJ8uYuJSgW_Jmr32lW8nFQXffw7GZeqiuRW6nkWnDQgKyFA4)

![](https://lh4.googleusercontent.com/-r2YKIx0L50zAjV0A9KdinBgCHyHJRuzvpr_NEMXaBiQoxkmkoGZ9gucOFtBkbZ5z3IEmZVhOJIOOfuKkNeWEobVTBjnPNRp5FxKFU_jVAMfMfvi4-VT3JQY8IpOUPXfCENfb_tM)

{% hint style="info" %}
GAS fee is not required in Neo Swap, you can cancel it on the transaction detail.
{% endhint %}

{% hint style="info" %}
If you use Eth, BSC, or HECO, we highly recommend you do not change the GAS fee. It may cause transactions to get stuck or fail.&#x20;
{% endhint %}

![](/files/-MZ8jzToPzfGdbTErYLC)

### **Step 4: Complete transaction**

After confirming the transaction on the wallet. You can always check the transaction states on corresponding explorers.

{% hint style="info" %}
If the transaction involves the cross-chain routes. The Poly fee will be charged\
(Poly Network is a cross-chain solution on O3 Swap). Also, the time of transaction confirmation may take longer than usual (it depends on different network speeds).&#x20;
{% endhint %}

{% hint style="info" %}
If you use the Metamask browser extension, please manually add the token contract to your wallet.
{% endhint %}

![](/files/-MZ8qh8YcZqzgOX7wdB_)

![](/files/-MZ8rcsPUVWJlwvLg0IL)


# HUB

O3 Hub is composed of a cross-chain asset pool such as stablecoin pool and cross-chain protocol based on Poly Network. Liquidity providers can deposit single or multiple assets to the cross-chain pool and stake the LP shares to earn O3 rewards.

## **1. Connect to your wallets**

Select the Mainnet work for corresponding chains in Metamask wallet

![](/files/-MZ8vVRFZkd403dxNuoa)

## 2. Hub swap

1. Connect the wallet.
2. Select the token you want to swap and enter the amount (We currently support USDT/BUSD/HUSD swap)
3. Confirm the transaction in your wallet.

![](https://lh3.googleusercontent.com/Bv586mSKlt7SeKj2O1pgeEDT4QVXA2sTmG1g8Divq2PQWqWyt4Q_1CyVNMGaeSNUsKtx3SEMgoYJd_Drn9bPmSVhe93Pe9pPxGg_5-WZ6W6NkyoWeLaKbi6d4uEYSaQU9o4Of4lT)

## **3. Add liquidity**&#x20;

* Click the "Deposit". Add the liquidity to the cross-chain pool.&#x20;
* Click the "Withdraw". Remove the liquidity from the cross-chain pool.
* Click "Withdraw Legacy LP". Remove the Legacy LP (BUSD\_LP and HUSD\_LP) from the cross-chain pool.

![](/files/-M__RBRPw7h_3rlHAlc7)

1. Connect your wallet.
2. Choose one or more stablecoins (USDT, BUSD, HUSD) to provide the liquidity into the cross-chain pool.
3. Enter the amount you want to add into the cross-chain pool.
4. Click the "Deposit" and confirm the transaction in your wallet.
5. You will see the USD\_LP token in the wallet.&#x20;

{% hint style="info" %}
If you don't see the LP token in Metamask, please manually add the token contract

**USD\_LP: 0x61415f9060b1a81bbda3b79baa11acd27cddd83d**
{% endhint %}

![](/files/-M_dOtA8PI95rPWABVbj)

## **4. Remove liquidity**&#x20;

1. Connect your wallet.
2. Choose wich token (USDT, BUSD, HUSD) you want to receive.
3. Enter the amount you want to remove from the cross-chain pool.
4. Click the "Withdraw" and confirm the transaction in your wallet.
5. You will see the token in the wallet.&#x20;

![](/files/-M_dU4D2UoeETJKOAAjC)

## 5, **Complete transaction**

Add / Remove cross-chain liquidity is proceeded by Poly Network and the corresponding blockchain network. The confirmation time would be longer than usual. You can always check the transaction process in the pop-up window.

![](/files/-MZ92nHk9nskbqNfa6HW)

![](/files/-MZ9312z5qhK63jGhczF)


# Ice Age Mining

## **Rules**

O3 Swap launches the Ice Age Mining started from 4 AM, 14th May 2021 (UTC). Support stable coin liquidity mining (USDT/BUSD/HUSD) and O3 mining. Only on Ethereum Mainnet currently.

**Time Period**: 500,000 Ethereum blocks in total (around 10 weeks)

**Reward Distribution Start Around**: 7 AM, 14th May 2021 (UTC)

**Claimable Rewards**: After 2000 blocks (around 3 PM, 14th May 2021 (UTC)

{% hint style="info" %}
Staked O3 is not available to unstake until the next mining period&#x20;

***Ice Age Time Period:** 500,000 Ethereum blocks in total (around 10 weeks)*
{% endhint %}

{% hint style="info" %}
Staking rewards are unlock needed. You will need to stake the UNI-LP to unlock them.

<https://docs.o3swap.com/unlock-o3>
{% endhint %}

## Cross-chain Liquidity Mining <a href="#deab" id="deab"></a>

### **1. Add liquidity to cross-chain pool**&#x20;

* Go to Hub. <https://o3swap.com/hub>. Click the "Deposit".&#x20;

![](/files/-M__RBRPw7h_3rlHAlc7)

* Connect your MetaMask.&#x20;

{% hint style="success" %}

* USDT mining: Connect to Ethereum Mainnet&#x20;
* BUSD mining: Connect to the Ethereum Mainnet + BSC&#x20;
* HUSD mining: Connect to the Ethereum Mainnet + HECO&#x20;
  {% endhint %}

![](/files/-M_dZlVH5QHgpjAs5OU9)

* Choose one or more stablecoins (USDT, BUSD, HUSD) to add the liquidity into the cross-chain pool.
* Enter the amount you want to deposit.
* Click the "Deposit" and confirm the transaction in your wallet.

![](/files/-M_dOtA8PI95rPWABVbj)

* <img src="/files/-M_doRB2ZZVvIacdZc5W" alt="" data-size="original">

{% hint style="info" %}
If this is the first time to deposit, you will require to approve the transaction first.

After the approval completed, click the "Deposit" again to proceed the transaction.
{% endhint %}

* After the transaction confirmed, you will see the USD\_LP token in the wallet.&#x20;
* The speed of adding cross-chain liquidity is proceeded by Poly Network and the corresponding blockchain network. The confirmation time would be longer than usual. You can always check the transaction process in the pop-up window.

![](/files/-MZ92nHk9nskbqNfa6HW)

![](/files/-MZ9312z5qhK63jGhczF)

{% hint style="info" %}
If you don't see the LP token in Metamask, please manually add the token contract

**USD\_LP: 0x61415f9060b1a81bbda3b79baa11acd27cddd83d**
{% endhint %}

### **2.** Stake LP To Earn O3

* Go to Vault. <https://o3swap.com/vault>.&#x20;
* Connect your MetaMask (Ethereum Mainnet).&#x20;

![](/files/-M_ddNr6p-Ev1oL3xQTo)

* Enter the LP amount you want to stake.
* Click the "Confirm" and confirm the transaction in your wallet.

![](/files/-M_deuxKul5XcSXA0oac)

* ![](/files/-M_dt0aZIIDes05Radi6)

{% hint style="info" %}
If this is the first time to stake, you will require to approve the transaction first.

After the approval completed, click the "confirm" again to proceed the transaction.
{% endhint %}

## O3 Mining  <a href="#deab" id="deab"></a>

* Go to Vault. <https://o3swap.com/vault>. Choose the "Stake Token To Earn O3"
* Connect your MetaMask (Ethereum Mainnet).&#x20;

![](/files/-M_dfupA5-ePMQCXisWR)

* Enter the O3 amount you want to stake.
* Click the "Confirm" and confirm the transaction in your wallet.

![](/files/-M_dgLIrFe5LuWcEzbkB)


# Unlock O3

### Step1. Go to [Vault](https://o3swap.com/vault) and connect your Ethereum wallet

![](/files/-M_ttDk5dUje0nlm2Zb5)

### &#x20;Step2. "Claim" the O3 from Airdrop, LP Staking, O3 Staking.&#x20;

![](/files/-M_tvKMMIdj60OaJE9a2)

### Step3. After claiming O3, the rewards will show in the locked amount. Need to provide the O3 liquidity on [Uniswap V2](https://app.uniswap.org/#/add/v2/0xEe9801669C6138E84bD50dEB500827b776777d28/0xdAC17F958D2ee523a2206206994597C13D831ec7) to unlock your O3.

![](/files/-M_tvQoyXv_7jrmfshHu)

{% hint style="info" %}
You will see the O3 amount in your Ethereum wallet, but **the locked O3 is not able to be transferred, so you will need to provide the unlocked O3 to the O3-USDT pool.**&#x20;
{% endhint %}

![](/files/-M_tzuSSqDpAkYRYv9TS)

### Step4. Buy O3 in open market

**(If you have the unlocked O3, skip this step.)**

![](/files/-M_u-cN1UlomcZhF7NQu)

You can buy the unlocked O3 directly from O3 Swap, Uniswap V2, 1inch, DODO, and Matcha.

{% hint style="info" %}
**How many O3 should I buy?**

The UNI-LP for max unlock speed requires approximately half of the locked amount + equivalent USDT

*Ex. 200 locked O3 will require the UNI-LP made by 100 unlocked O3 + equivalent USDT to reach the max unlock speed (around 48 hours).*
{% endhint %}

{% hint style="info" %}
**O3 Token Contract: 0xEe9801669C6138E84bD50dEB500827b776777d28**
{% endhint %}

### Step5. Click "[Get LP](https://app.uniswap.org/#/add/v2/0xEe9801669C6138E84bD50dEB500827b776777d28/0xdAC17F958D2ee523a2206206994597C13D831ec7)". Provide the O3/USDT trading pair on Uniswap V2

![](/files/-M_twP_LVbUgsAgl88_M)

<div align="center"><img src="/files/-M_u4pzEBjoVov22RBrI" alt=""></div>

![](/files/-M_u5JqAJzkZHfSv-0gn)

### Step6. "Stake" UNI-LP to start unlocking process

![](/files/-M_u5xwD4PU_pyxrLpGp)

![](/files/-M_u6iHEPk8XgVqmftFH)

After staking successfully, the Speed and Unlocked Amount will begin to run.&#x20;

### Step7. Claim your unlocked O3

When the "Unlocked Amount" = the "Locked O3". This means the unlock process is completed. You can claim all unlocked O3 into your wallet.

### Tips

#### 1. "Claim" the unlocked amount frequently will decrease the unlock speed. We recommend claiming all when the unlocking process completed.

#### 2. You can provide any amount of LP you want, there is no time limit for the unlocking process.

#### 3. If you have the locked O3, you can click the unlock calculator first to see how many UNI-LP we recommend to stake to reach the max unlock speed.

#### 4. Once you stake the UNI-LP in Vault, locked O3 will begin to unlock automatically. You don't need to stake again when you claim new locked O3 in the future. &#x20;

#### 5. If you stake the cross-chain LP and O3 token, you will also need the UNI-LP to unlock the rewards. So we recommend don't unstake your UNI-LP in this case.

####


# Resources

## O3 **Token Contract**

* **O3 Swap Token (O3): 0xEe9801669C6138E84bD50dEB500827b776777d28**

* **USDT\_LP:  0x61415f9060b1a81bbda3b79baa11acd27cddd83d**

* **BUSD\_LP: 0xAEA207661e36F4f51468B0d8a0b78Da521FA9D36**

* **HUSD\_LP: 0x2Ec96Bb06E6af8C8Ac20f93C34ea2ab663E40d62**<br>

* **HUSD (HRC20): 0x0298c2b32eaE4da002a15f36fdf7615BEa3DA047**

* **BUSD (BEP20): 0xe9e7CEA3DedcA5984780Bafc599bD69ADd087D56**

* **BUSD (ERC20): 0x4fabb145d64652a948d72533023f6e7a623c7c53**

* **USDT (ERC20): 0xdac17f958d2ee523a2206206994597c13d831ec7**

* **USDT (BEP20): 0x55d398326f99059ff775485246999027b3197955**

* **USDT (HRC20): 0xa71edc38d189767582c38a3145b5873052c3e47a**

![](/files/-MZ96zqtYSg7in5azWuF)

## Contract Audits

<https://github.com/O3Labs/o3swap-audit>

## **Wallet Setting**

### **BSC Network**

* **Network Name:** Binance Smart Chain
* **New RPC URL:** <https://bsc-dataseed.binance.org/>
* **ChainID:** 56
* **Symbol:** BNB
* **Block Explorer URL:** <https://bscscan.com>

### **HECO Network**

* **Network Name:** Heco-Mainnet
* **New RPC URL:** <https://http-mainnet-node.huobichain.com>
* **ChainID:** 128
* **Symbol:** HT
* **Block Explorer URL:** <https://hecoinfo.com>

![](/files/-MZ97le90RK7gb6xi0GX)

## **Links**

* **O3 Swap:** [**https://o3swap.com/**](https://o3swap.com/)
* **Download O3 Wallet:** [**https://o3.network/#download**](https://o3.network/#download)
* **Download NeoLine:** [**https://neoline.io/en/**](https://neoline.io/en/)
* **Metamask github:** [**https://github.com/MetaMask/metamask-extension/releases**](https://github.com/MetaMask/metamask-extension/releases)
* **Metamask extension:** [**https://metamask.io/**](https://metamask.io/)


# Q\&A

## How to Withdraw the BUSD\_LP and HUSD\_LP ?

The cross-chain liquidity supports Ethereum Mainnet currently !!

If you add liquidity to Heco and BSC in the trial version, you will not see your Lp in Hub. Please go to "Legacy LP " and withdraw the BUSD\_LP and HUSD\_LP.

{% hint style="success" %}
Instruction:&#x20;

1. Click \[Hub]&#x20;
2. Click \[Withdraw Legacy LP]&#x20;
3. Connect your wallet and switch to the corresponding network on Metamask, then you will see the Legacy LP balance.
4. Enter the LP amount
5. Click \[Withdraw]&#x20;
6. Confirm the transaction in your wallet.
   {% endhint %}

![](/files/-M__RBRPw7h_3rlHAlc7)

![](/files/-M_dlfmfcXSui7UzqQJ4)

## When can I unstake O3 ?

Staked O3 is not available to unstake until the next mining period **(after 500,000 Ethereum blocks, around 10 weeks).**

{% content-ref url="/pages/-M\_dVfKlP313eOzFqE\_v" %}
[Ice Age Mining](/fan-ti-zhong-wen/ice-age-mining)
{% endcontent-ref %}

## How to claim the staking rewards?

All mining rewards are in a locked state. you need to provide the O3/USDT trading pair on Uniswap and stake the UNI-LP to unlock O3.&#x20;

You can claim the O3 rewards whenever you want. However, the more frequently you claim, the longer it takes to unlock. We recommend holding longer and claim all in once.


# 聯繫我們

如果您有任何問題和反饋。我們很樂意聽您關於如何讓 O3 Swap 變得更好的想法。您可以通過電子郵件或主要社交媒體與我們聯繫。

> ### Email: <contact@o3swap.com>

{% embed url="<https://t.me/O3LabsOfficial>" %}

{% embed url="<https://t.me/O3Community>" %}

{% hint style="danger" %}
**請注意，我們的管理員絕不會向您發送私人消息。如果有人直接與您聯繫，請提高警覺。**
{% endhint %}

{% hint style="danger" %}
**切勿以任何理由向任何人透露您的私鑰和助記詞！**
{% endhint %}


# Become a Community Partner

With the growth of O3, we are recruiting O3 Community Partners from market, and we will cooperate with more blockchain KOLs (Twitter/YouTube) recently.

### **General Information**

* Position: Part-time
* Location: Shanghai, Tokyo, Remote.&#x20;
* Time-zone preference: Any

### **Responsibilities:**

* Develop cooperation with high-quality and potential media & KOL.
* Participate in the company’s overseas marketing program.
* Plan promotional campaigns such as contests, coupons, or giveaways.
* Product optimization plans based on overseas market demand.

### **Requirements:**

* Prefer native English speaker, with an outgoing personality.
* Heve resources on different influencers, opinion leaders, crypto funds, small and big whales, and exchanges.
* Blockchain industry knowledge is a plus.

### **How to apply:**

Email: <contact@o3swap.com>&#x20;

You can also tell us which blockchain KOLs you like. ❤️❤️


