MCPcopy Create free account

hub / github.com/SorellaLabs/angstrom / functions

Functions2,519 in github.com/SorellaLabs/angstrom

↓ 6 callersMethodscale_to_fee
Scale this price to a given fee
crates/types/primitives/src/primitive/ray.rs:284
↓ 6 callersMethodsend_to_network_manager
Sends a [`NetworkHandleMessage`] to the manager
crates/angstrom-net/src/network.rs:35
↓ 6 callersFunctionsetup
sets up pools with prices for all scenarios
crates/validation/src/common/token_pricing.rs:522
↓ 6 callersFunctionsetup_state_machine
()
crates/consensus/src/rounds/mod.rs:588
↓ 6 callersMethodsimulate_swap
( &self, token_in: Address, amount_specified: I256, sqrt_price_limit_x96: Opti
crates/uniswap-v4/src/uniswap/pool.rs:503
↓ 6 callersMethodsubscribe_to_canonical_state
(&self)
testing-tools/src/providers/state_provider.rs:257
↓ 6 callersMethodtick
(&self)
crates/types/src/uni_structure/donation.rs:44
↓ 6 callersMethodto_tick
(&self)
crates/types/primitives/src/primitive/sqrtprice.rs:50
↓ 6 callersFunctiontrack
(name: str)
contracts/test/_reference/eip712.py:147
↓ 6 callersMethodtwo_thirds_of_validation_set
(&self)
crates/consensus/src/rounds/mod.rs:255
↓ 6 callersMethodwith_storage
(mut self, order_storage: Arc<OrderStorage>)
crates/angstrom-net/src/pool_manager.rs:173
↓ 6 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/uni_structure/pool_swap.rs:373
↓ 5 callersMethodangstrom
(&self)
testing-tools/src/contracts/environment/angstrom.rs:123
↓ 5 callersMethodanvil_rpc_endpoint
(&self, _: u64)
testing-tools/src/types/config/replay.rs:49
↓ 5 callersMethodcall
(&mut self, req: RequestPacket)
crates/types/src/submission/mev_boost.rs:226
↓ 5 callersMethodfetch_filled_order
( &'a self, chain: &'a impl ChainExt )
crates/eth/src/manager.rs:267
↓ 5 callersMethodfill_amount
(&self, max: u128)
crates/types/primitives/src/orders/mod.rs:34
↓ 5 callersMethodfinalize_pending_txs
(&mut self)
testing-tools/src/types/initial_state.rs:48
↓ 5 callersMethodfor_block
(self, block: u64)
testing-tools/src/type_generator/consensus/proposal.rs:44
↓ 5 callersMethodfrom
((block, value): (u64, &OrderIndexer<V>))
crates/order-pool/src/telemetry.rs:23
↓ 5 callersMethodget_asset_array
(&self)
crates/types/primitives/src/contract_payloads/asset/mod.rs:55
↓ 5 callersMethodget_eth_conversion_price
NOTE: assumes tokens are properly sorted. the previous prices are stored in RAY (1e27). returns price in GAS / t0
crates/validation/src/common/token_pricing.rs:351
↓ 5 callersMethodget_max_fee_zero
returns at zero
crates/types/primitives/src/orders/builders/user.rs:175
↓ 5 callersMethodget_peer
(&self, id: u64)
testing-tools/src/controllers/enviroments/mod.rs:83
↓ 5 callersMethodhas_hook
(&self)
crates/types/primitives/src/sol_bindings/ext/grouped_orders.rs:235
↓ 5 callersFunctioni32_to_i24
(val: i32)
crates/uniswap-v4/src/uniswap/mod.rs:18
↓ 5 callersMethodis_bid
(self, is_bid: bool)
testing-tools/src/type_generator/orders/stored.rs:31
↓ 5 callersMethodis_standing
Sets the order to be kill-or-fill or standing by explicit boolean
crates/types/primitives/src/orders/builders/user.rs:52
↓ 5 callersFunctionlow_to_high
Take two items that can be compared and return them as a tuple with the "lower" item as the first element and the higher item as the second element
crates/types/primitives/src/primitive/matching_math.rs:337
↓ 5 callersFunctionmatches_all_filters
( filters: &HashSet<OrderSubscriptionFilter>, pool_id: PoolId, address: Address, is_tob: bool
crates/rpc/src/orders.rs:213
↓ 5 callersMethodmax_wait_time_ms
(&self)
crates/types/primitives/src/consensus/mod.rs:76
↓ 5 callersMethodmin_wait_time_ms
(&self)
crates/types/primitives/src/consensus/mod.rs:72
↓ 5 callersMethodnew_order
(&mut self, order: OrderWithStorageData<AllOrders>)
crates/order-pool/src/limit/parked.rs:68
↓ 5 callersMethodnode_address
(&self)
crates/telemetry/src/lib.rs:49
↓ 5 callersMethodprovider
(&self)
testing-tools/src/contracts/environment/uniswap.rs:123
↓ 5 callersMethodprovider
(&self)
testing-tools/src/contracts/environment/angstrom.rs:172
↓ 5 callersFunctionpublic_key_to_peer_id
Taken from alloy impl
crates/types/primitives/src/primitive/signer.rs:51
↓ 5 callersMethodrandom_valid_id
(&self)
testing-tools/src/controllers/enviroments/mod.rs:77
↓ 5 callersMethodrecord_state_transition
( &self, block: u64, state: &str, slot_offset_ms: u64, limit: usize,
crates/metrics/src/block_metrics.rs:19
↓ 5 callersMethodremove_order
( &mut self, pool_id: PoolId, order_id: alloy::primitives::FixedBytes<32> )
crates/order-pool/src/limit/standard.rs:170
↓ 5 callersMethodrun
(self, executor: TaskExecutor)
bin/sepolia-bundle-lander/src/cli.rs:35
↓ 5 callersMethodrun_safe
(self)
testing-tools/src/contracts/mod.rs:39
↓ 5 callersMethodrun_to_completion
(mut self, executor: TaskExecutor)
testing-tools/src/controllers/enviroments/replay.rs:147
↓ 5 callersMethodsample
(&self, rng: &mut R)
crates/types/primitives/src/sol_bindings/testnet/random/implementations.rs:13
↓ 5 callersMethodsessions_mut
(&mut self)
crates/angstrom-net/src/swarm.rs:38
↓ 5 callersFunctionsetup_mock_fetch
()
crates/validation/src/order/state/db_state_utils/mod.rs:277
↓ 5 callersMethodsign_transaction_inner
( &self, tx: &mut dyn SignableTransaction<Signature> )
crates/types/primitives/src/primitive/signer.rs:40
↓ 5 callersMethodslot_offset_ms
Get the current slot offset in milliseconds
crates/consensus/src/rounds/mod.rs:237
↓ 5 callersMethodspawn
( angstrom_address: Address, periphery_address: Address, canonical_updates: CanonState
crates/eth/src/manager.rs:67
↓ 5 callersMethodstart_network
(&self)
testing-tools/src/controllers/strom/node.rs:274
↓ 5 callersMethodsubscribe
(&mut self)
testing-tools/src/mocks/eth_events.rs:57
↓ 5 callersMethodswap
(mut self)
crates/types/src/uni_structure/pool_swap.rs:26
↓ 5 callersMethodwith_chain_id
(self, chain_id: u64)
crates/types/constants/src/lib.rs:58
↓ 5 callersMethodwith_secret_key
(self, sk: AngstromSigner<PrivateKeySigner>)
testing-tools/src/type_generator/consensus/proposal.rs:78
↓ 4 callersMethodamount
(&self)
crates/types/primitives/src/sol_bindings/ext/grouped_orders.rs:272
↓ 4 callersFunctionanvil_mine_delay
will wait for a specific delay and then call anvil mine wallet. this will allow us to quick mine and not have to wait the 12 seconds between transacti
testing-tools/src/contracts/mod.rs:196
↓ 4 callersMethodas_f64
Uses malachite.rs to approximate this value as a floating point number. Converts from the internal U256 representation to an approximated f64 represen
crates/types/primitives/src/primitive/ray.rs:396
↓ 4 callersMethodas_wallet_state_provider
(&self)
testing-tools/src/providers/state_provider.rs:72
↓ 4 callersMethodask
(self)
testing-tools/src/type_generator/orders/stored.rs:27
↓ 4 callersFunctionasync_to_sync
(f: F)
crates/uniswap-v4/src/lib.rs:744
↓ 4 callersMethodbid
(self)
testing-tools/src/type_generator/orders/stored.rs:23
↓ 4 callersMethodbuild_hashes
(self)
testing-tools/src/type_generator/orders/distribution.rs:65
↓ 4 callersMethodbuild_with_channels
( self, task_executor: TaskExecutor, tx: UnboundedSender<OrderCommand>, rx: Un
crates/angstrom-net/src/pool_manager.rs:178
↓ 4 callersMethodcalc_quantities
(&self, target_price: Ray)
crates/types/src/matching/composite.rs:46
↓ 4 callersFunctionconst_2_192
()
crates/types/primitives/src/primitive/matching_price.rs:29
↓ 4 callersMethodcontroller_v1
(&self)
testing-tools/src/contracts/environment/angstrom.rs:127
↓ 4 callersMethodcurrent
(final_tick: i32, donation: u128, liquidity: u128)
crates/types/src/uni_structure/donation.rs:16
↓ 4 callersMethoddecr_all_orders
(&self, pool_id: PoolId, count: usize)
crates/metrics/src/order_pool/limit_pool.rs:224
↓ 4 callersMethoddefault_signer_address
(&self)
crates/types/primitives/src/primitive/signer.rs:91
↓ 4 callersMethodduration_to_next_slot
(&self)
crates/types/src/consensus/slot_clock.rs:157
↓ 4 callersMethodestimate_gas
( &self, is_book: bool, is_internal: bool, token_0: Address, token_1:
crates/rpc/src/orders.rs:68
↓ 4 callersMethodfactory
(&self)
crates/types/src/reth_db_provider.rs:81
↓ 4 callersFunctionfind_slot_offset_for_balance
panics if we cannot find the slot for the given token
crates/validation/src/order/state/db_state_utils/finders.rs:27
↓ 4 callersMethodflip_tick
(&mut self, tick: i32, tick_spacing: i32)
crates/uniswap-v4/src/uniswap/pool.rs:622
↓ 4 callersMethodfrom
(error: OrderApiError)
crates/rpc/src/orders.rs:185
↓ 4 callersMethodgenerate_slot
(&self, of: Address)
crates/validation/src/order/state/config.rs:33
↓ 4 callersMethodgenesis_duration
(&self)
crates/types/src/consensus/slot_clock.rs:174
↓ 4 callersMethodget_account
(&self, address: Address)
testing-tools/src/providers/rpc_provider.rs:29
↓ 4 callersMethodid
(&self)
crates/types/primitives/src/primitive/signer.rs:36
↓ 4 callersMethodinitialize
( &mut self, block_number: Option<BlockNumber>, provider: Arc<P> )
crates/uniswap-v4/src/uniswap/pool.rs:134
↓ 4 callersMethodinto_state_provider
(&mut self)
testing-tools/src/providers/anvil_provider.rs:63
↓ 4 callersMethodinvert
(&self, rm: RoundingMode)
crates/types/primitives/src/primitive/ray.rs:325
↓ 4 callersMethodinvert_or_else
(self, predicate: F)
crates/utils/src/lib.rs:35
↓ 4 callersMethodis_filled
(&self)
crates/types/primitives/src/orders/mod.rs:30
↓ 4 callersMethodis_leader
(&self, _node_id: u64)
testing-tools/src/types/config/replay.rs:45
↓ 4 callersMethodis_valid
(&self)
crates/types/primitives/src/consensus/mod.rs:68
↓ 4 callersMethodlower_tick
(&self)
crates/types/src/matching/uniswap/liqrange.rs:89
↓ 4 callersFunctionmetrics
()
crates/metrics/src/block_metrics_stream/health.rs:47
↓ 4 callersMethodmul_ray_assign
self * other / ray
crates/types/primitives/src/primitive/ray.rs:296
↓ 4 callersMethodnetwork_handle
(&self)
testing-tools/src/network/eth_peer.rs:37
↓ 4 callersMethodnew_block
(&self, completed_orders: Vec<B256>, address_changes: Vec<Address>)
crates/validation/src/order/state/mod.rs:66
↓ 4 callersMethodnoop
(&self)
crates/types/src/uni_structure/mod.rs:45
↓ 4 callersMethodnotify_order_subscribers
(&mut self, update: PoolManagerUpdate)
crates/order-pool/src/order_subscribers.rs:40
↓ 4 callersMethodon_inner
(&self, f: F)
testing-tools/src/controllers/state_lock.rs:231
↓ 4 callersMethodon_inner_mut
(&self, f: F)
testing-tools/src/controllers/state_lock.rs:238
↓ 4 callersMethodorder_count
(self, order_count: usize)
testing-tools/src/type_generator/consensus/proposal.rs:32
↓ 4 callersMethodorder_hash
(&self, pair: &[Pair], asset: &[Asset], block: u64)
crates/types/primitives/src/contract_payloads/angstrom/tob.rs:110
↓ 4 callersMethodpartial
(self)
crates/types/primitives/src/orders/builders/user.rs:60
↓ 4 callersMethodpeer_id
(&self)
testing-tools/src/controllers/strom/node.rs:166
↓ 4 callersMethodpoll_next
(self: Pin<&mut Self>, cx: &mut Context<'_>)
crates/consensus/src/rounds/mod.rs:160
← previousnext →201–300 of 2,519, ranked by callers