| 83 | /// Facilitate Ethereum address <-> Actor ID lookups. |
| 84 | #[derive(Clone)] |
| 85 | pub struct AddressCache<C> { |
| 86 | client: FendermintClient<C>, |
| 87 | addr_to_id: Cache<Address, ActorID>, |
| 88 | id_to_addr: Cache<ActorID, Address>, |
| 89 | addr_to_actor_type: Cache<Address, ActorType>, |
| 90 | cid_to_actor_type: Cache<Cid, ActorType>, |
| 91 | } |
| 92 | |
| 93 | impl<C> AddressCache<C> |
| 94 | where |
nothing calls this directly
no outgoing calls
no test coverage detected