# Megaton Finance

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

Today's blockchain ecosystem is fragmented and has an ecosystem based on cultural diversity. [TON (The Open Network)](https://ton.org/) is also one of the fragmented blockchain ecosystems and has continued to remain isolated. Megaton Finance is a link that can overcome the isolated TON blockchain ecosystem and expand to Layer 1, such as Ethereum, the most active blockchain.<br>

Megaton Finance is the first autonomous financial protocol on the TON network that provides yield farming opportunities such as swaps and yield farms. Users can now use [TON (Toncoin)](https://wton.dev/), previously unavailable on the TON Network in Megaton Finance. Megaton Finance has a structure that combines the AMM (Automated Market Maker) DEX business model prevalent in the DeFi ecosystem, the scalable multi-chain economy, and the unique characteristics of the TON network.

<br>

* **AMM Mechanism** \
  \
  AMM is an innovative trading mechanism that has changed the way of cryptocurrency trading on-chain. Instead of the buy/sell order book method, participants can trade freely through liquidity pools created by liquidity providers, and liquidity providers can earn trading fees generated from the liquidity pool as profits according to their liquidity contributions.

* **Megaton Finance Multichain Token Economy**\
  \
  The Autonomous Finance Protocol originated from KLAYswap, the largest AMM DEX on the Klaytn chain. KLAYswap's MAU has exceeded 1 million, and TVL is a proven global protocol that reached $2.1 billion last year. The multi-chain token economy is a strategy that leverages the users and abundant liquidity of well-established KLAYswap and Meshswap to rapidly increase the network dominance of the new protocol. Each protocol linked by the multi-chain token economy creates various reward opportunities through token economy convergence based on a wide user pool and liquidity that transcends chains. Additionally, through these rewards, we expand the TON network ecosystem by continuously distributing rewards to Megaton Finance users.

* **Increase TON Utilization by Establishing Basic Infrastructure**\
  \
  TON, the key currency of the TON network can be converted into WTON, a form of wrapped token, through the WTON Gateway and used in various blockchains. In addition, various liquid assets such as ETH, USDT, USDC, MATIC, and KLAY can be transferred to the TON network through Orbit Bridge, a cross-chain bridge. Based on the secured liquidity, you can generate profits by using functions such as swap and pair deposit in Megaton Finance. Conversely, you can utilize TON on other blockchains DeFi such as KLAYswap and Meshswap.<br>

**Megaton Finance awaits your participation.**

For those who want to experience DeFi in the TON network but have had difficulty participating due to its low accessibility and being unfamiliar with how it works, we expect that you will be able to experience and enjoy DeFi easily with the launch of Megaton Finance.

Megaton Finance is not just an AMM mechanism protocol that provides revenue. We expect that Megaton Finance will become the gateway to Web 3.0 through continued upgrades and integration with Telegram in the future.

We look forward to your participation and the various DeFi protocols that will be created in the TON network with the start of Megaton Finance.


# TON Network

[TON (The Open Network)](https://ton.org/) is a fast, secure, and highly scalable blockchain network that is user-friendly and capable of processing millions of transactions per second. The TON network plays a role in hosting and providing various Dapp services like a supercomputer. Ozys aims to create an AMM-based DEX on the TON Network ecosystem, which has excellent performance and a huge community. Ozys has developed and operated DeFi protocols such as KLAYswap and Meshswap to achieve world-class TVL and MAU and will build a user-friendly DEX based on the experience accumulated so far on the TON Network. In addition to decentralized exchange, we plan to add various financial services such as leverage farming, governance, and depositing long/short positions.<br>

### **Specifications**

* &#x20;55,000 TPS (Transactions per second)
* &#x20;Block time 5 seconds
* &#x20;Time - to - finality 6 seconds or less
* &#x20;Supports up to 260 shardchains per workchain

### **Orbit Bridge**

Megaton Finance seeks to expand the TON ecosystem through the Orbit Bridge, a global top 7 bridge developed by Ozys. Orbit Bridge is a robust cross-chain bridge that has recorded more than 800,000 transactions, a total volume of over $12 billion, and a TVL of over $200 million without a single hacking accident. Orbit Bridge currently supports over 80 assets including ETH, USDT, and USDC on over 15 different chains including Ethereum, Klaytn, BNB, HECO, Stacks, Ripple, and more.

Orbit Bridge builds a decentralized system where decentralized entities such as Ozys, Ground X, and DSRV achieve consensus on-chain through Trustless and Secure Multiple-Signature Verification while building a fast consensus process based on smart contracts. Through the stable and highly scalable Orbit Bridge, Megaton Finance can import and utilize major assets such as BTC, ETH, USDT, USDC, DAI, and XRP on various chains including Ethereum.

### **Links**

* [**Official website**](https://ton.org/)
* [**Whitepaper**](https://ton-blockchain.github.io/docs/ton.pdf)


# Participants

**Megaton Finance is an instant swap protocol that operates with an on-chain liquidity pool, where liquidity is guaranteed by automated market-making (AMM) mechanisms. It is an on-chain swap service that allows anyone that has any WTON or oToken-type cryptocurrency to become a liquidity provider and earn income from transaction fee commissions.**

* **Trader:** By paying a fee to the Megaton Finance pool, traders can instantly swap tokens. Token prices fluctuate during a trade according to the quantity (exchange ratio) of paired assets deposited in the pool.
* **Liquidity Provider**:  It refers to users who deposit a pair of two tokens in the Megaton Finance pools for yields. If providing liquidity, liquidity providers will receive an LP (Liquidity Provider) token, MEGA as a supply certificate. They will receive a reward share of the fees from that respective pool as a contribution reward.<br>

![](/files/K3rZDkNvSdTzKpWwIs6k) Note that slippage (a difference in the estimated price at the point of transaction and the actual price at the time of transaction) may occur in AMM-based swap protocols. In addition, a liquidity provider may experience Impermanent Loss (change in the price of deposited assets compared to when they are deposited) as token prices in pools are adjusted by an AMM mechanism after the point of supply.\
Please keep these risks in mind when providing liquidity or conducting transactions.


# FAQ

### 1. What is Megaton Finance?

Megaton Finance is the first autonomous financial protocol on the TON network that offers revenue-generating opportunities such as swaps and pair deposits. Users can provide liquidity within the protocol and trade various tokens on TON network. Megaton Finance has built an environment where various blockchain assets can be utilized within the TON ecosystem by utilizing Orbit Bridge, the global top seven bridges developed by Ozys.

<br>

### 2. What does Megaton Finance offer?

Megaton Finance V1 offers three main features: WTON Gateway, Swap, and Pair Deposit. <br>

* WTON Gateway\
  \
  With WTON Gateway, users can use assets linked to TON coin in smart contracts on networks like Etherium and Polygon. <br>
* Swap\
  \
  Metagon Finance allows users to trade Jetton standard tokens based on the liquidity pool.  The token exchange equation is based on the Uniswap v2 AMM equation, x + y = k. [Slippage](https://academy.binance.com/en/articles/bid-ask-spread-and-slippage-explained) occurs when tokens are exchanged.<br>
* Pair Deposit\
  \
  Megaton Finance users can deposit assets in various pools and receive LP tokens as proof. LP tokens received represent my share (%) of the pool.\
  \
  \
  [Megaton Finance Products Detailed Description](/products/wton-gateway)

### &#x20; 3. How does Megaton Finance work?

Megaton Finance is an automated market maker that operates based on a liquidity pool run by smart contracts. The liquidity pool created by Megaton Finance consists of two tokens, such as WTON, ETH, USDT, etc. The base price for each token is automatically adjusted using the Uniswap v2 AMM equation (x \* y = k), allowing traders to buy or sell tokens without a counterparty.

### 4. Why are all Megaton Finance pairs created based on WTON?

As the TON network is still under development, Megaton Finance V1's liquidity pools are based on WTON. Upon completion of the TON blockchain, we will introduce Megaton Finance V2, which will support the routing of tokens like Uniswap V2.<br>

### 5. Who developed Megaton Finance?

As a developer and operator of DeFi protocols such as KLAYswap and Meshswap, OZYS has achieved world-class TVL and MAU. Based on this experience, we plan to launch TON's user-friendly DEX on TON ecosystem.<br>

### 6. What is MEGA token?

Due to the decentralized, trustless nature of Megaton Finance's protocol, every decision is made by governance instead of an operator. Mega, a governance token, was issued for this reason. Governance and pool voting are not yet included in Megaton Finance V1, but they will be in V2.

### 7. How can I obtain MEGA?

Megaton Finance MEGA can be obtained in three ways:

* Liquidity pool\
  \
  Earn MEGA tokens as rewards by providing liquidity to the liquidity pool.\ <br>

* TON starter\
  \
  Earn MEGA tokens by participating in Tonstarter's token incentive program.

* Events\
  \
  Earn MEGA tokens by participating in events such as Megaton Finance's pre-launch events.\
  \
  [Participating in the Megaton Finance Launch Event](https://megaton.fi/)

### &#x20; 8. What were the initial issuance and final distribution amount of MEGA tokens?

Initial MEGA token issuance is 1,000,000, and final token distribution is 100,000,000. Visit the provided link for more information on tokenomics.

\
[Check MEGA tokenomics](/tokenomics/mega)

### &#x20;9. What features will be updated after the release of Megaton Finance?

Future Megaton Finance services will include MEGA staking, leverage farming, governance, and long/short position deposits. We are also developing a Telegram chatbot to introduce Telegram users to the TON ecosystem and simplify their use of Megaton Finance's key functions.

### &#x20; 10. Is Megaton Finance audited?

In order to minimize the risk factors of the Megaton Finance contract where various assets will be deposited, we received an audit from CertiK, a world-class audit company. You can find the audit report conducted by CertiK at the provided link.

\
[Shortcut for CertiK Audit Reports](https://www.certik.com/projects/megaton-finance)

### 11. What are some wallets supported by Megaton Finance?

Megaton Finance will support two wallets at launch, TON Wallet and TonHub. Future plans include Tonkeeper support, along with Tonic and OpenMask, which are the most similar to Metamask in terms of user experience.

### &#x20; 12. Can Megaton Finance leverage assets from other blockchains?

Megaton Finance has created an environment that allows blockchain assets to be used within the TON ecosystem through the use of Orbit Bridge, a global top 7 bridge developed by Ozys. Megaton Finance now allows users to use assets based on Polygon, Ethereum, Klayton, BNB, and HECO. In order to maximize the use of blockchain assets within Megaton Finance, we plan to expand the influence of Orbit Bridge and related protocols.

### &#x20; 13. How do I create a pool?

Ozys generates pools for Megaton Finance. Therefore, general users cannot create a pool, but foundations can apply to create one. The process for creating a pool is as follows:

* Foundations apply for Megaton Finance's pool generation<br>
* Ozys creates liquidity pools within Megaton Finance and provides links for the foundation to provide liquidity<br>
* Upon confirmation that the foundation has provided liquidity, the pool will be displayed on the Megaton Finance front. <br>

### 14. Can I verify the transaction immediately?

When a token balance changes in Megaton Finance, a notification appears in the upper right corner, but the results are not immediately visible. To check the token balance altered by a transaction, use Megaton Finance's MyAsset menu. In addition to future V2 updates, we will work on improving usability.

### 15. What is the process of pending and claim?

If you have deposited token A but not token B, you can either withdraw it in the Pending tab or deposit only B token.


# WTON Gateway

WTON is the first Jetton standard token supported 1:1 with the Toncoin within the TON Network. The Jetton Token Standard defines how tokens are transferred within the TON network and how to keep a consistent record of transfers between tokens.

The purpose of the release of the asset linked with the TON token is 1) due to the nature of the TON network, which is based on the TON token, it cannot implement various functions based on the smart contract itself, and 2) an ecosystem outside of TON (ex. Ethereum, Polygon, etc.) to directly use TON tokens.

In other words, TON tokens must be ‘wrapped’ with Jetton tokens through the [WTON Gateway](https://wton.dev/) to be utilized in various functions based on smart contracts. WTON, which has the flexibility of the Zetton standard, solves the interoperability problem of the TON network, broadening the scope of use of TON, the key currency of the TON blockchain network. Through WTON Gateway, users can use assets linked to TON tokens in smart contracts on networks such as Ethereum and Polygon.

{% content-ref url="/pages/pJIwkmiygEzYwgY00IQh" %}
[How to convert TON to WTON through the WTON Gateway](/guides/how-to-convert-ton-to-wton-through-the-wton-gateway)
{% endcontent-ref %}


# Swap

### **Introduction**

Megaton Finance is able to exchange {Token standard} tokens with each other based on liquidity pools. Token exchange is executed based on the equation of Uniswap v2 AMM, x \* y = k, and slippage occurs during token swap.

When exchanging tokens on Megaton Finance's pool, the transaction fee of 0.1% is incurred according to each liquidity pool's fee policy. The transaction fees are paid 100% to LP.

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

### **Pool Creation and Swap**

Liquidity pools in Megaton Finance are built on WTON, ETH, USDT, etc. If you want to create additional liquidity pools, you can add pools by pairing WTON and other tokens. Since all pools are created based on WTON, and there is no routing function in the early version of Megaton Finance, you need to go through two swap processes when swapping tokens other than WTON.\
When swapping oUSDT to oDAI, you have to swap first oUSDT to WTON, then swap WTON to oDAI in the WTON-oDAI pool.<br>

### **Pricing Algorithm for x \* y = k**

\- x: WTON / y: MEGA\
\- Assuming that the number of reserves of x and y supplied to the pools is 100 each\
\- x(100) \* y(100) = k(10,000)\
\- If a trader pays 10 WTON and purchases MEGA, the number of MEGA the trader acquires and the number of MEGA tokens remaining in the pool is calculated as follows:\
\
**a. Amount of WTON remaining in the pool**\
x(110) \* y(Reserve) = 10,000\
y(Reserve) = 90.9 MEGA\
\
\
**b. Amount of MEGA the trader earns**\
**100 - 90.9 MEGA = 9.1 MEGA**\
In the examples we have seen, the token price ratio of the initial WTON/MEGA pool was 1:1. So the trader would have paid 10 TON and expected to receive 10 MEGA. However, the amount of MEGA acquired by the trader is 9.1 MEGA. In this way, in the x \* y = k algorithm, the difference between the price of the token you ordered and the price of the token for which the actual transaction was concluded is called slippage. Traders must check the slippage before placing a swap order.<br>


# Yield Farm

### Providing Liquidity and LP Token

\
A liquidity pool is a collection of digital assets held in smart contracts and plays a key role in the operation of decentralized exchanges. Users can deposit their assets in various pools on the Megaton Finance and receive LP Tokens as proof of this. The number of LP Tokens received represents my share of the total pool (%).\
\
ex) If you deposit $10,000 in the WTON-oUSDT pool in Megaton Finance, each $5,000 worth of assets will be added to the pool in a 50:50 ratio between WTON and oUSDT. The number of LP tokens is equal to the number of WTON, and based on this, the share (%) is calculated.

### **BENEFITS**

* **MEGA distribution rewards**\
  &#x20;\
  If you provide liquidity to the MEGA reward pool, you will receive MEGA mining rewards according to your LP stake in the pool.\
  &#x20;
* &#x20;**Transaction fee rewards**\
  &#x20;\
  If you supply liquidity to the liquidity pool, you will be compensated for trading fees according to your LP stake in the pool. The transaction fee is accumulated in the pool, and you can withdraw it including the fee according to the exchange rate at the time of withdrawal.


# T\@connect

T\@connect is a web3 non-custodial wallet based on Telegram


# T\@connect Terms of Use

**Terms of Use**

**Effective July 21, 2023**

&#x20;

**1. Introduction**

This User Agreement (the “Agreement” or “this Agreement”) is a binding agreement between you or the entity you represent (hereinafter, the “User”, “Customer”, “you”, or “your”) and T\@connect Provider(hereinafter, the “Provider”, “we”, “our”, or “us”). This Agreement governs your use of the bot program called T\@connect(hereinafter, the “Bot”, “Service” or “T\@connect”) designed for Telegram, which is a global messenger program provided by unknown developer teams unrelated to us. Your access to and use of T\@connect is regarded as your compliance with this Agreement. In addition, when using any particular functions or related services of T\@connect, you shall abide by any published guidelines or rules applicable to such functions or services, as may be published and amended from time to time.

If you do not agree to accept and abide by any of the terms of this Agreement, or if the Agreement conflicts with your national law or the law of your location, you may not use T\@connect. You shall ensure that your use of T\@connect does not violate any applicable law.

&#x20;

**2. Changes**

We may change, discontinue, or terminate any or all of the Service or change or amend any or all of this Agreement at our discretion. We will use commercially reasonable effort to inform you of any material changes at least 30 days in advance of such changes(if we do not have means of contacting you, we may choose to post a notice to our official SNS channel or site instead of notifying you directly), except if doing so (a) would require economically or technically unreasonable burden, or (b) would generate undue risk to us of violating any applicable law.

&#x20;

**3. Services Provided Through the Bot**

T\@connect enables you to access a platform for depositing, withdrawing, and storing some virtual assets by the use of the Bot.

**4. To be eligible to use T\@connect**

In order to use the Service, you shall represent and warrant that:

• You must be at least the age of majority in your jurisdiction and legally competent to enter into these Terms;

• You must be an individual of full legal capacity and physical capacity and have sufficient authority to agree to this Agreement.

• You must be the lawful owner of the funds for using the Services in connection with these Terms and Conditions, and these funds shall come from legal sources.

• You must not provide us with misleading, false, or fraudulent information.

• You shall not be previously banned or restricted from using our Service.

• You shall not be in breach of any of the provisions of this Agreement or applicable laws and regulations.

• You must not be a person that is a national or resident of any embargoed or restricted country that is subject to or target of any economic sanctions administered or enforced by the United Nations, United States, the European Union, the United Kingdom, or any applicable jurisdiction.

• You are not located in, or a resident or national of, the United States, an unrecognized country or territory, or a jurisdiction requiring a mandatory national license or registration for virtual asset operators, or special registration, which T\@connect may not have.

• You must not be located in, or are a resident or national of, a country blacklisted by the Financial Action Task Force (“FATF”).

• It is your responsibility to ensure that you comply with the relevant laws in your territory of residence (registration) and/or the territory of your residence from which you are accessing T\@connect.

• In addition, T\@connect reserves the right to restrict or prohibit the use of the Bot for certain jurisdictions if required by, or on the basis of, applicable law or our Policy.

&#x20;

**5. Prohibited Use**

You are strictly prohibited from, and agree to refrain from, engaging in any of the following restricted activities:

a. Licence, sell, rent, lease, transfer, assign, reproduce, distribute, host, or otherwise commercially exploit any Bot, Bot software, or Bot Content;

b. Frame or enclose any trademark, logo, or Bot Content, (including images, text, page layout, or form);

c. Use any metatags or other “hidden text” using our name or trademarks;

d. Modify, translate, adapt, merge, make derivative works of, disassemble, decompile, reverse compile, or reverse engineer any part of your Bot or our Bot software;

e. Use any manual or automated software, device, or process (including but not limited to spiders or other data mining tools) to “scrape” or download data from any Bot or the Site (except that we grant operators of public search engines revocable permission to do so for the sole purpose of creating publicly available searchable indices (but not caches or archives) of related appropriate, permissible content;

f. Access or use any Bot or any part of our Site or Bot software to build a similar or competitive Bot, website, or service;

g.  Copy, reproduce, distribute, republish, download, display, post, or transmit any Bot Content except to  the extent expressly permitted in this Agreement;

h.  Remove or destroy any copyright notice or other proprietary marking on or in our Bot software or any Bot Content. We and our third-party suppliers and service providers reserve all rights even if it is not expressly written in the Service or the Agreement. Any unauthorized use of any Bot or Bot software terminates the licenses granted to you;

i. Take any action using the Bot or publish any Bot Content for purposes other than what is clearly expressly permissible by us, or that, in our opinion, is in any manner inconsistent with or violates any applicable laws or regulations or disparages, tarnishes, or otherwise harms, us or our Bot software;

j. Take any action using the Bot or publish any Bot Content that infringes any intellectual property rights of any person or entity;

k. Take any action using the Bot or publish any Bot Content that is unlawful, threatening, annoying, intimidating, harassing, defamatory, libelous, deceptive, fraudulent, invasive of privacy, tortious, obscene, or offensive, or that harms another person, including any of our employees, agents, or other users;

l. Take any action using the Bot or publish any Bot Content that is unauthorized or unsolicited advertising, junk, or bulk email;

m. Take any action using the Bot or publish any Bot Content that involves commercial activities or sales, such as contests, sweepstakes, barter, advertising, or pyramid schemes;

n. Take any action using the Bot or publish any Bot Content that impersonates any person or entity, including any employee or representative of us;

o. Take any action using the Bot or publish any Bot Content that interferes with the proper functioning and security of our T\@connect or related systems or infrastructure, including but not limited to deciphering, decompiling, disassembling, or reverse engineering any software component;

p. Engage or attempt to engage in any potentially harmful act directed against our Bot or related systems or Infrastructure, including any violation of any security features, the introduction of viruses, worms, or other harmful code;

q. Transactions related to illegal services, fraudulent schemes, pyramids, dark net, extortion, money laundering, terrorist financing, subjects of sanctions regimes, and other categories at unacceptable risk for T\@connect; or

r.  Any fiat money-related use.

We reserve the right to freeze funds, terminate or suspend your account or license to use if suspicious transactions of such prohibited use are detected, and to report to the competent authorities as required by any applicable legislation.

&#x20;

**6. Suspension, Termination, and Cancellation**

T\@connect may suspend, restrict or terminate your access to any or all of the Services if:

a. There is a valid subpoena, court order, or compulsory order from a public authority so requires;

b. We reasonably suspect your prohibited use of T\@connect;

c. The use of your T\@connect account is under any legal proceedings, investigation, or government proceedings which may put us at legal risk;

d. We believe that there is an increased risk of non-compliance with legal or regulatory requirements relating to your use of T\@connect;

e. Our service partners cannot support your use of the Service;

f. You take actions that, in our sole discretion, circumvent the rules and controls we have established, including but not limited to opening multiple T\@connect accounts or abusing promotions that T\@connect may offer from time to time; or

g. You are in breach of this Agreement and other T\@connect policies.

&#x20;

**7. Intellectual Property Rights**

All intellectual property rights in relation to Service shall belong to us. You are entitled only to the use of the Service within the scope of the purposes for Service use in accordance with the methods set forth by us in this Agreement, etc., and under no circumstances shall have the right to modify, register or cancel intellectual property rights owned by us.

&#x20;

**8. Dispute**

a. Disputes arising out of or relating to this Agreement or the Service shall be governed by the laws of the Republic of Korea regardless of conflict of laws principles. These disputes will be resolved exclusively in the Seoul Central District Court.

b. Any claim or dispute arising under the terms of this Agreement will take place on an individual basis without resorting to any form of class or representative action (“Class Action Waiver”). This class action waiver precludes any party from participating in or being represented in any class or representative action regarding a claim.

&#x20;

**9. Responsibilities of The Parties; Limitation of Liability**

a. T\@connect is not responsible for any consequences arising from your use of information provided by the bot.

b. Secure access to your virtual wallet in the bot must be ensured by yourself. T\@connect accepts no responsibility for unauthorized access or unauthorized management of virtual assets in your virtual wallet in the bot. You must take all precautions to limit unauthorized access to your virtual wallet and you are responsible for taking appropriate security measures to access your telegram account.

c. The user’s obligations under this agreement include recording and securely maintaining any passwords or secret recovery phrases that relate to your use of the service. You acknowledge that certain methods of securing your secret recovery phrase, such as storing it as a digital file on your personal device or on a cloud storage provider, may increase the risk that your account or secret recovery phrase will be compromised. You further acknowledge that you will not share with us nor any other third party any password or secret recovery phrase that relates to your use of the service and that we will not be held responsible if you do share any such password or phrase, whether you do so knowingly or unknowingly. For the avoidance of doubt, we take no responsibility whatsoever for any theft of a secret recovery phrase that involved intrusion into a cloud provider’s data repository. If you lose the secret recovery phrase, you may permanently lose access to the virtual assets stored in your virtual wallet.

d. We are not responsible for any circumstances that affect the transaction after the virtual assets have been sent to the address you have provided. If there is confirmation on the blockchain that the virtual assets have been sent, our obligations will be treated as fully discharged.

e. You are responsible for the correctness of the virtual wallet address you provide in the event of loss of virtual assets if the address proves to be incorrect, invalid, or unsuitable for a particular type of virtual asset.

f. We do not guarantee the continuity of the service, and of the functions within it. any service or functions provided within the service can be suspended, changed, or terminated permanently without individual notice in advance, and the service itself may be terminated or changed.

g. We accept no responsibility for any damage or interruption caused by any computer viruses, spyware, scareware, trojans, worms, or other malicious software that may affect your computer or other equipment, or any phishing, spoofing, or other attacks. We recommend the regular use of verified and easily accessible virus-checking and prevention software.

h. Although we take all necessary and reasonable measures to keep the service up and running, we shall not be liable for obstructions in service use unless such obstructions are caused by our intent or gross negligence.

i.  We, or the service, do not store, keep in custody, or save your virtual assets, but only provide the bot to access your virtual assets, which are stored in the blockchain platform/mainnet operated by a third-party unrelated to us; we shall not liable for any damages caused by failure of such platform unless such damages are caused by our intent or gross negligence.

j. The services are provided without any representations or warranties of any kind, express or implied, as required by law with respect to the software or websites, including but not limited to warranties or conditions of quality, performance, non-infringement, merchantability, and fitness for a particular purpose. We do not represent or warrant that we or any other associated software will always be available, uninterrupted, timely, secure, accurate, complete, and error-free or will operate without loss. Subject to this section, T\@connect will not be liable for any loss or damage arising out of or in connection with the use of the service, even if the service has been advised and/or made aware of the possibility of such loss or damage. In particular, the service is not responsible for:

● Loss of any actual or anticipated profit, income, or any indirect, special, incidental, or consequential damages and loss of opportunity.

● Any indirect, special, incidental, or consequential damages.

● Any damage to the data (direct or indirect).

● Loss of goodwill (direct or indirect).

● We will not be liable for delays, failures, or interruptions in service, which result directly or indirectly from any cause or condition beyond our reasonable control, including but not limited to any delay or failure caused by any act of god, an act of civil or military authority, an act of terrorism, civil unrest, war, strike or other labor dispute, fire, interruption of telecommunications or internet services or network provider services, equipment and/or software failure, another disaster or any other event that is beyond our reasonable control and does not affect the validity and applicability of any of the other provisions.

k. Transactions in virtual assets are high-risk transactions. before investing in any virtual assets, you should analyze all the possible risks associated with virtual assets. Keep in mind that some virtual assets may depreciate completely and become unavailable in the bot. we are not responsible for sharp fluctuations in virtual assets, their drop in value, depreciation, removal from the bot, and other risks associated with virtual asset transactions.

&#x20;

**10. Indemnification**

You agree to hold harmless, release, defend, and indemnify us and our officers, directors, employees, contractors, agents, affiliates, and subsidiaries from and against all claims, damages, obligations, losses, liabilities, costs, and expenses arising from: (a) your access and use of the Service; (b) your violation of any term or condition of this Agreement, the right of any third party, or any other applicable law, rule, or regulation; (c) any other party's access and use of any of the Service with your assistance or using any device or account that you own or control; and (d) any dispute between you and (i) any other user of any of the Service or (ii) any of your own customers or users.

&#x20;

**11. Miscellaneous**

a. This Agreement and any policies or operating rules posted by us on the Bot or with respect to the Bot constitute the entire agreement and understanding between you and us in relation to the Bot.

b. Our failure to exercise or enforce any right or provision of this Agreement shall not operate as a waiver of such right or provision.

c. This Agreement operates to the fullest extent permissible by law.

d. We may assign any or all of our rights and obligations to others at any time.

e. We shall not be responsible or liable for any loss, damage, delay, or failure to act caused by any cause beyond our reasonable control.

f. If any provision or part of a provision of this Agreement is determined to be unlawful, void, or unenforceable, that provision or part of the provision is deemed severable from this Agreement and does not affect the validity and enforceability of any remaining provisions.

g. There is no joint venture, partnership, employment, or agency relationship created between you and us as a result of this Agreement or use of the Bot.

h. You agree that this Agreement will not be construed against us by virtue of having drafted them. You hereby waive any and all defenses you may have based on the electronic form of this Agreement and the lack of signing by the parties hereto to execute this Agreement.

&#x20;

**12. Contact Us**

If you have any questions about this Agreement or the T\@connect, please contact us at **<support@megaton.fi>**

&#x20;

&#x20;


# T\@connect User Guide

Please refer to the user guide for more details.

{% file src="/files/ZHgFlb5FtCbbnR1PLegu" %}


# T\@connect Integration Guide

Please refer to the integration guide for more details.

{% file src="/files/i6l0m4q21yNz68y7ckS5" %}


# MEGA Staking

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

### Introduction

Staking MEGA reduces the inflation of MEGA circulating in the market, increasing the token's value and trustworthiness.\
Upon distribution of MEGA in the staking menu, an NFT is minted to your wallet as proof of stake.

Holding NFTs entitles users to a variety of benefits, including exclusive events and membership rewards for staking participants. Once the mandatory lockup period for holding NFTs has passed, they can be unstaked and claimed. The NFTs will be automatically burned, and users will receive their staked principal and interest back. You can also choose not to unstake after the expiration date and continue to enjoy the benefits of membership.

Staking participants play an important role in Megaton Finance as they are the most trusted and direct supporters of MEGA. Megaton Finance will continue to offer various benefits for staking participants.

### Staking

A proof of stake, known as an NFT, is issued in limited quantities and is divided into eight tiers.\
The issue volume, MEGA staking requirement, and APR (\*6 months) are all different for each tier, so it is important to choose the right tier for staking. Users can also stake multiple slots in one wallet regardless of staking tiers.\
Lockup periods are calculated from the time users start staking. Users can claim staked MEGA and interest at maturity after the lockup period has passed.

#### Staking Structure

<figure><img src="/files/5WWr6k5vQdxfKSkAKsL3" alt=""><figcaption></figcaption></figure>

Users will receive the following membership benefits while staking.

* Access to exclusive Staking Member events
* Staking member-only Airdrops
* Exclusive staking community membership (coming soon)
* Enjoy Game zone special items (coming soon)

### Unstaking

When 180 days have passed since staking, users can unstake to receive their principal and interest in a lump sum.\
NFTs that have been unstaked after expiration will expire, and users will receive their staked principal and interest in a lump sum.\
In the event users do not unstake after expiration, they will continue to receive membership benefits.

### Early Termination

After 31 days of staking, users can unstake. On day 31 through day 150, a penalty is applied as a deduction (linear reduction) from the staked principal.\
No interest will be paid upon early termination, and the principal amount will be returned minus the unstaking fee.

### NFT Trade

Secondary trading of NFTs between users is available on the TON NFT marketplace [Getgems](https://getgems.io/).\
NFTs listed on the marketplace will not appear on Megaton Finance, and they cannot be unstaked or terminated.

## Staking Policy Details

{% content-ref url="/pages/71gH0EOIP5cDagxWdkgS" %}
[Overview](/products/mega-staking/overview)
{% endcontent-ref %}

{% content-ref url="/pages/QgSCwANtvq7V7jbGZy7f" %}
[Staking](/products/mega-staking/staking)
{% endcontent-ref %}

{% content-ref url="/pages/64YRkusTWIpWBPou2Ep2" %}
[Membership Benefits](/products/mega-staking/membership-benefits)
{% endcontent-ref %}

{% content-ref url="/pages/jKvxochOfdTeqQ2HPOTY" %}
[Unstaking](/products/mega-staking/unstaking)
{% endcontent-ref %}

{% content-ref url="/pages/K7ysQGPhUZcAkTf2vkWK" %}
[Early Termination](/products/mega-staking/early-termination)
{% endcontent-ref %}

{% content-ref url="/pages/sqlr4xTTL2xqV91tm72Y" %}
[NFT Trading](/products/mega-staking/nft-trading)
{% endcontent-ref %}


# Overview

* Every day, 918.75 MEGA, or 7%, of liquid community treasury volume is distributed as staking interest.
* Megaton Finance’s MEGA staking process is as follows.
  1. By staking the amount of MEGA specified in each staking tier, NFTs will be issued.
  2. The unstaking feature is activated after 180 days of staking.
  3. Users will receive their principal and interest in a lump sum and their NFTs will expire automatically when they unstake.


# Staking

* Multiple tiers of staking are possible in a single wallet.
* The lockup period for staking is 180 days.
* The membership benefits are applied while staking, and if the user does not unstake after the expiration date, the membership benefits will be continued.
* When a stake is initiated, the lockup period and holding expiration date begin.
* Staked MEGA and interest at maturity are claimable after the lockup period.

### Staking Structure

<figure><img src="/files/5WWr6k5vQdxfKSkAKsL3" alt=""><figcaption></figcaption></figure>


# Membership Benefits

* Access to exclusive Staking Member events
* Staking member-only Airdrops
* Exclusive staking community membership (coming soon)
* Enjoy Game zone special items (coming soon)


# Unstaking

* Time remaining until the end of the lockup period can be checked in real-time using the NFT (TIME LEFT TO UNSTAKE).
* When 180 days have passed since staking, users can unstake to receive their principal and interest in a lump sum.
* Principal and interest cannot be unstaked before the staking expires.
* NFTs that have been unstaked after expiration will expire, and users will receive their staked principal and interest in a lump sum.
* In the event users do not unstake after expiration, they will continue to receive membership benefits.


# Early Termination

* After 31 days of staking, users can unstake.
* The principal can be received immediately if users unstake. However, if users choose to unstake prior to the 180-day lockup period, there will be two penalties.
  1. The interest cannot be collected.
  2. In the event you unstake within 31 - 120 days of the start of staking, a fee will be deducted from your staking principal.
* As the number of remaining lockup days decreases, unstaking fees decrease linearly.
* MEGA collected as an unstaking fee will be saved in the community liquidity treasury.

#### Unstaking fee for early termination

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

* For detailed information on daily unstaking fees, please refer to the document below.\
  [Megaton Finance Daily MEGA Unstaking Fee Data](https://docs.google.com/spreadsheets/d/1uAE1SrHVvXbIe0mxfekqodCCRSHyv_uP0XLXMG-i2Xk/edit?usp=sharing)


# NFT Trading

* Users can conduct secondary NFT trade on the TON NFT marketplace [Getgems](https://getgems.io/).
* NFTs may be traded for tokens other than MEGA (such as TON), depending on the external marketplace policy.
* NFTs registered on the marketplace become the property of the marketplace, so they will not appear when users connect their wallet to Megaton Finance, and unstaking will not be possible.
* Megaton Finance team is not responsible for any issues arising from secondary trading on external Marketplaces.


# MEGA

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

* **Ticker: MEGA**&#x20;
* **Contract address: EQBf6-YoR9xylol\_NwjHrLkrTFAZJCX-bsd-Xx\_902OaPaBf**
* **Blockchain: TON**

MEGA is a governance token that maintains the ecosystem of Megaton Finance, and the initial quantity issued through inflation is provided to LP (Liquidity Provider). When the staking function is added to Megaton Finance, MEGA staking participants will receive MEGA as a reward.<br>

### **Use cases**

\
MEGA can be distributed through ecosystem contributions such as pool deposits and staking, or acquired through transactions, and can be used as follows.

* Users can receive inflation rewards by using MEGA for pair deposit services.
* Users can participate in MEGA staking and receive MEGA inflation reward (TBD).
* MEGA can be used for governance voting on the protocol’s agenda (TBD).


# Tokenomics (-August 31st 2023 03:00 UTC)

MEGA is a reward given to ecosystem participants and serves as a strong incentive to secure more liquidity in Megaton Finance. It provides meaningful liquidity-based transactions and more financial opportunities through token economy structures that enable efficient distribution and value maximization of limited MEGA resources.‌<br>

### **MEGA Mining Amount**

The total daily mining amount of MEGA is 18,750 MEGA and 0.217013889 MEGA is(are) issued per second. Please refer to MEGA Allocation.

| Items                 | Amount           |
| --------------------- | ---------------- |
| Distribution by block | 0.217013889 MEGA |
| MEGA mining per day   | 18,750 MEGA      |

### The effect of reducing distribution through halving

‌The halving slows down MEGA inflation by reducing the number of MEGA distributed per block. Please check for MEGA Allocation for detailed inflation plans.

{% content-ref url="/pages/AwGJiaOEZOyZYi7WI1d0" %}
[Allocation (-August 31st 2023 03:00 UTC)](/tokenomics/mega/allocation-august-31st-2023-03-00-utc)
{% endcontent-ref %}


# Tokenomics (Current)

## Summary

We created a Community Liquidity Treasury pool to enhance MEGA’s value. The Community Liquidity Treasury will receive 70% of the inflation, and the other pools will receive the remaining 30%. We exclusively use the MEGA distributed to the treasury for users and MEGA token holders’ benefit. A few examples of MEGA’s usage include MEGA staking incentive programs, events, and promotions.

## Abstract

Megaton Finance is a capital hub for blockchain. It contributes to the public-friendly blockchain ecosystem establishment for TON and promotes on-chain liquidity by providing various incentives for users.

At the moment, Megaton Finance uses the following two methods to vitalize the community and liquidity supply. First, all transaction fees generated by liquidity pools are returned to users. Second, when assets are deposited in a liquidity pool, MEGA tokens are distributed as an incentive based on the depositor’s stake in each liquidity pool. Early on, Megaton Finance achieved the anticipated results in maximizing user participation and promoting a decentralized financial service but has also encountered some limitations. Considering the current market conditions and mid-to-long-term sustainability of Megaton Finance, we devised a policy that would add diversity to the community’s incentive structure. As well as offering MEGA incentives to liquidity providers, the main objective is to attract new users and strengthen the community.

This proposal lays the foundation for establishing the policy mentioned above. We will continue to award MEGA incentives to all liquidity pools within Megaton Finance; however, the ratio will be lowered from 100% to 30%. The remaining 70% will go to the newly created Community Liquidity Treasury. Community Liquidity Treasury’s primary objective is to aid Megaton Finance’s long-term growth, so the MEGA distributed to the pool is used solely for the benefit of Megaton Finance users and MEGA holders. Thus, Megaton Finance can serve as a medium to boost MEGA token value while remaining true to its original function as a representative DEX of the TON ecosystem.

Currently, the Megaton Finance team is preparing a MEGA Staking Incentive Program so that liquidity providers and MEGA holders can both become significant contributors to Megaton Finance. This program will have both quantitative and qualitative effects as the number of MEGA holders and MEGA value increases. This policy will most likely benefit MEGA holders who are loyal to Megaton Finance. And in the long run, users who provide liquidity to Megaton Finance will also benefit from the trickle-down effect.

The purpose of creating a Community Liquidity Treasury is to facilitate business cooperation and maximize user benefits. In other words, MEGA distributed to the treasury is not directly allocated to partners but is used to convert their users to Megaton Finance users. Megaton Finance Liquidity Treasury was named to emphasize its priority is the Megaton Finance community and that MEGAs are not used for joint marketing activities such as airdrops. In the future, we will introduce various content to Megaton Finance, including P2E games like Hero Blaze: Three Kingdoms and other DeFi projects. For continued use of MEGA tokens within the partner community in the future, the Megaton Finance team plans to diversify its partnership with its partners. A portion of the liquidity treasury will also be allocated to MEGA Staking Community members as membership rewards, and the system will be structured to reflect MEGA holders’ contributions significantly.<br>

### **MEGA Mining Amount**

The total daily mining amount of MEGA is 18,750 MEGA and 0.217013889 MEGA is(are) issued per second. Please refer to MEGA Allocation.

| Items                 | Amount                                                                                             |
| --------------------- | -------------------------------------------------------------------------------------------------- |
| Distribution by block | 0.217013889 MEGA                                                                                   |
| MEGA mining per day   | <p>18,750 MEGA<br>\*Community Liquidity Pools: 5,625<br>\*Community Liquidity Treasury: 13,125</p> |

### The effect of reducing distribution through halving

‌The halving slows down MEGA inflation by reducing the number of MEGA distributed per block. Please check for MEGA Allocation for detailed inflation plans.

{% content-ref url="/pages/AwGJiaOEZOyZYi7WI1d0" %}
[Allocation (-August 31st 2023 03:00 UTC)](/tokenomics/mega/allocation-august-31st-2023-03-00-utc)
{% endcontent-ref %}


# Allocation (-August 31st 2023 03:00 UTC)

## **MEGA Release Schedule**

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

* &#x20;**Total Supply: 100,000,000 MEGA**
* &#x20;**Initial Supply: 1,000,000 MEGA**

## **Initial token allocation**

To build the initial Megaton Finance ecosystem, 1,000,000 MEGA (1% of total supply) will be utilized for marketing, MEGA LP incentives, and Tonstarter.\
Megaton Finance will create a stable trading environment by securing potential users and liquidity on the TON network through the events using initial supply.<br>

## **Final token distribution**

The final token distribution of MEGA is 100,000,000 MEGA and will be distributed as in the table above.&#x20;

## Allocation structure of the MEGA token

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

MEGA distribution quantity, vesting period, and halving period for each item are shown in the table.


# Allocation (Current)

## **MEGA Release Schedule**

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

* &#x20;**Total Supply: 100,000,000 MEGA**
* &#x20;**Initial Supply: 1,000,000 MEGA**

## **Initial token allocation**

To build the initial Megaton Finance ecosystem, 1,000,000 MEGA (1% of total supply) will be utilized for marketing, MEGA LP incentives, and Tonstarter.\
Megaton Finance will create a stable trading environment by securing potential users and liquidity on the TON network through the events using initial supply.<br>

## **Final token distribution**

The final token distribution of MEGA is 100,000,000 MEGA and will be distributed as in the table above.&#x20;

## Allocation structure of the MEGA token

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

MEGA distribution quantity, vesting period, and halving period for each item are shown in the table.


# Create a Wallet

To use Megaton Finance, you must first create your crypto wallet. In the DeFi protocol, a personal crypto wallet is your account. You can make transactions such as deposits, withdrawals, and swaps by connecting your wallet to Megaton Finance. Megaton Finance is based on the TON network and can be connected to the service by using wallets below that support TON (Toncoin).

* ### TON Wallet Guide

  Wallets that support the TON network are TON Wallet, Tonhub, and Tonkeeper. Please refer to the user guide for more details.

{% file src="/files/hkB4hZeTzgIk0BuVYxkp" %}


# How to deposit assets

TON network’s key currency is TON (Toncoin). Users can use TON in Megaton Finance after depositing the TON held in an exchange/personal wallet into their TON wallet first. After converting TON to WTON through Megaton Finance's swap and the WTON Gateway, you can use swap and yield farm services.

{% tabs %}
{% tab title="Transfer to TON Wallet" %}
1\. Click the **\[Receive]** button on the TON Wallet and check the private wallet address.

&#x20;   ![](/files/c4BvIflI0pOswz4toRnW) ![](/files/l67Yfd5rZuzwpdPkMA4M)

2\. Enter the correct wallet address in the withdrawal address field of the exchange or personal wallet withdrawal page.

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

<figure><img src="/files/m4B9Tk3gMbNEtUzu50E5" alt=""><figcaption><p><mark style="color:red;">The example is the OKX exchange.</mark></p></figcaption></figure>
{% endtab %}

{% tab title="Transfer to Tonhub" %}
1\. Click the \[Receive] button on the Tonhub and check the private wallet address.

&#x20;   ![](/files/u9d0z0VEhUtAZLQzhuDK) ![](/files/PgMcwWUCP50ImA8d0ELm)

2\. Enter the correct wallet address in the withdrawal address field of the exchange or personal wallet withdrawal page.

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

<figure><img src="/files/m4B9Tk3gMbNEtUzu50E5" alt=""><figcaption><p><mark style="color:red;">The example is the OKX exchange.</mark></p></figcaption></figure>
{% endtab %}

{% tab title="Transfer to Tonkeeper" %}
1\. Click the \[Receive] button on the Tonkeeper and check the private wallet address.

&#x20;   ![](/files/pKAQIDdrOBa8aiaNCQlk) ![](/files/TRvAEmk9HBnxMx39ZbYs)

2\. Enter the correct wallet address in the withdrawal address field of the exchange or personal wallet withdrawal page.

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

<figure><img src="/files/m4B9Tk3gMbNEtUzu50E5" alt=""><figcaption><p><mark style="color:red;">The example is the OKX exchange.</mark></p></figcaption></figure>
{% endtab %}
{% endtabs %}

![](/files/K3rZDkNvSdTzKpWwIs6k) Once a transfer transaction is created and completed, it cannot be canceled due to the nature of blockchain. It is strongly recommended to check and test a small amount for the transfer transaction first before transferring the whole assets.


# How to convert TON to WTON through the WTON Gateway

Originally, TON is not compatible with other EVM-based coins and altcoins on the TON mainnet. Due to the nature of the TON network, TON cannot be used as it is in Megaton Finance, so TON must be converted into WTON using the WTON gateway.

If you wrap the TON stored in your wallet through the WTON gateway, it will be converted to WTON and can be used in Megaton Finance. You can convert from WTON back to TON by utilizing the unwrap function.

{% tabs %}
{% tab title="Wrap TON to WTON" %}
1\. Connect your wallet and jump into WTON Gateway.

<div><figure><img src="/files/Ifuw5sjspJ1gfjQPcJZk" alt=""><figcaption></figcaption></figure> <figure><img src="/files/Zr2FW2Kb61NoE980XNiO" alt=""><figcaption></figcaption></figure></div>

2\. Click the ‘From’ tab and select TON, then input the wrap amount.

<div><figure><img src="/files/xNMiWnjJZwCZVA7ePdCY" alt=""><figcaption></figcaption></figure> <figure><img src="/files/hbWe6wCL8BUYRVqtmRwi" alt=""><figcaption></figcaption></figure></div>

3\. After the ‘SEND TON’ button, then enter the wallet password to complete wrapping.

<figure><img src="/files/a2VlhjuPhDqqVaagWCB5" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Unwrap WTON to TON" %}
1\. Connect your wallet and jump into WTON Gateway.

<div><figure><img src="/files/Iqk9ywcQ2SdyA7TCaXwO" alt=""><figcaption></figcaption></figure> <figure><img src="/files/Zr2FW2Kb61NoE980XNiO" alt=""><figcaption></figcaption></figure></div>

2\. Click the ‘From’ tab and select WTON, then input the unwrap amount.

<div><figure><img src="/files/14jTlCRl2G11mPUnEdbB" alt=""><figcaption></figcaption></figure> <figure><img src="/files/hbWe6wCL8BUYRVqtmRwi" alt=""><figcaption></figcaption></figure></div>

\
3\. After the ‘SEND TON’ button, then enter the wallet password to complete unwrapping.

<figure><img src="/files/a2VlhjuPhDqqVaagWCB5" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}


# How to get cross-chain assets on Orbit Bridge

Users have to use Orbit Bridge to transfer and deposit TON/EVM-based assets held in centralized exchanges or personal wallets.

* [Link to Orbit Bridge](https://bridge.orbitchain.io)

{% file src="/files/TMHbHrFPcmKnrL2jnkBH" %}


# Deposit LP (Yield Farm)

1. **Access Megaton Finance (<https://megaton.fi/>) and click \[Connect Wallet] to connect the TON wallet you want.**

<figure><img src="/files/5MSNqIN3jfr7rW9m6gbJ" alt=""><figcaption></figcaption></figure>

2. **After successfully connecting the TON-supported wallet, click the \[Deposit] tab.**

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

3. **Once you click the \[Deposit] button on the top menu, you can check the list of various pairs. You can easily find a liquidity pool by searching for the token or symbol name of the asset you want to deposit. Click \[Manage] in the pool list to enter the detail page.**

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

4. **Once you enter the A token amount in the \[Deposit] menu, the B token amount required to deposit together is automatically input. At this time, you can check the details related to the deposit at the bottom of the screen. You must proceed with depositing assets after fully understanding the changes that may occur during the deposit process. All displayed information is real-time estimated information, and differences may occur during the actual deposit process.**

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

Please Note:

* Exchange Rate: You can check the current price of the two assets within Megaton Finance.
* Share Ratio in Pool: You can check your expected stake ratio when depositing the entered asset based on the current pool size.&#x20;
* Daily Reward: Based on the MEGA distribution yield of the current pool, you can check the amount of MEGA to be distributed for one day when depositing the entered asset.
* Exchange Rate Range: Deposits are made only within ±1% of the token exchange rate (price) displayed on the current page. The token exchange rate (price) may fluctuate as other participants deposit and withdraw from the pool. In this case, it is possible to prevent deposits in the pool at a token price that the user did not expect. The user must proceed with depositing assets after sufficiently familiarizing himself with the range of fluctuations.

5. **After checking the details, click the \[Deposit] button. Deposit tokens corresponding to each pair in turn (two transactions required in total).**

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

6. **You can check it in the \[My deposit] area after your deposit completion. You can get the reward in real-time after the deposit completion.**

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


# Contract

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

{% content-ref url="/pages/JwMu9JjsuC0XdXCPMkRN" %}
[MEGA](/developers/contract/mega)
{% endcontent-ref %}

{% content-ref url="/pages/ZFqJAz9Kdx3wVNxb6edl" %}
[Router/Factory](/developers/contract/router-factory)
{% endcontent-ref %}

{% content-ref url="/pages/CDuisM6NBTmLVyvM5xMJ" %}
[Exchange](/developers/contract/exchange)
{% endcontent-ref %}


# MEGA

The MEGA smart contract is Megaton Finance's governance token that complies with the Jetton standard.

## Code

Github Link: (TBD)

## Address

* Mainnet: (to be updated after official launch)

## Read-Only Functions

{% tabs %}
{% tab title="MEGA Minter" %}
**get\_jetton\_data**

```
(int, int, slice, cell, cell) get_jetton_data() method_id
```

* int totalSupply
* int mintable
* slice admin\_address
* cell mega\_content
* cell mega\_wallet\_code

**get\_jetton\_extra\_data**

```
(slice) get_jetton_extra_data() method_id
```

* slice minter\_address

**get\_wallet\_address**

```
slice get_wallet_address(slice owner_address) method_id
```

* slice user\_wallet\_address
  {% endtab %}

{% tab title="MEGA Wallet" %}
**get\_wallet\_data**

```
(int, slice, slice, cell) get_wallet_data() method_id
```

* int balance
* slice owner
* slice mega\_minter\_address
* cell mega\_wallet\_code
  {% endtab %}
  {% endtabs %}

## Reference

* Jettons standard description: [TEP74](https://github.com/ton-blockchain/TEPs/blob/master/text/0074-jettons-standard.md) & [TEP89](https://github.com/ton-blockchain/TEPs/blob/master/text/0089-jetton-wallet-discovery.md)


# Router/Factory

The Router contract oversees the full functionality of token pair registration and supports all the basic requirements of a front-end offering trading.

## Code

Github Link: (to be updated)

## Address

* Mainnet Router: EQAxC3GzQBgjlvW6CJAwgaHvarTfVxo8p7Be\_6RMSjsPki6s
* Mainnet Factory: EQDp3uMnOuXF2rurDd47BGtGKW88iSNraS8fuP0GElT6G\_39

## Functions

{% tabs %}
{% tab title="Read-Only Functions" %}
**get\_address\_data**

```
(slice, slice, slice, slice, slice, slice) get_address_data() method_id
```

* slice admin\_address
* slice pool\_creator\_address
* slice governance\_jetton\_address
* slice mining\_rate\_admin\_address
* slice lp\_policy\_admin\_address
* slice next\_admin\_address

**get\_mining\_data**

```
(int, int, int, int, int, int) get_mining_data()
```

* int total\_mining\_amount
* int total\_mining\_rate
* int mining\_amount\_per\_sec
* int half\_life
* int total\_reward

**get\_lp\_data**

```
(int, cell, cell) get_lp_data() method_id
```

* int pool\_count
* cell ( dict ) jetton\_pair\_to\_lp
* cell ( dict ) lp\_to\_jetton\_pair

**get\_jetton\_pair\_to\_lp\_address**

```
(slice, int) get_jetton_pair_to_lp_address(slice jettonA_address, slice jettonB_address) method_id
```

* slice lp\_address
* int exist

**get\_code\_data**

```
(cell, cell, cell) get_code_data() method_id
```

* cell lp\_minter\_code
* cell lp\_wallet\_code
* cell mega\_wallet\_code

**get\_lp\_default\_content\_data**

```
(cell) get_lp_default_content_data() method_id
```

* cell lp\_default\_content
  {% endtab %}

{% tab title="State-Changing Functions" %}

#### How to build transaction

* Swap

```typescript
// TL-B schema
// transfer query_id:uint64 amount:VarUInteger 16 destination:MsgAddress response_destination:MsgAddress custom_payload:Maybe ^Cell forward_ton_amount:VarUInteger 16 forward_payload:Either Cell ^Cell = InternalMsgBody

await sendInternalMessageWithWallet({
    walletContract,
    secretKey,
    to: userJettonWalletAddress,
    value: toNano(0.4),
    body: beginCell()
        .storeUint(0xf8a7ea5, 32)
        .storeUint(queryId, 64)
        .storeCoins(fromAmount)
        .storeAddress(routerAddress)
        .storeAddress(responseAddress)
        .storeDict(beginCell().endCell())
        .storeCoins(toNano(0.3))
        .storeDict(beginCell()
            .storeAddress(fromJettonAddress)
            .storeAddress(toJettonAddress)
            .storeCoins(minAmount)
        .endCell())
    .endCell()
});
```

{% endtab %}
{% endtabs %}


# Exchange

This is a smart contract to expand Jetton that is created with every liquidity pair. The Router deploys this as new pool creation is requested. Although the Router actually stores the two tokens of a pair and swapping takes place through it, the Exchange Contract must be called for liquidity to be provided or taken.

## Code

Github Link: (to be updated)

## Functions

### Exchange Minter

{% tabs %}
{% tab title="Read-Only Functions" %}
get\_jetton\_data

```
(int, int, slice, cell, cell) get_jetton_data() method_id
```

* int totalSupply
* int mintable
* slice admin\_address
* cell exchange\_content
* cell exchange\_wallet\_code

**get\_lp\_swap\_data**

```
(int, int, slice, slice, slice, int, int, slice, slice, int, int) get_lp_swap_data() method_id
```

* int swap\_fee
* int min\_amount
* slice router\_address
* slice jettonA\_address
* slice jettonA\_wallet\_address
* int jettonA\_balance
* int jettonA\_pending\_balance
* slice jettonB\_address
* slice jettonB\_wallet\_address
* int jettonB\_balance
* int jettonB\_pending\_balance

**get\_lp\_mining\_data**

```
(int, int, int, int, int, int, cell) get_lp_mining_data() method_id
```

* int mining\_amount
* int datetime\_amount
* int minable\_time
* int half\_life
* int last\_index
* int last\_mined
* cell mining\_rate\_cell

**get\_lp\_user\_info\_dict**

```
(cell) get_lp_user_info_dict() method_id
```

* cell ( dict ) total\_user\_info\_dict

**get\_lp\_user\_info**

```
(int, int, int, int) get_lp_user_info(slice user_address) method_id
```

* int find
* int balance
* int user\_reward\_sum
* int last\_user\_index

**get\_wallet\_address**

```
slice get_wallet_address(slice owner_address) method_id
```

* slice user\_wallet\_address
  {% endtab %}

{% tab title="State-Changing Functions" %}

#### How to build transaction

* Add Liquidity

```typescript
// TL-B schema
// transfer query_id:uint64 amount:VarUInteger 16 destination:MsgAddress response_destination:MsgAddress custom_payload:Maybe ^Cell forward_ton_amount:VarUInteger 16 forward_payload:Either Cell ^Cell = InternalMsgBody

// 1. add liquidity tokenA
await sendInternalMessageWithWallet({
    walletContract,
    secretKey,
    to: userJettonAWalletAddress,
    value: toNano(0.7),
    body: beginCell()
        .storeUint(0xf8a7ea5, 32)
        .storeUint(query_id, 64)
        .storeCoins(jettonAAmount)
        .storeAddress(lpAddress)
        .storeAddress(responseAddress)
        .storeDict(beginCell().endCell())
        .storeCoins(toNano(0.5))
        .storeDict(beginCell()
            .storeCoins(minAmountForJettonA)
            .storeCoins(minAmountForJettonB)
        .endCell())
    .endCell()
});

// 2. add liquidity tokenB
await sendInternalMessageWithWallet({
    walletContract,
    secretKey,
    to: userJettonBWalletAddress,
    value: toNano(0.7),
    body: beginCell()
        .storeUint(0xf8a7ea5, 32)
        .storeUint(query_id, 64)
        .storeCoins(jettonBAmount)
        .storeAddress(lpAddress)
        .storeAddress(responseAddress)
        .storeDict(beginCell().endCell())
        .storeCoins(toNano(0.5))
        .storeDict(beginCell()
            .storeCoins(minAmountForJettonA)
            .storeCoins(minAmountForJettonB)
        .endCell())
    .endCell()
});
```

* Remove Liquidity

```typescript
// TL-B schema
// burn query_id:uint64 amount:VarUInteger 16 response_destination:MsgAddress custom_payload:Maybe ^Cell = InternalMsgBody

await sendInternalMessageWithWallet({
    walletContract,
    secretKey,
    to: lpAddress,
    value: toNano(0.35),
    body: beginCell()
        .storeUint(0x595f07bc, 32)
        .storeUint(query_id, 64)
        .storeCoins(lpAmount)
        .storeDict(beginCell()
            .storeCoins(minAmountForJettonA)
            .storeCoins(minAmountForJettonB)
        .endCell())
    .endCell()
});
```

* Claim

```typescript
// TL-B schema
// claim query_id:uint64 = InternalMsgBody

await sendInternalMessageWithWallet({
    walletContract,
    secretKey,
    to: lpAddress,
    value: toNano(0.15),
    body: beginCell()
        .storeUint(0x6b14cfe1, 32)
        .storeUint(query_id, 64)
    .endCell()
});
```

{% endtab %}
{% endtabs %}

### Exchange Wallet

{% tabs %}
{% tab title="Read-Only Functions" %}
**get\_wallet\_data**

```
(int, slice, slice, cell) get_wallet_data() method_id
```

* int balance
* slice owner\_address
* slice lp\_minter\_address
* cell lp\_wallet\_code

get\_wallet\_extra\_data

```
(int, int, slice, slice) get_wallet_extra_data() method_id
```

* int jettonA\_pending\_balance
* int jettonB\_pending\_balance
* slice jettonA\_address
* slice jettonB\_address
  {% endtab %}
  {% endtabs %}


# Risk & Security

## Abstract

Megaton Finance ([**https://megaton.fi**](https://megaton.fi/)) is a decentralized application (DApp) based on the TON blockchain. Megaton Finance is designed to provide users with an easy-to-use interface that integrates directly with the TON blockchain wallet, to swap various digital assets and to provide liquidity.

For reliable network/service while using Megaton Finance, please read the following guideline carefully.

* We recommend you access the service with only one instance/tab.
* The service may be limited if you use multiple instances/tabs for a prolonged period of time, use a public/shared IP access point, and/or there is an excessive amount of connection requests.
* If you are having difficulty with connectivity for whatever reason, please close all instances/tabs and access the service after at least 1 hour before re-connecting.

<mark style="color:blue;">**This guideline contains important information regarding the usage of Megaton Finance, which users should familiarize themselves with. Please read this article carefully. Using Megaton Finance constitutes acceptance of terms and risks, and assumes that the user has read this guideline in full.**</mark>

## Asset deposit/withdrawal

Users should be aware of the following in depositing and withdrawing assets.

* <mark style="color:blue;">**To request a transaction, the user must have a TON wallet to hold TON-based assets, along with a minimum amount of TON to use for transaction fees.**</mark>
* <mark style="color:blue;">**As such, An asset that is not a TON-compatible Token (WTON) and based on other blockchains including but not limited to Ethereum, Klaytn, and Polygon must be converted into a TON-compatible format (o-asset) through Orbit Bridge prior to being deposited into Megaton Finance.**</mark>

Users must <mark style="color:blue;">**carefully check the asset type and address**</mark> in depositing and withdrawing from Megaton Finance. <mark style="color:blue;">**If the user deposits an asset that is unsupported on the TON blockchain or misenters the deposit address, the asset will not be deposited and may be permanently lost.**</mark>

* Megaton Finance is a decentralized interface where the private keys of users are not stored centrally. This means deposit error due to user negligence is, by system design, impossible to reverse, including for assets mentioned above. This means that the way Megaton Finance can and will handle wrongly deposited assets is inherently different from how it is dealt with at centralized exchanges such as Binance, Gate.io, Kucoin, Huobi, Upbit, and Bithumb.
* Megaton Finance is continually improving upon its user interface to lower the rate of wrong deposit incidents, including but not limited to, showing warnings, and announcements. Megaton Finance will continue to explore ways to make the user experience as seamless as possible within the boundaries of maintaining decentralization.
* To prevent losing valuable assets, we recommend that users test with a small number of assets prior to sending a larger amount.
* For deposit and withdrawal problems occurring as a result of using Orbit Bridge, please refer to the respective service’s policies.

[**Go to Orbit Bridge >**](https://bridge.orbitchain.io/)

## Providing Liquidity(Deposit), Removing Liquidity(Withdraw), Swap

You can act as a Liquidity Provider by providing liquidity to a Liquidity Pool (yield farm) in Megaton Finance; however, you must be fully aware of the risks involved and must make responsible financial decisions on your own accord.

**1. Assets**\
Megaton Finance is a decentralized interface that <mark style="color:blue;">**does not have its protocol authority centralized to a specific entity.**</mark>\
The user is responsible for all trading activities made through Megaton Finance and is also responsible for all <mark style="color:blue;">**due diligence (DD) regarding the token to be bought, and the company or foundation**</mark> behind the said token. It is entirely your responsibility to be aware of the risks involved, in trading a token or providing liquidity for a token.

**2. Price**\
The liquidity pool ratio of tokens within the contract determines the price of each token within Megaton Finance. As an automated Smart Contract is responsible for adjustment to price as per the formula (x\*y=k), <mark style="color:blue;">**the price shown on the Megaton Finance interface may not be the same as prices shown at exchanges, and cannot be guaranteed for accurate prices.**</mark>

<mark style="color:blue;">**\[Article**</mark>[**\] How AMM predicts prices**](https://academy.binance.com/en/articles/what-is-an-automated-market-maker-amm)

The price of each token at the point of deposit, withdrawal, and swap is determined as per the formula above (the swap ratio of a token pair) and is not determined by the amount of the swap.&#x20;

The swap ratio of two tokens may also change through the number of people participating in the swap. This may result in the actual number of tokens achieved after a swap differing from the number displayed on the Megaton Finance interface.

<mark style="color:blue;">**Megaton Finance Protocol has safety mechanisms in place to minimize losses resulting from a change in swap ratio, by limiting the range in which the swap request is executed. However, it is the user’s responsibility to carefully check the ratio prior to executing pool deposit, withdrawal, and swap.**</mark>

**3. Provision of existing pair**\
Users can earn returns from MEGA distribution, and transaction fee distribution by depositing their assets in existing pair deposit services through the Megaton Finance interface.

<mark style="color:blue;">**However, should the price of assets change drastically due to market fluctuations, the value of the user assets in the pool may be different from the expected value, even to a point of a loss.**</mark>&#x20;

However, these losses are finalized upon withdrawal from the pool, and for this reason, these losses are called “Impermanent Loss’ - of which you can find out more details in the link below. If the price difference between the two assets becomes closer to what they were at the time of depositing into the pool, the actual loss would minimize. Also, total profit must be considered with the MEGA mining rate and transaction fee reward as well.

<mark style="color:blue;">**\[Article**</mark>[**\]**](https://academy.binance.com/en/articles/what-is-an-automated-market-maker-amm)[ **What is Impermanent Loss?**](https://academy.binance.com/en/articles/impermanent-loss-explained)

## Price Oracle

* Stablecoins are calculated as fixed values ($1.0).
* Determination of value for other coins, considering the scale of liquidity of each asset, are Bithumb, Coinone, Huobi, gate io, Chainlink, and pool exchange ratio (price) in Megaton Financ&#x65;*. sed* on the median value of the price of centralized exchanges such as Binance, Upbit, Bithumb

## Service Agreement

* Megaton Finance is a web-app interface that allows users to use their TON blockchain wallet to communicate with a decentralized protocol to swap assets and provide liquidity. This means Megaton Finance wields no control over individual Liquidity Pools or the trust of a swap. <mark style="color:blue;">**It is the user’s responsibility to carefully consider the benefits and risks related, by taking into consideration the token price and ratio at the moment of swap.**</mark>
* Expected return rate, token price, and all other information provided by the Megaton Finance interface serve to help users make informed decisions for providing liquidity, removing liquidity, swapping, and should not be used to make financial decisions. <mark style="color:blue;">**Megaton Finance is designed to provide, within a reasonable scope, accurate information, but does not guarantee the timeliness or accuracy of the data.**</mark>
* Megaton Finance is not responsible for user loss of assets, and for generating profit that is less than the projected profit, resulting from the use of Megaton Finance.
* Megaton Finance does not guarantee the continuity of Megaton Finance service, and of the functions within. Any service or functions provided within Megaton Finance can be added or deleted permanently, and Megaton Finance itself may be stopped or changed (In the case of a permanent stoppage of Megaton Finance service, users that may be affected will be given a reasonable period (30 days or more) and notifications/guides).
* Megaton Finance does not guarantee the reliability of the TON blockchain platform used by Megaton Finance Protocol, as well as any other 3rd party services.
* Development and update of Megaton Finance Protocol aim to rely on a decentralized voting and consensus system; however, developers and governance participants of Megaton Finance protocol are not responsible in any way for any and all parts of Megaton Finance Protocol.
* Megaton Finance is a decentralized, autonomous Smart Contract application designed to provide safe and transparent financial opportunities through direct interaction with the TON blockchain. However, due to the complexity of software code and the nature of technology, the integrity of the code cannot be guaranteed.
* Smart Contract codes used in Megaton Finance are susceptible to vulnerabilities, and risks of asset loss exist from hackers and flash loan exploits utilizing these vulnerabilities.
* There is a continuous effort to maintain the block sync between Megaton Finance and the TON network; however, <mark style="color:blue;">**the Megaton Finance interface may be stopped without prior notice**</mark> due to problems in the network resulting from <mark style="color:blue;">**transaction congestion, computer system errors and software attacks, and other factors, such as natural events. Megaton Finance is not guaranteed to work at all times.**</mark>
* In aforementioned situations and more, there may be errors in the values/information displayed on the interface, as well as stoppage of service connection. User requests for swaps, deposits, withdrawals, and other transactions may be delayed or fail.
* Megaton Finance cannot be held responsible for any of the aforementioned cases within the reasonable boundaries of the law, provided Megaton Finance itself is not responsible for the occurrence of such a case.

**This revision regarding the service will be effective from December 09, 2022**

**Service Agreement Change History**

**(December 9, 2022) : Initially declared**


# Contract & Audit

CertiK Verified on Feb 9th, 2023

{% file src="/files/iIrp9W3kjdSReDsYg36C" %}


# Support & Team

## General

![](/files/TXeDM3AHymw52jjilmIp) You can access Megaton Finance through the [official website](https://megaton.fi/)

:book: Medium: <https://medium.com/megatonfinance>

:telephone\_receiver: Telegram: <https://t.me/MegatonFinanceChannel>

:bird: Twitter: <https://twitter.com/Megaton_Fi>

:computer: Discord: <https://discord.com/invite/megatonfinance>

## Team & Product

**Ozys** is a blockchain company that leads changes in the world and presents innovation.

<img src="/files/PySWCHF3XYGlYUSyo2Ba" alt="" data-size="line"> Ozys: [https://ozys.io](https://ozys.io/)

:airplane: KLAYswap: [https://klayswap.com](https://klayswap.com/)

![](/files/e9rDZuQ2q8ZXBGq91P0z) Meshswap: [https://meshswap.fi](https://meshswap.fi/)

:bridge\_at\_night: Orbit Bridge: [https://bridge.orbitchain.io](https://bridge.orbitchain.io/)

:moneybag: Belt Finance: <https://belt.fi/landing>

<img src="/files/u9whFe8KLku9LWT8J86X" alt="" data-size="line"> KLAYstation: [https://klaystation.io](https://klaystation.io/)


# 메가톤 파이낸스

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

오늘날 블록체인 생태계의 파편화는 심화하고 있으며, 저마다 문화적 다양성을 전제로 한 독자적 생태계를구축하고 있습니다. [TON (The Open Network)](https://ton.org/) 또한 파편화한 블록체인 생태계 중 하나이자, 고립된 상태에  머무르고 있습니다. 메가톤 파이낸스는 고립된 TON 블록체인 생태계를 극복하고, 가장 활성화된 블록체인인 Ethereum, BNB, Polygon 등으로의  확장을 지원하는 연결 고리입니다.

\
메가톤 파이낸스는 TON 네트워크 내 최초로 스왑, 페어 예치 등 다양한 수익 창출 기회를 제공하는 자율 금융 프로토콜입니다. 유저들은 메가톤 파이낸스에서 기존 TON 네트워크에서 활용성이 부족했던 [톤코인(Toncoin)](https://wton.dev/)을 사용할 수 있습니다. 메가톤 파이낸스는 디파이 생태계에 널리 퍼져있는 AMM (Automated Market Maker) DEX 비즈니스 모델과 멀티체인 이코노미의 확장성, 독특한 TON 네트워크의 특성이 결합한 구조를 가지고 있습니다.<br>

* **AMM 메커니즘** \
  \
  AMM은 온체인상에서의 암호화폐 거래 방식을 변화시킨 혁신적인 거래 메커니즘입니다. 매수/매도 오더북 방식을 대신하여 참여자들은 유동성 공급자에 의해 조성된 유동성 풀을 통해 자유롭게 거래할 수 있으며, 유동성 공급자들은 해당 유동성 풀에서 발생하는 거래 수수료를 자신의 유동성 기여분에 따라 수익으로 획득할 수 있습니다.

* **메가톤 파이낸스 멀티체인 토큰 이코노미**\
  \
  자율 금융 프로토콜은 클레이튼 체인에서 가장 큰 AMM DEX인 KLAYswap에서 시작했습니다. KLAYswap의 MAU는 100만명을 넘어섰고, TVL은 지난해 21억 달러를 달성하면서, 글로벌 프로토콜로 자리매김했습니다. 멀티체인 토큰 이코노미는 새로운 프로토콜의 체인 지배력을 빠르게 높이기 위해 이미 성숙기에 접어든 KLAYswap과 폴리곤 네트워크의 Meshswap의 풍부한 사용자와 유동성을 활용하는 전략입니다. 멀티체인 토큰 이코노미로 연결된 각 프로토콜은 체인들을 초월한 광범위한 유저 풀과 유동성을 기반으로 토큰 이코노미 컨버전스를 통해 다양한 보상 기회를 창출합니다. 또한 이러한 보상을 통해 메가톤 파이낸스 사용자에게 보상을 지속적으로 분배하여 TON 네트워크 생태계를 확장합니다.

* **기초 인프라 구축으로 TON 활용성 증대**\
  \
  TON 네트워크의 기축통화인 TON(Toncoin)은 WTON 게이트웨이를 통해 랩트 토큰 형태인 WTON으로 변환하여 다양한 블록체인에서 사용할 수 있습니다. 또한 크로스체인 브릿지인 오르빗 브릿지를 통해 ETH, USDT, USDC, KLAY, MATIC 등 다양한 유동성 자산이 TON 네트워크로 넘어올 수 있습니다. 이렇게 확보된 유동성을 기반으로 메가톤 파이낸스에서 스왑, 페어 예치 등의 기능을 이용하여 수익을 창출할 수 있습니다. 반대로 클레이튼, 폴리곤 체인에 구축된 클레이스왑, 메시스왑 등 타 블록체인 DeFi에서 TON을 활용할 수 있습니다.<br>

**메가톤 파이낸스는 여러분의 참여를 기다립니다.**&#x20;

그동안 TON 생태계에서 DeFi를 경험해보고 싶었지만, 낮은 접근성과 인프라 부족으로 참여에 어려움을 겪었던 모든 분들이 이번 메가톤 파이낸스 출시를 통해 손쉽게 경험하고 즐길 수 있습니다.&#x20;

메가톤 파이낸스는 단지 수익을 제공하는 AMM 메커니즘 프로토콜 정도로 그치지 않습니다. 추후 지속적인 업그레이드와 텔레그램 간 결합  등을 매개로 메가톤 파이낸스가 웹 3.0의 관문이 될 것으로 기대합니다.&#x20;

여러분의 많은 참여를 부탁드리며, 메가톤 파이낸스를 시작으로 TON 네트워크에 만들어질 다양한 디파이 프로토콜을 기대해주세요.


# TON 네트워크

[TON (The Open Network)](https://ton.org/)는 빠르고 안전하면서 확장성이 높은 블록체인 네트워크로, 초당 수백만건의 트랜잭션을 처리할 수 있는 사용자 친화적인 서비스입니다. TON은 다양한 디앱 서비스를 호스팅 및 제공하는 슈퍼컴퓨터와 같은 역할을 합니다. 오지스는 뛰어난 성능과 거대한 커뮤니티를 보유한 TON 네트워크의 생태계 위에서 AMM 기반의 DEX를 만들고자 합니다. 오지스는 앞서KLAYswap, Meshswap 등 DeFi 프로토콜을 개발하고 운영하면서 세계적인 수준의 TVL과 MAU를 달성한 바 있으며, TON 네트워크에서도 지금까지 쌓아온 경험을 바탕으로 사용자 친화적 DEX를 구축할 것입니다. 거래소 기능뿐만 아니라 레버리지 파밍, 거버넌스, 롱/숏 포지션 예치 등 다양한 금융 서비스를 추가할 예정입니다.<br>

### **Specifications**

* &#x20;초당 55,000 트랜잭션 처리 (TPS)
* &#x20;블록 생성 시간 5초
* &#x20;Time-to-finality 6초 이하
* &#x20;workchain당 최대 260개의 샤드 지원&#x20;

### **Orbit Bridge**

메가톤 파이낸스는 오지스가 개발한 글로벌 탑 7 브릿지인 오르빗 브릿지를 활용해 TON 생태계를 확장하고자 합니다. 오르빗  브릿지는 80만건 이상의 트랜잭션, 120억 달러를 상회하는 총거래량, 2억 달러 이상의 TVL을 기록하면서도 단 한 번의 해킹 사고가 나지 않은 견고한 크로스체인 브릿지입니다. 오르빗 브릿지는 현재 Ethereum, Klaytn, BNB, HECO, Stack, Ripple 등 19개의 다양한 네트워크와 ETH, USDT, USDC 등 85개 이상의 자산을 지원하고 있습니다.

오르빗  브릿지는 Trustless, Secure Multiple-Signature Verification으로 오지스, Ground X, DSRV 등 분권화된 주체가 온체인에서 합의를 달성하는 탈중앙 시스템과 스마트 컨트랙트 기반의 빠른 합의 프로세스를 구축했습니다. 메가톤 파이낸스는 안정적이면서도 확장성이 높은 오르빗 브릿지를 통해 Ethereum을 비롯한 다양한 네트워크에 있는 BTC, ETH, USDT, USDC, DAI 등 주요 자산 활용 기회를 제공합니다.

### **Links**

* [**공식 홈페이지**](https://ton.org/)
* [**백서**](https://ton-blockchain.github.io/docs/ton.pdf)


# 참여자

**메가톤 파이낸스는 AMM 메커니즘과 유동성 풀로 작동하는 스왑 프로토콜이자, 온체인 스왑 서비스입니다.입니다. WTON, MEGA 등의 토큰을 보유한 모든 사람은 유동성 공급에 따른 거래 수수료로 수익을 얻을 수 있습니다.**

* &#x20;**거래자:** 메가톤 파이낸스의 스왑 유동성 풀에서 원하는 토큰을 거래할 수 있습니다. 거래 가격은 풀 내 예치된 두 자산의 수량(교환 비율)에 따라 변동됩니다.
* **유동성 공급자:**  메가톤 파이낸스 사용자는 거래소 내 다양한 페어 풀에 자산을 예치하고 LP (Liquidity Provider) Token 보상, 추가 에어드랍 보상을 받을 수 있습니다. 유동성 공급자는 풀에 자산 예치 시 공급에 대한 증표인 LP Token, MEGA를 지갑에 수령하게 되며, 풀 내에서의 LP Token 지분율에 따라 각종 보상을 분배받습니다.<br>

![](/files/K3rZDkNvSdTzKpWwIs6k) AMM 기반 스왑 프로토콜에서는 거래 시점의 예상 가격과 실제 체결된 가격의 괴리(슬리피지/Slippage)가 발생할 수 있습니다. 또한, 유동성 공급자는 공급 시점 이후에 해당 풀의 토큰 가격이 외부 가격과의 괴리가 발생하여 자동화된 마켓 메이킹 메커니즘에 의해 조정되는 과정에서 손실(Impermanent Loss)이 발생할 수 있습니다.\
거래 및 유동성 공급 시에는 해당 리스크를 염두에 두시고 진행하시길 바랍니다.<br>


# FAQ

### 1. 메가톤 파이낸스란 무엇인가요?

메가톤 파이낸스는 TON 네트워크 내 최초로 스왑, 페어 예치 등 수익 창출 기회를 제공하는 자율 금융 프로토콜입니다. 메가톤 파이낸스 사용 사용자는 프로토콜 내에서 유동성을 공급하고, TON 네트워크 상에 존재하는 다양한 토큰을 거래할 수 있습니다. 메가톤 파이낸스는 오지스가 개발한 글로벌 상위 7 브릿지인 오르빗 브릿지를 활용해 톤 생태계 내에서 다양한 블록체인 자산을 활용할 수 있는 환경을 구축했습니다.<br>

### 2. 메가톤 파이낸스에서 무엇을 할 수 있나요?

메가톤 파이낸스 V1에서 제공하는 기능은 크게 WTON 게이트웨이, 스왑, 페어 예치 세 가지입니다.&#x20;

* WTON 게이트웨이\
  \
  WTON 게이트웨이를 통해 사용자는 이더리움, 폴리곤 등의 네트워크에서 TON 코인과 연동된 자산을 스마트 컨트랙트 상에서 사용할 수 있습니다.\ <br>
* 스왑\
  \
  메가톤은 파이낸스는 유동성 풀을 기반으로  젯톤 표준 토큰을 서로 교환할 수 있습니다. 토큰 교환은 Uniswap v2 amm의 방정식인 x \* y = k를 기반으로 실행되며, 토큰 교환 시 [슬리피지](https://academy.binance.com/en/articles/bid-ask-spread-and-slippage-explained)가 발생합니다.\ <br>
* 페어 예치 \
  \
  메가톤 파이낸스 사용자는 거래소에 있는 다양한 풀에 자산을 예치할 수 있고, 이에 대한 증거로 LP 토큰을 수령합니다. 수령한 LP 토큰의 개수는 전체 풀에서 내 몫의 지분(%)을 나타냅니다.\
  \
  [메가톤 파이낸스 PRODUCTS 상세 설명](https://docs.megaton.fi/products/wton)

### &#x20;3. 메가톤 파이낸스는 어떤 방식으로 작동하나요?

메가톤 파이낸스는 자동화된 마켓메이커로 스마트 컨트랙트에 의해 운영되는 유동성 풀을 기반으로 작동합니다. 메가톤 파이낸스의 유동성 풀은 두 개의 토큰으로 이루어져 있으며,  WTON, ETH, USDT 등을 기반으로 만들어집니다. 유동성 풀 내에서 각 토큰의 기준 가격은 Uniswap v2 amm의 방정식인 x \* y = k에 의해 자동으로 조정되기 때문에 거래자는 거래 상대방 없이 유동성 풀을 통해 항상 토큰을 구매하거나 판매할 수 있습니다.

<br>

### 4. 메가톤 파이낸스의 모든 페어가 WTON을 기반으로 만들어진 이유는 무엇인가요?

메가톤 파이낸스 V1의 모든 유동성 풀은 WTON을 기반으로 만들어졌습니다. 그 이유는 아직 TON 네트워크의 개발이 진행 중이기 때문입니다. TON 블록체인 개발이 완료된 후 유니스왑 V2와 같이 토큰 라우팅이 가능한 메가톤 파이낸스 V2를 선보일 예정입니다.

### &#x20; 5. 메가톤 파이낸스는 누가 개발했나요?&#x20;

메가톤 파이낸스의 개발사 오지스는 KLAYswap, Meshswap 등 디파이 프로토콜을 개발하고 운영하면서 세계적인 수준의 TVL과 MAU를 달성한 바 있습니다. 이러한 경험을 바탕으로 톤 생태계 위에 사용자 친화적인 DEX를 출시할 예정입니다.

### &#x20; 6. MEGA 토큰이란 무엇인가요?

MEGA는 메가톤 파이낸스의 정책과 방향성을 결정할 수 있는 거버넌스 토큰입니다. 메가톤 파이낸스는 비신뢰 기반 탈중앙화 프로토콜로 특정 운영자가 아닌 거버넌스에 의해 프로토콜과 관련된 모든 사항을 결정하기에 거버넌스 토큰인 MEGA를 발행했습니다. 메가톤 파이낸스 V1에서는 거버넌스, Pool 투표 등의 기능이 없지만 향후 V2 출시 후 선보일 예정입니다.&#x20;

### &#x20; 7. MEGA는 어떻게 획득할 수 있나요?

메가톤 파이낸스 MEGA는 다음 세 가지 방법으로 획득할 수 있습니다.

* 유동성 풀\
  \
  유동성 풀에 유동성을 공급하고 보상으로 MEGA 토큰 획득

* 톤스타터\
  \
  톤스타터에서 진행하는 토큰 인센티브 프로그램에 참여해서 MEGA 토큰 획득\ <br>

* 이벤트 \
  \
  메가톤 파이낸스 사전 출시 이벤트와 같이 특정 기간에 진행하는 이벤트에 참여 시 MEGA 토큰 획득\
  \
  [메가톤 파이낸스 출시 이벤트 참여하기](https://megaton.fi/)

### &#x20; 8. MEGA 토큰의 초기 발행량과 최종 토큰 분배량은 어떻게 되나요?

MEGA 토큰의 초기 발행량은 1,000,000 MEGA이고, 최종 토큰 분배량은 100,000,000 MEGA입니다. 자세한 토크노믹스는 아래 링크에서 확인할 수 있습니다.&#x20;

[MEGA 토크노믹스 확인하기](https://docs.megaton.fi/tokenomics/mega)<br>

### 9. 메가톤 파이낸스 출시 이후 업데이트 예정인 기능은 무엇이 있나요?

메가톤 파이낸스는 추후 MEGA 스테이킹, 레버리지 파밍, 거버넌스, 롱/숏 포지션 예치 등 다양한 금융 서비스가 추가될 예정입니다. 또한 텔레그램 챗봇 개발을 통해 톤 생태계 안으로 텔레그램 사용자를 유입하고, 메가톤 파이낸스 주요 기능을 간소화한 형태로 이용할 수 있게 할 예정입니다.

### &#x20; 10. 메가톤 파이낸스는 오딧을 받았나요?&#x20;

다양한 자산이 예치될 메가톤 파이낸스 컨트랙트의 위험 요소를 최대한 줄이기 위해 세계적인 오딧 기업 CertiK에서 오딧을 받았습니다. CertiK에서 진행한 오딧 리포트는 아래 링크 확인 부탁드립니다.

\
[CertiK 오딧 리포트 바로가기](https://certik.com/projects/megaton-finance/)

### &#x20; 11. 메가톤 파이낸스에서 지원하는 지갑에는 어떤 것이 있나요?&#x20;

메가톤 파이낸스 V1은 출시 시점에 TON Wallet과 Tonhub 두 지갑을 지원합니다. 추후 Tonkeeper와 함께 메타마스크와 가장 유사한 사용자 경험을 제공하는 Tonic, OpenMask 등도 지원할 예정입니다.

### &#x20; 12. 메가톤 파이낸스에서 다른 블록체인의 자산을 활용할 수 있나요?

메가톤 파이낸스는 오지스가 개발한 글로벌 상위 7 브릿지인 오르빗 브릿지를 활용해 톤 생태계 내에서 다양한 블록체인 자산을 활용할 수 있는 환경을 구축했습니다. 현재 폴리곤, 이더리움, 클레이튼, BNB, HECO 기반 자산을 메가톤 파이낸스에서 사용할 수 있습니다. 추후 더 많은 블록체인의 자산을 활용할 수 있도록 메가톤 파이낸스 내에서 오르빗 브릿지와 그에 연동된 프로토콜의 영향력을 더 넓혀나갈 예정입니다.&#x20;

### &#x20; 13. 풀 생성은 어떻게 하나요?

메가톤 파이낸스의 풀 생성은 오지스에서 자체적으로 진행합니다. 따라서 일반 유저는 풀 생성이 불가능하며, 재단의 경우 신청을 통해 풀 생성을 진행할 수 있습니다. 풀 생성 절차는 아래와 같습니다.&#x20;

* 재단에서 메가톤 파이낸스에 풀 생성 신청<br>
* Ozys가 메가톤 파이낸스에 유동성 풀 생성 후 재단에 유동성 공급할 수 있는 링크 전달<br>
* 재단측에서 유동성 공급한 걸 확인하면 해당 유동성 풀 메가톤 파이낸스 프론트에 노출

### 14. 트랜잭션은 즉각적으로 확인할 수 있나요?

메가톤 파이낸스에서 트랜잭션 알림 팝업은 우상단에 표시되나 토큰 잔액 변경 결과는 즉시 확인할 수 없습니다. 트랜잭션으로 인해 변경된 토큰 잔액 확인을 위해서는 메가톤 파이낸스의 MyAsset 메뉴를 이용해야 합니다. 추후 V2 업데이트와는 별개로, 사용성 개선을 위해 노력하겠습니다.

### 15. 펜딩과 클레임 과정은 어떻게 되나요?

A토큰 예치하고 B 토큰 예치하지 않았을 시 펜딩 탭에서 클레임을 진행하거나 B 토큰만 추가로 예치할 수 있습니다.&#x20;


# WTON 게이트웨이

랩트톤코인(WTON)은 TON 네트워크 내의 TON과 1:1로 지원되는 최초의 젯톤(Jetton) 토큰 표준입니다. 젯톤 토큰 표준은 TON 네트워크 내에서 토큰 전송 방법과 토큰 간 전송에 대한 일관된 기록을 유지하는 방법을 정의합니다. WTON은 TON과 1:1로 지원되는 최초의 젯톤 표준 토큰입니다.

TON 토큰과 연동된 해당 자산의 출시 목적은 1) TON을 기반으로 하는 TON 네트워크의 특성상 그 자체로 스마트 컨트랙트를 기반으로 하는 다양한 기능을 구현할 수 없고, 2) TON 외부의 생태계(예: 이더리움, 폴리곤 등)에서도 TON을 직접적으로 사용하기 위함입니다.&#x20;

즉, TON 토큰을 다양한 스마트 컨트랙트 기반 기능에서 활용하려면 WTON 게이트웨이에서 젯톤 토큰으로 ‘래핑’해야 합니다. 젯톤 표준이라는 유연성을 가진 WTON은 TON 네트워크가 가진 상호운용성 문제를 해결함으로써 TON 블록체인 네트워크의 기축 통화인 TON의 활용 범위를 넓혀줍니다. [WTON 게이트웨이](https://wton.dev/)를 통해 사용자는 이더리움, 폴리곤 등의 네트워크에서 TON 토큰과 연동된 자산을 스마트 컨트랙트에 사용할 수 있습니다.

{% content-ref url="/pages/pJIwkmiygEzYwgY00IQh" %}
[WTON 게이트웨이 사용하기](/ko/guides/wton)
{% endcontent-ref %}


# 스왑

### **소개**

메가톤 파이낸스는 유동성 풀을 기반으로 젯톤 표준 토큰을 서로 교환할 수 있습니다. 토큰 교환은 Uniswap v2 Amm의 방정식인 x \* y = k를 기반으로 실행되며, 토큰 교환 시 슬리피지가 발생합니다. \
메가톤 파이낸스의 풀을 통해 토큰을 교환(거래)하는 경우, 수수료 정책에 따라 0.1%의 수수료가 발생합니다. 수수료는 100% LP에게 지급됩니다.&#x20;

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

### **풀 생성과 스왑**

메가톤 파이낸스의 유동성 풀은 WTON, ETH, USDT 등을 기반으로 만들어집니다. V1에서는 풀 생성 기능을 지원하지 않습니다. 메가톤 파이낸스의 초기 버전에는 라우팅 기능이 없기에 WTON을 제외한 토큰을 스왑하는 경우 두 번의 스왑 과정을 거쳐야 합니다. 가령, oUSDT를 oDAI로 스왑 시 우선 사용자가 보유한 oUSDT를 WTON으로 스왑한 뒤 WTON-oDAI풀에서 다시 WTON을 oDAI로 스왑하는 과정을 거칩니다.     <br>

### **x \* y = k의 가격 결정 알고리즘**&#x20;

\- x: WTON / y: MEGA\
\- 풀에 공급된 x, y의 리저브 수량은 각 100개 가정\
\- x(100) \* y(100) = k(10,000)\
\- 트레이더가 10개의 WTON을 지불하고 MEGA를 구매하는 경우 트레이더가 획득하는 MEGA의 개수와 풀에 남아 있는 MEGA 토큰의 리저브 수량은 각각 다음과 같이 계산됩니다.  \
\
**a. 풀에 남아있는 WTON 수량**\
x(110) \* y(Reserve) = 10,000\
y(Reserve) = 90.9 MEGA\
\
\
**b. 트레이더가 획득하는 MEGA 수량**\
100 - 90.9 MEGA = 9.1 MEGA\
지금까지 살펴본 예시에서 최초 WTON / MEGA 풀의 토큰 가격 비율은 1:1이었습니다. 따라서 트레이더는 10개의 TON을 지불하고 10개의 MEGA를 받을 것을 기대했을 것입니다. 그러나 실제로 트레이더가 획득한 MEGA의 수량은 9.1 MEGA입니다. 이처럼  x \* y = k 알고리즘에서 내가 주문한 토큰의 가격과 실제 체결된 토큰의 가격의 차이를 슬리피지라고 합니다. 트레이더는 스왑 주문을 넣기 전 슬리피지를 반드시 확인해야 합니다.<br>


# 페어 예치

### **유동성 풀 및 LP 토큰 제공**

\
유동성 풀은 스마트 컨트랙트에 담긴 디지털 자산의 모음으로 탈중앙화 거래소가 작동하는데 있어 핵심적인 역할을 합니다. 메가톤 파이낸스 사용자는 거래소에 있는 다양한 풀에 자산을 예치할 수 있고, 이에 대한 증거로 LP 토큰을 수령합니다. 수령한 LP 토큰의 개수는 전체 풀에서 내 몫의 지분(%)을 나타냅니다. \
\
예: 메가톤 파이낸스 WTON-USDT 풀에 10,000 달러를 예치 시, WTON과 USDT가 50:50 비율로 각 5,000 달러 가치의 자산이 WTON-USDT 유동성 풀에 추가됩니다. LP 토큰은 WTON의 개수와 같으며 이를 토대로 지분(%)이 산정됩니다. <br>

### **BENEFITS**

* **MEGA 분배 보상**\
  &#x20;\
  MEGA 보상 풀에 유동성 공급 시, 풀에서의 내 LP 지분율에 따라 MEGA 마이닝 보상을 받습니다.\
  &#x20;
* &#x20;**거래 수수료 보상**\
  &#x20;\
  유동성 풀에 유동성을 공급한 경우, 풀에서의 내 LP 지분율에 따라 거래 수수료 보상을 받습니다. 거래 수수료는 풀에 적립되는 구조로, 출금 당시의 교환 비율에 따라 수수료까지 포함하여 출금할 수 있습니다.


# MEGA 스테이킹

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

### 소개

MEGA 스테이킹은 시장에 유통되는 MEGA 인플레이션을 감소시켜 토큰의 가치와 신뢰도를 높이는 효과가 있습니다.\
스테이킹 메뉴에서 MEGA를 지급하면 스테이킹 증표로 NFT가 지갑에 발행(minting)됩니다.

NFT 보유 시 스테이킹 참여자를 위한 전용 이벤트와 멤버십 리워드 등 다양한 혜택을 받을 수 있습니다. NFT를 의무적으로 보유해야 하는 락업 기간이 지나면 언스테이킹 및 클레임이 가능합니다. 해당 NFT는 자동으로 소각되며 스테이킹 원금과 이자를 돌려받습니다. 만기일이 지나도 언스테이킹하지 않고 계속 멤버십 혜택을 누리는 것을 선택할 수도 있습니다.

스테이킹 참여자는 메가톤 파이낸스에서 MEGA를 가장 신뢰하고 직접 지지를 보내는 중요한 역할을 합니다. 메가톤 파이낸스는 스테이킹 참여자를 위해 여러 혜택을 지속해서 제공할 예정입니다.

### 스테이킹

스테이킹 증표인 NFT는 한정 수량 발행하며, 총 8개의 등급으로 분류합니다.\
등급별 발행량, 스테이킹에 필요한 MEGA 수량, APR(\*기준: 6개월)이 다르므로 본인에게 적합한 등급의 슬롯에 스테이킹하세요. 물론 하나의 지갑에서 여러 등급을 스테이킹할 수도 있습니다.\
스테이킹이 시작된 시점부터 락업 기간이 계산됩니다. 스테이킹한 MEGA와 만기 시 이자는 락업 기간이 지난 후 클레임할 수 있습니다.

#### 스테이킹  구조

<figure><img src="/files/cXjeKn10JBnEtxQxKKVE" alt=""><figcaption><p><br></p></figcaption></figure>

스테이킹 중에는 아래와 같은 멤버십 혜택을 받을 수 있습니다.

* 스테이킹 멤버 전용 이벤트 참여권
* 스테이킹 멤버 전용 Airdrop
* 스테이킹 전용 커뮤니티 개설 (예정)
* Game zone 특별 아이템 지급 (예정)

### 언스테이킹

스테이킹 완료 후 180일이 지나면 언스테이킹을 통해 원금과 이자를 일괄 수령할 수 있습니다.\
만기 후 언스테이킹 시 보유한 NFT는 소멸하고, 스테이킹 원금과 이자를 일괄 수령합니다.\
만기 후에도 언스테이킹하지 않으면 계속해서 멤버십 혜택을 받을 수 있습니다.

### 중도 해지

스테이킹 완료 후 31일이 지나면 언스테이킹이 가능합니다. 단, 31일부터 150일까지 스테이킹 원금에서 차감(선형적 감소)하는 방식으로 페널티가 적용됩니다.\
중도 해지 시 원금에서 언스테이킹 수수료를 차감한 후 반환하며, 이자는 수령할 수 없습니다.

### NFT 거래

TON NFT 마켓플레이스 [Getgems](https://getgems.io/)에서 이용자 간 NFT 2차 거래를 이용할 수 있습니다.\
마켓플레이스에 NFT를 등록하면 메가톤 파이낸스에 해당 NFT가 표시되지 않으며, 언스테이킹 또는 중도 해지가 불가합니다.

## 스테이킹 정책 세부 사항

{% content-ref url="/pages/mcIy1NU4dVIcDz3F6FKZ" %}
[개요](/ko/products/mega/undefined)
{% endcontent-ref %}

{% content-ref url="/pages/tvRK72DoYw3b5WOq3Zss" %}
[스테이킹](/ko/products/mega/undefined-1)
{% endcontent-ref %}

{% content-ref url="/pages/jhvDmUsbNHnB2lcZOhhW" %}
[멤버십 혜택](/ko/products/mega/undefined-2)
{% endcontent-ref %}

{% content-ref url="/pages/SfSLbylDTJnTUeCUiT8C" %}
[언스테이킹](/ko/products/mega/undefined-3)
{% endcontent-ref %}

{% content-ref url="/pages/E45FYbyT9um7QIXi9cSU" %}
[중도 해지](/ko/products/mega/undefined-4)
{% endcontent-ref %}

{% content-ref url="/pages/VI2o6T4ExT4Bcn33L8Gv" %}
[NFT 거래](/ko/products/mega/nft)
{% endcontent-ref %}


# 개요

* 매일 유동성 커뮤니티 트레저리 물량의 7%인 918.75 MEGA가 스테이킹 이자로 분배됩니다.
* 메가톤 파이낸스의 MEGA 스테이킹 프로세스는 아래와 같습니다.
  1. 각 스테이킹 등급에 명시된 수량의 MEGA를 스테이킹하면 NFT가 발행됩니다.
  2. 스테이킹 만기(180일)가 되면 언스테이킹 기능이 활성화됩니다.
  3. 언스테이킹 시 원금과 이자를 일괄 수령하며, NFT는 자동 소멸합니다.


# 스테이킹

* 하나의 지갑에서 여러 등급의 스테이킹이 가능합니다.
* 스테이킹의 락업 기간은 180일입니다.
* 스테이킹 중에는 멤버십 혜택이 적용되며, 만기일이 지난 후에도 언스테이킹을 하지 않으면 멤버십 혜택이 그대로 유지됩니다.
* 스테이킹이 시작된 시점부터 락업 기간과 보유 만기일이 계산됩니다.
* 스테이킹한 MEGA와 만기 시 이자는 락업 기간이 지난 후 클레임할 수 있습니다.

### 스테이킹 구조

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


# 멤버십 혜택

* 스테이킹 멤버 전용 이벤트 참여권
* 스테이킹 멤버 전용 Airdrop
* 스테이킹 전용 커뮤니티 개설 (예정)
* Game zone 특별 아이템 지급 (예정)


# 언스테이킹

* 락업 기간 종료까지 남은 시간은 이용자가 보유한 NFT (TIME LEFT TO UNSTAKE)에서 실시간으로 확인할 수 있습니다.
* 스테이킹 완료 후 180일이 지나면 언스테이킹을 통해 원금과 이자를 일괄 수령할 수 있습니다.
* 스테이킹 만기 전에는 원금과 이자를 중도 수령할 수 없습니다.
* 만기 후 언스테이킹 시 보유한 NFT는 소멸하고, 스테이킹 원금과 이자를 일괄 수령합니다.
* 만기 후에도 언스테이킹하지 않으면 계속해서 멤버십 혜택을 받을 수 있습니다.


# 중도 해지

* 스테이킹 완료 후 31일이 지나면 언스테이킹이 가능합니다.
* 언스테이킹을 하면 원금을 즉시 수령할 수 있습니다. 단, 락업 기간인 180일 이전에 언스테이킹을 하면 2가지 페널티가 적용됩니다.
  1. 이자를 수령할 수 없습니다.
  2. 경과일이 31 - 120 이내에 언스테이킹 시 스테이킹 원금에서 일정 금액의 수수료를 차감합니다.
* 언스테이킹 수수료는 잔여 락업일이 적을수록 선형적으로 감소합니다.
* 언스테이킹 수수료로 회수한 MEGA는 커뮤니티 유동성 트레저리에 저장됩니다.

### 중도 해지 언스테이킹 수수료

<figure><img src="/files/1LvsCmLD44u8zzPp2qoU" alt=""><figcaption></figcaption></figure>

* 일별 언스테이킹 수수료 상세 정보는 아래 자료를 참고하세요.\
  [Megaton Finance Daily MEGA Unstaking Fee Data](https://docs.google.com/spreadsheets/d/1uAE1SrHVvXbIe0mxfekqodCCRSHyv_uP0XLXMG-i2Xk/edit?usp=sharing)


# NFT 거래

* TON NFT 마켓플레이스 [Getgems](https://getgems.io/)에서 이용자 간 NFT 2차 거래를 진행할 수 있습니다.
* 외부 마켓플레이스 정책에 따라 NFT가 MEGA 이외의 토큰(TON 등)으로 거래될 수 있습니다.
* 마켓플레이스에 NFT를 등록하면 NFT의 소유권이 마켓플레이스로 이동하므로 메가톤 파이낸스에 지갑 연결 시 해당 NFT가 표시되지 않으며, 언스테이킹이 불가합니다.
* 메가톤 파이낸스 팀은 외부 마켓플레이스에서 2차 거래로 인해 발생하는 문제에 대해 책임지지 않습니다.


# MEGA

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

* **Ticker: MEGA**&#x20;
* **Contract address: EQBf6-YoR9xylol\_NwjHrLkrTFAZJCX-bsd-Xx\_902OaPaBf**
* **Blockchain: TON**

MEGA는 메가톤 파이낸스의 생태계를 유지하는 거버넌스 토큰으로, 인플레이션을 통해 발행된 초기 수량은 LP (Liquidity Provider)에게 제공됩니다. 추후 Megaton Finance에 스테이킹 기능이 추가되면  MEGA 스테이킹 참여자에게도 MEGA 토큰이 보상으로 분배될 예정입니다. <br>

### **Use cases**

\
MEGA는 풀 예치와 스테이킹 등 생태계 기여를 통해 분배받거나 거래를 통해 획득할 수 있으며 다음과 같이 활용할 수 있습니다.

* MEGA를 페어 예치에 활용하여 인플레이션 보상을 분배 받을 수 있습니다.
* MEGA 스테이킹에 참여하여 MEGA 인플레이션 보상을 분배 받을 수 있습니다(추후 업데이트 예정).
* 프로토콜의 의제와 관련된 거버넌스 투표에 활용할 수 있습니다(추후 업데이트 예정).


# 토크노믹스(\~2023년 8월 31일 12:00 KST)

MEGA는 생태계 참여자에게 주어지는 보상으로, 메가톤 파이낸스에 더 많은 유동성을 확보하기 위한 강력한 인센티브 역할을 합니다. 한정된 MEGA 자원의 효율적 분배 및 가치 극대화가 가능하도록 동작하는 토큰 이코노미 구조를 통해 유의미한 유동성 기반의 거래, 더 많은 금융 기회를 제공합니다.‌<br>

### **MEGA 마이닝 수량**

MEGA의 1일 총 마이닝 수량은 18,750 MEGA로, 초당 0.217013889 MEGA가 발행됩니다. 상세 마이닝 계획은 MEGA 분배를 참고하시기 바랍니다.‌

| 항목          | 수량               |
| ----------- | ---------------- |
| 블록 당 분배 수량  | 0.217013889 MEGA |
| 1일 총 마이닝 수량 | 18,750 MEGA      |

### **반감기를 통한 유통량 감소 효과**

‌인플레이션 기반  MEGA 유통을 반감기를 통해 블록당 분배되는 수량을 감소시켜 인플레이션을 둔화합니다.‌ 상세 인플레이션 계획은 MEGA Allocation을 확인하시기 바랍니다.<br>

{% content-ref url="/pages/AwGJiaOEZOyZYi7WI1d0" %}
[분배(2023년 8월 31일 12:00 KST)](/ko/tokenomics/mega/distribution)
{% endcontent-ref %}


# 토크노믹스(현재)

## 요약

MEGA 가치 상승의 일환으로 커뮤니티 유동성 트레저리 풀을 신규 생성합니다. 커뮤니티 인플레이션의 70%가 커뮤니티 유동성 트레저리에, 30%는 트레저리를 제외한 나머지 유동성 풀에 분배됩니다. 트레저리에 분배된 MEGA는 MEGA 스테이킹 인센티브 프로그램과 각종 이벤트 및 프로모션 등 메가톤 파이낸스 이용자와 MEGA 홀더를 위한 용도로만 활용합니다.

## 개요

메가톤 파이낸스는 블록체인 자본 허브입니다. TON의 대중 친화적 블록체인 생태계 구축에 기여하고, 이용자들에게 다양한 인센티브를 제공함으로써 온체인 유동성 활성화를 주도하고 있습니다.

현재 메가톤 파이낸스는 커뮤니티와 유동성 공급 활성화를 위해 다음 두 가지 방법을 활용하고 있습니다. 첫째, 전체 유동성 풀에서 발생하는 거래 수수료는 모두 이용자들에게 100% 반환됩니다. 둘째, 유동성 풀에 자산 예치 시 각 유동성 풀 내 지분율에 따라 MEGA 토큰이 인센티브로 지급됩니다. 이용자들의 참여를 극대화하고, 메가톤 파이낸스라는 탈중앙화 금융 서비스를 알린다는 측면에서 소기의 성과를 거뒀으나, 그 한계 또한 분명했습니다. 현재의 시장 상황과 메가톤 파이낸스의 중장기적 지속 가능성을 두루 고려한 끝에, 커뮤니티에 제공되는 인센티브 구조에 다양성을 가져올 수 있는 정책을 마련하기로 했습니다. 유동성 공급자에게 MEGA 인센티브를 제공하는 구조를 넘어, 신규 이용자 유입과 커뮤니티 강화를 우선순위에 두는 것이 골자입니다.

본 제안은 위의 정책 수립을 위한 시발점이 됩니다. 기존처럼 메가톤 파이낸스의 모든 유동성 풀에 MEGA 인센티브를 부여하되, 그 비율을 현행 100%에서 30%로 낮춥니다. 나머지 70%는 새롭게 생성되는 커뮤니티 유동성 트레저리에 분배됩니다. 커뮤니티 유동성 트레저리는 메가톤 파이낸스의 장기적인 성장을 견인하기 위함으로, 해당 풀에 분배된 모든 MEGA는 오직 메가톤 파이낸스 이용자와 MEGA 홀더를 위한 용도로만 활용합니다. 이로써 메가톤 파이낸스는 TON 생태계의 대표 DEX라는 본래의 역할에 충실하면서, MEGA 토큰 가치를 부양할 매개체가 될 수 있습니다.

현재 메가톤 파이낸스 팀은 유동성 공급자뿐만 아니라, MEGA 보유자들이 메가톤 파이낸스의 비중 있는 기여자로 자리 잡도록 MEGA 스테이킹 인센티브 프로그램을 준비하고 있습니다. MEGA 보유자 증가라는 양적 변화와 MEGA 가치 상승이라는 질적 변화를 모두 가져오기 위함입니다. 이번 정책의 가장 큰 수혜자는 메가톤 파이낸스에 대한 충성도가 높은 MEGA 보유자들이 될 것이며, 장기적으로는 메가톤 파이낸스에 유동성을 공급하는 이용자들도 이에 따른 낙수 효과를 누리게 될 전망입니다.

## 커뮤니티 유동성 트레저리의 목적

커뮤니티 유동성 트레저리 생성 취지는 사업적 협력 구도 마련과 이용자 혜택을 극대화하는 데 있습니다. 즉, 트레저리로 분배된 모든 MEGA는 협력사에 직접 제공하지 않으며, 협력사의 이용자가 메가톤 파이낸스의 이용자로 전환되는 용도로만 사용합니다. 커뮤니티 유동성 트레저리라는 명칭도 메가톤 파이낸스 커뮤니티 이용자들이 1순위고, 에어드랍과 같은 공동 마케팅과는 별개의 방식으로 사용한다는 점에서 비롯된 것입니다. 앞으로 메가톤 파이낸스에 무한돌파삼국지와 같은 P2E 게임과 디파이 프로젝트 등 다양한 콘텐츠가 소개될 예정입니다. 메가톤 파이낸스 팀은 협력사 커뮤니티 내 지속적인 MEGA 토큰 활용을 위해 각 협력사 간 협력을 다각화할 계획입니다. 덧붙여 커뮤니티 유동성 트레저리의 일부분은 MEGA 스테이킹의 커뮤니티 멤버십으로 분류해, MEGA 보유자들의 기여도를 대폭 반영하는 방향으로 구조화할 방침입니다.

### **MEGA 마이닝 수량**

MEGA의 1일 총 마이닝 수량은 18,750 MEGA로, 초당 0.217013889 MEGA가 발행됩니다. 상세 마이닝 계획은 MEGA 분배를 참고하시기 바랍니다.‌

| 항목          | 수량                                                                             |
| ----------- | ------------------------------------------------------------------------------ |
| 블록 당 분배 수량  | 0.217013889 MEGA                                                               |
| 1일 총 마이닝 수량 | <p>18,750 MEGA<br>\*커뮤니티 유동성 풀: 5,625 MEGA<br>\*커뮤니티 유동성 트레저리: 13,125 MEGA</p> |

### **반감기 기반 유통량 감소 효과**

‌인플레이션 기반 MEGA 유통은 반감기로블록당 분배 수량을 감소시켜 인플레이션을 둔화합니다.‌ 상세 인플레이션 계획은 MEGA 분배를 확인하시기 바랍니다.<br>

{% content-ref url="/pages/AwGJiaOEZOyZYi7WI1d0" %}
[분배(2023년 8월 31일 12:00 KST)](/ko/tokenomics/mega/distribution)
{% endcontent-ref %}


# 분배(2023년 8월 31일 12:00 KST)

## **MEGA 발행 일정**

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

* &#x20;**총발행량: 100,000,000 MEGA**
* &#x20;**초기 발행량: 1,000,000 MEGA**

## 초기 토큰 분배

Megaton Finance의 초기 생태계를 구축하기 위해 1,000,000 MEGA(전체 발행량의 1%)를 마케팅, MEGA LP 인센티브 및 Tonstarter에 활용합니다. Megaton Finance는 Initial Supply를 활용한 이벤트를 통해 사용자와 유동성 확보하여 TON Network 위에서 안정적인 거래 환경을 조성할 것입니다.<br>

## **최종 토큰 분배**

MEGA의 최종 분배량은 100,000,000 MEGA이며 위의 표와 같이 분배됩니다.

## MEGA 토큰 분배 구조

<figure><img src="/files/7OxPH0JCJs123KxjrJpp" alt=""><figcaption></figcaption></figure>

각 항목별 MEGA 분배 수량과 베스팅 기간, 반감기는 위의 표에 제시된 바와 같습니다.&#x20;


# 분배(현재)

## **MEGA 발행 일정**

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

* &#x20;**총발행량: 100,000,000 MEGA**
* &#x20;**초기 발행량: 1,000,000 MEGA**

## 초기 토큰 분배

Megaton Finance의 초기 생태계를 구축하기 위해 1,000,000 MEGA(전체 발행량의 1%)를 마케팅, MEGA LP 인센티브 및 Tonstarter에 활용합니다. Megaton Finance는 Initial Supply를 활용한 이벤트를 통해 사용자와 유동성 확보하여 TON Network 위에서 안정적인 거래 환경을 조성할 것입니다.<br>

## **최종 토큰 분배**

MEGA의 최종 분배량은 100,000,000 MEGA이며 위의 표와 같이 분배됩니다.

## MEGA 토큰 분배 구조

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

항목별 MEGA 분배 수량과 베스팅 기간, 반감기는 위의 표에 제시된 바와 같습니다.&#x20;


# 지갑 생성

메가톤 파이낸스를 사용하려면 먼저 암호화폐 지갑을 생성해야 합니다. 디파이 프로토콜에서 개인 암호화폐 지갑은 사용자의 계정입니다. 사용자는 암호화폐 지갑을 메가톤 파이낸스에 연결하여 입금, 출금, 스왑 등의 거래를 할 수 있습니다. 메가톤 파이낸스는 톤 네트워크를 기반으로 하고, 톤을 지원하는 아래의 지갑을 사용하여 메가톤 파이낸스를 이용할 수 있습니다.

* ### TON 지갑 가이드

  톤 네트워크를 지원하는 지갑은 TON Wallet, Tonhub, Tonkeeper입니다. 자세한 사항은 아래의 사용자 가이드를 참고해주세요.

{% file src="/files/Q2GzIwSk6RXvYU0v9ADz" %}


# 활용할 자산 입금하기

톤(TON) 네트워크의 기축 통화는 톤(Toncoin)입니다. 사용자는 거래소/개인 암호화폐 지갑에 보관 중인 톤을 **톤 지원 지갑**에 먼저 입금한 후에 메가톤 파이낸스에서 톤을 사용할 수 있습니다.

이후, 메가톤 파이낸스 내 스왑 및 WTON 게이트웨이를 통해 톤을 랩트톤코인(WTON)으로 전환하여 스왑/페어 예치 등의 서비스에서 사용할 수 있습니다.

{% tabs %}
{% tab title="TON Wallet  지갑으로 전송하기" %}
1\. 웹 브라우저 및 앱 상의 TON Wallet에서 **\[Recieve]** 버튼을 클릭하여 **내 지갑 주소**를 확인합니다.

&#x20;   ![](/files/c4BvIflI0pOswz4toRnW) ![](/files/3EALMsjtuA9EIpiNlBcA)

2\. 거래소/개인 지갑 출금 화면의 **출금 주소 입력란에 내 지갑 주소를 입력한 후 출금합**니다.

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

<figure><img src="/files/m4B9Tk3gMbNEtUzu50E5" alt=""><figcaption><p><mark style="color:red;">(해당 예시는 OKX 거래소입니다)</mark></p></figcaption></figure>
{% endtab %}

{% tab title="Tonhub 지갑으로 전송하기" %}
1\. Tonhub 앱에서 **\[Recieve]** 버튼을 클릭하여 **내 지갑 주소**를 확인합니다.

&#x20;   ![](/files/u9d0z0VEhUtAZLQzhuDK) ![](/files/FciaxRzLXcyjcggfAxLZ)

2\. 거래소/개인 지갑 출금 화면의 **출금 주소 입력란에 내 지갑 주소를 입력한 후 출금합**니다.&#x20;

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

<figure><img src="/files/m4B9Tk3gMbNEtUzu50E5" alt=""><figcaption><p><mark style="color:red;">(해당 예시는 OKX 거래소입니다)</mark></p></figcaption></figure>
{% endtab %}

{% tab title="Tonkeeper 지갑으로 전송하기" %}
1\. Tonkeeper 앱에서 **\[Recieve]** 버튼을 클릭하여 **내 지갑 주소**를 확인합니다.

&#x20;   ![](/files/dzGvhv53p5POJDRdT7p0) ![](/files/etM7ZtbROfMC61HaP6EH)

2\. 거래소/개인 지갑 출금 화면의 **출금 주소 입력란에 내 지갑 주소를 입력한 후 출금합**니다.&#x20;

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

<figure><img src="/files/m4B9Tk3gMbNEtUzu50E5" alt=""><figcaption><p><mark style="color:red;">(해당 예시는 OKX 거래소입니다)</mark></p></figcaption></figure>
{% endtab %}
{% endtabs %}

![](/files/K3rZDkNvSdTzKpWwIs6k) 암호화폐 특성상 전송한 자산은 취소가 불가능합니다. 자산 전송 시 반드시 소량의 입금 테스트 후 실제 자산을 전송하는 것을 권장해드립니다.


# WTON 게이트웨이 사용하기

톤 코인(TON)은 TON 네트워크에서 다른 EVM 기반 코인 및 알트코인과 호환하지 않습니다. 이러한 TON 네트워크의 특성상 기존의 TON을 메가톤 파이낸스에서 그대로 사용할 수 없으므로, WTON 게이트웨이를 이용하여 TON을 랩트톤코인(WTON)으로 변환해야 합니다.&#x20;

WTON 게이트웨이를 통해 지갑에 보관 중인 TON을 래핑하면, WTON으로 전환되며 메가톤 파이낸스에서 이를 활용할 수 있습니다. 언랩(unwrap) 기능을 활용하면 WTON에서 다시 TON으로 변환할 수 있습니다.

{% tabs %}
{% tab title="TON을 WTON으로 래핑(wrap)하기" %}
1\. **\[Connect Wallet]** 버튼을 클릭하여 지갑을 연결합니다.

<div><figure><img src="/files/Ifuw5sjspJ1gfjQPcJZk" alt=""><figcaption></figcaption></figure> <figure><img src="/files/Zr2FW2Kb61NoE980XNiO" alt=""><figcaption></figcaption></figure></div>

2\. From 탭에서 TON 선택 및 수량 입력 후, **\[Wrap]** 버튼을 클릭합니다.

<div><figure><img src="/files/xNMiWnjJZwCZVA7ePdCY" alt=""><figcaption></figcaption></figure> <figure><img src="/files/hbWe6wCL8BUYRVqtmRwi" alt=""><figcaption></figcaption></figure></div>

3\. 연결된 지갑 내에서 비밀번호를 입력하여 래핑을 완료합니다.

<figure><img src="/files/a2VlhjuPhDqqVaagWCB5" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="WTON을 TON으로 언랩(unwrap)하기" %}
1\. **\[Connect Wallet]** 버튼을 클릭하여  지갑을 연결합니다.

<div><figure><img src="/files/Iqk9ywcQ2SdyA7TCaXwO" alt=""><figcaption></figcaption></figure> <figure><img src="/files/Zr2FW2Kb61NoE980XNiO" alt=""><figcaption></figcaption></figure></div>

2\. From 탭에서 WTON 선택 및 수량 입력 후, **\[Unwrap]** 버튼을 클릭합니다.

<div><figure><img src="/files/14jTlCRl2G11mPUnEdbB" alt=""><figcaption></figcaption></figure> <figure><img src="/files/hbWe6wCL8BUYRVqtmRwi" alt=""><figcaption></figcaption></figure></div>

\
3\. 연결된 지갑 내에서 비밀번호를 입력하여 언랩을 완료합니다.

<figure><img src="/files/a2VlhjuPhDqqVaagWCB5" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}


# 오르빗 브릿지 기반 크로스체인 자산 전환하기

거래소/개인지갑에 보관 중인 TON 및 EVM 네트워크 기반 자산은 오르빗 브릿지에서 전환 후 입금해야 합니다.

* [오르빗 브릿지로 이동](https://bridge.orbitchain.io/)

{% file src="/files/MevybNwEUKVWD7j1o6wt" %}


# 자산 예치하기(페어 예치)

1. **메가톤 파이낸스(<https://megaton.fi)에> 접속 후 \[Connect Wallet] 버튼을 눌러 원하는 톤 지원 지갑을 연결해주세요.**

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

2. **톤 지원 지갑을 성공적으로 연결 후 \[Deposit] 탭을 눌러주세요.**

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

3. **상단 메뉴의 \[Deposit] 버튼을 누르시면 다양한 페어 목록을 확인 할 수 있습니다. 예치하고자 하는 암호화폐의 토큰명 혹은 심볼명으로 검색하면 쉽게 페어를 찾을 수 있습니다. 풀 목록에서 \[Manage]를 클릭하여 상세 페이지로 이동합니다.**

<figure><img src="/files/2nR4kMwRpOh5PqLlBmxQ" alt=""><figcaption></figcaption></figure>

4. **\[Deposit] 메뉴에서 A토큰 수량을 입력하시면 함께 예치하기 위해 필요한 B토큰 수량이 자동으로 입력됩니다. 이때 화면 하단에서 예치와 관련된 상세 내역을 확인할 수 있습니다. 이용자는 예치 과정에서 발생할 수 있는 변동 사항에 대해 충분히 숙지한 후 예치를 진행해야 합니다. 표시되는 정보는 모두 실시간 예상 정보로, 실제 예치 과정에서 차이가 발생할 수 있습니다.**

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

상세 내역 정보&#x20;

* 교환비율: 현재 메가톤 파이낸스내에서의 두 자산의 가격을 확인할 수 있습니다.
* 지분율: 현재 풀 규모를 기준으로, 입력한 자산 예치 시 내 예상 지분율을 확인할 수 있습니다.
* 일간 보상: 현재 풀의 MEGA 분배 수익률을 기준으로 입력한 자산 예치 시 1일 동안 분배될 MEGA 수량을 확인할 수 있습니다.
* 교환 비율 범위: 현재 화면에서 표시된 토큰의 교환 비율(가격)에서 ±1% 범위내에서만 예치를 진행합니다. 다른 참여자들이 풀에서 입출금을 진행하여 토큰 교환 비율(가격)이 변동될 수 있습니다. 이럴 경우 이용자가 예상하지 토큰 가격으로 풀에 예치가 진행되는 것을 방지할 수 있습니다. 이용자는 반드시 변동 가능한 범위를 충분히 숙지 후 예치를 진행해야 합니다.

5. **상세 내용 확인 후 \[Deposit] 버튼을 클릭합니다. 각 페어에 해당하는 토큰을 차례대로 예치합니다(총 두 번의 트랜잭션 발생).**

<figure><img src="/files/2gSnd9w68iyF4UqzXXS0" alt=""><figcaption></figcaption></figure>

6. **예치 완료 시 \[My deposit] 영역에서 확인할 수 있습니다. 예치 완료 후 보상이 실시간으로 분배됩니다.**

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


# Contract

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

{% content-ref url="/pages/JwMu9JjsuC0XdXCPMkRN" %}
[MEGA](/ko/developers/contract/mega)
{% endcontent-ref %}

{% content-ref url="/pages/ZFqJAz9Kdx3wVNxb6edl" %}
[Router/Factory](/ko/developers/contract/router-factory)
{% endcontent-ref %}

{% content-ref url="/pages/CDuisM6NBTmLVyvM5xMJ" %}
[Exchange](/ko/developers/contract/exchange)
{% endcontent-ref %}


# MEGA

The MEGA smart contract is Megaton Finance's governance token that complies with the Jetton standard.

## Code

Github Link: (Will be updated)

## Address

* Mainnet : (Will be updated after official launch)

## Read-Only Functions

{% tabs %}
{% tab title="MEGA Minter" %}
**get\_jetton\_data**

```
(int, int, slice, cell, cell) get_jetton_data() method_id
```

* int totalSupply
* int mintable
* slice admin\_address
* cell mega\_content
* cell mega\_wallet\_code

**get\_jetton\_extra\_data**

```
(slice) get_jetton_extra_data() method_id
```

* slice minter\_address

**get\_wallet\_address**

```
slice get_wallet_address(slice owner_address) method_id
```

* slice user\_wallet\_address
  {% endtab %}

{% tab title="MEGA Wallet" %}
**get\_wallet\_data**

```
(int, slice, slice, cell) get_wallet_data() method_id
```

* int balance
* slice owner
* slice mega\_minter\_address
* cell mega\_wallet\_code
  {% endtab %}
  {% endtabs %}

#### Reference

* Jettons standard description : [TEP74](https://github.com/ton-blockchain/TEPs/blob/master/text/0074-jettons-standard.md) & [TEP89](https://github.com/ton-blockchain/TEPs/blob/master/text/0089-jetton-wallet-discovery.md)


# Router/Factory

The Router contract oversees the full functionality of token pair registration and supports all the basic requirements of a front-end offering trading

## Code

Github Link: (Will be updated)

## Address

* Mainnet Router: EQAxC3GzQBgjlvW6CJAwgaHvarTfVxo8p7Be\_6RMSjsPki6s
* Mainnet Factory: EQDp3uMnOuXF2rurDd47BGtGKW88iSNraS8fuP0GElT6G\_39

## Read-Only Functions

{% tabs %}
{% tab title="Read-Only Functions" %}
**get\_address\_data**

```
(slice, slice, slice, slice, slice, slice) get_address_data() method_id
```

* slice admin\_address
* slice pool\_creator\_address
* slice governance\_jetton\_address
* slice mining\_rate\_admin\_address
* slice lp\_policy\_admin\_address
* slice next\_admin\_address

**get\_mining\_data**

```
(int, int, int, int, int, int) get_mining_data()
```

* int total\_mining\_amount
* int total\_mining\_rate
* int mining\_amount\_per\_sec
* int half\_life
* int total\_reward

**get\_lp\_data**

```
(int, cell, cell) get_lp_data() method_id
```

* int pool\_count
* cell ( dict ) jetton\_pair\_to\_lp
* cell ( dict ) lp\_to\_jetton\_pair

**get\_jetton\_pair\_to\_lp\_address**

```
(slice, int) get_jetton_pair_to_lp_address(slice jettonA_address, slice jettonB_address) method_id
```

* slice lp\_address
* int exist

**get\_code\_data**

```
(cell, cell, cell) get_code_data() method_id
```

* cell lp\_minter\_code
* cell lp\_wallet\_code
* cell mega\_wallet\_code

**get\_lp\_default\_content\_data**

```
(cell) get_lp_default_content_data() method_id
```

* cell lp\_default\_content
  {% endtab %}

{% tab title="State-Changing Functions" %}

#### How to build transaction

* Swap

```typescript
await sendInternalMessageWithWallet({
    walletContract,
    secretKey,
    to: userJettonWalletAddress,
    value: toNano(0.4),
    body: beginCell()
        .storeUint(0xf8a7ea5, 32)
        .storeUint(queryId, 64)
        .storeCoins(fromAmount)
        .storeAddress(routerAddress)
        .storeAddress(responseAddress)
        .storeDict(beginCell().endCell())
        .storeCoins(toNano(0.3))
        .storeDict(beginCell()
            .storeAddress(fromJettonAddress)
            .storeAddress(toJettonAddress)
            .storeCoins(minAmount)
        .endCell())
    .endCell()
});
```

{% endtab %}
{% endtabs %}


# Exchange

This is a smart contract to expand Jetton that is created with every liquidity pair. The Router deploys this as new pool creation is requested. Although the Router actually stores the two tokens of a pair and swapping takes place through it, the Exchange Contract must be called for liquidity to be provided or taken.

## Code

Github Link: (Will be updated)

## Read-Only Functions

### Exchange Minter

{% tabs %}
{% tab title="Read-Only Functions" %}
get\_jetton\_data

```
(int, int, slice, cell, cell) get_jetton_data() method_id
```

* int totalSupply
* int mintable
* slice admin\_address
* cell exchange\_content
* cell exchange\_wallet\_code

**get\_lp\_swap\_data**

```
(int, int, slice, slice, slice, int, int, slice, slice, int, int) get_lp_swap_data() method_id
```

* int swap\_fee
* int min\_amount
* slice router\_address
* slice jettonA\_address
* slice jettonA\_wallet\_address
* int jettonA\_balance
* int jettonA\_pending\_balance
* slice jettonB\_address
* slice jettonB\_wallet\_address
* int jettonB\_balance
* int jettonB\_pending\_balance

**get\_lp\_mining\_data**

```
(int, int, int, int, int, int, cell) get_lp_mining_data() method_id
```

* int mining\_amount
* int datetime\_amount
* int minable\_time
* int half\_life
* int last\_index
* int last\_mined
* cell mining\_rate\_cell

**get\_lp\_user\_info\_dict**

```
(cell) get_lp_user_info_dict() method_id
```

* cell ( dict ) total\_user\_info\_dict

**get\_lp\_user\_info**

```
(int, int, int, int) get_lp_user_info(slice user_address) method_id
```

* int find
* int balance
* int user\_reward\_sum
* int last\_user\_index

**get\_wallet\_address**

```
slice get_wallet_address(slice owner_address) method_id
```

* slice user\_wallet\_address
  {% endtab %}

{% tab title="State-Changing Functions" %}

#### How to build transaction

* Add Liquidity

```typescript
// 1. add liquidity tokenA
await sendInternalMessageWithWallet({
    walletContract,
    secretKey,
    to: userJettonAWalletAddress,
    value: toNano(0.7),
    body: beginCell()
        .storeUint(0xf8a7ea5, 32)
        .storeUint(query_id, 64)
        .storeCoins(jettonAAmount)
        .storeAddress(lpAddress)
        .storeAddress(responseAddress)
        .storeDict(beginCell().endCell())
        .storeCoins(toNano(0.5))
        .storeDict(beginCell()
            .storeCoins(minAmountForJettonA)
            .storeCoins(minAmountForJettonB)
        .endCell())
    .endCell()
});

// 2. add liquidity tokenB
await sendInternalMessageWithWallet({
    walletContract,
    secretKey,
    to: userJettonBWalletAddress,
    value: toNano(0.7),
    body: beginCell()
        .storeUint(0xf8a7ea5, 32)
        .storeUint(query_id, 64)
        .storeCoins(jettonBAmount)
        .storeAddress(lpAddress)
        .storeAddress(responseAddress)
        .storeDict(beginCell().endCell())
        .storeCoins(toNano(0.5))
        .storeDict(beginCell()
            .storeCoins(minAmountForJettonA)
            .storeCoins(minAmountForJettonB)
        .endCell())
    .endCell()
});
```

* Remove Liquidity

```typescript
await sendInternalMessageWithWallet({
    walletContract,
    secretKey,
    to: lpAddress,
    value: toNano(0.35),
    body: beginCell()
        .storeUint(0x595f07bc, 32)
        .storeUint(query_id, 64)
        .storeCoins(lpAmount)
        .storeDict(beginCell()
            .storeCoins(minAmountForJettonA)
            .storeCoins(minAmountForJettonB)
        .endCell())
    .endCell()
});
```

* Claim

```typescript
await sendInternalMessageWithWallet({
    walletContract,
    secretKey,
    to: lpAddress,
    value: toNano(0.15),
    body: beginCell()
        .storeUint(0x6b14cfe1, 32)
        .storeUint(query_id, 64)
    .endCell()
});
```

{% endtab %}
{% endtabs %}

### Exchange Wallet

{% tabs %}
{% tab title="Read-Only Functions" %}
**get\_wallet\_data**

```
(int, slice, slice, cell) get_wallet_data() method_id
```

* int balance
* slice owner\_address
* slice lp\_minter\_address
* cell lp\_wallet\_code

**get\_wallet\_extra\_data**

```
(int, int, slice, slice) get_wallet_extra_data() method_id
```

* int jettonA\_pending\_balance
* int jettonB\_pending\_balance
* slice jettonA\_address
* slice jettonB\_address
  {% endtab %}
  {% endtabs %}


# 리스크 & 보안

## 개요

메가톤 파이낸스([**https://megaton.fi**](https://megaton.fi/))는 TON (The Open network) 기반 탈중앙 애플리케이션(DApp)입니다. 메가톤 파이낸스의 사용자는 해당 홈페이지에서 제공하는 편리한 인터페이스를 통해 자신이 소유한 TON 블록체인 지갑을 탈중앙화 프로토콜과 직접 통신해 여러 가상 자산의 교환하고, 유동성을 공급할 수 있습니다.

메가톤 파이낸스 이용 시 안정적인 네트워크 환경 조성을 위해 반드시 아래 유의 사항을 확인해주시기 바랍니다.

* 사이트 이용 시 한 개의 탭을 사용하는 것을 권장합니다.
* 여러 개의 탭으로 장시간 접속, 회사/공용 IP를 사용하는 장소에서 접속, RPC에 과도한 요청이 발생하는 경우 이용이 어려울 수 있습니다.
* 이외 기타 원인으로 인해 사이트 이용이 어려운 경우 사이트에 접속 중인 모든 탭을 종료한 후 최소 1시간 초과 후 다시 접속해주시기 바랍니다.

<mark style="color:blue;">**본 유의 사항 안내문의 내용은 사용자가 메가톤 파이낸스를 사용하기 위해 반드시 알아두어야 하는 사항을 포함하고 있으니 주의 깊게 읽어주시기 바랍니다. 사용자가 본 안내문을 확인하고 메가톤 파이낸스를 계속 사용할 경우, 본 안내문의 내용을 읽고 이해하고 동의한 것으로 인정됩니다.**</mark>

## 자산 입출금

사용자는 메가톤 파이낸스에서 자산 입출금 시 다음 사항에 유의해야 합니다.

* <mark style="color:blue;">**트랜잭션을 요청하려면 TON 기반 자산을 보유할 수 있는 TON 지갑과 트랜잭션 수수료로 사용할 최소한의 TON (TONcoin)을 보유하고 있어야 합니다.**</mark>
* <mark style="color:blue;">**TON 호환 토큰(WTON) 및 이종 체인(이더리움, 클레이튼, 폴리곤 등 본 문서에 명시적으로 언급된 자산에 한정하지 않음)의 자산은 반드시 오르빗 브릿지에서 TON 호환 토큰(o-자산)의 형태로 전환 후 입금해야 합니다.**</mark>

사용자는 메가톤 파이낸스에서 자산 입출금 시 <mark style="color:blue;">**자산의 종류와 주소를 정확히 확인해야 합니다.**</mark> 사용자가 <mark style="color:blue;">**TON 네트워크에서 지원하지 않는 자산을 입금하거나, 입금 주소를 미입력 또는 오입력 시 정상 입금 처리가 되지 않아 자산이 유실될 수 있습니다.**</mark>

* 메가톤 파이낸스는 사용자 자산의 개인 키를 중앙에서 관리하지 않는 탈중앙형 인터페이스로서, 위와 같은 상황을 포함한 사용자의 오입금에 대해 메가톤 파이낸스에서 자산의 복구 및 기술적 지원이 불가능한 구조로 되어 있습니다. 이 구조는 사용자가 자산을 오입금할 경우 해당 자산에 대해 메가톤 파이낸스를 비롯한 누구도 접근할 수 없게 설계됐으며, 기술적, 구조적 사유로 인해 메가톤 파이낸스의 오입금 대응은 다른 중앙형 거래소(Binance, Gate.io, Kucoin, Huobi, Upbit, Bithumb 등)에서의 오입금 대응 방식과 동일하지 않을 수 있습니다.
* 메가톤 파이낸스는 입금 주소 노출 시 유의 사항 고지를 비롯해 사용자의 오입금을 예방하기 위한 인터페이스를 구현하기 위해 최선의 노력을 다하고 있습니다. 메가톤 파이낸스가 추구하는 탈중앙의 가치를 유지하면서 이 문제를 개선할 방법을 찾기 위해 개발자 커뮤니티와 함께 지속해서 고민해 나갈 예정입니다.
* 더 나은 개선안이 마련되기 전까지 사용자 실수를 방지하기 위해 먼저 소액으로 입출금 테스트 완료 후 전체 자산을 전송하는 것을 권장합니다.
* 오르빗 브릿지를 통해 발생한 자산 오입금은 해당 사이트의 약관 및 유의 사항을 확인하시기 바랍니다.

[**오르빗 브릿지로 이동 >**](https://bridge.orbitchain.io/)

## 유동성 공급(예치), 제거(출금), 스왑

사용자는 메가톤 파이낸스에서 유동성 풀(페어 예치)에 사용자의 자산을 예치하거나 제거해 유동성 공급자로 행동할 수 있으나, 이에 따라  발생할 수 있는 위험에 대해 인지하고 모든 행위를 자산의 판단과 책임으로 진행해야 합니다.

1\. 자산\
메가톤 파이낸스는 프로토콜의 동작 권한이 특정 주체에 부여되지 않는 탈중앙 인터페이스입니다.\
메가톤 파이낸스를 통한 모든 거래는 사용자 개인의 판단과 책임에 따라 이루어지며, 사용자는 거래 전 반드시 각 토큰 정보, 토큰 발행사(재단)와 관련된 세부사항을 비롯한 해당 거래의 이점과 위험 요소를 신중히 조사 및 확인하고 토큰 스왑(교환)과 유동성 공급 등을 진행해야 합니다.

2\. 가격\
메가톤 파이낸스에서 각 토큰의 가격은 토큰 쌍이 예치된 컨트랙트 내의 교환 비율로 결정됩니다. 자동화된 스마트 컨트랙트가 각 풀이 x\*y=k 공식에 의해 항상성을 유지하도록 가격을 조정하기 때문에, 이에 따라 메가톤 파이낸스 인터페이스에 표시되는 가격은 <mark style="color:blue;">**타 거래소의 가격과 동일하지 않을 수 있으며, 적정가격 또는 시세와의 일치를 보장할 수 없습니다.**</mark>

[**\[참고\] AMM이 가격을 측정하는 방식**](https://academy.binance.com/en/articles/what-is-an-automated-market-maker-amm)

3\. 예상 수익률 및 활용 비용의 표시\
예치 수익률, MEGA 분배수익률, 거래 수수료 수익률 등 <mark style="color:blue;">**메가톤 파이낸스 인터페이스상에서 표시되는 모든 수익률은 분배되는 보상을 연 기준으로 환산한 예상 추정치로, 확정 이율을 보장하는 것이 아닙니다.**</mark>\
메가톤 파이낸스는 최대한 실시간으로 정확한 정보를 제공하기 위해 노력하고 있으나, 분배되는 토큰의 가격 변동, 유동성 풀 규모 변화, 트랜잭션 상의 처리 지연 등으로 인해 표시되는 예상 수익률은 실제 수익률과 달라질 수 있습니다.

4\. 페어 예치 유동성 공급\
사용자는 메가톤 파이낸스 인터페이스를 통한 페어 예치에 의해 MEGA 분배 수익, 거래 수수료 분배 수익을 획득할 수 있습니다.\ <mark style="color:blue;">**그러나 사용자가 풀에 자산을 예치한 시점의 가격과 현재 시장 가격의 차이가 상방 또는 하방으로 크게 벌어질 경우, 자산을 예치하지 않고 그대로 보유한 경우보다도 기대 수익이 낮아질 수 있으며, 오히려 해당 시점의 평가 손실이 발생할 가능성도 있습니다.**</mark> 단, 해당 손실은 사용자가 풀에서 자산을 출금하는 시점에 확정되며(해당 손실을 비영구적 손실이라 하며, 자세한 내용은 아래 링크를 참조하시기 바랍니다), 출금하기 전의 예치 상태에서 자산의 가격 차이가 풀에 예치할 당시의 가격으로 회복되는 경우 실제 손실은 줄어들 수 있습니다. 또한 전체 수익은 MEGA 분배와 거래 수수료 분배 수익까지 함께 고려하여 예상해야 합니다.

[**\[참고\] 비영구적 손실이란?**](https://academy.binance.com/en/articles/impermanent-loss-explained)

## Price Oracle

Price Oracle은 메가톤 파이낸스에서 사용하는 외부 가격 기준입니다. 출금, 자동 반환의 실행과 관련된 가격 기준은 Price Oracle을 통해 측정됩니다. Price Oracle 가격은 메가톤 파이낸스 내 풀 교환 비율(가격)과 다를 수 있습니다.

* 스테이블코인(USDT, USDC 등)은 고정된 가치(USD 1.0)로 계산됩니다.
* 그 외 코인은 자산별 유동성을 고려하여 Binance, Upbit, Coinone, Huobi, Gate io, Chainlink 등 중앙화 거래소의 가격과 메가톤 파이낸스 내 풀 교환 비율 및 TWAP(시간가중평균가격) 등 중앙값을 기준으로 합리적으로 결정합니다.

## 책임의 제한

* 메가톤 파이낸스는 사용자가 자신이 소유한 TON 블록체인 네트워크 지갑을 탈중앙화 프로토콜과 직접 통신해 여러 가상 자산의 교환 및 유동성 공급 기능을 이용할 수 있도록 돕는 웹 사이트 형태의 인터페이스입니다. 사용자의 개인 자산이나 사용자가 자산을 예치하는 각 유동성 풀을 관리 또는 통제하거나 거래의 무결성 및 신뢰성을 보증하지 않습니다. <mark style="color:blue;">**사용자는 각 거래의 이점 및 토큰 가격, 교환 비율의 변동 등에 의한 손실의 위험에 대해 신중히 평가, 고려한 후 자신의 책임과 판단하에 거래를 진행해야 합니다.**</mark>
* 메가톤 파이낸스에서 제공되는 예상 수익률, 토큰의 현재 가격 등을 비롯한 콘텐츠와 정보는 사용자의 유동성 공급, 제거, 스왑 등의 탈중앙형 거래를 돕기 위한 보조 자료이며, 투자 및 거래의 권유 및 암시가 아닙니다. 메가톤 파이낸스는 가능한 적시의 정보를 정확한 정보를 제공하기 위해 합리적인 노력을 다하지만, <mark style="color:blue;">**정보의 적시성, 적합성, 정확성을 보증하지 않습니다.**</mark>
* 메가톤 파이낸스는 사용자가 메가톤 파이낸스를 이용해 기대하는 이익을 얻지 못하거나 거래에 내재한 위험으로 인해 자산 또는 재산의 손실을 본 것에 대해 책임을 지지 않습니다.
* 메가톤 파이낸스는 메가톤 파이낸스에서 사용되는 기능과 서비스의 지속성을 보장하지 않습니다. 메가톤 파이낸스에서 제공되는 기능은 특정 시점에 추가되거나 영구적으로 삭제될 수 있으며, 메가톤 파이낸스 서비스가 중단되거나 변경될 수 있습니다(영구적인 기능 삭제나 서비스 중단의 경우 이에 따라영향을 받는 사용자가 있는 경우에는 사전에 30일 이상의 합리적인 기간을 두고 사용자의 대처 방법에 대해 공지 및 안내할 예정입니다).
* 메가톤 파이낸스는 메가톤 파이낸스 프로토콜이 사용한 TON 네트워크 플랫폼을 비롯한 제삼자 서비스에 대해 책임을 지지 않습니다.
* 메가톤 파이낸스는 안전하고 투명한 금융 기회를 제공하기 위해 자동화된 스마트 컨트랙트 코드를 통해 TON 네트워크와 직접 상호작용이 가능하도록 설계된 애플리케이션이지만, 소프트웨어의 복잡성과 기술의 본질적인 한계로 인해 코드의 무결성을 완벽하게 보장할 수 없습니다.
* 메가톤 파이낸스에서 사용하는 스마트 컨트랙트 코드에는 발견되지 못한 결함이 존재할 수 있으며, 이러한 결함을 악용한 해킹, 플래시론 공격 등을 통한 자산 탈취로 인한 원금 손실의 위험이 존재합니다.
* 메가톤 파이낸스 팀은 최신 블록 동기화를 유지할 수 있도록 최선의 노력을 하고 있으나, <mark style="color:blue;">**천재지변, 서버 점검**</mark> 또는 TON 네트워크상의 <mark style="color:blue;">**트랜잭션 혼잡도 상승, 컴퓨터 시스템 오류, 소프트웨어 공격 등**</mark>의 상황으로 메가톤 파이낸스 <mark style="color:blue;">**인터페이스 제공은 예고 없이 중단/종료**</mark>될 수 있으며, <mark style="color:blue;">**24시간 메가톤 파이낸스 인터페이스 제공이 보장되지 않습니다.**</mark>
* 위와 같은 문제 상황에서는 인터페이스상의 표시된 수치상 오류, 일시적 서비스 연결 불가, 접속 오류 및 중지가 발생할 수 있습니다. 이때 사용자가 요청한 유동성 예치, 출금, 스왑 등 트랜잭션 처리 과정에서 지연 및 요청 실패가 발생할 수 있습니다.
* 법령상 허용되는 한도 내에서 위 두 단락과 같은 상황의 발생에 대해 메가톤 파이낸스의 고의 또는 중과실이 없는 경우 메가톤 파이낸스는 이에 대해 책임을 지지 아니합니다.

**이 서비스 유의 사항은 2022는 12월 9일부터 유효합니다.**

**서비스 유의 사항 게시 이력**

**(2022년 12월 9일) : 최초 제정**


# 컨트랙트 & 보안 감사

Certik 인증(2023년 2월 9일)

{% file src="/files/C6P3ckchvaBR2SJgIS5b" %}


# 지원 & 팀

## 메가톤 파이낸스

![](/files/zL6lmPwyTN2FDFEy4G2L) [메가톤 파이낸스 사용하기](https://megaton.fi/)

:book: 미디엄: <https://medium.com/megatonfinance>

:telephone\_receiver: 텔레그램: <https://t.me/MegatonFinanceChannel>

:bird: 트위터: <https://twitter.com/Megaton_Fi>

:computer: 디스코드: <https://discord.com/invite/megatonfinance>

## 팀 & 서비스

**오지스**는 세상의 변화를 선도하고 혁신을 제시하는 블록체인 기업입니다.

<img src="/files/bVD0iteob0jM74v5saPQ" alt="" data-size="line"> 오지스: [https://ozys.io](https://ozys.io/)

:airplane:클레이스왑: [https://klayswap.com](https://klayswap.com/)

![](/files/lSz2oVpRMyWLEtlKnhEE) 메시스왑: [https://meshswap.fi](https://meshswap.fi/)

:bridge\_at\_night: 오르빗 브릿지: [https://bridge.orbitchain.io](https://bridge.orbitchain.io/)

:moneybag: 벨트 파이낸스: [https://belt.fi](https://belt.fi/landing)

<img src="/files/E9ubOWVjqSer6oCNuUFI" alt="" data-size="line"> 클레이스테이션: [https://klaystation.io](https://klaystation.io/)


# Megaton Finance

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

今天的区块链生态系统是碎片化的，并且有一个基于文化多样性的生态系统。TON（The Open Network）也是碎片化的区块链生态系统之一，并且一直保持孤立状态。Megaton Finance是一个可以克服孤立的TON区块链生态系统并扩展到最活跃的区块链以太坊等Layer 1的链接。

Megaton Finance是TON网络中的第一个自治金融协议，可提供掉期和配对存款等收益农业机会。用户现在可以使用[TON（Toncoin）](https://wton.dev/)，以前在Megaton Finance的TON网络上不可用。Megaton Finance的结构结合了DeFi生态系统中流行的AMM（自动做市商）DEX商业模式、可扩展的多链经济以及TON网络的独特特性。<br>

* **AMM机制**\
  \
  AMM是一种创新的交易机制，改变了加密货币链上交易的方式。 参与者可以通过流动性提供者创建的流动性池自由交易，而不是买入/卖出订单簿方式，流动性提供者可以根据其流动性贡献从流动性池中获得交易费用作为利润。

* **Megaton Finance多链代币经济**\
  \
  自治金融协议起源于KLAYswap，这是Klaytn链上最大的AMM（自动做市商机制） DEX。KLAYswap的MAU已超过100万，TVL是一个经过验证的全球协议，去年达到21亿美元。多链代币经济是一种利用成熟的KLAYswap和Meshswap的用户和充裕的流动性来快速提高新协议网络主导地位的策略。由多链代币经济链接的每个协议基于广泛的用户池和超越链的流动性，通过代币经济融合创造各种奖励机会。 此外，通过这些奖励，我们通过不断向Megaton Finance用户分发奖励来扩展TON网络生态系统。

* **通过建立基础设施提高TON利用率**\
  \
  TON是TON网络的主要通货，可以通过WTON网关转换成WTON，打包代币，并在各种区块链中使用。此外，ETH、USDT、USDC、MATIC、KLAY等各种流动资产都可以通过跨链桥Orbit Bridge转移到TON网络中。基于有保障的流动性，您可以使用兆吨金融的掉期、对冲等功能产生收益。 相反，您可以在 KLAYswap 和 Meshswap 等其他区块链 DeFi上使用TON。<br>

**Megaton Finance**期待您的参与。

对于那些想在TON网络中体验 DeFi 但由于其可访问性低和不熟悉其工作原理而难以参与的人，我们希望您能够随着Megaton Finance的推出轻松体验和享受DeFi。

Megaton Finance不仅仅是一个提供收益的 AMM 机制协议。我们预计Megaton Finance未来将通过与 Telegram的持续升级和集成成为 Web 3.0的门户。

我们期待您的参与以及随着 Megaton Finance的启动将在TON网络中创建的各种 DeFi协议。


# TON网络

[TON（The Open Network）](https://ton.org/)是一个快速、安全、高度可扩展的区块链网络，对用户友好，每秒能够处理数百万笔交易。 TON网络起到了像超级计算机一样托管和提供各种Dapp服务的作用。 Ozys旨在在TON 网络生态系统上创建一个基于AMM的DEX，它具有出色的性能和庞大的社区。Ozys开发并运营 KLAYswap和Meshswap等DeFi协议，以实现世界一流的TVL和MAU，并将基于迄今为止在TON网络上积累的经验来构建用户友好的 DEX。除了去中心化交易所，我们还计划增加各种金融服务，例如杠杆耕种、治理和存储多头/空头头寸。<br>

### 规格

* &#x20;55,000 TPS （每秒事务处理量）
* &#x20;区块时间5秒
* &#x20;最终确定时间 6 秒或更短
* &#x20;每个工作链最多支持 260 个分片链

### **Orbit Bridge**

Megaton Finance寻求通过Orbit Bridge扩展TON生态系统，Orbit Bridge是Ozys开发的全球排名前 7 的桥梁。 Orbit Bridge 是一个强大的跨链桥，已经记录了超过80万笔交易，总交易量超过120亿美元，TVL 超过2亿美元，没有发生一起黑客事件。Orbit Bridge目前支持以太坊、Klaytn、BNB、HECO、Stacks、Ripple等15多个不同链上的ETH、USDT、USDC等80多种资产。

Megaton Finance寻求通过Orbit Bridge扩展TON生态系统，Orbit Bridge是Ozys开发的全球排名前 7 的桥梁。 Orbit Bridge是一个强大的跨链桥，已经记录了超过80万笔交易，总交易量超过120亿美元，TVL 超过2亿美元，没有发生一起黑客事件。Orbit Bridge目前支持以太坊、Klaytn、BNB、HECO、Stacks、Ripple 等15多个不同链上的ETH、USDT、USDC等80多种资产。

### **Links**

* [**官方网页**](https://ton.org/)
* [**白皮书**](https://ton-blockchain.github.io/docs/ton.pdf)
* **Ozys发行的TON相关文件**


# 参与者

**Megaton Finance是一种即时交换协议，与链上流动性池一起运行，其中流动性由自动做市机制（AMM）保证。它是一种链上互换服务，允许任何拥有任何WTON或oToken类型加密货币的人成为流动性提供者并从交易手续费佣金中赚取收入。**

* **交易者（Trader）**：通过向Megaton Finance池支付费用，交易者可以立即兑换代币。代币价格在交易期间根据存入池中的配对资产的数量（兑换率）波动。
* **流通量提供者（Liquidity Provider）**:  指用户将一对二代币存入Megaton Finance矿池获取收益。如果提供流动性，流动性提供者将收到 LP（流动性提供者）代币，MEGA作为供应证明。他们将从各自的池中获得费用的奖励份额作为贡献奖励。<br>

![](/files/K3rZDkNvSdTzKpWwIs6k) 请注意，基于AMM的掉期协议可能会出现滑点（交易时的估计价格与交易时的实际价格之间的差异）。 此外，流动性提供者可能会经历无常损失（与存放时相比存放资产的价格发生变化），因为池中的代币价格在供应点之后由AMM机制进行调整。

请在提供流动性或进行交易时牢记这些风险。


# WTON网关

WTON是第一个与TON网络中的TON令牌 1:1 支持的Jetton标准代币。Jetton代币标准定义了代币如何在TON网络内传输以及如何保持代币之间传输的一致记录。

发布与TON硬币挂钩的资产的目的是 1）由于基于TON硬币的TON网络的性质，它无法实现基于智能合约本身的各种功能，以及 2）一个生态系统在TON之外（例如以太坊、Polygon 等）直接使用TON硬币。

换句话说，TON代币必须通过WTON网关与Jetton代币“打包”起来，才能用于基于智能合约的各种功能。 WTON具有Zetton标准的灵活性，解决了TON网络的互操作性问题，拓宽了TON区块链网络关键货币TON的使用范围。通过[WTON网关](https://wton.dev/)，用户可以在以太坊和Polygon等网络的智能合约中使用与TON代币挂钩的资产。

{% content-ref url="/pages/pJIwkmiygEzYwgY00IQh" %}
[如何通过WTON网关将TON转换为WTON](/zh-cn/guides/ru-he-tong-guo-wton-wang-guan-jiang-ton-zhuan-huan-wei-wton)
{% endcontent-ref %}


# 交换（Swap）

### **介绍**

Megaton Finance能够基于流动性池相互交换{Token standard}代币。Token 交换是基于Uniswap v2 AMM的方程 x \* y = k 执行的，并且在token swap过程中会出现滑点。

在Megaton Finance的池中兑换代币时，根据每个流动性池的费用政策收取 0.1% 的交易费用。交易费用 100% 支付给 LP。

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

### 池创建和交换

Megaton Finance的流动性池建立在WTON、ETH、USDT等基础上。 V1 不支持池创建。由于所有矿池都是基于WTON创建的，而Megaton Finance早期版本没有路由功能，所以在兑换WTON以外的代币时需要经过两次兑换流程。oUSDT兑换oDAI的情况下，首先要先将oUSDT兑换成WTON，然后再将WTON兑换成WTON-oDAI池中的oDAI。<br>

### x \* y = k 的定价算法

\- x： WTON / y： MEGA\
\- 假设提供给池的 x 和 y 的储备数量各为 100\
\- x(100) \* y(100) = k(10,000)\
\- 如果交易者支付 10 WTON 并购买 MEGA，则交易者获得的 MEGA 数量和池中剩余的 MEGA 代币数量计算如下：\
\
**a. 池中剩余的WTON数量**\
x(110) \* y(储备) = 10,000\
y（储备）= 90.9 MEGA\
\
**b. 交易者赚取的 MEGA 数量**\
**100 - 90.9 MEGA = 9.1 MEGA**\
在目前我们看到的例子中，初始 WTON/MEGA 池的代币价格比为 1:1。所以交易者会支付 10 TON 并期望收到 10 MEGA。 然而，交易者实际获得的 MEGA 数量为 9.1 MEGA。这样，在 x \* y = k 算法中，您订购的代币价格与实际成交的代币价格之间的差值称为滑点。交易者在下掉期订单之前必须检查滑点。<br>


# 收益农场（Yield Farm）

### 提供流动性和LP代币

\
流动性池是智能合约中持有的数字资产的集合，在去中心化交易所的运营中起着关键作用。 用户可以将他们的资产存入 Megaton Finance 的各种池中，并收到 LP 代币作为证明。 收到的 LP 代币数量代表我在总池中的份额 (%)。

例如： 如果您在Megaton Finance的WTON-oUSDT池中存入10,000美元，则每价值5,000美元的资产将以WTON和oUSDT之间的50:50的比例添加到池中。 LP代币数量等于WTON数量，并以此为基础计算份额（%）。

### **BENEFITS**

* **MEGA分配奖励**\
  &#x20;\
  如果您向MEGA奖励池提供流动性，您将根据您在池中的LP股份获得MEGA挖矿奖励。\
  &#x20;
* &#x20;**交易手续费奖励**\
  &#x20;\
  如果您向流动性池提供流动性，您将根据您在池中的LP股份获得交易费用补偿。交易手续费在池中累积，您可以按照提现时的汇率连同手续费一起提现。


# MEGA

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

* **代码：MEGA**
* **合约地址：EQBf6-YoR9xylol\_NwjHrLkrTFAZJCX-bsd-Xx\_902OaPaBf**
* **区块链：TON**

MEGA是维护Megaton Finance生态系统的治理代币，通过通胀发行的初始数量提供给LP（Liquidity Provider）。当Megaton Finance增加质押功能后，MEGA质押参与者将获得MEGA作为奖励。<br>

### 用例

\
MEGA可以通过池存款和质押等生态系统贡献进行分配，也可以通过交易获得，并可以如下使用。

* 用户可以通过使用 MEGA 进行配对存款服务来获得通货膨胀补偿。
* 用户可以参与 MEGA Staking 并获得 MEGA 通胀补偿（待定）。
* MEGA 可用于对协议议程进行治理投票 （待定）。


# 代币经济学（至2023年 8月 31日 03:00 UTC）

按你、MEGA是给予生态系统参与者的奖励，是确保Megaton Finance获得更多流动性的强大动力。它通过代币经济结构提供有意义的基于流动性的交易和更多的金融机会，从而实现有限MEGA资源的有效分配和价值最大化。<br>

### MEGA挖矿量

MEGA每日总挖矿量为18,750 MEGA，每秒发行0.217013889 MEGA。请参考MEGA分配。

| 项目        | 数量               |
| --------- | ---------------- |
| 按区块分布     | 0.217013889 MEGA |
| 每天MEGA挖矿量 | 18,750 MEGA      |

### 通过减半减少分配的效果

‌减半通过减少每个区块分配的MEGA数量来减缓MEGA通胀。请查看MEGA分配了解详细的通货膨胀计划。

{% content-ref url="/pages/AwGJiaOEZOyZYi7WI1d0" %}
[分配（至2023年 8月 31日 03:00 UTC）](/zh-cn/tokenomics/mega/fen-pei-zhi-2023-nian-8-yue-31-ri-0300-utc)
{% endcontent-ref %}


# 代币经济学（当前）

## 概括

我们创建了社区流动性金库来提升MEGA的价值。社区流动性金库将获得通货膨胀的70%，其他资金池将获得剩余的30%。我们专门使用分配给金库的MEGA来维护用户和MEGA代币持有者的利益。MEGA使用的一些例子包括MEGA质押激励计划、活动和促销。

## 摘要

Megaton Finance是区块链的资本中心。它为TON建立公共友好的区块链生态系统做出贡献，并通过为用户提供各种激励来促进链上流动性。

目前，Megaton Finance通过以下两种方式来盘活社区和流动性供应。 首先，流动性池产生的交易费用全部返还给用户。其次，当资产存入流动性池时，MEGA代币将根据存款人在每个流动性池中的权益进行分配作为激励。 早期，Megaton Finance在最大化用户参与和推广去中心化金融服务方面取得了预期效果，但也遇到了一些局限性。考虑到当前的市场状况和Megaton Finance的中长期可持续性，我们制定了一项增加社区激励结构多样性的政策。除了向流动性提供者提供巨额激励外，主要目标是吸引新用户并加强社区。

该建议为上述政策的制定奠定了基础。 我们将继续向Megaton Finance 内的所有流动性池提供MEGA激励； 不过，该比例将从100%降至30%。剩余的70%将流入新创建的社区流动性金库。社区流动性金库的主要目标是帮助Megaton Finance的长期增长，因此分配到池中的MEGA仅用于Megaton Finance用户和MEGA持有者的利益。因此，Megaton Finance可以作为提升MEGA代币价值的媒介，同时保留其作为TON生态系统代表性DEX的原始功能。

目前，Megaton Finance团队正在准备MEGA质押激励计划，以便流动性提供者和MEGA持有者都可以成为Megaton Finance的重要贡献者。随着MEGA持有者数量和MEGA价值的增加，该计划将产生定量和定性的影响。这项政策很可能会让忠于Megaton Finance的MEGA持有者受益。 而且从长远来看，为Megaton Finance提供流动性的用户也将受益于涓滴效应。

创建社区流动性金库的目的是促进商业合作，实现用户利益最大化。也就是说，分配到金库的MEGA并不是直接分配给合作伙伴，而是用于将其用户转化为Megaton Finance用户。Megaton Finance流动性金库的命名是为了强调其优先考虑的是Megaton Finance社区，并且MEGA不用于空投等联合营销活动。未来，我们将向Megaton Finance引入各种内容，包括《英雄烈焰：三国志》等P2E游戏以及其他DeFi项目。为了将来在合作伙伴社区内继续使用MEGA代币，Megaton Finance团队计划使其与合作伙伴的合作伙伴关系多元化。流动性金库的一部分也将分配给 MEGA质押社区成员作为会员奖励，并且该系统的结构将显着反映 MEGA持有者的贡献。<br>

### MEGA挖矿量

MEGA每日总挖矿量为18,750 MEGA，每秒发行0.217013889 MEGA。请参考MEGA分配。

| 项目        | 数量                                                                                                            |
| --------- | ------------------------------------------------------------------------------------------------------------- |
| 按区块分布     | 0.217013889 MEGA                                                                                              |
| 每天MEGA挖矿量 | <p>18,750 MEGA<br>\*Community Liquidity Pools: 5,625 MEGA<br>\*Community Liquidity Treasury: 13,125 MEGA </p> |

### 通过减半减少分配的效果

‌减半通过减少每个区块分配的MEGA数量来减缓MEGA通胀。请查看MEGA分配了解详细的通货膨胀计划。

{% content-ref url="/pages/AwGJiaOEZOyZYi7WI1d0" %}
[分配（至2023年 8月 31日 03:00 UTC）](/zh-cn/tokenomics/mega/fen-pei-zhi-2023-nian-8-yue-31-ri-0300-utc)
{% endcontent-ref %}


# 分配（至2023年 8月 31日 03:00 UTC）

## MEGA发布时间表

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

* **总供应量：100,000,000 MEGA**
* **初始供应量：1,000,000 MEGA**

## 初始代币分配

为了建立最初的Megaton Finance生态系统，1,000,000 MEGA（总供应量的 1%）将用于营销、MEGA LP 激励和Tonstarter。Megaton Finance将通过使用初始供应的活动确保 TON 网络上的潜在用户和流动性，从而创造一个稳定的交易环境。<br>

## 最终代币分配

MEGA的最终代币分配为100,000,000 MEGA，将按照上表分配。

## MEGA代币的分配结构

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

表中显示MEGA每项的分配数量、归属期和减半期。


# 分配（当前）

## MEGA发布时间表

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

* **总供应量：100,000,000 MEGA**
* **初始供应量：1,000,000 MEGA**

## 初始代币分配

为了建立最初的Megaton Finance生态系统，1,000,000 MEGA（总供应量的 1%）将用于营销、MEGA LP 激励和Tonstarter。Megaton Finance将通过使用初始供应的活动确保 TON 网络上的潜在用户和流动性，从而创造一个稳定的交易环境。<br>

## 最终代币分配

MEGA的最终代币分配为100,000,000 MEGA，将按照上表分配。

## MEGA代币的分配结构

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

表中显示MEGA每项的分配数量、归属期和减半期。


# 创建钱包

要使用Megaton Finance，您必须首先创建您的加密钱包。在DeFi协议中，个人加密钱包就是您的账户。 你可以通过将你的钱包连接到Megaton Finance来进行存款、取款和掉期等交易。Megaton Finance基于 TON网络，可以使用下面支持TON代币的钱包接入服务。

* ### TON钱包指南

  Megaton Finance支持TON网络的钱包有TON Wallet、Tonhub、Tonkeeper (TBD)。请参阅用户指南了解更多详情。

{% file src="/files/q8o26cDxBYr2KJjjBuzI" %}


# 如何存入资产

TON网络的原生加密货币是TON。用户先将交易所/个人钱包中持有的TON存入自己的TON钱包，即可在Megaton Finance中使用TON。通过WTON网关将TON转换为WTON后，您可以使用swap和yield farm。

{% tabs %}
{% tab title="转移到TON Wallet" %}

1. 点击TON钱包上的【接收】按钮，查看私人钱包地址。

&#x20;   ![](/files/c4BvIflI0pOswz4toRnW) ![](/files/l67Yfd5rZuzwpdPkMA4M)

2\. 在交易所或个人钱包提现页面的提现地址栏输入正确的钱包地址。

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

<figure><img src="/files/m4B9Tk3gMbNEtUzu50E5" alt=""><figcaption><p><mark style="color:red;">The example is the OKX exchange.</mark></p></figcaption></figure>
{% endtab %}

{% tab title="转移到Tonhub" %}

1. 点击Tonhub上的【接收】按钮，查看私人钱包地址。

&#x20;   ![](/files/u9d0z0VEhUtAZLQzhuDK) ![](/files/PgMcwWUCP50ImA8d0ELm)

2\. 在交易所或个人钱包提现页面的提现地址栏输入正确的钱包地址。

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

<figure><img src="/files/m4B9Tk3gMbNEtUzu50E5" alt=""><figcaption><p><mark style="color:red;">The example is the OKX exchange.</mark></p></figcaption></figure>
{% endtab %}

{% tab title="转移到Tonkeeper" %}
TBD
{% endtab %}
{% endtabs %}

![](/files/K3rZDkNvSdTzKpWwIs6k) 一旦创建并完成转账交易，由于区块链的性质，它不能被取消。强烈建议在转出全部资产前，先对转账交易进行小额检查和测试。


# 如何通过WTON网关将TON转换为WTON

原来，TON与TON主网上其他基于EVM的硬币和山寨币不兼容。 由于TON网络的性质，TON不能像在 Megaton Finance中那样使用，因此必须使用WTON网关将TON转换为WTON。

通过WTON网关将存储在钱包中的TON进行打包，将转换为WTON，可以在Megaton Finance中使用。 您可以使用 unwrap 函数将 WTON 转换回TON。

{% tabs %}
{% tab title="将TON包装成WTON" %}
1\. 连接钱包，进入WTON网关。

<div><figure><img src="/files/Ifuw5sjspJ1gfjQPcJZk" alt=""><figcaption></figcaption></figure> <figure><img src="/files/Zr2FW2Kb61NoE980XNiO" alt=""><figcaption></figcaption></figure></div>

2\. 点击From后，选择TON，然后输入包装数量。

<div><figure><img src="/files/xNMiWnjJZwCZVA7ePdCY" alt=""><figcaption></figcaption></figure> <figure><img src="/files/hbWe6wCL8BUYRVqtmRwi" alt=""><figcaption></figcaption></figure></div>

3\. 点击SEND TON按钮后，输入钱包密码即可完成解包。

<figure><img src="/files/a2VlhjuPhDqqVaagWCB5" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="将WTON解包为TON" %}
1\. 连接钱包，进入WTON网关。

<div><figure><img src="/files/Iqk9ywcQ2SdyA7TCaXwO" alt=""><figcaption></figcaption></figure> <figure><img src="/files/Zr2FW2Kb61NoE980XNiO" alt=""><figcaption></figcaption></figure></div>

2\. 点击From后，选择WTON，然后输入解包数量。

<div><figure><img src="/files/14jTlCRl2G11mPUnEdbB" alt=""><figcaption></figcaption></figure> <figure><img src="/files/hbWe6wCL8BUYRVqtmRwi" alt=""><figcaption></figcaption></figure></div>

\
3\. 点击SEND TON按钮后，输入钱包密码即可完成解包。

<figure><img src="/files/a2VlhjuPhDqqVaagWCB5" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}


# 如何在Orbit Bridge上获取跨链资产

用户必须使用Orbit Bridge来转移和存入中心化交易所或个人钱包中持有的基于TON/EVM的资产。

* [链接到Orbit Bridge](https://bridge.orbitchain.io/)

{% file src="/files/Jzzd6JLmDsVsLzZfMh0N" %}


# 合约

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

{% content-ref url="/pages/JwMu9JjsuC0XdXCPMkRN" %}
[MEGA](/zh-cn/developers/he-yue/mega)
{% endcontent-ref %}

{% content-ref url="/pages/ZFqJAz9Kdx3wVNxb6edl" %}
[路由器（Router）](/zh-cn/developers/he-yue/lu-you-qi-router)
{% endcontent-ref %}

{% content-ref url="/pages/CDuisM6NBTmLVyvM5xMJ" %}
[交换（Exchange）](/zh-cn/developers/he-yue/jiao-huan-exchange)
{% endcontent-ref %}


# MEGA

MEGA智能合约是Megaton Finance符合Jetton标准的治理代币。

## Code

Github链接：（待更新）

## Address

* 主网：（待正式上线后更新）

## Read-Only Functions

{% tabs %}
{% tab title="MEGA Minter" %}
**get\_jetton\_data**

```
(int, int, slice, cell, cell) get_jetton_data() method_id
```

* int totalSupply
* int mintable
* slice admin\_address
* cell mega\_content
* cell mega\_wallet\_code

**get\_jetton\_extra\_data**

```
(slice) get_jetton_extra_data() method_id
```

* slice minter\_address

**get\_wallet\_address**

```
slice get_wallet_address(slice owner_address) method_id
```

* slice user\_wallet\_address
  {% endtab %}

{% tab title="MEGA Wallet" %}
**get\_wallet\_data**

```
(int, slice, slice, cell) get_wallet_data() method_id
```

* int balance
* slice owner
* slice mega\_minter\_address
* cell mega\_wallet\_code
  {% endtab %}
  {% endtabs %}

## **参考**

* Jettons standard description: [TEP74](https://github.com/ton-blockchain/TEPs/blob/master/text/0074-jettons-standard.md) & [TEP89](https://github.com/ton-blockchain/TEPs/blob/master/text/0089-jetton-wallet-discovery.md)


# 路由器（Router）

路由器合约监督令牌对注册的全部功能，并支持前端产品交易的所有基本要求。

## Code

Github链接：（待更新）

## Address

* 主网：EQAxC3GzQBgjlvW6CJAwgaHvarTfVxo8p7Be\_6RMSjsPki6s

## Read-Only Functions

{% tabs %}
{% tab title="Read-Only Functions" %}
**get\_address\_data**

```
(slice, slice, slice, slice, slice, slice) get_address_data() method_id
```

* slice admin\_address
* slice pool\_creator\_address
* slice governance\_jetton\_address
* slice mining\_rate\_admin\_address
* slice lp\_policy\_admin\_address
* slice next\_admin\_address

**get\_mining\_data**

```
(int, int, int, int, int, int) get_mining_data()
```

* int total\_mining\_amount
* int total\_mining\_rate
* int mining\_amount\_per\_sec
* int half\_life
* int total\_reward

**get\_lp\_data**

```
(int, cell, cell) get_lp_data() method_id
```

* int pool\_count
* cell ( dict ) jetton\_pair\_to\_lp
* cell ( dict ) lp\_to\_jetton\_pair

**get\_jetton\_pair\_to\_lp\_address**

```
(slice, int) get_jetton_pair_to_lp_address(slice jettonA_address, slice jettonB_address) method_id
```

* slice lp\_address
* int exist

**get\_code\_data**

```
(cell, cell, cell) get_code_data() method_id
```

* cell lp\_minter\_code
* cell lp\_wallet\_code
* cell mega\_wallet\_code

**get\_lp\_default\_content\_data**

```
(cell) get_lp_default_content_data() method_id
```

* cell lp\_default\_content
  {% endtab %}

{% tab title="State-Changing Functions" %}

#### How to build transaction

* Swap

```typescript
await sendInternalMessageWithWallet({
    walletContract,
    secretKey,
    to: userJettonWalletAddress,
    value: toNano(0.4),
    body: beginCell()
        .storeUint(0xf8a7ea5, 32)
        .storeUint(queryId, 64)
        .storeCoins(fromAmount)
        .storeAddress(routerAddress)
        .storeAddress(responseAddress)
        .storeDict(beginCell().endCell())
        .storeCoins(toNano(0.3))
        .storeDict(beginCell()
            .storeAddress(fromJettonAddress)
            .storeAddress(toJettonAddress)
            .storeCoins(minAmount)
        .endCell())
    .endCell()
});
```

{% endtab %}
{% endtabs %}


# 交换（Exchange）

这是一个扩展Jetton的智能合约，它是用每个流动性对创建的。 路由器在请求创建新池时部署它。尽管路由器实际上存储了一对中的两个代币并通过它进行交换，但必须调用交换合约才能提供或获取流动性。

## Code

Github链接：（待更新）

## Read-Only Functions

### Exchange Minter

{% tabs %}
{% tab title="Read-Only Functions" %}
**get\_jetton\_data**

```
(int, int, slice, cell, cell) get_jetton_data() method_id
```

* int totalSupply
* int mintable
* slice admin\_address
* cell exchange\_content
* cell exchange\_wallet\_code

**get\_lp\_swap\_data**

```
(int, int, slice, slice, slice, int, int, slice, slice, int, int) get_lp_swap_data() method_id
```

* int swap\_fee
* int min\_amount
* slice router\_address
* slice jettonA\_address
* slice jettonA\_wallet\_address
* int jettonA\_balance
* int jettonA\_pending\_balance
* slice jettonB\_address
* slice jettonB\_wallet\_address
* int jettonB\_balance
* int jettonB\_pending\_balance

**get\_lp\_mining\_data**

```
(int, int, int, int, int, int, cell) get_lp_mining_data() method_id
```

* int mining\_amount
* int datetime\_amount
* int minable\_time
* int half\_life
* int last\_index
* int last\_mined
* cell mining\_rate\_cell

**get\_lp\_user\_info\_dict**

```
(cell) get_lp_user_info_dict() method_id
```

* cell ( dict ) total\_user\_info\_dict

**get\_lp\_user\_info**

```
(int, int, int, int) get_lp_user_info(slice user_address) method_id
```

* int find
* int balance
* int user\_reward\_sum
* int last\_user\_index

**get\_wallet\_address**

```
slice get_wallet_address(slice owner_address) method_id
```

* slice user\_wallet\_address
  {% endtab %}

{% tab title="State-Changing Functions" %}

#### How to build transaction

* Add Liquidity

```typescript
// 1. add liquidity tokenA
await sendInternalMessageWithWallet({
    walletContract,
    secretKey,
    to: userJettonAWalletAddress,
    value: toNano(0.7),
    body: beginCell()
        .storeUint(0xf8a7ea5, 32)
        .storeUint(query_id, 64)
        .storeCoins(jettonAAmount)
        .storeAddress(lpAddress)
        .storeAddress(responseAddress)
        .storeDict(beginCell().endCell())
        .storeCoins(toNano(0.5))
        .storeDict(beginCell()
            .storeCoins(minAmountForJettonA)
            .storeCoins(minAmountForJettonB)
        .endCell())
    .endCell()
});

// 2. add liquidity tokenB
await sendInternalMessageWithWallet({
    walletContract,
    secretKey,
    to: userJettonBWalletAddress,
    value: toNano(0.7),
    body: beginCell()
        .storeUint(0xf8a7ea5, 32)
        .storeUint(query_id, 64)
        .storeCoins(jettonBAmount)
        .storeAddress(lpAddress)
        .storeAddress(responseAddress)
        .storeDict(beginCell().endCell())
        .storeCoins(toNano(0.5))
        .storeDict(beginCell()
            .storeCoins(minAmountForJettonA)
            .storeCoins(minAmountForJettonB)
        .endCell())
    .endCell()
});
```

* Remove Liquidity

```typescript
await sendInternalMessageWithWallet({
    walletContract,
    secretKey,
    to: lpAddress,
    value: toNano(0.35),
    body: beginCell()
        .storeUint(0x595f07bc, 32)
        .storeUint(query_id, 64)
        .storeCoins(lpAmount)
        .storeDict(beginCell()
            .storeCoins(minAmountForJettonA)
            .storeCoins(minAmountForJettonB)
        .endCell())
    .endCell()
});
```

* Claim

```typescript
await sendInternalMessageWithWallet({
    walletContract,
    secretKey,
    to: lpAddress,
    value: toNano(0.15),
    body: beginCell()
        .storeUint(0x6b14cfe1, 32)
        .storeUint(query_id, 64)
    .endCell()
});
```

{% endtab %}
{% endtabs %}

### Exchange Wallet

{% tabs %}
{% tab title="Read-Only Functions" %}
**get\_wallet\_data**

```
(int, slice, slice, cell) get_wallet_data() method_id
```

* int balance
* slice owner\_address
* slice lp\_minter\_address
* cell lp\_wallet\_code

**get\_wallet\_extra\_data**

```
(int, int, slice, slice) get_wallet_extra_data() method_id
```

* int jettonA\_pending\_balance
* int jettonB\_pending\_balance
* slice jettonA\_address
* slice jettonB\_address
  {% endtab %}
  {% endtabs %}


# 风险与安全

## 摘要

Megaton Finance (<https://megaton.fi>) 是一个基于TON区块链的去中心化应用程序 (DApp)。Megaton Finance 旨在为用户提供一个易于使用的界面，直接与TON区块链钱包集成，交换各种数字资产并提供流动性。

为了在使用 Megaton Finance 时获得可靠的网络/服务，请仔细阅读以下指南。

* 我们建议您仅使用一个实例/选项卡访问该服务。
* 如果您长时间使用多个实例/选项卡、使用公共/共享 IP 访问点和/或连接请求过多，则服务可能会受到限制。
* 如果您因任何原因无法连接，请关闭所有实例/选项卡并在至少 1 小时后访问该服务，然后再重新连接。

<mark style="color:blue;">**本指南包含有关Megaton Finance使用的重要信息，用户应熟悉这些信息。请仔细阅读这篇文章。使用 Megaton Finance即表示接受条款和风险，并假定用户已完整阅读本指南。**</mark>

## 资产存取款

用户在存取款资产时应注意以下事项。

* <mark style="color:blue;">**要请求交易，用户必须有TON钱包来存放基于TON的资产，以及用于支付交易费用的最低数量的 TON。**</mark>
* <mark style="color:blue;">**因此，非TON兼容代币 (WTON) 且基于其他区块链（包括但不限于以太坊、Klaytn和Polygon）的资产必须先通过Orbit Bridge转换为TON 兼容格式（o-asset）存入Megaton Finance。**</mark>

用户在Megaton Finance出入金时，<mark style="color:blue;">**务必仔细核对资产类型和地址**</mark>。<mark style="color:blue;">**如果用户存入TON区块链上不支持的资产或输入错误的存入地址，则该资产将无法存入，并可能永久丢失。**</mark>

* Megaton Finance是一个去中心化的接口，用户的私钥没有集中存储。 这意味着根据系统设计，由于用户疏忽造成的存款错误是不可能逆转的，包括上述资产。 这意味着 Megaton Finance 能够并将处理错误存入资产的方式与 Binance、Gate.io、Kucoin、Huobi、Upbit 和 Bithumb 等中心化交易所的处理方式有着本质上的不同。
* Megaton Finance 不断改进其用户界面以降低错误存款事件的发生率，包括但不限于显示警告和公告。Megaton Finance 将继续探索在保持去中心化的范围内使用户体验尽可能无缝的方法。
* 为防止丢失有价值的资产，我们建议用户在发送大量资产之前先使用少量资产进行测试。
* 因使用Orbit Bridge而出现的充值提现问题，请参考相关服务政策。

[**访问Orbit Bridge >**](https://bridge.orbitchain.io/)

## 提供流动性（存款），移除流动性（取款），交换

您可以通过向 Megaton Finance 中的流动性池（收益农场）提供流动性来充当流动性提供者； 但是，您必须充分了解所涉及的风险，并且必须根据自己的意愿做出负责任的财务决定。

**1. 资产**\
Megaton Finance是一个去中心化的接口，<mark style="color:blue;">**它的协议权限没有集中到特定实体。**</mark>\
用户对通过 Megaton Finance 进行的所有交易活动负责，并负责与要购买的代币以及该代币背后的<mark style="color:blue;">**公司或基金会有关的所有尽职调查 (DD)。**</mark> 了解交易代币或为代币提供流动性所涉及的风险完全是您的责任。

**2. 价格**\
合约内代币的流动性池比率决定Megaton Finance内每个代币的价格。由于自动智能合约负责根据公式（x\*y=k）调整价格，因此<mark style="color:blue;">**Megaton Finance界面上显示的价格可能与交易所显示的价格不同，无法保证价格准确。**</mark>

<mark style="color:blue;">**【文章】**</mark> [<mark style="color:blue;">**AMM如何预测价格**</mark>](https://academy.binance.com/en/articles/what-is-an-automated-market-maker-amm)

每个代币在充值、提现和兑换时的价格是根据上面的公式（币对兑换比例）确定的，而不是由兑换的数量决定的。

两种代币的互换比例也可能会随着参与互换的人数而变化。 这可能导致兑换后实际获得的代币数量与 Megaton Finance界面上显示的数量不同。

<mark style="color:blue;">**Megaton Finance协议具有适当的安全机制，通过限制执行掉期请求的范围，最大限度地减少掉期比率变化造成的损失。 但是，用户有责任在执行矿池存款、取款和掉期之前仔细检查比率。**</mark>

**3. 现有对的提供**\
用户可以通过Megaton Finance接口将资产存入现有的配对存款服务，从而获得 MEGA 分配和交易手续费分配的回报。

<mark style="color:blue;">**但是，如果资产价格因市场波动而发生剧烈变化，则池中用户资产的价值可能与预期价值存在差异，甚至出现亏损。**</mark>

然而，这些损失在从资金池中退出时就已确定，因此，这些损失被称为“无常损失”——您可以在下面的链接中找到更多详细信息。 如果这两种资产之间的价格差异变得更接近于它们存入池时的价格，则实际损失将最小化。此外，总利润还必须与MEGA 挖矿率和交易费奖励一起考虑。

<mark style="color:blue;">**【文章】**</mark> [<mark style="color:blue;">**什么是无常损失？**</mark>](https://academy.binance.com/en/articles/impermanent-loss-explained)

## Price Oracle

* 稳定币（USDT、USDC等）按固定价值（1.0美元）计算。
* 其他币种的价值确定，考虑到每个资产的流动性规模，有Bithumb、Coinone、Huobi、gate io、Chainlink和Megaton Finance 中的池交换比率（价格）。以Binance、Upbit、Bithumb等中心化交易所的价格中位数为准

## 服务协议

* Megaton Finance是一个网络应用程序界面，允许用户使用他们的 TON 区块链钱包与去中心化协议进行通信，以交换资产并提供流动性。 <mark style="color:blue;">**这意味着 Megaton Finance 无法控制单个流动资金池或掉期信托。 用户有责任通过考虑交换时的代币价格和比率来仔细考虑相关的收益和风险。**</mark>
* Megaton Finance界面提供的预期回报率、代币价格和所有其他信息用于帮助用户做出提供流动性、去除流动性、交换的明智决策，不应用于做出财务决策。<mark style="color:blue;">**Megaton Finance旨在在合理范围内提供准确的信息，但不保证数据的及时性或准确性。**</mark>
* Megaton Finance不对用户因使用Megaton Finance而造成的资产损失和产生的利润低于预期的利润负责。
* Megaton Finance 不保证 Megaton Finance 服务及其功能的连续性。 Megaton Finance 内提供的任何服务或功能都可以永久添加或删除，并且 Megaton Finance 本身可能会停止或更改 （在Megaton Finance服务永久停止的情况下，将给予可能受影响的用户一个合理的期限（30天或更长时间）和通知/引导）。
* Megaton Finance不保证Megaton Finance协议使用的TON区块链平台以及任何其他第3方服务的可靠性。
* Megaton Finance协议的开发和更新旨在依赖去中心化的投票和共识系统；但是，Megaton Finance协议的开发人员和治理参与者不以任何方式对 Megaton Finance Protocol 的任何和所有部分负责。
* Megaton Finance是一个去中心化的、自主的智能合约应用程序，旨在通过与TON区块链的直接交互提供安全和透明的金融机会。但是，由于软件代码的复杂性和技术的性质，无法保证代码的完整性。
* Megaton Finance中使用的智能合约代码容易受到漏洞的影响，并且存在资产损失的风险，黑客和闪电贷利用这些漏洞进行攻击。
* Megaton Finance和TON 网络之间的区块同步一直在不断努力； 但是，由于<mark style="color:blue;">**交易拥塞、计算机系统错误和软件攻击以及其他自然事件等因素导致的网络问题，Megaton Finance 接口可能会在不事先通知的情况下被关闭。Megaton Finance不保证始终有效。**</mark>
* 在上述及以上情况下，界面上显示的数值/信息可能会出现错误，以及服务连接中断。 用户对掉期、存款、取款和其他交易的请求可能会延迟或失败。
* 在法律合理范围内，兆吨金融不对上述任何情况负责，前提是兆吨金融本身不对此类案件的发生负责。

**本次服务修订将于 2022 年 12 月 9 日起生效**

**服务协议变更记录**&#x20;

**（2022 年 12 月 9 日）：初步宣布**


# 合约与审计

CertiK于2023年 2月 9日验证

{% file src="/files/Zcr2TA7gYgPiwTiPqphP" %}


# 支持团队

## 一般的

![](/files/TXeDM3AHymw52jjilmIp) 官方网站：[https://megaton.fi](https://megaton.fi/)

:book: Medium: <https://medium.com/megatonfinance>

:telephone\_receiver: Telegram: <https://t.me/MegatonFinanceChannel>

:bird: Twitter: <https://twitter.com/Megaton_Fi>

:computer: Discord: <https://discord.com/invite/megatonfinance>

## 团队与产品

**Ozys**是一家引领世界变革、呈现创新的区块链公司。

<img src="/files/PySWCHF3XYGlYUSyo2Ba" alt="" data-size="line"> Ozys: [https://ozys.io](https://ozys.io/)

:airplane: KLAYswap: [https://klayswap.com](https://klayswap.com/)

![](/files/e9rDZuQ2q8ZXBGq91P0z) Meshswap: [https://meshswap.fi](https://meshswap.fi/)

:bridge\_at\_night: Orbit Bridge: [https://bridge.orbitchain.io](https://bridge.orbitchain.io/)

:moneybag: Belt Finance: [https://belt.fi](https://belt.fi/landing)

<img src="/files/u9whFe8KLku9LWT8J86X" alt="" data-size="line"> KLAYstation: [https://klaystation.io](https://klaystation.io/)


# Megaton Finance

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

今天的區塊鏈生態系統是碎片化的，並且有一個基於文化多樣性的生態系統。 TON（The Open Network）也是碎片化的區塊鏈生態系統之一，並且一直保持孤立狀態。 Megaton Finance是一個可以克服孤立的TON區塊鏈生態系統並擴展到最活躍的區塊鏈以太坊等Layer 1的鏈接。

Megaton Finance是TON網絡中的第一個自治金融協議，可提供掉期和配對存款等收益農業機會。用戶現在可以使用[TON（Toncoin）](https://wton.dev/)，以前在Megaton Finance的TON網絡上不可用。 Megaton Finance的結構結合了DeFi生態系統中流行的AMM（自動做市商）DEX商業模式、可擴展的多鏈經濟以及TON網絡的獨特特性。

* **AMM機制**\
  \
  AMM是一種創新的交易機制，改變了加密貨幣鏈上交易的方式。參與者可以通過流動性提供者創建的流動性池自由交易，而不是買入/賣出訂單簿方式，流動性提供者可以根據其流動性貢獻從流動性池中獲得交易費用作為利潤。

* **Megaton Finance多鏈代幣經濟**\
  \
  自治金融協議起源於KLAYswap，這是Klaytn鏈上最大的AMM（自動做市商機制） DEX。 KLAYswap的MAU已超過100萬，TVL是一個經過驗證的全球協議，去年達到21億美元。多鏈代幣經濟是一種利用成熟的KLAYswap和Meshswap的用戶和充裕的流動性來快速提高新協議網絡主導地位的策略。由多鏈代幣經濟鏈接的每個協議基於廣泛的用戶池和超越鏈的流動性，通過代幣經濟融合創造各種獎勵機會。此外，通過這些獎勵，我們通過不斷向Megaton Finance用戶分發獎勵來擴展TON網絡生態系統。

* **通过建立基础设施提高TON利用率**\
  \
  TON是TON网络的主要通货，可以通过WTON网关转换成WTON，打包代币，并在各种区块链中使用。此外，ETH、USDT、USDC、MATIC、KLAY等各种流动资产都可以通过跨链桥Orbit Bridge转移到TON网络中。基于有保障的流动性，您可以使用兆吨金融的掉期、对冲等功能产生收益。 相反，您可以在 KLAYswap 和 Meshswap 等其他区块链 DeFi上使用TON。<br>

**Megaton Finance期待您的參與。**

對於那些想在TON網絡中體驗 DeFi 但由於其可訪問性低和不熟悉其工作原理而難以參與的人，我們希望您能夠隨著Megaton Finance的推出輕鬆體驗和享受DeFi。

Megaton Finance不僅僅是一個提供收益的 AMM 機制協議。我們預計Megaton Finance未來將通過與 Telegram的持續升級和集成成為 Web 3.0的門戶。

我們期待您的參與以及隨著 Megaton Finance的啟動將在TON網絡中創建的各種 DeFi協議。


# TON網絡

[TON（The Open Network）](https://ton.org/)是一個快速、安全、高度可擴展的區塊鍊網絡，對用戶友好，每秒能夠處理數百萬筆交易。 TON網絡起到了像超級計算機一樣託管和提供各種Dapp服務的作用。 Ozys旨在在TON 網絡生態系統上創建一個基於AMM的DEX，它具有出色的性能和龐大的社區。 Ozys開發並運營 KLAYswap和Meshswap等DeFi協議，以實現世界一流的TVL和MAU，並將基於迄今為止在TON網絡上積累的經驗來構建用戶友好的 DEX。除了去中心化交易所，我們還計劃增加各種金融服務，例如槓桿耕種、治理和存儲多頭/空頭頭寸。<br>

### 規格

* 55,000 TPS （每秒事務處理量）
* 區塊時間5秒
* 最終確定時間 6 秒或更短
* 每個工作鏈最多支持 260 個分片鏈

### **Orbit Bridge**

Megaton Finance尋求通過Orbit Bridge擴展TON生態系統，Orbit Bridge是Ozys開發的全球排名前 7 的橋樑。 Orbit Bridge 是一個強大的跨鏈橋，已經記錄了超過80萬筆交易，總交易量超過120億美元，TVL 超過2億美元，沒有發生一起黑客事件。 Orbit Bridge目前支持以太坊、Klaytn、BNB、HECO、Stacks、Ripple等15多個不同鏈上的ETH、USDT、USDC等80多種資產。

Megaton Finance尋求通過Orbit Bridge擴展TON生態系統，Orbit Bridge是Ozys開發的全球排名前 7 的橋樑。 Orbit Bridge是一個強大的跨鏈橋，已經記錄了超過80萬筆交易，總交易量超過120億美元，TVL 超過2億美元，沒有發生一起黑客事件。 Orbit Bridge目前支持以太坊、Klaytn、BNB、HECO、Stacks、Ripple 等15多個不同鏈上的ETH、USDT、USDC等80多種資產。

### **Links**

* [**官方网页**](https://ton.org/)
* [**白皮书**](https://ton-blockchain.github.io/docs/ton.pdf)
* **Ozys发行的TON相关文件**


# 參與者

**Megaton Finance是一種即時交換協議，與鏈上流動性池一起運行，其中流動性由自動做市機制（AMM）保證。它是一種鏈上互換服務，允許任何擁有任何WTON或oToken類型加密貨幣的人成為流動性提供者並從交易手續費佣金中賺取收入。**

* **交易者（Trader）**：通過向Megaton Finance池支付費用，交易者可以立即兌換代幣。代幣價格在交易期間根據存入池中的配對資產的數量（兌換率）波動。
* **流通量提供者（Liquidity Provider）**: 指用戶將一對二代幣存入Megaton Finance礦池獲取收益。如果提供流動性，流動性提供者將收到 LP（流動性提供者）代幣，MEGA作為供應證明。他們將從各自的池中獲得費用的獎勵份額作為貢獻獎勵。
*

![](/files/K3rZDkNvSdTzKpWwIs6k) 請注意，基於AMM的掉期協議可能會出現滑點（交易時的估計價格與交易時的實際價格之間的差異）。此外，流動性提供者可能會經歷無常損失（與存放時相比存放資產的價格發生變化），因為池中的代幣價格在供應點之後由AMM機制進行調整。

請在提供流動性或進行交易時牢記這些風險。


# WTON網關

WTON是第一個與TON網絡中的TON令牌 1:1 支持的Jetton標準代幣。 Jetton代幣標准定義了代幣如何在TON網絡內傳輸以及如何保持代幣之間傳輸的一致記錄。

發布與TON硬幣掛鉤的資產的目的是 1）由於基於TON硬幣的TON網絡的性質，它無法實現基於智能合約本身的各種功能，以及 2）一個生態系統在TON之外（例如以太坊、Polygon 等）直接使用TON硬幣。

換句話說，TON代幣必須通過WTON網關與Jetton代幣“打包”起來，才能用於基於智能合約的各種功能。 WTON具有Zetton標準的靈活性，解決了TON網絡的互操作性問題，拓寬了TON區塊鍊網絡關鍵貨幣TON的使用範圍。通過[WTON網關](https://wton.dev/)，用戶可以在以太坊和Polygon等網絡的智能合約中使用與TON代幣掛鉤的資產。

{% content-ref url="/pages/pJIwkmiygEzYwgY00IQh" %}
[如何通過WTON網關將TON轉換為WTON](/zh-tw/guides/ru-he-tong-guo-wton-wang-guan-jiang-ton-zhuan-huan-wei-wton)
{% endcontent-ref %}


# 交換（Swap）

### 介紹

Megaton Finance能夠基於流動性池相互交換 {Token standard} 代幣。 Token交換是基於Uniswap v2 AMM 的方程 x \* y = k 執行的，並且在 token swap 過程中會出現滑點。

在Megaton Finance的池中兌換代幣時，根據每個流動性池的費用政策收取 0.1% 的交易費用。交易費用 100% 支付給 LP。

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

### 池創建和交換

Megaton Finance的流動性池建立在WTON、ETH、USDT等基礎上。 V1 不支持池創建。由於所有礦池都是基於WTON創建的，而Megaton Finance早期版本沒有路由功能，所以在兌換WTON以外的代幣時需要經過兩次兌換流程。 oUSDT兌換oDAI的情況下，首先要先將oUSDT兌換成WTON，然後再將WTON兌換成WTON-oDAI池中的oDAI。<br>

x \* y = k 的定價算法\
\- x： WTON / y： MEGA\
\- 假設提供給池的 x 和 y 的儲備數量各為 100\
\- x(100) \* y(100) = k(10,000)\
\- 如果交易者支付 10 WTON 併購買 MEGA，則交易者獲得的 MEGA 數量和池中剩餘的 MEGA 代幣數量計算如下：\
\
**a. 池中剩餘的WTON數量**\
x(110) \* y(儲備) = 10,000\
y（儲備）= 90.9 MEGA\
\
**b. 交易者賺取的 MEGA 數量**\
**100 - 90.9 MEGA = 9.1 MEGA**\
在目前我們看到的例子中，初始 WTON/MEGA 池的代幣價格比為 1:1。所以交易者會支付 10 TON 並期望收到 10 MEGA。然而，交易者實際獲得的 MEGA 數量為 9.1 MEGA。這樣，在 x \* y = k 算法中，您訂購的代幣價格與實際成交的代幣價格之間的差值稱為滑點。交易者在下掉期訂單之前必須檢查滑點。<br>


# 收益農場（Yield Farm）

### 提供流動性和LP代幣

\
流動性池是智能合約中持有的數字資產的集合，在去中心化交易所的運營中起著關鍵作用。用戶可以將他們的資產存入 Megaton Finance 的各種池中，並收到 LP 代幣作為證明。收到的 LP 代幣數量代表我在總池中的份額 (%)。

例如： 如果您在Megaton Finance的WTON-oUSDT池中存入10,000美元，則每價值5,000美元的資產將以WTON和oUSDT之間的50:50的比例添加到池中。 LP代幣數量等於WTON數量，並以此為基礎計算份額（%）。

### **BENEFITS**

* **MEGA分配獎勵**\
  &#x20;\
  如果您向MEGA獎勵池提供流動性，您將根據您在池中的LP股份獲得MEGA挖礦獎勵。\
  &#x20;
* &#x20;**交易手續費獎勵**\
  &#x20;\
  如果您向流動性池提供流動性，您將根據您在池中的LP股份獲得交易費用補償。交易手續費在池中累積，您可以按照提現時的匯率連同手續費一起提現。


# MEGA

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

* **代碼：MEGA**
* **合約地址：EQBf6-YoR9xylol\_NwjHrLkrTFAZJCX-bsd-Xx\_902OaPaBf**
* **區塊鏈：TON**

MEGA是維護Megaton Finance生態系統的治理代幣，通過通脹發行的初始數量提供給LP（Liquidity Provider）。當Megaton Finance增加質押功能後，MEGA質押參與者將獲得MEGA作為獎勵。

### 用例

\
MEGA可以通過池存款和質押等生態系統貢獻進行分配，也可以通過交易獲得，並可以如下使用。

* 用戶可以通過使用 MEGA 進行配對存款服務來獲得通貨膨脹補償。
* 用戶可以參與 MEGA Staking 並獲得 MEGA 通脹補償（待定）。
* MEGA 可用於對協議議程進行治理投票 （待定）。


# 代币经济学（至2023年 8月 31日 03:00 UTC）

按你、MEGA是給予生態系統參與者的獎勵，是確保Megaton Finance獲得更多流動性的強大動力。它通過代幣經濟結構提供有意義的基於流動性的交易和更多的金融機會，從而實現有限MEGA資源的有效分配和價值最大化。<br>

MEGA挖礦量

\
MEGA每日總挖礦量為18,750 MEGA，每秒發行0.217013889 MEGA。請參考MEGA分配。<br>

| 項目        | 數量               |
| --------- | ---------------- |
| 按區塊分佈     | 0.217013889 MEGA |
| 每天MEGA挖礦量 | 18,750 MEGA      |

### 通過減半減少分配的效果

\
‌減半通過減少每個區塊分配的MEGA數量來減緩MEGA通脹。請查看MEGA分配了解詳細的通貨膨脹計劃。

{% content-ref url="/pages/AwGJiaOEZOyZYi7WI1d0" %}
[分配（至2023年 8月 31日 03:00 UTC）](/zh-tw/tokenomics/mega/fen-pei-zhi-2023-nian-8-yue-31-ri-0300-utc)
{% endcontent-ref %}


# 代币经济学（当前）

## 概括

我們創建了社區流動性金庫來提升MEGA的價值。社區流動性金庫將獲得通貨膨脹的70%，其他資金池將獲得剩餘的30%。我們專門使用分配給金庫的MEGA來維護用戶和MEGA代幣持有者的利益。MEGA使用的一些例子包括MEGA質押激勵計劃、活動和促銷。

## 摘要

Megaton Finance是區塊鏈的資本中心。它為TON建立公共友好的區塊鏈生態系統做出貢獻，並通過為用戶提供各種激勵來促進鏈上流動性。

目前，Megaton Finance通過以下兩種方式來盤活社區和流動性供應。首先，流動性池產生的交易費用全部返還給用戶。其次，當資產存入流動性池時，MEGA代幣將根據存款人在每個流動性池中的權益進行分配作為激勵。早期，Megaton Finance在最大化用戶參與和推廣去中心化金融服務方面取得了預期效果，但也遇到了一些局限性。考慮到當前的市場狀況和Megaton Finance的中長期可持續性，我們制定了一項增加社區激勵結構多樣性的政策。除了向流動性提供者提供巨額激勵外，主要目標是吸引新用戶並加強社區。

該建議為上述政策的製定奠定了基礎。我們將繼續向Megaton Finance 內的所有流動性池提供MEGA激勵； 不過，該比例將從100%降至 30%。剩餘的70%將流入新創建的社區流動性金庫。社區流動性金庫的主要目標是幫助Megaton Finance的長期增長，因此分配到池中的 MEGA 僅用於Megaton Finance用戶和MEGA持有者的利益。因此，Megaton Finance 可以作為提升MEGA代幣價值的媒介，同時保留其作為TON生態系統代表性DEX的原始功能。

目前，Megaton Finance團隊正在準備MEGA質押激勵計劃，以便流動性提供者和MEGA持有者都可以成為Megaton Finance的重要貢獻者。隨著 MEGA 持有者數量和MEGA價值的增加，該計劃將產生定量和定性的影響。這項政策很可能會讓忠於Megaton Finance的MEGA持有者受益。而且從長遠來看，為Megaton Finance提供流動性的用戶也將受益於涓滴效應。

創建社區流動性金庫的目的是促進商業合作，實現用戶利益最大化。也就是說，分配到金庫的MEGA並不是直接分配給合作夥伴，而是用於將其用戶轉化為Megaton Finance用戶。Megaton Finance流動性金庫的命名是為了強調其優先考慮的是Megaton Finance社區，並且MEGA不用於空投等聯合營銷活動。未來，我們將向Megaton Finance引入各種內容，包括《英雄烈焰：三國志》等P2E遊戲以及其他DeFi項目。為了將來在合作夥伴社區內繼續使用MEGA代幣，Megaton Finance團隊計劃使其與合作夥伴的合作夥伴關係多元化。流動性金庫的一部分也將分配給MEGA質押社區成員作為會員獎勵，並且該系統的結構將顯著反映 MEGA持有者的貢獻。<br>

## MEGA挖礦量

MEGA每日總挖礦量為18,750 MEGA，每秒發行0.217013889 MEGA。請參考MEGA分配。

| 項目        | 數量                                                                                                            |
| --------- | ------------------------------------------------------------------------------------------------------------- |
| 按區塊分佈     | 0.217013889 MEGA                                                                                              |
| 每天MEGA挖礦量 | <p>18,750 MEGA<br>\*Community Liquidity Pools: 5,625 MEGA<br>\*Community Liquidity Treasury: 13,125 MEGA </p> |

### 通過減半減少分配的效果

‌減半通過減少每個區塊分配的MEGA數量來減緩MEGA通脹。請查看MEGA分配了解詳細的通貨膨脹計劃。

{% content-ref url="/pages/AwGJiaOEZOyZYi7WI1d0" %}
[分配（至2023年 8月 31日 03:00 UTC）](/zh-tw/tokenomics/mega/fen-pei-zhi-2023-nian-8-yue-31-ri-0300-utc)
{% endcontent-ref %}


# 分配（至2023年 8月 31日 03:00 UTC）

## MEGA發佈時間表

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

* **總供應量：100,000,000 MEGA**
* **初始供應量：1,000,000 MEGA**

## 初始代幣分配

為了建立最初的Megaton Finance生態系統，1,000,000 MEGA（總供應量的 1%）將用於營銷、MEGA LP 激勵和Tonstarter。 Megaton Finance將通過使用初始供應的活動確保 TON 網絡上的潛在用戶和流動性，從而創造一個穩定的交易環境。<br>

## 最終代幣分配

MEGA的最終代幣分配為100,000,000 MEGA，將按照上表分配。

## MEGA代幣的分配結構

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

表中顯示MEGA每項的分配數量、歸屬期和減半期。


# 分配（当前）

## MEGA發佈時間表

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

* **總供應量：100,000,000 MEGA**
* **初始供應量：1,000,000 MEGA**

## 初始代幣分配

為了建立最初的Megaton Finance生態系統，1,000,000 MEGA（總供應量的 1%）將用於營銷、MEGA LP 激勵和Tonstarter。 Megaton Finance將通過使用初始供應的活動確保 TON 網絡上的潛在用戶和流動性，從而創造一個穩定的交易環境。<br>

## 最終代幣分配

MEGA的最終代幣分配為100,000,000 MEGA，將按照上表分配。

## MEGA代幣的分配結構

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

表中顯示MEGA每項的分配數量、歸屬期和減半期。


# 創建錢包

要使用Megaton Finance，您必須首先創建您的加密錢包。在DeFi協議中，個人加密錢包就是您的賬戶。你可以通過將你的錢包連接到Megaton Finance來進行存款、取款和掉期等交易。Megaton Finance基於 TON網絡，可以使用下面支持TON代幣的錢包接入服務。

* ### TON錢包指南

  Megaton Finance支持TON網絡的錢包有TON Wallet、Tonhub、Tonkeeper (TBD)。請參閱用戶指南了解更多詳情。

{% file src="/files/eI57BahmvkLD7HqdjimA" %}




---

[Next Page](/llms-full.txt/1)

