deploy: aug-23 dev 1629741887167

buddies-main-deployment
James Prestwich 3 years ago
parent 567631e510
commit 59eed957da
No known key found for this signature in database
GPG Key ID: 7CC174C250AD83AD
  1. 40
      rust/config/1629741887167/alfajores_config.json
  2. 22
      rust/config/1629741887167/alfajores_contracts.json
  3. 80
      rust/config/1629741887167/alfajores_verification.json
  4. 12
      rust/config/1629741887167/bridge/1629742086162/alfajores_contracts.json
  5. 46
      rust/config/1629741887167/bridge/1629742086162/alfajores_verification.json
  6. 13
      rust/config/1629741887167/bridge/1629742086162/kovan_contracts.json
  7. 54
      rust/config/1629741887167/bridge/1629742086162/kovan_verification.json
  8. 8
      rust/config/1629741887167/kathy-partial.json
  9. 40
      rust/config/1629741887167/kovan_config.json
  10. 22
      rust/config/1629741887167/kovan_contracts.json
  11. 80
      rust/config/1629741887167/kovan_verification.json
  12. 3
      rust/config/1629741887167/processor-partial.json
  13. 3
      rust/config/1629741887167/relayer-partial.json
  14. 8
      rust/config/1629741887167/updater-partial.json
  15. 33
      rust/config/1629741887167/watcher-partial.json
  16. 10
      scripts/deploy-contracts.sh
  17. 3
      scripts/deploy-dev.sh
  18. 3
      scripts/deploy-staging.sh
  19. 2
      typescript/optics-deploy/src/core/index.ts

@ -0,0 +1,40 @@
{
"environment": "dev",
"signers": {
"alfajores": {
"key": "",
"type": "hexKey"
},
"kovan": {
"key": "",
"type": "hexKey"
}
},
"replicas": {
"kovan": {
"address": "0x0fdAA4840360310b0b3Fb666354d3fCA1Ad341E5",
"domain": "3000",
"name": "kovan",
"rpcStyle": "ethereum",
"connection": {
"type": "http",
"url": "https://kovan.infura.io/v3/5c456d7844fa40a683e934df60534c60"
}
}
},
"home": {
"address": "0xbd5FC56dEdfE10Ef10B81c7e5F0473A19345eBB0",
"domain": "1000",
"name": "alfajores",
"rpcStyle": "ethereum",
"connection": {
"type": "http",
"url": "https://alfajores-forno.celo-testnet.org"
}
},
"tracing": {
"level": "debug",
"fmt": "json"
},
"db": "db_path"
}

@ -0,0 +1,22 @@
{
"upgradeBeaconController": "0xd8130e47558D5CB1129016a5f751170113B94c2A",
"xAppConnectionManager": "0xC2E198AeA38785c20990436CAAE634A264062258",
"updaterManager": "0xA75e94E280e61F7D1Eb1D7A08330E10402022C04",
"governance": {
"implementation": "0xe7d5AaA7174C1c936c3e98559F58ba1156A20E3a",
"proxy": "0xD7899C37Cf89D1E3DF53A47390A9d4f5D2868D02",
"beacon": "0x6a27B22153Bb4303889eB58f5cC13CB8C68728B3"
},
"home": {
"implementation": "0x1Fbf77427c48E9c8505a5eb2cFd431ECf77dBd97",
"proxy": "0xbd5FC56dEdfE10Ef10B81c7e5F0473A19345eBB0",
"beacon": "0xfA9262a2F3e7914EF132e32073C6f6fF0090a2dC"
},
"replicas": {
"3000": {
"implementation": "0xF47fbF9bE285981565c270C54AEab7838b7E138F",
"proxy": "0x32a902907d3daba5297E7c21678B74a2d5FD312c",
"beacon": "0x348443e0666b5c1aeCce47F5fd2A53D52635f4E0"
}
}
}

