sui_bridge::utils

Function get_eth_contracts

Source
pub async fn get_eth_contracts<P: JsonRpcClient + 'static>(
    bridge_proxy_address: Address,
    provider: &Arc<Provider<P>>,
) -> Result<EthBridgeContracts<P>>
Expand description

Given the address of SuiBridge Proxy, return the contracts of the committee, limiter, vault, and config.