pub fn create_access_manager_instance(
abi_path: &str,
contract_address: &str,
provider: Arc<Provider<Http>>,
) -> Result<Contract<Provider<Http>>, Box<dyn Error>>
Expand description
Creates a Contract instance using the provided ABI file and contract address.
§Arguments
abi_path
- Path to the ABI file.contract_address
- Address of the contract.provider
- Arc-wrapped Provider instance for interacting with the Ethereum network.
§Returns
A Contract instance that allows interaction with the contract deployed at the provided address.