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

Have airnode-protocol export AirnodeRrpV0DryRun #1744

Merged
merged 3 commits into from
Apr 18, 2023
Merged
Show file tree
Hide file tree
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
5 changes: 5 additions & 0 deletions .changeset/lemon-wasps-reflect.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@api3/airnode-protocol': minor
---

Export AirnodeRrpV0DryRun.sol
39 changes: 39 additions & 0 deletions packages/airnode-protocol/deployments/references.json
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,45 @@
"1313161554": "0xE338f63170c42bA0d2a888f18F6185369779009c",
"1313161555": "0xa0AD79D995DdeeB18a14eAef56A549A04e3Aa1Bd"
},
"AirnodeRrpV0DryRun": {
"1": "0x2e768206bf5112e7D7efAf1d9df614C26475193f",
"5": "0x2e768206bf5112e7D7efAf1d9df614C26475193f",
"10": "0x2e768206bf5112e7D7efAf1d9df614C26475193f",
"30": "0x2e768206bf5112e7D7efAf1d9df614C26475193f",
"31": "0x2e768206bf5112e7D7efAf1d9df614C26475193f",
"56": "0x2e768206bf5112e7D7efAf1d9df614C26475193f",
"97": "0x2e768206bf5112e7D7efAf1d9df614C26475193f",
"100": "0x2e768206bf5112e7D7efAf1d9df614C26475193f",
"137": "0x2e768206bf5112e7D7efAf1d9df614C26475193f",
"250": "0x2e768206bf5112e7D7efAf1d9df614C26475193f",
"288": "0xde30a3268fbdcef628AF51d0850009a9A1714138",
"416": "0xEb9Ef2411608b9E6A14625110CD9349154b5e3ba",
"420": "0x2e768206bf5112e7D7efAf1d9df614C26475193f",
"599": "0x4923968942E8aae4656ae4913874EB7312e0F7c7",
"647": "0x3e10e6eF3c602885a9Cafd9785BD2143c52fbFF1",
"1088": "0xeefA1A591052DB4208C6BcD1E716B136E07cb692",
"1284": "0x2e768206bf5112e7D7efAf1d9df614C26475193f",
"1285": "0x2e768206bf5112e7D7efAf1d9df614C26475193f",
"1287": "0x2e768206bf5112e7D7efAf1d9df614C26475193f",
"1294": "0x3e10e6eF3c602885a9Cafd9785BD2143c52fbFF1",
"2001": "0x2e768206bf5112e7D7efAf1d9df614C26475193f",
"4002": "0x2e768206bf5112e7D7efAf1d9df614C26475193f",
"10200": "0x2e768206bf5112e7D7efAf1d9df614C26475193f",
"42161": "0x368A8C0a75fD707e4f7bF15DD1aA25ED554fE22c",
"42170": "0x2e768206bf5112e7D7efAf1d9df614C26475193f",
"43113": "0x705787063B11142a9a48F4D2f4bfB56214828261",
"43114": "0x824cb5cE2894cBA4eDdd005c5029eD17F5FEcf99",
"43288": "0x2e768206bf5112e7D7efAf1d9df614C26475193f",
"56288": "0xdCED7ECFf6941613e739A30AeADa0F4FB85e5724",
"71401": "0x2e768206bf5112e7D7efAf1d9df614C26475193f",
"71402": "0xbe28bd4921345dC632B3a55114091Be37b2DB739",
"80001": "0x2e768206bf5112e7D7efAf1d9df614C26475193f",
"200101": "0x2e768206bf5112e7D7efAf1d9df614C26475193f",
"421613": "0x2e768206bf5112e7D7efAf1d9df614C26475193f",
"11155111": "0xFb10b1b0f68b3EaAcA1eCD12a47Cf7F55BeabB98",
"1313161554": "0x04b833bD6339570B01aff994A72ea33cF92bD0EF",
"1313161555": "0x2e768206bf5112e7D7efAf1d9df614C26475193f"
},
"networks": {
"1": {
"chainId": 1,
Expand Down
2 changes: 1 addition & 1 deletion packages/airnode-protocol/scripts/contract-names.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
const contractNames = ['AccessControlRegistry', 'RequesterAuthorizerWithAirnode', 'AirnodeRrpV0'];
const contractNames = ['AccessControlRegistry', 'RequesterAuthorizerWithAirnode', 'AirnodeRrpV0', 'AirnodeRrpV0DryRun'];

export { contractNames };
5 changes: 5 additions & 0 deletions packages/airnode-protocol/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import { ethers } from 'ethers';
import {
MockRrpRequesterV0__factory as MockRrpRequesterFactory,
AirnodeRrpV0__factory as AirnodeRrpV0Factory,
AirnodeRrpV0DryRun__factory as AirnodeRrpV0DryRunFactory,
AccessControlRegistry__factory as AccessControlRegistryFactory,
RequesterAuthorizerWithAirnode__factory as RequesterAuthorizerWithAirnodeFactory,
RrpBeaconServerV0__factory as RrpBeaconServerV0Factory,
Expand All @@ -23,6 +24,7 @@ import {
import references from '../deployments/references.json';

const AirnodeRrpAddresses: { [chainId: string]: string } = references.AirnodeRrpV0;
const AirnodeRrpDryRunAddresses: { [chainId: string]: string } = references.AirnodeRrpV0DryRun;
const AccessControlRegistryAddresses: { [chainId: string]: string } = references.AccessControlRegistry;
const RequesterAuthorizerWithAirnodeAddresses: { [chainId: string]: string } =
references.RequesterAuthorizerWithAirnode;
Expand Down Expand Up @@ -52,9 +54,11 @@ const authorizers = {

export {
AirnodeRrpAddresses,
AirnodeRrpDryRunAddresses,
AccessControlRegistryAddresses,
RequesterAuthorizerWithAirnodeAddresses,
AirnodeRrpV0Factory,
AirnodeRrpV0DryRunFactory,
AccessControlRegistryFactory,
RrpBeaconServerV0Factory,
RequesterAuthorizerWithErc721Factory,
Expand All @@ -67,6 +71,7 @@ export {

export type {
AirnodeRrpV0,
AirnodeRrpV0DryRun,
MockRrpRequesterV0,
AccessControlRegistry,
RequesterAuthorizerWithAirnode,
Expand Down