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
↓ 10 callers
Method
try_map_inner
( self, mut f: impl FnMut(Order) -> eyre::Result<NewOrder> )
crates/types/primitives/src/sol_bindings/ext/grouped_orders.rs:141
↓ 10 callers
Method
unique_order_hash
(&self, user_address: Address)
crates/types/primitives/src/sol_bindings/rpc_orders.rs:216
↓ 10 callers
Method
update_position
(&mut self, tick_lower: i32, tick_upper: i32, liquidity_delta: i128)
crates/uniswap-v4/src/uniswap/pool.rs:542
↓ 9 callers
Method
add_pending_tx
(&mut self, tx: PendingTransaction)
testing-tools/src/types/initial_state.rs:36
↓ 9 callers
Method
angstrom_signer
(&self)
testing-tools/src/types/config/node.rs:80
↓ 9 callers
Method
cmp
(&self, other: &Self)
crates/types/src/matching/uniswap/poolprice.rs:60
↓ 9 callers
Function
create_test_order
( from: Address, pool_id: PoolKey, validity: Option<OrderValidity>, signer: Op
crates/order-pool/src/order_indexer.rs:583
↓ 9 callers
Method
deadline
(self, deadline: U256)
crates/types/primitives/src/orders/builders/user.rs:73
↓ 9 callers
Method
flatten
(self)
crates/utils/src/poll_ext.rs:26
↓ 9 callers
Method
get_block
(&mut self, blocknum: u64)
crates/telemetry/src/lib.rs:105
↓ 9 callers
Function
has_permission
(addr: Address, f: UniswapFlags)
testing-tools/src/contracts/deploy/mod.rs:86
↓ 9 callers
Method
id
(&self)
crates/matching-engine/src/book/mod.rs:46
↓ 9 callers
Method
inverse_order
If `true`, this is an inverse order that operates with T1 as a base quantity instead of T0. That means this order will cause or react to debt
crates/matching-engine/src/book/order.rs:114
↓ 9 callers
Method
kill_or_fill
(self)
crates/types/primitives/src/orders/builders/user.rs:47
↓ 9 callers
Method
new_pool
(&self, pool: NewInitializedPool)
crates/order-pool/src/order_indexer.rs:394
↓ 9 callers
Method
pool_id
(self, pool_id: FixedBytes<32>)
testing-tools/src/type_generator/orders/stored.rs:36
↓ 9 callers
Method
quantity
Retrieve the quantity available within the bounds of a given order
crates/matching-engine/src/book/order.rs:132
↓ 9 callers
Function
raw_price
(p: u128)
crates/matching-engine/tests/matching.rs:76
↓ 9 callers
Function
setup_test_accounts
()
crates/validation/src/order/state/account/user.rs:480
↓ 9 callers
Method
sign_off_reorg
( &self, module: &'static str, block_range: RangeInclusive<u64>, waker: Option
crates/types/src/block_sync.rs:150
↓ 9 callers
Method
state_by_block_id
( &self, block_id: alloy::eips::BlockId )
crates/types/src/reth_db_wrapper.rs:173
↓ 9 callers
Method
sum
(iter: I)
crates/types/primitives/src/primitive/ray.rs:34
↓ 8 callers
Method
apply_periphery_logs
looks at all periphery contrct events updating the internal state + sending out info.
crates/eth/src/manager.rs:189
↓ 8 callers
Function
const_1e6
()
crates/types/primitives/src/primitive/matching_price.rs:19
↓ 8 callers
Method
current_price
(&self, direction: bool)
crates/types/src/matching/uniswap/poolsnapshot.rs:200
↓ 8 callers
Method
donation
(&self)
crates/types/src/uni_structure/donation.rs:28
↓ 8 callers
Method
fetch_max_amount
(&self)
crates/types/primitives/src/contract_payloads/angstrom/order.rs:27
↓ 8 callers
Function
get_quantities_at_price
Output should be: (t1 liquidity change, t0 allocated to order fulfillment post-gas, t0 allocated to fee)
crates/types/primitives/src/primitive/matching_math.rs:46
↓ 8 callers
Method
id
(&self)
testing-tools/src/type_generator/consensus/pool.rs:40
↓ 8 callers
Method
is_bid
An order is a bid if it's putting in T1 to get out T0. T1 is always the greater address, so if `token_in > token_out` then T1 is being put in to get
crates/types/primitives/src/sol_bindings/ext/mod.rs:95
↓ 8 callers
Method
is_book
(&self)
crates/matching-engine/src/book/order.rs:41
↓ 8 callers
Method
make_config
(self)
bin/testnet/src/cli/devnet.rs:37
↓ 8 callers
Method
owned_map
(self, f: F)
crates/utils/src/map.rs:8
↓ 8 callers
Method
pools
(&self)
crates/uniswap-v4/src/uniswap/pool_manager.rs:233
↓ 8 callers
Method
price_params
(self, price_params: DistributionParameters)
testing-tools/src/type_generator/orders/distribution.rs:45
↓ 8 callers
Method
provider_mut
(&mut self)
testing-tools/src/providers/anvil_provider.rs:87
↓ 8 callers
Function
setup_basic_pool
()
crates/uniswap-v4/src/uniswap/pool.rs:822
↓ 8 callers
Function
setup_test_indexer
()
crates/order-pool/src/order_indexer.rs:542
↓ 8 callers
Function
setup_tracing
()
crates/uniswap-v4/src/uniswap/pool.rs:750
↓ 8 callers
Method
signing_key
(self, signing_key: Option<AngstromSigner<PrivateKeySigner>>)
testing-tools/src/type_generator/orders/distribution.rs:61
↓ 8 callers
Method
spawn_task
(&mut self, op: OP, pipeline_cx: &mut CX)
crates/utils/src/sync_pipeline.rs:122
↓ 8 callers
Method
use_internal
(self, use_internal: bool)
crates/types/primitives/src/orders/builders/tob.rs:64
↓ 8 callers
Method
volume_params
(self, volume_params: DistributionParameters)
testing-tools/src/type_generator/orders/distribution.rs:49
↓ 7 callers
Method
address
(&self)
crates/types/primitives/src/primitive/signer.rs:32
↓ 7 callers
Method
address
(self, address: Address)
crates/types/primitives/src/orders/builders/stored.rs:125
↓ 7 callers
Method
amm
(&self)
crates/matching-engine/src/book/mod.rs:67
↓ 7 callers
Method
as_ray
Return the current price as a Ray
crates/types/src/matching/uniswap/poolprice.rs:336
↓ 7 callers
Method
asks
(&self)
crates/matching-engine/src/book/mod.rs:54
↓ 7 callers
Method
broadcast_message
Broadcast Strom message to all peers
crates/angstrom-net/src/network.rs:45
↓ 7 callers
Method
build
(self)
testing-tools/src/type_generator/book.rs:29
↓ 7 callers
Method
current_block_number
(&self)
crates/types/src/block_sync.rs:256
↓ 7 callers
Method
encode
(&self, out: &mut dyn BufMut)
crates/angstrom-net/src/types/message.rs:44
↓ 7 callers
Method
fetch_pool_snapshot
(&self)
crates/uniswap-v4/src/uniswap/pool.rs:111
↓ 7 callers
Method
from
(value: OrderValidationRequest)
crates/validation/src/order/mod.rs:40
↓ 7 callers
Method
get_eoa
fetches all eoa addresses touched
crates/eth/src/manager.rs:291
↓ 7 callers
Method
get_range_for_tick
Find the PoolRange in this market snapshot that the provided tick lies within, if any
crates/types/src/matching/uniswap/poolsnapshot.rs:115
↓ 7 callers
Method
get_state
(&mut self, addr: Address)
crates/types/primitives/src/contract_payloads/asset/state.rs:118
↓ 7 callers
Method
inv_ray
1e54 / self
crates/types/primitives/src/primitive/ray.rs:377
↓ 7 callers
Method
output
(&self)
crates/types/src/uni_structure/pool_swap.rs:381
↓ 7 callers
Method
partial_fill
Create a new Debt object based on the price change created by filling the debt with a specified amount of t0
crates/types/src/matching/debt.rs:269
↓ 7 callers
Method
price
Provides the LITERAL price as specified in the order. Note that for bids this can be inverse
crates/types/primitives/src/sol_bindings/ext/grouped_orders.rs:198
↓ 7 callers
Method
provider
(&self)
testing-tools/src/providers/anvil_provider.rs:83
↓ 7 callers
Method
provider
(&self)
testing-tools/src/providers/mod.rs:46
↓ 7 callers
Method
respend_conflicts
( &self, user: UserAddress, avoidance: RespendAvoidanceMethod )
crates/validation/src/order/state/account/user.rs:253
↓ 7 callers
Method
save_checkpoint
Save our current solve state to an internal checkpoint
crates/matching-engine/src/matcher/volume.rs:86
↓ 7 callers
Method
send_events
(&mut self, event: EthEvent)
crates/eth/src/manager.rs:115
↓ 7 callers
Method
slot_duration
(&self)
crates/types/src/consensus/slot_clock.rs:162
↓ 7 callers
Method
solution
short on asks.
crates/matching-engine/src/matcher/delta.rs:610
↓ 7 callers
Method
storage_ref
( &self, address: Address, index: alloy::primitives::U256 )
crates/uniswap-v4/src/lib.rs:720
↓ 7 callers
Method
validate_order
(&mut self, origin: OrderOrigin, order: AllOrders)
crates/order-pool/src/validator.rs:136
↓ 6 callers
Method
at_price
(&self, price: SqrtPriceX96, direction: bool)
crates/types/src/matching/uniswap/poolsnapshot.rs:217
↓ 6 callers
Method
bids
(&self)
crates/matching-engine/src/book/mod.rs:50
↓ 6 callers
Method
build
(self)
testing-tools/src/type_generator/amm.rs:59
↓ 6 callers
Method
choose_proposer
(&mut self, block_number: BlockNumber)
crates/consensus/src/leader_selection.rs:118
↓ 6 callers
Method
controller
(&self)
testing-tools/src/contracts/environment/angstrom.rs:176
↓ 6 callers
Function
create_test_validators
()
crates/consensus/src/leader_selection.rs:275
↓ 6 callers
Method
decode
(buf: &mut &[u8])
crates/angstrom-net/src/types/message.rs:54
↓ 6 callers
Method
exact
(self)
crates/types/primitives/src/orders/builders/user.rs:56
↓ 6 callers
Method
flag
(&self)
testing-tools/src/contracts/deploy/uniswap_flags.rs:28
↓ 6 callers
Method
get_code_at
(&self, address: Address)
crates/types/src/reth_db_provider.rs:155
↓ 6 callers
Method
get_stage
(&mut self, stage: AssetBuilderStage)
crates/types/primitives/src/contract_payloads/asset/builder.rs:27
↓ 6 callers
Method
get_storage_at
( &self, address: Address, key: U256 )
crates/types/src/reth_db_provider.rs:133
↓ 6 callers
Function
get_str
(obj: Json, *path: str)
contracts/test/_reference/eip712.py:76
↓ 6 callers
Method
get_transaction_count
Override the `get_transaction_count` method to fetch the transaction count of an address. `RpcWithBlock` uses `ProviderCall` under the hood.
crates/types/src/reth_db_provider.rs:114
↓ 6 callers
Method
handle_message
(&mut self, event: StromConsensusEvent)
crates/consensus/src/rounds/mod.rs:146
↓ 6 callers
Function
init_tracing
()
crates/consensus/src/rounds/mod.rs:580
↓ 6 callers
Function
init_tracing
(verbosity: u8)
bin/testnet/src/cli/mod.rs:90
↓ 6 callers
Method
initial_state_config
(&self)
testing-tools/src/types/config/replay.rs:73
↓ 6 callers
Method
input
(&self)
crates/types/src/uni_structure/pool_swap.rs:377
↓ 6 callers
Method
is_closed
(&self)
crates/types/src/consensus/mod.rs:22
↓ 6 callers
Method
is_debt
Is `true` when the order in the container includes debt, this can only be true of a Composite order
crates/matching-engine/src/book/order.rs:69
↓ 6 callers
Method
price
(&self)
crates/types/src/matching/debt.rs:148
↓ 6 callers
Method
price_for_book_side
Get the appropriate price when passed a bool telling us if we're looking for a bid-side price or not TODO: Deprecate this and replace with `price_t1
crates/types/primitives/src/sol_bindings/ext/grouped_orders.rs:192
↓ 6 callers
Method
provider
(&self)
crates/uniswap-v4/src/uniswap/pool_providers/provider_adapter.rs:31
↓ 6 callers
Method
quantity
(&self)
crates/types/src/matching/tokens.rs:87
↓ 6 callers
Method
quantity_in
(self, quantity_in: u128)
crates/types/primitives/src/orders/builders/tob.rs:48
↓ 6 callers
Method
quantity_out
(self, quantity_out: u128)
crates/types/primitives/src/orders/builders/tob.rs:52
↓ 6 callers
Method
recover_signer
(&self, pair: &[Pair], asset: &[Asset], block: u64)
crates/types/primitives/src/contract_payloads/angstrom/order.rs:79
↓ 6 callers
Method
reorg
(&self, reorg_range: RangeInclusive<u64>)
crates/types/src/block_sync.rs:133
↓ 6 callers
Method
round_up
Whether or not price calculations for this debt type should round up
crates/types/src/matching/debt.rs:36
← previous
next →
101–200 of 2,519, ranked by callers