MCPcopy Create free account
hub / github.com/ChainSafe/Delorean-Protocol / to_message_event

Function to_message_event

fendermint/app/src/tmconv.rs:234–240  ·  view source on GitHub ↗

Event about the message itself.

(from: Address, to: Address)

Source from the content-addressed store, hash-verified

232
233/// Event about the message itself.
234pub fn to_message_event(from: Address, to: Address) -> Event {
235 let attr = |k: &str, v: Address| EventAttribute::from((k.to_string(), v.to_string(), true));
236 Event::new(
237 "message".to_string(),
238 vec![attr("from", from), attr("to", to)],
239 )
240}
241
242/// Map to query results.
243pub fn to_query(ret: FvmQueryRet, block_height: BlockHeight) -> anyhow::Result<response::Query> {

Callers 1

to_exec_tx_resultFunction · 0.85

Calls 1

to_stringMethod · 0.80

Tested by

no test coverage detected