Update Cargo.lock and IDL after merge

This commit is contained in:
Christian Kamm 2023-07-11 10:33:49 +02:00
parent 6461743f35
commit a7ac6f8dfb
4 changed files with 50 additions and 44 deletions

45
Cargo.lock generated
View File

@ -2970,7 +2970,7 @@ dependencies = [
"num 0.4.0",
"num_enum",
"openbook-v2",
"pyth-sdk-solana",
"pyth-sdk-solana 0.7.2",
"rand 0.8.5",
"serde",
"serum_dex",
@ -3004,7 +3004,7 @@ dependencies = [
"log 0.4.17",
"mango-v4",
"mango-v4-client",
"pyth-sdk-solana",
"pyth-sdk-solana 0.7.2",
"serum_dex",
"solana-client",
"solana-sdk",
@ -3032,7 +3032,7 @@ dependencies = [
"log 0.4.17",
"mango-feeds-connector",
"mango-v4",
"pyth-sdk-solana",
"pyth-sdk-solana 0.7.2",
"reqwest",
"serde",
"serde_json",
@ -3068,7 +3068,7 @@ dependencies = [
"mango-v4",
"mango-v4-client",
"prometheus",
"pyth-sdk-solana",
"pyth-sdk-solana 0.7.2",
"serum_dex",
"solana-client",
"solana-sdk",
@ -3104,7 +3104,7 @@ dependencies = [
"mango-v4",
"mango-v4-client",
"once_cell",
"pyth-sdk-solana",
"pyth-sdk-solana 0.7.2",
"rand 0.7.3",
"serde",
"serde_derive",
@ -3151,7 +3151,7 @@ dependencies = [
"mango-v4-client",
"once_cell",
"priority-queue",
"pyth-sdk-solana",
"pyth-sdk-solana 0.7.2",
"rand 0.7.3",
"serde",
"serde_derive",
@ -3650,7 +3650,7 @@ dependencies = [
"derivative",
"fixed 1.11.0 (git+https://github.com/openbook-dex/openbook-v2.git)",
"num_enum",
"pyth-sdk-solana",
"pyth-sdk-solana 0.1.0",
"solana-program",
"static_assertions",
"switchboard-program",
@ -4148,6 +4148,18 @@ dependencies = [
"autotools",
]
[[package]]
name = "pyth-sdk"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "446ff07d7ef3bd98214f9b4fe6a611a69e36b5aad74b18cdbad5150193c1f204"
dependencies = [
"borsh",
"borsh-derive",
"schemars",
"serde",
]
[[package]]
name = "pyth-sdk"
version = "0.7.0"
@ -4161,6 +4173,23 @@ dependencies = [
"serde",
]
[[package]]
name = "pyth-sdk-solana"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "27a648739aa69cab94edd900a0d7ca37d8a789e9c88741b23deec11fab418d16"
dependencies = [
"borsh",
"borsh-derive",
"bytemuck",
"num-derive",
"num-traits",
"pyth-sdk 0.1.0",
"serde",
"solana-program",
"thiserror",
]
[[package]]
name = "pyth-sdk-solana"
version = "0.7.2"
@ -4172,7 +4201,7 @@ dependencies = [
"bytemuck",
"num-derive",
"num-traits",
"pyth-sdk",
"pyth-sdk 0.7.0",
"serde",
"solana-program",
"thiserror",

View File

@ -6,6 +6,7 @@
for pair_str in \
"TokenIndex u16" \
"Serum3MarketIndex u16" \
"OpenbookV2MarketIndex u16" \
"PerpMarketIndex u16" \
"usize u64" \
"NodeHandle u32" \

View File

@ -5041,9 +5041,7 @@
},
{
"kind": "arg",
"type": {
"defined": "OpenbookV2MarketIndex"
},
"type": "u16",
"path": "market_index"
}
]
@ -5079,9 +5077,7 @@
"args": [
{
"name": "marketIndex",
"type": {
"defined": "OpenbookV2MarketIndex"
}
"type": "u16"
},
{
"name": "name",
@ -6724,9 +6720,7 @@
},
{
"name": "marketIndex",
"type": {
"defined": "OpenbookV2MarketIndex"
}
"type": "u16"
},
{
"name": "bump",
@ -6768,9 +6762,7 @@
},
{
"name": "marketIndex",
"type": {
"defined": "OpenbookV2MarketIndex"
}
"type": "u16"
},
{
"name": "reserved",

View File

@ -5041,9 +5041,7 @@ export type MangoV4 = {
},
{
"kind": "arg",
"type": {
"defined": "OpenbookV2MarketIndex"
},
"type": "u16",
"path": "market_index"
}
]
@ -5079,9 +5077,7 @@ export type MangoV4 = {
"args": [
{
"name": "marketIndex",
"type": {
"defined": "OpenbookV2MarketIndex"
}
"type": "u16"
},
{
"name": "name",
@ -6724,9 +6720,7 @@ export type MangoV4 = {
},
{
"name": "marketIndex",
"type": {
"defined": "OpenbookV2MarketIndex"
}
"type": "u16"
},
{
"name": "bump",
@ -6768,9 +6762,7 @@ export type MangoV4 = {
},
{
"name": "marketIndex",
"type": {
"defined": "OpenbookV2MarketIndex"
}
"type": "u16"
},
{
"name": "reserved",
@ -16879,9 +16871,7 @@ export const IDL: MangoV4 = {
},
{
"kind": "arg",
"type": {
"defined": "OpenbookV2MarketIndex"
},
"type": "u16",
"path": "market_index"
}
]
@ -16917,9 +16907,7 @@ export const IDL: MangoV4 = {
"args": [
{
"name": "marketIndex",
"type": {
"defined": "OpenbookV2MarketIndex"
}
"type": "u16"
},
{
"name": "name",
@ -18562,9 +18550,7 @@ export const IDL: MangoV4 = {
},
{
"name": "marketIndex",
"type": {
"defined": "OpenbookV2MarketIndex"
}
"type": "u16"
},
{
"name": "bump",
@ -18606,9 +18592,7 @@ export const IDL: MangoV4 = {
},
{
"name": "marketIndex",
"type": {
"defined": "OpenbookV2MarketIndex"
}
"type": "u16"
},
{
"name": "reserved",