forked from harmony-one/ethhmy-bridge.frontend
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #240 from scrtlabs/staging
Staging
- Loading branch information
Showing
11 changed files
with
1,505 additions
and
478 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ import React from 'react'; | |
import { Box } from 'grommet'; | ||
import { Title } from './Base/components/Title'; | ||
import * as styles from './info-styles.styl'; | ||
import { Text } from './Base'; | ||
|
||
export const Info = ({ title }: { title: string }) => ( | ||
<Box className={styles.infoContainer} pad={{ horizontal: 'large', top: 'large' }}> | ||
|
@@ -12,87 +13,74 @@ export const Info = ({ title }: { title: string }) => ( | |
) : null} | ||
<div> | ||
<p> | ||
<b>You can use this bridge to</b> | ||
<b>The Secret Bridge has been officially deprecated. What does this mean?</b> | ||
<ul> | ||
<li>1. Swap ERC-20s, or Ethereum to Secret Tokens for transactional privacy.</li> | ||
<li>2. Lock Secret Tokens to increase anonymity guarantees of the bridge and earn SCRT rewards.</li> | ||
<li> | ||
3. Redeem tokens back to an Ethereum address | ||
<li>1. The contracts have been disabled, and the bridge is offline.</li> | ||
<li>2. All funds are safe. Tokens that support migration can be redeemed at the new {' '} | ||
<a href="https://tunnel.scrt.network" target="_blank" rel="noreferrer">Secret Tunnel</a>. | ||
</li> | ||
<ul> | ||
These tokens are: | ||
<br /> | ||
Ethereum: USDT, USDC, ETH, DAI, WBTC | ||
<br /> | ||
Currently supported tokens: ETH, OCEAN, YFI, UNI, TUSD, SNX, MKR, DAI, BAND, LINK, AAVE, COMP, KNC, USDT, | ||
WBTC and BAC. | ||
BSC: BNB | ||
</ul> | ||
<li> | ||
3. Tokens that are not supported in the Secret Tunnel are available via a manual claim process. Any unclaimed | ||
funds are kept in cold storage and can be claimed at any time. | ||
</li> | ||
<li> | ||
4. WSCRT migration to axlSCRT will be supported in the near future. | ||
</li> | ||
</ul> | ||
</p> | ||
<p> | ||
Users need to connect their Ethereum wallet and Keplr Wallet (Secret Network) in order to use the bridge. | ||
Download Keplr Wallet chrome extension{' '} | ||
<a | ||
href="https://chrome.google.com/webstore/detail/keplr/dmkamcknogkgcdfhhbddcghachkejeap?hl=en" | ||
target="_blank" | ||
rel="noreferrer" | ||
> | ||
using this link | ||
</a>{' '} | ||
. | ||
</p> | ||
|
||
<p> | ||
<b>Fees</b> | ||
<br /> | ||
The total cost of using the bridge (ETH→secretETH→ETH) is about 500K gas.{' '} | ||
<b>There will also be an airdrop of SCRT to help users pay TX fees on Secret Network.</b> | ||
<b>Help, my tokens aren't in the list!</b> | ||
<ul> | ||
<li> | ||
● Locking assets on Ethereum <br /> | ||
Users will pay gas on ETH when assets are being locked on Ethereum to mint secretTokens. Because of | ||
volatility of gas prices on Ethereum, the swap transaction fee will be shown before the transaction is | ||
approved by the user. | ||
If you have assets that do not support migration, please reach out to the Secret Bridge team. We will assist | ||
in the manual claim process. Your funds will be kept in cold storage until you claim them. Contact us at [email protected] if you wish to migrate legacy tokens. | ||
</li> | ||
<li> | ||
● Redeeming assets from Secret Network <br /> | ||
Users will pay SCRT gas, and a fee of about 500K gas, in the denomination that is being withdrawn to cover | ||
the multisig transaction costs. As a result, users will redeem their tokens minus the multisig transaction | ||
cost on their Ethereum address. | ||
If you have any questions, please reach out to the Secret Network team | ||
on the <a href="https://chat.scrt.network/" target="_blank" rel="noreferrer">Secret Network Discord server</a>. | ||
</li> | ||
</ul> | ||
</p> | ||
|
||
<p> | ||
<b>Viewing keys</b> | ||
<b>This site will still be available</b> | ||
<br /> | ||
Viewing key is a new concept introduced by Secret Network given the encrypted nature of secret contracts. Secret | ||
Tokens are privacy tokens and in order to view secret token balances users need to create viewing keys for each | ||
asset. All Ethereum assets minted on Secret Network are privacy tokens and require viewing keys to view | ||
balances. Bridge mining rewards are distributed in secretSCRT, which is the a privacy token for SCRT. Uses will | ||
need to generate viewing keys for secretSCRT to view their reward balances in the Earn page. | ||
</p> | ||
While the bridge itself is deprecated, this page will remain available for those that may have funds remaining in | ||
the earn pools. The bridge will not be available for new transactions, but you can still access the earn pools. | ||
|
||
<b>DEPOSITING OR SENDING FUNDS TO BRIDGE CONTRACTS OR EARN POOLS MAY RESULT IN LOSS OF FUNDS AND SHOULD NOT BE DONE</b> | ||
</p> | ||
<p> | ||
<b>Issues</b> | ||
<b>Support</b> | ||
<br /> | ||
Report any issues in the <strong>#🌉bridge-support</strong> channel on the{' '} | ||
If you have any questions, reach out to our <strong>#open-a-ticket</strong> channel on the{' '} | ||
<a href="https://chat.scrt.network/" target="_blank" rel="noreferrer"> | ||
Secret Network Discord server | ||
</a>{' '} | ||
with one or more of the following information: | ||
<ul> | ||
<li> | ||
1. Transaction id, e.g., <span>7fa14f19-219f8220-1f209e61-8911e539</span>. Every bridge operation is | ||
associated with a unique transaction id, which is available in your webpage URL. If you didn't store the | ||
transaction id, it is okay, follow 2) or 3). | ||
</li> | ||
<li>2. Your transaction hashes on Ethereum or Secret Network.</li> | ||
<li> | ||
3. Your <span>ETH</span> or <span>Secret</span> account address. | ||
</li> | ||
</ul> | ||
</p> | ||
<p> | ||
<b>Disclaimer</b> | ||
<br /> | ||
Use at your own risk. We take no responsibilities or any liability for any claim, damages or other liabilities | ||
that may arise from use of this software. | ||
<b>DISCLAIMER</b> | ||
<p> | ||
<Text size={"xxsmall"}> | ||
SCRT LABS IS NOT UNDER ANY LEGAL, CONTRACTUAL OR OTHER OBLIGATION TO | ||
HOLD, TRANSFER, KEEP SAFE, REIMBURSE OR COMPENSATE FOR ANY DIGITAL ASSET | ||
REMAINING ON THE BRIDGE. ANY DIGITAL ASSET OWNERS WHO HAVE NOT YET REMOVED THEIR ASSETS | ||
FROM THE BRIDGE DESPITE THE REPEATED NOTIFICATIONS, ARE SOLELY LIABLE TO ANY DAMAGE OR | ||
LOSS THAT MAY BE INCURRED. IN NO EVENT SHALL WE, OUR AFFILIATES, OR OUR RESPECTIVE DIRECTORS, | ||
OFFICERS, EMPLOYEES, AGENTS, OR CONTRACTORS, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
CONSEQUENTIAL, SPECIAL, EXEMPLARY, OR PUNITIVE DAMAGES, INCLUDING, WITHOUT LIMITATION, | ||
DAMAGES FOR LOSS OF PROFITS, LOSS OF TOKENS, OR INTERRUPTION OF SERVICE, | ||
ARISING OUT OF OR IN CONNECTION WITH THE USE OR INABILITY TO USE THE WEBSITE, | ||
BRIDGE, OR ANY OTHER RELATED SERVICE. | ||
</Text> | ||
</p> | ||
</p> | ||
</div> | ||
</Box> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.