-
Notifications
You must be signed in to change notification settings - Fork 183
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
commit 7c0ed0a Author: Wilhelm Thieme <[email protected]> Date: Tue Feb 11 14:58:03 2025 -0500 Lint commit b0e3949 Merge: 1d5f82f c29eed4 Author: Will <[email protected]> Date: Tue Feb 11 14:51:16 2025 -0500 Merge branch 'main' into wjthieme/client-solana-v2 commit 1d5f82f Author: Will <[email protected]> Date: Tue Feb 11 14:49:45 2025 -0500 Update action.yml commit 55311ec Merge: 6c2b8a1 a2bf808 Author: Will <[email protected]> Date: Mon Feb 10 16:30:54 2025 -0500 Merge branch 'main' into wjthieme/client-solana-v2 commit 6c2b8a1 Author: Wilhelm Thieme <[email protected]> Date: Sat Feb 8 14:15:29 2025 -0500 Tweaks? commit df24a19 Author: Wilhelm Thieme <[email protected]> Date: Fri Feb 7 17:26:02 2025 -0500 Upgrade rustc commit f584b2b Author: Wilhelm Thieme <[email protected]> Date: Fri Feb 7 16:42:31 2025 -0500 Build fix commit eab285e Author: Wilhelm Thieme <[email protected]> Date: Fri Feb 7 16:21:48 2025 -0500 Fix changeset commit 38a22a8 Author: Wilhelm Thieme <[email protected]> Date: Fri Feb 7 16:19:52 2025 -0500 Build fix commit c6e2edb Author: Wilhelm Thieme <[email protected]> Date: Fri Feb 7 15:16:30 2025 -0500 fmt commit 43e0192 Author: Wilhelm Thieme <[email protected]> Date: Fri Feb 7 13:34:13 2025 -0500 Tweaks commit 85ef1e2 Author: Wilhelm Thieme <[email protected]> Date: Fri Feb 7 13:26:46 2025 -0500 Changeset commit 78e301d Author: Wilhelm Thieme <[email protected]> Date: Thu Feb 6 09:50:18 2025 -0500 Build fix commit 38df812 Author: Wilhelm Thieme <[email protected]> Date: Thu Feb 6 09:31:08 2025 -0500 Add support for solana v2 crates to rust client
- Loading branch information
Showing
32 changed files
with
309 additions
and
121 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
"@orca-so/whirlpools-rust-client": major | ||
"@orca-so/whirlpools-rust": major | ||
--- | ||
|
||
Add support for solana v2 crates, to use solana v1 with orca_whirlpools_client please use the `solana-v1` feature |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
"@orca-so/whirlpools-example-rust-repositioning-bot": minor | ||
"@orca-so/whirlpools-rust-integration": minor | ||
--- | ||
|
||
Add support for solana v2 crates |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,12 +12,13 @@ authors = ["[email protected]"] | |
edition = "2021" | ||
|
||
[features] | ||
default = ["core-types", "fetch"] | ||
default = ["core-types"] | ||
anchor = ["dep:anchor-lang"] | ||
anchor-idl-build = [] | ||
core-types = ["dep:orca_whirlpools_core"] | ||
serde = ["dep:serde", "dep:serde_with"] | ||
serde = ["dep:serde", "dep:serde_with", "dep:serde-big-array"] | ||
fetch = ["dep:solana-client", "dep:solana-sdk", "dep:solana-account-decoder"] | ||
solana-v1 = [] | ||
|
||
[dependencies] | ||
anchor-lang = { version = ">=0.28, <0.31", optional = true } | ||
|
@@ -27,8 +28,9 @@ num-traits = { version = "^0.2" } | |
orca_whirlpools_core = { path = "../core", optional = true } | ||
serde = { version = "^1.0", features = ["derive"], optional = true } | ||
serde_with = { version = "^3.10", optional = true } | ||
solana-program = { version = "^1.16" } | ||
solana-sdk = { version = "^1.16", optional = true } | ||
solana-client = { version = "^1.16", optional = true } | ||
solana-account-decoder = { version = "^1.16", optional = true } | ||
serde-big-array = { version = "^0.5", optional = true } | ||
solana-program = { version = ">=1.16, <3.0" } | ||
solana-sdk = { version = ">=1.16, <3.0", optional = true } | ||
solana-client = { version = ">=1.16, <3.0", optional = true } | ||
solana-account-decoder = { version = ">=1.16, <3.0", optional = true } | ||
thiserror = { version = "^2.0" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[package] | ||
name = "orca_whirlpools_client_integration_solana_v2_0" | ||
edition = "2021" | ||
|
||
[lib] | ||
path = "../../lib.rs" | ||
|
||
[dependencies] | ||
solana-program = { version = "~2.0.25" } | ||
orca_whirlpools_client = { path = "../../../client" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[package] | ||
name = "orca_whirlpools_client_integration_solana_v2_1" | ||
edition = "2021" | ||
|
||
[lib] | ||
path = "../../lib.rs" | ||
|
||
[dependencies] | ||
solana-program = { version = "~2.1.13" } | ||
orca_whirlpools_client = { path = "../../../client" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[package] | ||
name = "orca_whirlpools_client_integration_solana_v2_2" | ||
edition = "2021" | ||
|
||
[lib] | ||
path = "../../lib.rs" | ||
|
||
[dependencies] | ||
solana-program = { version = "~2.2.0" } | ||
orca_whirlpools_client = { path = "../../../client" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
[package] | ||
name = "orca_whirlpools_integration_solana_v1_17" | ||
edition = "2021" | ||
|
||
[lib] | ||
path = "../../lib.rs" | ||
|
||
[dependencies] | ||
solana-account-decoder = { version = "~1.17.3" } | ||
solana-sdk = { version = "~1.17.3" } | ||
spl-associated-token-account = { version = "~2.3.0" } | ||
spl-token = { version = "~3.5.0" } | ||
spl-memo = { version = "~3.0.1" } | ||
spl-token-2022 = { version = "~1.0.0" } | ||
solana-program = { version = "~1.17.3" } | ||
orca_whirlpools = { path = "../../../whirlpool", features = ["solana-v1"] } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
[package] | ||
name = "orca_whirlpools_integration_solana_v2_0" | ||
edition = "2021" | ||
|
||
[lib] | ||
path = "../../lib.rs" | ||
|
||
[dependencies] | ||
solana-account-decoder = { version = "~2.0.25" } | ||
solana-sdk = { version = "~2.0.25" } | ||
spl-associated-token-account = { version = "~4.0.0" } | ||
spl-token = { version = "~6.0.0" } | ||
spl-memo = { version = "~5.0.0" } | ||
spl-token-2022 = { version = "~4.0.0" } | ||
solana-program = { version = "~2.0.25" } | ||
orca_whirlpools = { path = "../../../whirlpool" } |
Oops, something went wrong.