UNPKG

delegate-framework

Version:

A TypeScript framework for building robust, production-ready blockchain workflows with comprehensive error handling, logging, and testing. Maintained by delegate.fun

16 lines 877 B
import { Connection, Keypair } from "@solana/web3.js"; import { DistributorDelegateOptions, DistributorDelegateResult } from "./types"; import { BaseDelegate } from "./base-delegate"; import { HeliusClient } from "../solana/clients/helius"; export declare class Distributor extends BaseDelegate<DistributorDelegateOptions, DistributorDelegateResult> { private readonly heliusClient; constructor(connection: Connection, signerKeypair: Keypair, heliusClient: HeliusClient, feeTakerKeypair?: Keypair); executeDelegate(delegateOptions: DistributorDelegateOptions): Promise<DistributorDelegateResult>; validateOptions(delegateOptions: DistributorDelegateOptions): void; private getRecipients; private getTopHolders; private processRecipient; private getTokenDecimals; private calculateAmountToTransfer; } //# sourceMappingURL=distributor.d.ts.map