MCPcopy Create free account
hub / github.com/cowprotocol/services / data

Method data

crates/e2e/src/setup/solver/solution.rs:25–40  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

23
24impl JitOrder {
25 fn data(&self) -> OrderData {
26 OrderData {
27 sell_token: self.sell.token,
28 buy_token: self.buy.token,
29 receiver: Some(self.receiver),
30 sell_amount: self.sell.amount,
31 buy_amount: self.buy.amount,
32 valid_to: self.valid_to,
33 app_data: AppDataHash(self.app_data.0),
34 fee_amount: alloy::primitives::U256::ZERO,
35 kind: self.kind,
36 partially_fillable: self.partially_fillable,
37 sell_token_balance: Default::default(),
38 buy_token_balance: Default::default(),
39 }
40 }
41
42 #[allow(deprecated)]
43 pub fn sign(

Callers 5

signMethod · 0.45
solve_orderFunction · 0.45
testFunction · 0.45
signatureFunction · 0.45

Calls 1

AppDataHashClass · 0.50

Tested by 3

solve_orderFunction · 0.36
testFunction · 0.36
signatureFunction · 0.36