contracts icon indicating copy to clipboard operation
contracts copied to clipboard

_fxERC20Token in FxERC20RootTunnel constructor

Open 0xvgd opened this issue 3 years ago • 2 comments

Anybody please help what _fxERC20Token is in constructor.

https://docs.polygon.technology/docs/develop/l1-l2-communication/fx-portal#fxerc20roottunnel https://goerli.etherscan.io/address/0x3658ccFDE5e9629b0805EB06AaCFc42416850961#code#F1#L25

0xvgd avatar Apr 01 '22 17:04 0xvgd

@voyager-gold you can discover constructor arguments concatenated to the end of the deployment transaction calldata https://goerli.etherscan.io/tx/0x73b0875358e6ea974eb9ccbaf4062e20adc9b5c605872c0eebd32d08aa9dc5f6:

***
0000000000000000000000002890ba17efe978480615e330ecb65333b880928e
0000000000000000000000003d1d3e34f7fb6d26245e6640e1c50710efff15ba
000000000000000000000000dde69724aefbdb084413719fe745ab66e3b055c7

k06a avatar Aug 18 '22 13:08 k06a

I have the same question and confused. In the polygon documents they say Deploy your own ERC20 token on the root chain which means deploy my contract to goerli. But if i see the FxERC20RootTunnel constructor _fxERC20Token param is 0xDDE69724AeFBdb084413719fE745aB66e3b055C7 , which has nothing on goerli. But on mumbai testnet 0xDDE69724AeFBdb084413719fE745aB66e3b055C7 it has a contract deployed.

image

picardcapt1212 avatar Apr 17 '23 10:04 picardcapt1212