MCPcopy Create free account

hub / github.com/SorellaLabs/angstrom / functions

Functions2,519 in github.com/SorellaLabs/angstrom

↓ 610 callersMethodclone
(&self)
crates/types/src/consensus/slot_clock.rs:192
↓ 239 callersMethodget
(&self, pool_id: &PoolId)
crates/types/primitives/src/primitive/pool_state.rs:62
↓ 210 callersMethoditer
Returns an iterator over all cached entries
crates/angstrom-net/src/cache.rs:59
↓ 133 callersMethodinsert
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 callersMethodclone
(&self)
crates/validation/src/order/state/mod.rs:44
↓ 75 callersMethodsend
(&self, cmd: MatcherCommand)
crates/matching-engine/src/manager.rs:66
↓ 71 callersMethodfilter
(self, mut predicate: impl FnMut(&T) -> bool)
crates/utils/src/poll_ext.rs:35
↓ 70 callersMethodamount
(self, amount: u128)
crates/types/primitives/src/orders/builders/user.rs:109
↓ 60 callersMethodbuild
(self)
crates/types/constants/src/lib.rs:66
↓ 50 callersMethodaddress
(&self)
testing-tools/src/types/config/node.rs:89
↓ 48 callersMethodclone
(&self)
crates/uniswap-v4/src/uniswap/pool_providers/canonical_state_adapter.rs:34
↓ 47 callersMethodrpc_provider
(&self)
testing-tools/src/providers/anvil_provider.rs:79
↓ 46 callersMethodorder_hash
(self, order_hash: FixedBytes<32>)
crates/types/primitives/src/orders/builders/stored.rs:133
↓ 39 callersMethodclone
(&self)
crates/consensus/src/rounds/preproposal_wait_trigger.rs:42
↓ 39 callersMethodcontains
Returns `true` if the set contains a value.
crates/angstrom-net/src/cache.rs:50
↓ 36 callersMethodaddress
Returns the signer address.
crates/types/src/submission/mev_boost.rs:155
↓ 36 callersMethodcmp
(&self, other: &Self)
crates/types/primitives/src/orders/mod.rs:70
↓ 35 callersMethodand_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 callersMethodinverse_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 callersMethodis_empty
(&self)
crates/types/src/matching/debt.rs:56
↓ 34 callersMethodasset_in
(self, asset_in: Address)
crates/types/primitives/src/orders/builders/tob.rs:40
↓ 34 callersMethodasset_out
(self, asset_out: Address)
crates/types/primitives/src/orders/builders/tob.rs:44
↓ 34 callersMethodrecipient
(self, recipient: Address)
crates/types/primitives/src/orders/builders/tob.rs:36
↓ 32 callersMethodnonce
(self, nonce: u64)
crates/types/primitives/src/orders/builders/user.rs:77
↓ 32 callersMethodregister
(&self, module_name: &'static str)
crates/types/src/block_sync.rs:270
↓ 30 callersMethodtake
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 callersMethodfilter_map
(self, mut predicate: impl FnMut(T) -> Option<U>)
crates/utils/src/poll_ext.rs:41
↓ 28 callersMethodsigning_key
(self, signing_key: Option<AngstromSigner<PrivateKeySigner>>)
crates/types/primitives/src/orders/builders/tob.rs:60
↓ 27 callersMethodextend
(&mut self, iter: I)
crates/angstrom-net/src/cache.rs:68
↓ 27 callersMethodverify_order
( &self, mut order: O, pool_info: UserOrderPoolInfo, block: u64, is_re
crates/validation/src/order/state/account/mod.rs:44
↓ 24 callersMethodtry_init
(self)
crates/types/constants/src/lib.rs:128
↓ 22 callersMethodlimit_price
(&self)
crates/types/primitives/src/sol_bindings/ext/grouped_orders.rs:276
↓ 22 callersMethodnext
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 callersMethodno_meta_eip712_signing_hash
(&self, domain: &Eip712Domain)
crates/types/primitives/src/sol_bindings/rpc_orders.rs:226
↓ 22 callersMethodstanding
(self)
crates/types/primitives/src/orders/builders/user.rs:43
↓ 22 callersMethodstate_provider
(&self)
testing-tools/src/controllers/strom/node.rs:170
↓ 21 callersMethodprice
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 callersMethodrandom
()
crates/types/primitives/src/primitive/signer.rs:59
↓ 20 callersMethodchain
Sets the chain id.
crates/angstrom-net/src/builder.rs:148
↓ 20 callersMethodlatest
(&self)
crates/types/src/reth_db_wrapper.rs:165
↓ 20 callersMethodsend
(&self, cmd: OrderCommand)
crates/angstrom-net/src/pool_manager.rs:57
↓ 19 callersMethodfetch_pool_info_for_order
None if no pool was found
crates/validation/src/order/state/pools/mod.rs:50
↓ 19 callersMethodmagnitude
(&self)
crates/types/src/matching/debt.rs:50
↓ 19 callersMethodtoken_in
(&self)
crates/types/primitives/src/sol_bindings/ext/grouped_orders.rs:280
↓ 18 callersMethodadd
(&mut self, item: OP)
crates/utils/src/sync_pipeline.rs:114
↓ 18 callersMethodexact_in
(q: u128)
crates/types/src/matching/debt.rs:27
↓ 18 callersMethodis_bid
(&self, price: Ray)
crates/types/src/matching/uniswap/poolsnapshot.rs:240
↓ 18 callersMethodset_approval_for_user
(&self, user: Address, token: Address, value: U256)
crates/validation/src/order/state/db_state_utils/mod.rs:202
↓ 18 callersMethodset_balance_for_user
(&self, user: Address, token: Address, value: U256)
crates/validation/src/order/state/db_state_utils/mod.rs:195
↓ 17 callersMethodadd_pool
(&self, token0: Address, token1: Address, pool: PoolId)
crates/validation/src/order/state/pools/mod.rs:74
↓ 17 callersMethodsign_off_on_block
(&self, module: &'static str, block_number: u64, waker: Option<Waker>)
crates/types/src/block_sync.rs:197
↓ 16 callersMethodblock
(self, block: u64)
crates/types/primitives/src/orders/builders/user.rs:69
↓ 16 callersMethodfrom
(value: &StromHandles)
testing-tools/src/types/handles.rs:32
↓ 16 callersMethodget_block_number
(&self)
crates/eth/src/telemetry.rs:70
↓ 16 callersMethodquantity
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 callersFunctionasync_to_sync
(f: F)
testing-tools/src/providers/utils.rs:11
↓ 15 callersMethodclear
(&self)
crates/types/src/block_sync.rs:91
↓ 15 callersFunctionconst_1e27
()
crates/types/primitives/src/primitive/matching_price.rs:14
↓ 15 callersMethodis_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 callersMethodis_ok
(&self)
crates/rpc/rpc-types/src/lib.rs:31
↓ 15 callersFunctionsetup_non_subscription_eth_manager
( angstrom_address: Option<Address> )
crates/eth/src/manager.rs:443
↓ 15 callersMethodsub
(self, rhs: u128)
crates/types/src/matching/debt.rs:112
↓ 14 callersMethodadd_or_get_asset
(&mut self, asset: Address)
crates/types/primitives/src/contract_payloads/asset/builder.rs:99
↓ 14 callersMethodget_conversion_rate
(&self, token_0: Address, token_1: Address)
crates/validation/src/common/token_pricing.rs:369
↓ 14 callersMethodinsert_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 callersFunctionmake_base_order
()
crates/validation/src/order/state/order_validators.rs:87
↓ 14 callersMethodmax_gas_token_0
(&self)
crates/types/primitives/src/sol_bindings/ext/grouped_orders.rs:243
↓ 14 callersFunctionpublish_block_metrics_event
(event: impl Into<MetricsEvent>)
crates/metrics/src/block_metrics_stream/publisher.rs:6
↓ 14 callersMethodtoken_out
(&self)
crates/types/primitives/src/sol_bindings/ext/grouped_orders.rs:284
↓ 13 callersFunctioncreate_test_pending_action
( token: TokenAddress, token_delta: U256, angstrom_delta: U256, token_approval
crates/validation/src/order/state/account/user.rs:484
↓ 13 callersFunctionsetup_test_account_processor
()
crates/validation/src/order/state/account/mod.rs:245
↓ 13 callersMethodvalid_block
(self, valid_block: u64)
testing-tools/src/type_generator/orders/stored.rs:40
↓ 12 callersMethodcurrent_t0
The current amount of T0 this debt is obligated to fill
crates/types/src/matching/debt.rs:223
↓ 12 callersMethodfinalize_modules
(&self)
crates/types/src/block_sync.rs:144
↓ 12 callersFunctionfrom_quantities
()
crates/types/primitives/src/primitive/ray.rs:488
↓ 12 callersMethodget_all_orders
(&self)
crates/order-pool/src/limit/mod.rs:107
↓ 12 callersMethodhash
(&self, state: &mut H)
crates/types/primitives/src/consensus/mod.rs:42
↓ 12 callersMethodinv_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 callersMethodis_partial
Is the underlying order a Partial Fill compatible order
crates/matching-engine/src/book/order.rs:96
↓ 12 callersMethodis_tob
(&self)
crates/types/primitives/src/sol_bindings/ext/grouped_orders.rs:231
↓ 12 callersMethodmin_amount
(&self)
crates/types/primitives/src/sol_bindings/ext/grouped_orders.rs:239
↓ 12 callersMethodmul_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 callersMethodswap_current_with_amount
( &self, amount: I256, direction: bool )
crates/types/src/uni_structure/mod.rs:59
↓ 11 callersMethodcontroller
(&self)
testing-tools/src/providers/mod.rs:58
↓ 11 callersFunctionfmt
(x: float)
contracts/script/comp-gas.py:43
↓ 11 callersMethodliquidity
(&self)
crates/types/src/uni_structure/donation.rs:36
↓ 11 callersMethodnew_block
(&self, block_number: u64)
crates/types/src/block_sync.rs:116
↓ 11 callersMethodorder
(&self)
crates/validation/src/order/state/order_validators.rs:34
↓ 11 callersMethodtip_number
(&self)
crates/eth/src/manager.rs:414
↓ 10 callersMethodall
()
crates/rpc/rpc-types/src/subscriptions.rs:52
↓ 10 callersFunctioncreate_priority
(is_tob: bool, is_partial: bool, nonce: u64)
crates/types/primitives/src/sol_bindings/ext/mod.rs:174
↓ 10 callersMethoddeploy_pending
(self)
testing-tools/src/contracts/anvil.rs:93
↓ 10 callersMethodexecute_then_mine
(&self, f: impl Future<Output = O> + Send)
testing-tools/src/contracts/environment/mod.rs:26
↓ 10 callersMethodfrom
(value: TopOfBlockOrder)
crates/types/primitives/src/sol_bindings/ext/grouped_orders.rs:27
↓ 10 callersMethodget_deltas
(&self, start_price: SqrtPriceX96, end_price: SqrtPriceX96)
crates/types/src/matching/uniswap/poolsnapshot.rs:255
↓ 10 callersMethodhandle_validated_order
Given the nonce ordering rule. Sometimes new transactions can park old transactions.
crates/order-pool/src/order_indexer.rs:266
↓ 10 callersMethodmin_price
(self, min_price: Ray)
crates/types/primitives/src/orders/builders/user.rs:129
↓ 10 callersMethodnew_rpc_order
( &mut self, origin: OrderOrigin, order: AllOrders, validation_tx: tokio::sync
crates/order-pool/src/order_indexer.rs:106
↓ 10 callersMethodsigning_key
(&self)
testing-tools/src/types/config/node.rs:76
↓ 10 callersMethodsubscribe_network
(&self)
crates/eth/src/handle.rs:49
next →1–100 of 2,519, ranked by callers