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

Wording changes in the erc677-to-erc677 bridge on top of AMB deployment scripts #321

Merged
merged 2 commits into from
Nov 28, 2019

Conversation

akolotov
Copy link
Collaborator

@akolotov akolotov commented Nov 28, 2019

The changes are to reflect AMB specific.

Now the output of the deployment script looks like following:

Bridge contract deployment started
Bridge mode: AMB_ERC_TO_ERC

[Home] Deploying Bridge Mediator storage

pending txHash 0x727b905d3c6f12df4fadc7f1add2a93ec3ba53a7259875f739953c202799b584
[Home] Bridge Mediator Storage:  0x8D2Aa2C0527a9DD42B6b142dFe678f329Fa7dfbE

[Home] Deploying Bridge Mediator implementation

pending txHash 0x2e556c09c4ea31ea90bed9374c53d6334d18f27d5866c005d8743b91cd9d7df7
[Home] Bridge Mediator Implementation:  0x1c1Ab9debf161fB006BD313A69BD41F7EF1706A9

[Home] Hooking up Mediator storage to Mediator implementation
pending txHash 0x6f372c902ef44da37d88ed929f50fb45ee4058f4aeb530e935693821c546db79

[Home] deploying Bridgeable token
pending txHash 0xef15e188b019875fa47b826d0a3cba8a65bb04eba2d9aa8b6bcae340444c8e1f
[Home] Bridgeable Token:  0xddBb9DC6f05249d3D98c16A2aC52C4b529FFee26

[Home] Set Bridge Mediator contract on Bridgeable token
pending txHash 0xf714b61bc9ce8cd683978ef3a5a08028c362e43002230ad27db2bc147ec38e1f
[Home] Transferring ownership of Bridgeable token to Bridge Mediator contract
pending txHash 0x7f921fc99ca13edfbba99eba9311da826dc7db079d9c90f129e0939d46bab455

Home part of ERC677-to-ERC677 bridge deployed


[Foreign] Deploying Bridge Mediator storage

pending txHash 0x0c267f370dbb06c46598d37dac5046481ed00b5cc79e881af104d31c7298110c
[Foreign] Bridge Mediator Storage:  0xdC6FeFBD718AAF8Ee6024c9E4E6fafbcEbd85809

[Foreign] Deploying Bridge Mediator implementation

pending txHash 0xace1aab3bbb630ba1eb1d42dfe5a7673d82bf4e8d25700566ffa7940d6a715fb
[Foreign] Bridge Mediator Implementation:  0x22Bb67bFcE72edEB02C8DaB05EEC7ee05a8C7055

[Foreign] Hooking up Mediator storage to Mediator implementation
pending txHash 0x6d190ba8f639e3a301ed7fb2634305db7284c2c4c3eb1fe079a46d6e4f7d3fda

Foreign part of ERC677-to-ERC677 bridge deployed


[Home] Initializing Bridge Mediator with following parameters:


    AMB contract: 0xFe446bEF1DbF7AFE24E81e05BC8B271C1BA9a560, 
    Mediator contract: 0xdC6FeFBD718AAF8Ee6024c9E4E6fafbcEbd85809, 
    Token contract: 0xddBb9DC6f05249d3D98c16A2aC52C4b529FFee26,
    DAILY_LIMIT : 30000000000000000000000000 which is 30000000 in eth,
    MAX_AMOUNT_PER_TX: 1500000000000000000000000 which is 1500000 in eth,
    MIN_AMOUNT_PER_TX: 500000000000000000 which is 0.5 in eth,
    EXECUTION_DAILY_LIMIT : 15000000000000000000000000 which is 15000000 in eth,
    EXECUTION_MAX_AMOUNT_PER_TX: 750000000000000000000000 which is 750000 in eth,
    FOREIGN_TO_HOME_DECIMAL_SHIFT: 0,
    MEDIATOR_REQUEST_GAS_LIMIT : 3000000, 
    OWNER: 0x5d1486951B03A4a8AAdbd9956709041B48003Ea0
  
pending txHash 0x166e06255999752e146f0ac24aab7d855f99ce80baa43ccca7e8c71493bf993a
Transferring bridge mediator proxy ownership to upgradeability admin
pending txHash 0x0295d5a85ca6acf6c0f0833e2a5056d790488bcecdacce4d066891a738980f69

[Foreign] Initializing Bridge Mediator with following parameters:


    AMB contract: 0xFe446bEF1DbF7AFE24E81e05BC8B271C1BA9a560, 
    Mediator contract: 0x8D2Aa2C0527a9DD42B6b142dFe678f329Fa7dfbE, 
    Token contract: 0x1e402513B7305F758476409da8048fd5b045C0AA,
    DAILY_LIMIT : 15000000000000000000000000 which is 15000000 in eth,
    MAX_AMOUNT_PER_TX: 750000000000000000000000 which is 750000 in eth,
    MIN_AMOUNT_PER_TX: 500000000000000000 which is 0.5 in eth,
    EXECUTION_DAILY_LIMIT : 30000000000000000000000000 which is 30000000 in eth,
    EXECUTION_MAX_AMOUNT_PER_TX: 1500000000000000000000000 which is 1500000 in eth,
    FOREIGN_TO_HOME_DECIMAL_SHIFT: 0,
    MEDIATOR_REQUEST_GAS_LIMIT : 3000000, 
    OWNER: 0x5d1486951B03A4a8AAdbd9956709041B48003Ea0
  
pending txHash 0x183255efc7e8cc382a830b14a5f2bb4bd380ec043f39a8c93a2c62452d934abb
Transferring bridge mediator proxy ownership to upgradeability admin
pending txHash 0xdacb34bfab180c343743ad3b933afe22ba1a19a1119bacdd080d71b3b27ec761

Deployment has been completed.


[   Home  ] Bridge Mediator: 0x8D2Aa2C0527a9DD42B6b142dFe678f329Fa7dfbE
[   Home  ] ERC677 Bridgeable Token: 0xddBb9DC6f05249d3D98c16A2aC52C4b529FFee26
[ Foreign ] Bridge Mediator: 0xdC6FeFBD718AAF8Ee6024c9E4E6fafbcEbd85809
[ Foreign ] ERC677 Token: 0x1e402513B7305F758476409da8048fd5b045C0AA
Contracts Deployment have been saved to `bridgeDeploymentResults.json`
{
    "homeBridge": {
        "homeBridgeMediator": {
            "address": "0x8D2Aa2C0527a9DD42B6b142dFe678f329Fa7dfbE"
        },
        "bridgeableErc677": {
            "address": "0xddBb9DC6f05249d3D98c16A2aC52C4b529FFee26"
        }
    },
    "foreignBridge": {
        "foreignBridgeMediator": {
            "address": "0xdC6FeFBD718AAF8Ee6024c9E4E6fafbcEbd85809"
        }
    }
}

@akolotov akolotov changed the base branch from master to develop November 28, 2019 06:41
@akolotov akolotov merged commit 6fb7e59 into develop Nov 28, 2019
@akolotov akolotov deleted the tokenbridge-for-amb-deploy branch November 28, 2019 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants