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

Method from

crates/simulator/src/encoding.rs:253–259  ·  view source on GitHub ↗
(interaction: InteractionData)

Source from the content-addressed store, hash-verified

251
252impl From<InteractionData> for Interaction {
253 fn from(interaction: InteractionData) -> Self {
254 Self {
255 target: interaction.target,
256 value: interaction.value,
257 data: interaction.call_data,
258 }
259 }
260}
261
262pub fn encode_interactions<'a, I>(

Callers 1

simulateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected