MCPcopy Create free account

hub / github.com/SorellaLabs/angstrom / functions

Functions2,519 in github.com/SorellaLabs/angstrom

↓ 4 callersMethodpre_fee_and_gas_price
(&self, fee: u128)
crates/types/primitives/src/sol_bindings/ext/grouped_orders.rs:164
↓ 4 callersMethodpropagate_message
(&mut self, message: ConsensusMessage)
crates/consensus/src/rounds/mod.rs:247
↓ 4 callersMethodranges_for_ticks
Returns a list of references to all liquidity ranges including and between the given Ticks. These ranges will be continuous in order, and in the order
crates/types/src/matching/uniswap/poolsnapshot.rs:128
↓ 4 callersMethodrecover_signer
(&self)
crates/types/primitives/src/consensus/proposal.rs:71
↓ 4 callersMethodremove_order
(&self, id: &OrderId)
crates/order-pool/src/order_storage.rs:353
↓ 4 callersMethodremove_searcher_order
(&self, id: &OrderId)
crates/order-pool/src/order_storage.rs:375
↓ 4 callersFunctionresolve_precision
(precision: usize, number: Integer, rm: RoundingMode)
crates/types/primitives/src/primitive/matching_math.rs:327
↓ 4 callersFunctionrun
()
bin/testnet/src/lib.rs:10
↓ 4 callersMethodsend_message
Send Strom message to peer
crates/angstrom-net/src/network.rs:40
↓ 4 callersFunctionsetup_basic_pool
()
crates/types/src/matching/uniswap/poolsnapshot.rs:315
↓ 4 callersMethodsigning_hash
(&self, pair: &[Pair], asset: &[Asset], block: u64)
crates/types/primitives/src/contract_payloads/angstrom/tob.rs:119
↓ 4 callersMethodspawn_anvil_rpc
(&self)
testing-tools/src/types/config/node.rs:159
↓ 4 callersMethodswap_to_price
(&'a self, price_limit: SqrtPriceX96)
crates/types/src/uni_structure/pool_swap.rs:165
↓ 4 callersMethodswarm_mut
(&mut self)
crates/angstrom-net/src/manager.rs:202
↓ 4 callersMethodt0_signed
Returns the amount of T0 exchanged over this swap with a sign attached, negative if performing this swap consumes T0 (T0 is the input quantity for the
crates/types/src/uni_structure/pool_swap.rs:355
↓ 4 callersMethodt1_signed
Returns the amount of T1 exchanged over this swap with a sign attached, negative if performing this swap consumes T1 (T1 is the input quantity for the
crates/types/src/uni_structure/pool_swap.rs:364
↓ 4 callersMethodtoken_pricing_ref
(&self)
crates/validation/src/common/mod.rs:40
↓ 4 callersMethodtry_fetch_live_pending_state
for the given user and token_in, and nonce, will return none if there is no baseline information for the given user account.
crates/validation/src/order/state/account/user.rs:394
↓ 4 callersMethodtry_into
(self)
bin/replay/src/lib.rs:68
↓ 4 callersMethodtry_notify_validation_subscribers
( &mut self, hash: &B256, result: OrderValidationResults )
crates/order-pool/src/order_subscribers.rs:65
↓ 4 callersMethodupper_tick
(&self)
crates/types/src/matching/uniswap/liqrange.rs:93
↓ 4 callersMethodvalid_for_price
Will return true if the price provided is equivalent to the current price of this debt due to the rounding innate to performing the actual transaction
crates/types/src/matching/debt.rs:204
↓ 4 callersMethodwith_config
(mut self, config: PoolConfig)
crates/angstrom-net/src/pool_manager.rs:168
↓ 4 callersMethodzero_for_one
Returns a boolean indicating whether this PoolPriceVec is `zero_for_one`. This will be true if the AMM is buying T0 and the AMM price is decreasing,
crates/types/src/matching/uniswap/poolpricevec.rs:249
↓ 3 callersMethod_simulate_swap
Obvious doc: Sims the swap to get the state changes after applying it (maybe) Not so obvious doc: Testing: If the goal is to test the implementati
crates/uniswap-v4/src/uniswap/pool.rs:358
↓ 3 callersMethodadd_checked_action
( &mut self, checked_action_name: &'static str, checked_action: F )
testing-tools/src/controllers/enviroments/state_machine.rs:85
↓ 3 callersMethodadd_gas_fee
(&mut self, q: u128)
crates/types/primitives/src/contract_payloads/asset/state.rs:66
↓ 3 callersMethodadd_order
(&mut self, order: OrderWithStorageData<Order>)
crates/order-pool/src/limit/pending.rs:39
↓ 3 callersMethodadvance_block
(&mut self)
testing-tools/src/types/state_machine_utils/actions.rs:52
↓ 3 callersMethodallocate
Attempt to use tokens from contract liquidity. If we don't have enough tokens there, add the difference to our Uniswap take/settle
crates/types/primitives/src/contract_payloads/asset/state.rs:29
↓ 3 callersMethodamm
(mut self, amm: Option<PoolSnapshot>)
testing-tools/src/type_generator/book.rs:43
↓ 3 callersMethodangstrom_validator
(&self)
testing-tools/src/types/config/node.rs:84
↓ 3 callersMethodapply_ticks
(&mut self, mut fetched_ticks: Vec<TickData>)
crates/uniswap-v4/src/uniswap/pool.rs:192
↓ 3 callersFunctionasync_to_sync
(f: F)
crates/uniswap-v4/src/uniswap/pool_manager.rs:374
↓ 3 callersMethodbuild
(self)
crates/types/primitives/src/orders/builders/stored.rs:61
↓ 3 callersMethodbuild_and_sign_tx_with_gas
( &'a self, signer: &'a AngstromSigner<S>, bundle: &'a AngstromBundle, tx_feat
crates/types/src/submission/mod.rs:121
↓ 3 callersMethodcalculate_price
(&self)
crates/uniswap-v4/src/uniswap/pool.rs:335
↓ 3 callersMethodcan_operate
(&self)
crates/types/src/block_sync.rs:251
↓ 3 callersMethodcmp
This implements the "default" sort which is to sort first by price, then by volume, then gas, then gas_units We might want to remove this given that o
crates/types/primitives/src/primitive/order_pool.rs:118
↓ 3 callersMethodd_t0
Presuming a transaction in T0, return a new PoolPrice. We error if we're not able to move enough in the direction we want to.
crates/types/src/matching/uniswap/poolprice.rs:111
↓ 3 callersMethoddata_loader
(&self)
crates/uniswap-v4/src/uniswap/pool.rs:85
↓ 3 callersMethoddebt_direction
(&self, target_price: Ray)
crates/types/src/matching/composite.rs:78
↓ 3 callersMethoddecr_parked_orders
(&self, pool_id: PoolId, count: usize)
crates/metrics/src/order_pool/limit_pool.rs:103
↓ 3 callersMethoddecr_total_orders
(&self, count: usize)
crates/metrics/src/order_pool/limit_pool.rs:71
↓ 3 callersMethoddeploy_pool_fulls
deploys multiple pools (pool key, liquidity, sqrt price)
testing-tools/src/providers/initializer.rs:151
↓ 3 callersMethoddisconnect
(&mut self, id: PeerId, reason: Option<DisconnectReason>)
crates/angstrom-net/src/session/mod.rs:129
↓ 3 callersMethodeth_network_handle
(&self)
testing-tools/src/controllers/strom/node.rs:180
↓ 3 callersMethodexternal_swap
Execute a swap that comes from an external user - this is a ToB swap or a User Swap
crates/types/primitives/src/contract_payloads/asset/state.rs:136
↓ 3 callersMethodfetch_all_invalidated_orders
(&self, user: UserAddress, token: TokenAddress)
crates/validation/src/order/state/account/user.rs:355
↓ 3 callersMethodfind_closest_bound
(&self, external_bound: Ray)
crates/types/src/matching/composite.rs:67
↓ 3 callersFunctionfind_slot_offset_for_approval
panics if we cannot prove the slot for the given token
crates/validation/src/order/state/db_state_utils/finders.rs:87
↓ 3 callersMethodfinish_new_block_processing
( &mut self, block_number: BlockNumber, mut completed_orders: Vec<B256>, addre
crates/order-pool/src/order_indexer.rs:428
↓ 3 callersMethodflash_block
(&self)
crates/types/primitives/src/sol_bindings/ext/grouped_orders.rs:247
↓ 3 callersMethodfmt_result
(self, i: usize, name: &'static str)
testing-tools/src/types/hooks.rs:35
↓ 3 callersMethodfrom_checkpoint
Spawn a new VolumeFillBookSolver from our checkpoint
crates/matching-engine/src/matcher/volume.rs:103
↓ 3 callersMethodgenerate_price
updates the mean price
testing-tools/src/order_generator/mod.rs:122
↓ 3 callersMethodget_all_orders
(&self)
crates/order-pool/src/searcher/mod.rs:136
↓ 3 callersMethodget_all_pool_ids
(&self)
crates/order-pool/src/searcher/mod.rs:104
↓ 3 callersMethodget_logs
(&self, filter: &Filter)
crates/uniswap-v4/src/uniswap/pool_providers/provider_adapter.rs:43
↓ 3 callersMethodhandle_commit
(&mut self, new: Arc<impl ChainExt>)
crates/eth/src/manager.rs:164
↓ 3 callersMethodhandle_pre_proposal_aggregation
( &mut self, pre_proposal_agg: PreProposalAggregation, pre_proposal_agg_set: &mut Hash
crates/consensus/src/rounds/mod.rs:354
↓ 3 callersMethodhas_error
(&self)
crates/telemetry/src/blocklog.rs:69
↓ 3 callersMethodhas_order
(&self, order_hash: B256)
crates/order-pool/src/searcher/mod.rs:47
↓ 3 callersMethodincr_peer_id
increments the `current_max_peer_id` and returns the previous value
testing-tools/src/controllers/enviroments/mod.rs:71
↓ 3 callersMethodincr_total_orders
(&self, count: usize)
crates/metrics/src/order_pool/limit_pool.rs:67
↓ 3 callersFunctioninit_with_chain_id
(chain_id: ChainId)
crates/types/constants/src/lib.rs:311
↓ 3 callersMethodinitialize_state_no_bytes
( &mut self, ex: TaskExecutor )
testing-tools/src/providers/initializer.rs:423
↓ 3 callersFunctioninitialize_strom_handles
()
bin/angstrom/src/components.rs:141
↓ 3 callersMethodinsert_cancel_with_deadline
( &mut self, from: Address, order_hash: &B256, deadline: Option<U256> )
crates/order-pool/src/order_tracker.rs:195
↓ 3 callersMethodinto_reward_updates
(&self)
crates/types/src/uni_structure/donation.rs:149
↓ 3 callersFunctioninvalid_params_rpc_err
(msg: impl Into<String>)
crates/rpc/src/orders.rs:194
↓ 3 callersMethodis_banned
(&self)
crates/angstrom-net/src/peers/manager.rs:192
↓ 3 callersFunctionis_banned_reputation
(reputation: i32)
crates/angstrom-net/src/peers/reputation.rs:55
↓ 3 callersMethodis_composite
(&self)
crates/matching-engine/src/book/order.rs:45
↓ 3 callersMethodis_currently_valid
(&self)
crates/types/primitives/src/sol_bindings/ext/grouped_orders.rs:80
↓ 3 callersMethodis_higher_priority
(&self, other: &Self)
crates/types/primitives/src/sol_bindings/ext/mod.rs:152
↓ 3 callersMethodis_solidity
(&self)
crates/validation/src/order/state/config.rs:16
↓ 3 callersMethodis_success
(&self)
crates/types/src/submission/angstrom.rs:225
↓ 3 callersMethodis_vanilla
(&self)
crates/types/primitives/src/sol_bindings/ext/grouped_orders.rs:43
↓ 3 callersMethodload_pool_data
( &self, _: Option<BlockNumber>, _: Arc<P> )
crates/uniswap-v4/src/uniswap/pool.rs:781
↓ 3 callersMethodmax_gas
(self, gas: u128)
crates/types/primitives/src/orders/builders/tob.rs:29
↓ 3 callersMethodmessage_id
Returns the message's ID.
crates/angstrom-net/src/types/message.rs:134
↓ 3 callersMethodnew_block
(&self, users: Vec<Address>, orders: Vec<B256>)
crates/validation/src/order/state/account/user.rs:193
↓ 3 callersMethodnode_count
(&self)
testing-tools/src/types/config/replay.rs:57
↓ 3 callersMethodnode_provider
(&self, node_id: Option<u64>)
testing-tools/src/controllers/enviroments/mod.rs:57
↓ 3 callersMethodnode_pubkey
(&self)
crates/angstrom-net/src/manager.rs:66
↓ 3 callersMethodon_order_cancel
(&mut self, hash: B256)
bin/counter-matcher/src/order_manager.rs:123
↓ 3 callersMethodorder_signature
(&self)
crates/types/primitives/src/sol_bindings/ext/grouped_orders.rs:305
↓ 3 callersMethodorders_by_pool
(&self, pool_id: PoolId, location: OrderLocation)
crates/order-pool/src/order_indexer.rs:83
↓ 3 callersMethodoutput
( &self, blocklog: BlockLog )
crates/telemetry/src/outputs/s3.rs:30
↓ 3 callersFunctionpeer_id_to_addr
(id: PeerId)
testing-tools/src/types/state_machine_utils/checked_actions.rs:97
↓ 3 callersMethodpeers_mut
(&mut self)
crates/angstrom-net/src/state.rs:28
↓ 3 callersFunctionpin_action
(fut: F)
testing-tools/src/types/state_machine_utils/checked_actions.rs:90
↓ 3 callersMethodpool_gate
(&self)
testing-tools/src/contracts/environment/uniswap.rs:106
↓ 3 callersMethodpool_manager
(&self)
testing-tools/src/contracts/environment/uniswap.rs:140
↓ 3 callersMethodprice
(&self)
testing-tools/src/type_generator/consensus/pool.rs:36
↓ 3 callersMethodprice
(&self)
crates/types/src/matching/uniswap/poolprice.rs:331
↓ 3 callersMethodproposer_selection
(&mut self)
crates/consensus/src/leader_selection.rs:34
↓ 3 callersMethodprovider
(&self)
testing-tools/src/providers/state_provider.rs:64
↓ 3 callersMethodprovider_at
(&self, block_id: BlockId)
crates/types/src/reth_db_provider.rs:197
← previousnext →301–400 of 2,519, ranked by callers