Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
pindaroso committed Nov 22, 2023
2 parents dd5109c + 61d320c commit 2d36849
Show file tree
Hide file tree
Showing 11 changed files with 25 additions and 25 deletions.
30 changes: 15 additions & 15 deletions Anchor.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion psyoptions-american-instrument/js/.solitarc.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion psyoptions-american-instrument/program/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ mod errors;
mod instructions;
mod state;

declare_id!("8jc8D8H1jkzJZvHmR6xXvxKwCCo4L2fg6gxoBYam1em9");
declare_id!("6JG1tWK4w6LmjeXbmDZJsmUsPSjgnp74j2XPsTvjjTX8");

const ESCROW_SEED: &str = "escrow";
#[program]
Expand Down
2 changes: 1 addition & 1 deletion psyoptions-european-instrument/js/.solitarc.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion psyoptions-european-instrument/program/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ mod errors;
mod euro_options;
mod state;

declare_id!("4cEEKadSe3p73rCQmbLaAgzBtdnzWaBJtjr2RBaQ5DgB");
declare_id!("A86fhhdNVDdXV8pB48WXtPeM3EBkcBeJEdrx9xrUo9nF");

const ESCROW_SEED: &str = "escrow";

Expand Down
2 changes: 1 addition & 1 deletion rfq/js/.solitarc.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const binaryInstallDir = path.join(__dirname, ".crates");
module.exports = {
idlGenerator: "anchor",
programName: "rfq",
programId: "CeYwCe6YwBvRE9CpRU2Zgc5oQP7r2ThNqicyKN37Unn4",
programId: "J7WkE9mTzwTo3pjxENdrH7sekZPrN2VYNpk1pgfZxVr9",
idlDir,
sdkDir,
binaryInstallDir,
Expand Down
2 changes: 1 addition & 1 deletion rfq/program/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ security_txt! {
auditors: "None"
}

declare_id!("CeYwCe6YwBvRE9CpRU2Zgc5oQP7r2ThNqicyKN37Unn4");
declare_id!("J7WkE9mTzwTo3pjxENdrH7sekZPrN2VYNpk1pgfZxVr9");

/// Request for quote (RFQ) protocol module.
#[program]
Expand Down
2 changes: 1 addition & 1 deletion risk-engine/js/.solitarc.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const binaryInstallDir = path.join(__dirname, ".crates");
module.exports = {
idlGenerator: "anchor",
programName: "risk_engine",
programId: "7WBoFuPnWttNyxzL9tPtQJrNaAZTG6VquYy4dZZkj84F",
programId: "6rosVyXKwj9tiHubXUBTguaCELsci4pBEuiRy36Lbz1p",
idlDir,
sdkDir,
binaryInstallDir,
Expand Down
2 changes: 1 addition & 1 deletion risk-engine/program/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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";

Expand Down
2 changes: 1 addition & 1 deletion spot-instrument/js/.solitarc.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const binaryInstallDir = path.join(__dirname, ".crates");
module.exports = {
idlGenerator: "anchor",
programName: "spot_instrument",
programId: "HxWk421wJzJPzzRrAa4tPatRtMqY1hqPKV7XenBxsBpH",
programId: "CjQCEjXtG3QNBuT5Z1sctaAYCo5Mt6edftqHQetEPo9w",
idlDir,
sdkDir,
binaryInstallDir,
Expand Down
2 changes: 1 addition & 1 deletion spot-instrument/program/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ use rfq::state::{
mod errors;
mod state;

declare_id!("HxWk421wJzJPzzRrAa4tPatRtMqY1hqPKV7XenBxsBpH");
declare_id!("CjQCEjXtG3QNBuT5Z1sctaAYCo5Mt6edftqHQetEPo9w");

const ESCROW_SEED: &str = "escrow";

Expand Down

0 comments on commit 2d36849

Please sign in to comment.