Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update erc677-to-erc677-bridge-on-top-of-amb.md #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion amb-bridge/erc677-to-erc677-bridge-on-top-of-amb.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ The steps below assume that the AMB is up and running and serves the bridge betw
14. Verify the mediator contract `0x1a2546B27293e127fF9a3d0D71A43Dd3733fa1F7` on Home side
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
14. Verify the mediator contract `0x1a2546B27293e127fF9a3d0D71A43Dd3733fa1F7` on Home side
14. Verify the mediator contract `0x1a2546B27293e127fF9a3d0D71A43Dd3733fa1F7` on Foreign side

* verify the proxy contract by `flats/EternalStorageProxy_flat.sol` \(contract name: `EternalStorageProxy`, compiler version: `v0.4.24+commit.e67f0147`, optimization is enabled, no constructor arguments\)
* go to the implementation contract from the _Read Contract_ tab
* verify the implementation contract by `flats/amb_erc677_to_erc677/ForeignAMBErc677ToErc677_flat.sol` \(contract name: `HomeAMBErc677ToErc677`, compiler version: `v0.4.24+commit.e67f0147`, optimization is enabled, no constructor arguments\)
* verify the implementation contract by `flats/amb_erc677_to_erc677/ForeignAMBErc677ToErc677_flat.sol` \(contract name: `ForeignAMBErc677ToErc677`, compiler version: `v0.4.24+commit.e67f0147`, optimization is enabled, no constructor arguments\)
15. Execute `transferAndCall` method from the token contract on the Foreign side by using NiftyWallet, MyEtherWallet or Remix. The argument `to` for the call must contain the address of the mediator contract `0x1a2546B27293e127fF9a3d0D71A43Dd3733fa1F7`. The `data` argument must be `0x`. The sender of the transaction is the account-recipient used in the mint operation. Make sure:
1. the amount of tokens must be equal or greater the `FOREIGN_MIN_AMOUNT_PER_TX` parameter used in the deployment
2. the transaction verified successfully and included into a block.
Expand Down