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
↓ 610 callers
Method
clone
(&self)
crates/types/src/consensus/slot_clock.rs:192
↓ 239 callers
Method
get
(&self, pool_id: &PoolId)
crates/types/primitives/src/primitive/pool_state.rs:62
↓ 210 callers
Method
iter
Returns an iterator over all cached entries
crates/angstrom-net/src/cache.rs:59
↓ 133 callers
Method
insert
Insert an element into the set. If the element is new (did not exist before [`LruCache::insert()`]) was called, then the given length will be enforce
crates/angstrom-net/src/cache.rs:30
↓ 91 callers
Method
clone
(&self)
crates/validation/src/order/state/mod.rs:44
↓ 75 callers
Method
send
(&self, cmd: MatcherCommand)
crates/matching-engine/src/manager.rs:66
↓ 71 callers
Method
filter
(self, mut predicate: impl FnMut(&T) -> bool)
crates/utils/src/poll_ext.rs:35
↓ 70 callers
Method
amount
(self, amount: u128)
crates/types/primitives/src/orders/builders/user.rs:109
↓ 60 callers
Method
build
(self)
crates/types/constants/src/lib.rs:66
↓ 50 callers
Method
address
(&self)
testing-tools/src/types/config/node.rs:89
↓ 48 callers
Method
clone
(&self)
crates/uniswap-v4/src/uniswap/pool_providers/canonical_state_adapter.rs:34
↓ 47 callers
Method
rpc_provider
(&self)
testing-tools/src/providers/anvil_provider.rs:79
↓ 46 callers
Method
order_hash
(self, order_hash: FixedBytes<32>)
crates/types/primitives/src/orders/builders/stored.rs:133
↓ 39 callers
Method
clone
(&self)
crates/consensus/src/rounds/preproposal_wait_trigger.rs:42
↓ 39 callers
Method
contains
Returns `true` if the set contains a value.
crates/angstrom-net/src/cache.rs:50
↓ 36 callers
Method
address
Returns the signer address.
crates/types/src/submission/mev_boost.rs:155
↓ 36 callers
Method
cmp
(&self, other: &Self)
crates/types/primitives/src/orders/mod.rs:70
↓ 35 callers
Method
and_then
Combines this borrow state with another borrow state that is expected to describe operations chronologically following this one
crates/types/primitives/src/contract_payloads/asset/state.rs:72
↓ 35 callers
Method
inverse_quantity
Given a price ratio t1/t0 calculates how much t0 would be needed to output the provided amount of t1 (q). Rounding determined by parameter
crates/types/primitives/src/primitive/ray.rs:450
↓ 35 callers
Method
is_empty
(&self)
crates/types/src/matching/debt.rs:56
↓ 34 callers
Method
asset_in
(self, asset_in: Address)
crates/types/primitives/src/orders/builders/tob.rs:40
↓ 34 callers
Method
asset_out
(self, asset_out: Address)
crates/types/primitives/src/orders/builders/tob.rs:44
↓ 34 callers
Method
recipient
(self, recipient: Address)
crates/types/primitives/src/orders/builders/tob.rs:36
↓ 32 callers
Method
nonce
(self, nonce: u64)
crates/types/primitives/src/orders/builders/user.rs:77
↓ 32 callers
Method
register
(&self, module_name: &'static str)
crates/types/src/block_sync.rs:270
↓ 30 callers
Method
take
Add to what we take from Uniswap into our contract liquidity, as a result of a pool swap
crates/types/primitives/src/contract_payloads/asset/state.rs:50
↓ 28 callers
Method
filter_map
(self, mut predicate: impl FnMut(T) -> Option<U>)
crates/utils/src/poll_ext.rs:41
↓ 28 callers
Method
signing_key
(self, signing_key: Option<AngstromSigner<PrivateKeySigner>>)
crates/types/primitives/src/orders/builders/tob.rs:60
↓ 27 callers
Method
extend
(&mut self, iter: I)
crates/angstrom-net/src/cache.rs:68
↓ 27 callers
Method
verify_order
( &self, mut order: O, pool_info: UserOrderPoolInfo, block: u64, is_re
crates/validation/src/order/state/account/mod.rs:44
↓ 24 callers
Method
try_init
(self)
crates/types/constants/src/lib.rs:128
↓ 22 callers
Method
limit_price
(&self)
crates/types/primitives/src/sol_bindings/ext/grouped_orders.rs:276
↓ 22 callers
Method
next
finds the next initialized or edge tick. this is in order to properly mirror the uniswap swap logic
crates/types/src/matching/uniswap/liqrange.rs:189
↓ 22 callers
Method
no_meta_eip712_signing_hash
(&self, domain: &Eip712Domain)
crates/types/primitives/src/sol_bindings/rpc_orders.rs:226
↓ 22 callers
Method
standing
(self)
crates/types/primitives/src/orders/builders/user.rs:43
↓ 22 callers
Method
state_provider
(&self)
testing-tools/src/controllers/strom/node.rs:170
↓ 21 callers
Method
price
Retrieve the starting price bound for a given order. This price is always t0/t1 and is flipped if necessary
crates/matching-engine/src/book/order.rs:166
↓ 21 callers
Method
random
()
crates/types/primitives/src/primitive/signer.rs:59
↓ 20 callers
Method
chain
Sets the chain id.
crates/angstrom-net/src/builder.rs:148
↓ 20 callers
Method
latest
(&self)
crates/types/src/reth_db_wrapper.rs:165
↓ 20 callers
Method
send
(&self, cmd: OrderCommand)
crates/angstrom-net/src/pool_manager.rs:57
↓ 19 callers
Method
fetch_pool_info_for_order
None if no pool was found
crates/validation/src/order/state/pools/mod.rs:50
↓ 19 callers
Method
magnitude
(&self)
crates/types/src/matching/debt.rs:50
↓ 19 callers
Method
token_in
(&self)
crates/types/primitives/src/sol_bindings/ext/grouped_orders.rs:280
↓ 18 callers
Method
add
(&mut self, item: OP)
crates/utils/src/sync_pipeline.rs:114
↓ 18 callers
Method
exact_in
(q: u128)
crates/types/src/matching/debt.rs:27
↓ 18 callers
Method
is_bid
(&self, price: Ray)
crates/types/src/matching/uniswap/poolsnapshot.rs:240
↓ 18 callers
Method
set_approval_for_user
(&self, user: Address, token: Address, value: U256)
crates/validation/src/order/state/db_state_utils/mod.rs:202
↓ 18 callers
Method
set_balance_for_user
(&self, user: Address, token: Address, value: U256)
crates/validation/src/order/state/db_state_utils/mod.rs:195
↓ 17 callers
Method
add_pool
(&self, token0: Address, token1: Address, pool: PoolId)
crates/validation/src/order/state/pools/mod.rs:74
↓ 17 callers
Method
sign_off_on_block
(&self, module: &'static str, block_number: u64, waker: Option<Waker>)
crates/types/src/block_sync.rs:197
↓ 16 callers
Method
block
(self, block: u64)
crates/types/primitives/src/orders/builders/user.rs:69
↓ 16 callers
Method
from
(value: &StromHandles)
testing-tools/src/types/handles.rs:32
↓ 16 callers
Method
get_block_number
(&self)
crates/eth/src/telemetry.rs:70
↓ 16 callers
Method
quantity
Given a price ration t1/t0 calculates how much t1 would be needed to output the provided amount of t0 (q). Rounding determined by parameter
crates/types/primitives/src/primitive/ray.rs:441
↓ 15 callers
Function
async_to_sync
(f: F)
testing-tools/src/providers/utils.rs:11
↓ 15 callers
Method
clear
(&self)
crates/types/src/block_sync.rs:91
↓ 15 callers
Function
const_1e27
()
crates/types/primitives/src/primitive/matching_price.rs:14
↓ 15 callers
Method
is_amm
Is `true` when the order in the container includes the AMM, either as a distinct AMM order or as a Composite order that includes the AMM
crates/matching-engine/src/book/order.rs:63
↓ 15 callers
Method
is_ok
(&self)
crates/rpc/rpc-types/src/lib.rs:31
↓ 15 callers
Function
setup_non_subscription_eth_manager
( angstrom_address: Option<Address> )
crates/eth/src/manager.rs:443
↓ 15 callers
Method
sub
(self, rhs: u128)
crates/types/src/matching/debt.rs:112
↓ 14 callers
Method
add_or_get_asset
(&mut self, asset: Address)
crates/types/primitives/src/contract_payloads/asset/builder.rs:99
↓ 14 callers
Method
get_conversion_rate
(&self, token_0: Address, token_1: Address)
crates/validation/src/common/token_pricing.rs:369
↓ 14 callers
Method
insert_pending_user_action
inserts the user action and returns all pending user action hashes that this, invalidates. i.e higher nonce but no balance / approval available.
crates/validation/src/order/state/account/user.rs:321
↓ 14 callers
Function
make_base_order
()
crates/validation/src/order/state/order_validators.rs:87
↓ 14 callers
Method
max_gas_token_0
(&self)
crates/types/primitives/src/sol_bindings/ext/grouped_orders.rs:243
↓ 14 callers
Function
publish_block_metrics_event
(event: impl Into<MetricsEvent>)
crates/metrics/src/block_metrics_stream/publisher.rs:6
↓ 14 callers
Method
token_out
(&self)
crates/types/primitives/src/sol_bindings/ext/grouped_orders.rs:284
↓ 13 callers
Function
create_test_pending_action
( token: TokenAddress, token_delta: U256, angstrom_delta: U256, token_approval
crates/validation/src/order/state/account/user.rs:484
↓ 13 callers
Function
setup_test_account_processor
()
crates/validation/src/order/state/account/mod.rs:245
↓ 13 callers
Method
valid_block
(self, valid_block: u64)
testing-tools/src/type_generator/orders/stored.rs:40
↓ 12 callers
Method
current_t0
The current amount of T0 this debt is obligated to fill
crates/types/src/matching/debt.rs:223
↓ 12 callers
Method
finalize_modules
(&self)
crates/types/src/block_sync.rs:144
↓ 12 callers
Function
from_quantities
()
crates/types/primitives/src/primitive/ray.rs:488
↓ 12 callers
Method
get_all_orders
(&self)
crates/order-pool/src/limit/mod.rs:107
↓ 12 callers
Method
hash
(&self, state: &mut H)
crates/types/primitives/src/consensus/mod.rs:42
↓ 12 callers
Method
inv_ray_round
1e54 / self If `round_up` is true, will use RoundingMode::Ceiling, otherwise will use RoundingMode::Floor. This is for rounding in the matching engin
crates/types/primitives/src/primitive/ray.rs:335
↓ 12 callers
Method
is_partial
Is the underlying order a Partial Fill compatible order
crates/matching-engine/src/book/order.rs:96
↓ 12 callers
Method
is_tob
(&self)
crates/types/primitives/src/sol_bindings/ext/grouped_orders.rs:231
↓ 12 callers
Method
min_amount
(&self)
crates/types/primitives/src/sol_bindings/ext/grouped_orders.rs:239
↓ 12 callers
Method
mul_quantity
Given a price ratio t1/t0 calculates how much t1 would be needed to output the provided amount of t0 (q) rounds DOWN by default
crates/types/primitives/src/primitive/ray.rs:430
↓ 12 callers
Method
swap_current_with_amount
( &self, amount: I256, direction: bool )
crates/types/src/uni_structure/mod.rs:59
↓ 11 callers
Method
controller
(&self)
testing-tools/src/providers/mod.rs:58
↓ 11 callers
Function
fmt
(x: float)
contracts/script/comp-gas.py:43
↓ 11 callers
Method
liquidity
(&self)
crates/types/src/uni_structure/donation.rs:36
↓ 11 callers
Method
new_block
(&self, block_number: u64)
crates/types/src/block_sync.rs:116
↓ 11 callers
Method
order
(&self)
crates/validation/src/order/state/order_validators.rs:34
↓ 11 callers
Method
tip_number
(&self)
crates/eth/src/manager.rs:414
↓ 10 callers
Method
all
()
crates/rpc/rpc-types/src/subscriptions.rs:52
↓ 10 callers
Function
create_priority
(is_tob: bool, is_partial: bool, nonce: u64)
crates/types/primitives/src/sol_bindings/ext/mod.rs:174
↓ 10 callers
Method
deploy_pending
(self)
testing-tools/src/contracts/anvil.rs:93
↓ 10 callers
Method
execute_then_mine
(&self, f: impl Future<Output = O> + Send)
testing-tools/src/contracts/environment/mod.rs:26
↓ 10 callers
Method
from
(value: TopOfBlockOrder)
crates/types/primitives/src/sol_bindings/ext/grouped_orders.rs:27
↓ 10 callers
Method
get_deltas
(&self, start_price: SqrtPriceX96, end_price: SqrtPriceX96)
crates/types/src/matching/uniswap/poolsnapshot.rs:255
↓ 10 callers
Method
handle_validated_order
Given the nonce ordering rule. Sometimes new transactions can park old transactions.
crates/order-pool/src/order_indexer.rs:266
↓ 10 callers
Method
min_price
(self, min_price: Ray)
crates/types/primitives/src/orders/builders/user.rs:129
↓ 10 callers
Method
new_rpc_order
( &mut self, origin: OrderOrigin, order: AllOrders, validation_tx: tokio::sync
crates/order-pool/src/order_indexer.rs:106
↓ 10 callers
Method
signing_key
(&self)
testing-tools/src/types/config/node.rs:76
↓ 10 callers
Method
subscribe_network
(&self)
crates/eth/src/handle.rs:49
next →
1–100 of 2,519, ranked by callers