MCPcopy Create free account

hub / github.com/Py-Ec/solana-arbitrage-bot / functions

Functions241 in github.com/Py-Ec/solana-arbitrage-bot

Functionsaber_swap
(ctx: Context<'_, '_, '_, 'info, SaberSwap<'info>>)
program/programs/tmp/src/lib.rs:66
Methodserialize
(&self, serializer: S)
client/src/serialize/token.rs:34
Functionserum
()
client/src/tests/quotes.rs:23
Functionserum_swap
(ctx: Context<'_, '_, '_, 'info, SerumSwap<'info>>, side: Side)
program/programs/tmp/src/lib.rs:102
Methodset_update_accounts
( &mut self, accounts: Vec<Option<Account>>, cluster: Cluster, )
client/src/pools/serum.rs:201
Methodset_update_accounts
(&mut self, accounts: Vec<Option<Account>>, _cluster: Cluster)
client/src/pools/aldrin.rs:211
Methodset_update_accounts
(&mut self, accounts: Vec<Option<Account>>, _cluster: Cluster)
client/src/pools/mercurial.rs:142
Methodset_update_accounts
(&mut self, accounts: Vec<Option<Account>>, _cluster: Cluster)
client/src/pools/saber.rs:116
Functionstart_swap
(ctx: Context<TokenAndSwapState>, swap_input: u64)
program/programs/tmp/src/lib.rs:30
Functionswap_a_to_b_max_offset
()
client/src/pool_utils/offset.rs:272
Functionswap_b_to_a_max_offset
()
client/src/pool_utils/offset.rs:291
Functionswap_calculation_large_price
()
client/src/pool_utils/constant_price.rs:326
Functionswap_calculation_max_min
()
client/src/pool_utils/constant_price.rs:356
Functionswap_calculation_no_price
()
client/src/pool_utils/constant_price.rs:276
Methodswap_ix
(&self, program: &Program, owner: &Pubkey, mint_in: &Pubkey, _mint_out: &Pub
client/src/pools/serum.rs:314
Methodswap_ix
(&self, program: &Program, owner: &Pubkey, _mint_in: &Pubkey, mint_out: &Pub
client/src/pools/aldrin.rs:56
Methodswap_ix
(&self, program: &Program, owner: &Pubkey, mint_in: &Pubkey, mint_out: &Pubk
client/src/pools/mercurial.rs:41
Methodswap_ix
(&self, program: &Program, owner: &Pubkey, mint_in: &Pubkey, mint_out: &Pubk
client/src/pools/saber.rs:41
Functionswap_no_offset
()
client/src/pool_utils/offset.rs:217
Functionswap_offset
()
client/src/pool_utils/offset.rs:245
Functiontrading_token_conversion
()
client/src/pool_utils/constant_product.rs:319
Methodtry_from
(curve_type: u8)
client/src/pool_utils/base.rs:251
Methodtype_of
()
client/src/error.rs:112
Methodunpack_from_slice
(_input: &[u8])
client/src/pool_utils/constant_product.rs:267
Methodunpack_from_slice
(input: &[u8])
client/src/pool_utils/constant_price.rs:247
Methodunpack_from_slice
(input: &[u8])
client/src/pool_utils/fees.rs:160
Methodunpack_from_slice
Unpacks a byte buffer into a SwapCurve
client/src/pool_utils/base.rs:211
Methodunpack_from_slice
(input: &[u8])
client/src/pool_utils/stable.rs:391
Methodunpack_from_slice
(input: &[u8])
client/src/pool_utils/offset.rs:171
Methodvalidate
(&self)
client/src/pool_utils/constant_product.rs:249
Methodvalidate
(&self)
client/src/pool_utils/constant_price.rs:188
Methodvalidate
Validate that the fees are reasonable
client/src/pool_utils/fees.rs:113
Methodvalidate
(&self)
client/src/pool_utils/stable.rs:372
Methodvalidate
(&self)
client/src/pool_utils/offset.rs:119
Methodvalidate_supply
Validate the given supply on initialization. This is useful for curves that allow zero supply on one or both sides, since the standard constant produc
client/src/pool_utils/calculator.rs:158
Methodvalidate_supply
(&self, token_a_amount: u64, _token_b_amount: u64)
client/src/pool_utils/constant_price.rs:196
Methodvalidate_supply
(&self, token_a_amount: u64, _token_b_amount: u64)
client/src/pool_utils/offset.rs:127
Methodwithdraw_single_token_type_exact_out
( &self, source_amount: u128, swap_token_a_amount: u128, swap_token_b_amount:
client/src/pool_utils/constant_product.rs:223
Methodwithdraw_single_token_type_exact_out
( &self, source_amount: u128, swap_token_a_amount: u128, swap_token_b_amount:
client/src/pool_utils/constant_price.rs:169
Methodwithdraw_single_token_type_exact_out
( &self, source_amount: u128, swap_token_a_amount: u128, swap_token_b_amount:
client/src/pool_utils/stable.rs:300
Methodwithdraw_single_token_type_exact_out
( &self, source_amount: u128, swap_token_a_amount: u128, swap_token_b_amount:
client/src/pool_utils/offset.rs:100
← previous201–241 of 241, ranked by callers