@ -0,0 +1,80 @@
[
{
"name": "UpgradeBeaconController",
"address": "0xd8130e47558D5CB1129016a5f751170113B94c2A",
"constructorArguments": []
},
{
"name": "Contract Implementation",
"address": "0x1Fbf77427c48E9c8505a5eb2cFd431ECf77dBd97",
"constructorArguments": [
1000
]
},
{
"name": "Contract UpgradeBeacon",
"address": "0xfA9262a2F3e7914EF132e32073C6f6fF0090a2dC",
"constructorArguments": [
"0x1Fbf77427c48E9c8505a5eb2cFd431ECf77dBd97",
"0xd8130e47558D5CB1129016a5f751170113B94c2A"
]
},
{
"name": "Contract Proxy",
"address": "0xbd5FC56dEdfE10Ef10B81c7e5F0473A19345eBB0",
"constructorArguments": [
"0xfA9262a2F3e7914EF132e32073C6f6fF0090a2dC",
"0xc4d66de8000000000000000000000000a75e94e280e61f7d1eb1d7a08330e10402022c04"
],
"isProxy": true
},
{
"name": "Contract Implementation",
"address": "0xe7d5AaA7174C1c936c3e98559F58ba1156A20E3a",
"constructorArguments": [
1000,
1
]
},
{
"name": "Contract UpgradeBeacon",
"address": "0x6a27B22153Bb4303889eB58f5cC13CB8C68728B3",
"constructorArguments": [
"0xe7d5AaA7174C1c936c3e98559F58ba1156A20E3a",
"0xd8130e47558D5CB1129016a5f751170113B94c2A"
]
},
{
"name": "Contract Proxy",
"address": "0xD7899C37Cf89D1E3DF53A47390A9d4f5D2868D02",
"constructorArguments": [
"0x6a27B22153Bb4303889eB58f5cC13CB8C68728B3",
"0x485cc955000000000000000000000000c2e198aea38785c20990436caae634a26406225800000000000000000000000024f6c874f56533d9a1422e85e5c7a806ed11c036"
],
"isProxy": true
},
{
"name": "Contract Implementation",
"address": "0xF47fbF9bE285981565c270C54AEab7838b7E138F",
"constructorArguments": [
1000
]
},
{
"name": "Contract UpgradeBeacon",
"address": "0x348443e0666b5c1aeCce47F5fd2A53D52635f4E0",
"constructorArguments": [
"0xF47fbF9bE285981565c270C54AEab7838b7E138F",
"0xd8130e47558D5CB1129016a5f751170113B94c2A"
]
},
{
"name": "Contract Proxy",
"address": "0x32a902907d3daba5297E7c21678B74a2d5FD312c",
"constructorArguments": [
"0x348443e0666b5c1aeCce47F5fd2A53D52635f4E0",
"0xe7e7a7b70000000000000000000000000000000000000000000000000000000000000bb80000000000000000000000004177372fd9581ceb2367e0ce84adc5dad9df8d550000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a"
],
"isProxy": true
}
]

@ -0,0 +1,12 @@
{
"bridgeRouter": {
"implementation": "0x385F8a71a476890808Af4FA5CfbcCC5cb2ABFb07",
"proxy": "0xb549669c4590A84E63e1CFF5C5cdDb13aA1771Dd",
"beacon": "0x81d155aDD3c471503A05a0648F24817A69f37D15"
},
"bridgeToken": {
"implementation": "0x7e0CE8bFf383dedDB9DBD092278A00C0259E65aE",
"proxy": "0x82CC0a2f02112e7C7b0F63657e1Ea084bD42B82a",
"beacon": "0xC1dA8ff77daa37Cd119551D29cABAd0Ce54bE22B"
}
}

@ -0,0 +1,46 @@
[
{
"name": "Contract Implementation",
"address": "0x7e0CE8bFf383dedDB9DBD092278A00C0259E65aE",
"constructorArguments": []
},
{
"name": "Contract UpgradeBeacon",
"address": "0xC1dA8ff77daa37Cd119551D29cABAd0Ce54bE22B",
"constructorArguments": [
"0x7e0CE8bFf383dedDB9DBD092278A00C0259E65aE",
"0xd8130e47558D5CB1129016a5f751170113B94c2A"
]
},
{
"name": "Contract Proxy",
"address": "0x82CC0a2f02112e7C7b0F63657e1Ea084bD42B82a",
"constructorArguments": [
"0xC1dA8ff77daa37Cd119551D29cABAd0Ce54bE22B",
"0x"
],
"isProxy": true
},
{
"name": "Contract Implementation",
"address": "0x385F8a71a476890808Af4FA5CfbcCC5cb2ABFb07",
"constructorArguments": []
},
{
"name": "Contract UpgradeBeacon",
"address": "0x81d155aDD3c471503A05a0648F24817A69f37D15",
"constructorArguments": [
"0x385F8a71a476890808Af4FA5CfbcCC5cb2ABFb07",
"0xd8130e47558D5CB1129016a5f751170113B94c2A"
]
},
{
"name": "Contract Proxy",
"address": "0xb549669c4590A84E63e1CFF5C5cdDb13aA1771Dd",
"constructorArguments": [
"0x81d155aDD3c471503A05a0648F24817A69f37D15",
"0x485cc955000000000000000000000000c1da8ff77daa37cd119551d29cabad0ce54be22b000000000000000000000000c2e198aea38785c20990436caae634a264062258"
],
"isProxy": true
}
]

@ -0,0 +1,13 @@
{
"bridgeRouter": {
"implementation": "0xb6DF6558B18B4E9b13B9b76261dC5e49bd5e26bF",
"proxy": "0x0E29FDCE77ed09f45b0701574017F52469bF5684",
"beacon": "0xF8F844CFEf6E992bA45CF8418d142799843CE05e"
},
"bridgeToken": {
"implementation": "0x3944F3A1eB0997EE96F04aaF5f0C77cEC6316D9f",
"proxy": "0xD0659f6Ab689e5Bcf23DFBb8B7c0e5c9fe5c4f10",
"beacon": "0xFD2d48E9C7b849948d43755deAE0342EaF29721e"
},
"ethHelper": "0x579437601a82693C1ed061e7303Ee29A2E52bA70"
}

@ -0,0 +1,54 @@
[
{
"name": "Contract Implementation",
"address": "0x3944F3A1eB0997EE96F04aaF5f0C77cEC6316D9f",
"constructorArguments": []
},
{
"name": "Contract UpgradeBeacon",
"address": "0xFD2d48E9C7b849948d43755deAE0342EaF29721e",
"constructorArguments": [
"0x3944F3A1eB0997EE96F04aaF5f0C77cEC6316D9f",
"0xFe8dE5f9927dE0A0Ab54da7177Db54fCB0E3383B"
]
},
{
"name": "Contract Proxy",
"address": "0xD0659f6Ab689e5Bcf23DFBb8B7c0e5c9fe5c4f10",
"constructorArguments": [
"0xFD2d48E9C7b849948d43755deAE0342EaF29721e",
"0x"
],
"isProxy": true
},
{
"name": "Contract Implementation",
"address": "0xb6DF6558B18B4E9b13B9b76261dC5e49bd5e26bF",
"constructorArguments": []
},
{
"name": "Contract UpgradeBeacon",
"address": "0xF8F844CFEf6E992bA45CF8418d142799843CE05e",
"constructorArguments": [
"0xb6DF6558B18B4E9b13B9b76261dC5e49bd5e26bF",
"0xFe8dE5f9927dE0A0Ab54da7177Db54fCB0E3383B"
]
},
{
"name": "Contract Proxy",
"address": "0x0E29FDCE77ed09f45b0701574017F52469bF5684",
"constructorArguments": [
"0xF8F844CFEf6E992bA45CF8418d142799843CE05e",
"0x485cc955000000000000000000000000fd2d48e9c7b849948d43755deae0342eaf29721e00000000000000000000000051bbbfbc23fb4798f1d2af54e81f992b4be956e3"
],
"isProxy": true
},
{
"name": "ETH Helper",
"address": "0x579437601a82693C1ed061e7303Ee29A2E52bA70",
"constructorArguments": [
"0xd0a1e359811322d97991e03f863a0c30c2cf029c",
"0x0E29FDCE77ed09f45b0701574017F52469bF5684"
]
}
]

