Skip to main content

deploy_proxy

Function deploy_proxy 

Source
pub async fn deploy_proxy<P: Provider>(
    provider: &P,
    proxy_bytecode: &Bytes,
    implementation: Address,
    init_data: Bytes,
    label: &str,
    sender: Option<Address>,
) -> Result<Address>
Expand description

Deploy an ERC1967 proxy pointing at implementation with init_data (the ABI-encoded initializer call).