Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

Commit 9396bd1

Browse files
authored
Farms: Add Funds, mutisig support, new vaults and general improvements (#3247)
* Add decentralized Fund protocol to Farms * Add Fund stats tracking * Add build script for dynamic ids support * Add multisig support to Farms * Client to reload data only if changed * Add Orca AQ Vaults and Funds, metadata updates * Update metadata and docs
1 parent c061a34 commit 9396bd1

File tree

329 files changed

+137020
-29984
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

329 files changed

+137020
-29984
lines changed

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ exclude = [
4242
"farms/farm-ctrl",
4343
"farms/farm-rpc",
4444
"farms/farm-sdk",
45+
"farms/fund",
4546
"farms/router-main",
4647
"farms/router-raydium",
4748
"farms/router-saber",

farms/.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
/target
2+
Cargo.lock
3+
fund_stats.db

farms/Cargo.toml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
[workspace]
2+
members = [
3+
"farm-client",
4+
"farm-ctrl",
5+
"farm-rpc",
6+
"farm-sdk",
7+
"fund",
8+
"router-main",
9+
"router-raydium",
10+
"router-saber",
11+
"router-orca",
12+
"vaults"
13+
]
14+
15+
[profile.release]
16+
overflow-checks = true
17+
18+
[profile.dev]
19+
split-debuginfo = "unpacked"

farms/README.md

Lines changed: 0 additions & 263 deletions
This file was deleted.

farms/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
docs/intro.md

farms/docs/crate.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
This Crate is a part of Solana Farms suite which is released along with [Solana Program Library](https://github.com/solana-labs/solana-program-library/blob/master/farms).
2+
3+
Detailed information about Solana Farms project and how to use this Crate is available in the [Documentation](https://github.com/solana-labs/solana-program-library/blob/master/farms/docs/intro.md).
4+
5+
If you still have questions please contact [Support](https://github.com/solana-labs/solana-program-library/blob/master/farms/docs/support.md).

farms/docs/disclaimer.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Disclaimer
2+
3+
All claims, content, designs, algorithms, estimates, roadmaps, specifications, and performance measurements described in this project are done with the good faith efforts Solana Labs, Inc. and its affiliates ("SL"). It is up to the reader to check and validate their accuracy and truthfulness. Furthermore nothing in this project constitutes a solicitation for investment.
4+
Any content produced by SL or developer resources that SL provides have not been subject to audit and are for educational and inspiration purposes only. SL does not encourage, induce or sanction the deployment, integration or use of any such applications (including the code comprising the Solana blockchain protocol) in violation of applicable laws or regulations and hereby prohibits any such deployment, integration or use. This includes use of any such applications by the reader (a) in violation of export control or sanctions laws of the United States or any other applicable jurisdiction, (b) if the reader is located in or ordinarily resident in a country or territory subject to comprehensive sanctions administered by the U.S. Office of Foreign Assets Control (OFAC), or (c) if the reader is or is working on behalf of a Specially Designated National (SDN) or a person subject to similar blocking or denied party prohibitions.
5+
The reader should be aware that U.S. export control and sanctions laws prohibit U.S. persons (and other persons that are subject to such laws) from transacting with persons in certain countries and territories or that are on the SDN list. As a project based primarily on open-source software, it is possible that such sanctioned persons may nevertheless bypass prohibitions, obtain the code comprising the Solana blockchain protocol (or other project code or applications) and deploy, integrate, or otherwise use it. Accordingly, there is a risk to individuals that other persons using the Solana blockchain protocol may be sanctioned persons and that transactions with such persons would be a violation of U.S. export controls and sanctions law. This risk applies to individuals, organizations, and other ecosystem participants that deploy, integrate, or use the Solana blockchain protocol code directly (e.g., as a node operator), and individuals that transact on the Solana blockchain through light clients, third party interfaces, and/or wallet software.

0 commit comments

Comments
 (0)