deploy_eigenlayer_core_contracts

Function deploy_eigenlayer_core_contracts 

Source
pub async fn deploy_eigenlayer_core_contracts(
    http_endpoint: &str,
    owner_private_key: &str,
    owner_account: Address,
) -> Result<DeployedCoreContracts, Error>
Expand description

Deploy core Eigenlayer core contract

§Arguments

  • owner_private_key: The private key of the owner account
  • owner_account: The owner account
  • testnet: The Anvil testnet

§Returns

  • Result<DeployedCoreContracts, Error>: The deployed core contracts
    • Ok(DeployedCoreContracts): The deployed core contracts
    • Err(Error): The error

§Errors

See eigenlayer_contract_deployer::core::deploy_core_contracts

§Panics

See eigenlayer_contract_deployer::core::deploy_core_contracts