/** * pop education create — create a learning module that rewards PT. * * EducationHub.createModule(title, contentHash, payout, correctAnswer) — * verified contracts origin/main src/EducationHub.sol: onlyCreator (creator * hat / executor; a decoded NotCreator revert is the authority) and payout * must be 1..uint128.max. The correct answer is hashed into the module at * creation and can NEVER be changed by updateModule — pick it carefully. * * Metadata JSON key order ({name, description, link, quiz, answers}) MUST * match the frontend for subgraph/UI compatibility. */ import type { Argv, ArgumentsCamelCase } from 'yargs'; interface CreateModuleArgs { org: string; name: string; description?: string; link?: string; payout: number; quiz?: string; answers?: string; 'correct-answer': number; chain?: number; rpc?: string; 'private-key'?: string; 'dry-run'?: boolean; yes?: boolean; preflight?: boolean; 'idempotency-key'?: string; 'no-idempotency'?: boolean; } export declare const createModuleHandler: { builder: (yargs: Argv) => Argv<{ name: string; } & { description: string | undefined; } & { link: string | undefined; } & { payout: number; } & { quiz: string | undefined; } & { answers: string | undefined; } & { "correct-answer": number; } & { "idempotency-key": string | undefined; } & { "no-idempotency": boolean; }>; handler: (argv: ArgumentsCamelCase) => Promise; }; export {};