pub async fn deploy_behind_proxy<P: Provider, C: SolCall>(
provider: &P,
artifacts: &Artifacts,
contract: &str,
init_call: &C,
sender: Option<Address>,
) -> Result<Address>Expand description
Deploy an implementation from artifacts and put it behind a fresh
ERC1967 proxy whose init data is init_call ABI-encoded. Returns the
proxy address. The common shape of every UUPS deploy in the stack.