Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SorellaLabs/angstrom
/ functions
Functions
2,519 in github.com/SorellaLabs/angstrom
⨍
Functions
2,519
◇
Types & classes
528
↓ 6 callers
Method
scale_to_fee
Scale this price to a given fee
crates/types/primitives/src/primitive/ray.rs:284
↓ 6 callers
Method
send_to_network_manager
Sends a [`NetworkHandleMessage`] to the manager
crates/angstrom-net/src/network.rs:35
↓ 6 callers
Function
setup
sets up pools with prices for all scenarios
crates/validation/src/common/token_pricing.rs:522
↓ 6 callers
Function
setup_state_machine
()
crates/consensus/src/rounds/mod.rs:588
↓ 6 callers
Method
simulate_swap
( &self, token_in: Address, amount_specified: I256, sqrt_price_limit_x96: Opti
crates/uniswap-v4/src/uniswap/pool.rs:503
↓ 6 callers
Method
subscribe_to_canonical_state
(&self)
testing-tools/src/providers/state_provider.rs:257
↓ 6 callers
Method
tick
(&self)
crates/types/src/uni_structure/donation.rs:44
↓ 6 callers
Method
to_tick
(&self)
crates/types/primitives/src/primitive/sqrtprice.rs:50
↓ 6 callers
Function
track
(name: str)
contracts/test/_reference/eip712.py:147
↓ 6 callers
Method
two_thirds_of_validation_set
(&self)
crates/consensus/src/rounds/mod.rs:255
↓ 6 callers
Method
with_storage
(mut self, order_storage: Arc<OrderStorage>)
crates/angstrom-net/src/pool_manager.rs:173
↓ 6 callers
Method
zero_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 callers
Method
angstrom
(&self)
testing-tools/src/contracts/environment/angstrom.rs:123
↓ 5 callers
Method
anvil_rpc_endpoint
(&self, _: u64)
testing-tools/src/types/config/replay.rs:49
↓ 5 callers
Method
call
(&mut self, req: RequestPacket)
crates/types/src/submission/mev_boost.rs:226
↓ 5 callers
Method
fetch_filled_order
( &'a self, chain: &'a impl ChainExt )
crates/eth/src/manager.rs:267
↓ 5 callers
Method
fill_amount
(&self, max: u128)
crates/types/primitives/src/orders/mod.rs:34
↓ 5 callers
Method
finalize_pending_txs
(&mut self)
testing-tools/src/types/initial_state.rs:48
↓ 5 callers
Method
for_block
(self, block: u64)
testing-tools/src/type_generator/consensus/proposal.rs:44
↓ 5 callers
Method
from
((block, value): (u64, &OrderIndexer<V>))
crates/order-pool/src/telemetry.rs:23
↓ 5 callers
Method
get_asset_array
(&self)
crates/types/primitives/src/contract_payloads/asset/mod.rs:55
↓ 5 callers
Method
get_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 callers
Method
get_max_fee_zero
returns at zero
crates/types/primitives/src/orders/builders/user.rs:175
↓ 5 callers
Method
get_peer
(&self, id: u64)
testing-tools/src/controllers/enviroments/mod.rs:83
↓ 5 callers
Method
has_hook
(&self)
crates/types/primitives/src/sol_bindings/ext/grouped_orders.rs:235
↓ 5 callers
Function
i32_to_i24
(val: i32)
crates/uniswap-v4/src/uniswap/mod.rs:18
↓ 5 callers
Method
is_bid
(self, is_bid: bool)
testing-tools/src/type_generator/orders/stored.rs:31
↓ 5 callers
Method
is_standing
Sets the order to be kill-or-fill or standing by explicit boolean
crates/types/primitives/src/orders/builders/user.rs:52
↓ 5 callers
Function
low_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 callers
Function
matches_all_filters
( filters: &HashSet<OrderSubscriptionFilter>, pool_id: PoolId, address: Address, is_tob: bool
crates/rpc/src/orders.rs:213
↓ 5 callers
Method
max_wait_time_ms
(&self)
crates/types/primitives/src/consensus/mod.rs:76
↓ 5 callers
Method
min_wait_time_ms
(&self)
crates/types/primitives/src/consensus/mod.rs:72
↓ 5 callers
Method
new_order
(&mut self, order: OrderWithStorageData<AllOrders>)
crates/order-pool/src/limit/parked.rs:68
↓ 5 callers
Method
node_address
(&self)
crates/telemetry/src/lib.rs:49
↓ 5 callers
Method
provider
(&self)
testing-tools/src/contracts/environment/uniswap.rs:123
↓ 5 callers
Method
provider
(&self)
testing-tools/src/contracts/environment/angstrom.rs:172
↓ 5 callers
Function
public_key_to_peer_id
Taken from alloy impl
crates/types/primitives/src/primitive/signer.rs:51
↓ 5 callers
Method
random_valid_id
(&self)
testing-tools/src/controllers/enviroments/mod.rs:77
↓ 5 callers
Method
record_state_transition
( &self, block: u64, state: &str, slot_offset_ms: u64, limit: usize,
crates/metrics/src/block_metrics.rs:19
↓ 5 callers
Method
remove_order
( &mut self, pool_id: PoolId, order_id: alloy::primitives::FixedBytes<32> )
crates/order-pool/src/limit/standard.rs:170
↓ 5 callers
Method
run
(self, executor: TaskExecutor)
bin/sepolia-bundle-lander/src/cli.rs:35
↓ 5 callers
Method
run_safe
(self)
testing-tools/src/contracts/mod.rs:39
↓ 5 callers
Method
run_to_completion
(mut self, executor: TaskExecutor)
testing-tools/src/controllers/enviroments/replay.rs:147
↓ 5 callers
Method
sample
(&self, rng: &mut R)
crates/types/primitives/src/sol_bindings/testnet/random/implementations.rs:13
↓ 5 callers
Method
sessions_mut
(&mut self)
crates/angstrom-net/src/swarm.rs:38
↓ 5 callers
Function
setup_mock_fetch
()
crates/validation/src/order/state/db_state_utils/mod.rs:277
↓ 5 callers
Method
sign_transaction_inner
( &self, tx: &mut dyn SignableTransaction<Signature> )
crates/types/primitives/src/primitive/signer.rs:40
↓ 5 callers
Method
slot_offset_ms
Get the current slot offset in milliseconds
crates/consensus/src/rounds/mod.rs:237
↓ 5 callers
Method
spawn
( angstrom_address: Address, periphery_address: Address, canonical_updates: CanonState
crates/eth/src/manager.rs:67
↓ 5 callers
Method
start_network
(&self)
testing-tools/src/controllers/strom/node.rs:274
↓ 5 callers
Method
subscribe
(&mut self)
testing-tools/src/mocks/eth_events.rs:57
↓ 5 callers
Method
swap
(mut self)
crates/types/src/uni_structure/pool_swap.rs:26
↓ 5 callers
Method
with_chain_id
(self, chain_id: u64)
crates/types/constants/src/lib.rs:58
↓ 5 callers
Method
with_secret_key
(self, sk: AngstromSigner<PrivateKeySigner>)
testing-tools/src/type_generator/consensus/proposal.rs:78
↓ 4 callers
Method
amount
(&self)
crates/types/primitives/src/sol_bindings/ext/grouped_orders.rs:272
↓ 4 callers
Function
anvil_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 callers
Method
as_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 callers
Method
as_wallet_state_provider
(&self)
testing-tools/src/providers/state_provider.rs:72
↓ 4 callers
Method
ask
(self)
testing-tools/src/type_generator/orders/stored.rs:27
↓ 4 callers
Function
async_to_sync
(f: F)
crates/uniswap-v4/src/lib.rs:744
↓ 4 callers
Method
bid
(self)
testing-tools/src/type_generator/orders/stored.rs:23
↓ 4 callers
Method
build_hashes
(self)
testing-tools/src/type_generator/orders/distribution.rs:65
↓ 4 callers
Method
build_with_channels
( self, task_executor: TaskExecutor, tx: UnboundedSender<OrderCommand>, rx: Un
crates/angstrom-net/src/pool_manager.rs:178
↓ 4 callers
Method
calc_quantities
(&self, target_price: Ray)
crates/types/src/matching/composite.rs:46
↓ 4 callers
Function
const_2_192
()
crates/types/primitives/src/primitive/matching_price.rs:29
↓ 4 callers
Method
controller_v1
(&self)
testing-tools/src/contracts/environment/angstrom.rs:127
↓ 4 callers
Method
current
(final_tick: i32, donation: u128, liquidity: u128)
crates/types/src/uni_structure/donation.rs:16
↓ 4 callers
Method
decr_all_orders
(&self, pool_id: PoolId, count: usize)
crates/metrics/src/order_pool/limit_pool.rs:224
↓ 4 callers
Method
default_signer_address
(&self)
crates/types/primitives/src/primitive/signer.rs:91
↓ 4 callers
Method
duration_to_next_slot
(&self)
crates/types/src/consensus/slot_clock.rs:157
↓ 4 callers
Method
estimate_gas
( &self, is_book: bool, is_internal: bool, token_0: Address, token_1:
crates/rpc/src/orders.rs:68
↓ 4 callers
Method
factory
(&self)
crates/types/src/reth_db_provider.rs:81
↓ 4 callers
Function
find_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 callers
Method
flip_tick
(&mut self, tick: i32, tick_spacing: i32)
crates/uniswap-v4/src/uniswap/pool.rs:622
↓ 4 callers
Method
from
(error: OrderApiError)
crates/rpc/src/orders.rs:185
↓ 4 callers
Method
generate_slot
(&self, of: Address)
crates/validation/src/order/state/config.rs:33
↓ 4 callers
Method
genesis_duration
(&self)
crates/types/src/consensus/slot_clock.rs:174
↓ 4 callers
Method
get_account
(&self, address: Address)
testing-tools/src/providers/rpc_provider.rs:29
↓ 4 callers
Method
id
(&self)
crates/types/primitives/src/primitive/signer.rs:36
↓ 4 callers
Method
initialize
( &mut self, block_number: Option<BlockNumber>, provider: Arc<P> )
crates/uniswap-v4/src/uniswap/pool.rs:134
↓ 4 callers
Method
into_state_provider
(&mut self)
testing-tools/src/providers/anvil_provider.rs:63
↓ 4 callers
Method
invert
(&self, rm: RoundingMode)
crates/types/primitives/src/primitive/ray.rs:325
↓ 4 callers
Method
invert_or_else
(self, predicate: F)
crates/utils/src/lib.rs:35
↓ 4 callers
Method
is_filled
(&self)
crates/types/primitives/src/orders/mod.rs:30
↓ 4 callers
Method
is_leader
(&self, _node_id: u64)
testing-tools/src/types/config/replay.rs:45
↓ 4 callers
Method
is_valid
(&self)
crates/types/primitives/src/consensus/mod.rs:68
↓ 4 callers
Method
lower_tick
(&self)
crates/types/src/matching/uniswap/liqrange.rs:89
↓ 4 callers
Function
metrics
()
crates/metrics/src/block_metrics_stream/health.rs:47
↓ 4 callers
Method
mul_ray_assign
self * other / ray
crates/types/primitives/src/primitive/ray.rs:296
↓ 4 callers
Method
network_handle
(&self)
testing-tools/src/network/eth_peer.rs:37
↓ 4 callers
Method
new_block
(&self, completed_orders: Vec<B256>, address_changes: Vec<Address>)
crates/validation/src/order/state/mod.rs:66
↓ 4 callers
Method
noop
(&self)
crates/types/src/uni_structure/mod.rs:45
↓ 4 callers
Method
notify_order_subscribers
(&mut self, update: PoolManagerUpdate)
crates/order-pool/src/order_subscribers.rs:40
↓ 4 callers
Method
on_inner
(&self, f: F)
testing-tools/src/controllers/state_lock.rs:231
↓ 4 callers
Method
on_inner_mut
(&self, f: F)
testing-tools/src/controllers/state_lock.rs:238
↓ 4 callers
Method
order_count
(self, order_count: usize)
testing-tools/src/type_generator/consensus/proposal.rs:32
↓ 4 callers
Method
order_hash
(&self, pair: &[Pair], asset: &[Asset], block: u64)
crates/types/primitives/src/contract_payloads/angstrom/tob.rs:110
↓ 4 callers
Method
partial
(self)
crates/types/primitives/src/orders/builders/user.rs:60
↓ 4 callers
Method
peer_id
(&self)
testing-tools/src/controllers/strom/node.rs:166
↓ 4 callers
Method
poll_next
(self: Pin<&mut Self>, cx: &mut Context<'_>)
crates/consensus/src/rounds/mod.rs:160
← previous
next →
201–300 of 2,519, ranked by callers