From bff6165b620b2e277be35f7e1b7a6771c246a42a Mon Sep 17 00:00:00 2001 From: pindaroso Date: Wed, 22 Nov 2023 11:25:57 -0500 Subject: [PATCH 1/2] Updated program ids --- Anchor.toml | 30 +++++++++---------- .../js/.solitarc.js | 2 +- .../program/src/lib.rs | 2 +- .../js/.solitarc.js | 2 +- .../program/src/lib.rs | 2 +- rfq/js/.solitarc.js | 2 +- rfq/program/src/lib.rs | 2 +- risk-engine/js/.solitarc.js | 2 +- risk-engine/program/src/lib.rs | 2 +- spot-instrument/js/.solitarc.js | 2 +- spot-instrument/program/src/lib.rs | 2 +- 11 files changed, 25 insertions(+), 25 deletions(-) diff --git a/Anchor.toml b/Anchor.toml index 86c12f51..daa9e069 100644 --- a/Anchor.toml +++ b/Anchor.toml @@ -1,25 +1,25 @@ anchor_version = "0.25.0" [programs.localnet] -rfq = "CeYwCe6YwBvRE9CpRU2Zgc5oQP7r2ThNqicyKN37Unn4" -risk_engine = "7WBoFuPnWttNyxzL9tPtQJrNaAZTG6VquYy4dZZkj84F" -spot_instrument = "HxWk421wJzJPzzRrAa4tPatRtMqY1hqPKV7XenBxsBpH" -psyoptions_european_instrument = "4cEEKadSe3p73rCQmbLaAgzBtdnzWaBJtjr2RBaQ5DgB" -psyoptions_american_instrument = "8jc8D8H1jkzJZvHmR6xXvxKwCCo4L2fg6gxoBYam1em9" +rfq = "J7WkE9mTzwTo3pjxENdrH7sekZPrN2VYNpk1pgfZxVr9" +risk_engine = "6rosVyXKwj9tiHubXUBTguaCELsci4pBEuiRy36Lbz1p" +spot_instrument = "CjQCEjXtG3QNBuT5Z1sctaAYCo5Mt6edftqHQetEPo9w" +psyoptions_european_instrument = "A86fhhdNVDdXV8pB48WXtPeM3EBkcBeJEdrx9xrUo9nF" +psyoptions_american_instrument = "6JG1tWK4w6LmjeXbmDZJsmUsPSjgnp74j2XPsTvjjTX8" [programs.devnet] -rfq = "CeYwCe6YwBvRE9CpRU2Zgc5oQP7r2ThNqicyKN37Unn4" -risk_engine = "7WBoFuPnWttNyxzL9tPtQJrNaAZTG6VquYy4dZZkj84F" -spot_instrument = "HxWk421wJzJPzzRrAa4tPatRtMqY1hqPKV7XenBxsBpH" -psyoptions_european_instrument = "4cEEKadSe3p73rCQmbLaAgzBtdnzWaBJtjr2RBaQ5DgB" -psyoptions_american_instrument = "8jc8D8H1jkzJZvHmR6xXvxKwCCo4L2fg6gxoBYam1em9" +rfq = "J7WkE9mTzwTo3pjxENdrH7sekZPrN2VYNpk1pgfZxVr9" +risk_engine = "6rosVyXKwj9tiHubXUBTguaCELsci4pBEuiRy36Lbz1p" +spot_instrument = "CjQCEjXtG3QNBuT5Z1sctaAYCo5Mt6edftqHQetEPo9w" +psyoptions_european_instrument = "A86fhhdNVDdXV8pB48WXtPeM3EBkcBeJEdrx9xrUo9nF" +psyoptions_american_instrument = "6JG1tWK4w6LmjeXbmDZJsmUsPSjgnp74j2XPsTvjjTX8" [programs.mainnet] -rfq = "CeYwCe6YwBvRE9CpRU2Zgc5oQP7r2ThNqicyKN37Unn4" -risk_engine = "7WBoFuPnWttNyxzL9tPtQJrNaAZTG6VquYy4dZZkj84F" -spot_instrument = "HxWk421wJzJPzzRrAa4tPatRtMqY1hqPKV7XenBxsBpH" -psyoptions_european_instrument = "4cEEKadSe3p73rCQmbLaAgzBtdnzWaBJtjr2RBaQ5DgB" -psyoptions_american_instrument = "8jc8D8H1jkzJZvHmR6xXvxKwCCo4L2fg6gxoBYam1em9" +rfq = "J7WkE9mTzwTo3pjxENdrH7sekZPrN2VYNpk1pgfZxVr9" +risk_engine = "6rosVyXKwj9tiHubXUBTguaCELsci4pBEuiRy36Lbz1p" +spot_instrument = "CjQCEjXtG3QNBuT5Z1sctaAYCo5Mt6edftqHQetEPo9w" +psyoptions_european_instrument = "A86fhhdNVDdXV8pB48WXtPeM3EBkcBeJEdrx9xrUo9nF" +psyoptions_american_instrument = "6JG1tWK4w6LmjeXbmDZJsmUsPSjgnp74j2XPsTvjjTX8" [registry] url = "https://anchor.projectserum.com" diff --git a/psyoptions-american-instrument/js/.solitarc.js b/psyoptions-american-instrument/js/.solitarc.js index 798e0348..a5d9f2b9 100644 --- a/psyoptions-american-instrument/js/.solitarc.js +++ b/psyoptions-american-instrument/js/.solitarc.js @@ -8,7 +8,7 @@ const binaryInstallDir = path.join(__dirname, ".crates"); module.exports = { idlGenerator: "anchor", programName: "psyoptions_american_instrument", - programId: "8jc8D8H1jkzJZvHmR6xXvxKwCCo4L2fg6gxoBYam1em9", + programId: "6JG1tWK4w6LmjeXbmDZJsmUsPSjgnp74j2XPsTvjjTX8", idlDir, sdkDir, binaryInstallDir, diff --git a/psyoptions-american-instrument/program/src/lib.rs b/psyoptions-american-instrument/program/src/lib.rs index 2a6ce7e6..cee70b6c 100644 --- a/psyoptions-american-instrument/program/src/lib.rs +++ b/psyoptions-american-instrument/program/src/lib.rs @@ -15,7 +15,7 @@ mod errors; mod instructions; mod state; -declare_id!("8jc8D8H1jkzJZvHmR6xXvxKwCCo4L2fg6gxoBYam1em9"); +declare_id!("6JG1tWK4w6LmjeXbmDZJsmUsPSjgnp74j2XPsTvjjTX8"); const ESCROW_SEED: &str = "escrow"; #[program] diff --git a/psyoptions-european-instrument/js/.solitarc.js b/psyoptions-european-instrument/js/.solitarc.js index 1600aac4..889afd4d 100644 --- a/psyoptions-european-instrument/js/.solitarc.js +++ b/psyoptions-european-instrument/js/.solitarc.js @@ -8,7 +8,7 @@ const binaryInstallDir = path.join(__dirname, ".crates"); module.exports = { idlGenerator: "anchor", programName: "psyoptions_european_instrument", - programId: "4cEEKadSe3p73rCQmbLaAgzBtdnzWaBJtjr2RBaQ5DgB", + programId: "A86fhhdNVDdXV8pB48WXtPeM3EBkcBeJEdrx9xrUo9nF", idlDir, sdkDir, binaryInstallDir, diff --git a/psyoptions-european-instrument/program/src/lib.rs b/psyoptions-european-instrument/program/src/lib.rs index 3769cfd5..9fe11717 100644 --- a/psyoptions-european-instrument/program/src/lib.rs +++ b/psyoptions-european-instrument/program/src/lib.rs @@ -15,7 +15,7 @@ mod errors; mod euro_options; mod state; -declare_id!("4cEEKadSe3p73rCQmbLaAgzBtdnzWaBJtjr2RBaQ5DgB"); +declare_id!("A86fhhdNVDdXV8pB48WXtPeM3EBkcBeJEdrx9xrUo9nF"); const ESCROW_SEED: &str = "escrow"; diff --git a/rfq/js/.solitarc.js b/rfq/js/.solitarc.js index c938a598..d76b6d09 100644 --- a/rfq/js/.solitarc.js +++ b/rfq/js/.solitarc.js @@ -8,7 +8,7 @@ const binaryInstallDir = path.join(__dirname, ".crates"); module.exports = { idlGenerator: "anchor", programName: "rfq", - programId: "CeYwCe6YwBvRE9CpRU2Zgc5oQP7r2ThNqicyKN37Unn4", + programId: "J7WkE9mTzwTo3pjxENdrH7sekZPrN2VYNpk1pgfZxVr9", idlDir, sdkDir, binaryInstallDir, diff --git a/rfq/program/src/lib.rs b/rfq/program/src/lib.rs index c44aa76b..55ba7369 100644 --- a/rfq/program/src/lib.rs +++ b/rfq/program/src/lib.rs @@ -57,7 +57,7 @@ security_txt! { auditors: "None" } -declare_id!("CeYwCe6YwBvRE9CpRU2Zgc5oQP7r2ThNqicyKN37Unn4"); +declare_id!("J7WkE9mTzwTo3pjxENdrH7sekZPrN2VYNpk1pgfZxVr9"); /// Request for quote (RFQ) protocol module. #[program] diff --git a/risk-engine/js/.solitarc.js b/risk-engine/js/.solitarc.js index 7e3dff9c..8e197e78 100644 --- a/risk-engine/js/.solitarc.js +++ b/risk-engine/js/.solitarc.js @@ -8,7 +8,7 @@ const binaryInstallDir = path.join(__dirname, ".crates"); module.exports = { idlGenerator: "anchor", programName: "risk_engine", - programId: "7WBoFuPnWttNyxzL9tPtQJrNaAZTG6VquYy4dZZkj84F", + programId: "6rosVyXKwj9tiHubXUBTguaCELsci4pBEuiRy36Lbz1p", idlDir, sdkDir, binaryInstallDir, diff --git a/risk-engine/program/src/lib.rs b/risk-engine/program/src/lib.rs index 884b74ae..f71951de 100644 --- a/risk-engine/program/src/lib.rs +++ b/risk-engine/program/src/lib.rs @@ -22,7 +22,7 @@ pub mod scenarios; pub mod state; pub mod utils; -declare_id!("7WBoFuPnWttNyxzL9tPtQJrNaAZTG6VquYy4dZZkj84F"); +declare_id!("6rosVyXKwj9tiHubXUBTguaCELsci4pBEuiRy36Lbz1p"); pub const CONFIG_SEED: &str = "config"; diff --git a/spot-instrument/js/.solitarc.js b/spot-instrument/js/.solitarc.js index f1f7152a..db212e2c 100644 --- a/spot-instrument/js/.solitarc.js +++ b/spot-instrument/js/.solitarc.js @@ -8,7 +8,7 @@ const binaryInstallDir = path.join(__dirname, ".crates"); module.exports = { idlGenerator: "anchor", programName: "spot_instrument", - programId: "HxWk421wJzJPzzRrAa4tPatRtMqY1hqPKV7XenBxsBpH", + programId: "CjQCEjXtG3QNBuT5Z1sctaAYCo5Mt6edftqHQetEPo9w", idlDir, sdkDir, binaryInstallDir, diff --git a/spot-instrument/program/src/lib.rs b/spot-instrument/program/src/lib.rs index 00e7dc41..8d132fba 100644 --- a/spot-instrument/program/src/lib.rs +++ b/spot-instrument/program/src/lib.rs @@ -13,7 +13,7 @@ use rfq::state::{ mod errors; mod state; -declare_id!("HxWk421wJzJPzzRrAa4tPatRtMqY1hqPKV7XenBxsBpH"); +declare_id!("CjQCEjXtG3QNBuT5Z1sctaAYCo5Mt6edftqHQetEPo9w"); const ESCROW_SEED: &str = "escrow"; From dd5109c6c78ca209095bcce9bc506b6f1023d2df Mon Sep 17 00:00:00 2001 From: pindaroso Date: Wed, 22 Nov 2023 11:50:17 -0500 Subject: [PATCH 2/2] Updated package version --- psyoptions-american-instrument/js/package.json | 4 ++-- psyoptions-european-instrument/js/package.json | 4 ++-- rfq/js/package.json | 4 ++-- risk-engine/js/package.json | 4 ++-- spot-instrument/js/package.json | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/psyoptions-american-instrument/js/package.json b/psyoptions-american-instrument/js/package.json index 82ade145..52e05eff 100644 --- a/psyoptions-american-instrument/js/package.json +++ b/psyoptions-american-instrument/js/package.json @@ -1,6 +1,6 @@ { "name": "@convergence-rfq/psyoptions-american-instrument", - "version": "2.2.14", + "version": "2.2.15", "license": "MIT", "publishConfig": { "access": "public", @@ -31,4 +31,4 @@ "typescript": "^4.8.4", "rimraf": "^4.1.2" } -} \ No newline at end of file +} diff --git a/psyoptions-european-instrument/js/package.json b/psyoptions-european-instrument/js/package.json index fa076d50..2af7e6d1 100644 --- a/psyoptions-european-instrument/js/package.json +++ b/psyoptions-european-instrument/js/package.json @@ -1,6 +1,6 @@ { "name": "@convergence-rfq/psyoptions-european-instrument", - "version": "2.2.14", + "version": "2.2.15", "license": "MIT", "publishConfig": { "access": "public", @@ -31,4 +31,4 @@ "typescript": "^4.8.4", "rimraf": "^4.1.2" } -} \ No newline at end of file +} diff --git a/rfq/js/package.json b/rfq/js/package.json index 3ba103a9..c4413b6d 100644 --- a/rfq/js/package.json +++ b/rfq/js/package.json @@ -1,6 +1,6 @@ { "name": "@convergence-rfq/rfq", - "version": "2.2.14", + "version": "2.2.15", "license": "MIT", "publishConfig": { "access": "public", @@ -31,4 +31,4 @@ "typescript": "^4.8.4", "rimraf": "^4.1.2" } -} \ No newline at end of file +} diff --git a/risk-engine/js/package.json b/risk-engine/js/package.json index 33094b80..a010ade0 100644 --- a/risk-engine/js/package.json +++ b/risk-engine/js/package.json @@ -1,6 +1,6 @@ { "name": "@convergence-rfq/risk-engine", - "version": "2.2.14", + "version": "2.2.15", "license": "MIT", "publishConfig": { "access": "public", @@ -31,4 +31,4 @@ "typescript": "^4.8.4", "rimraf": "^4.1.2" } -} \ No newline at end of file +} diff --git a/spot-instrument/js/package.json b/spot-instrument/js/package.json index 519d0ad2..6f5aac1f 100644 --- a/spot-instrument/js/package.json +++ b/spot-instrument/js/package.json @@ -1,6 +1,6 @@ { "name": "@convergence-rfq/spot-instrument", - "version": "2.2.14", + "version": "2.2.15", "license": "MIT", "publishConfig": { "access": "public", @@ -31,4 +31,4 @@ "typescript": "^4.8.4", "rimraf": "^4.1.2" } -} \ No newline at end of file +}