├── .gitignore ├── Anchor.toml ├── CHANGELOG.md ├── Cargo.lock ├── Cargo.toml ├── README.md ├── common ├── Cargo.toml └── src │ ├── lib.rs │ └── pda.rs ├── stake_for_fee_interface ├── .gitignore ├── Cargo.toml └── src │ ├── accounts.rs │ ├── errors.rs │ ├── events.rs │ ├── instructions.rs │ ├── lib.rs │ └── typedefs.rs └── ts-client ├── README.md ├── jest.config.js ├── package.json ├── pnpm-lock.yaml ├── src ├── examples │ ├── actions.ts │ ├── index.ts │ └── utils.ts ├── index.ts ├── stake-for-fee │ ├── constants │ │ └── index.ts │ ├── helpers │ │ ├── compute.ts │ │ ├── decoder.ts │ │ ├── dynamic_amm.ts │ │ ├── dynamic_vault.ts │ │ ├── index.ts │ │ ├── pda.ts │ │ ├── program.ts │ │ ├── staker_for_fee.ts │ │ └── tx.ts │ ├── idls │ │ ├── dynamic_amm.ts │ │ ├── dynamic_vault.ts │ │ └── stake_for_fee.ts │ ├── index.ts │ └── types │ │ └── index.ts └── tests │ ├── find_smallest_staker_not_in_top_list_from_full_balance_list.test.ts │ ├── find_smallest_top_stakers.test.ts │ └── utils │ └── top_staker_list.ts ├── tsconfig.json └── tsup.config.ts /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MeteoraAg/stake-for-fee-sdk/HEAD/.gitignore -------------------------------------------------------------------------------- /Anchor.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MeteoraAg/stake-for-fee-sdk/HEAD/Anchor.toml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MeteoraAg/stake-for-fee-sdk/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MeteoraAg/stake-for-fee-sdk/HEAD/Cargo.lock -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MeteoraAg/stake-for-fee-sdk/HEAD/Cargo.toml -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MeteoraAg/stake-for-fee-sdk/HEAD/README.md -------------------------------------------------------------------------------- /common/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MeteoraAg/stake-for-fee-sdk/HEAD/common/Cargo.toml -------------------------------------------------------------------------------- /common/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod pda; 2 | -------------------------------------------------------------------------------- /common/src/pda.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MeteoraAg/stake-for-fee-sdk/HEAD/common/src/pda.rs -------------------------------------------------------------------------------- /stake_for_fee_interface/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | Cargo.lock -------------------------------------------------------------------------------- /stake_for_fee_interface/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MeteoraAg/stake-for-fee-sdk/HEAD/stake_for_fee_interface/Cargo.toml -------------------------------------------------------------------------------- /stake_for_fee_interface/src/accounts.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MeteoraAg/stake-for-fee-sdk/HEAD/stake_for_fee_interface/src/accounts.rs -------------------------------------------------------------------------------- /stake_for_fee_interface/src/errors.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MeteoraAg/stake-for-fee-sdk/HEAD/stake_for_fee_interface/src/errors.rs -------------------------------------------------------------------------------- /stake_for_fee_interface/src/events.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MeteoraAg/stake-for-fee-sdk/HEAD/stake_for_fee_interface/src/events.rs -------------------------------------------------------------------------------- /stake_for_fee_interface/src/instructions.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MeteoraAg/stake-for-fee-sdk/HEAD/stake_for_fee_interface/src/instructions.rs -------------------------------------------------------------------------------- /stake_for_fee_interface/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MeteoraAg/stake-for-fee-sdk/HEAD/stake_for_fee_interface/src/lib.rs -------------------------------------------------------------------------------- /stake_for_fee_interface/src/typedefs.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MeteoraAg/stake-for-fee-sdk/HEAD/stake_for_fee_interface/src/typedefs.rs -------------------------------------------------------------------------------- /ts-client/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MeteoraAg/stake-for-fee-sdk/HEAD/ts-client/README.md -------------------------------------------------------------------------------- /ts-client/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MeteoraAg/stake-for-fee-sdk/HEAD/ts-client/jest.config.js -------------------------------------------------------------------------------- /ts-client/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MeteoraAg/stake-for-fee-sdk/HEAD/ts-client/package.json -------------------------------------------------------------------------------- /ts-client/pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MeteoraAg/stake-for-fee-sdk/HEAD/ts-client/pnpm-lock.yaml -------------------------------------------------------------------------------- /ts-client/src/examples/actions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MeteoraAg/stake-for-fee-sdk/HEAD/ts-client/src/examples/actions.ts -------------------------------------------------------------------------------- /ts-client/src/examples/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MeteoraAg/stake-for-fee-sdk/HEAD/ts-client/src/examples/index.ts -------------------------------------------------------------------------------- /ts-client/src/examples/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MeteoraAg/stake-for-fee-sdk/HEAD/ts-client/src/examples/utils.ts -------------------------------------------------------------------------------- /ts-client/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MeteoraAg/stake-for-fee-sdk/HEAD/ts-client/src/index.ts -------------------------------------------------------------------------------- /ts-client/src/stake-for-fee/constants/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MeteoraAg/stake-for-fee-sdk/HEAD/ts-client/src/stake-for-fee/constants/index.ts -------------------------------------------------------------------------------- /ts-client/src/stake-for-fee/helpers/compute.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MeteoraAg/stake-for-fee-sdk/HEAD/ts-client/src/stake-for-fee/helpers/compute.ts -------------------------------------------------------------------------------- /ts-client/src/stake-for-fee/helpers/decoder.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MeteoraAg/stake-for-fee-sdk/HEAD/ts-client/src/stake-for-fee/helpers/decoder.ts -------------------------------------------------------------------------------- /ts-client/src/stake-for-fee/helpers/dynamic_amm.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MeteoraAg/stake-for-fee-sdk/HEAD/ts-client/src/stake-for-fee/helpers/dynamic_amm.ts -------------------------------------------------------------------------------- /ts-client/src/stake-for-fee/helpers/dynamic_vault.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MeteoraAg/stake-for-fee-sdk/HEAD/ts-client/src/stake-for-fee/helpers/dynamic_vault.ts -------------------------------------------------------------------------------- /ts-client/src/stake-for-fee/helpers/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MeteoraAg/stake-for-fee-sdk/HEAD/ts-client/src/stake-for-fee/helpers/index.ts -------------------------------------------------------------------------------- /ts-client/src/stake-for-fee/helpers/pda.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MeteoraAg/stake-for-fee-sdk/HEAD/ts-client/src/stake-for-fee/helpers/pda.ts -------------------------------------------------------------------------------- /ts-client/src/stake-for-fee/helpers/program.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MeteoraAg/stake-for-fee-sdk/HEAD/ts-client/src/stake-for-fee/helpers/program.ts -------------------------------------------------------------------------------- /ts-client/src/stake-for-fee/helpers/staker_for_fee.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MeteoraAg/stake-for-fee-sdk/HEAD/ts-client/src/stake-for-fee/helpers/staker_for_fee.ts -------------------------------------------------------------------------------- /ts-client/src/stake-for-fee/helpers/tx.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MeteoraAg/stake-for-fee-sdk/HEAD/ts-client/src/stake-for-fee/helpers/tx.ts -------------------------------------------------------------------------------- /ts-client/src/stake-for-fee/idls/dynamic_amm.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MeteoraAg/stake-for-fee-sdk/HEAD/ts-client/src/stake-for-fee/idls/dynamic_amm.ts -------------------------------------------------------------------------------- /ts-client/src/stake-for-fee/idls/dynamic_vault.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MeteoraAg/stake-for-fee-sdk/HEAD/ts-client/src/stake-for-fee/idls/dynamic_vault.ts -------------------------------------------------------------------------------- /ts-client/src/stake-for-fee/idls/stake_for_fee.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MeteoraAg/stake-for-fee-sdk/HEAD/ts-client/src/stake-for-fee/idls/stake_for_fee.ts -------------------------------------------------------------------------------- /ts-client/src/stake-for-fee/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MeteoraAg/stake-for-fee-sdk/HEAD/ts-client/src/stake-for-fee/index.ts -------------------------------------------------------------------------------- /ts-client/src/stake-for-fee/types/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MeteoraAg/stake-for-fee-sdk/HEAD/ts-client/src/stake-for-fee/types/index.ts -------------------------------------------------------------------------------- /ts-client/src/tests/find_smallest_staker_not_in_top_list_from_full_balance_list.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MeteoraAg/stake-for-fee-sdk/HEAD/ts-client/src/tests/find_smallest_staker_not_in_top_list_from_full_balance_list.test.ts -------------------------------------------------------------------------------- /ts-client/src/tests/find_smallest_top_stakers.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MeteoraAg/stake-for-fee-sdk/HEAD/ts-client/src/tests/find_smallest_top_stakers.test.ts -------------------------------------------------------------------------------- /ts-client/src/tests/utils/top_staker_list.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MeteoraAg/stake-for-fee-sdk/HEAD/ts-client/src/tests/utils/top_staker_list.ts -------------------------------------------------------------------------------- /ts-client/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MeteoraAg/stake-for-fee-sdk/HEAD/ts-client/tsconfig.json -------------------------------------------------------------------------------- /ts-client/tsup.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MeteoraAg/stake-for-fee-sdk/HEAD/ts-client/tsup.config.ts --------------------------------------------------------------------------------