pub async fn deploy_platform_verifier<P: Provider>(
provider: &P,
artifacts: &Artifacts,
init: &Initializer,
sender: Option<Address>,
) -> Result<Address>Expand description
Deploy the verifier’s implementation from artifacts and put it behind
a fresh ERC1967 proxy initialized with init — the code hash read off
the chain, the rules checked first. Returns the proxy address, which is
the Platform Verifier a Proof Verifier registers with setVerifier.
sender opts into explicit nonce management (see
deploy_contract_from).