MetaplexGumdropProgram.proveClaim constructor

MetaplexGumdropProgram.proveClaim({
  1. required SolAddress distributor,
  2. required SolAddress claimProof,
  3. required SolAddress temporal,
  4. required SolAddress payer,
  5. required MetaplexGumdropProveClaimLayout layout,
  6. SolAddress systemProgram = SystemProgramConst.programId,
})

Implementation

factory MetaplexGumdropProgram.proveClaim({
  required SolAddress distributor,
  required SolAddress claimProof,
  required SolAddress temporal,
  required SolAddress payer,
  required MetaplexGumdropProveClaimLayout layout,
  SolAddress systemProgram = SystemProgramConst.programId,
}) {
  return MetaplexGumdropProgram(keys: [
    distributor.toWritable(),
    claimProof.toWritable(),
    temporal.toSigner(),
    payer.toSignerAndWritable(),
    systemProgram.toReadOnly()
  ], programId: MetaplexGumdropProgramConst.programId, layout: layout);
}