Skip to content

Instantly share code, notes, and snippets.

@crisog
Created September 18, 2020 10:34
Show Gist options
  • Save crisog/f7126c6da231b2fe4fa956053f7ba740 to your computer and use it in GitHub Desktop.
Save crisog/f7126c6da231b2fe4fa956053f7ba740 to your computer and use it in GitHub Desktop.
AMB Contracts - IDChain <-> Mainnet
Bridge mode: ARBITRARY_MESSAGE
========================================
Deploying Arbitrary Message Bridge at Home
========================================
deploying storage for home validators
pending txHash 0x25de1b0afaf8672a30d3c43109057fc79f4a83c6920d86829aa7b15ae8cd688b
[Home] BridgeValidators Storage: 0x965769C9CeA8A7667246058504dcdcDb1E2975A5
deploying implementation for home validators
pending txHash 0x9fea2101b1363085cff5f6bc89c31401bc32d785ba9be0f2a79b9ac7b5309708
[Home] BridgeValidators Implementation: 0xB435ea5dD911ED3697b995ACf383c3A009e64bA2
hooking up eternal storage to BridgeValidators
pending txHash 0x8e1fa3142f8e32fd205e68f7d0c5d6686317c2ee175e7df40f3d74957fb6d526
initializing Home Bridge Validators with following parameters:
REQUIRED_NUMBER_OF_VALIDATORS: 2, VALIDATORS: 0xdc0046b52e2e38aee2271b6171ebb65ccd337518,0xB02648091da9e0AAcdd9F5cB9080C4893cad6C4E,0x70C58b28F5E39da89bEe0e6E8623e3faF51f0Ed1,0x02d034f8bD48E54eE9E9ffe10ff7EC17D42a0FCC,0x52e5bcfa46393894afcfe6cd98a6761fa692c594,0x79af508c9698076bc1c2dfa224f7829e9768b11e, VALIDATORS_OWNER: 0x70C58b28F5E39da89bEe0e6E8623e3faF51f0Ed1
pending txHash 0xefdc2a56b44d616a6cb98f72178a86d4814fc0d3bf1fe19c5551ef1b7ad74019
transferring proxy ownership to multisig for Validators Proxy contract
pending txHash 0x9fddb37ed90d7e2780fdebe8135809629ba2b2e120e6453a61e5475fc91f2a36
deploying HomeAMBridge storage
pending txHash 0x58b9ebed8be7e88aeb6c6b9cae9129e447c10d0af2e74d5f16f0917ad8b3371c
[Home] HomeAMBridge Storage: 0x98e4b879f07c1BEac8592216c903fb33e828C214
deploying HomeAMBridge implementation
pending txHash 0xc52324e483b40754062d57bf4367bae0a565e2ae858349b5cfff8dd090837aef
[Home] HomeAMBridge Implementation: 0x9fb45846d8E41818b31aD92671F354B1DD900013
hooking up HomeAMBridge storage to HomeAMBridge implementation
pending txHash 0xe43d871ad9a29d952971b7a79ca68e51da78a6225246cbecae56e0e0544e906f
initializing Home Bridge with following parameters:
SOURCE_CHAIN_ID: 74, DESTINATION_CHAIN_ID: 1, Home Validators: 0x965769C9CeA8A7667246058504dcdcDb1E2975A5,
HOME_MAX_AMOUNT_PER_TX (gas limit per call): 2000000,
HOME_GAS_PRICE: 10000000000, HOME_REQUIRED_BLOCK_CONFIRMATIONS : 4
pending txHash 0x293071b70b5f07e09c46e39f28381eabad17f65e12e62efe20c766173314b562
transferring proxy ownership to multisig for Home bridge Proxy contract
pending txHash 0xcd80999cf7952acb225bd1d9e2255eb4d9bd0dee367c42044c54a2f6e8b2adca
Deployment of Arbitrary Message Bridge at Home completed
========================================
Deploying Arbitrary Message Bridge at Foreign
========================================
deploying storage for foreign validators
pending txHash 0xba702094428a607feb2c2d66cb297cef7f75a3f2b211379f7eb1b6dfc4a5d661
0xefeedba3047ed72eb3ccbe4d097bb319ffedd78a verified in etherscan
[Foreign] BridgeValidators Storage: 0xEfeEdba3047ED72eB3ccBe4D097bb319FFeDD78a
deploying implementation for foreign validators
pending txHash 0x60818098597f7ecdc84f7b9e20fd85d9b1b3b968de3f1a4e2a743537faabf80b
0x2db45ac597614be5adb75c26e0f427448856278a verified in etherscan
[Foreign] BridgeValidators Implementation: 0x2dB45AC597614BE5AdB75c26E0f427448856278a
hooking up eternal storage to BridgeValidators
pending txHash 0x641ce2eeca7d56f7e1d21a9620f9b4bae6a2b4e1bf653a18324d751c45192e4c
initializing Foreign Bridge Validators with following parameters:
REQUIRED_NUMBER_OF_VALIDATORS: 2, VALIDATORS: 0xdc0046b52e2e38aee2271b6171ebb65ccd337518,0xB02648091da9e0AAcdd9F5cB9080C4893cad6C4E,0x70C58b28F5E39da89bEe0e6E8623e3faF51f0Ed1,0x02d034f8bD48E54eE9E9ffe10ff7EC17D42a0FCC,0x52e5bcfa46393894afcfe6cd98a6761fa692c594,0x79af508c9698076bc1c2dfa224f7829e9768b11e, VALIDATORS_OWNER: 0x70C58b28F5E39da89bEe0e6E8623e3faF51f0Ed1
pending txHash 0x532e028c00547bb9d8f798890f0ab1f003c0163f791fc8121db20d047bd875c3
Transferring ownership of ValidatorsProxy
pending txHash 0xdbbafc6fc3cc68686ee8188feffe255a17c81eb063867f11bf0e79528236bfc2
deploying ForeignAMBridge storage
pending txHash 0x93473b01fc2855ae7d0222a23c24bc67bd5e122464d2bce1d12dff1aa268dcd2
0x33d136c1501709ee020d7a8ca56d44dacb15e227 verified in etherscan
[Foreign] ForeignAMBridge Storage: 0x33d136C1501709Ee020D7A8CA56D44DAcb15e227
deploying ForeignAMBridge implementation
pending txHash 0x73c38a832ab622bb1b68d3955a1b3b4eb9cb1e37073eea5efc013c175c35ac0a
0x8a336a0acf05700185004c7f42101fc18c365d57 verified in etherscan
[Foreign] ForeignAMBridge Implementation: 0x8a336a0ACf05700185004C7F42101Fc18c365D57
hooking up ForeignAMBridge storage to ForeignAMBridge implementation
pending txHash 0xb95b3eb0c8955c6c9afcf00abd490db454617fb38b1a438fd832ba9fda965228
initializing Foreign Bridge with following parameters:
initializing Foreign Bridge with following parameters:
SOURCE_CHAIN_ID: 1, DESTINATION_CHAIN_ID: 74, Foreign Validators: 0xEfeEdba3047ED72eB3ccBe4D097bb319FFeDD78a,
FOREIGN_MAX_AMOUNT_PER_TX (gas limit per call): 2000000,
FOREIGN_GAS_PRICE: 10000000000, FOREIGN_REQUIRED_BLOCK_CONFIRMATIONS : 8
pending txHash 0x77a71b797ad60d57f71bae2d25c1fa5b52b3e92ab738cd78e54a8cbdbdf95cf0
transferring proxy ownership to multisig for Foreign bridge Proxy contract
pending txHash 0xb6ecce3081359ace8ab387d4b06d22f89a5f46ecb0f957cfe489c880d482a62a
Deployment of Arbitrary Message Bridge at Foreign completed
Deployment has been completed.
[ Home ] HomeBridge: 0x98e4b879f07c1BEac8592216c903fb33e828C214 at block 2377195
[ Foreign ] ForeignBridge: 0x33d136C1501709Ee020D7A8CA56D44DAcb15e227 at block 10885620
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment