Verify Player Milestone
Player Milestone Completion Validation.
await newEnvoker.setPlayerEligibleToClaimMilestone({
1,
1,
"0x0106",
true,
});/* The Quest Id to close. If you need to find the Quest Id from the Lens Publication Id, you can call getQuestIdFromPublication from the Helpers functions or call getQuestIdFromLensData directly to the KinoraQuestData contract. */
questId: string;
/* The milestone number to verify the player for. */
milestone: number;
/* The Lens profile address of the player being verified. */
playerProfile: `0x${string}`;
/* Set to true to verify the player to complete the milestone and claim the milestone rewards. */
eligible: boolean;
/* (Optional) Existing Kinora Metrics Contract from a previously Factory instantiation. */
kinoraMetricsContract?: `0x${string}`;
/* (Optional) Wallet instance for Polygon Network. If you have passed the wallet object to the constructor, it is not necessary here. */
wallet?: ethers.Wallet;Response Object
Last updated