Skip to content

Commit 402de9c

Browse files
committed
mainnnet config
1 parent 57a6258 commit 402de9c

File tree

5 files changed

+32
-51
lines changed

5 files changed

+32
-51
lines changed

src/Components/Pages/TransferPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const useStyles = makeStyles(({ constants, palette }: ITheme) =>
2828
root: {
2929
padding: constants.generalUnit * 6,
3030
position: "relative",
31-
minHeight: '730px',
31+
minHeight: '800px',
3232
},
3333
walletArea: {
3434
display: "flex",

src/Modules/AboutDrawer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ const AboutDrawer: React.FC<IAboutDrawerProps> = ({
4646
<Typography component="p" variant="h5">
4747
The AMPL Bridge is a n-way <a href="https://en.wikipedia.org/wiki/Proof_of_authority" className={classes.link} target="_blank">POA</a>
4848
&nbsp;blockchain bridge which allows AMPL to be
49-
transfer between any two connected blockchains.
49+
transferred between any two connected blockchains.
5050
<br /><br /><br />
5151

5252
This bridge currently supports transfers between Ethereum and BSC and is validated by

src/Modules/PreflightModalTransfer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ const PreflightModalTransfer: React.FC<IPreflightModalTransferProps> = ({
105105
</li>
106106
<li>
107107
<Typography variant="h5">
108-
The transaction fee may be higher than expected.
108+
The bridge is not run by Fragments or the Ampleforth foundation.
109109
</Typography>
110110
</li>
111111
</ul>

src/chainbridgeConfig.ts

Lines changed: 29 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import AMPLIcon from "./media/ample-logo/logo.png";
2-
2+
import AMPL_BSC_MP_Icon from "./media/ample-logo/ampl_bsc_mp.png";
33

44
export type TokenConfig = {
55
address: string;
@@ -36,66 +36,47 @@ export const chainbridgeConfig: ChainbridgeConfig = {
3636
chains: [
3737
{
3838
chainId: 1,
39-
networkId: 3,
40-
name: "Ropsten",
41-
bridgeAddress: "0x6fC272eD9B6B947a7858DF30D7DD2D8173306EA8",
42-
genericHandlerAddress: "0xBAb8402E278F45d51BB342525716611fE1090027",
43-
controller: "0x7F93DE6733602f4606986389e4fbaC2010904aCE",
44-
approvalContract: "0xa0DF1131eFA62E487dF180Feb9ecF1cdE7aad632",
45-
rpcUrl: "https://eth-ropsten.alchemyapi.io/v2/x2jT9wfMVj9S3IjBoniQXNAF14Yaktg6",
39+
networkId: 1,
40+
name: "Ethereum",
41+
bridgeAddress: "0xbD515E41DF155112Cc883f8981CB763a286261be",
42+
genericHandlerAddress: "0x517828d2549cEC09386f89a67E92825E26740240",
43+
controller: "0x1B228a749077b8e307C5856cE62Ef35d96Dca2ea",
44+
approvalContract: "0x805c7Ecba41f9321bb098ec1cf31d86d9407de2F",
45+
rpcUrl:
46+
"https://eth-mainnet.alchemyapi.io/v2/x2jT9wfMVj9S3IjBoniQXNAF14Yaktg6",
4647
type: "Ethereum",
47-
blockExplorer: "https://ropsten.etherscan.io/tx",
48-
nativeTokenSymbol: "RETH",
49-
deployedBlockNumber: 10126635,
48+
blockExplorer: "https://etherscan.io/tx",
49+
nativeTokenSymbol: "ETH",
50+
deployedBlockNumber: 12345342,
5051
tokens: [
5152
{
52-
address: "0xD0E9335817f7B7c2567b784FD55b203697177E2A",
53+
address: "0xD46bA6D942050d489DBd938a2C909A5d5039A161",
5354
imageUri: AMPLIcon,
5455
resourceId:
5556
"0x1f3eb8ee12ce38ffa19fc4c635621ad2c9a0bd609def9ddce77680e33bc2224b",
56-
}
57+
},
5758
],
58-
}, {
59+
},
60+
{
5961
chainId: 4,
60-
networkId: 97,
61-
name: "BSC Testnet",
62-
bridgeAddress: "0xcCeA086cbb7DA6bA5eb004fAd435F9b7712bA80e",
63-
genericHandlerAddress: "0x56f03E0B73fa6Ff6704CA399CE88282EDcF9FeEA",
64-
controller: "0x22881e9feb1746109227397cAe6Cd86859b9C43e",
65-
approvalContract: "0x22881e9feb1746109227397cAe6Cd86859b9C43e",
66-
rpcUrl: "https://data-seed-prebsc-2-s3.binance.org:8545",
62+
networkId: 56,
63+
name: "BSC",
64+
bridgeAddress: "0x223fafbc2cA53A75CcfF5B2369128d3d1a828F36",
65+
genericHandlerAddress: "0x83Fc24eB56121FA2A05e0b5170E7310738425839",
66+
controller: "0x17F084dFF8a71e38521BCBD3Da871753Dc67aa81",
67+
approvalContract: "0x17F084dFF8a71e38521BCBD3Da871753Dc67aa81",
68+
rpcUrl: "https://bsc-dataseed.binance.org/",
6769
type: "Ethereum",
68-
blockExplorer: "https://testnet.bscscan.io/tx",
69-
nativeTokenSymbol: "TBNB",
70-
deployedBlockNumber: 8356136,
70+
blockExplorer: "https://bscscan.com/tx",
71+
nativeTokenSymbol: "BNB",
72+
deployedBlockNumber: 7028782,
7173
tokens: [
7274
{
73-
address: "0x75c00CF8B6C932AaD2E20fa238a57D389aE3842d",
74-
imageUri: AMPLIcon,
75-
resourceId:
76-
"0x1f3eb8ee12ce38ffa19fc4c635621ad2c9a0bd609def9ddce77680e33bc2224b",
77-
}
78-
],
79-
}, {
80-
chainId: 2,
81-
networkId: 101,
82-
name: "Meter Testnet",
83-
bridgeAddress: "0x4E68f5f704878e69AF9d58D5616168d69f1D03e4",
84-
genericHandlerAddress: "0x56f03E0B73fa6Ff6704CA399CE88282EDcF9FeEA",
85-
controller: "0x073ebB139F18d78c2671a316336bB8e1B52e60EA",
86-
approvalContract: "0x073ebB139F18d78c2671a316336bB8e1B52e60EA",
87-
rpcUrl: "https://rpctest.meter.io",
88-
type: "Ethereum",
89-
blockExplorer: "https://scan-warringstakes.meter.io/tx",
90-
nativeTokenSymbol: "TMTR",
91-
deployedBlockNumber: 1092980,
92-
tokens: [
93-
{
94-
address: "0xd259ED8E7ACa1f5eA16fD58a860c09Af335b8198",
95-
imageUri: AMPLIcon,
75+
address: "0xDB021b1B247fe2F1fa57e0A87C748Cc1E321F07F",
76+
imageUri: AMPL_BSC_MP_Icon,
9677
resourceId:
9778
"0x1f3eb8ee12ce38ffa19fc4c635621ad2c9a0bd609def9ddce77680e33bc2224b",
98-
}
79+
},
9980
],
10081
},
10182
],
3.82 KB
Loading

0 commit comments

Comments
 (0)