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

Method to_interaction_data

crates/simulator/src/encoding.rs:223–229  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

221
222impl Interaction {
223 pub fn to_interaction_data(&self) -> InteractionData {
224 InteractionData {
225 target: self.target,
226 value: self.value,
227 call_data: self.data.clone(),
228 }
229 }
230}
231
232impl InteractionEncoding for Interaction {

Callers

nothing calls this directly

Calls 1

cloneMethod · 0.45

Tested by

no test coverage detected