Deploy and verify testquerysender (#1694)

pull/1730/head
Trevor Porter 2 years ago committed by GitHub
parent 8b4dd4ac06
commit ba0cfaa9bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 26
      typescript/infra/config/environments/mainnet2/testquerysender/addresses.json
  2. 66
      typescript/infra/config/environments/mainnet2/testquerysender/verification.json
  3. 26
      typescript/infra/config/environments/testnet3/testquerysender/addresses.json
  4. 66
      typescript/infra/config/environments/testnet3/testquerysender/verification.json
  5. 2
      typescript/infra/scripts/testcontracts/deploy-testquerysender.ts
  6. 5
      typescript/infra/scripts/verify.ts

@ -0,0 +1,26 @@
{
"celo": {
"TestQuerySender": "0x8566F965f613cB47A5Bd59879d07186122590895"
},
"bsc": {
"TestQuerySender": "0x8566F965f613cB47A5Bd59879d07186122590895"
},
"avalanche": {
"TestQuerySender": "0x8566F965f613cB47A5Bd59879d07186122590895"
},
"polygon": {
"TestQuerySender": "0x8566F965f613cB47A5Bd59879d07186122590895"
},
"arbitrum": {
"TestQuerySender": "0x8566F965f613cB47A5Bd59879d07186122590895"
},
"optimism": {
"TestQuerySender": "0x8566F965f613cB47A5Bd59879d07186122590895"
},
"ethereum": {
"TestQuerySender": "0x8566F965f613cB47A5Bd59879d07186122590895"
},
"moonbeam": {
"TestQuerySender": "0x8566F965f613cB47A5Bd59879d07186122590895"
}
}

@ -0,0 +1,66 @@
{
"celo": [
{
"name": "TestQuerySender",
"address": "0x8566F965f613cB47A5Bd59879d07186122590895",
"isProxy": false,
"constructorArguments": "0x"
}
],
"bsc": [
{
"name": "TestQuerySender",
"address": "0x8566F965f613cB47A5Bd59879d07186122590895",
"isProxy": false,
"constructorArguments": "0x"
}
],
"avalanche": [
{
"name": "TestQuerySender",
"address": "0x8566F965f613cB47A5Bd59879d07186122590895",
"isProxy": false,
"constructorArguments": "0x"
}
],
"polygon": [
{
"name": "TestQuerySender",
"address": "0x8566F965f613cB47A5Bd59879d07186122590895",
"isProxy": false,
"constructorArguments": "0x"
}
],
"arbitrum": [
{
"name": "TestQuerySender",
"address": "0x8566F965f613cB47A5Bd59879d07186122590895",
"isProxy": false,
"constructorArguments": "0x"
}
],
"optimism": [
{
"name": "TestQuerySender",
"address": "0x8566F965f613cB47A5Bd59879d07186122590895",
"isProxy": false,
"constructorArguments": "0x"
}
],
"ethereum": [
{
"name": "TestQuerySender",
"address": "0x8566F965f613cB47A5Bd59879d07186122590895",
"isProxy": false,
"constructorArguments": "0x"
}
],
"moonbeam": [
{
"name": "TestQuerySender",
"address": "0x8566F965f613cB47A5Bd59879d07186122590895",
"isProxy": false,
"constructorArguments": "0x"
}
]
}

@ -0,0 +1,26 @@
{
"alfajores": {
"TestQuerySender": "0x96D7D6Eba6C635e3EaC12b593Ef8B2eE1F6E6683"
},
"fuji": {
"TestQuerySender": "0x96D7D6Eba6C635e3EaC12b593Ef8B2eE1F6E6683"
},
"mumbai": {
"TestQuerySender": "0x96D7D6Eba6C635e3EaC12b593Ef8B2eE1F6E6683"
},
"bsctestnet": {
"TestQuerySender": "0x96D7D6Eba6C635e3EaC12b593Ef8B2eE1F6E6683"
},
"goerli": {
"TestQuerySender": "0x96D7D6Eba6C635e3EaC12b593Ef8B2eE1F6E6683"
},
"moonbasealpha": {
"TestQuerySender": "0x96D7D6Eba6C635e3EaC12b593Ef8B2eE1F6E6683"
},
"optimismgoerli": {
"TestQuerySender": "0x96D7D6Eba6C635e3EaC12b593Ef8B2eE1F6E6683"
},
"arbitrumgoerli": {
"TestQuerySender": "0x96D7D6Eba6C635e3EaC12b593Ef8B2eE1F6E6683"
}
}

@ -0,0 +1,66 @@
{
"alfajores": [
{
"name": "TestQuerySender",
"address": "0x96D7D6Eba6C635e3EaC12b593Ef8B2eE1F6E6683",
"isProxy": false,
"constructorArguments": "0x"
}
],
"fuji": [
{
"name": "TestQuerySender",
"address": "0x96D7D6Eba6C635e3EaC12b593Ef8B2eE1F6E6683",
"isProxy": false,
"constructorArguments": "0x"
}
],
"mumbai": [
{
"name": "TestQuerySender",
"address": "0x96D7D6Eba6C635e3EaC12b593Ef8B2eE1F6E6683",
"isProxy": false,
"constructorArguments": "0x"
}
],
"bsctestnet": [
{
"name": "TestQuerySender",
"address": "0x96D7D6Eba6C635e3EaC12b593Ef8B2eE1F6E6683",
"isProxy": false,
"constructorArguments": "0x"
}
],
"goerli": [
{
"name": "TestQuerySender",
"address": "0x96D7D6Eba6C635e3EaC12b593Ef8B2eE1F6E6683",
"isProxy": false,
"constructorArguments": "0x"
}
],
"moonbasealpha": [
{
"name": "TestQuerySender",
"address": "0x96D7D6Eba6C635e3EaC12b593Ef8B2eE1F6E6683",
"isProxy": false,
"constructorArguments": "0x"
}
],
"optimismgoerli": [
{
"name": "TestQuerySender",
"address": "0x96D7D6Eba6C635e3EaC12b593Ef8B2eE1F6E6683",
"isProxy": false,
"constructorArguments": "0x"
}
],
"arbitrumgoerli": [
{
"name": "TestQuerySender",
"address": "0x96D7D6Eba6C635e3EaC12b593Ef8B2eE1F6E6683",
"isProxy": false,
"constructorArguments": "0x"
}
]
}

@ -26,7 +26,7 @@ async function main() {
// Get query router addresses
const queryRouterDir = path.join(
getEnvironmentDirectory(environment),
'interchain/queries',
'middleware/queries',
);
const queryRouterAddresses = objMap(
readJSON(queryRouterDir, 'addresses.json'),

@ -9,8 +9,13 @@ import { execCmd, readFileAtPath, readJSONAtPath } from '../src/utils/utils';
import { assertEnvironment, getArgs, getCoreEnvironmentConfig } from './utils';
// Requires https://github.com/crytic/solc-select to be installed and
// present in your $PATH. The current solc compiler version should
// already be installed via `solc-select install $VERSION`
async function main() {
const argv = await getArgs()
// This file can be generated by running `yarn hardhat flatten > flattened.sol`,
// and then removing any lines with SPDX identifiers (`solc` complains otherwise).
.string('source')
.describe('source', 'flattened solidity source file')
.demandOption('source')

Loading…
Cancel
Save