/** * pop paymaster deposit — fund an org's gas sponsorship balance. * * Calls PaymasterHub.depositForOrg(bytes32 orgId) payable — VERIFIED against * contracts origin/main src/PaymasterHub.sol: the function is PERMISSIONLESS * ("Anyone can deposit to any org to support them"); it reverts ZeroAmount on * msg.value == 0 and OrgNotRegistered when the org has no paymaster config * (adminHatId == 0). Both are pre-checked here so predictable failures * surface before gas is spent. * * There is NO withdraw path: withdrawFromOrg does not exist on the deployed * PaymasterHub (verified against origin/main). Deposits draw down only as * sponsored UserOperations consume them. */ import type { Argv, ArgumentsCamelCase } from 'yargs'; import { ethers } from 'ethers'; interface DepositArgs { org: string; amount: string; chain?: number; rpc?: string; 'private-key'?: string; 'dry-run'?: boolean; yes?: boolean; preflight?: boolean; } /** Parse --amount as ether units (the chain's native gas token). */ export declare function parseDepositAmount(input: string | number): ethers.BigNumber; export declare const depositHandler: { builder: (yargs: Argv) => Argv<{ amount: string; }>; handler: (argv: ArgumentsCamelCase) => Promise; }; export {};