MCPcopy Create free account

hub / github.com/clockwork-xyz/examples / functions

Functions209 in github.com/clockwork-xyz/examples

↓ 11 callersFunctionprint_address
(label, address)
utils/lib/index.ts:7
↓ 8 callersFunctionprint_explorer_link
(address: Pubkey, label: String)
openbook_dca/client/src/utils.rs:110
↓ 8 callersFunctionprint_explorer_link
(address: Pubkey, label: String)
orca_whirlpool_dca/client/src/utils.rs:55
↓ 8 callersMethodprocess
(&mut self)
subscriptions/programs/subscriptions/src/contexts/withdraw.rs:34
↓ 7 callersFunctionsend_and_confirm_tx
( client: &Client, ix: Vec<Instruction>, signers: Option<Vec<&Keypair>>, label: String, )
subscriptions/client/src/utils.rs:9
↓ 6 callersFunctionget_address_env
(address: String)
subscriptions/client/src/utils.rs:93
↓ 6 callersFunctionprint_explorer_link
(address: Pubkey, label: String)
orca_dca/client/src/utils.rs:55
↓ 5 callersFunctionhandler
(ctx: Context<'_, '_, '_, 'info, Swap<'info>>)
orca_whirlpool_dca/programs/orca_whirlpool_dca/src/instructions/swap.rs:84
↓ 5 callersFunctionverifyAmount
(connection, ata, expectedAmount)
utils/lib/index.ts:29
↓ 5 callersFunctionwaitForThreadExec
(clockworkProvider, thread: PublicKey, maxWait: number = 60)
utils/lib/index.ts:36
↓ 4 callersFunctionhandler
(ctx: Context<'_, '_, '_, 'info, ProxySwap<'info>>)
orca_dca/programs/orca_dca/src/instructions/proxy_swap.rs:70
↓ 4 callersFunctionhandler
(ctx: Context<'_, '_, '_, 'info, Swap<'info>>)
openbook_dca/programs/openbook_dca/src/instructions/swap.rs:83
↓ 4 callersFunctionprint_thread
(clockworkProvider, address)
utils/lib/index.ts:11
↓ 4 callersFunctionsign_send_and_confirm_tx
( client: &Client, ix: Vec<Instruction>, signers: Option<Vec<&Keypair>>, label: String, )
openbook_dca/client/src/utils.rs:18
↓ 3 callersFunctionhandler
( ctx: Context<'_, '_, '_, 'info, Create<'info>>, mint_amount: u64, )
distributor/programs/distributor/src/instructions/create.rs:57
↓ 3 callersFunctionhandler
(ctx: Context<Ping>)
event_stream/programs/event_stream/src/instructions/ping.rs:12
↓ 3 callersFunctionhandler
(_ctx: Context<Delete>)
openbook_crank/programs/openbook_crank/src/instructions/delete.rs:25
↓ 3 callersFunctionhandler
(ctx: Context<Calc<'info>>)
pyth_stats/programs/pyth_stats/src/instructions/calc.rs:65
↓ 3 callersFunctionhandler
(ctx: Context<CreatePayment>, amount: u64)
payments/programs/payments/src/instructions/create_payment.rs:61
↓ 3 callersFunctionsign_send_and_confirm_tx
( client: &Client, ix: Vec<Instruction>, signers: Option<Vec<&Keypair>>, label: String, )
orca_dca/client/src/utils.rs:11
↓ 3 callersFunctionsign_send_and_confirm_tx
( client: &Client, ix: Vec<Instruction>, signers: Option<Vec<&Keypair>>, label: String, )
orca_whirlpool_dca/client/src/utils.rs:11
↓ 2 callersFunctioncreate_feed
( client: &Client, price_feed_pubkey: Pubkey, cluster: Cluster, thread_id: &str, )
pyth_stats/client/src/main.rs:60
↓ 2 callersFunctionhandler
(ctx: Context<'_, '_, '_, 'info, CreateFeed<'info>>)
pyth_feed/programs/pyth_feed/src/instructions/create_feed.rs:45
↓ 2 callersMethodnew
( &mut self, owner: Pubkey, subscription: Pubkey, is_active: bool, bum
subscriptions/programs/subscriptions/src/state/subscriber.rs:44
↓ 2 callersFunctionprint_explorer_link
(address: Pubkey, label: String, cluster: Cluster)
pyth_stats/client/src/main.rs:134
↓ 2 callersFunctionprint_tx
(label, address)
event_stream/tests/event_stream.ts:128
↓ 2 callersMethodpubkey
(authority: Pubkey, market: Pubkey)
openbook_dca/programs/openbook_dca/src/state/dca.rs:23
↓ 2 callersFunctionsign_send_and_confirm_tx
( client: &Client, ix: Vec<Instruction>, signers: Option<Vec<&Keypair>>, label: String, )
openbook_crank/client/src/utils.rs:15
↓ 2 callersFunctionsleep
(seconds)
event_stream/tests/event_stream.ts:118
↓ 1 callersFunctionconsume_events
* crank open orders */
openbook_crank/programs/openbook_crank/src/lib.rs:25
↓ 1 callersFunctioncreateDisbursePaymentThread
( authority: Signer, authorityAta: PublicKey, payment: PublicKey, mint: PublicKey, recipie
payments/tests/payments.ts:174
↓ 1 callersFunctioncreateDistributor
( authority: Signer, distributor: PublicKey, amount: bigint, mint: PublicKey, recipient: P
distributor/tests/distributor.ts:137
↓ 1 callersFunctioncreateDistributorThread
( authority: Signer, distributor: PublicKey, mint: PublicKey, recipient: PublicKey, recipi
distributor/tests/distributor.ts:161
↓ 1 callersFunctioncreatePayment
( payment: PublicKey, amount: bigint, mint: PublicKey, authority: Signer, authorityAta: Pu
payments/tests/payments.ts:149
↓ 1 callersFunctioncreate_dex_account
( client: &Client, program_id: &Pubkey, payer: &Pubkey, unpadded_len: usize, )
openbook_dca/client/src/utils.rs:50
↓ 1 callersFunctioncreate_feed
(client: &Client)
pyth_feed/client/src/main.rs:31
↓ 1 callersFunctioncreate_mint
(client: &Client)
subscriptions/client/src/commands/create_mint.rs:6
↓ 1 callersFunctioncreate_subscriber
( client: &Client, subscriber: Pubkey, subscription: Pubkey, subscription_thread: Pubkey,
subscriptions/client/src/commands/create_subscriber.rs:13
↓ 1 callersFunctioncreate_subscription
( client: &Client, subscription_bank: Pubkey, mint: Pubkey, subscription: Pubkey, recurren
subscriptions/client/src/commands/create_subscription.rs:12
↓ 1 callersFunctiondca_create
( client: &Client, pool_params: &PoolParams, dca_thread_id: String, )
orca_dca/client/src/main.rs:47
↓ 1 callersFunctiondca_create
( client: &Client, market_keys: &MarketKeys, dca_thread_id: String, )
openbook_dca/client/src/main.rs:60
↓ 1 callersFunctiondca_create
( client: &Client, whirlpool_params: &WhirlpoolParams, dca_thread_id: String, )
orca_whirlpool_dca/client/src/main.rs:43
↓ 1 callersFunctiondca_delete
( client: &Client, whirlpool_params: &WhirlpoolParams, dca_thread_id: String, )
orca_whirlpool_dca/client/src/main.rs:176
↓ 1 callersFunctiondeactivate_subscription
( client: &Client, subscription: Pubkey, mint: Pubkey, )
subscriptions/client/src/commands/deactivate_subscription.rs:8
↓ 1 callersFunctiondefault_client
()
orca_dca/client/src/utils.rs:43
↓ 1 callersFunctiondefault_client
()
openbook_dca/client/src/utils.rs:98
↓ 1 callersFunctiondefault_client
()
pyth_feed/client/src/main.rs:116
↓ 1 callersFunctiondefault_client
()
openbook_crank/client/src/utils.rs:57
↓ 1 callersFunctiondefault_client
()
orca_whirlpool_dca/client/src/utils.rs:43
↓ 1 callersFunctiondiv_floor
(a: i32, b: i32)
orca_whirlpool_dca/crates/whirlpool/src/utils.rs:54
↓ 1 callersFunctionfetchCounter
(counter)
2-counter/tests/counter.ts:22
↓ 1 callersFunctionfundSource
( connection: Connection, payer: Keypair, source: PublicKey )
1-spl_transfer/tests/main.ts:112
↓ 1 callersFunctionfundSource
( connection: Connection, payer: Keypair, source: PublicKey )
spl_transfer/tests/main.ts:123
↓ 1 callersFunctionget_client
()
subscriptions/client/src/utils.rs:102
↓ 1 callersFunctionget_env_vars
()
subscriptions/client/src/utils.rs:54
↓ 1 callersFunctionget_id
()
subscriptions/client/src/utils.rs:84
↓ 1 callersFunctionget_start_tick_index
(tick_current_index: i32, tick_spacing: u16, offset: i32)
orca_whirlpool_dca/crates/whirlpool/src/utils.rs:28
↓ 1 callersFunctionget_tick_array_pubkey
( program_id: &Pubkey, whirlpool_pubkey: &Pubkey, start_tick_index: i32, )
orca_whirlpool_dca/crates/whirlpool/src/utils.rs:38
↓ 1 callersFunctionget_tick_array_pubkeys
( tick_current_index: i32, tick_spacing: u16, a_to_b: bool, program_id: &Pubkey, whirlpool
orca_whirlpool_dca/crates/whirlpool/src/utils.rs:7
↓ 1 callersFunctioninit_dex_account
(client: &Client, orders: &mut Option<Pubkey>)
openbook_dca/client/src/utils.rs:68
↓ 1 callersFunctioninitializeThread
(event: PublicKey)
event_stream/tests/event_stream.ts:64
↓ 1 callersFunctioninitialize_openbook_crank
( client: &Client, market_keys: &MarketKeys, id: String, )
openbook_crank/client/src/main.rs:76
↓ 1 callersFunctionkeypairFromFile
(path: string)
1-spl_transfer/tests/utils.ts:4
↓ 1 callersFunctionkeypairFromFile
(path: string)
spl_transfer/tests/utils.ts:4
↓ 1 callersMethodnew
( &mut self, authority: Pubkey, a_mint: Pubkey, b_mint: Pubkey, amount
orca_dca/programs/orca_dca/src/state/dca.rs:59
↓ 1 callersMethodnew
( &mut self, authority: Pubkey, market: Pubkey, pc_mint: Pubkey, coin_
openbook_dca/programs/openbook_dca/src/state/dca.rs:51
↓ 1 callersMethodnew
( &mut self, authority: Pubkey, recipient: Pubkey, recipient_token_account: Pu
distributor/programs/distributor/src/state/distributor.rs:50
↓ 1 callersMethodnew
(&mut self, authority: Pubkey, pyth_price_feed: Pubkey)
pyth_feed/programs/pyth_feed/src/state/feed.rs:39
↓ 1 callersMethodnew
(&mut self, authority: Pubkey, market: Pubkey, limit: u16)
openbook_crank/programs/openbook_crank/src/state/crank.rs:46
↓ 1 callersMethodnew
( &mut self, price_feed: Pubkey, authority: Pubkey, lookback_window: i64,
pyth_stats/programs/pyth_stats/src/state/stat.rs:46
↓ 1 callersMethodnew
( &mut self, authority: Pubkey, whirlpool: Pubkey, a_mint: Pubkey, b_m
orca_whirlpool_dca/programs/orca_whirlpool_dca/src/state/dca.rs:58
↓ 1 callersMethodnew
( &mut self, amount: u64, authority: Pubkey, mint: Pubkey, recipient:
payments/programs/payments/src/state/payment.rs:54
↓ 1 callersFunctionping
(event: PublicKey)
event_stream/tests/event_stream.ts:106
↓ 1 callersFunctionprepareAccounts
()
distributor/tests/distributor.ts:121
↓ 1 callersFunctionprepareMints
()
payments/tests/payments.ts:114
↓ 1 callersFunctionprint_address
(label, address)
event_stream/tests/event_stream.ts:124
↓ 1 callersFunctionprint_explorer_link
(address: Pubkey, label: String)
openbook_crank/client/src/utils.rs:47
↓ 1 callersFunctionprint_thread_address
(label, address)
event_stream/tests/event_stream.ts:132
↓ 1 callersFunctionprint_tx
(label, address)
utils/lib/index.ts:18
↓ 1 callersMethodpubkey
(authority: Pubkey, a_mint: Pubkey, b_mint: Pubkey)
orca_dca/programs/orca_dca/src/state/dca.rs:22
↓ 1 callersFunctionsign_send_and_confirm_tx
( client: &Client, ix: Vec<Instruction>, signers: Option<Vec<&Keypair>>, label: String, )
pyth_feed/client/src/main.rs:72
↓ 1 callersFunctionsign_send_and_confirm_tx
( client: &Client, ix: Vec<Instruction>, signers: Option<Vec<&Keypair>>, label: String, cl
pyth_stats/client/src/main.rs:145
↓ 1 callersFunctionstream_program_logs
(programId)
utils/lib/index.ts:22
↓ 1 callersFunctionsubscribe
( client: &Client, subscriber: Pubkey, subscription: Pubkey, subscriber_token_account: Pubkey,
subscriptions/client/src/commands/subscribe.rs:10
↓ 1 callersFunctionswap
* swap on orca whirlpool */
orca_whirlpool_dca/programs/orca_whirlpool_dca/src/lib.rs:65
↓ 1 callersFunctionunsubscribe
(client: &Client, subscriber: Pubkey, subscription: Pubkey)
subscriptions/client/src/commands/unsubscribe.rs:8
↓ 1 callersFunctionupdateDistributor
( authority: Signer, distributor: PublicKey, distributorThread: PublicKey, amount: bigint,
distributor/tests/distributor.ts:219
↓ 1 callersFunctionupdatePayment
( payment: PublicKey, amount: bigint, )
payments/tests/payments.ts:237
↓ 1 callersFunctionupdate_auhority
( client: &Client, subscription: Pubkey, new_authority: Pubkey, )
subscriptions/client/src/commands/update_authority.rs:8
↓ 1 callersFunctionwaitForThreadExec
( clockworkProvider: ClockworkProvider, thread: PublicKey, maxWait: number = 60 )
1-spl_transfer/tests/utils.ts:12
↓ 1 callersFunctionwaitForThreadExec
( clockworkProvider: ClockworkProvider, thread: PublicKey, maxWait: number = 60 )
spl_transfer/tests/utils.ts:12
↓ 1 callersFunctionwithdraw
( client: &Client, payer_token_account: Pubkey, subscription_bank: Pubkey, subscription: Pubke
subscriptions/client/src/commands/withdraw.rs:9
Function_load_entries
(data: Ref<'a, &mut [u8]>)
pyth_stats/programs/pyth_stats/src/instructions/calc.rs:183
Methodbank_pda
(subscription: Pubkey, owner: Pubkey)
subscriptions/programs/subscriptions/src/state/subscription.rs:36
Functioncalc
(ctx: Context<Calc>)
pyth_stats/programs/pyth_stats/src/lib.rs:19
Functioncrank_delete
(client: &Client, market_keys: &MarketKeys, id: String)
openbook_crank/client/src/main.rs:146
Functioncreate
* initialize distributor account */
distributor/programs/distributor/src/lib.rs:18
Functioncreate_feed
(ctx: Context<'_, '_, '_, 'info, CreateFeed<'info>>)
pyth_feed/programs/pyth_feed/src/lib.rs:15
Functioncreate_payment
* Create Payment Approval */
payments/programs/payments/src/lib.rs:18
Functioncreate_subscriber
* create subscriber */
subscriptions/programs/subscriptions/src/lib.rs:64
next →1–100 of 209, ranked by callers