@ -0,0 +1,8 @@
{
"messageInterval": "100",
"chat": {
"message": "static message",
"recipient": "0xabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcd",
"type": "static"
}
}

@ -0,0 +1,40 @@
{
"environment": "dev",
"signers": {
"kovan": {
"key": "",
"type": "hexKey"
},
"alfajores": {
"key": "",
"type": "hexKey"
}
},
"replicas": {
"alfajores": {
"address": "0x32a902907d3daba5297E7c21678B74a2d5FD312c",
"domain": "1000",
"name": "alfajores",
"rpcStyle": "ethereum",
"connection": {
"type": "http",
"url": "https://alfajores-forno.celo-testnet.org"
}
}
},
"home": {
"address": "0x64caD25dce0Fbe099c447e28BEdc681b7df343B6",
"domain": "3000",
"name": "kovan",
"rpcStyle": "ethereum",
"connection": {
"type": "http",
"url": "https://kovan.infura.io/v3/5c456d7844fa40a683e934df60534c60"
}
},
"tracing": {
"level": "debug",
"fmt": "json"
},
"db": "db_path"
}

@ -0,0 +1,22 @@
{
"upgradeBeaconController": "0xFe8dE5f9927dE0A0Ab54da7177Db54fCB0E3383B",
"xAppConnectionManager": "0x51bBBfBC23fb4798F1D2aF54E81f992B4BE956e3",
"updaterManager": "0xA9A601F62143041019D2dEe7112E5525f1989fEF",
"governance": {
"implementation": "0x5a1FE19f2142fb555562DaA4E681766F23Ed91f0",
"proxy": "0xD5E50a5A704f98A09695358b9cf4002D4Ca2Ac08",
"beacon": "0x9F531285fCaB443A86aD6ce31bdbB8Ba9C9a7ED7"
},
"home": {
"implementation": "0x1a6Bd3Fc92080F621bb6c2D4E0F1770fc71B131F",
"proxy": "0x64caD25dce0Fbe099c447e28BEdc681b7df343B6",
"beacon": "0xcd076FA1846FF3C58cC2099356B42316Ca3E8Dbd"
},
"replicas": {
"1000": {
"implementation": "0xad6314Dc0149DA8759Fb73A55AFB7E2450F5F48C",
"proxy": "0x0fdAA4840360310b0b3Fb666354d3fCA1Ad341E5",
"beacon": "0x73ee17e9F62fa72881A5826f27b8bE3BaCc408F5"
}
}
}

