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
↓ 4 callers
Method
pre_fee_and_gas_price
(&self, fee: u128)
crates/types/primitives/src/sol_bindings/ext/grouped_orders.rs:164
↓ 4 callers
Method
propagate_message
(&mut self, message: ConsensusMessage)
crates/consensus/src/rounds/mod.rs:247
↓ 4 callers
Method
ranges_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 callers
Method
recover_signer
(&self)
crates/types/primitives/src/consensus/proposal.rs:71
↓ 4 callers
Method
remove_order
(&self, id: &OrderId)
crates/order-pool/src/order_storage.rs:353
↓ 4 callers
Method
remove_searcher_order
(&self, id: &OrderId)
crates/order-pool/src/order_storage.rs:375
↓ 4 callers
Function
resolve_precision
(precision: usize, number: Integer, rm: RoundingMode)
crates/types/primitives/src/primitive/matching_math.rs:327
↓ 4 callers
Function
run
()
bin/testnet/src/lib.rs:10
↓ 4 callers
Method
send_message
Send Strom message to peer
crates/angstrom-net/src/network.rs:40
↓ 4 callers
Function
setup_basic_pool
()
crates/types/src/matching/uniswap/poolsnapshot.rs:315
↓ 4 callers
Method
signing_hash
(&self, pair: &[Pair], asset: &[Asset], block: u64)
crates/types/primitives/src/contract_payloads/angstrom/tob.rs:119
↓ 4 callers
Method
spawn_anvil_rpc
(&self)
testing-tools/src/types/config/node.rs:159
↓ 4 callers
Method
swap_to_price
(&'a self, price_limit: SqrtPriceX96)
crates/types/src/uni_structure/pool_swap.rs:165
↓ 4 callers
Method
swarm_mut
(&mut self)
crates/angstrom-net/src/manager.rs:202
↓ 4 callers
Method
t0_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 callers
Method
t1_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 callers
Method
token_pricing_ref
(&self)
crates/validation/src/common/mod.rs:40
↓ 4 callers
Method
try_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 callers
Method
try_into
(self)
bin/replay/src/lib.rs:68
↓ 4 callers
Method
try_notify_validation_subscribers
( &mut self, hash: &B256, result: OrderValidationResults )
crates/order-pool/src/order_subscribers.rs:65
↓ 4 callers
Method
upper_tick
(&self)
crates/types/src/matching/uniswap/liqrange.rs:93
↓ 4 callers
Method
valid_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 callers
Method
with_config
(mut self, config: PoolConfig)
crates/angstrom-net/src/pool_manager.rs:168
↓ 4 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/matching/uniswap/poolpricevec.rs:249
↓ 3 callers
Method
_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 callers
Method
add_checked_action
( &mut self, checked_action_name: &'static str, checked_action: F )
testing-tools/src/controllers/enviroments/state_machine.rs:85
↓ 3 callers
Method
add_gas_fee
(&mut self, q: u128)
crates/types/primitives/src/contract_payloads/asset/state.rs:66
↓ 3 callers
Method
add_order
(&mut self, order: OrderWithStorageData<Order>)
crates/order-pool/src/limit/pending.rs:39
↓ 3 callers
Method
advance_block
(&mut self)
testing-tools/src/types/state_machine_utils/actions.rs:52
↓ 3 callers
Method
allocate
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 callers
Method
amm
(mut self, amm: Option<PoolSnapshot>)
testing-tools/src/type_generator/book.rs:43
↓ 3 callers
Method
angstrom_validator
(&self)
testing-tools/src/types/config/node.rs:84
↓ 3 callers
Method
apply_ticks
(&mut self, mut fetched_ticks: Vec<TickData>)
crates/uniswap-v4/src/uniswap/pool.rs:192
↓ 3 callers
Function
async_to_sync
(f: F)
crates/uniswap-v4/src/uniswap/pool_manager.rs:374
↓ 3 callers
Method
build
(self)
crates/types/primitives/src/orders/builders/stored.rs:61
↓ 3 callers
Method
build_and_sign_tx_with_gas
( &'a self, signer: &'a AngstromSigner<S>, bundle: &'a AngstromBundle, tx_feat
crates/types/src/submission/mod.rs:121
↓ 3 callers
Method
calculate_price
(&self)
crates/uniswap-v4/src/uniswap/pool.rs:335
↓ 3 callers
Method
can_operate
(&self)
crates/types/src/block_sync.rs:251
↓ 3 callers
Method
cmp
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 callers
Method
d_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 callers
Method
data_loader
(&self)
crates/uniswap-v4/src/uniswap/pool.rs:85
↓ 3 callers
Method
debt_direction
(&self, target_price: Ray)
crates/types/src/matching/composite.rs:78
↓ 3 callers
Method
decr_parked_orders
(&self, pool_id: PoolId, count: usize)
crates/metrics/src/order_pool/limit_pool.rs:103
↓ 3 callers
Method
decr_total_orders
(&self, count: usize)
crates/metrics/src/order_pool/limit_pool.rs:71
↓ 3 callers
Method
deploy_pool_fulls
deploys multiple pools (pool key, liquidity, sqrt price)
testing-tools/src/providers/initializer.rs:151
↓ 3 callers
Method
disconnect
(&mut self, id: PeerId, reason: Option<DisconnectReason>)
crates/angstrom-net/src/session/mod.rs:129
↓ 3 callers
Method
eth_network_handle
(&self)
testing-tools/src/controllers/strom/node.rs:180
↓ 3 callers
Method
external_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 callers
Method
fetch_all_invalidated_orders
(&self, user: UserAddress, token: TokenAddress)
crates/validation/src/order/state/account/user.rs:355
↓ 3 callers
Method
find_closest_bound
(&self, external_bound: Ray)
crates/types/src/matching/composite.rs:67
↓ 3 callers
Function
find_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 callers
Method
finish_new_block_processing
( &mut self, block_number: BlockNumber, mut completed_orders: Vec<B256>, addre
crates/order-pool/src/order_indexer.rs:428
↓ 3 callers
Method
flash_block
(&self)
crates/types/primitives/src/sol_bindings/ext/grouped_orders.rs:247
↓ 3 callers
Method
fmt_result
(self, i: usize, name: &'static str)
testing-tools/src/types/hooks.rs:35
↓ 3 callers
Method
from_checkpoint
Spawn a new VolumeFillBookSolver from our checkpoint
crates/matching-engine/src/matcher/volume.rs:103
↓ 3 callers
Method
generate_price
updates the mean price
testing-tools/src/order_generator/mod.rs:122
↓ 3 callers
Method
get_all_orders
(&self)
crates/order-pool/src/searcher/mod.rs:136
↓ 3 callers
Method
get_all_pool_ids
(&self)
crates/order-pool/src/searcher/mod.rs:104
↓ 3 callers
Method
get_logs
(&self, filter: &Filter)
crates/uniswap-v4/src/uniswap/pool_providers/provider_adapter.rs:43
↓ 3 callers
Method
handle_commit
(&mut self, new: Arc<impl ChainExt>)
crates/eth/src/manager.rs:164
↓ 3 callers
Method
handle_pre_proposal_aggregation
( &mut self, pre_proposal_agg: PreProposalAggregation, pre_proposal_agg_set: &mut Hash
crates/consensus/src/rounds/mod.rs:354
↓ 3 callers
Method
has_error
(&self)
crates/telemetry/src/blocklog.rs:69
↓ 3 callers
Method
has_order
(&self, order_hash: B256)
crates/order-pool/src/searcher/mod.rs:47
↓ 3 callers
Method
incr_peer_id
increments the `current_max_peer_id` and returns the previous value
testing-tools/src/controllers/enviroments/mod.rs:71
↓ 3 callers
Method
incr_total_orders
(&self, count: usize)
crates/metrics/src/order_pool/limit_pool.rs:67
↓ 3 callers
Function
init_with_chain_id
(chain_id: ChainId)
crates/types/constants/src/lib.rs:311
↓ 3 callers
Method
initialize_state_no_bytes
( &mut self, ex: TaskExecutor )
testing-tools/src/providers/initializer.rs:423
↓ 3 callers
Function
initialize_strom_handles
()
bin/angstrom/src/components.rs:141
↓ 3 callers
Method
insert_cancel_with_deadline
( &mut self, from: Address, order_hash: &B256, deadline: Option<U256> )
crates/order-pool/src/order_tracker.rs:195
↓ 3 callers
Method
into_reward_updates
(&self)
crates/types/src/uni_structure/donation.rs:149
↓ 3 callers
Function
invalid_params_rpc_err
(msg: impl Into<String>)
crates/rpc/src/orders.rs:194
↓ 3 callers
Method
is_banned
(&self)
crates/angstrom-net/src/peers/manager.rs:192
↓ 3 callers
Function
is_banned_reputation
(reputation: i32)
crates/angstrom-net/src/peers/reputation.rs:55
↓ 3 callers
Method
is_composite
(&self)
crates/matching-engine/src/book/order.rs:45
↓ 3 callers
Method
is_currently_valid
(&self)
crates/types/primitives/src/sol_bindings/ext/grouped_orders.rs:80
↓ 3 callers
Method
is_higher_priority
(&self, other: &Self)
crates/types/primitives/src/sol_bindings/ext/mod.rs:152
↓ 3 callers
Method
is_solidity
(&self)
crates/validation/src/order/state/config.rs:16
↓ 3 callers
Method
is_success
(&self)
crates/types/src/submission/angstrom.rs:225
↓ 3 callers
Method
is_vanilla
(&self)
crates/types/primitives/src/sol_bindings/ext/grouped_orders.rs:43
↓ 3 callers
Method
load_pool_data
( &self, _: Option<BlockNumber>, _: Arc<P> )
crates/uniswap-v4/src/uniswap/pool.rs:781
↓ 3 callers
Method
max_gas
(self, gas: u128)
crates/types/primitives/src/orders/builders/tob.rs:29
↓ 3 callers
Method
message_id
Returns the message's ID.
crates/angstrom-net/src/types/message.rs:134
↓ 3 callers
Method
new_block
(&self, users: Vec<Address>, orders: Vec<B256>)
crates/validation/src/order/state/account/user.rs:193
↓ 3 callers
Method
node_count
(&self)
testing-tools/src/types/config/replay.rs:57
↓ 3 callers
Method
node_provider
(&self, node_id: Option<u64>)
testing-tools/src/controllers/enviroments/mod.rs:57
↓ 3 callers
Method
node_pubkey
(&self)
crates/angstrom-net/src/manager.rs:66
↓ 3 callers
Method
on_order_cancel
(&mut self, hash: B256)
bin/counter-matcher/src/order_manager.rs:123
↓ 3 callers
Method
order_signature
(&self)
crates/types/primitives/src/sol_bindings/ext/grouped_orders.rs:305
↓ 3 callers
Method
orders_by_pool
(&self, pool_id: PoolId, location: OrderLocation)
crates/order-pool/src/order_indexer.rs:83
↓ 3 callers
Method
output
( &self, blocklog: BlockLog )
crates/telemetry/src/outputs/s3.rs:30
↓ 3 callers
Function
peer_id_to_addr
(id: PeerId)
testing-tools/src/types/state_machine_utils/checked_actions.rs:97
↓ 3 callers
Method
peers_mut
(&mut self)
crates/angstrom-net/src/state.rs:28
↓ 3 callers
Function
pin_action
(fut: F)
testing-tools/src/types/state_machine_utils/checked_actions.rs:90
↓ 3 callers
Method
pool_gate
(&self)
testing-tools/src/contracts/environment/uniswap.rs:106
↓ 3 callers
Method
pool_manager
(&self)
testing-tools/src/contracts/environment/uniswap.rs:140
↓ 3 callers
Method
price
(&self)
testing-tools/src/type_generator/consensus/pool.rs:36
↓ 3 callers
Method
price
(&self)
crates/types/src/matching/uniswap/poolprice.rs:331
↓ 3 callers
Method
proposer_selection
(&mut self)
crates/consensus/src/leader_selection.rs:34
↓ 3 callers
Method
provider
(&self)
testing-tools/src/providers/state_provider.rs:64
↓ 3 callers
Method
provider_at
(&self, block_id: BlockId)
crates/types/src/reth_db_provider.rs:197
← previous
next →
301–400 of 2,519, ranked by callers