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
↓ 3 callers
Method
pubkey
(&self)
testing-tools/src/network/mod.rs:115
↓ 3 callers
Method
public_address
(&self)
crates/uniswap-v4/src/uniswap/pool.rs:161
↓ 3 callers
Method
remove_limit_order
(&self, id: &OrderId)
crates/order-pool/src/order_storage.rs:390
↓ 3 callers
Method
remove_order
(&mut self, token: Address, order_id: &B256)
bin/counter-matcher/src/accounting.rs:77
↓ 3 callers
Method
remove_peer
Sends a message to the [`NetworkManager`](crate::NetworkManager) to remove a peer from the set corresponding to given kind.
crates/angstrom-net/src/network.rs:72
↓ 3 callers
Method
respend_avoidance_strategy
(&self)
crates/types/primitives/src/sol_bindings/ext/grouped_orders.rs:264
↓ 3 callers
Method
run_till_shutdown
(mut self, sig: GracefulShutdown)
crates/consensus/src/manager.rs:272
↓ 3 callers
Method
set_node_constants
(&mut self, node_consts: NodeConstants)
crates/telemetry/src/blocklog.rs:119
↓ 3 callers
Method
set_state
(&self, state: Bytes)
testing-tools/src/providers/anvil_provider.rs:113
↓ 3 callers
Method
set_state_machine_at
( &mut self, state: Box<dyn ConsensusState<ProviderDef, MockMatchingEngine, PrivateKey
crates/consensus/src/rounds/mod.rs:563
↓ 3 callers
Method
slot_of
(&self, now: Duration)
crates/types/src/consensus/slot_clock.rs:153
↓ 3 callers
Method
state_mut
(&mut self)
crates/angstrom-net/src/swarm.rs:34
↓ 3 callers
Method
stop_network
(&self)
testing-tools/src/controllers/strom/node.rs:278
↓ 3 callers
Method
storage
( &self, account: Address, storage_key: StorageKey )
crates/types/src/reth_db_wrapper.rs:220
↓ 3 callers
Method
subscribe_cannon_state_notifications
( &self )
crates/eth/src/handle.rs:41
↓ 3 callers
Method
subscribe_consensus_round_event
( &self )
crates/consensus/src/lib.rs:90
↓ 3 callers
Method
t0_at_price
(&self, price: T)
crates/types/src/matching/debt.rs:60
↓ 3 callers
Method
testnet_future
(self)
testing-tools/src/controllers/strom/node.rs:437
↓ 3 callers
Method
to_deflate_base64_str
(&self)
crates/telemetry/src/blocklog.rs:139
↓ 3 callers
Function
try_init_with_chain_id
(chain_id: ChainId)
crates/types/constants/src/lib.rs:171
↓ 3 callers
Method
validator_set
(&self)
testing-tools/src/network/strom_peer.rs:30
↓ 3 callers
Method
verify_proposal
(&mut self, proposal: Proposal)
crates/consensus/src/rounds/mod.rs:381
↓ 2 callers
Method
add_action
(&mut self, action_name: &'static str, action: F)
testing-tools/src/controllers/enviroments/state_machine.rs:74
↓ 2 callers
Method
add_check
(&mut self, check_name: &'static str, check: F)
testing-tools/src/controllers/enviroments/state_machine.rs:65
↓ 2 callers
Method
add_gas_cost_or_invalidate
( &mut self, sim: &SimValidation<DB>, token_price: &TokenPriceGenerator, is_li
crates/validation/src/order/mod.rs:67
↓ 2 callers
Method
add_pool_key
(&mut self, pool_key: PoolKey)
testing-tools/src/types/initial_state.rs:40
↓ 2 callers
Method
add_quantity
(&mut self, quantity: u128, cost: u128)
crates/types/primitives/src/orders/net_amm_order.rs:35
↓ 2 callers
Method
add_strom_validator
(&self, id: PeerId)
testing-tools/src/controllers/strom/node.rs:214
↓ 2 callers
Method
add_subscription
( &mut self, kind: ConsensusSubscriptionRequestKind, tx: mpsc::Sender<ConsensusSubscri
crates/consensus/src/manager.rs:354
↓ 2 callers
Method
add_validator
(&mut self, peer_id: Address, voting_power: u64)
crates/consensus/src/leader_selection.rs:149
↓ 2 callers
Method
all_orders_iter
Returns a chained iterator that will go over all orders in this book. Bids first, then asks.
crates/matching-engine/src/book/mod.rs:60
↓ 2 callers
Function
amm_debt_same_move_solve
Given a quantity of input T0 as well as an AMM with constant liquidity and a debt that are at the same initial price, this will find the amount of T0
crates/types/primitives/src/primitive/matching_math.rs:136
↓ 2 callers
Method
angstrom_address
(&self)
testing-tools/src/providers/anvil_submission.rs:19
↓ 2 callers
Method
as_debt
Represents an applicable book order as a debt at its current price, taking partial fill into account
crates/matching-engine/src/book/order.rs:81
↓ 2 callers
Method
as_float
Return the current price (NOT sqrt) as a float by calling SqrtPriceX86's `as_f64` method
crates/types/src/matching/uniswap/poolprice.rs:347
↓ 2 callers
Method
as_input
The direction of the swap if this quantity is used as input
crates/types/primitives/src/primitive/quantity.rs:27
↓ 2 callers
Method
as_output
The direction of the swap if this quantity is used as output
crates/types/primitives/src/primitive/quantity.rs:35
↓ 2 callers
Method
as_sqrtpricex96
Return the current SqrtPriceX96 structure
crates/types/src/matching/uniswap/poolprice.rs:341
↓ 2 callers
Method
as_state_machine
(self)
testing-tools/src/controllers/enviroments/devnet.rs:53
↓ 2 callers
Method
ask
Set this order to be an ask with the default In and Out addresses
crates/types/primitives/src/orders/builders/user.rs:104
↓ 2 callers
Method
asks
(mut self, asks: Vec<OrderWithStorageData<AllOrders>>)
testing-tools/src/type_generator/book.rs:53
↓ 2 callers
Method
asset_in
(self, asset_in: Address)
crates/types/primitives/src/orders/builders/user.rs:85
↓ 2 callers
Method
asset_out
(self, asset_out: Address)
crates/types/primitives/src/orders/builders/user.rs:89
↓ 2 callers
Method
at_block
Produce a copy of this log targetting another block number. This is for replay on a local chain
crates/telemetry/src/blocklog.rs:87
↓ 2 callers
Method
basic_account
( &self, address: &Address )
crates/types/src/reth_db_wrapper.rs:256
↓ 2 callers
Method
bid_side
Does this debt exist on the bid side of the book? A debt is on the bid side of the book when it's an ExactIn debt (i.e. I would like to pay 100 T1 an
crates/types/src/matching/debt.rs:163
↓ 2 callers
Method
bids
(mut self, bids: Vec<OrderWithStorageData<AllOrders>>)
testing-tools/src/type_generator/book.rs:48
↓ 2 callers
Method
block_height
(&self)
crates/types/src/consensus/mod.rs:54
↓ 2 callers
Method
blocks_iter
(&self)
crates/types/src/traits/chain_ext.rs:75
↓ 2 callers
Method
blocks_iter
(&self)
crates/eth/src/manager.rs:438
↓ 2 callers
Method
broadcast_cancel_to_peers
(&mut self, cancel: CancelOrderRequest)
crates/angstrom-net/src/pool_manager.rs:410
↓ 2 callers
Method
broadcast_consensus_message
takes a random peer and gets them to broadcast the message. we then take all other peers and ensure that they received the message.
testing-tools/src/controllers/enviroments/mod.rs:206
↓ 2 callers
Method
build
(self)
testing-tools/src/type_generator/consensus/pool.rs:100
↓ 2 callers
Function
build_book
( id: PoolId, amm: Option<BaselinePoolState>, orders: HashSet<BookOrder> )
crates/matching-engine/src/lib.rs:35
↓ 2 callers
Function
build_non_proposal_books
( limit: Vec<BookOrder>, pool_snapshots: &HashMap<PoolId, (PoolId, BaselinePoolState)> )
crates/amm-quoter/src/lib.rs:299
↓ 2 callers
Method
build_tx
( &self, signer: &AngstromSigner<S>, bundle: &AngstromBundle, tx_features: &Tx
crates/types/src/submission/mod.rs:76
↓ 2 callers
Method
cancel_order
(&self, _: Address, _: alloy_primitives::B256)
testing-tools/src/mocks/validator.rs:45
↓ 2 callers
Method
cancel_order
(&self, req: CancelOrderRequest)
crates/angstrom-net/src/pool_manager.rs:121
↓ 2 callers
Method
cancel_order
(&self, user: Address, hash: B256)
crates/validation/src/order/state/account/mod.rs:40
↓ 2 callers
Method
center_priorities
(&mut self)
crates/consensus/src/leader_selection.rs:73
↓ 2 callers
Method
change_weight
(&mut self, peer_id: PeerId, weight: ReputationChangeKind)
crates/angstrom-net/src/peers/manager.rs:58
↓ 2 callers
Method
check_block
(&mut self, block_number: u64)
testing-tools/src/types/state_machine_utils/checks.rs:48
↓ 2 callers
Method
check_token_price_gen_has_pools
( &mut self, checked_pair_to_pool: HashMap<(Address, Address), PoolId> )
testing-tools/src/types/state_machine_utils/checks.rs:55
↓ 2 callers
Method
checksum_from_ticks
(&self, start_tick: Tick, end_tick: Tick)
crates/types/src/matching/uniswap/poolsnapshot.rs:166
↓ 2 callers
Method
composite_t0_quantities
( &self, t0_input: u128, direction: Direction )
crates/matching-engine/src/book/order.rs:49
↓ 2 callers
Method
config_type
(&self)
testing-tools/src/types/config/replay.rs:69
↓ 2 callers
Method
connect_to_all_peers
( &mut self, other_peers: &mut HashMap<u64, TestnetNode<C, P, G>> )
testing-tools/src/controllers/strom/node.rs:364
↓ 2 callers
Method
consensus_state
false -> off true -> on
testing-tools/src/controllers/state_lock.rs:152
↓ 2 callers
Function
convert_sqrtpricex96
Local utility function for doing the math needed to convert a SqrtPriceX96 into our Ray format, we use this in a few places so it's written only once
crates/types/primitives/src/primitive/ray.rs:178
↓ 2 callers
Method
current_liquidity
(&self)
crates/types/src/uni_structure/mod.rs:37
↓ 2 callers
Method
current_price
(&self)
crates/types/src/uni_structure/mod.rs:41
↓ 2 callers
Method
data_is_populated
(&self)
crates/uniswap-v4/src/uniswap/pool.rs:537
↓ 2 callers
Method
decr_composable_limit_orders
(&self, count: usize)
crates/metrics/src/order_pool/order_storage.rs:94
↓ 2 callers
Method
decr_pending_finalization_orders
(&self, count: usize)
crates/metrics/src/order_pool/order_storage.rs:110
↓ 2 callers
Method
decr_pending_orders
(&self, pool_id: PoolId, count: usize)
crates/metrics/src/order_pool/limit_pool.rs:119
↓ 2 callers
Method
decr_total_orders
(&self)
crates/metrics/src/order_pool/finalization_pool.rs:38
↓ 2 callers
Method
decr_vanilla_limit_orders
(&self, count: usize)
crates/metrics/src/order_pool/order_storage.rs:86
↓ 2 callers
Function
default_high_addr
()
crates/types/primitives/src/orders/builders/stored.rs:101
↓ 2 callers
Function
default_low_addr
()
crates/types/primitives/src/orders/builders/stored.rs:96
↓ 2 callers
Method
deploy_pool_full
deploys tokens, a uniV4 pool, angstrom pool
testing-tools/src/providers/initializer.rs:276
↓ 2 callers
Method
deploy_tokens
( &mut self, nonce: &mut u64, tokens_to_deploy: &[Erc20ToDeploy] )
testing-tools/src/providers/initializer.rs:195
↓ 2 callers
Method
deployed_addresses
(&self)
testing-tools/src/providers/anvil_provider.rs:59
↓ 2 callers
Method
deref
(&self)
crates/angstrom-net/src/session/mod.rs:75
↓ 2 callers
Method
disconnect_all
Shutdown all active sessions.
crates/angstrom-net/src/session/mod.rs:123
↓ 2 callers
Method
duration_to_next_slot_from
Returns the duration between `now` and the start of the next slot.
crates/types/src/consensus/slot_clock.rs:248
↓ 2 callers
Method
eip712_type_hash
(&self)
crates/types/primitives/src/sol_bindings/rpc_orders.rs:194
↓ 2 callers
Method
empty
An empty step has no motion in t0 or t1, but is sometimes present to make sure we record a price that started precisely on a tick boundary
crates/types/src/matching/uniswap/poolpricevec.rs:185
↓ 2 callers
Method
end_price
PoolPrice representing the end price of this liquidity bound
crates/types/src/matching/uniswap/liqrange.rs:170
↓ 2 callers
Method
end_price
(&self)
crates/types/src/matching/uniswap/poolpricevec.rs:157
↓ 2 callers
Method
end_tick
Returns the final tick in this liquidity range presuming the price starts
crates/types/src/matching/uniswap/liqrange.rs:150
↓ 2 callers
Method
error
(&mut self, error: String, timestamp: DateTime<Utc>, backtrace: String)
crates/telemetry/src/blocklog.rs:134
↓ 2 callers
Method
estimate_gas
( &self, _is_book: bool, _is_internal: bool, _token_0: Address, _token
testing-tools/src/mocks/validator.rs:72
↓ 2 callers
Method
eth_ws_url
(&self)
testing-tools/src/types/config/replay.rs:77
↓ 2 callers
Method
events
(&self)
crates/telemetry/src/blocklog.rs:95
↓ 2 callers
Method
everything_to_replay
(&self)
crates/telemetry/src/blocklog.rs:53
↓ 2 callers
Method
exact_in
(&self)
crates/types/primitives/src/sol_bindings/ext/grouped_orders.rs:227
↓ 2 callers
Function
execute_calldata
sets up revm with the angstrom hook override such that we can execute on the contract as if it was in a post bundle unlock.
crates/uniswap-v4/src/lib.rs:288
↓ 2 callers
Function
fetch_angstrom_pools
( // the block angstrom was deployed at mut deploy_block: usize, end_block: usize, angstrom_ad
bin/sepolia-bundle-lander/src/env.rs:173
↓ 2 callers
Method
fetch_current_proposal
(&self)
crates/types/src/block_sync.rs:266
↓ 2 callers
Method
fetch_direction_and_amounts
(amount, zfo)
bin/sepolia-bundle-lander/src/intent_builder.rs:267
← previous
next →
401–500 of 2,519, ranked by callers