| 12 | |
| 13 | #[async_trait] |
| 14 | pub trait ChainAdaptor { |
| 15 | async fn get_peg_out_init_event(&self) -> Result<Vec<PegOutEvent>, String>; |
| 16 | async fn get_peg_out_burnt_event(&self) -> Result<Vec<PegOutBurntEvent>, String>; |
| 17 | async fn get_peg_in_minted_event(&self) -> Result<Vec<PegInEvent>, String>; |
| 18 | } |
| 19 | |
| 20 | pub fn get_chain_adaptor( |
| 21 | network: DestinationNetwork, |
nothing calls this directly
no outgoing calls
no test coverage detected