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

Method new

crates/shared/src/http_solver.rs:14–19  ·  view source on GitHub ↗
(token: Address, amount: T)

Source from the content-addressed store, hash-verified

12
13 impl TokenAmount {
14 pub fn new<T: Into<U256>>(token: Address, amount: T) -> Self {
15 Self {
16 amount: amount.into(),
17 token,
18 }
19 }
20 }
21
22 /// Whether or not internalizable interactions should be encoded as calldata

Callers

nothing calls this directly

Calls 1

intoMethod · 0.45

Tested by

no test coverage detected