Macro brontes_macros::discovery_impl

source ·
discovery_impl!() { /* proc-macro */ }
Expand description

the discovery impl macro deals with automatically parsing the data needed for discovering new pools.

discovery_impl!(DiscoveryName, Path::To::Factory::DeployCall, factory address, Parse Fn);

where Parse Fn

|deployed_address: Address, decoded_call_data: DeployCall, provider: Arc<T>| { <body> }