MCPcopy Create free account

hub / github.com/cowprotocol/services / functions

Functions10,776 in github.com/cowprotocol/services

Functionapp_data_round_trips_as_0x_hex
()
crates/chain-types/src/solana.rs:202
Functionapp_data_view_types_every_field
()
crates/fee-engine/src/order_view/app_data.rs:45
Methodappend_events
(&mut self, events: Vec<(CoWSwapEthFlowEvents, Log)>)
crates/autopilot/src/database/ethflow_events/event_storing.rs:55
Methodappend_events
(&mut self, events: Vec<(ContractEvent, Log)>)
crates/autopilot/src/database/onchain_order_events/mod.rs:213
Methodappend_events
(&mut self, events: Vec<(GPv2SettlementEvents, Log)>)
crates/autopilot/src/boundary/events/settlement.rs:81
Functionappend_events_test
()
crates/liquidity-sources/src/uniswap_v3/event_fetching.rs:256
Functionappend_events_test_burn
()
crates/liquidity-sources/src/uniswap_v3/pool_fetching.rs:715
Functionappend_events_test_empty
()
crates/liquidity-sources/src/uniswap_v3/pool_fetching.rs:678
Functionappend_events_test_mint
()
crates/liquidity-sources/src/uniswap_v3/pool_fetching.rs:765
Functionappend_events_test_swap
()
crates/liquidity-sources/src/uniswap_v3/pool_fetching.rs:687
Functionappends_trailing_slash_when_missing
()
crates/serde-ext/src/url.rs:26
Functionapplies_bucket_override
()
crates/autopilot/src/domain/penalty_cap.rs:247
Methodapply
(&self)
crates/autopilot/src/domain/fee/policy.rs:53
Methodapply
( tx: &mut PgTransaction<'_>, event: DecodedEvent, slot: Slot, )
crates/solana-indexer/src/persistence.rs:85
Methodapply_modification
Applies the gas adjustment computed by [`Self::adjust_query`] to a single estimate returned by the inner estimator.
crates/price-estimation/src/sanitized.rs:87
Methodapply_order_cancelled
Stamp the cancellation on the order the PDA names and record the event, unless the order is already fully filled: reclaiming a filled order cancels it
crates/solana-indexer/src/persistence.rs:182
Methodapply_order_created
( tx: &mut PgTransaction<'_>, order: &CreatedOrder, slot: Slot, )
crates/solana-indexer/src/persistence.rs:112
Functionapply_quote_fee_buy_order_increases_sell
()
crates/shared/src/fee.rs:572
Functionapply_quote_fee_sell_order_reduces_buy
()
crates/shared/src/fee.rs:558
Functionapply_quote_fee_zero_fee_is_noop
()
crates/shared/src/fee.rs:585
Methodapply_settlement_finalized
( tx: &mut PgTransaction<'_>, settlement: FinalizedSettlement, )
crates/solana-indexer/src/persistence.rs:253
Functionapply_sub_basis_point_factor
()
crates/configs/src/autopilot/penalty_cap.rs:154
Methodapply_trade
Insert one trade row and, only when the row is new, fold its deltas into the order PDA's running sums. The conflict check keys the sums to the insert
crates/solana-indexer/src/persistence.rs:285
Functionapply_volume_fee_buy_order_increases_sell
()
crates/shared/src/fee.rs:546
Functionapply_volume_fee_sell_order_reduces_buy
()
crates/shared/src/fee.rs:534
Functionapply_volume_fees_compounds_in_order
()
crates/autopilot/src/fast_path.rs:722
Functionapply_volume_fees_ignores_non_volume_policies
()
crates/autopilot/src/fast_path.rs:746
Methodapproval
Check if this allowance needs to be approved, and if so, return the appropriate [`Approval`].
crates/eth-domain-types/src/allowance.rs:32
Methodapprove
(data: &[u8])
contracts/generated/contracts-generated/iswaprpair/src/lib.rs:4773
Methodapprove
( data: &[u8], )
contracts/generated/contracts-generated/balancerv2liquiditybootstrappingpool/src/lib.rs:4168
Methodapprove
( data: &[u8], )
contracts/generated/contracts-generated/balancerv2weightedpool/src/lib.rs:3542
Methodapprove
(data: &[u8])
contracts/generated/contracts-generated/mockerc4626wrapper/src/lib.rs:2170
Methodapprove
(data: &[u8])
contracts/generated/contracts-generated/balancerv2basepool/src/lib.rs:3171
Methodapprove
(data: &[u8])
contracts/generated/contracts-generated/permit2/src/lib.rs:3615
Methodapprove
(data: &[u8])
contracts/generated/contracts-generated/weth9/src/lib.rs:2376
Methodapprove
(data: &[u8])
contracts/generated/contracts-generated/gashog/src/lib.rs:509
Methodapprove
( data: &[u8], )
contracts/generated/contracts-generated/balancerv2composablestablepool/src/lib.rs:5483
Methodapprove
(data: &[u8])
contracts/generated/contracts-generated/erc20mintable/src/lib.rs:1795
Methodapprove
(data: &[u8])
contracts/generated/contracts-generated/balancerv2stablepool/src/lib.rs:3862
Methodapprove
(data: &[u8])
contracts/generated/contracts-generated/iuniswaplikepair/src/lib.rs:4615
Methodapprove
( data: &[u8], )
contracts/generated/contracts-generated/nonstandarderc20balances/src/lib.rs:1207
Methodapprove
(data: &[u8])
contracts/generated/contracts-generated/remoteerc20balances/src/lib.rs:1457
Methodapprove
(data: &[u8])
contracts/generated/contracts-generated/cowprotocoltoken/src/lib.rs:3137
Functionapproximation_normalizes_when_target_has_fewer_decimals
()
crates/price-estimation/src/native_price_cache.rs:815
Functionapproximation_normalizes_when_target_has_more_decimals
()
crates/price-estimation/src/native_price_cache.rs:775
Methodarbitrate
(&self, solutions: Vec<Solution>, auction: &Auction)
crates/autopilot-svm/src/domain/arbitrator.rs:33
Methodarc
()
crates/solver/src/liquidity/mod.rs:331
Methodarray_type_info
()
crates/database/src/byte_array.rs:44
Methodas_any
(&self)
crates/solver/src/liquidity/balancer_v2.rs:152
Methodas_any
(&self)
crates/solver/src/liquidity/uniswap_v3.rs:134
Methodas_any
(&self)
crates/solver/src/liquidity/uniswap_v2.rs:100
Methodas_any
(&self)
crates/solver/src/liquidity/zeroex.rs:193
Methodas_big_rational
This is the format used to pass along to HTTP solver.
crates/liquidity-sources/src/balancer_v2/pools/stable.rs:62
Methodas_bps
Converts the slippage to basis points.
crates/solvers/src/domain/dex/slippage.rs:79
Functionas_f64
The fees with their factors as doubles, as the autopilot computes them.
crates/fee-engine/src/partner_fee.rs:107
Methodas_raw
Returns the weight as a raw [`eth::U256`] value as it is represented on-chain.
crates/driver/src/domain/liquidity/balancer/v2/weighted.rs:122
Methodassemble
The solution settling `trades`, all on `order`'s mints, with `swap` at the rate `in_amount` for `out_amount`: the swap's instructions carried verbatim
crates/solana-solvers/src/dto/solution.rs:192
Methodassemble_interaction_for_tracking_balances
Builds an interaction that queries the balances of the relevant account throughout the settlement to figure out how much they actually get from the tr
crates/price-estimation/src/trade_verifier.rs:330
Functionassemble_quote_data_buy_order
()
crates/shared/src/order_quoting.rs:2292
Functionassemble_quote_data_sell_order
()
crates/shared/src/order_quoting.rs:2232
Methodasset
(data: &[u8])
contracts/generated/contracts-generated/mockerc4626wrapper/src/lib.rs:2202
Functionasset_call_is_contract_revert_test
(web3: Web3)
crates/e2e/tests/e2e/contract_revert.rs:30
Methodat
Sets the address and returns `self`.
contracts/generated/contracts-generated/uniswapv2router02/src/lib.rs:1600
Methodat
Sets the address and returns `self`.
contracts/generated/contracts-generated/izeroex/src/lib.rs:670
Methodat
Sets the address and returns `self`.
contracts/generated/contracts-generated/iswaprpair/src/lib.rs:5454
Methodat
Sets the address and returns `self`.
contracts/generated/contracts-generated/cowswaponchainorders/src/lib.rs:543
Methodat
Sets the address and returns `self`.
contracts/generated/contracts-generated/pancakerouter/src/lib.rs:1406
Methodat
Sets the address and returns `self`.
contracts/generated/contracts-generated/signatures/src/lib.rs:1007
Methodat
Sets the address and returns `self`.
contracts/generated/contracts-generated/uniswapv3swaprouterv2/src/lib.rs:423
Methodat
Sets the address and returns `self`.
contracts/generated/contracts-generated/uniswapv3quoterv2/src/lib.rs:658
Methodat
Sets the address and returns `self`.
contracts/generated/contracts-generated/counter/src/lib.rs:864
Methodat
Sets the address and returns `self`.
contracts/generated/contracts-generated/gpv2allowlistauthentication/src/lib.rs:1933
Methodat
Sets the address and returns `self`.
contracts/generated/contracts-generated/ierc4626/src/lib.rs:575
Methodat
Sets the address and returns `self`.
contracts/generated/contracts-generated/balancerv2liquiditybootstrappingpool/src/lib.rs:4926
Methodat
Sets the address and returns `self`.
contracts/generated/contracts-generated/testnetuniswapv2router02/src/lib.rs:1430
Methodat
Sets the address and returns `self`.
contracts/generated/contracts-generated/gpv2settlement/src/lib.rs:324
Methodat
Sets the address and returns `self`.
contracts/generated/contracts-generated/balancerv2weightedpool/src/lib.rs:4152
Methodat
Sets the address and returns `self`.
contracts/generated/contracts-generated/balancerv2weightedpoolfactoryv3/src/lib.rs:1329
Methodat
Sets the address and returns `self`.
contracts/generated/contracts-generated/iuniswapv3factory/src/lib.rs:1200
Methodat
Sets the address and returns `self`.
contracts/generated/contracts-generated/iuniswaplikerouter/src/lib.rs:1414
Methodat
Sets the address and returns `self`.
contracts/generated/contracts-generated/mockerc4626wrapper/src/lib.rs:2615
Methodat
Sets the address and returns `self`.
contracts/generated/contracts-generated/deadlinecheck/src/lib.rs:689
Methodat
Sets the address and returns `self`.
contracts/generated/contracts-generated/baoswaprouter/src/lib.rs:1406
Methodat
Sets the address and returns `self`.
contracts/generated/contracts-generated/honeyswaprouter/src/lib.rs:1406
Methodat
Sets the address and returns `self`.
contracts/generated/contracts-generated/solver/src/lib.rs:812
Methodat
Sets the address and returns `self`.
contracts/generated/contracts-generated/balancerv2basepool/src/lib.rs:3729
Methodat
Sets the address and returns `self`.
contracts/generated/contracts-generated/balancerv2composablestablepoolfactoryv3/src/lib.rs:1368
Methodat
Sets the address and returns `self`.
contracts/generated/contracts-generated/permit2/src/lib.rs:580
Methodat
Sets the address and returns `self`.
contracts/generated/contracts-generated/balancerv2composablestablepoolfactoryv5/src/lib.rs:1368
Methodat
Sets the address and returns `self`.
contracts/generated/contracts-generated/balancerv2composablestablepoolfactoryv4/src/lib.rs:1368
Methodat
Sets the address and returns `self`.
contracts/generated/contracts-generated/balancerv3batchrouter/src/lib.rs:850
Methodat
Sets the address and returns `self`.
contracts/generated/contracts-generated/liquoricesettlement/src/lib.rs:543
Methodat
Sets the address and returns `self`.
contracts/generated/contracts-generated/balancerv2stablepoolfactoryv2/src/lib.rs:1076
Methodat
Sets the address and returns `self`.
contracts/generated/contracts-generated/erc20/src/lib.rs:2286
Methodat
Sets the address and returns `self`.
contracts/generated/contracts-generated/hookstrampoline/src/lib.rs:1171
Methodat
Sets the address and returns `self`.
contracts/generated/contracts-generated/weth9/src/lib.rs:2868
Methodat
Sets the address and returns `self`.
contracts/generated/contracts-generated/gashog/src/lib.rs:701
Methodat
Sets the address and returns `self`.
contracts/generated/contracts-generated/uniswapv3pool/src/lib.rs:5713
Methodat
Sets the address and returns `self`.
contracts/generated/contracts-generated/balancerv2noprotocolfeeliquiditybootstrappingpoolfactory/src/lib.rs:802
Methodat
Sets the address and returns `self`.
contracts/generated/contracts-generated/balancerv2composablestablepool/src/lib.rs:602
← previousnext →5,101–5,200 of 10,776, ranked by callers