@ -0,0 +1,80 @@
[
{
"name": "UpgradeBeaconController",
"address": "0xFe8dE5f9927dE0A0Ab54da7177Db54fCB0E3383B",
"constructorArguments": []
},
{
"name": "Contract Implementation",
"address": "0x1a6Bd3Fc92080F621bb6c2D4E0F1770fc71B131F",
"constructorArguments": [
3000
]
},
{
"name": "Contract UpgradeBeacon",
"address": "0xcd076FA1846FF3C58cC2099356B42316Ca3E8Dbd",
"constructorArguments": [
"0x1a6Bd3Fc92080F621bb6c2D4E0F1770fc71B131F",
"0xFe8dE5f9927dE0A0Ab54da7177Db54fCB0E3383B"
]
},
{
"name": "Contract Proxy",
"address": "0x64caD25dce0Fbe099c447e28BEdc681b7df343B6",
"constructorArguments": [
"0xcd076FA1846FF3C58cC2099356B42316Ca3E8Dbd",
"0xc4d66de8000000000000000000000000a9a601f62143041019d2dee7112e5525f1989fef"
],
"isProxy": true
},
{
"name": "Contract Implementation",
"address": "0x5a1FE19f2142fb555562DaA4E681766F23Ed91f0",
"constructorArguments": [
3000,
1
]
},
{
"name": "Contract UpgradeBeacon",
"address": "0x9F531285fCaB443A86aD6ce31bdbB8Ba9C9a7ED7",
"constructorArguments": [
"0x5a1FE19f2142fb555562DaA4E681766F23Ed91f0",
"0xFe8dE5f9927dE0A0Ab54da7177Db54fCB0E3383B"
]
},
{
"name": "Contract Proxy",
"address": "0xD5E50a5A704f98A09695358b9cf4002D4Ca2Ac08",
"constructorArguments": [
"0x9F531285fCaB443A86aD6ce31bdbB8Ba9C9a7ED7",
"0x485cc95500000000000000000000000051bbbfbc23fb4798f1d2af54e81f992b4be956e300000000000000000000000024f6c874f56533d9a1422e85e5c7a806ed11c036"
],
"isProxy": true
},
{
"name": "Contract Implementation",
"address": "0xad6314Dc0149DA8759Fb73A55AFB7E2450F5F48C",
"constructorArguments": [
3000
]
},
{
"name": "Contract UpgradeBeacon",
"address": "0x73ee17e9F62fa72881A5826f27b8bE3BaCc408F5",
"constructorArguments": [
"0xad6314Dc0149DA8759Fb73A55AFB7E2450F5F48C",
"0xFe8dE5f9927dE0A0Ab54da7177Db54fCB0E3383B"
]
},
{
"name": "Contract Proxy",
"address": "0x0fdAA4840360310b0b3Fb666354d3fCA1Ad341E5",
"constructorArguments": [
"0x73ee17e9F62fa72881A5826f27b8bE3BaCc408F5",
"0xe7e7a7b700000000000000000000000000000000000000000000000000000000000003e80000000000000000000000004177372fd9581ceb2367e0ce84adc5dad9df8d550000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a"
],
"isProxy": true
}
]

@ -0,0 +1,3 @@
{
"pollingInterval": "10"
}

@ -0,0 +1,3 @@
{
"pollingInterval": "10"
}

@ -0,0 +1,8 @@
{
"pollingInterval": "5",
"updatePause": "15",
"updater": {
"key": "",
"type": "hexKey"
}
}

@ -0,0 +1,33 @@
{
"pollingInterval": "100",
"watcher": {
"key": "",
"type": "hexKey"
},
"connectionManagers": [
{
"address": "0x0000000000000000000000000000000000000000",
"domain": "60",
"name": "ethereum",
"rpcStyle": "ethereum",
"config": {
"connection": {
"type": "ws",
"url": "ws://localhost:8545"
}
}
},
{
"address": "0x0000000000000000000000000000000000000000",
"domain": "61",
"name": "eth-classic",
"rpcStyle": "ethereum",
"config": {
"connection": {
"type": "ws",
"url": "ws://localhost:8545"
}
}
}
]
}

@ -0,0 +1,10 @@
#!/bin/bash
set -e
cd ./typescript/optics-deploy
npm run deploy-core
npm run deploy-bridge
cd ../../solidity/optics-core
npm run verify
cd ../optics-xapps
npm run verify

@ -0,0 +1,3 @@
#!/bin/bash
./scripts/deploy-contracts.sh

@ -0,0 +1,3 @@
#!/bin/bash
OPTICS_DEPLOY_ENVIRONMENT=staging ./scripts/deploy-contracts.sh

@ -472,7 +472,7 @@ export async function deployTwoChains(gov: CoreDeploy, non: CoreDeploy) {
console.log(`Deploy env is ${gov.config.environment}`);
console.log(`${gov.chain.name} is governing`);
console.log(`Updater for ${gov.chain.name} Home is ${gov.config.updater}`);
console.log(`Updater for ${gov.chain.name} Home is ${non.config.updater}`);
console.log(`Updater for ${non.chain.name} Home is ${non.config.updater}`);
const isTestDeploy: boolean = gov.test || non.test;
await Promise.all([deployOptics(gov), deployOptics(non)]);

Loading…
Cancel
Save