pub fn compose_proof_by_amount<Y: KernelSubstateApi<SystemLockData> + ClientApi<RuntimeError>>(
    proofs: &[Proof],
    resource_address: ResourceAddress,
    amount: Option<Decimal>,
    api: &mut Y
) -> Result<ComposedProof, RuntimeError>
Expand description

Compose a proof by amount, given a list of proofs of any address.